Hi Vega,

On 21 Feb 2012, at 19:55, [email protected] wrote:

> Hi Scott.
> I have a problem with Tomcat launch Wookie. Since he had done before, but
> now I am doing a new computer and giving me the following error:
> 
> 
> 21-feb-2012 20:42:48 org.apache.catalina.core.AprLifecycleListener init
> INFO: Cargada la biblioteca nativa APR de Apache Tomcat 1.1.20
> 21-feb-2012 20:42:48 org.apache.catalina.core.AprLifecycleListener init
> INFO: Capacidades APR: IPv6 [true], enviar fichero [true], aceptar filtros
> [fals
> e], aleatorio [true].
> 21-feb-2012 20:42:49 org.apache.coyote.AbstractProtocolHandler init
> INFO: Initializing ProtocolHandler ["http-apr-8080"]
> 21-feb-2012 20:42:49 org.apache.coyote.AbstractProtocolHandler init
> INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
> 21-feb-2012 20:42:49 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1310 ms
> 21-feb-2012 20:42:49 org.apache.catalina.core.StandardService startInternal
> INFO: Arrancando servicio Catalina
> 21-feb-2012 20:42:49 org.apache.catalina.core.StandardEngine startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.14
> 21-feb-2012 20:42:49 org.apache.catalina.startup.HostConfig deployDescriptor
> INFO: Desplieque del descriptor de configuraci¾n wookie.xml
> INFO [Thread-2] (ContextListener.java:76) - Using local widget server
> propertie
> s file: C:\tomcat\bin\local.widgetserver.properties
> 20:42:52,437  INFO ContextListener:76 - Using local widget server
> properties fil
> e: C:\tomcat\bin\local.widgetserver.properties
> INFO [Thread-2] (JPAPersistenceManager.java:269) - Initialized
> 20:42:53,593  INFO JPAPersistenceManager:269 - Initialized
> 21-feb-2012 20:42:54 org.apache.catalina.core.StandardContext startInternal
> GRAVE: Error listenerStart
> 21-feb-2012 20:42:54 org.apache.catalina.core.StandardContext startInternal
> GRAVE: Fall¾ en arranque del Contexto [/wookie] debido a errores previos
> INFO [main] (JPAPersistenceManager.java:294) - Terminated
> 20:42:54,796  INFO JPAPersistenceManager:294 - Terminated
> INFO [main] (PersistenceManagerFactory.java:346) - Terminated
> 20:42:54,796  INFO PersistenceManagerFactory:346 - Terminated
> 21-feb-2012 20:42:54 org.apache.catalina.loader.WebappClassLoader
> clearReference
> sJdbc


This looks like the important part:

> GRAVE: The web application [/wookie] registered the JDBC driver
> [org.apache.derb
> y.jdbc.AutoloadedDriver] but failed to unregister it when the web
> application wa
> s stopped. To prevent a memory leak, the JDBC Driver has been forcibly
> unregiste
> red.

This is likely to be caused by a problem with JDBC. 

That it seems to be loading the Derby driver rather than MySQL suggests that 
the database resource is not correctly configured in JNDI

