Mathew Mathew wrote:
>
> thanx Toby,
>
> but...
>
> I took the jree.jars out of the path, but now I get a no found error with
> the rmi classes. What alternative jars can I use.
Ah, yes, I had that problem as well. I don't know where that's supposed
to come from. The javax.rmi classes are in JDK 1.3. Perhaps you need 1.3
to use RMI-IIOP?
My work-around has been to just not use PortableRemoteObject. You could
try downloading RMI-IIOP from
http://java.sun.com/products/rmi-iiop/index.html, although I suspect
that will have the same ioser12.dll dependency.
I believe the shared library problem is solved by making sure that you
%PATH environment variable includes the directory with ioser12.dll in
it. This should be in the J2EE RI somewhere.
Regards,
Toby.
> D:\jboss_tomcat\jboss-2.0-FINAL\examples\interest>java -classpath
> .\;..\..\bin\;..\..\deploy\interest.jar;..\..
> jar;..\..\Client\jboss-client.jar;. InterestClient
> Got context
> Got reference
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/rmi/PortableRemoteObject
> at InterestClient.main(InterestClient.java:48)
> D:\jboss_tomcat\jboss-2.0-FINAL\examples\interest>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Toby Allsopp
> Sent: Monday, November 27, 2000 4:49 PM
> To: jBoss
> Subject: Re: [jBoss-User] FW: [jBoss-User]Calculator sample
>
> Mathew Mathew wrote:
> >
> > Hi,
> >
> > I am a new JBoss user and I'm hitting a brick wall pretty early.
> >
> > I am trying to run/deploy the Calcualator example.
> >
> > I have been able to deploy the server beans OK.
> >
> > Howerver I get the following exception when trying to run the client. any
> > ideas?
> > what is this library ioser12?
> >
> > D:\jboss_tomcat\jboss-2.0-FINAL\examples\interest>java -classpath .\;..
> > b\j2ee.jar;..\..\lib\ext\ejb.jar;..\..\Client\jboss-client.jar;. Intere
>
> This looks like you have the J2EE RI j2ee.jar in your classpath. You
> don't want that if you're using jBoss. As Luke said, ioser12 is part of
> Sun's ORB. As jBoss doesn't speak IIOP, this won't do you any good even
> if you do sort out your library path.
>
> Regards,
> Toby.
>
> > Got context
> > Got reference
> > ERROR! Shared library ioser12 could not be found.
> > Exception in thread "main" java.lang.UnsatisfiedLinkError: specialLoadC
> > at com.sun.corba.ee.internal.util.JDKClassLoader.loadClass(JDKC
> > at com.sun.corba.ee.internal.util.JDKBridge.loadClassM(JDKBridg
> > at com.sun.corba.ee.internal.util.JDKBridge.loadClass(JDKBridge
> > at javax.rmi.CORBA.Util.loadClass(Util.java:215)
> > at javax.rmi.CORBA.Util.createDelegateIfSpecified(Util.java:306
> > at javax.rmi.CORBA.Util.<clinit>(Util.java:54)
> > at javax.rmi.PortableRemoteObject.createDelegateIfSpecified(Por
> > at javax.rmi.PortableRemoteObject.<clinit>(PortableRemoteObject
> > at InterestClient.main(InterestClient.java:48)
> > D:\jboss_tomcat\jboss-2.0-FINAL\examples\interest>
> >
> > thanx,
> >
> > mathew
> >
--
Toby Allsopp
Research
Peace Software International Ltd
Ph +64-9-3730400
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]