Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » SettingsStore and tomcat 6
SettingsStore and tomcat 6 [message #1063777] Fri, 14 June 2013 04:07 Go to next message
Oliver B. is currently offline Oliver B.
Messages: 38
Registered: November 2010
Member
Hello,

we are using tomcat 6 and RAP 2.1.
When our application tries to access the SettingsStore we get the following exception:

java.lang.NoSuchMethodError: javax.servlet.http.Cookie.setHttpOnly(Z)V
	org.eclipse.rap.rwt.internal.service.SettingStoreManager.getStoreId(SettingStoreManager.java:91)
	org.eclipse.rap.rwt.internal.service.SettingStoreManager.getStore(SettingStoreManager.java:34)
	org.eclipse.rap.rwt.RWT.getSettingStore(RWT.java:484)
	...


It seems that setHttpOnly is only available since servlet api 3.0.
Tomcat6 uses servlet api 2.5.

Is tomcat 6 not supported anymore by RAP 2.1?

Thanks,
Oliver
Re: SettingsStore and tomcat 6 [message #1063816 is a reply to message #1063777] Fri, 14 June 2013 07:13 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1286
Registered: July 2009
Senior Member

This issue is caused by bug 408656. It will be fixed in the final 2.1
build. For the moment, you can go back to RC1 that doesn't have this
problem.

I'm sorry for the inconvenience!

Regards,
Ralf


[1] 408656: HttpOnly flag for settingStore cookie
https://bugs.eclipse.org/bugs/show_bug.cgi?id=408656

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: SettingsStore and tomcat 6 [message #1063822 is a reply to message #1063777] Fri, 14 June 2013 07:31 Go to previous message
Oliver B. is currently offline Oliver B.
Messages: 38
Registered: November 2010
Member
Hi Ralf,

ah, thanks for the information.
I have not seen that bug entry.

I will wait for the final 2.1 for that application.
I am just glad that tomcat 6 is still supported.

Thanks,
Oliver
Previous Topic:RAP developers wanted
Next Topic:Customer getting 404
Goto Forum:
  


Current Time: Mon Apr 21 05:42:00 EDT 2014

Powered by FUDForum. Page generated in 0.01777 seconds