Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

WebLogic ManagedServer fails to start.

2844746Aug 19 2015 — edited Oct 21 2015

Hi there,

Issue : Weblogic Managed Server fails to start.

After some work around, I just figure out the reason why the managedServer failing , is due to one of EAR file deployment.

So, i've untaretted the ear file, and am able bring the managedserver to RUNNING state.

Now the challenge is to find out what's happening with EAR file.

How do I debug further now?

Is there anything I can check from weblogic side, or its something related code level ?

From logs the actual error message -

<11-Aug-2015 12:32:53 o'clock BST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframewor

k.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation o

f init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread.

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.

xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1412)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        Truncated. see log file for complete stacktrace

Caused By: java.lang.OutOfMemoryError: unable to create new native thread

        at java.lang.Thread.start0(Native Method)

        at java.lang.Thread.start(Thread.java:640)

        at net.sf.ehcache.store.DiskStore.<init>(DiskStore.java:158)

        at net.sf.ehcache.Cache.createDiskStore(Cache.java:577)

        at net.sf.ehcache.Cache.initialise(Cache.java:549)

        Truncated. see log file for complete stacktrace

>

<11-Aug-2015 12:32:53 o'clock BST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'stock'.

weblogic.application.ModuleException:

        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)

        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)

        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

        Truncated. see log file for complete stacktrace

Caused By: java.lang.OutOfMemoryError: unable to create new native thread

        at java.lang.Thread.start0(Native Method)

Thanks

Post Details

Added on Aug 19 2015
1 comment
3,093 views