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 


  factory
  org.apache.commons.dbcp.BasicDataSourceFactory
  


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 /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]
>
>  
>


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 


  factory
  org.apache.commons.dbcp.BasicDataSourceFactory
  


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 /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
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 /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,
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 /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
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,
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]


jetspeed 2 on Weblogic 8.1 Sp4

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



Re: j2 in tomcat 5.5

2005-01-11 Thread David Sean Taylor
Palotai Zsolt wrote:
Thanks for the idea, but I tried that and i still have the following 
errors in tomcat stdout.log after it tries to deploy pam.war and rss.war:

I had a few brief minutes to test on Tomcat 5.5
Some portlets work, others don't.
For instance the JSF Demo portlets
VelocityViewServlet : Error processing the template
Invocation of method 'getRenderedContent' in class 
org.apache.jetspeed.om.page.psml.FragmentImpl threw exception class 
java.lang.IllegalStateException : You cannot invoke getRenderedContent() 
until the content has been set.

java.lang.IllegalStateException: You cannot invoke getRenderedContent() 
until the content has been set.

And the Login portlet logs:
 JetspeedRequestDispatcher failed to include servlet resources. 
(details below)
Exception: org.apache.jasper.JasperException
Message: Unable to read TLD "META-INF/fmt.tld" from JAR file 
"file:/C:/bluesunrise/apache/jakarta-tomcat-5.5.4/webapps/security/WEB-INF/lib/standard-1.0.4.jar": 
org.apache.jasper.JasperException: Failed to load or instantiate 
TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlFmtTLV

I'll create a JIRA issue and a WIKI page to start tracking issues with 
Tomcat 5.5. Shouldn't be too long to get it up and running when a 
committer has spare time 

http://issues.apache.org/jira/browse/JS2-187
http://wiki.apache.org/portals/Jetspeed2/Tomcat55HowTo
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: new to list

2005-01-11 Thread C Nagar
I am new to Jetspeed.  Where can I get the tutorial for Jetspeed-2 and
examples?

Thanks.

-Original Message-
From: Scott T. Weaver [mailto:[EMAIL PROTECTED]
Sent: Monday, January 10, 2005 10:03 AM
To: Jetspeed Users List
Subject: Re: new to list


Yes, this list covers both Jetspeed 1 and 2. For the time being you will
probably see more J1 posts just because there are more people using it.

Michael Engelhart wrote:

>Hi -
>
>I just subscribed to this list last night from the jetspeed-2 sign up
>page and noticed that so far the posts are all related to jetspeed-1.
> Is this the wrong list or does it cover both versions.
>
>Thanks
>Mike
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>


--
"Great minds discuss ideas. Average minds discuss events. Small minds
discuss people."  - Admiral Hyman Rickover

***
*   Scott T. Weaver   *
* <[EMAIL PROTECTED]> *
* *
* --  *
*   Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container  *
* *
* OpenEdit, Website Content Management*
*    *
***


-
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: VelocityViewServlet : Error processing the template

2005-01-11 Thread Aleksandr Vushkan
Hello
> Hi all,
> 
> I am trying to portletize an existing Struts Application and jetspeed-2
> prints out this error, when I try to access the portlet.
I gess web-server not deploy your application.
Try again later.
I recieved this error.I closed my browser and
open web-site in new window.
All work...
> 
> I use the struts-portlet bridge.
> 
> Any ideas where I should start looking ??  The message is a little vague
> to me...
> 

-- 
С Уважением, Александр Вушкан
"Каждый из нас -  сад, а садовник в нем - воля"
В. Шекспир   "Отелло"

"Вера в победу уже часть победы"



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: screens which do not contain standard header

2005-01-11 Thread reeves3319
By default, Jetspeed displays this as its first page for the anonymous user and 
after login:
WEB-INF\templates\jsp\layouts\html\default.jsp
Watch out after going from anonyous user to some valid user: all you Session 
attributes will be erased.
You might also consider using Servlet Filters on the Turbine Servlet.
Russ
> 
> From: "Peter F." <[EMAIL PROTECTED]>
> Date: 2005/01/11 Tue AM 10:30:05 EST
> To: jetspeed-user@jakarta.apache.org
> Subject: screens which do not contain standard header
> 
> Hello ,
> 
> I use Jetspeed 1.5
> I want to create a number of screens (or pages) which do not contain standard 
> header, footer etc.
> just like when I press on "Print" control. 
> 
> How can I do this?
> 
> Thanks in advance.
> 
> 
> -- 
> Best regards,
>  Peter  mailto:[EMAIL PROTECTED]
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: j2 in tomcat 5.5

2005-01-11 Thread Palotai Zsolt
Thanks for the idea, but I tried that and i still have the following 
errors in tomcat stdout.log after it tries to deploy pam.war and rss.war:

Jan 11, 2005 11:05:34 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 11, 2005 11:05:34 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Jan 11, 2005 11:05:34 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive rss.war
INFO: Loading portlet application from web archive 
C:\zsolt\JXTA_WS\Tomcat5.5\webapps\jetspeed\WEB-INF\deploy\jsf-demo.war
INFO: Portlet application "jsf-demo" already been registered.  Skipping 
initial deployment.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/classes/ 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/commons-beanutils-1.6.1.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/commons-codec-1.2.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/commons-collections-2.1.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/commons-digester-1.5.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/commons-el-1.0.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/commons-logging-1.0.3.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/jsp-api-2.0-20040521.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/log4j-1.2.8.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/myfaces-1.0.8-PATCHED.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/portals-bridges-myfaces-0.1.jar 
to class path.
Jan 11, 2005 11:05:39 AM 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader 
loadBeanDefinitions
INFO: Loading XML bean definitions from resource for InputStream
Jan 11, 2005 11:05:39 AM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet velocity as unavailable
Jan 11, 2005 11:05:39 AM org.apache.catalina.core.ApplicationContext log
SEVERE: Servlet /rss threw load() exception
javax.servlet.ServletException: Error instantiating servlet class 
org.apache.portals.bridges.velocity.BridgesVelocityViewServlet
   at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1020)

