Has anyone tried AjaxSwing with Tomee Plume

22 views
Skip to first unread message

Murthy Gandikota

unread,
May 27, 2020, 10:28:57 PM5/27/20
to AjaxSwing Community Support
I am having difficulty starting AjaxSwing on Tomcat 9 and Tomee Plume. 

With Tomcat 9 the ajaxswing.war is deployed but the demo was not accessible.

With Tomee Plume ajaxswing.war is not even deployed. Class Not Found Exception for SnoopServlet or something. 

I am however able to run the demo from command line. 

Can anyone help me figure this out? I am trying to convert a webstart application to use AjaxSwing.'

Thank you
murthy

Yevhen Badorov

unread,
May 28, 2020, 6:02:20 AM5/28/20
to AjaxSwing Community Support
Hi Murthy,

I am having difficulty starting AjaxSwing on Tomcat 9 and Tomee Plume. 
The latest available AjaxSwing version (4.6.3) is shipped with Tomcat 8 (Servlet API 3.1) while Tomcat 9 has Servlet API 4.0. That might be the issue that you've stumbled upon. Try to run AjaxSwing with Tomcat 8

From what you described, it may be a misconfiguration of Tomee Plume. Probably something is missed from the CLASSPATH.

I can't tell you more without knowing all the details.

Best regards,
AjaxSwing team

Murthy Gandikota

unread,
May 28, 2020, 2:55:46 PM5/28/20
to AjaxSwing Community Support
I am able to deploy and test ajaxswing on Tomcat 7 & 8 but not on any version of TomEE. For all I know, TomEE is not a servlet container. Perhaps that's the reason. If there is some bootstrap code to make TomEE work like Tomcat, that I don't know of, that would be gratefully received. 

Thanks

Yevhen Badorov

unread,
May 29, 2020, 4:46:25 AM5/29/20
to AjaxSwing Community Support
Murthy,

Basically, TomEE is Tomcat with JavaEE libraries. Here is a quote from its website "Tomcat with added EE features - TomEE".
So, the configuration shouldn't differ too much from a "plain" Tomcat.

Concerning the exception that you provided. You can try to remove the following lines from the webapps\ajaxswing\WEB-INF\web.xml (or directly in the ajaxswing.war so that future deploys will have the same changes):
 
<servlet>
    <servlet-name>snoop</servlet-name>
    <servlet-class>SnoopServlet</servlet-class>
</servlet>

<servlet-mapping>
     <servlet-name>snoop</servlet-name>
     <url-pattern>/snoop/*</url-pattern>
</servlet-mapping>

Let me know if it works for you

Best regards,
AjaxSwing team

Murthy Gandikota

unread,
May 29, 2020, 5:37:40 PM5/29/20
to AjaxSwing Community Support
Thank you Yevhen,  I will give it a try and let you know. Also I had a bit of good luck with my client-server application using EJB. Basically I ran the client side code along side ajaxswing on Tomcat 7 and moved the server side code to TomEE. The two talk to each other well and every thing is fine. I guess, my next question is what kind of license ajaxswing comes with? I think it is neither open source nor GPL. Any info is appreciated. 

Thanks

Yevhen Badorov

unread,
Jun 1, 2020, 3:48:59 AM6/1/20
to AjaxSwing Community Support
Murthy,

You can find more info on licensing and prices here http://www.creamtec.com/products/ajaxswing/prices.html
The license agreement can be found in the license.txt file in your AjaxSwing distribution.
Let me know if you have any questions

Best regards,
AjaxSwing team
Reply all
Reply to author
Forward
0 new messages