Today while playing around with JDeveloper 11g Preview 4, I start receiving following error;
[Starting Embedded OC4J Server using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\Documents and Settings\oradev\Application Data\JDeveloper\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\config>
E:\JDevSpace\JDeveloperStudio\jdk\bin\javaw.exe -client -classpath E:\JDevSpace\JDeveloperStudio\j2ee\home\oc4j.jar;E:\JDevSpace\JDeveloperStudio\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=512m -Ddisable.checkForUpdate=true -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false “-Djava.security.policy=C:\Documents and Settings\oradev\Application Data\JDeveloper\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\config\java2.policy” oracle.oc4j.loader.boot.BootStrap -config “C:\Documents and Settings\oradev\Application Data\JDeveloper\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\config\server.xml”
[waiting for the server to complete its initialization...]
Aug 26, 2008 5:31:39 PM oracle.j2ee.xml.XMLMessages warningException
WARNING: Exception Encountered
Aug 26, 2008 5:31:39 PM oracle.oc4j.util.SystemLog log
SEVERE: Server start failed processing configuration
java.security.AccessControlException: access denied ( CredentialAccessPermission credstoressp.credstore.default.systemuser read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:256)
at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:180)
at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$6.checkPermission(JpsAuth.java:280)
at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:315)
at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:338)
at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(CsfUtil.java:527)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.getCredential(SspCredentialStore.java:420)
at oracle.security.jps.fmw.util.JpsFmwUtil.makeJpsSystemUser(JpsFmwUtil.java:221)
at oracle.security.jps.fmw.JpsUserManager.initSystemUser(JpsUserManager.java:270)
at oracle.security.jps.fmw.JpsUserManager.init(JpsUserManager.java:238)
at oracle.security.jps.fmw.JpsUserManager.
at oracle.security.jps.fmw.JpsUserManagerFactory$JpsUserManagerFactoryI.create(JpsUserManagerFactory.java:257)
at com.evermind.server.deployment.UserManagerConfig$JAZN.construct(UserManagerConfig.java:635)
at com.evermind.server.deployment.UserManagerConfig.delegatee(UserManagerConfig.java:253)
at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:3170)
at com.evermind.server.XMLApplicationServerConfig.
at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:661)
at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:225)
at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:244)
at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
at java.lang.Thread.run(Thread.java:595)
Aug 26, 2008 5:31:39 PM oracle.oc4j.util.SystemLog logNoStack
SEVERE: Server exiting: ApplicationServer entered state FAILED_IN_CONFIG
Process exited with exit code 1.
I tried everything from re-creating the application to recopying JDeveloper home files again from setup zip.
After a while when nothing worked out I went to my basics, I read the error log carefully and found out one of the way to solve this problem.
Actually answer lies in first 2-3 lines of the error log, I got to learn that JDeveloper stores all kind of settings in a directory which is created when JDeveloper is run first time.
In windows its path and format is as follows:
C:\Documents and Settings\oradev\Application Data\JDeveloper\directory_name_depending _on_jdeveloper_build
In my case it was as follows:
[Starting Embedded OC4J Server using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\Documents and Settings\oradev\Application Data\JDeveloper\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\config>
I am sure JDeveloper must be following same concept in other OS too but with different path format.
So I closed the JDeveloper, deleted the directory “system11.1.1.0.22.49.49 “ and started the JDeveloper again.
This time while starting it recreated the directory with new settings and I was able to run my sample application without any problem.
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment