Everything works fine when I build and deply the server using JDK1.4, except PortableRemoteObject.narrow()
(If I just cast the return, then it works ok.)
The exception generated is...
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
at javax.rmi.CORBA.Util.createDelegateIfSpecified(Util.java:339)
at javax.rmi.CORBA.Util.<clinit>(Util.java:51)
at javax.rmi.PortableRemoteObject.createDelegateIfSpecified(PortableRemoteObject.java:179)
at javax.rmi.PortableRemoteObject.<clinit>(PortableRemoteObject.java:58)
at com.iris.csl.service.matrixpricer.MatrixManager.configure(MatrixManager.java:266)
Does anyone know if there is a simple fix for this that would allow me to keep
the narrow call in place. Does any one know why this would fail when running on
JDK1.4.
> Everything works fine when I build and deply the server using JDK1.4, except PortableRemoteObject.narrow()
Sun changed their classnames for UtilDelegate in 1.4, that's why it
doesn't work.
andy