BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   Blackberry Push Service, error while starting Tomcat (http://www.blackberryforums.com/showthread.php?t=223647)

kotman 04-06-2010 06:21 AM

Blackberry Push Service, error while starting Tomcat
 
HI all
I have a problem to start tomcat with Blackberry Push Service SDK, i got this error when starting tomcat :
Error ListenerStart

this is the log :

Code:

3 avr. 2010 17:50:07 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_19\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Fichiers communs\Roxio Shared\DLLShared\;C:\Program Files\Fichiers communs\Roxio Shared\DLLShared\;C:\Program Files\Fichiers communs\Roxio Shared\9.0\DLLShared\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\Java\jdk1.6.0_19;C:\android-sdk-windows
3 avr. 2010 17:50:08 org.apache.coyote.http11.Http11Protocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
3 avr. 2010 17:50:10 org.apache.coyote.http11.Http11Protocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8443
3 avr. 2010 17:50:10 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4473 ms
3 avr. 2010 17:50:10 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
3 avr. 2010 17:50:10 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
3 avr. 2010 17:50:14 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
3 avr. 2010 17:50:14 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/debug-portal] suite aux erreurs précédentes
3 avr. 2010 17:50:21 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
3 avr. 2010 17:50:21 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/pushsdk] suite aux erreurs précédentes
3 avr. 2010 17:50:26 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
3 avr. 2010 17:50:26 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/sample-app] suite aux erreurs précédentes
3 avr. 2010 17:50:27 org.apache.coyote.http11.Http11Protocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
3 avr. 2010 17:50:27 org.apache.coyote.http11.Http11Protocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8443
3 avr. 2010 17:50:27 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
3 avr. 2010 17:50:27 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/156  config=null
3 avr. 2010 17:50:27 org.apache.catalina.startup.Catalina start
INFO: Server startup in 17192 ms
3 avr. 2010 17:56:35 org.apache.coyote.http11.Http11Protocol pause
INFO: Suspension de Coyote HTTP/1.1 sur http-8080
3 avr. 2010 17:56:35 org.apache.coyote.http11.Http11Protocol pause
INFO: Suspension de Coyote HTTP/1.1 sur http-8443
3 avr. 2010 17:56:36 org.apache.catalina.core.StandardService stop
INFO: Arrêt du service Catalina
3 avr. 2010 17:56:36 org.apache.coyote.http11.Http11Protocol destroy
INFO: Arrêt de Coyote HTTP/1.1 sur http-8080
3 avr. 2010 17:56:36 org.apache.coyote.http11.Http11Protocol destroy
INFO: Arrêt de Coyote HTTP/1.1 sur http-8443
- 3 avr. 2010 17:50:07 org.apache.catalina.core.AprLifecycleListener initINFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\ProgramFiles\Java\jdk1.6.0_19\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Fichiers communs\Roxio Shared\DLLShared\;C:\Program Files\Fichiers communs\Roxio Shared\DLLShared\;C:\Program Files\Fichiers communs\Roxio Shared\9.0\DLLShared\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\Java\jdk1.6.0_19;C:\android-sdk-windows
- 3 avr. 2010 17:50:08 org.apache.coyote.http11.Http11Protocol initINFO: Initialisation de Coyote HTTP/1.1 sur http-80803 avr. 2010 17:50:10 org.apache.coyote.http11.Http11Protocol initINFO: Initialisation de Coyote HTTP/1.1 sur http-84433 avr. 2010 17:50:10 org.apache.catalina.startup.Catalina loadINFO: Initialization processed in 4473 ms
- 3 avr. 2010 17:50:10 org.apache.catalina.core.StandardService startINFO: Démarrage du service Catalina
- 3 avr. 2010 17:50:10 org.apache.catalina.core.StandardEngine startINFO: Starting Servlet Engine: Apache Tomcat/6.0.203 avr. 2010 17:50:14 org.apache.catalina.core.StandardContext start
- GRAVE: Error listenerStart
- 3 avr. 2010 17:50:14 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/debug-portal] suite aux erreurs précédentes3 avr. 2010 17:50:21 org.apache.catalina.core.StandardContext startGRAVE: Error listenerStart3 avr. 2010 17:50:21 org.apache.catalina.core.StandardContext startGRAVE: Erreur de démarrage du contexte [/pushsdk] suite aux erreurs précédentes3 avr. 2010 17:50:26 org.apache.catalina.core.StandardContext startGRAVE: Error listenerStart3 avr. 2010 17:50:26 org.apache.catalina.core.StandardContext startGRAVE: Erreur de démarrage du contexte [/sample-app] suite aux erreurs précédentes3 avr. 2010 17:50:27 org.apache.coyote.http11.Http11Protocol startINFO: Démarrage de Coyote HTTP/1.1 sur http-80803 avr. 2010 17:50:27 org.apache.coyote.http11.Http11Protocol startINFO: Démarrage de Coyote HTTP/1.1 sur http-84433 avr. 2010 17:50:27 org.apache.jk.common.ChannelSocket initINFO: JK: ajp13 listening on /0.0.0.0:80093 avr. 2010 17:50:27 org.apache.jk.server.JkMain startINFO: Jk running ID=0 time=0/156  config=null3 avr. 2010 17:50:27 org.apache.catalina.startup.Catalina startINFO: Server startup in 17192 ms3 avr. 2010 17:56:35 org.apache.coyote.http11.Http11Protocol pauseINFO: Suspension de Coyote HTTP/1.1 sur http-80803 avr. 2010 17:56:35 org.apache.coyote.http11.Http11Protocol pauseINFO: Suspension de Coyote HTTP/1.1 sur http-84433 avr. 2010 17:56:36 org.apache.catalina.core.StandardService stopINFO: Arrêt du service Catalina3 avr. 2010 17:56:36 org.apache.coyote.http11.Http11Protocol destroyINFO: Arrêt de Coyote HTTP/1.1 sur http-80803 avr. 2010 17:56:36 org.apache.coyote.http11.Http11Protocol destroyINFO: Arrêt de Coyote HTTP/1.1 sur http-8443

please any idea ?
:-(

anuj866 04-07-2010 12:23 AM

see,the mds uses the port 8080 which is also used by your tomcat (as default)
causing a conflict and not allowing tomcat to start up.

so all you need to do is simply change the http/1.1 port for tomcat from 8080 to something like 8081.....
for doing that simply go to your APACHE FOLDER/conf/server.xml
there you'll find something like this :Connector port="8080" protocol="HTTP/1.1"
change : Connector port ="8081" protocol="HTTP/1.1"
and voila....restart everything and ur done!!


All times are GMT -5. The time now is 02:12 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.