Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » require document for deploy rwt standalone to jee container like tomcat or jboss?
require document for deploy rwt standalone to jee container like tomcat or jboss? [message #984264] Wed, 14 November 2012 09:52 Go to next message
Song David is currently offline Song David
Messages: 180
Registered: April 2011
Senior Member
hi rap teams,
I tried many times to deploy my new rwt standalone ver1.5 or ver2.0 app to jee container like Tomcat or Jboss, but they do not work. Would you please to give a doc or a tutorial to deploy rwt ver1.5 or ver2.0 standalone application to jee contaner like Tomcat or Jboss?

Thanks
David
Re: require document for deploy rwt standalone to jee container like tomcat or jboss? [message #985242 is a reply to message #984264] Thu, 15 November 2012 03:59 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1286
Registered: July 2009
Senior Member

Did you check the developer's guide?
http://eclipse.org/rap/developers-guide/devguide.php?topic=advanced/deployment.html

Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: require document for deploy rwt standalone to jee container like tomcat or jboss? [message #985635 is a reply to message #985242] Thu, 15 November 2012 10:03 Go to previous messageGo to next message
Song David is currently offline Song David
Messages: 180
Registered: April 2011
Senior Member
Thanks Ralf for your so quick reply to me
the tutorial is about how to deploy workbench rap application to jee container, but I say how to depay RWT STANDALONE APP to jee container, just like the example org.eclipse.rap.examples, I tried import org.eclipse.rap.examples and create a war configuration file to export a war file, but when deploy to jboss, an error occrors and the log is as belong:
WARN  [org.jboss.as.ee] (MSC service thread 1-1) JBAS011006: Not installing optional component org.eclipse.rap.rwt.engine.RWTServletContextListener due to exception: java.lang.ClassNotFoundException: org.eclipse.rap.rwt.engine.RWTServletContextListener from [Module "deployment.ROOT.war:main" from Service Module Loader]
	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA]
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]
	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]
	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA]
	at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_06]
	at java.lang.Class.forName(Class.java:264) [rt.jar:1.7.0_06]
	at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
	at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:79)
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_06]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_06]
	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_06]


and the content in warproduct file is listed as below:
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>

<product name="example product" uid="example" useFeatures="false" includeLaunchers="false">
   <plugins>
      <plugin id="javax.xml"/>
      <plugin id="org.eclipse.core.commands"/>
      <plugin id="org.eclipse.core.contenttype"/>
      <plugin id="org.eclipse.core.jobs"/>
      <plugin id="org.eclipse.core.runtime"/>
      <plugin id="org.eclipse.equinox.app"/>
      <plugin id="org.eclipse.equinox.common"/>
      <plugin id="org.eclipse.equinox.http.registry"/>
      <plugin id="org.eclipse.equinox.http.servlet"/>
      <plugin id="org.eclipse.equinox.http.servletbridge"/>
      <plugin id="org.eclipse.equinox.preferences"/>
      <plugin id="org.eclipse.equinox.registry"/>
      <plugin id="org.eclipse.equinox.servletbridge"/>
      <plugin id="org.eclipse.equinox.servletbridge.extensionbundle" fragment="true"/>
      <plugin id="org.eclipse.osgi"/>
      <plugin id="org.eclipse.osgi.services"/>
      <plugin id="org.eclipse.rap.examples"/>
      <plugin id="org.eclipse.rap.examples.pages"/>
      <plugin id="org.eclipse.rap.jface"/>
      <plugin id="org.eclipse.rap.jface.nl_zh" fragment="true"/>
      <plugin id="org.eclipse.rap.rwt"/>
      <plugin id="org.eclipse.rap.rwt.nl_zh" fragment="true"/>
   </plugins>

   <configurations>
      <plugin id="javax.xml" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.core.commands" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.core.contenttype" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.core.jobs" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.equinox.app" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.equinox.http.registry" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.equinox.http.servlet" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.equinox.http.servletbridge" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.equinox.preferences" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.equinox.registry" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.equinox.servletbridge" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.osgi" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.osgi.services" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.rap.examples" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.rap.examples.pages" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.rap.jface" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.rap.rwt" autoStart="true" startLevel="0" />
   </configurations>

   <warConfiguration webXml="/org.eclipse.rap.examples/WEB-INF/web.xml" launchIni="/org.eclipse.rap.examples/WEB-INF/launch.ini">
   <libraries>
      <library path="org.eclipse.equinox.servletbridge_1.2.200.v20120912-125810.jar" fromTarget="true"/>
   </libraries>
   </warConfiguration>
</product>



BTW I can run the examples application in my eclipse ide but can not export war file to run jee container.

Thank you again.
David

[Updated on: Thu, 15 November 2012 10:37]

Report message to a moderator

Re: require document for deploy rwt standalone to jee container like tomcat or jboss? [message #985995 is a reply to message #985635] Sat, 17 November 2012 01:32 Go to previous messageGo to next message
Song David is currently offline Song David
Messages: 180
Registered: April 2011
Senior Member
Hi Ralf, I said how to desploy RWT STANDALONE APPLICATION as WAR to jee container, NOT RAP WORKBENCH APP, would you please to give a guide?
Thank you.

David
Re: require document for deploy rwt standalone to jee container like tomcat or jboss? [message #986351 is a reply to message #984264] Tue, 20 November 2012 03:20 Go to previous messageGo to next message
Song David is currently offline Song David
Messages: 180
Registered: April 2011
Senior Member
ABOUT HOW TO DESPLOY RWT STANDALONE APP TO TOMCAT?
Re: require document for deploy rwt standalone to jee container like tomcat or jboss? [message #986359 is a reply to message #986351] Tue, 20 November 2012 03:47 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1286
Registered: July 2009
Senior Member

David,

First off, please understand that this is a forum to help each other and
not a machine where you throw your problems in and get a solution.
There's no point demanding a solution and usually shouting does not
motivate others to help you.

In your stacktrace you have a ClassNotFoundException. What did you do to
analyze this problem? What does 'ss' in the console give you? Did you
validate your dependencies?

Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: require document for deploy rwt standalone to jee container like tomcat or jboss? [message #986571 is a reply to message #984264] Tue, 20 November 2012 19:55 Go to previous message
Song David is currently offline Song David
Messages: 180
Registered: April 2011
Senior Member
hi Ralf,
First, thanks again for your reply.Secondly, I am also very happy to help other friends. Do not bother, I encountered problems in using RAP, and I believe that other people may encounter the same problem, take a look at this post hits in, you'll know. Everyone to ask their questions, and then solve the problem, and improve the RAP together What's wrong with it?
Thank you again

Hoping Rap is getting better and better, more powerful.

David
Previous Topic:RAP Browser-Widget Cross-Domain
Next Topic:Rap 2.0 M3 issue with IE 8
Goto Forum:
  


Current Time: Fri Apr 18 14:28:04 EDT 2014

Powered by FUDForum. Page generated in 0.02328 seconds