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.ApplicationServerMa
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]



Reply via email to