Zsolt
[EMAIL PROTECTED] wrote:
Hi,
I have the same problem as you. Have you found any solution?
I can just tell you what I did to solve the rss probem:
1. Shut down Tomcat
2. Delete
   C:\Tomcat 5.5\webapps\rss
3. copy the rss.war files from C:\Tomcat
5.5\webapps\jetspeed\WEB-INF\deploy\
to C:\Tomcat 5.5\webapps\
4. Start Tomcat.
Like this you force the deploy.
Albert Valls Tosca
Norma Consulting Analyst
Tel: (+34) 93-363 77 00

_
Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Problem with Redirect when using SSL with Tomcat

2005-01-11 Thread chris holt
I have been researching this more by debugging and it appears that the
HttpServletRequest class that the TurbineRunDataService class uses to
populate the ServerData class is returning the wrong port.
This is feeling like a problem with Tomcat.
Has anybody else hit a problem similar to this one.

Thanks,

Chris

-Original Message-
From: chris holt [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 10, 2005 6:01 PM
To: Jetspeed Users List
Subject: Problem with Redirect when using SSL with Tomcat


I am using Tomcat 5.0.28 with Jetspeed 1.5 and I am having a problem
using SSL. I have set the following in the web.xml file of jetspeed to
force use of SSL when talking to portal.
 

  
   Entire Application
   /*
  
  
   Constrain the entire application to force use of
HTTPS
   CONFIDENTIAL
  
 
 
When the user goes to http://localhost:8080/jetspeed Tomcat correctly
redirects the browser to https://localhost:8443/jetspeed. However, the
anonymous user login page takes forever to come up, and when it does
come up the skin isn't working.  There is no borders, tab controls, or
anything.  I believe the problem has to do with the base tag being https://mroadster:8080/jetspeed/";>.  I can see why this would make
things slow because of all the redirects but I don't understand why the
stylesheet isn't working correctly.
 
However, if the user goes to https://localhost:8443/jetspeed/ everything
works fine.  Is there a why to get the $clink.External command to store
the redirected URL instead.
 
Thanks,
 
Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



VelocityViewServlet : Error processing the template

2005-01-11 Thread Xavier Lawrence
Hi all,

I am trying to portletize an existing Struts Application and jetspeed-2
prints out this error, when I try to access the portlet.

I use the struts-portlet bridge.

Any ideas where I should start looking ??  The message is a little vague
to me...

Thanks in advance for any help.

Regards

Xavier


VelocityViewServlet : Error processing the template
Invocation of method 'getRenderedContent' in class
org.apache.jetspeed.om.page.psml.FragmentImpl threw exception class
java.lang.IllegalStateException : You cannot invoke getRenderedContent()
until the content has been set.

java.lang.IllegalStateException: You cannot invoke getRenderedContent()
until the content has been set.
at
org.apache.jetspeed.om.page.psml.FragmentImpl.getRenderedContent(FragmentImpl.java:326)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:111)
at
org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:302)
at
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:157)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at 
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
at 
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
at 
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at 
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
at 
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at 
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.Template.merge(Template.java:256)
at
org.apache.portals.bridges.velocity.BridgesVelocityViewServlet.mergeTemplate(BridgesVelocityViewServlet.java:118)
at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(Unknown
Source)
at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(Unknown
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
at
org.apache.jetspeed.dispatcher.JetspeedRequestDispatcher.include(JetspeedRequestDispatcher.java:65)
at
org.apache.portals.bridges.common.GenericServletPortlet.doView(GenericServletPortlet.java:344)
at
org.apache.jetspeed.portlets.layout.LayoutPortlet.doView(LayoutPortlet.java:134)
at
org.apache.jetspeed.portlets.layout.MultiColumnPortlet.doView(MultiColumnPortlet.java:107)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
at
org.apache.jetspeed.container.JetspeedContainerServlet.doGet(JetspeedContainerServlet.java:232)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
a

screens which do not contain standard header

2005-01-11 Thread Peter F.
Hello ,

I use Jetspeed 1.5
I want to create a number of screens (or pages) which do not contain standard 
header, footer etc.
just like when I press on "Print" control. 

How can I do this?

Thanks in advance.


-- 
Best regards,
 Peter  mailto:[EMAIL PROTECTED]