Home » Eclipse Projects » Remote Application Platform (RAP) » WAR deployment issue(WAR deployment issue)
WAR deployment issue [message #553543] |
Tue, 17 August 2010 21:35 |
Aditya Gupta Messages: 9 Registered: April 2010 |
Junior Member |
|
|
Hi,
I have been struggling with the RAP war deployment for quite some time now. I have a few issues.
I am trying to install a RAP + EMF application with the Deploymernt Feature approach. For this I followed the steps given in the RAP help, under War Deployment. I generated the build folder with the WEB-INF folder containing all the plugins, a lib folder for the servletbridge.jar and the web.xml, then I updated the config.ini and deployed the zipped WEB-INF folder on tomcat 5.5.30. The deployment is successful and I am able to access my application using an application entry point, but this is where my problems start,
1. I cannot access the osgi console even though I uncommented the commandline param (-console) in the web.xml. To check if the problem is in my code I deployed the provided bridge.war to see if I can access the console, and yes the osgi console comes up beautifully with all the bridge.war plugins, but none of my plugins come up even though the war is deployed and working.
2. Also, I have been using a feature project to initialize logging for my application and some how this bundle doesn't get activated, and since I don't have the osgi console I can't really debug it. It works without a hitch though, when I run the application on Eclipse as a RAP application.
Can somebody help me with these issues.
Attaching the config.ini that I am using,
#Eclipse Runtime Configuration File
osgi.bundles= (application specific projects)
com.ibm.icu.base@start,\
javax.activation@start,\
javax.mail@start,\
org.codehaus.groovy@start,\
org.apache.ant@start,\
org.junit@start,\
org.apache.commons.lang@start,\
org.apache.log4j@start,\
org.eclipse.core.commands@start,\
org.eclipse.core.contenttype@start,\
org.eclipse.core.databinding.observable@start,\
org.eclipse.core.databinding.property@start,\
org.eclipse.core.databinding@start,\
org.eclipse.core.expressions@start,\
org.eclipse.core.jobs@start,\
org.eclipse.core.runtime@start,\
org.eclipse.emf.common@start,\
org.eclipse.emf.compare.diff@start,\
org.eclipse.emf.compare.match@start,\
org.eclipse.emf.compare@start,\
org.eclipse.emf.ecore.xmi@start,\
org.eclipse.emf.ecore@start,\
org.eclipse.emf.edit@start,\
org.eclipse.emf.rap.common.ui@start,\
org.eclipse.emf.rap.edit.ui@start,\
org.eclipse.equinox.app@start,\
org.eclipse.equinox.common@2:start,\
org.eclipse.equinox.http.registry@start,\
org.eclipse.equinox.http.servletbridge@start,\
org.eclipse.equinox.http.servlet@start,\
org.eclipse.equinox.preferences@start,\
org.eclipse.equinox.registry@start,\
org.eclipse.help@start,\
org.eclipse.osgi.services@start,\
org.eclipse.rap.jface.databinding@start,\
org.eclipse.rap.jface@start,\
org.eclipse.rap.rwt.q07,\
org.eclipse.rap.rwt@start,\
org.eclipse.rap.ui.views@start,\
org.eclipse.rap.ui.workbench@start,\
org.eclipse.rap.ui@start,\
org.eclipse.equinox.servletbridge.extensionbundle
osgi.bundles.defaultStartLevel=4
Thanks and Regards,
Aditya
|
|
|
Re: WAR deployment issue [message #553614 is a reply to message #553543] |
Wed, 18 August 2010 08:06 |
Holger Staudacher Messages: 166 Registered: July 2009 |
Senior Member |
|
|
Hi Aditya,
please parse the content of your web.xml. Thanks
Regards Holger
On 2010-08-17 23:35:21 +0200, Aditya Gupta <aditya.gupta83@gmail.com> said:
> Hi,
>
> I have been struggling with the RAP war deployment for quite some time
> now. I have a few issues.
>
> I am trying to install a RAP + EMF application with the Deploymernt
> Feature approach. For this I followed the steps given in the RAP help,
> under War Deployment. I generated the build folder with the WEB-INF
> folder containing all the plugins, a lib folder for the
> servletbridge.jar and the web.xml, then I updated the config.ini and
> deployed the zipped WEB-INF folder on tomcat 5.5.30. The deployment is
> successful and I am able to access my application using an application
> entry point, but this is where my problems start,
>
> 1. I cannot access the osgi console even though I uncommented the
> commandline param (-console) in the web.xml. To check if the problem is
> in my code I deployed the provided bridge.war to see if I can access
> the console, and yes the osgi console comes up beautifully with all the
> bridge.war plugins, but none of my plugins come up even though the war
> is deployed and working.
>
> 2. Also, I have been using a feature project to initialize logging for
> my application and some how this bundle doesn't get activated, and
> since I don't have the osgi console I can't really debug it. It works
> without a hitch though, when I run the application on Eclipse as a RAP
> application.
>
> Can somebody help me with these issues.
>
> Attaching the config.ini that I am using,
>
> #Eclipse Runtime Configuration File
> osgi.bundles= (application specific projects)
> mailto:com.ibm.icu.base@start,\
> mailto:javax.activation@start,\
> mailto:javax.mail@start,\
> mailto:org.codehaus.groovy@start,\
> mailto:org.apache.ant@start,\
> mailto:org.junit@start,\
> mailto:org.apache.commons.lang@start,\
> mailto:org.apache.log4j@start,\
> mailto:org.eclipse.core.commands@start,\
> mailto:org.eclipse.core.contenttype@start,\
> mailto:org.eclipse.core.databinding.observable@start,\
> mailto:org.eclipse.core.databinding.property@start,\
> mailto:org.eclipse.core.databinding@start,\
> mailto:org.eclipse.core.expressions@start,\
> mailto:org.eclipse.core.jobs@start,\
> mailto:org.eclipse.core.runtime@start,\
> mailto:org.eclipse.emf.common@start,\
> mailto:org.eclipse.emf.compare.diff@start,\
> mailto:org.eclipse.emf.compare.match@start,\
> mailto:org.eclipse.emf.compare@start,\
> mailto:org.eclipse.emf.ecore.xmi@start,\
> mailto:org.eclipse.emf.ecore@start,\
> mailto:org.eclipse.emf.edit@start,\
> mailto:org.eclipse.emf.rap.common.ui@start,\
> mailto:org.eclipse.emf.rap.edit.ui@start,\
> mailto:org.eclipse.equinox.app@start,\
> mailto:org.eclipse.equinox.common@2:start,\
> mailto:org.eclipse.equinox.http.registry@start,\
> mailto:org.eclipse.equinox.http.servletbridge@start,\
> mailto:org.eclipse.equinox.http.servlet@start,\
> mailto:org.eclipse.equinox.preferences@start,\
> mailto:org.eclipse.equinox.registry@start,\
> mailto:org.eclipse.help@start,\
> mailto:org.eclipse.osgi.services@start,\
> mailto:org.eclipse.rap.jface.databinding@start,\
> mailto:org.eclipse.rap.jface@start,\
> org.eclipse.rap.rwt.q07,\
> mailto:org.eclipse.rap.rwt@start,\
> mailto:org.eclipse.rap.ui.views@start,\
> mailto:org.eclipse.rap.ui.workbench@start,\
> mailto:org.eclipse.rap.ui@start,\
> org.eclipse.equinox.servletbridge.extensionbundle
> osgi.bundles.defaultStartLevel=4
>
>
> Thanks and Regards,
> Aditya
--
--
Holger Staudacher | EclipseSource Karlsruhe
Need professional support for RAP and RCP?
Go to: http://eclipsesource.com/support
Twitter : @hstaudacher
Blog : http://eclipsesource.com/blogs/tag/rap/
|
|
|
Goto Forum:
Current Time: Sat Oct 12 19:09:45 GMT 2024
Powered by FUDForum. Page generated in 0.04190 seconds
|