|
Pankaj Kumar's WeblogRandom thoughts, musings, experiences, ideas, and opinions |
October 05, 2004Disappointed in J2SE5.0Putting behind an earlier mishap with J2SE5.0 beta, I ventured to try out the final release of J2SE5.0 with the same set of programs: an Apache Axis based server program running within BEA Weblogic Server and an Eclipse RCP based client. I should point out that in the last attempt both programs had failed with NullPointerException within XML processing. Thankfully, XML processing problems seems to have been resolved, at least for some cases. But still a long way to go. This time, the server program failed with the following message:
I didn't spend much time trying to figure out what is going, but from first glance it appears that J2SE5.0 JVM doesn't like the classes created by earlier versions!! The client program also failed, again in XML processing:
I should mention that both these programs run flawlessly under J2SE1.4.x. Such poor backward compatibility is indeed cause of concern and disappointment. Posted by pankaj at October 5, 2004 06:47 AMComments
What backward compatibility? javax.management.MBeanAttributeInfo is new in Java 1.5. Whatever beta/pre-release version of the MBeans you were using in 1.4 probably won't be compatible with the code in 1.5. Here's the relevant JavaDoc:
import java.lang.reflect.Method; import com.sun.jmx.mbeanserver.GetPropertyAction; /** Weblogic would be the last thing I would try on a new JDK. They write somethings that are tied very closely to a particular JDK...which is why on Windows they ship with a a JRE. The slightest change in API (which is allowed in major version changes) will mess up Weblogic. Other things run fine without changes, such as Tomcat and I've even heard someone got IDEA going on it. BEA has been nortorious about what JDK they run on. They were the last vendor to get up and running on JDK 1.4 in fact. (Well, ok, maybe Webshere) Posted by: Patrick on October 5, 2004 07:46 AMwhat a stupid reason to be disappointed. Posted by: Michel on October 5, 2004 08:36 PMPost a comment
|
|
|
Disclaimer: Views expressed here are my own and do not represent those of my employer.
© 2001-2005 Pankaj kumar. All Rights Reserved. |
|