... until the collector arrives ...

This "blog" is really just a scratchpad of mine. There is not much of general interest here. Most of the content is scribbled down "live" as I discover things I want to remember. I rarely go back to correct mistakes in older entries. You have been warned :)

2006-04-12

ALDSP 2.1 vs QName

I tried the same trick that we used for ALDSP 2.0 -- placing a compatible version of javax.namespace.QName in the lib/endorsed directory of the JVM being used by WebLogic 8.1.  That change permitted a standalone Java 1.5 client to execute correctly.  However, running the same code in a servlet hosted by WebLogic 9.1 generated this exception:

<Apr 12, 2006 10:55:21 AM MDT>
<Error>
<HTTP>
<BEA-101017>
<[weblogic.servlet.internal.WebAppServletContext@bc7c0 - name: 'aldsp-servlet.war', context-path: '/aldsp-servlet']
Root cause of ServletException.
com.bea.dsp.dsmediator.client.exception.SDOMediatorException: java.rmi.UnmarshalException: failed to unmarshal interface com.bea.ld.QueryResult; nested exception is:
java.lang.ClassNotFoundException: Failed to load class com.bea.ld.server.QueryResultImpl
at com.bea.dsp.dsmediator.client.XmlDataServiceBase.invokeFunction(XmlDataServiceBase.java:322)
at dstest.mmsandbox.BestPractice1.findItemsWithNameContaining(BestPractice1.java:84)
at mm.AldspServlet.accessAldsp(AldspServlet.java:52)
at mm.AldspServlet.doGet(AldspServlet.java:34)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
Truncated. see log file for complete stacktrace
java.rmi.UnmarshalException: failed to unmarshal interface com.bea.ld.QueryResult; nested exception is:
java.lang.ClassNotFoundException: Failed to load class com.bea.ld.server.QueryResultImpl
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:201)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:315)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:250)
at com.bea.ld.Server_ydm4ie_EOImpl_815_WLStub.executeFunction(Unknown Source)
at com.bea.dsp.dsmediator.client.XmlDataServiceBase.invokeFunction(XmlDataServiceBase.java:312)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: Failed to load class com.bea.ld.server.QueryResultImpl
at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:203)
at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:128)
at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:308)
at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:344)
at weblogic.rjvm.MsgAbbrevInputStream.resolveClass(MsgAbbrevInputStream.java:395)
Truncated. see log file for complete stacktrace
>

 

Blog Archive