Re: jetspeed 2 on Weblogic 8.1 Sp4

2005-01-13 Thread David Sean Taylor
Jeff Sheets wrote:
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

Looks great.
Would you consider updating the Jetspeed wiki with that information?
There is already a Weblogic section here:
http://wiki.apache.org/portals/Jetspeed2/Fusion
Its been a while since I ran Fusion and J2 on Weblogic.
The Wiki may be out of date now
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: jetspeed 2 on Weblogic 8.1 Sp4

2005-01-13 Thread Jeff Sheets
Absolutely!  I might find time this weekend for that
-- Jeff


On Thu, 13 Jan 2005 08:36:38 -0800, David Sean Taylor
[EMAIL PROTECTED] wrote:
 Jeff Sheets wrote:
  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
 
 
 Looks great.
 Would you consider updating the Jetspeed wiki with that information?
 There is already a Weblogic section here:
 
 http://wiki.apache.org/portals/Jetspeed2/Fusion
 
 Its been a while since I ran Fusion and J2 on Weblogic.
 The Wiki may be out of date now
 
 -
 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]



RE: jetspeed 2 on Weblogic 8.1 Sp4

2005-01-12 Thread Bharat Nagwani
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 
  namefactory/name 
  valueorg.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

Re: jetspeed 2 on Weblogic 8.1 Sp4

2005-01-12 Thread Jeff Sheets
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
   namefactory/name
   valueorg.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

RE: jetspeed 2 on Weblogic 8.1 Sp4

2005-01-12 Thread Bharat Nagwani
Thanks for the blog. 
Weblogic.jar is set properly since connection
Pool is getting deployed. 
Based on your blog I added this property 
-Djava.naming.provider.url=t3://localhost, but that did not help.
Still got the classnotfound on weblogic pool class.

Thanks
bharat

-Original Message-
From: Jeff Sheets [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 12, 2005 11:08 AM
To: Jetspeed Users List
Subject: Re: jetspeed 2 on Weblogic 8.1 Sp4

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-fina
lly.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
   namefactory/name
   valueorg.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

Re: jetspeed 2 on Weblogic 8.1 Sp4

2005-01-11 Thread Randy Watler
Bharat,
You need to configure the 
org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager 
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=1
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]


RE: jetspeed 2 on Weblogic 8.1 Sp4

2005-01-11 Thread Bharat Nagwani
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=1

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]



Re: jetspeed 2 on Weblogic 8.1 Sp4

2005-01-11 Thread Randy Watler
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=1
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]


RE: jetspeed 2 on Weblogic 8.1 Sp4

2005-01-11 Thread Bharat Nagwani
Hello,

No I haven't specified this class name
'weblogic/jdbc/wrapper/PoolConnection' anywhere. I checked the entire
jetspeed tree, I don't have jetspeed.xml or build.properties(I
downloaded binary, so I assume I don't need this). I do have
conf\jetspeed.properties but that doesn't have any property for
datasource.

Thanks much 

-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=1

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]



RE: jetspeed 2 on Weblogic 8.1 Sp4

2005-01-11 Thread Bharat Nagwani
Hi,

Jetspeed.xml does exist in my tomcat deployment in webapps folder. And I
see it uses 
ResourceParams name=jdbc/jetspeed
parameter
  namefactory/name
  valueorg.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=1

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]



RE: jetspeed 2 on Weblogic 8.1 Sp4

2005-01-11 Thread Randy Watler
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
  namefactory/name
  valueorg.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=1

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