Skip to content

Instantly share code, notes, and snippets.

com.iplanet.am.naming.url=http://server1.drdomain.com:8080/openam/namingservice
com.sun.identity.agents.app.username=amadmin
com.iplanet.am.service.password=Password1
com.iplanet.am.server.protocol=http
com.iplanet.am.server.host=server1.drdomain.com:8080
com.iplanet.am.server.port=8080
com.iplanet.am.services.deploymentDescriptor=/openam
com.iplanet.am.cookie.encode=false
com.sun.identity.liberty.interaction.wspRedirectHandler=http://server1.drdomain.com:8080/openam/WSPRedirectHandler
com.sun.identity.loginurl=http://server1.drdomain.com:8080/openam/UI/Login
SEVERE [localhost-startStop-2] org.apache.catalina.core.StandardContext.filterStart Exception starting filter Agent
java.lang.ClassNotFoundException: com.sun.identity.agents.filter.AmAgentFilter
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:520)
-- ---------------------------------------------------------------
-- Check out http://technicalconfessions.com/posts.php?post_id=426
-- ---------------------------------------------------------------
[AgentException Stack]
com.sun.identity.agents.arch.AgentException: ApplicationSSOTokenProvider.getApplicationSSOToken(): Unable to get Application SSO Token
at com.sun.identity.agents.common.ApplicationSSOTokenProvider.getApplicationSSOToken(ApplicationSSOTokenProvider.java:81)
at com.sun.identity.agents.arch.AgentConfiguration.setAppSSOToken(AgentConfiguration.java:616)
...
com.sun.identity.authentication.spi.AuthLoginException: Failed to create new Authentication Context: Cannot find server ID.
at com.sun.identity.authentication.AuthContext.login(AuthContext.java:690)
java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
at oracle.eclipse.tools.weblogic.server.internal.DeploymentProgressListener.watch(DeploymentProgressListener.java:188)
at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:509)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1503)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:920)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:708)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:555)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3157)
at org.eclipse
@nervouswiggles
nervouswiggles / OIF weblogic managed server log file during startup
Created September 30, 2015 18:58
413_OIF Invalid/unsupported key store or incorrect password. Please verify that the password is correct and the store is a valid PKCS#12 PFX wallet or Java KeyStore file.
-- ------------------------------------------------------------
Check out http://technicalconfessions.com/posts.php?post_id=413
-- ------------------------------------------------------------
-- OIF weblogic managed server log file during startup
Servlet failed with Exception
java.lang.RuntimeException: The server could not initialize properly: oracle.security.fed.sec.util.KeySourceException: Invalid/unsupported key store or incorrect password. Please verify that the password is correct and the store is a valid PKCS#12 PFX wallet or Java KeyStore file.
at oracle.security.fed.controller.web.servlet.AbstractFedServlet.initApplicationController(AbstractFedServlet.java:220)
at oracle.security.fed.controller.web.servlet.AbstractFedServlet.getApplicationController(AbstractFedServlet.java:152)
1. whoami - (find out which user you're logged in as) whoami
2. echo - (respond back to the user. This is useful if you want to see what environment variables are set) echo $java
3. which - (Find out the path of the enviroment setting. Example, if 'cp' not working... it was using an alias instead (decided to point to the true path (bin/cp)) which cp --> /bin/cp)
4. sum - (will give you the size of the file in bytes) sum ./filename
5. XARGS -
6. DOS2UNIX - (converts windows files to unix) dos2unix ./filename
1. grep 'string Value' ./* - An expression to look into files and folders for the string expression
2. find -R ./* -name 'file name' - Locates the file called 'file name'
3. ps -aux | grep java - will find all the services running with the name java
1. SCP - copy from servers (scp : ./) scp c_dredfe@172.22.226.73:/local/mnt/workspace/vordelgateway_sbx/traceLogArchive_DR/VordelGateway_Multiple_Token_Issue040412_DR.trc
1. top - Will display a dynamic of the CPU, swap and RAM memory available