My approach when using weblogic was to add the 5 shared jars into the weblogic classpath in the startweblogic script. Then in my applications directory I have jetspeed.war and also myapp.ear. Inside myapp.ear is myportletapp.war and myportletapp2.war. They both show up find in the portal since the shared jars are in the server classpath.
I wrote 5 or so posts on my blog about getting jetspeed to work with weblogic. It might help you out: http://uncommentedbytes.blogspot.com/2004/11/jetspeed-2-on-weblogic-finally.html Also, the weblogic.jar contains all of the base weblogic classes, so just make sure it is in your system classpath (or being loaded when your server starts up). You should never need to add this inside an application. My jetspeed app is working fine accessing the weblogic connection pool, so your first error might have more to do with your weblogic setup than with jetspeed. Let me know how it goes, -- Jeff On Wed, 12 Jan 2005 09:56:35 -0800, Bharat Nagwani <[EMAIL PROTECTED]> wrote: > Hi, > > The directions on this link are in line with what I have. I fixed the > issue by using dbcp datasource object and not using the > > connection pool weblogic provides. Weblogic pool driver is part of > weblogic.jar which is @25mb and I did not want to copy this > > to web-inf\lib folder. > > Another thing is jetspeed webapp on deploying created bunch of other > webapps in weblogic applications folder. But these did not > > get created properly. They are all blank. So the main portal page show > all portlets with no content(they appear to be minimized). > I am going to try deploy each webapp (pam etc) individually and try. I > am not sure it is going to work since cross context access may not work > in weblogic. > > Thanks much > > Bharat > > ________________________________ > > From: Randy Watler [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 11, 2005 10:03 PM > To: Bharat Nagwani; 'Jetspeed Users List ' > Subject: RE: jetspeed 2 on Weblogic 8.1 Sp4 > > Bharat, > > First see this wiki page: > http://wiki.apache.org/portals/Jetspeed2/Fusion > > J1/Fusion and J2 use the same codebase, so I am fairly sure that you > will need to follow these instructions. If you still have problems, > perhaps some other J2/weblogic user can shed some light on your > problem... sorry I cannot help more. > > Randy > > -----Original Message----- > From: Bharat Nagwani > To: Jetspeed Users List > Sent: 1/11/05 5:49 PM > Subject: RE: jetspeed 2 on Weblogic 8.1 Sp4 > > Hi, > > Jetspeed.xml does exist in my tomcat deployment in webapps folder. And I > > see it uses > <ResourceParams name="jdbc/jetspeed"> > <parameter> > <name>factory</name> > <value>org.apache.commons.dbcp.BasicDataSourceFactory</value> > </parameter> > .... > > I don't see any property for connection class. > > Even then, this is not going to work on Weblogic putting jetspeed.xml > same level as jetspeed folder. jetspeed.xml will only work with Tomcat. > is there another place to specify connection class? > > Thanks > > -----Original Message----- > From: Randy Watler [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 11, 2005 4:25 PM > To: Jetspeed Users List > Subject: Re: jetspeed 2 on Weblogic 8.1 Sp4 > > Bharat, > > I assume you are specifying 'weblogic/jdbc/wrapper/PoolConnection' in > build.properties or jetspeed.xml. If so, you certainly need to make the > driver class available to the Jetspeed webapp. With Tomcat, this is > typically done by copying the appropriate jar containing the driver > class to <tomcat home>/shared/lib. I assume there must be a similar > procedure that one can follow for Weblogic, no? > > Randy > > Bharat Nagwani wrote: > > >Thanks much. That did resolve the first two issues. > >Now I am on stuck on third. The exact message is > > > >java.lang.NoClassDefFoundError: weblogic/jdbc/wrapper/PoolConnection > > at java.lang.ClassLoader.defineClass0(Native Method) > >... > >[org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl] > ERROR: > >SQLException thrown while trying to get Connection from Datasource > >(java:comp/env/jdbc/jetspeed) > >Cannot obtain connection: driverURL = jdbc:weblogic:pool:jetspeed, > props > >= {enableTwoPhaseCommit=false, connectionPoolID=jetspeed, > >jdbcTxDataSource=true, dataSourceName=jetspeed}. > >Nested Exception: java.lang.RuntimeException: Failed to Generate > Wrapper > >Class > > at > >weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java > > : > >183) > > > >It seems like I have to move weblogic connection class to the webapp. > >Is there any jetspeed or spring connection pool framework I can use > >instead? > > > >thanks > > > >-----Original Message----- > >From: Randy Watler [mailto:[EMAIL PROTECTED] > >Sent: Tuesday, January 11, 2005 3:50 PM > >To: Jetspeed Users List > >Subject: Re: jetspeed 2 on Weblogic 8.1 Sp4 > > > >Bharat, > > > >You need to configure the > >org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerM > > a > >nager > >bean in jetspeed-spring.xml to use the WeblogicManager instead of the > >TomcatManager class, (from the same package). The WeblogicManager class > > >takes no constructor arguments, (see the JBossManager entry in > >jetspeed-spring.xml) > > > >The autodeployment properties are ignored by WeblogicManager. > > > >Sorry, I am not much help on the connection pool issue... > > > >Randy > > > >Bharat Nagwani wrote: > > > > > > > >>Hi, > >> > >> > >> > >>I installed J2m1 on Tomcat 4.1(hsql db). Works perfect. > >> > >>When I tried the same on Weblogic 8.1 sp4(hsql db) I get following > >> > >> > >error > > > > > >> > >>WARN: IOException, CatalinaPAM will only function as FileSystemPAM: > >>java.net.ConnectException: Connection refused: connect > >> > >> > >> > >>Looking at source I see this message is coming from TomcatManager.java > > >> > >> > >. > > > > > >>This seems to get invoked because I have in JetSpeed.properties > >> > >> > >> > >>org.apache.jetspeed.catalina.version.major > >> > >>autodeployment.catalina.version.major=5 > >> > >>autodeployment.catalina.base=${applicationRoot}/../../ > >> > >>autodeployment.catalina.engine=Catalina > >> > >>autodeployment.server=localhost > >> > >>autodeployment.port=80 > >> > >>autodeployment.user=admin > >> > >>autodeployment.password=admin > >> > >>autodeployment.staging.dir=${applicationRoot}/WEB-INF/deploy > >> > >>autodeployment.target.dir=${applicationRoot}/../ > >> > >>autodeployment.delay=10000 > >> > >>autodeployment.earlyInit = true > >> > >> > >> > >>1. First of all why Tomcat class is getting invoked when I am using > > >>WebLogic > >>2. Second am I supposed to comment the above lines or why do I need > > >>autodeployment? > >>3. I am also getting java.lang.NoClassDefFoundError: > >>weblogic/jdbc/wrapper/PoolConnection > >> > >>I am using DataSource JetspeedDB and corresponding conn pool to HSQL > db > >>in Weblogic. > >> > >> > >> > >> > >> > >>Any light on these will he helpful. > >> > >> > >> > >>thanks > >> > >> > >> > >> > >> > >> > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]