> 21-feb-2012 20:42:54 org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Despliegue del directorio docs de la aplicaci¾n web
> 21-feb-2012 20:42:55 org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Despliegue del directorio examples de la aplicaci¾n web
> 21-feb-2012 20:42:56 org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Despliegue del directorio host-manager de la aplicaci¾n web
> 21-feb-2012 20:42:56 org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Despliegue del directorio manager de la aplicaci¾n web
> 21-feb-2012 20:42:57 org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Despliegue del directorio NoValeROOTviejo de la aplicaci¾n web
> 21-feb-2012 20:42:57 org.apache.catalina.loader.WebappClassLoader loadClass
> INFO: Acceso ilegal: esta instancia de aplicaci¾n web ya ha sido parada. 
> Could
> not load org.apache.openjpa.kernel.ManagedCache.  La eventual traza de
> pila que
> sigue ha sido motivada por un error lanzado con motivos de depuraci¾n asÝ
> como p
> ara intentar terminar el hilo que motiv¾ el acceso ilegal y no tiene
> impacto fun
> cional.
> java.lang.IllegalStateException
>        at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
> der.java:1562)
>        at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
> der.java:1521)
>        at org.apache.openjpa.kernel.BrokerImpl.free(BrokerImpl.java:4303)
>        at
> org.apache.openjpa.kernel.FinalizingBrokerImpl.finalize(FinalizingBro
> kerImpl.java:39)
>        at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
>        at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
>        at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
>        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
> 21-feb-2012 20:43:01
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide
> r createCache
> INFO: Creating cache named httpResponses
> 21-feb-2012 20:43:01
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide
> r createCache
> INFO: Creating cache named invalidatedUsers
> 21-feb-2012 20:43:01
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide
> r createCache
> INFO: Creating cache named messageBundles
> 21-feb-2012 20:43:01
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide
> r createCache
> INFO: Creating cache named expressions
> 21-feb-2012 20:43:01 org.apache.shindig.config.JsonContainerConfig
> loadContainer
> s
> INFO: Loading resources from: containers/default/container.js
> 21-feb-2012 20:43:01 org.apache.shindig.config.JsonContainerConfig
> loadResources
> 
> INFO: Reading container config: containers/default/container.js
> 21-feb-2012 20:43:01
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide
> r createCache
> INFO: Creating cache named gadgetSpecs
> 21-feb-2012 20:43:01 org.apache.shindig.gadgets.features.FeatureRegistry
> registe
> r
> INFO: Loading resources from: res:features/features.txt
> 21-feb-2012 20:43:01 org.apache.shindig.common.xml.XmlUtil <clinit>
> INFO: Not using secure XML processing.
> 21-feb-2012 20:43:01 org.apache.shindig.common.xml.XmlUtil <clinit>
> INFO: Reusing document builders
> 21-feb-2012 20:43:01 org.apache.shindig.common.xml.XmlUtil$2 initialValue
> INFO: Created a new document builder
> 21-feb-2012 20:43:02
> 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
> 
> 21-feb-2012 20:43:02
> org.apache.shindig.gadgets.oauth.OAuthModule$OAuthCrypterPr
> ovider <init>
> INFO: Using random key for OAuth client-side state encryption
> 21-feb-2012 20:43:02
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide
> r createCache
> INFO: Creating cache named parsedDocuments
> 21-feb-2012 20:43:02
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide
> r createCache
> INFO: Creating cache named parsedFragments
> 21-feb-2012 20:43:02 org.jsecurity.config.TextConfiguration init
> INFO: Attempting to load Configuration based on 'config' property.
> 21-feb-2012 20:43:02 org.jsecurity.web.DefaultWebSecurityManager
> newSessionManag
> erInstance
> INFO: http mode - enabling ServletContainerSessionManager (Http Sessions)
> 21-feb-2012 20:43:02 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.
> 21-feb-2012 20:43:02 org.jsecurity.cache.ehcache.EhCacheManager getCache
> INFO: Started EHCache named
> [org.apache.shindig.social.sample.oauth.SampleRealm-
> 0-authorization]
> 21-feb-2012 20:43:02 org.jsecurity.cache.ehcache.EhCacheManager getCache
> INFO: Using preconfigured EHCache named
> [org.apache.shindig.social.sample.oauth.
> SampleRealm-0-authorization]
> 21-feb-2012 20:43:03 org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Despliegue del directorio ROOT de la aplicaci¾n web
> 21-feb-2012 20:43:07
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide
> r createCache
> INFO: Creating cache named expressions
> 21-feb-2012 20:43:08 org.apache.shindig.config.JsonContainerConfig
> loadContainer
> s
> INFO: Loading resources from: containers/default/container.js
> 21-feb-2012 20:43:08 org.apache.shindig.config.JsonContainerConfig
> loadResources
> 
> INFO: Reading container config: containers/default/container.js
> 21-feb-2012 20:43:08 org.apache.shindig.gadgets.features.FeatureRegistry
> registe
> r
> INFO: Loading resources from: res:features/features.txt
> 21-feb-2012 20:43:08 org.apache.shindig.common.xml.XmlUtil <clinit>
> INFO: Not using secure XML processing.
> 21-feb-2012 20:43:08 org.apache.shindig.common.xml.XmlUtil <clinit>
> INFO: Reusing document builders
> 21-feb-2012 20:43:08 org.apache.shindig.common.xml.XmlUtil$2 initialValue
> INFO: Created a new document builder
> 21-feb-2012 20:43:08
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide
> r createCache
> INFO: Creating cache named httpResponses
> 21-feb-2012 20:43:08
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide
> r createCache
> INFO: Creating cache named invalidatedUsers
> 21-feb-2012 20:43:08
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide
> r createCache
> INFO: Creating cache named gadgetSpecs
> 21-feb-2012 20:43:08
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide
> r createCache
> INFO: Creating cache named messageBundles
> 21-feb-2012 20:43:08
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide
> r createCache
> INFO: Creating cache named parsedDocuments
> 21-feb-2012 20:43:08
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvide
> r createCache
> INFO: Creating cache named parsedFragments
> 21-feb-2012 20:43:08
> 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
> 
> 21-feb-2012 20:43:08
> org.apache.shindig.gadgets.oauth.OAuthModule$OAuthCrypterPr
> ovider <init>
> INFO: Using random key for OAuth client-side state encryption
> 21-feb-2012 20:43:09 org.jsecurity.config.TextConfiguration init
> INFO: Attempting to load Configuration based on 'config' property.
> 21-feb-2012 20:43:09 org.jsecurity.web.DefaultWebSecurityManager
> newSessionManag
> erInstance
> INFO: http mode - enabling ServletContainerSessionManager (Http Sessions)
> 21-feb-2012 20:43:09 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.
> 21-feb-2012 20:43:09 org.jsecurity.cache.ehcache.EhCacheManager getCache
> INFO: Started EHCache named
> [org.apache.shindig.social.sample.oauth.SampleRealm-
> 0-authorization]
> 21-feb-2012 20:43:09 org.jsecurity.cache.ehcache.EhCacheManager getCache
> INFO: Using preconfigured EHCache named
> [org.apache.shindig.social.sample.oauth.
> SampleRealm-0-authorization]
> 21-feb-2012 20:43:09 org.apache.coyote.AbstractProtocolHandler start
> INFO: Starting ProtocolHandler ["http-apr-8080"]
> 21-feb-2012 20:43:09 org.apache.coyote.AbstractProtocolHandler start
> INFO: Starting ProtocolHandler ["ajp-apr-8009"]
> 21-feb-2012 20:43:09 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 20515 ms
> 
> 
> Can you tell me as it solves the error?
> thanks
> 
> Vega Gómez Delgado
> 

Reply via email to