I just tried replicating using Tomcat 6 with Wookie 0.9.0RC2 and Shindig 1b5 and didn't get an error like this one.
I think I've seen this error before, though, and it may be caused by an incomplete shutdown. Try deleting any "work" folders and re-deploying the wookie.war to see if that clears it. On 3 Jun 2011, at 17:19, [email protected] wrote: > is the version of tomcat. > Shindig is running ok with tomcat 6 and wookie with tomcat 5. > If I put tomcat 6, the error I get is: > > 03-jun-2011 18:12:47 org.apache.catalina.core.AprLifecycleListener init > INFO: La biblioteca nativa de Apache Tomcat basada en ARP que permite un > rendimi > ento ¾ptimo en entornos de desarrollo no ha sido hallada en > java.library.path: C > :\Archivos de > programa\Java\jdk1.6.0_25\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS > \system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ > Archivos de programa\TortoiseSVN\bin;C:\ant\bin;C:\Archivos de > programa\MySQL\My > SQL Server 5.0\bin > 03-jun-2011 18:12:47 org.apache.coyote.http11.Http11Protocol init > INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080 > 03-jun-2011 18:12:47 org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 586 ms > 03-jun-2011 18:12:47 org.apache.catalina.core.StandardService start > INFO: Arrancando servicio Catalina > 03-jun-2011 18:12:47 org.apache.catalina.core.StandardEngine start > INFO: Starting Servlet Engine: Apache Tomcat/6.0.32 > 03-jun-2011 18:12:47 org.apache.catalina.startup.HostConfig deployDescriptor > INFO: Desplieque del descriptor de configuraci¾n host-manager.xml > 03-jun-2011 18:12:47 org.apache.catalina.startup.HostConfig deployDescriptor > INFO: Desplieque del descriptor de configuraci¾n manager.xml > 03-jun-2011 18:12:47 org.apache.catalina.startup.HostConfig deployWAR > INFO: Despliegue del archivo ROOT.war de la aplicaci¾n web > 03-jun-2011 18:12:49 > org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide > r createCache > INFO: Creating cache named httpResponses > 03-jun-2011 18:12:49 > org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide > r createCache > INFO: Creating cache named invalidatedUsers > 03-jun-2011 18:12:49 > org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide > r createCache > INFO: Creating cache named parsedDocuments > 03-jun-2011 18:12:49 > org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide > r createCache > INFO: Creating cache named parsedFragments > 03-jun-2011 18:12:49 org.apache.shindig.gadgets.features.FeatureRegistry > registe > r > INFO: Loading resources from: res:features/features.txt > 03-jun-2011 18:12:49 org.apache.shindig.common.xml.XmlUtil <clinit> > INFO: Not using secure XML processing. > 03-jun-2011 18:12:49 org.apache.shindig.common.xml.XmlUtil <clinit> > INFO: Reusing document builders > 03-jun-2011 18:12:49 org.apache.shindig.common.xml.XmlUtil$2 initialValue > INFO: Created a new document builder > 03-jun-2011 18:12:50 > org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide > r createCache > INFO: Creating cache named gadgetSpecs > 03-jun-2011 18:12:50 > org.apache.shindig.gadgets.oauth.OAuthModule$OAuthStoreProv > ider loadDefaultKey > ADVERTENCIA: Couldn't load OAuth signing key. To create a key, run: > openssl req -newkey rsa:1024 -days 365 -nodes -x509 -keyout testkey.pem \ > -out testkey.pem -subj '/CN=mytestkey' > openssl pkcs8 -in testkey.pem -out oauthkey.pem -topk8 -nocrypt -outform > PEM > > Then edit gadgets.properties and add these lines: > shindig.signing.key-file=<path-to-oauthkey.pem> > shindig.signing.key-name=mykey > > 03-jun-2011 18:12:50 > org.apache.shindig.gadgets.oauth.OAuthModule$OAuthCrypterPr > ovider <init> > INFO: Using random key for OAuth client-side state encryption > 03-jun-2011 18:12:50 > org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide > r createCache > INFO: Creating cache named messageBundles > 03-jun-2011 18:12:50 > org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide > r createCache > INFO: Creating cache named expressions > 03-jun-2011 18:12:50 org.apache.shindig.config.JsonContainerConfig > loadContainer > s > INFO: Loading resources from: containers/default/container.js > 03-jun-2011 18:12:50 org.apache.shindig.config.JsonContainerConfig > loadResources > > INFO: Reading container config: containers/default/container.js > 03-jun-2011 18:12:50 org.jsecurity.config.TextConfiguration init > INFO: Attempting to load Configuration based on 'config' property. > 03-jun-2011 18:12:50 org.jsecurity.web.DefaultWebSecurityManager > newSessionManag > erInstance > INFO: http mode - enabling ServletContainerSessionManager (Http Sessions) > 03-jun-2011 18:12:50 org.jsecurity.cache.ehcache.EhCacheManager getCache > INFO: Could not find a specific ehcache configuration for cache named > [org.apach > e.shindig.social.sample.oauth.SampleRealm-0-authorization]; using defaults. > 03-jun-2011 18:12:50 org.jsecurity.cache.ehcache.EhCacheManager getCache > INFO: Started EHCache named > [org.apache.shindig.social.sample.oauth.SampleRealm- > 0-authorization] > 03-jun-2011 18:12:50 org.jsecurity.cache.ehcache.EhCacheManager getCache > INFO: Using preconfigured EHCache named > [org.apache.shindig.social.sample.oauth. > SampleRealm-0-authorization] > 03-jun-2011 18:12:50 org.apache.catalina.startup.HostConfig deployWAR > INFO: Despliegue del archivo wookie.war de la aplicaci¾n web > INFO [main] (ContextListener.java:76) - Using local widget server > properties fi > le: C:\tomcat\bin\local.widgetserver.properties > 18:12:51,046 INFO ContextListener:76 - Using local widget server > properties fil > e: C:\tomcat\bin\local.widgetserver.properties > INFO [main] (JPAPersistenceManager.java:269) - Initialized > 18:12:52,265 INFO JPAPersistenceManager:269 - Initialized > 03-jun-2011 18:12:52 org.apache.catalina.core.StandardContext start > GRAVE: Error listenerStart > 03-jun-2011 18:12:52 org.apache.catalina.core.StandardContext start > GRAVE: Fall¾ en arranque del Contexto [/wookie] debido a errores previos > INFO [main] (JPAPersistenceManager.java:294) - Terminated > 18:12:52,999 INFO JPAPersistenceManager:294 - Terminated > INFO [main] (PersistenceManagerFactory.java:346) - Terminated > 18:12:52,999 INFO PersistenceManagerFactory:346 - Terminated > 03-jun-2011 18:12:53 org.apache.catalina.loader.WebappClassLoader > clearThreadLoc > alMap > GRAVE: The web application [/wookie] created a ThreadLocal with key of > type [jav > a.lang.ThreadLocal] (value [java.lang.ThreadLocal@1bed3d1]) and a value of > type > [org.apache.wookie.beans.jpa.JPAPersistenceManager] (value > [org.apache.wookie.be > ans.jpa.JPAPersistenceManager@1444356]) but failed to remove it when the > web app > lication was stopped. This is very likely to create a memory leak. > 03-jun-2011 18:12:53 org.apache.catalina.startup.HostConfig deployDirectory > INFO: Despliegue del directorio docs de la aplicaci¾n web > 03-jun-2011 18:12:53 org.apache.catalina.startup.HostConfig deployDirectory > INFO: Despliegue del directorio examples de la aplicaci¾n web > 03-jun-2011 18:12:53 org.apache.coyote.http11.Http11Protocol start > INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080 > 03-jun-2011 18:12:53 org.apache.jk.common.ChannelSocket init > INFO: JK: ajp13 listening on /0.0.0.0:8009 > 03-jun-2011 18:12:53 org.apache.jk.server.JkMain start > INFO: Jk running ID=0 time=0/31 config=null > 03-jun-2011 18:12:53 org.apache.catalina.startup.Catalina start > INFO: Server startup in 6402 ms > > and if I put tomcat 5, the error is that I've taught. > > I will continue trying to fix the error, but if you know what is giving me > the problem, let me know. > > Thanks. > > Vega >
