|
|
|
|
|
|
|
|
|
Re: Need example to deploy a RAP 2.1 app on Tomcat server [message #1067274 is a reply to message #1067270] |
Mon, 08 July 2013 07:52 |
Ivan Furnadjiev Messages: 2426 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Francis,
please ensure that all the bundles are in active state after deployment.
To do so, enable OSGi console in web.xml (remove the comment from
console command line parameter) and use "ss" command to list your
bundles. Post the output of the command here.
Best,
Ivan
On 7/8/2013 10:35 AM, Francis Delsinnes wrote:
> Ralf Sternberg wrote on Fri, 05 July 2013 11:54
>> In a tomcat deployment, every web application has a context path. If
>> your war file is named 'foo.war', the context path should be 'foo/'.
>> So instead of http://localhost/MyApp, you have to use the URL
>> http://localhost/foo/MyApp.
>>
>> HTH,
>> Ralf
>>
>> --
>> Ralf Sternberg
>>
>> Twitter: @EclipseRAP
>> Blog: http://eclipsesource.com/blogs/
>>
>> Professional services for RAP and RCP?
>> http://eclipsesource.com/services/rap/
>
>
> Ok - I know that but I don't understand why the response of my server
> is always:
> HTTP Status 404 - /mywar/myapp
>
> I tried with others names of war file (for other paths) and I got
> always the same response:
> HTTP Status 404 - /XXXXXX/myapp
>
> XXXXXX for other paths (wars file names)
>
> Thank you anyway for the time you spend here
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
|
|
|
Re: Need example to deploy a RAP 2.1 app on Tomcat server [message #1067520 is a reply to message #1067399] |
Tue, 09 July 2013 08:24 |
Francis Delsinnes Messages: 49 Registered: November 2011 |
Member |
|
|
Ivan Furnadjiev wrote on Mon, 08 July 2013 10:08Francis,
are you using the RAP 2.1 release? There was a problem with RC2 related
to the fix for bug:
408656: HttpOnly flag for settingStore cookie
https://bugs.eclipse.org/bugs/show_bug.cgi?id=408656
We reverted this fix in RC3+ in order to keep compatibility with servlet
2.5 (Tomcat 5.5.17). With RAP 2.1 release your application should work
fine with Tomcat 5.5.17.
Best,
Ivan
On 7/8/2013 3:02 PM, Francis Delsinnes wrote:
> Ok, I found the problem.
> New rap target 2.1 is not compatible with Tomcat 5.5.17
> With a 6.0.32, the product works fine.
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Yes, I use the official release of RAP Target
2.1 Release
based on Eclipse 4.3
Published: June 26, 2013
From the Software site: http://download.eclipse.org/rt/rap/2.1
If you want test it, you can download my project (see the third post in the current topic)
|
|
|
Powered by
FUDForum. Page generated in 0.04222 seconds