Could not Start Weblogic 12.x from MyEclipse2018

Tagged: 

This topic contains 4 replies, has 3 voices, and was last updated by  Brian Fernandes 3 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #611255 Reply

    Pandu Wijaya
    Participant

    hi recently upgraded to MyEclipse2018 (before was 2017), we encountered following errors when starting weblogic server :

    <Mar 20, 2019, 7:15:49 AM Singapore Standard Time> <Info> <Security> <BEA-090905> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.>
    <Mar 20, 2019, 7:15:49 AM Singapore Standard Time> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.>
    <Mar 20, 2019, 7:15:51 AM Singapore Standard Time> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 10.0.1+10 from “Oracle Corporation”.>
    <Mar 20, 2019, 7:15:51 AM Singapore Standard Time> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: A MultiException has 2 exceptions. They are:
    1. java.lang.NoClassDefFoundError: org/omg/CORBA/SystemException
    2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.t3.srvr.PreConfigBootService

    A MultiException has 2 exceptions. They are:
    1. java.lang.NoClassDefFoundError: org/omg/CORBA/SystemException
    2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.t3.srvr.PreConfigBootService

    at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:447)
    at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456)
    at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225)
    at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82)
    at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488)
    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98)
    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
    at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
    at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:844)
    Caused By: java.lang.NoClassDefFoundError: org/omg/CORBA/SystemException
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:291)
    at weblogic.kernel.FinalThreadLocalList.initialize(FinalThreadLocalList.java:44)
    at weblogic.t3.srvr.PreConfigBootService.start(PreConfigBootService.java:83)
    at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:78)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1017)
    at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:388)
    at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:430)
    at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456)
    at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225)
    at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82)
    at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488)
    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98)
    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
    at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
    at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:844)
    Caused By: java.lang.ClassNotFoundException: org.omg.CORBA.SystemException
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:291)
    at weblogic.kernel.FinalThreadLocalList.initialize(FinalThreadLocalList.java:44)
    at weblogic.t3.srvr.PreConfigBootService.start(PreConfigBootService.java:83)
    at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:78)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1017)
    at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:388)
    at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:430)
    at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456)
    at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225)
    at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82)
    at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488)
    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98)
    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
    at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
    at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:844)
    >
    <Mar 20, 2019, 7:15:51 AM Singapore Standard Time> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
    <Mar 20, 2019, 7:15:51 AM Singapore Standard Time> <Error> <WebLogicServer> <BEA-000383>
    <Mar 20, 2019, 7:15:51 AM Singapore Standard Time> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
    <Mar 20, 2019, 7:15:51 AM Singapore Standard Time> <Info> <WebLogicServer> <BEA-000238> <Shutdown has completed.>

    #611332 Reply

    support-swapna
    Moderator

    Pandu,

    Sorry that you are seeing this problem. We are trying to replicate it internally but in the meanwhile we have seen some issues being fixed by changing the IDE to use Java 8 instead of Java 10.

    Can you please try starting MyEclipse 2018 with Java 8 (edit the vm argument in the myeclipse.ini file located in the MyEclipse install directory) and see if Weblogic starts fine?

    Apologies for inconvenience caused. Please let us know how you get on with it.

    –Swapna
    Genuitec Support

    #611403 Reply

    Brian Fernandes
    Moderator

    Pandu,

    Just wanted to add that were were unable to replicate the issue here, even with Java 10. Are you able to start the same server/profile right now with MyEclipse 2017 and can you start it externally, from the command line?

    #611453 Reply

    Pandu Wijaya
    Participant

    Brian, i’m able to start the server/profile from MyEclipse2017.

    from MyEclipse2018 i’m able to start the server/profile by changing the Classpath and arguments to Java 8 instead of editing myeclipse.ini , the menu navigation is :

    Open Server/Profile -> Open Launch Configuration -> Classpath -> Replace the Java10 bootstrap entries by Java8
    Open Server/Profile -> Open Launch Configuration -> Arguments -> Replace the -D path from Java10 to Java8

    now the server/profile successfully run

    Attachments:
    You must be logged in to view attached files.
    #611472 Reply

    Brian Fernandes
    Moderator

    Pandu,

    Glad you were able to get it working, and thank you for letting us know that starting with Java 8 was unnecessary. This does appear to be a problem with Java 10 and Weblogic, though in our tests we had no problems starting even with Java 10 – likely that we are testing slightly different configurations.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Could not Start Weblogic 12.x from MyEclipse2018

You must be logged in to post in the forum log in