I only have one minute.  Have to catch a train
You should use the weblogic ejb deployer with 5.1.  It works great.  What
you need to do is build the bean class files along with xml files and build
these files into a jar.  Then run the deplorer and deployee the ejb.  Then
if you add the ejb to the weblogic.propties file you are ready to go.  Just
to let you know that your ejb can be anywhere.  It does not need to be
included in you class path.  If some one tells you that it does they are
wrong.  I am doing it this way and it works 100% of the time.  When you need
to use it remember that you need to include the bean home.  if u have any
questions email me at [EMAIL PROTECTED]

Daniel Jaffa

-----Original Message-----
From: R.B. Gurung [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 07, 2000 12:39 AM
To: [EMAIL PROTECTED]
Subject: Fw: EJB in Weblogic 5.1...


 Hi Gene ,

 I did deploy the packaged Ejb called StateLessSessionBean from the examples
 folder
 I ran the the build.sh script which was packaged with weblogic5.1
 I checked through console It shows Bean deployed status.one bean
 successfully deployed.
 I need to run the
 java ejbc to execute the client but classpath set error is indicated.

 I have included the weblogic classpath which include the all
 d:\weblogic\myserver\classes all weblogicaux.jar, classes\boot etc
  Still cant fix the problem.

 I have used the packaged EJB which included the .jar file
 I checked the jar file content which had all .class files  and also the
 stub/SKEL.
 I wanna know how to generate my container classes to be jared and deployed.

 much help needed.
 Thanks/Regards

 gurung


>
> ----- Original Message -----
> From: Gene Chuang <[EMAIL PROTECTED]>
> To: 'R.B. Gurung' <[EMAIL PROTECTED]>
> Sent: Thursday, July 06, 2000 9:56 PM
> Subject: RE: EJB in Weblogic 5.1...
>
>
> > Hi,
> >
> > I'm confused... in your original post you said you were able to deploy
> your
> > bean jar on your server.  This means that you have already run
> weblogic.ejbc
> > and produced all the stub/container classes necessary for the bean to
> > deploy!
> >
> > Now if you run your ejb client from the same VM on the same machine as
the
> > server, you will connect and find the right stub automatically.  If your
> > client is on a different VM or a different machine, then you need to
make
> > sure the ejb jar file is in your CLASSPATH of the client's environment,
as
> > in:
> >
> > CLASSPATH=c:\yourdir\yourbean.jar
> >
> > Gene
> >
> > -----Original Message-----
> > From: R.B. Gurung [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 06, 2000 2:17 AM
> > To: Gene Chuang
> > Cc: A mailing list about Java Server Pages specification and reference
> > Subject: Re: EJB in Weblogic 5.1...
> >
> >
> > Hi Gene Chuang,
> >
> > I have edited the scripts files all .sh(files) to point to
> > My JAVA_HOME=d:\jdk1.2.2  but it shows
> > JAVA_HOME=c:\jdk1.1.7  and error is echoed.
> >
> > I have seen the content of  the example beans ejb.jar files which
contains
> > the .classes and the stubs/Skel.
> > But When I am making my .jar . How can i generate the container classes
to
> > put into .jar files.
> > need help
> >
> > thanks/regards
> > gurung
> >
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: Gene Chuang <[EMAIL PROTECTED]>
> > To: 'R.B. Gurung ' <[EMAIL PROTECTED]>; 'A mailing list about
> Java
> > Server Pages specification and reference ' <[EMAIL PROTECTED]>
> > Sent: Thursday, July 06, 2000 12:07 PM
> > Subject: RE: EJB in Weblogic 5.1...
> >
> >
> > > Hi,
> > >
> > > Your client environment needs to include the weblogic-generated client
> > stubs
> > > in the classpath.  The server already sees these classes because the
ejb
> > > jars are included in the weblogic.properties file from which wl server
> > > generates its "internal" classpath.
> > >
> > > The simplist way expose the stubs to your client is to include the
same
> > ejb
> > > jars in the client classpath.
> > >
> > > Gene Chuang
> > > [EMAIL PROTECTED]
> > >
> > >
> > > -----Original Message-----
> > > From: A mailing list about Java Server Pages specification and
> > > reference
> > > To: [EMAIL PROTECTED]
> > > Sent: 7/4/00 9:18 PM
> > > Subject: EJB in  Weblogic 5.1...
> > >
> > > Hi,
> > > I am using Weblogic 5.1.0 on Win NT
> > > I am developed a session stateless Bean .
> > > I registered  it . The server shows the messages deployed but when the
> > > clientapplication invoked it
> > > gives an error of class path not found.
> > > i checked the classpath  setting  from the console too all are set.
> > > weblogicaux.jar, classes, serverclasses, servletclasses etc.
> > > Is there any problem in my descriptor file .
> > > Where to put my classes.
> > > Need help
> > > Thanks/Regards
> > >
> > > Gurung
> > >
> > >
========================================================================
> > > ===
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > JSP-INTEREST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to