Hi,
Scenario:
1). EJB3 is deployed on JBossAS7.1.1 Final
2). A Simple Servlet Based application deployed on JBossAS 4.3 (Running on JDK1.5) tries to access the EJB3 deployed on AS7.1.1 throws
java.lang.UnsupportedClassVersionError: Bad version number in .class file
Because the "WEB-INF/lib/jboss-client.jar" which contains JDK6 compiled classes. And has class version mentioned as 50.0
If i run JBoss AS4.3 in JDK1.6 then everything works fine and i am able to make the ejb call successful.... What should i do if JBossAS4.3 has to run on JDK1.5 only
No,
you can run the 4.3 version with JDK6. There is no problem.