tag:blogger.com,1999:blog-6180816727867247030.post5263601020561151945..comments2008-06-13T14:35:21.874-07:00Comments on RAP Insights: RAP Deployment - Part 2: Deploying your applicatio...Elias Volanakishttp://www.blogger.com/profile/05881712904794632968noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-6180816727867247030.post-16458295009569574742008-06-13T14:35:00.000-07:002008-06-13T14:35:00.000-07:002008-06-13T14:35:00.000-07:00Hi anonymous,JFree can be used with RAP, if you wr...Hi anonymous,<BR/><BR/>JFree can be used with RAP, if you write a servlet that returns the chart as an image. Refer to the following threads in the <A HREF="http://www.eclipse.org/rap/newsgroup.php" REL="nofollow">Eclipse RAP newsgroup</A>:<BR/><BR/>* Charts in RAP<BR/>* Jfree<BR/><BR/>Regards,<BR/>Elias.Elias Volanakishttp://www.blogger.com/profile/05881712904794632968noreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-63998800214406721512008-06-12T15:42:00.000-07:002008-06-12T15:42:00.000-07:002008-06-12T15:42:00.000-07:00Thanks much for the tutorial. I am new to RAP and...Thanks much for the tutorial. I am new to RAP and wondering whether or not it is worth investing time in. For example, my current RCP app use JFreeChart SWT graphics, I have no clue how RAP would implement these in an RIA?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-92073410257111711042008-05-28T06:00:00.000-07:002008-05-28T06:00:00.000-07:002008-05-28T06:00:00.000-07:00I was getting Http error -404.later I realized my ...I was getting Http error -404.later I realized my mistake.I was creating the war file not from some other directory which caused including some other unnecessary files in war.Thats why my webapp manager was not properly deploying the war file.When I did from the directory just above the WEB-INF,it worked perfectly fineimgreathttp://www.blogger.com/profile/14891115283909129355noreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-70973435768850620062008-05-23T16:59:00.000-07:002008-05-23T16:59:00.000-07:002008-05-23T16:59:00.000-07:00Hi Anonymous,I've used Tomcat 5.5.25 and 5.5.26. I...Hi Anonymous,<BR/><BR/>I've used Tomcat 5.5.25 and 5.5.26. <BR/><BR/>I haven't tried tomcat 6.x but according to <A HREF="http://dev.eclipse.org/newslists/news.eclipse.technology.rap/msg01369.html" REL="nofollow">this thread</A> on the newsgroup, there have been some problems (similar to yours) with it.<BR/><BR/>Hope this helps,<BR/>Elias.Elias Volanakishttp://www.blogger.com/profile/05881712904794632968noreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-78851119951961568542008-04-18T12:18:00.000-07:002008-04-18T12:18:00.000-07:002008-04-18T12:18:00.000-07:00hi,thx for the tut.ive dont the same steps like yo...hi,<BR/><BR/>thx for the tut.<BR/><BR/>ive dont the same steps like you but my tomcat throws this error:<BR/><BR/>HTTP Status 404 - BridgeServlet: /calc/rap<BR/><BR/>can anyone help me ?<BR/>which tomcat version did you use ?<BR/><BR/><BR/>greetsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-26393848098751727142008-04-11T10:00:00.000-07:002008-04-11T10:00:00.000-07:002008-04-11T10:00:00.000-07:00Hi Setya,great to hear you were successful.The /ra...Hi Setya,<BR/><BR/>great to hear you were successful.<BR/><BR/>The /rap suffix can be changed to anything you like. Refer to the help on <A HREF="http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.rap.help/help/html/advanced/branding.html" REL="nofollow">RAP Branding</A> for details.<BR/><BR/>Regards,<BR/>Elias.Elias Volanakishttp://www.blogger.com/profile/05881712904794632968noreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-14594626097380928622008-04-11T03:54:00.000-07:002008-04-11T03:54:00.000-07:002008-04-11T03:54:00.000-07:00Hi,Despite the aforementioned problems I have succ...Hi,<BR/><BR/>Despite the aforementioned problems I have successfully deployed the application.<BR/><BR/>BTW, is suffix /rap an absolute requirement to access the RAP application ?<BR/><BR/>Thanks,<BR/><BR/>SetyaSetyahttp://www.blogger.com/profile/03813815691287052202noreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-41460539217782518642008-04-08T21:24:00.000-07:002008-04-08T21:24:00.000-07:002008-04-08T21:24:00.000-07:00Hi Elias,On Linux, Tomcat does not open 2nd consol...Hi Elias,<BR/><BR/>On Linux, Tomcat does not open 2nd console as in Windows, this 2nd console is in fact the OSGI console. You have to manually open 2nd console and invoke command tail -f catalina.out.<BR/><BR/>Also when I deploy on Linux Tomcat keeps throwing words 'OSGI>' in its catalina.out until I shutdown. I firstly did not realize this until suddenly the catalina.out grew up to 1.3GB. <BR/><BR/>The problem above was asked here :<BR/><BR/>http://dev.eclipse.org/newslists/news.eclipse.technology.rap/msg01422.html<BR/><BR/>On Windows, when I deploy the calculator example I can use the OSGI console but not all bundles are automatically activated. I have to activate them manually using 'start' command. But when I try to activate org.eclipse.equinox.servletbridge.extensionbundle_1.0.0 it throws :<BR/><BR/>org.osgi.framework.BundleException: A fragment bundle cannot be started: update@plugins/org.eclipse.<BR/>equinox.servletbridge.extensionbundle_1.0.0.jar [18]<BR/> at org.eclipse.osgi.framework.internal.core.BundleFragment.startWorker(BundleFragment.java:2<BR/>24)<BR/> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)<BR/> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:252)<BR/> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommand<BR/>Provider.java:260)<BR/> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<BR/> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<BR/> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<BR/> at java.lang.reflect.Method.invoke(Unknown Source)<BR/> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCom<BR/>mandInterpreter.java:145)<BR/> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java<BR/>:291)<BR/> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:2<BR/>76)<BR/> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:218)<BR/> at java.lang.Thread.run(Unknown Source)<BR/><BR/>Thanks,<BR/><BR/>SetyaSetyahttp://www.blogger.com/profile/03813815691287052202noreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-84615291689101377612008-04-08T12:54:00.000-07:002008-04-08T12:54:00.000-07:002008-04-08T12:54:00.000-07:00Hi setya,normally you should have the OSGi console...Hi setya,<BR/><BR/>normally you should have the OSGi console once you add "-console" to the launch config.<BR/><BR/>For the deployed version check that you have this snippet in the web.xml file:<BR/><BR/><!-- this goes into the servlet-node --><BR/><BR/><init-param><BR/><param-name>commandline</param-name>> <param-value>-console</param-value> <BR/></init-param><BR/><BR/>You can find the full example by checking out /org.eclipse.rap.demo.feature/templates/WEB-INF/web.xml from CVS.<BR/><BR/>AFAIK, it should work under linux too.<BR/><BR/>Hope this helps,<BR/>Elias.Elias Volanakishttp://www.blogger.com/profile/05881712904794632968noreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-33504624121201109022008-04-08T03:36:00.000-07:002008-04-08T03:36:00.000-07:002008-04-08T03:36:00.000-07:00Hi Elias,Thank you for the tutorial.Have you tried...Hi Elias,<BR/><BR/>Thank you for the tutorial.<BR/><BR/>Have you tried to deploy it under Linux ? I can't find OSGI console when deploying under Linux.Setyahttp://www.blogger.com/profile/03813815691287052202noreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-2457903278891716722008-03-25T15:39:00.000-07:002008-03-25T15:39:00.000-07:002008-03-25T15:39:00.000-07:00Hi Alden,unfortunately I do not have a Websphere i...Hi Alden,<BR/><BR/>unfortunately I do not have a Websphere installation available, so I can't help you. <BR/><BR/>Try to ask this on the <A HREF="http://www.eclipse.org/rap/newsgroup.php" REL="nofollow">RAP Newsgroup</A>...<BR/><BR/>Regards,<BR/>Elias.Elias Volanakishttp://www.blogger.com/profile/05881712904794632968noreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-32566243420737903502008-03-14T17:06:00.000-07:002008-03-14T17:06:00.000-07:002008-03-14T17:06:00.000-07:00Hi -I also appreciate your screencast - nice work....Hi -<BR/>I also appreciate your screencast - nice work. I'd like to see RAP become an alternative for my customers in the future as it is very interesting technology. <BR/><BR/>I tried to deploy to WebSphere 6.1 and had some difficulty. Has anyone deployed to this environment? My error message is "BundleException: The activator ...http.servletbridge.internal.Activator for bundle ...http.servletbridge is invalid". The reason stated is "The type javax.servlet.http.HttpServlet cannot be resolved."<BR/><BR/>It seems odd to me that this very standard interface would not be resolved. <BR/><BR/>Any ideas? Is this because WebSphere in version 6.1 is also an osgi implementation? I do not see any equinox plugins with the application server, but I do see org.eclipse.osgi_3.1.2.jar and org.eclipse.core.runtime_3.1.2.jar among others in the application server plugins directory. <BR/><BR/>I wonder if my error is because the version of eclipse core and osgi is 3.1? The documentation suggests a version of equinox being either 3.2 or 3.3. <BR/><BR/>Any ideas are greatly appreciated.<BR/>Thanks, AldenAlden Thttp://www.blogger.com/profile/11408928740096156813noreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-81346814375501167932008-02-14T06:23:00.000-08:002008-02-14T06:23:00.000-08:002008-02-14T06:23:00.000-08:00Hifirst of all, nice work. Thanks a lot.to the que...Hi<BR/><BR/>first of all, nice work. Thanks a lot.<BR/><BR/>to the question of anonymous, I had the same problem.<BR/><BR/>Check the content of the servletbridge.jar, the class should be there. My mistake was in the webappBuilder.xml. I added the path to org.eclipse.equinox.http.servletbridge, the correct value should be without .http<BR/><BR/>regards MariusMariushttp://www.blogger.com/profile/07864643954811797995noreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-55125639538272525522008-01-11T01:57:00.000-08:002008-01-11T01:57:00.000-08:002008-01-11T01:57:00.000-08:00Hi,I followed the video and created the WAR file. ...Hi,<BR/><BR/>I followed the video and created the WAR file. No problem.<BR/>I tried to deploy on Tomcat and I have this error in Tomcat log file <BR/>--------------------------------<BR/>org.apache.catalina.loader.StandardClassLoader@da18ac<BR/>----- GRAVE: Error loading WebappClassLoader<BR/> delegate: false<BR/> repositories:<BR/>----------> Parent Classloader:<BR/>org.apache.catalina.loader.StandardClassLoader@995a79<BR/> org.eclipse.equinox.servletbridge.BridgeServlet<BR/>java.lang.ClassNotFoundException: org.eclipse.equinox.servletbridge.BridgeServlet<BR/> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1362)<BR/>--------------------------------<BR/>WEB-INF\lib\servletbridge.jar<BR/>is well in my WAR file.<BR/><BR/>I have no problem with rapdemo.war<BR/><BR/>Thanks<BR/>OlivierAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-59711255353216557042007-12-21T14:17:00.000-08:002007-12-21T14:17:00.000-08:002007-12-21T14:17:00.000-08:00HiJoining the question.I was able to deploy the fi...Hi<BR/><BR/>Joining the question.<BR/>I was able to deploy the finished example you gave, but couldn't make one myself.<BR/><BR/>I'm totally new to RCP/RAP development so if you can give more details that would be great.<BR/><BR/>I'm using Eclipse 3.3 J2EE configuration with the RAP plugin.<BR/><BR/>Thank You.giladhttp://www.blogger.com/profile/13360955091847666777noreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-13414436634848038312007-12-21T14:12:00.000-08:002007-12-21T14:12:00.000-08:002007-12-21T14:12:00.000-08:00Joining the question.I was able to deploy the fini...Joining the question.<BR/>I was able to deploy the finished example you gave, but couldn't make one myself.<BR/>I'm working with Eclipse 3.3 J2EE configuration with the RAP plugin.<BR/><BR/>I'm totally new to RAP/RCP development, so if you could give more details that would be great.<BR/><BR/>Anyway thank you for this tutorial.giladhttp://www.blogger.com/profile/13360955091847666777noreply@blogger.comtag:blogger.com,1999:blog-6180816727867247030.post-64880235175395382142007-12-14T09:23:00.000-08:002007-12-14T09:23:00.000-08:002007-12-14T09:23:00.000-08:00Hi Alias.Thanks for the tuorial. I have tried to d...Hi Alias.<BR/>Thanks for the tuorial. <BR/>I have tried to deploy my app without success. I am able to start OSGI (as I cam able to type ss in the console and see the status of bundles ) but not able to run the app in the browser. How does one specify which port? Is the Equinox launcher neccessary for deployment? Should org.eclipse.rap.demo pluin be included in the feature? If you could shed more light on the whole deployment process I'd much appreciate it.<BR/>Thanks, AnonAnonymousnoreply@blogger.com