Hi All,
I just did a checkout of pebble from svn. I then did an mvn package to
create the war, which I renamed to pebble.war and copied to my
tomcat/webapps (apache-tomcat-7.0.26). when I go to localhost:8080/pebble,
it is not running,
instead in the logs I am seeing this error:
INFO: Deploying web application archive
/opt/apache-tomcat-7.0.26/webapps/pebble.war
2012-04-04 12:34:25,367 [pool-2-thread-6] ERROR
org.springframework.web.context.ContextLoader - Context initialization
failed
java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getDeclaredMethods(Class.java:1791)
at
org.springframework.core.type.StandardAnnotationMetadata.hasAnnotatedMethods(StandardAnnotationMetadata.java:136)
at
org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.checkConfigurationClassCandidate(ConfigurationClassBeanDefinitionReader.java:320)
at
org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:172)
at
org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:142)
at
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:599)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:407)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:958)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1599)
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:662)
Caused by: java.lang.ClassNotFoundException:
javax.persistence.EntityManagerFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 26 more
2012-04-04 12:34:25,368 [pool-2-thread-6] INFO
net.sourceforge.pebble.web.listener.PebbleContextListener - Starting
Pebble
2012-04-04 12:34:25,368 [pool-2-thread-6] INFO
net.sourceforge.pebble.aggregator.NewsFeedContextListener - Starting
newsfeed updater
Apr 4, 2012 12:34:25 PM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Error listenerStart
Apr 4, 2012 12:34:25 PM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Context [/pebble] startup failed due to previous errors
2012-04-04 12:34:25,370 [pool-2-thread-6] INFO
net.sourceforge.pebble.aggregator.NewsFeedContextListener - Stopping
newsfeed updater
2012-04-04 12:34:25,370 [pool-2-thread-6] INFO
net.sourceforge.pebble.web.listener.PebbleContextListener - Stopping
Pebble
Apr 4, 2012 12:34:25 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/pebble] appears to have started a thread
named [Timer-4] but has failed to stop it. This is very likely to create a
memory leak.
Any help is appreciated.
Kind Regards,
--
Nguni Phakela
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Pebble-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pebble-user