I have built a Java component that uses Communicator through the entireX.jar to call the Natural RPC server on the mainframe. I’ve tested the code and run a sample application using this code with the Sun Java 1.4.2 VM.
However when my customer runs the same code under WebSphere with the IBM 1.4.1 VM they recieve the following exception.
java.lang.IllegalArgumentException: Wrong argument to Broker constructor.
The line that throws this excpetion is this where the two arguments are both Strings:
broker = new Broker(brokerID, brokerUser);
I’m not sure what is causing this error but has the entireX.jar been tested with the IBM VM? Also I’ve tested this with an older version of WebSphere that has the IBM Java 1.3.1 VM and it works fine as well.