javax.ejb.EJBException

Error instantiating embedded server

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web11

Stack trace

  • javax.ejb.EJBException: Error instantiating embedded server at weblogic.ejb.embeddable.EJBContainerImpl.initializeServer(EJBContainerImpl.java:99) at weblogic.ejb.embeddable.EJBContainerImpl.init(EJBContainerImpl.java:77) at weblogic.ejb.embeddable.EJBContainerProvider.createEJBContainer(EJBContainerProvider.java:17) at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102) at br.com.samaiait.poc.service.DocumentoFisicoLocalTest.setUpClass(DocumentoFisicoLocalTest.java:30) Caused by: weblogic.server.embed.EmbeddedServerException: Error creating default domain at weblogic.server.embed.internal.DomainConfig.createConfig(DomainConfig.java:235) at weblogic.server.embed.internal.DomainConfig.getDefaultDomain(DomainConfig.java:143) at weblogic.server.embed.internal.DomainConfig.ensureInitialized(DomainConfig.java:66) at weblogic.server.embed.internal.EmbeddedServerImpl.ensureStarted(EmbeddedServerImpl.java:152) at weblogic.server.embed.internal.EmbeddedServerImpl.start(EmbeddedServerImpl.java:106) at weblogic.ejb.embeddable.EJBContainerImpl.initializeServer(EJBContainerImpl.java:96) ... 5 more Caused by: java.lang.NullPointerException at java.io.File.init(File.java:251) at weblogic.management.utils.PDevHelper.getUpgradeLaunchLocation(PDevHelper.java:79) at weblogic.management.utils.PDevHelper.getPDevClassLoader(PDevHelper.java:38) at weblogic.management.internal.CIEDomainGenerator.validateConfigFramework(CIEDomainGenerator.java:18) at weblogic.server.embed.internal.FullEmbeddedServerProvider.lookupDomainGenerator(FullEmbeddedServerProvider.java:87) at weblogic.server.embed.internal.EmbeddedServerProvider.createDefaultDomain(EmbeddedServerProvider.java:138) at weblogic.server.embed.internal.DomainConfig.createConfig(DomainConfig.java:233) ... 11 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.