SEVERE: Exception sending context initialized event to listener

Sinh Ho, modified 13 Years ago. New Member Posts: 2 Join Date: 5/24/12 Recent Posts
Hi all,

When I tried to deploy my first ext plugin, I got the issue:
INFO: Deploying configuration descriptor D:\liferay6.1.0\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\conf\Catalina\localho
st\ROOT.xml
Jun 27, 2012 9:13:11 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.liferay.portal.spring.context.Port
alContextLoaderListener
java.lang.NullPointerException
at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.reset(HotDeployUtil.java:45)
at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.
java:127)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1581)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Jun 27, 2012 9:13:11 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart

I also searched some posts and find out some useful post at: http://www.liferay.com/community/forums/-/message_boards/message/8578278
I checked again, the issue is still taken.
The version I use: liferay-portal-6.1.0-ce-ga1, liferay-plugins-sdk-6.1.0

Anyone can help me. All suggestion is appreciated
thumbnail
Eric Tse, modified 13 Years ago. New Member Posts: 9 Join Date: 8/5/11 Recent Posts
try to check META-INF\manifest.mf in your webapps\ROOT
Born Like, modified 13 Years ago. New Member Posts: 2 Join Date: 5/24/12 Recent Posts
Eric Tse:
try to check META-INF\manifest.mf in your webapps\ROOT



Hi Eric,

Can you give what I need to check?

manifest.nf

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.2
Created-By: 1.5.0_22-b03 (Sun Microsystems Inc.)
Extension-List: crypto
crypto-Extension-Name: javax.crypto
thumbnail
Eric Tse, modified 13 Years ago. New Member Posts: 9 Join Date: 8/5/11 Recent Posts
have the same experience as yours. if manifest.mf has unix linebreak, it will get stuck. I simply delete this file and it can load successfully, you may try and see if it works for you.

Born Like:
Eric Tse:
try to check META-INF\manifest.mf in your webapps\ROOT



Hi Eric,

Can you give what I need to check?

manifest.nf

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.2
Created-By: 1.5.0_22-b03 (Sun Microsystems Inc.)
Extension-List: crypto
crypto-Extension-Name: javax.crypto
Robert Rayas, modified 11 Years ago. New Member Posts: 21 Join Date: 11/28/14 Recent Posts
I started getting this error after changing portal-ext incorrectly. It started working again when I removed the bad lines.