Re: Help! Can't get Developer 9i to deploy to WebLogic....

From: Raghu <rrkodali_at_yahoo.com>
Date: 25 Feb 2002 15:14:17 -0800
Message-ID: <61e90571.0202251514.2382eb47_at_posting.google.com>


The classpath on the error stack does not have "weblogic.jar". Make sure your weblogic connection works. Edit the weblogic connection (right mouse on connection and Choose edit)
Choose "connections" tab
In the path to weblogic.jar
make sure you have
C:\WebGain\bea\wlserver6.1sp1\lib\weblogic.jar not
C:\WebGain\bea\wlserver6.1sp1\lib

raghu
JDev Team

bobyhack_at_hotmail.com (Bob) wrote in message news:<756312dc.0202220722.e9c8f4c_at_posting.google.com>...
> Richard.Berger_at_nextcard.com (Richard Berger) wrote in message news:<d3ed84da.0202052116.22b9a33d_at_posting.google.com>...
> > Richard.Berger_at_nextcard.com (Richard Berger) wrote in message news:<d3ed84da.0202021403.797fac68_at_posting.google.com>...
> > > rrkodali_at_yahoo.com (Raghu) wrote in message news:<61e90571.0202021122.475aa3c_at_posting.google.com>...
> > > > Richard.Berger_at_nextcard.com (Richard Berger) wrote in message news:<d3ed84da.0202011645.62fc2588_at_posting.google.com>...
> > > > > I am trying to set up a connection to WebLogic 6.1, but when I go
> > > > > through the connection wizard, the Test Connection always fails with
> > > > > "Cannot instantiate class: weblogic.jndi.WLInitialContextFactory".
> > > > > This class is in weblogic.jar and I have included weblogic.jar in the
> > > > > classpath for the project as well as specifying it in the Connection
> > > > > information. In particular, on the Connection tab of the wizard,
> > > > > where it asks for "Path to weblogic.jar Containing WebLogic Client", I
> > > > > entered "D:\bea\wlserver6.1\lib\weblogic.jar". Everything else about
> > > > > my system is vanilla (only one server (myserver), all other defaults.
> > > > >
> > > > > I am using the JDeveloper 9i Release Candidate on Windows NT and other
> > > > > than this problem it seems to work fine. I have been able to manually
> > > > > create the .war file and deploy it and it works fine, but I was hoping
> > > > > for the automatic deployment.
> > > > >
> > > > > Thanks SO MUCH for any help!
> > > > > RB
> > > >
> > > >
> > > > Copy the weblogic.jar file from your WebLogic installation directory
> > > > (the default location is c:\bea\wlserver6.1\lib) to the following
> > > > JDeveloper directory: jdev_home/jdev/lib/ext
> > > > Close JDeveloper and relaunch after copying the file
> > > > For detailed instructions on how to setup weblogic connection see
> > > > Help System
> > > > Select "packaging and deploying"
> > > > Select "Creating Application Server connections"
> > > > Select "creating a connection to weblogic"
> > > >
> > > > Release candidate of JDeveloper can only do automatic deployment of
> > > > EJB's to weblogic server.
> > > > In the production release, we will have automatic deployment of WAR
> > > > and EAR also.
> > > >
> > > > raghu
> > > > JDev Team
> > >
> > > Thanks much - I will give this a try on Monday. By the way, JDev
> > > seems like a pretty awesome tool (and I look forward to the automatic
> > > deployment of WAR/EAR files). Note: I assume that in the Connection
> > > instructions, the path I should use for "Path to weblogic.jar
> > > Containing WebLogic Client" is still
> > > "D:\bea\wlserver6.1\lib\weblogic.jar" (rather than
> > > jdev_home/jdev/lib/ext/weblogic.jar).
> > >
> > > RB
> > All worked as advertised - don't quite know how I missed this in the
> > documentation, it was very clearly stated there - and I was on that
> > page many times. Thanks again!
> > RB
>
> Sorry this is the messages I'm getting
> Beginning to deploy to BEA WebLogic...
> D:\JDev\jdev_oc4j\jdk1.3\jre\bin\javaw.exe -classpath
> C:\WebGain\bea\wlserver6.1sp1\lib;D:\JDev\jdev_oc4j\jdk1.3\jre\lib\rt.jar;D:\JDev\jdev_oc4j\jdk1.3\jre\lib\i18n.jar;D:\JDev\jdev_oc4j\jdk1.3\jre\lib\sunrsasign.jar;D:\JDev\jdev_oc4j\jdk1.3\jre\lib\jsse.jar;D:\JDev\jdev_oc4j\jdk1.3\jre\lib\jce.jar;D:\JDev\jdev_oc4j\jdk1.3\jre\lib\charsets.jar;D:\JDev\jdev_oc4j\jdk1.3\jre\classes;D:\JDev\jdev_oc4j\jdev\mywork\msx\msxEjb\classes;D:\JDev\jdev_oc4j\j
e
> \lib\jdev-rt.jar;D:\JDev\jdev_oc4j\jdev\mywork\msx\CarlsonFramework\CarlsonFramework.jar;D:\JDev\jdev_oc4j\j2ee\home\activation.jar;D:\JDev\jdev_oc4j\j2ee\home\crimson.jar;D:\JDev\jdev_oc4j\j2ee\home\ejb.jar;D:\JDev\jdev_oc4j\j2ee\home\jaas.jar;D:\JDev\jdev_oc4j\j2ee\home\jaxp.jar;D:\JDev\jdev_oc4j\j2ee\home\jcert.jar;D:\JDev\jdev_oc4j\j2ee\home\jdbc.jar;D:\JDev\jdev_oc4j\j2ee\home\jndi.jar;D:\J
e
> \jdev_oc4j\j2ee\home\jnet.jar;D:\JDev\jdev_oc4j\j2ee\home\jsse.jar;D:\JDev\jdev_oc4j\j2ee\home\jta.jar;D:\JDev\jdev_oc4j\j2ee\home\mail.jar;D:\JDev\jdev_oc4j\j2ee\home\saxon.jar;D:\JDev\jdev_oc4j\j2ee\home\xalan.jar;D:\JDev\jdev_oc4j\jdev\mywork\msx\msxNonEJB\msxNonEJB.jar
> weblogic.ejbc -compiler D:\JDev\jdev_oc4j\jdev\bin\ojcw.exe -classpath
> C:\WebGain\bea\wlserver6.1sp1\lib;D:\JDev\jdev_oc4j\jdk1.3\jre\lib\rt.jar;D:\JDev\jdev_oc4j\jdk1.3\jre\lib\i18n.jar;D:\JDev\jdev_oc4j\jdk1.3\jre\lib\sunrsasign.jar;D:\JDev\jdev_oc4j\jdk1.3\jre\lib\jsse.jar;D:\JDev\jdev_oc4j\jdk1.3\jre\lib\jce.jar;D:\JDev\jdev_oc4j\jdk1.3\jre\lib\charsets.jar;D:\JDev\jdev_oc4j\jdk1.3\jre\classes;D:\JDev\jdev_oc4j\jdev\mywork\msx\msxEjb\classes;D:\JDev\jdev_oc4j\j
e
> \lib\jdev-rt.jar;D:\JDev\jdev_oc4j\jdev\mywork\msx\CarlsonFramework\CarlsonFramework.jar;D:\JDev\jdev_oc4j\j2ee\home\activation.jar;D:\JDev\jdev_oc4j\j2ee\home\crimson.jar;D:\JDev\jdev_oc4j\j2ee\home\ejb.jar;D:\JDev\jdev_oc4j\j2ee\home\jaas.jar;D:\JDev\jdev_oc4j\j2ee\home\jaxp.jar;D:\JDev\jdev_oc4j\j2ee\home\jcert.jar;D:\JDev\jdev_oc4j\j2ee\home\jdbc.jar;D:\JDev\jdev_oc4j\j2ee\home\jndi.jar;D:\J
e
> \jdev_oc4j\j2ee\home\jnet.jar;D:\JDev\jdev_oc4j\j2ee\home\jsse.jar;D:\JDev\jdev_oc4j\j2ee\home\jta.jar;D:\JDev\jdev_oc4j\j2ee\home\mail.jar;D:\JDev\jdev_oc4j\j2ee\home\saxon.jar;D:\JDev\jdev_oc4j\j2ee\home\xalan.jar;D:\JDev\jdev_oc4j\jdev\mywork\msx\msxNonEJB\msxNonEJB.jar
> C:\WebGain\bea\wlserver6.1sp1\config\mydomain\applications\msxEJB.jar
> C:\TEMP\wlejb59949.jar
> Wrote EJB .jar file to
> C:\WebGain\bea\wlserver6.1sp1\config\mydomain\applications\msxEJB.jar
> Generating WebLogic EJB container classes...
> Exception in thread main
> java.lang.NoClassDefFoundError: weblogic/ejbc
>
> **** weblogic.ejbc returned with a non-zero exit status:
> #### Deployment incomplete. #### Feb 22, 2002 9:20:42 AM
Received on Tue Feb 26 2002 - 00:14:17 CET

Original text of this message