-
1. Re: Upgrading JBoss 4.0 to 5.1 - application won't connect
jaikiran Jul 17, 2010 10:33 AM (in response to lancetx)Are you packaging any JBoss specific jar files in your application (like some jar containing org.jboss.system.* classes)? If yes, remove them from the application packaging.
Lance Goforth wrote:
But when I run the application pointing to the new 5.1 server, it doesn't connect. I don't see any errors, any messages, just an eventual timeout.
How exactly do you start the server? What command do you use? And how do you try to "connect"? Using a browser or some other means?
-
2. Re: Upgrading JBoss 4.0 to 5.1 - application won't connect
lancetx Jul 17, 2010 6:04 PM (in response to jaikiran)No, I'm not including any older classes, or jboss classes at all. I did check that. I also tried recompiling all the server and client code with the new jbossall-client.jar.
I'm starting the jboss server with just the run command, but as I said it seems to be running fine - no errors. My client application is a java application that connects to the application server via JNDI lookup. It has no web or browser component at all.
-
3. Re: Upgrading JBoss 4.0 to 5.1 - application won't connect
cullendw Jul 19, 2010 11:49 AM (in response to lancetx)As mentioned previously, this is definitely a compatibility problem from jboss 4 to 5.1. Have you moved configuration directly from jboss 4 to jboss 5.1? This is just a guess, but maybe that unknown method is being invoked by reflection based on outdated configuration from jboss 4 ...
-
4. Re: Upgrading JBoss 4.0 to 5.1 - application won't connect
lancetx Jul 22, 2010 3:01 PM (in response to cullendw)I moved over the connection resource xml, and the application jar. I tried recompiling with the new jboss jars. But couldn't complete that because I couldn't find org.jboss.resource.adapter.jdbc.WrappedConnection class in the new jars.
Got pulled off to other urgent projects so not sure when I can get back to this one.
-
5. Re: Upgrading JBoss 4.0 to 5.1 - application won't connect
jaikiran Jul 22, 2010 3:08 PM (in response to lancetx)Lance Goforth wrote:
But couldn't complete that because I couldn't find org.jboss.resource.adapter.jdbc.WrappedConnection class in the new jars.
This tool might help http://www.jboss.org/tattletale