Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Exception when install Portal test environment.

3 views
Skip to first unread message

derr...@163.cin

unread,
Aug 25, 2006, 4:01:14 AM8/25/06
to
When I try to install Portal test environment 5.0 in PotalToolkit 5.0.2.2.
It always faild, we can see the exception in ConfigTrace.log , showing as below:

BUILD FAILED
java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.f.<clinit>(Unknown Source)
at javax.crypto.SecretKeyFactory.getInstance(Unknown Source)
at com.ibm.ws.wmm.common.PasswordEncryptionUtil.encrypt(PasswordEncryptionUtil.java:439)
at com.ibm.ws.wmm.util.wmm_crypt.encrypt(wmm_crypt.java:72)
at com.ibm.wps.config.SetCurPropertyTask.execute(SetCurPropertyTask.java:66)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at com.ibm.wps.config.WpsConfigMain.process(WpsConfigMain.java:621)
at com.ibm.wps.config.WpsConfigMain.main(WpsConfigMain.java:197)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.wps.config.launch.WpsConfigLauncher.process(WpsConfigLauncher.java:243)
at com.ibm.wps.config.launch.WpsConfigLauncher.main(WpsConfigLauncher.java:459)

I have installed WSAD 5.1.2 Build id: 20040506_1735, and WebShere 5.1 Test Enviroment. Both of them work well.

My system is WinXP with SP1.

What cause the problem? and how to fix it ?

smpadm...@gmail.com

unread,
Aug 25, 2006, 5:43:27 AM8/25/06
to
Please backdate your system date before one year. And try to install. After installing please apply fix from IBM. follow the link

http://www-1.ibm.com/support/docview.wss?rs=0&uid=swg21236118

derr...@163.cin

unread,
Sep 12, 2006, 11:45:06 PM9/12/06
to
Thank you !

After follow your instruction (set time to 2005 , update JCE , reinstall), I succeeded in installing the portal test environment.

but when I started to run the portal test environment,

I can succeed in running the test environment when the time is still set as 2005.

I will get the exception in running the test environment when the time is set back to current time in 2006.
The exception is
[9/13/06 11:42:00:055 CST] 2a032a03 WSSecurityCom E WSEC0019E: Failed to load KeyLocator SampleSenderEncryptionKeyLocator. The exception is java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)


at javax.crypto.f.<clinit>(Unknown Source)

at java.lang.Class.initializeImpl(Native Method)
at java.lang.Class.initialize(Class.java)
at javax.crypto.m.<clinit>(Unknown Source)
at java.lang.Class.initializeImpl(Native Method)
at java.lang.Class.initialize(Class.java)
at javax.crypto.b.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java)
at javax.crypto.Cipher.init(Unknown Source)
at com.ibm.crypto.provider.x.a(Unknown Source)
at com.ibm.crypto.provider.JceKeyStore.engineGetKey(Unknown Source)
at java.security.KeyStore.getKey(KeyStore.java:278)
at com.ibm.wsspi.wssecurity.config.KeyStoreKeyLocator.init(KeyStoreKeyLocator.java:222)
at com.ibm.xml.soapsec.util.ConfigUtil.instantiate(ConfigUtil.java:245)
at com.ibm.ws.webservices.wssecurity.util.ConfigConstants.readKeyLocator(ConfigConstants.java:321)
at com.ibm.ws.webservices.wssecurity.core.WSSecurityComponentImpl.loadConfig(WSSecurityComponentImpl.java:332)
at com.ibm.ws.webservices.wssecurity.core.WSSecurityComponentImpl.access$300(WSSecurityComponentImpl.java:97)
at com.ibm.ws.webservices.wssecurity.core.WSSecurityComponentImpl$WSSecurityListener.stateChanged(WSSecurityComponentImpl.java:539)
at com.ibm.ws.security.core.SecurityComponentImpl.fireStartedEvent(SecurityComponentImpl.java:857)
at com.ibm.ws.security.core.SecurityComponentImpl.startSecurity(SecurityComponentImpl.java:602)
at com.ibm.ws.security.core.ServerSecurityComponentImpl.start(ServerSecurityComponentImpl.java:158)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:126)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at java.lang.reflect.AccessibleObject.invokeImpl(Native Method)
at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:199)
at java.lang.reflect.Method.invoke(Method.java:252)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)

How can I deal with the problem ?

0 new messages