Happily developed web based application by using Groovy and Grails, and it runs happily as well on Tomcat. Then deploy to WebLogic server in staging environment which runs in JRockit JVM in RedHat Linux (better for performance), bugged.
Curiously try to duplicate the issue, I set up the exactly same version WebLogic server for Windows, but using standard JDK 1.6.x, same war file deployed, but application runs without any problem.
Always admire Oracle’s product quality and highly calibre service, I never bother to call them – help yourself, I can see Oracle sales smiling to me.
The first issue on WebLogic in JRockit is Exception thrown when try to start up the application:
Caused By: java.lang.IllegalArgumentException: com.sun.xml.internal.messaging.saaj.soap.LocalStrings != com.sun.xml.messaging.saaj.soap.LocalStrings at java.util.logging.Logger.getLogger(Logger.java:337) at com.sun.xml.messaging.saaj.soap.SAAJMetaFactoryImpl.(SAAJMetaFactoryImpl.java:71) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at javax.xml.soap.FactoryFinder.newInstance(FactoryFinder.java:59)
Did some search and found out this link on developers favourited StackOverflow - http://stackoverflow.com/questions/3889087/illegalargumentexception-com-sun-xml-internal-messaging-saaj-soap-localstrings
It seems JRockit has its own implementation of SOAP SAAJ which is not compatible, even in saaj-impl-1.3.2.jar file already specifies to use implementation inside jar file, rather then jar bundled with JVM:
64 META-INF/services/javax.xml.soap.MessageFactory 51 META-INF/services/javax.xml.soap.MetaFactory 63 META-INF/services/javax.xml.soap.SOAPConnectionFactory 57 META-INF/services/javax.xml.soap.SOAPFactory