|
Re: How to debug after deploying [message #124634 is a reply to message #124586] |
Mon, 16 March 2009 09:22 |
|
Hi Kathiravan,
> I have followed the RAP deployment step on the help document and
> deployed it on the Tomcat. Now when i see the tomcat console i can see
> all the bundles resolved and active. But i cant access the application.
> I am really confused.
What exactly is the symptom? Do you get an HTTP 404, 500, ... ? You
could also add the commandline parameter "-consolelog" in your web.xml
to have exceptions logged to the console.
Regards, Ralf
>
> the following is what i get on the osgi console.
>
> Framework is launched.
>
> id State Bundle
> 0 ACTIVE org.eclipse.osgi_3.5.0.v20090127-1630
> Fragments=27
> 1 ACTIVE org.eclipse.equinox.http.registry_1.0.200.200903132109
> 2 ACTIVE org.eclipse.equinox.http.servlet_1.0.200.200903132109
> 3 ACTIVE
> org.eclipse.equinox.http.servletbridge_1.0.100.200903132109
> 4 ACTIVE com.biologistics.gd_1.0.0
> 5 ACTIVE com.biologistics.gd.datamodel_1.0.0
> 6 ACTIVE com.biologistics.gd.parsers_1.0.0
> 7 ACTIVE com.biologistics.gd.utils_1.0.0
> 8 ACTIVE org.eclipse.core.commands_3.5.0.I20081202-0800
> 9 ACTIVE org.eclipse.core.contenttype_3.4.0.v20081211-0735
> 10 ACTIVE org.eclipse.core.jobs_3.4.100.v20090119
> 11 ACTIVE org.eclipse.core.runtime_3.5.0.v20090119
> 12 ACTIVE org.eclipse.equinox.common_3.5.0.v20090119-1830
> 13 ACTIVE org.eclipse.equinox.preferences_3.2.300.v20090112-1800
> 14 ACTIVE org.eclipse.equinox.registry_3.4.100.v20081024-1200
> 15 ACTIVE org.eclipse.osgi.services_3.2.0.v20081205-1800
> 16 ACTIVE org.eclipse.rap.jface_1.2.0.20090210-1243
> 17 ACTIVE org.eclipse.rap.rwt_1.2.0.20090210-1243
> Fragments=22
> 18 ACTIVE org.eclipse.rap.ui.workbench_1.2.0.20090210-1243
> 19 ACTIVE org.eclipse.core.expressions_3.4.100.v20090125-2000
> 20 ACTIVE org.eclipse.equinox.app_1.2.0.v20090119-1830
> 21 ACTIVE org.eclipse.rap.ui_1.2.0.20090210-1243
> 22 RESOLVED org.eclipse.rap.rwt.q07_1.2.0.20090210-1243
> Master=17
> 23 ACTIVE org.eclipse.rap.jface.databinding_1.2.0.20090210-1243
> 24 ACTIVE org.eclipse.core.databinding_1.2.0.I20090126-1300
> 25 ACTIVE com.ibm.icu.base_4.0.0.v20081201
> 26 ACTIVE org.eclipse.rap.ui.views_1.2.0.20090210-1243
> 27 RESOLVED org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
> Master=0
> 28 ACTIVE com.biologistics.gd.libs_1.0.0
>
> Hope someone can help me fix this.
>
> kathir.
>
|
|
|
|
|
Re: How to debug after deploying [message #124947 is a reply to message #124922] |
Mon, 16 March 2009 19:27 |
|
Kathiravan wrote:
> Hi ,
> I dont get any exceptions ( i had already included the -consoleLog
> option ). my app was called genomedesigner and after deploying the
> genomedesigner.war file i just get genomedesigner not found but other
> apps show up.
Just to double check: the correct parameter is -consolelog, all lower
case, and I think it's case sensitive.
But if you have problems to deploy your app on a servlet container, you
should first check the logs of that container. I know that Tomcat logs
some info to catalina.out when deploying an application. I guess you
should also find something in the error log when deployment fails.
Ralf
|
|
|
Re: How to debug after deploying [message #125046 is a reply to message #124947] |
Tue, 17 March 2009 05:36 |
Kathiravan Messages: 33 Registered: July 2009 |
Member |
|
|
Hi Ralf,
This is what i get on the tomcat console when i startup,
C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin>tomcat5.exe
Mar 16, 2009 10:28:27 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 16, 2009 10:28:27 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Mar 16, 2009 10:28:27 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 907 ms
Mar 16, 2009 10:28:27 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 16, 2009 10:28:27 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.27
Mar 16, 2009 10:28:27 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 16, 2009 10:28:28 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive genomedesigner.war
osgi> Mar 16, 2009 10:28:52 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 16, 2009 10:28:52 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Mar 16, 2009 10:28:52 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 16, 2009 10:28:52 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 25281 ms
And when i access the page i get the following error,
HTTP Status 404 - ProxyServlet: /genomedesigner
type Status report
message ProxyServlet: /genomedesigner
description The requested resource (ProxyServlet: /genomedesigner) is not
available.
Apache Tomcat/5.5.27
Interestingly i dont see any errors on catalina.out or on the console.
I am really confused and wondering whether i missed any basic step.
Kathir.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03427 seconds