BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-06-2010, 06:21 AM   #1 (permalink)
New Member
 
Join Date: Mar 2010
Model: Bold
PIN: N/A
Carrier: WIFI
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Blackberry Push Service, error while starting Tomcat

Please Login to Remove!

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 ?
Offline  
Old 04-07-2010, 12:23 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Feb 2010
Model: 7100t
PIN: N/A
Carrier: VODAFONE
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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!!

Last edited by anuj866 : 04-07-2010 at 12:26 AM.
Offline  




Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.