----- Original Message -----
Sent: Friday, January 18, 2002 11:30
AM
Subject: Re: Ho do i generate an XML
deployment descriptor in Weblogic For my EJB's
Hi Mamta,
Well, the reason for this error
is that you haven't included required JDK class library path in %CLASSPATH%
env variable. Make sure to have the following in your
%CLASSPATH%.
SET
CLASSPATH=%WEBLOGIC_HOME%\lib\weblogic.jar;%JDK_HOME%\lib\tools.jar;%CLASSPATH%;
Where JDK_HOME refers to the
installation root of JDK on your system. Now use it in your command as
below.
java -classpath %CLASSPATH%
weblogic.ant.taskdefs.ejb20.DDInit staging-dir
You don't need to put anything
in META-INF but the auto-generated XML deployment descriptors will be copied
to it after successful execution of the above command.
Thanks
Zahid.
----- Original Message -----
Sent: Friday, January 18, 2002 9:31
AM
Subject: RE: Ho do i generate an XML
deployment descriptor in Weblogic For my EJB's
> Hi Zahid,
>
> Thanx a lot for ur
help.I tried the below mentioned thing,but i got the
> following
error:
>
>
C:\bea\wlserver6.1\samples\examples\myexamples\classes\examples\myexamples>j
>
ava weblogic.ant.taskdefs.ejb20.DDInit .
> Loading classes
>
java.lang.NoSuchMethodError: java.util.Vector: method
>
add(Ljava/lang/Object;)Z not found
>
at
weblogic.ant.taskdefs.ejb20.DDInit.loadClasses(Compiled Code)
>
at
weblogic.ant.taskdefs.ejb20.DDInit.execute(DDInit.java:109)
>
at
weblogic.ant.taskdefs.ejb20.DDInit.main(DDInit.java:531)
>
> I have put my class files in the directory being shown at the
DOS prompt i.e
> myexamples.I also created a METAINF subfolder below
that directory containg
> the classes.But i dont know what to put in
that METAINF subfolder.
>
> Regards,
>
Mamta.
>
>
> -----Original Message-----
>
From: Zahid Iqbal [mailto:[EMAIL PROTECTED]]
> Sent: Friday,
January 18, 2002 9:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Ho do i generate an XML deployment descriptor in
Weblogic For
> my EJB's
>
>
>
> WebLogic
6.1 provides number of utilities to auto-generate EJB and WEB
>
deployment descriptors. Following is a brief description.
>
>
weblogic.ant.taskdefs.ejb.DDInit: It creates the deployment descriptors
for
> Enterprise JavaBeans 1.1.
>
weblogic.ant.taskdefs.ejb20.DDInit: It creates the deployment
descriptors
> for Enterprise JavaBeans 2.0.
>
weblogic.ant.taskdefs.war.DDInit: It creates the deployment descriptors
for
> Web applications.
>
> For example to generate
deployment descriptors for Web Application, run the
> following
command.
>
> java -classpath %CLASSPATH%
weblogic.ant.taskdefs.ejb.DDInit staging-dir
>
> where
staging-dir refers to (J2EE compliant) EJB folder containing your
EJB
> classes and META-INF subfolder . Make sure that %CLASSPATH%
environment
> variable contains the path that contains your EJB's
classes. Please refer to
> the following link for more
details.
>
> http://e-docs.bea.com/wls/docs61/programming/packaging.html
> <http://e-docs.bea.com/wls/docs61/programming/packaging.html>
>
> Thanks
>
> Zahid
>
> ----- Original Message -----
> From: Cedric Beust < <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED]>
> To:
< <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]>
> Sent: Friday, January 18, 2002 5:35
AM
> Subject: Re: Ho do i generate an XML deployment descriptor in
Weblogic For
> my EJB's
>
>
> > >
[mailto:[EMAIL PROTECTED]] On Behalf Of Mamta Gupta (EHS)
>
>
> > > > Could anyone pls tell me how do i generate an
XML deployment
> > > > descriptor for my EJB's using
WEBLOGIC 6.1 Server Installation.Is
> > > > there any
utility in Weblogic Server 6.1.My EJB's class
> > > files are
in a directory on WinNT.
> >
> > <http://beust.com/cedric/ejbgen> http://beust.com/cedric/ejbgen
> >
> > --
> > C�dric
> >
>
> To unsubscribe, send email to <mailto:[EMAIL PROTECTED]>
> [EMAIL PROTECTED] and include in the body
> > of the message
"signoff EJB-INTEREST". For general help, send email to
>
> <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] and include in the
> body of the message "help".
> >
> >
>
>