Hi, Mike,

I don't know that you can run the WebLogic server within VAJ; they are
running in different virtual machines.  However, you don't need to.
Since you are running VAJ-Enterprise 2.0, you can test your EJB's from
within VAJ without running the WebLogic Server if you have loaded the
Enterpise Update 2.  You need to use the IBM EJB Development
Environment.

Go to the Log's File menu and select Quick Start.  In the subsequent
dialog, select Features from the left pane and Add Feature from the
right.  You'll be prompted with a list from which you can select IBM EJB
Development Environment.  This simulates an EJB server and lets you also
use the VAJ debugger while you are testing your EJBs.

Katrinka Clark
Sprint - Architecture Solutions and Infrastructure Development

   -----Original Message-----
   From:       javatips [SMTP:[EMAIL PROTECTED]]
   Sent:       Monday, April 26, 1999 10:58 AM
   To:         EJB-INTEREST
   Cc:         javatips
   Subject:    Re: EJB-Development with VisualAge and WebLogic

   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.ClassTab
   le,
   > short)
   >      weblogic.common.internal.ClassTableEntry
   >
   weblogic.rjvm.MsgAbbrev.lookupClass(weblogic.common.internal.ClassTab
   le,
   > 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.createParkhau
   s(int)
   >      void
   >
   de.tlc.sez.fue.reservierer.client.ParkhausFactoryFiller.main(java.lan
   g.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".

===========================================================================
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