Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to debug after deploying
How to debug after deploying [message #124586] Sat, 14 March 2009 06:32 Go to next message
Kathiravan  is currently offline Kathiravan Friend
Messages: 33
Registered: July 2009
Member
Hi ,

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.

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 #124634 is a reply to message #124586] Mon, 16 March 2009 09:22 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

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 #124645 is a reply to message #124586] Mon, 16 March 2009 09:27 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

.... oh, I see that I've mixed up you name, kathir - sorry.

Ralf
Re: How to debug after deploying [message #124922 is a reply to message #124634] Mon, 16 March 2009 17:58 Go to previous messageGo to next message
Kathiravan  is currently offline Kathiravan Friend
Messages: 33
Registered: July 2009
Member
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.

PS: No issues in mixing up the name. It was right :-)

BR,
Kathir.
Re: How to debug after deploying [message #124947 is a reply to message #124922] Mon, 16 March 2009 19:27 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

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 Go to previous messageGo to next message
Kathiravan  is currently offline Kathiravan Friend
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.
Re: How to debug after deploying [message #125058 is a reply to message #125046] Tue, 17 March 2009 05:46 Go to previous messageGo to next message
Kathiravan  is currently offline Kathiravan Friend
Messages: 33
Registered: July 2009
Member
also i got the following exception ...

!STACK 0
org.osgi.framework.BundleException: State change in progress for bundle
"initial
@reference:file:plugins/org.eclipse.rap.ui.workbench_1.2.0.2 0090210-1243.jar/ "
b
y thread "Start Level Event Dispatcher".

kathir.
Re: How to debug after deploying [message #125483 is a reply to message #125058] Wed, 18 March 2009 09:10 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

> org.osgi.framework.BundleException: State change in progress for bundle
> "initial
> @reference:file:plugins/org.eclipse.rap.ui.workbench_1.2.0.2 0090210-1243.jar/ "
> b
> y thread "Start Level Event Dispatcher".

We have seen such an error message once before, see [1], [2]. It seems
to be some kind of deadlock that occurs while bundles are being started.
We have a workaround in place, but it seems not to help in your case.

Could you reopen bug 231274 and describe your exact environment and
versions? Do you experience the problem with different versions of RAP?

Regards, Ralf

[1]
http://dev.eclipse.org/newslists/news.eclipse.technology.rap /msg03059.html
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=231274
Previous Topic:How to control the external browser in which RAP is running
Next Topic:Passing GET Parameters to RAP Applikation
Goto Forum:
  


Current Time: Tue Dec 07 16:23:48 GMT 2021

Powered by FUDForum. Page generated in 0.07287 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top