Menu

#8 DbForms: setAttribute non-serializable on JBoss 404 and Tomc

open
nobody
None
5
2006-07-04
2006-07-04
No

Dears,
I'm back... after a long time.. this means that
jdbforms is very very stable!
I'm trying to move my dbforms apps from a simple
apache+tomcat environment to a JBoss Clustered
Application server.
To use replicated HTTP sessions I need to tag my app as
distributable inside web.xml.

When I do this I get a huge amount of exceptions where
Tomcat (the one embedded in Jboss) is telling me that
different classes (mine but also of jdbforms) are not
serializable.
The correct error message is:

java.lang.IllegalArgumentException: setAttribute:
Non-serializable attribute

and this happens for example on the
SingleConnectionProvider class, but also on the Config
servlet, and so on...

Im using dbforms 2.4 in this application.
This sounds me very strange and it seems to be
connected to the new versions of tomcat... I think that
if I change all classes implementing the Serializable
interface I can solve the problem but I'm not sure this
is the correct way...

Anyone of you had the the same problem? To give it a
try it's very simple... you can add the
<distributable/> tag on your web.xml under the starting
<webapp> tag.

Many thanks
Ivan

PS
Is the mailing list working? I sent twice this message
without any acknowledge... and it is not present in the
archive...??

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.