Hi Mike,

Here is an answer for question 1 :

Try removing any reference to weblogic in your system classpath.

To run  WebLogic set the correct classpath in a batch file.

Note that you cannot do that if you run WebLogic as a service (because it need
the system classpath), but you should'nt do that on a development machine.


Mike Weiss wrote:

> I've got a few questions relating EJB-Development with VisualAge.
> We currently use VAJ-Enterprise 2.0 Edition and WebLogic 4.0.
>
> 1. I want to start an EJB-Client which acesses the WebLogic-Server
>     started on the NT-Commandline. The client starts, gets the
> InitialContext and
>     tries to make a lookup for a Homeinterface of an EB. Then the client
> crashes with:
>
>    Wed Apr 14 10:18:24 CEST 1999:<D> <Service> Bootstrapping context from
> DNS t3://localhost:7001
> Wed Apr 14 10:18:24 CEST 1999:<D> <Service> RJVMFinder trying to find rjvm
> for localhost:[7001, -1, -1]
> java.lang.ClassCastException
>      java.lang.Throwable()
>      java.lang.Exception()
>      java.lang.RuntimeException()
>      java.lang.ClassCastException()
>      weblogic.common.internal.ClassTableEntry
> weblogic.rjvm.MsgAbbrev.lookupClass(weblogic.common.internal.ClassTable,
> short)
>      weblogic.common.internal.ClassTableEntry
> weblogic.rjvm.MsgAbbrev.lookupClass(weblogic.common.internal.ClassTable,
> short)
>      weblogic.common.internal.ClassTableEntry
> weblogic.rjvm.MsgAbbrevInput.lookupClass(short)
>      short weblogic.common.internal.WLObjectInputStreamBase.readMeta()
>      java.lang.Object
> weblogic.common.internal.WLObjectInputStreamBase.readObject(java.lang.Class
> )
>      java.lang.Object
> weblogic.common.internal.WLObjectInputStreamBase.readObjectWL()
>      java.lang.Object weblogic.rmi.internal.Request.readObjectWL()
>      java.lang.Object
> weblogic.jndi.WLContext_WLStub.lookup(java.lang.String)
>      java.lang.Object
> weblogic.jndi.toolkit.WLContextStub.lookup(java.lang.String)
>      java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
>      void
> de.tlc.sez.fue.reservierer.client.ParkhausFactoryFiller.createParkhaus(int)
>      void
> de.tlc.sez.fue.reservierer.client.ParkhausFactoryFiller.main(java.lang.Stri
> ng []).
>
> I have imported all WebLogic-Classes into VAJ.
>
> 2. Which WebLogic-classes (packages) do I need to run a WebLogic-EJB-Client
>  in VAJ ?
>
> 3. How can I run the WebLogic 4.0-Server in VAJ ?
>
> Could anybody give me a hint ?
>
> Thanks,
> Mike Wei�
> TLC GmbH/Germany
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

--
-----
Emmanuel Pirsch
Sun Certified Java Programmer
Unite for Java! - http://www.javalobby.org/
---
"The intuitive mind is a sacred gift and the rational mind is a faithful
servant. We have created a society that honors the servant and has forgotten
the gift."
 - Albert Einstein.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to