Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
SEVERE: Exception sending context initialized event to listener
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
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
try to check META-INF\manifest.mf in your webapps\ROOT
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
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
I started getting this error after changing portal-ext incorrectly. It started working again when I removed the bad lines.
Community
Company
Feedback