RE: Profile not found

2005-01-13 Thread Andy . Sun
How does the stack trace looks like in the jetspeed.log file?
Andy

-Original Message-
From: angeloimm [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 13, 2005 7:50 AM
To: Jetspeed Jetspeed
Subject: Profile not found


Hi all... i'm using jetspeed 1.5; i have developed three portlets on some
windows pc, then i have migrated from window to linux red-hat; well when i
go in http://localhost:8080/jetspeed all work, but if i login as
admin/jetspeed i have an error: Profile not found; instead if i login as
turbine/turbine it works... why does this error occur?
On window pc this doesn't happen

Thanks and regards




Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza
limiti a meno di 1 euro al giorno. 
Abbonati subito senza costi di attivazione su http://www.libero.it




-
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: Please Help......Customize Portlet

2004-12-29 Thread Andy . Sun
I am assuming that you want to put different strings in the option part of
html select tag. Those strings will be retrieved from database.
In your action class, you can execute the query and get a result set. Store
the string from the result set in a Vector object. Then save the vector in
the session object. Before you run the query, you should check if this
vector is populated already so you only need to run the query once for each
session (for performance reason).
Then in your presentation layer(vm/jsp), retrieve the vector in the session
and iterate through the vector to create the option tags.
Check out the code for the DatabaseBrowser portlet in the jetspeed
distribution. You should be able to find a similar implementation.
Andy


-Original Message-
From: angeloimm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 29, 2004 2:10 AM
To: Jetspeed Jetspeed
Subject: Please Help..Customize Portlet
Importance: High


Hi all; i have a little problem. I have written a my GenericMVCAction that
works on a GenericMVCPortlet. Al works fine; now when i log in as admin i
can customize my portlet and i can set different parameters; now let's
imagine that i want to use a html tag select in order to valorize some
parameters and that i must take these values from db... how can i do this?
I hope to be clear sorry for my bad english.




Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di
musica, film, video e sport. 
Abbonati subito senza costi di attivazione su http://www.libero.it




-
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: TorqueDataSourceFactory Pooling Issues

2004-12-10 Thread Andy . Sun
It is solved. I changed the following entry and it works now.
torque.dsfactory.JetspeedDB.jndi.path=java:comp/env/jdbc/JetspeedDB
Andy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 3:25 PM
To: [EMAIL PROTECTED]
Subject: RE: TorqueDataSourceFactory Pooling Issues


Jeff,
We actually upgraded our common-dbcp jar to 1.2.1 to fix the issue. However,
I am working on setting up our tomcat 4.1.18 to do db pooling and using JNDI
in Jetspeed(like you recommended). I used a jsp to test the tomcat setup and
everything looks fine (using InitalContext and getting connection). Then I
config the Torque to use JNDI. I got the following exception in the
jetspeed.log
org.apache.torque.TorqueException: javax.naming.NameNotFoundException: Name
jdbc is not bound in this Context
   at
org.apache.torque.dsfactory.JndiDataSourceFactory.getDataSource(JndiDataSour
ceFactory.java:108)
   at
org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:743)...
Here is my question, do you use torque to get a connection? Or you get the
connection directly using InitalContext? My torque setup is as follows:
torque.database.default=JetspeedDB
torque.database.JetspeedDB.adapter=oracle
torque.database.logInterval=0
torque.idbroker.cleverquantity=true
torque.manager.useCache = true
torque.dsfactory.JetspeedDB.factory=org.apache.torque.dsfactory.JndiDataSour
ceFactory
torque.dsfactory.JetspeedDB.jndi.path=jdbc/JetspeedDB
Am I missing something?
Andy

-Original Message-
From: Jeff Sheets [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 5:03 PM
To: Jetspeed Users List
Subject: Re: TorqueDataSourceFactory Pooling Issues


If you're running inside an app server that already does pooling, you
can connect to the pool via JNDI.  We use it, and it works nicely.

torque.dsfactory.default.factory=org.apache.torque.dsfactory.JndiDataSourceF
actory
torque.dsfactory.default.jndi.path=jdbc/JetspeedDB

-- Jeff


On Wed, 8 Dec 2004 16:54:26 -0700, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
 With quite a few hits per day, we are experiencing database pooling issues
 in our jetspeed site (using the Torque's old pool,
TorqueDataSourceFactory).
 1) In some occasions, the pool open additional sessions with db (in this
 case, oracle) but does not close it. The connection in db just stay open
and
 inactive. The number physical connection between the pool and db just goes
 up until it reaches the maximum allowed.
 2) Often enough, a sql exception is thrown with following error message
and
 displayed in the jetspeed.log and turbine.log.
 org.apache.torque.TorqueException: java.sql.SQLException:
 PooledConnection was reused, withoutits previous Connection being closed
 We did fair amount of research to trace down both issues. The
 TorqueDataSourceFactory is using deprecated classes in the common-dbcp
 package. To be specific, the PooledConnectionImpl.java (the one throwing
the
 SqlException in our portal site) does not exist in the current common-dbcp
 package anymore. That aside, the common-dbcp come with jetspeed 1.5 is
 1.0-dev. There are two bugs similar to what we saw exist in 1.0 but fixed
in
 1.1. See following links:
 http://issues.apache.org/bugzilla/show_bug.cgi?id=17200
 http://issues.apache.org/bugzilla/show_bug.cgi?id=17677
 
 My questions are:
 1) Torque has a new common-dbcp pooling, SharedPoolDataSourceFactory, to
 replace the TorqueDataSourceFactory. We tried to implement it but the
 jetspeed hang when it loaded the torque component. We also tried to use
 jdbc2pool listed in the Torque.properties file. It turned out this pool
does
 not exit anymore in torque 3.1 (dissolved in 3.0). Except the
 TorqueDataSourceFactory, is there anyone use different kinds of pooling?
 2) Does common-dbcp 1.1 compatible with the jetspeed 1.5? Is there any
plan
 to change the Maven dependency to 1.1 or 1.2?
 Any helps will be appreciated.
 Andy
 
 -
 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: Problem Configuring Jetspeed 1.5 for Oracle

2004-12-10 Thread Andy . Sun
If this is something related to the database connection, you can usually see
the full stack trace in the jetspeed.log file. Are you not seeing that?
Andy

-Original Message-
From: Chris Rovers [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 12:59 PM
To: Jetspeed Users List
Subject: RE: Problem Configuring Jetspeed 1.5 for Oracle


It was doing a direct connection - not using Torque (ie was just a 10
line jsp, to verify I could get there from here)

The reason I think it is a db issue is that that is all I changed -
Jetspeed came up fine using the Hypersonic db so I wanted to move it to
Oracle (since that is what we will use).  It was after I made the
changes in torque.properties and project.properties that things stopped
work. All I can assume is that it is the db or the configuration for the
db...  It'd be nice if we could get error messages or log files that
were more specific

-cdr

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, December 09, 2004 11:58 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Problem Configuring Jetspeed 1.5 for Oracle
 
 
 Well, your torque config looks fine to me. When you tested 
 the db connection
 using jsp, did you do a direct jdbc connection or getting a 
 connection via
 torque? I have also seen the similar exception caused by missing db
 connection. Still could you clarify why do you think this is 
 a db issue?
 What is stored in db, user, psml...?
 Andy
 -Original Message-
 From: Chris Rovers [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 08, 2004 7:21 PM
 To: Jetspeed Users List; [EMAIL PROTECTED]
 Subject: RE: Problem Configuring Jetspeed 1.5 for Oracle
 
 
 Yes, I've loaded the database.  And the r was a cut and paste 
 error - it
 is in the project.properties file.
 
 Thanks, though
 
 -cdr
 
  -Original Message-
  From: Jeff Sheets [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, December 08, 2004 7:00 PM
  To: Jetspeed Users List
  Subject: Re: Problem Configuring Jetspeed 1.5 for Oracle
  
  
  This may just be a typo, but you're mising the 'r' and the end of
  OracleDriver on this line in project.properties:
  torque.database.driver = oracle.jdbc.driver.OracleDrive
  
  Have you loaded the database with the load scripts?  I have seen a
  similar error in the past when the data was not yet loaded.
  -- Jeff
  
  
  On Wed, 8 Dec 2004 16:08:11 -0700, [EMAIL PROTECTED] 
  [EMAIL PROTECTED] wrote:
   Your config in the Torque.properties files looks pretty 
  much the same as
   ours. The only thing different is that we use the 
  TorqueDataSourceFactory as
   the pool implementation. What is your 
  torque.dsfactory.default.pool.* setup
   in the Torque.properties file?
   Andy
   
   
   
   -Original Message-
   From: Chris Rovers [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, December 08, 2004 3:49 PM
   To: Jetspeed Users List
   Subject: Problem Configuring Jetspeed 1.5 for Oracle
   
   I'm trying to configure Jetspeed 1.5 for Oracle.  I've have the
   following in the project.properties file :
   
   database = oracle
   #targetPackage = org.apache.jetspeed.om.torque
   #torque.retrievableInterface = 
 org.apache.fulcrum.intake.Retrievable
   torque.database.url = jdbc:oracle:thin:@hqoradev2:1521:dvits
   torque.database.driver = oracle.jdbc.driver.OracleDrive
   torque.database.user = jetspeed
   torque.database.password = jetspeed
   
   And the following in webapp/WEB-INF/conf/Torque.properties :
   
   torque.database.default=default
   ###torque.database.default.adapter=hypersonic
   ### torque.database.default.adapter=mysql
   torque.database.default.adapter=oracle
   ### torque.database.default.adapter=mssql
   
   ### Oracle
   torque.dsfactory.default.connection.driver =
   oracle.jdbc.driver.OracleDriver
   torque.dsfactory.default.connection.url =
   jdbc:oracle:thin:@hqoradev2.mks.com:1521:dvits
   torque.dsfactory.default.connection.user =  jetspeed
   torque.dsfactory.default.connection.password = jetspeed
   
   I've rebuilt the .war and replaced it, and when I go to 
  Jetspeed now, I
   get :
   
   There has been an Error!
   Reason:
   
   org.apache.jetspeed.om.profile.ProfileException:
   java.lang.NullPointerException
   
   Get/Post Data:
   template= /html/ShowError.vm
   
   Stacktrace:
   
 org.apache.jetspeed.om.profile.ProfileException:
   java.lang.NullPointerException
   
   Which I noted from a message on here means the database in 
  inaccessible.
   A simple JSP connecting to the same database using the Oracle:thin
   driver works successfully, using the same username and 
  password. Ideas?
   I must be doing something dense.
   
   The only thing I can think of is CR/LF issues - I use vi on 
  the machine
   itself to make the changes. Ought I to be preserving the 
  DOS style line
   termination?  Does it matter?
   
   -cdr
   
   
  
 -
   

RE: Adding new portlet [J 1.5]

2004-12-10 Thread Andy . Sun
look into this class
jetspeed-1.5\src\java\org\apache\jetspeed\modules\actions\portlets\browser\D
atabaseBrowserAction.java
This is the action class for the db browser portlet. It should help you.
Andy

-Original Message-
From: lahsen abouenour [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 3:33 AM
To: Jetspeed Users List
Subject: Adding new portlet [J 1.5]


Hi,
In witch directory can i find the source of portlets. What i want to do is
to write portlet that retrive data from Oracle DB and display them to users
within the portlet. So i want to change source of portlet that retrive from
database (such as stock portfolio). Any help please ..


-
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: TorqueDataSourceFactory Pooling Issues

2004-12-10 Thread Andy . Sun
Jeff,
We actually upgraded our common-dbcp jar to 1.2.1 to fix the issue. However,
I am working on setting up our tomcat 4.1.18 to do db pooling and using JNDI
in Jetspeed(like you recommended). I used a jsp to test the tomcat setup and
everything looks fine (using InitalContext and getting connection). Then I
config the Torque to use JNDI. I got the following exception in the
jetspeed.log
org.apache.torque.TorqueException: javax.naming.NameNotFoundException: Name
jdbc is not bound in this Context
   at
org.apache.torque.dsfactory.JndiDataSourceFactory.getDataSource(JndiDataSour
ceFactory.java:108)
   at
org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:743)...
Here is my question, do you use torque to get a connection? Or you get the
connection directly using InitalContext? My torque setup is as follows:
torque.database.default=JetspeedDB
torque.database.JetspeedDB.adapter=oracle
torque.database.logInterval=0
torque.idbroker.cleverquantity=true
torque.manager.useCache = true
torque.dsfactory.JetspeedDB.factory=org.apache.torque.dsfactory.JndiDataSour
ceFactory
torque.dsfactory.JetspeedDB.jndi.path=jdbc/JetspeedDB
Am I missing something?
Andy

-Original Message-
From: Jeff Sheets [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 5:03 PM
To: Jetspeed Users List
Subject: Re: TorqueDataSourceFactory Pooling Issues


If you're running inside an app server that already does pooling, you
can connect to the pool via JNDI.  We use it, and it works nicely.

torque.dsfactory.default.factory=org.apache.torque.dsfactory.JndiDataSourceF
actory
torque.dsfactory.default.jndi.path=jdbc/JetspeedDB

-- Jeff


On Wed, 8 Dec 2004 16:54:26 -0700, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
 With quite a few hits per day, we are experiencing database pooling issues
 in our jetspeed site (using the Torque's old pool,
TorqueDataSourceFactory).
 1) In some occasions, the pool open additional sessions with db (in this
 case, oracle) but does not close it. The connection in db just stay open
and
 inactive. The number physical connection between the pool and db just goes
 up until it reaches the maximum allowed.
 2) Often enough, a sql exception is thrown with following error message
and
 displayed in the jetspeed.log and turbine.log.
 org.apache.torque.TorqueException: java.sql.SQLException:
 PooledConnection was reused, withoutits previous Connection being closed
 We did fair amount of research to trace down both issues. The
 TorqueDataSourceFactory is using deprecated classes in the common-dbcp
 package. To be specific, the PooledConnectionImpl.java (the one throwing
the
 SqlException in our portal site) does not exist in the current common-dbcp
 package anymore. That aside, the common-dbcp come with jetspeed 1.5 is
 1.0-dev. There are two bugs similar to what we saw exist in 1.0 but fixed
in
 1.1. See following links:
 http://issues.apache.org/bugzilla/show_bug.cgi?id=17200
 http://issues.apache.org/bugzilla/show_bug.cgi?id=17677
 
 My questions are:
 1) Torque has a new common-dbcp pooling, SharedPoolDataSourceFactory, to
 replace the TorqueDataSourceFactory. We tried to implement it but the
 jetspeed hang when it loaded the torque component. We also tried to use
 jdbc2pool listed in the Torque.properties file. It turned out this pool
does
 not exit anymore in torque 3.1 (dissolved in 3.0). Except the
 TorqueDataSourceFactory, is there anyone use different kinds of pooling?
 2) Does common-dbcp 1.1 compatible with the jetspeed 1.5? Is there any
plan
 to change the Maven dependency to 1.1 or 1.2?
 Any helps will be appreciated.
 Andy
 
 -
 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: how to add security permissions to role eg :user

2004-12-09 Thread Andy . Sun
You could create a new security id and assign max and min only to user role.
Then assign this new security id to whatever the portlets you want.
Andy

-Original Message-
From: Srinivasarao Sri [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 2:01 AM
To: [EMAIL PROTECTED]
Subject: how to add security permissions to role eg :user


Hi Team,
To a portlet I wanted to know 
how to remove close , info, customize permissions to particular role eg :
user
I wanted only to show minimize and maximize.
Can you please help me in this.
Thanks in advance
Srinivas


-
Do you Yahoo!?
 Yahoo! Mail - Easier than ever with enhanced search. Learn more.

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



RE: Information about JetSpeed

2004-12-09 Thread Andy . Sun
There are some articles in Jetspeed site talking about Jetspeed.
http://portals.apache.org/jetspeed-1/resources.html
That is just for jetspeed 1. Jetspeed 2 M1 release just came out. Depending
on your timeline, it can be your solution too.
I am not sure about paid portal productions since we never consider using
them (cost...cost...cost). If you are talking about low cost, there are
other open source portal engines you can evaluate such as Liferay and Exo.
Good luck.
Andy

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 8:37 AM
To: [EMAIL PROTECTED]
Subject: Information about JetSpeed






Hello,

We're looking for a web application where we can make enterprise portals to
low cost.

I'd like to know what are the features that JetSpeed has ? . It's most
robust that webphere or bealogic?

Thanks and regards.


-
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: Problem Configuring Jetspeed 1.5 for Oracle

2004-12-09 Thread Andy . Sun
Well, your torque config looks fine to me. When you tested the db connection
using jsp, did you do a direct jdbc connection or getting a connection via
torque? I have also seen the similar exception caused by missing db
connection. Still could you clarify why do you think this is a db issue?
What is stored in db, user, psml...?
Andy
-Original Message-
From: Chris Rovers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 7:21 PM
To: Jetspeed Users List; [EMAIL PROTECTED]
Subject: RE: Problem Configuring Jetspeed 1.5 for Oracle


Yes, I've loaded the database.  And the r was a cut and paste error - it
is in the project.properties file.

Thanks, though

-cdr

 -Original Message-
 From: Jeff Sheets [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, December 08, 2004 7:00 PM
 To: Jetspeed Users List
 Subject: Re: Problem Configuring Jetspeed 1.5 for Oracle
 
 
 This may just be a typo, but you're mising the 'r' and the end of
 OracleDriver on this line in project.properties:
 torque.database.driver = oracle.jdbc.driver.OracleDrive
 
 Have you loaded the database with the load scripts?  I have seen a
 similar error in the past when the data was not yet loaded.
 -- Jeff
 
 
 On Wed, 8 Dec 2004 16:08:11 -0700, [EMAIL PROTECTED] 
 [EMAIL PROTECTED] wrote:
  Your config in the Torque.properties files looks pretty 
 much the same as
  ours. The only thing different is that we use the 
 TorqueDataSourceFactory as
  the pool implementation. What is your 
 torque.dsfactory.default.pool.* setup
  in the Torque.properties file?
  Andy
  
  
  
  -Original Message-
  From: Chris Rovers [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, December 08, 2004 3:49 PM
  To: Jetspeed Users List
  Subject: Problem Configuring Jetspeed 1.5 for Oracle
  
  I'm trying to configure Jetspeed 1.5 for Oracle.  I've have the
  following in the project.properties file :
  
  database = oracle
  #targetPackage = org.apache.jetspeed.om.torque
  #torque.retrievableInterface = org.apache.fulcrum.intake.Retrievable
  torque.database.url = jdbc:oracle:thin:@hqoradev2:1521:dvits
  torque.database.driver = oracle.jdbc.driver.OracleDrive
  torque.database.user = jetspeed
  torque.database.password = jetspeed
  
  And the following in webapp/WEB-INF/conf/Torque.properties :
  
  torque.database.default=default
  ###torque.database.default.adapter=hypersonic
  ### torque.database.default.adapter=mysql
  torque.database.default.adapter=oracle
  ### torque.database.default.adapter=mssql
  
  ### Oracle
  torque.dsfactory.default.connection.driver =
  oracle.jdbc.driver.OracleDriver
  torque.dsfactory.default.connection.url =
  jdbc:oracle:thin:@hqoradev2.mks.com:1521:dvits
  torque.dsfactory.default.connection.user =  jetspeed
  torque.dsfactory.default.connection.password = jetspeed
  
  I've rebuilt the .war and replaced it, and when I go to 
 Jetspeed now, I
  get :
  
  There has been an Error!
  Reason:
  
  org.apache.jetspeed.om.profile.ProfileException:
  java.lang.NullPointerException
  
  Get/Post Data:
  template= /html/ShowError.vm
  
  Stacktrace:
  
org.apache.jetspeed.om.profile.ProfileException:
  java.lang.NullPointerException
  
  Which I noted from a message on here means the database in 
 inaccessible.
  A simple JSP connecting to the same database using the Oracle:thin
  driver works successfully, using the same username and 
 password. Ideas?
  I must be doing something dense.
  
  The only thing I can think of is CR/LF issues - I use vi on 
 the machine
  itself to make the changes. Ought I to be preserving the 
 DOS style line
  termination?  Does it matter?
  
  -cdr
  
  
 -
  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]



RE: Problem Configuring Jetspeed 1.5 for Oracle

2004-12-08 Thread Andy . Sun
Your config in the Torque.properties files looks pretty much the same as
ours. The only thing different is that we use the TorqueDataSourceFactory as
the pool implementation. What is your torque.dsfactory.default.pool.* setup
in the Torque.properties file?
Andy

-Original Message-
From: Chris Rovers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 3:49 PM
To: Jetspeed Users List
Subject: Problem Configuring Jetspeed 1.5 for Oracle



I'm trying to configure Jetspeed 1.5 for Oracle.  I've have the
following in the project.properties file :

database = oracle
#targetPackage = org.apache.jetspeed.om.torque
#torque.retrievableInterface = org.apache.fulcrum.intake.Retrievable
torque.database.url = jdbc:oracle:thin:@hqoradev2:1521:dvits
torque.database.driver = oracle.jdbc.driver.OracleDrive
torque.database.user = jetspeed
torque.database.password = jetspeed

And the following in webapp/WEB-INF/conf/Torque.properties :

torque.database.default=default
###torque.database.default.adapter=hypersonic
### torque.database.default.adapter=mysql
torque.database.default.adapter=oracle
### torque.database.default.adapter=mssql

### Oracle
torque.dsfactory.default.connection.driver =
oracle.jdbc.driver.OracleDriver
torque.dsfactory.default.connection.url =
jdbc:oracle:thin:@hqoradev2.mks.com:1521:dvits
torque.dsfactory.default.connection.user =  jetspeed
torque.dsfactory.default.connection.password = jetspeed


I've rebuilt the .war and replaced it, and when I go to Jetspeed now, I
get : 


There has been an Error!
Reason:

org.apache.jetspeed.om.profile.ProfileException:
java.lang.NullPointerException
  


Get/Post Data:
template= /html/ShowError.vm

Stacktrace:

  
  org.apache.jetspeed.om.profile.ProfileException:
java.lang.NullPointerException



Which I noted from a message on here means the database in inaccessible.
A simple JSP connecting to the same database using the Oracle:thin
driver works successfully, using the same username and password. Ideas?
I must be doing something dense.

The only thing I can think of is CR/LF issues - I use vi on the machine
itself to make the changes. Ought I to be preserving the DOS style line
termination?  Does it matter?

-cdr

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



TorqueDataSourceFactory Pooling Issues

2004-12-08 Thread Andy . Sun
With quite a few hits per day, we are experiencing database pooling issues
in our jetspeed site (using the Torque's old pool, TorqueDataSourceFactory).
1) In some occasions, the pool open additional sessions with db (in this
case, oracle) but does not close it. The connection in db just stay open and
inactive. The number physical connection between the pool and db just goes
up until it reaches the maximum allowed.
2) Often enough, a sql exception is thrown with following error message and
displayed in the jetspeed.log and turbine.log.
org.apache.torque.TorqueException: java.sql.SQLException:
PooledConnection was reused, withoutits previous Connection being closed
We did fair amount of research to trace down both issues. The
TorqueDataSourceFactory is using deprecated classes in the common-dbcp
package. To be specific, the PooledConnectionImpl.java (the one throwing the
SqlException in our portal site) does not exist in the current common-dbcp
package anymore. That aside, the common-dbcp come with jetspeed 1.5 is
1.0-dev. There are two bugs similar to what we saw exist in 1.0 but fixed in
1.1. See following links:
http://issues.apache.org/bugzilla/show_bug.cgi?id=17200
http://issues.apache.org/bugzilla/show_bug.cgi?id=17677

My questions are:
1) Torque has a new common-dbcp pooling, SharedPoolDataSourceFactory, to
replace the TorqueDataSourceFactory. We tried to implement it but the
jetspeed hang when it loaded the torque component. We also tried to use
jdbc2pool listed in the Torque.properties file. It turned out this pool does
not exit anymore in torque 3.1 (dissolved in 3.0). Except the
TorqueDataSourceFactory, is there anyone use different kinds of pooling?
2) Does common-dbcp 1.1 compatible with the jetspeed 1.5? Is there any plan
to change the Maven dependency to 1.1 or 1.2?
Any helps will be appreciated.
Andy  

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



RE: PSML Change in Runtime

2004-11-24 Thread Andy . Sun
Check out the refresh method in the PsmlManagerService interface. If you are
using file-based psml (as oppose to the psml stored in DB), the
CastorPsmlManagerService class implements this interface. The refresh method
will call a getDocument method in the same class and the logic within will
get the psml from the file location instead of cache. It will also refresh
the psml in the cache at the end. 
Maybe you can somehow use this method and pass in the ProfileLocator that
represents the modified psml.
Hope this will give you a jump start.
Andy

-Original Message-
From: Carlos Torres [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 24, 2004 6:03 AM
To: Jetspeed Users List
Subject: Re: PSML Change in Runtime


The screen didn't change after I make the change.
I sumit a request to my application and I change the psml file. When the
results come back to the screen it must be changed.
There is the parameter
services.PsmlManager.scanRate=120
in JetspeedResource.properties file. But I must change immediately.

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 23, 2004 5:29 PM
Subject: RE: PSML Change in Runtime


 When you said the screen didn't change, did it change after a few minutes
or
 after you bounce your container?
 The psml can be stored in cache and refreshed periodically depending on
the
 setup in the JetspeedResource.properties file.
 Andy

 -Original Message-
 From: Carlos Torres [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 23, 2004 1:17 PM
 To: Apache JetSpeed User; Apache JetSpeed Dev
 Subject: Re: PSML Change in Runtime


 I tried this way too:

   JetspeedPortletInstance pi =
 (JetspeedPortletInstance)getInstance(runData);
   Profile profile = pi.getProfile();
   PsmlManagerService exporterService =

(PsmlManagerService)TurbineServices.getInstance().getService(PsmlImportMana
 ger);
   PSMLDocument psmlNew = exporterService.getDocument(file_path);
   profile.setDocument(psmlNew);
profile.store();
   ((JetspeedRunData)runData).setProfile(profile);
QueryLocator locator = new QueryLocator(QueryLocator.QUERY_USER);
   exporterService.refresh(locator);

 and get the same result, the psml file change but the screen no.

 If anybody hava an idea, I thanks a lot.




   - Original Message - 
   From: Carlos Torres
   To: Apache JetSpeed User ; Apache JetSpeed Dev
   Sent: Tuesday, November 23, 2004 2:01 PM
   Subject: Re: PSML Change in Runtime


   I have been changing the psml name file when the new one will be the
 default.psml and the old one will be another name. I'm using the methods
 after rename the files:

   exporterService.getDocument(locator);

   and after this

   PSMLDocument doc2 = exporterService.refresh(locator);

   where  exporterService is a PsmlManagerService object and locator is  a
 QueryLocator object.

   The code run ok, but the screen configuration doesn't change. Anybody
hava
 any idea how to refresh the screnn and aply the changes?

   Please, help me.

   Thanks.



 - Original Message - 
 From: Carlos Torres
 To: Apache JetSpeed User ; Apache JetSpeed Dev
 Sent: Friday, October 22, 2004 2:41 PM
 Subject: PSML Change in Runtime


 Hi people,

 I need to change the PSML file for a type of user(role) in runtime.
 According to an action in portal, the panels and portles for the user must
 be changed. I will have other PSML files and when the user select an
option
 it will change with the portal configuration.

 Anybody have any idea to how make this?

 Thank you very much.

 Regards,

Carlos Alberto Torres

 -
 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: PSML Change in Runtime

2004-11-23 Thread Andy . Sun
When you said the screen didn't change, did it change after a few minutes or
after you bounce your container?
The psml can be stored in cache and refreshed periodically depending on the
setup in the JetspeedResource.properties file.
Andy

-Original Message-
From: Carlos Torres [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 23, 2004 1:17 PM
To: Apache JetSpeed User; Apache JetSpeed Dev
Subject: Re: PSML Change in Runtime


I tried this way too:

  JetspeedPortletInstance pi =
(JetspeedPortletInstance)getInstance(runData);
  Profile profile = pi.getProfile();
  PsmlManagerService exporterService =
(PsmlManagerService)TurbineServices.getInstance().getService(PsmlImportMana
ger);
  PSMLDocument psmlNew = exporterService.getDocument(file_path);
  profile.setDocument(psmlNew);
   profile.store();
  ((JetspeedRunData)runData).setProfile(profile);
   QueryLocator locator = new QueryLocator(QueryLocator.QUERY_USER);
  exporterService.refresh(locator);

and get the same result, the psml file change but the screen no.

If anybody hava an idea, I thanks a lot.




  - Original Message - 
  From: Carlos Torres 
  To: Apache JetSpeed User ; Apache JetSpeed Dev 
  Sent: Tuesday, November 23, 2004 2:01 PM
  Subject: Re: PSML Change in Runtime


  I have been changing the psml name file when the new one will be the
default.psml and the old one will be another name. I'm using the methods
after rename the files:

  exporterService.getDocument(locator);

  and after this

  PSMLDocument doc2 = exporterService.refresh(locator);

  where  exporterService is a PsmlManagerService object and locator is  a
QueryLocator object.

  The code run ok, but the screen configuration doesn't change. Anybody hava
any idea how to refresh the screnn and aply the changes?

  Please, help me.

  Thanks.



- Original Message - 
From: Carlos Torres 
To: Apache JetSpeed User ; Apache JetSpeed Dev 
Sent: Friday, October 22, 2004 2:41 PM
Subject: PSML Change in Runtime


Hi people,

I need to change the PSML file for a type of user(role) in runtime.
According to an action in portal, the panels and portles for the user must
be changed. I will have other PSML files and when the user select an option
it will change with the portal configuration.

Anybody have any idea to how make this?

Thank you very much.

Regards,
 
   Carlos Alberto Torres

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



Refreshing a psml reference

2004-11-17 Thread Andy . Sun
We just implemented a Jetspeed 1.5 portal site with tomcat 4.1.18. The psml
reference is used so that different users can share a group or role psml
file. When we make a change to the group psml (e.g. adding a portlet to the
page), the users who have previously login to the site won't see the change
if they login again (even after a while). However, if the user login as the
first time, they could see the change. Of course, the change will be visible
to everyone after bouncing the tomcat. The sequence is like this.
-login as user1 then logout
-change the group psml that is referenced by user1's psml
-login as user2 to verify the referenced psml is changed.
-if yes from pervious step, login as user1
-too bad, the user1 still don't see the change.
It seems that there is caching happened for user1. However we are not sure
which setting could affect this. We also waited overnight expecting the
cache will expire. That did not happen either. 
Has anyone actively using reference? Any experience with this issue?
Thanks!
Andy

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



RE: Refreshing a psml reference

2004-11-17 Thread Andy . Sun
After a little more research, we discovered one more way to get around this
issue. There is a setting in JetspeedResource.properties file,
services.PsmlManager.cacheSize. It is default to 100, meaning maximum 100
psml pages will be cached. We change that to 0 and it fixed this psml
reference refresh issue.
Is this change recommended? It is obviously for a performance reason
(probably save time on File I/O). With only limited users(500)using the
site now, we didn't notice a obvious impact. However, we will have more
users in the future and the psml cache will be a good thing to have. Without
turning it off, is there a setting to control the expiration of the psml
cache? 
Andy 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 11:05 AM
To: [EMAIL PROTECTED]
Subject: Refreshing a psml reference


We just implemented a Jetspeed 1.5 portal site with tomcat 4.1.18. The psml
reference is used so that different users can share a group or role psml
file. When we make a change to the group psml (e.g. adding a portlet to the
page), the users who have previously login to the site won't see the change
if they login again (even after a while). However, if the user login as the
first time, they could see the change. Of course, the change will be visible
to everyone after bouncing the tomcat. The sequence is like this.
-login as user1 then logout
-change the group psml that is referenced by user1's psml
-login as user2 to verify the referenced psml is changed.
-if yes from pervious step, login as user1
-too bad, the user1 still don't see the change.
It seems that there is caching happened for user1. However we are not sure
which setting could affect this. We also waited overnight expecting the
cache will expire. That did not happen either. 
Has anyone actively using reference? Any experience with this issue?
Thanks!
Andy

-
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: Refreshing a psml reference

2004-11-17 Thread Andy . Sun
I am looking into the getDocument method in the PsmlManagerService. The
refresh method call getDocument() with the getCached set to false. I believe
the tricky part is when and where to do refresh. When using a reference, the
psml manager doesn't know if the referenced psml is changed or not. I am
still digging and hopefully will find a good resolution.
This happened in a user by user basis because one user has psml cached but
the other one doesn't. 
Andy

-Original Message-
From: Dan Moore [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 2:05 PM
To: Jetspeed Users List
Subject: RE: Refreshing a psml reference


I'd think bypassing the cache would be a bad thing in the future.  You
might want to look at the 'refresh' method on the PSMLManager service
interface:

http://portals.apache.org/jetspeed-1/apidocs/org/apache/jetspeed/services/ps
mlmanager/PsmlManagerService.html#refresh(org.apache.jetspeed.om.profile.Pro
fileLocator)

I'd dig into that class to gain a better understanding of how caching
of psml documents actually happens.  What you're experiencing implies
that it happens on a user by user basis, which does not make a whole
lot of sense to me, at least for group and role based psml documents.

Dan

--- [EMAIL PROTECTED] wrote:

 After a little more research, we discovered one more way to get
 around this
 issue. There is a setting in JetspeedResource.properties file,
 services.PsmlManager.cacheSize. It is default to 100, meaning maximum
 100
 psml pages will be cached. We change that to 0 and it fixed this psml
 reference refresh issue.
 Is this change recommended? It is obviously for a performance reason
 (probably save time on File I/O). With only limited users(500)using
 the
 site now, we didn't notice a obvious impact. However, we will have
 more
 users in the future and the psml cache will be a good thing to have.
 Without
 turning it off, is there a setting to control the expiration of the
 psml
 cache? 
 Andy 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 17, 2004 11:05 AM
 To: [EMAIL PROTECTED]
 Subject: Refreshing a psml reference
 
 
 We just implemented a Jetspeed 1.5 portal site with tomcat 4.1.18.
 The psml
 reference is used so that different users can share a group or role
 psml
 file. When we make a change to the group psml (e.g. adding a portlet
 to the
 page), the users who have previously login to the site won't see the
 change
 if they login again (even after a while). However, if the user login
 as the
 first time, they could see the change. Of course, the change will be
 visible
 to everyone after bouncing the tomcat. The sequence is like this.
 -login as user1 then logout
 -change the group psml that is referenced by user1's psml
 -login as user2 to verify the referenced psml is changed.
 -if yes from pervious step, login as user1
 -too bad, the user1 still don't see the change.
 It seems that there is caching happened for user1. However we are not
 sure
 which setting could affect this. We also waited overnight expecting
 the
 cache will expire. That did not happen either. 
 Has anyone actively using reference? Any experience with this issue?
 Thanks!
 Andy
 
 -
 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]



OutOfMemoryError in Jetspeed 1.5

2004-11-08 Thread Andy . Sun
Fellow Jetspeed Users,
We just implemented our intranet using Jetspeed 1.5. During the first week
with less than 15 user logon, we had the following error in the turbine.log
file.

2004-11-05 14:04:58,000 [Thread-188] ERROR JetspeedLoggingService  - Error
rendering Velocity template: /controls/html/jetspeed.vm: Invocation of
method 'getContent' in  class
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapper
threw exception class java.lang.OutOfMemoryError : null

The application just stop rendering the portlet and a blank screen is shown.
We eventually bounced tomcat to resolve the problem. The Jetspeed 1.5 is
running with tomcat 4.1.18 with -Xms128m -Xmx512m options. Has anybody seen
this issue before? Any directions will be appreciated.
Andy


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



RE: class cast exception for LDAP role

2004-10-27 Thread Andy . Sun
This is a bug introduced by the 1.5 grouprole implementation. It looks like
it is fixed in the 1.6 dev. Compare the getRole(String username) method in
LDAPRoleManagement.java in 1.5 and 1.6 dev then you can see the differences.
Andy

-Original Message-
From: Amit Soni [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 10:37 PM
To: [EMAIL PROTECTED]
Subject: class cast exception for LDAP role


Hi all,

  Here i want to use LDAP with jetspeed for that i gone through
ldap-notes.txt file and successfully done the LDAP part. After that i
have modify my JetspeedSecurity.propeties file also it look like ::

services.JetspeedSecurity.classname=org.apache.jetspeed.services.security.Je
tspeedDBSecurityService

#
# Programmatic Cascade Delete Service   #
#

services.JetspeedSecurity.programmatic.cascade.delete=false

#
# Authentication Service#
#

#services.PortalAuthentication.classname=org.apache.jetspeed.services.securi
ty.turbine.TurbineAuthentication

# ++ Start LDAP for netcore
services.PortalAuthentication.classname=org.apache.jetspeed.services.securit
y.ldap.LDAPAuthentication
# -- Stop LDAP for netcore

#
# Authorization Service #
#

services.PortalAccessController.classname=org.apache.jetspeed.services.secur
ity.registry.RegistryAccessController
#services.PortalAccessController.classname=org.apache.jetspeed.services.secu
rity.turbine.TurbineAccessController
#services.PortalAccessController.classname=org.apache.jetspeed.services.secu
rity.nosecurity.NoSecurityAccessController

#
# User Management Service   #
#

Eservices.UserManagement.classname=org.apache.jetspeed.services.security.tur
bine.TurbineUserManagement
#services.JetspeedSecurity.user.class=org.apache.jetspeed.om.security.BaseJe
tspeedUser

# ++ Start LDAP for netcore
services.UserManagement.classname=org.apache.jetspeed.services.security.ldap
.LDAPUserManagement 
services.JetspeedSecurity.user.class=org.apache.jetspeed.om.security.ldap.LD
APUser 
# -- Stop for netcore 

#
# Role Management Service   #
#

#services.RoleManagement.classname=org.apache.jetspeed.services.security.tur
bine.TurbineRoleManagement
#services.JetspeedSecurity.role.class=org.apache.jetspeed.om.security.BaseJe
tspeedRole

services.JetspeedSecurity.role.default=user

# ++ start LDAP for netcore
services.RoleManagement.classname=org.apache.jetspeed.services.security.ldap
.LDAPRoleManagement 
services.JetspeedSecurity.role.class=org.apache.jetspeed.om.security.ldap.LD
APRole 
# -- stop LDAP for netcore

#
# Group Management Service  #
#

#services.GroupManagement.classname=org.apache.jetspeed.services.security.tu
rbine.TurbineGroupManagement
#services.JetspeedSecurity.group.class=org.apache.jetspeed.om.security.BaseJ
etspeedGroup

# ++ start LDAP for netcore  
services.GroupManagement.classname=org.apache.jetspeed.services.security.lda
p.LDAPGroupManagement   
services.JetspeedSecurity.group.class=org.apache.jetspeed.om.security.ldap.L
DAPGroup
# -- stop LDAP for netcore

#
# Permission Management Service#
#

#services.PermissionManagement.classname=org.apache.jetspeed.services.securi
ty.turbine.TurbinePermissionManagement
#services.JetspeedSecurity.permission.class=org.apache.jetspeed.om.security.
BaseJetspeedPermission

# ++ start LDAP for  netcore
services.PermissionManagement.classname=org.apache.jetspeed.services.securit
y.ldap.LDAPPermissionManagement   
services.JetspeedSecurity.permission.class=org.apache.jetspeed.om.security.l
dap.LDAPPermission
# -- stop LDAP for netcore

#
# Security Cache Service#
#

services.SecurityCache.classname=org.apache.jetspeed.services.security.Secur
ityCacheImpl

# This is used by the SecurityService to make the password checking
# secure. When enabled, passwords are transformed by a one-way
# function into a sequence of bytes that is base64 encoded.
# It is impossible to guess the plain-text form of the password
# from the representation. When user logs in, the entered password
# is transformed the same way and then compared with stored value.
#
# Default: false
#

services.JetspeedSecurity.secure.passwords=false

#
# This property lets you choose what digest algorithm will be used
# for encrypting passwords. Check documentation of your JRE for
# available algorithms.
#
# Default: SHA
#


RE: Group based PSML

2004-10-20 Thread Andy . Sun
Did you try the PSML reference? The user psml can have references to
different group psmls. We implemented this approach and used the security
setup to control the access to different group psml. One more advantage is
that you just need to update the group psml then every user can see it.
Otherwise you would need to update the change for every user psml for a
given group.
Andy

-Original Message-
From: chris holt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 20, 2004 12:14 PM
To: Jetspeed Users List
Subject: RE: Group based PSML


Actually,
I'm not interested in the merge but just the feature that a new user's
PSML file is copied from the group a user is part of.  Is that possible?
I don't mind if the user is part of a number of groups the PSML files
are merged because all of our users will be part of only one group.

Thanks for your reply.

Chris

-Original Message-
From: Dan Moore [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 20, 2004 1:01 PM
To: Jetspeed Users List
Subject: Re: Group based PSML


Hi Chris,

From the looks of it, there's no support for doing 'groupmerge' which is
what I think you want, based on the phrase 'assign new users their PSML
file based on groups instead of roles.'  You could probably hack
something together; look at the mergeRoleProfiles method of
org.apache.jetspeed.services.profiler.JetspeedProfilerService.

Is that type of behavior what you're looking for?  Or do you just want
users to be able to see things based on groups?  In that case, I think
you might want to look at references
(http://portals.apache.org/jetspeed-1/psml.html, under PSML References)
and forwards (http://portals.apache.org/jetspeed-1/forwards.html).

Dan

--- chris holt [EMAIL PROTECTED] wrote:

 By the looks of how PSML's can be assigned to new users it appears 
 that you could have group based PSML as well as role based.
 How would you configure jetspeed to assign new users their PSML file
 based on groups instead of roles?
  
 Thanks,
  
 Chris
 


-
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: Group based PSML

2004-10-20 Thread Andy . Sun
Check out the psml reference from the page
http://portals.apache.org/jetspeed-1/psml.html

The reference entry in your user psml probably will look like this:
reference id=P-feb74eb845-10002
path=role/user/media-type/html/page/default.psml
layout position=-1 size=-1
property name=column value=0/
property name=row value=0/
/layout
metainfo
descriptionReference to the Default User Page/description
titleYour title/title
 /metainfo
security-ref parent=user-view_admin-all/
/reference
There is also an example from the Jetspeed distribution. The
ref_example.psml exist in the jetspeed group psml. You can play around it to
see if that fits your requirement.
Andy
-Original Message-
From: chris holt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 20, 2004 1:33 PM
To: Jetspeed Users List
Subject: RE: Group based PSML


That behavior would be perfect.
Just to make sure I understand you correctly;
Your suggesting that I create a user's PSML file that does nothing more
than reference a group PSML file, correct?
We actually want the behavior that we can update the PSML and everybody
would see the change not just new users.

Thanks,

Chris

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 20, 2004 2:59 PM
To: [EMAIL PROTECTED]
Subject: RE: Group based PSML


Did you try the PSML reference? The user psml can have references to
different group psmls. We implemented this approach and used the
security setup to control the access to different group psml. One more
advantage is that you just need to update the group psml then every user
can see it. Otherwise you would need to update the change for every user
psml for a given group. Andy

-Original Message-
From: chris holt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 20, 2004 12:14 PM
To: Jetspeed Users List
Subject: RE: Group based PSML


Actually,
I'm not interested in the merge but just the feature that a new user's
PSML file is copied from the group a user is part of.  Is that possible?
I don't mind if the user is part of a number of groups the PSML files
are merged because all of our users will be part of only one group.

Thanks for your reply.

Chris

-Original Message-
From: Dan Moore [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 20, 2004 1:01 PM
To: Jetspeed Users List
Subject: Re: Group based PSML


Hi Chris,

From the looks of it, there's no support for doing 'groupmerge' which is
what I think you want, based on the phrase 'assign new users their PSML
file based on groups instead of roles.'  You could probably hack
something together; look at the mergeRoleProfiles method of
org.apache.jetspeed.services.profiler.JetspeedProfilerService.

Is that type of behavior what you're looking for?  Or do you just want
users to be able to see things based on groups?  In that case, I think
you might want to look at references
(http://portals.apache.org/jetspeed-1/psml.html, under PSML References)
and forwards (http://portals.apache.org/jetspeed-1/forwards.html).

Dan

--- chris holt [EMAIL PROTECTED] wrote:

 By the looks of how PSML's can be assigned to new users it appears
 that you could have group based PSML as well as role based.
 How would you configure jetspeed to assign new users their PSML file
 based on groups instead of roles?
  
 Thanks,
  
 Chris
 


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



Changing JSP portlet title on-the-fly

2004-08-23 Thread Andy . Sun
I have a jsp portlet that uses the buildNormalContext() in the action class
to build attributes for the template. Depending on the some variables in the
action class, the portlet title needs to be changed from one to the other. I
have tried different ways to implement the Portlet.setTitle method in my
buildNormalContext but nothing works for me yet. Am I doing this in the
wrong place or wrong way? Any helps will be appreciated.
Thanks
Andy

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



RE: Maven Plugin - Deploy VMs

2004-07-29 Thread Andy . Sun
For updating the vm and xreg file after initial deploy, I just manually copy
the file to the container (requiring bouncing the container for the xreg
file). I have never done that using Maven. I suppose you can write your own
goal in Maven to achieve that. If anyone else has done that before, I am all
ear.
Andy 

-Original Message-
From: Bob Fleischman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 8:03 PM
To: 'Jetspeed Users List'
Subject: RE: Maven Plugin - Deploy VMs


Thanks. I got that far and used Maven:Deploy. Which copies my XREG and VM
files.

My question is, after the initial deploy, if I modify the VM or XREG files
in Eclipse is there a quick way to redeploy these files. Jetspeed:hotdeploy
works for java files but not for templates and the conf directory.

Bob

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 7:13 PM
To: [EMAIL PROTECTED]
Subject: RE: Maven Plugin - Deploy VMs


I have been doing the similar thing for jetspeed 1.5. After you run the
maven jetspeed:genapp. Go to /myportal/src/webapp/WEB-INF/conf to
create your own xreg file. This new xreg file will be included in your
application war file. If you want to modify a xreg file from the Jetspeed
distribution, you can copy the original file to the same folder and modify
it. When you build your war file using Maven plugin, it will replace the one
from the Jetspeed distribution.
Similar approach can be used for the vm template as well. You need to
manually create the templates folder and its subfolder under the WEB-INF.
The folder structure will be the same as the Jetspeed's. Whatever you
modified will replace the original one from Jetspeed when it is built.
I did not dig too deep into how maven does it. As least this is what I
observe. Hopefully this helps.
Andy

-Original Message-
From: Bob Fleischman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 12:23 PM
To: Jetspeed Users List (E-mail)
Subject: Maven Plugin - Deploy VMs


Is there any way using the mavne plugin to deploy changes to VMs or XREG
files???

Thanks

Bob Fleischman



-
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: Maven Plugin - Deploy VMs

2004-07-28 Thread Andy . Sun
I have been doing the similar thing for jetspeed 1.5. After you run the
maven jetspeed:genapp. Go to /myportal/src/webapp/WEB-INF/conf to
create your own xreg file. This new xreg file will be included in your
application war file. If you want to modify a xreg file from the Jetspeed
distribution, you can copy the original file to the same folder and modify
it. When you build your war file using Maven plugin, it will replace the one
from the Jetspeed distribution.
Similar approach can be used for the vm template as well. You need to
manually create the templates folder and its subfolder under the WEB-INF.
The folder structure will be the same as the Jetspeed's. Whatever you
modified will replace the original one from Jetspeed when it is built. 
I did not dig too deep into how maven does it. As least this is what I
observe. Hopefully this helps.
Andy  

-Original Message-
From: Bob Fleischman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 12:23 PM
To: Jetspeed Users List (E-mail)
Subject: Maven Plugin - Deploy VMs


Is there any way using the mavne plugin to deploy changes to VMs or XREG
files???

Thanks

Bob Fleischman



-
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: Interportlet communication

2004-06-30 Thread Andy . Sun
We have been using the session variable to achieve the interportlet
communication.
Basically, your news portlet needs to get the request URL from the session
first. In your News title, the link will invoke the same request URL and
pass in the news url as an additional session variable. Your viewing portlet
should get the news url from the session and display the url.
We are using this approach in our JSP portlets and it works fine so far.
Hope this helps.
Andy

-Original Message-
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 4:08 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Interportlet communication 



Hello Everybody,

I have a JSP which is displaying the News Titles from mysql database.

When i click(titles should have a link) on a particular title the
corresponding description of news should be displayed(from datbase) in a
separete(another) portlet.

My Datbase is like this ::Table name -News

These are the columns in the news table ::

Title of News-Description of news-Date(News will be sorted by date)

I could display the JSP with news titles.I dont know how to manage
interportlet communication (one JSP to another JSP)..can anybody give
guidelines who had idea in this regard?.

Thank you,

Maruthi.

 



-
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!

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



RE: Hide portlets without roles

2004-06-30 Thread Andy . Sun
Which version of Jetspeed are you using?
The group access control is not implemented in 1.4 and lower. The 1.5
implements the group-role concept. With all users default to the User role,
you should be able to implement the group access control for the portlets.
Andy

-Original Message-
From: Sturtz, Andrew [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 10:04 AM
To: Jetspeed Users List
Subject: Hide portlets without roles


We are developing a portal in which we have several different groups of
users.  The different groups of users even see different versions of the
same portal ie. different logos, different titles, etc.  We do this
through the header of the URL of our portal.  Our problem is that no
matter what all the portlets are visible to all users.  I was wondering
if there is a way to make certain portlets available to some users and
other portlets available to other users without creating seperate roles
for each group of users.  Any suggestions would really help a whole lot.
Thanks

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



RE: Hide portlets without roles

2004-06-30 Thread Andy . Sun
If you really don't want to upgrade to 1.5, maybe you can check out how the
group-role is implemented in 1.5. The bug id is js1-432. I am not sure if
this is the easier route for you. If not, you might just have to use role to
represent a group in your security setup.
Andy

-Original Message-
From: Sturtz, Andrew [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 11:32 AM
To: Jetspeed Users List
Subject: RE: Hide portlets without roles


We are using version 1.4...is there a way to do this with that version
or are we stuck using roles and psmls?
THanks 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 1:20 PM
To: [EMAIL PROTECTED]
Subject: RE: Hide portlets without roles

Which version of Jetspeed are you using?
The group access control is not implemented in 1.4 and lower. The 1.5
implements the group-role concept. With all users default to the User
role, you should be able to implement the group access control for the
portlets.
Andy

-Original Message-
From: Sturtz, Andrew [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 10:04 AM
To: Jetspeed Users List
Subject: Hide portlets without roles


We are developing a portal in which we have several different groups of
users.  The different groups of users even see different versions of the
same portal ie. different logos, different titles, etc.  We do this
through the header of the URL of our portal.  Our problem is that no
matter what all the portlets are visible to all users.  I was wondering
if there is a way to make certain portlets available to some users and
other portlets available to other users without creating seperate roles
for each group of users.  Any suggestions would really help a whole lot.
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: Problems with Roles and Permissions

2004-06-30 Thread Andy . Sun
For your second problem, it is hard to say what happened based on the
information you provided. Anyhow, you can put in some debug statements
(using the jetspeed logger) in the PortletWraper class then check the output
in the jetspeed.log file. The checkPermission method in there will invoke
the AccessController class you choose in the JetspeedSecurity.properties
file. Default is the RegistryAccessController. You can put in debug
statements in the AccessController class if necessary. These should give you
enough information to tell you why your access control doesn't work.
Andy  

-Original Message-
From: Sturtz, Andrew [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 3:13 PM
To: [EMAIL PROTECTED]
Subject: Problems with Roles and Permissions


I am trying to divide users into two seperate groups using two different
roles and setting permissions for these roles to be able to view certain
portlets ie. one group with a role of A can see one set of portlets,
while users with the role of B can see another set of portlets.  The
problem that I am running into is that everytime a change a role of a
user I have to restart Tomcat for the changes to take effect.  Is this
normal behavior?  It doesn't seem so, because in a production
environment that would be very detrimental to the users already set up,
if throughout the day their portal would not be available to them
because it is constantly being restarted.  A second problem that I am
running into is that after I set the roles and add the permissions to my
security.xreg file and then add the security reference to the individual
portlets, the restricted portlets are still available to the users that
are not supposed to be able to see them.  Please help!!! :-( Thanks in
advance!

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



RE: I build from source. How to disable tests?

2004-05-19 Thread Andy . Sun
Try
maven -Dmaven.test.skip=true dist:install
Andy

-Original Message-
From: Vladislovas Razas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 8:28 AM
To: [EMAIL PROTECTED]
Subject: I build from source. How to disable tests?


I am not sure if those tests loop or anything but I am waiting for like 30
mins already... Painful. How could I disable tests when building:

maven war

Vladas

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



RE: Default Template

2004-05-06 Thread Andy . Sun
A new psml file is created for the new user based on the following property
in the JetSpeedResource.propterties file.
services.Profiler.newuser.template=some user
It is default to turbine right out of box. That means the new user will
get a copy of turbine's psml. If you want a user to see contents from the
group he/she belongs to, there are a couple of options I know of.
First, you can put a group reference on the default profile so the new user
will have it. You can use proper security setup to control the access. You
can also update the group's profile without affecting user's profile.
Or, you can try role merge. Treat your group as a role and have the role
psml setup the way you want. When you create a new user and assign a role to
the user, the role psml will be appended into user's psml. One of
shortcomings with this approach is that you would have to update every
user's psml if you want to change the just the role's profile. Once it is
part of user's profile, whatever you change in the role profile won't affect
the user profile anymore.
Hope this help.
Andy

-Original Message-
From: Jonathan Hawkins [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 8:15 AM
To: 'Jetspeed Users List'
Subject: Default Template


I have created a default template for a non-logged in user ok, copied the
required default.psml file to the anon user.

I also want a template for a new logged in user who belongs to a specific
group.

I created a new user and setup the portlets they would see, no problem,
copied the psml file from that user into the html directory for that group.
Whenever I create a new user I deselect them from the default Jetspeed group
and add them to the CedAr group, but when I log them in the portlets defined
for the Jetspeed group appear.

How do I get new users to use my portlets by default.

Cheers

Jon

-Original Message-
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: 06 May 2004 08:49
To: Jetspeed Users List
Subject: Re: Converting the existing application into portal framework


Dear Oliver,
you are right, but I was speaking of a one minute setup!

1. no portal context - isolated context (e .g user information have to be
submitted through url...not beautiful)
Usually, my webapps starts with a jsp retrieving user info from the portal
with proper tags.

2. no layout scheme from the portal
Correct, you have to adopt a compliant layout. It depends on webapp
complexity.

3. possibly a scrollbar hierarchy
It depends on webapp structure. Jsps + servlets work quite well since you
can define the IFramePortlet size and then
navigate inside.

Anyway, everybody got his way, and that's mine only! :-)

Cheers
Stefano

- Original Message - 
From: Oliver Pfau [EMAIL PROTECTED]
To: 'Jetspeed Users List' [EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 9:34 AM
Subject: AW: Converting the existing application into portal framework


Hi,

I am working on this problems, too. But when you use an iframe you have
significant disadvantages:

1. no portal context - isolated context (e .g user information have to be
submitted through url...not beautiful)
2. no layout scheme from the portal
3. possibly a scrollbar hierarchy

the minimal effort speaks for an usage of an iframe. but if you use
javascript or target=_top you possibly loose the context of the iframe and
your application is showed in a own browser window. Also newer browser
versions are required, too.

Greetings
O. Pfau


-Ursprüngliche Nachricht-
Von: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 6. Mai 2004 09:19
An: Jetspeed Users List
Betreff: Re: Converting the existing application into portal framework


Dear Karthik,
my personal experience for a quick setup:

use an IFramePortlet to host an external webapp inside Jetspeed

Everything seems integrated but you keep modules separated.
All my portal is setup this way.

Hope it helps somehow
Cheers,
Stefano


- Original Message - 
From: Karthik [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 9:24 AM
Subject: Converting the existing application into portal framework


Hi All,



I have just started to work on portal implementation of our Web Application
using Jetspeed-1.5.



My present scenario is:



 1. I have a working web application.

 2. I have to implement the portal concept into my web application.

 3. I have downloaded the Jetspeed1.5 war file and deployed into my
Application server (I'm using Jboss).



My doubts are:



 4. Now, how should I convert the existing application into individual
portlets and where should I deploy these portlets.

 5. Will my portlet application work independently or will I be required to
deploy my portlet application inside the  JetSpeed.



 Any help will be appreciated. Thanks in Advance.



Best regards,

Karthik.G




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.665 / Virus Database: 428 - Release Date: 

RE: JetSpeed LDAP Authentication INFO

2004-05-05 Thread Andy . Sun
Just to clarify. The cause of the bug JS1-458 is that the getRoles method in
NoRoleManagement returns a iterater of BaseJetspeedRole instead of
GroupRole. The setRoles method in CacheAcl expects a iterater of GroupRole
objects. 
The similar error happens for the LDAP integration because the
LDAPRoleManagement.getRoles() returns the LDAPRole. It seems that only the
TurbineRoleManagement is working now.
I believe the 1.5 LDAP issue has been brought up before in the mail list but
I am not sure if a bug is logged specifically for it.
Andy

-Original Message-
From: Seregni Fabio [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004 9:58 AM
To: Jetspeed Users List
Subject: Re: JetSpeed LDAP Authentication INFO


 I'll try with 1.4 release

Thanks
Fabios

[EMAIL PROTECTED] wrote:

This is a new bug introduced in 1.5 release. 
See http://nagoya.apache.org/jira/browse/JS1-458
Andy

-Original Message-
From: Seregni Fabio [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004 9:39 AM
To: [EMAIL PROTECTED]
Subject: JetSpeed LDAP Authentication INFO


Hi , I'm a newbie .
I've tried to setup JetSpeed LDAP Authentication using the guidelines 
included in the Jetspeed's sources.(ldap-notes.txt)
It doesn't work.
When I try to LogOn in JetSpeed , it gives me the following error :

java.lang.ClassCastException
   at 
org.apache.jetspeed.services.security.CachedAcl.setRoles(CachedAcl.java:151
)


   at 
org.apache.jetspeed.services.security.SecurityCacheImpl.load(SecurityCacheI
m
pl.java:77) 

   at 
org.apache.jetspeed.services.security.JetspeedSecurityCache.load(JetspeedSe
c
urityCache.java:66) 

   at 
org.apache.jetspeed.services.security.ldap.LDAPAuthentication.getAnonymousU
s
er(LDAPAuthentication.java:154) 

   at 
org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jetspe
e
dAuthentication.java:64) 

   at 
org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSecu
r
ity.java:134) 

   at 
org.apache.jetspeed.modules.actions.JLoginUser.doPerform(JLoginUser.java:22
2
) 

   at org.apache.turbine.modules.ActionEvent.perform(ActionEvent.java:148)
   at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
   at org.apache.turbine.Turbine.doGet(Turbine.java:509)
   at org.apache.turbine.Turbine.doPost(Turbine.java:658)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
n
FilterChain.java:284) 

   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
h
ain.java:204) 

   at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
a
va:257) 

   at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
x
t.java:151) 

   at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
   at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContex
t
Valve.java:245) 

   at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
a
va:199) 

   at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
x
t.java:151) 

   at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
   at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:19
5
) 

   at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
x
t.java:151) 

   at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:16
4
) 

   at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
x
t.java:149) 

   at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
   at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
a
:156) 

   at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte
x
t.java:151) 

   at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
   at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
   at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
   at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
e
ction(Http11Protocol.java:700) 

   at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
v
a:683) 

  at java.lang.Thread.run(Thread.java:534)


And in the jetspeed.log :
java.lang.NullPointerException
  at 
org.apache.jetspeed.om.security.ldap.LDAPUser.getUserId(LDAPUser.java:299)
  at 
org.apache.jetspeed.om.security.ldap.LDAPUser.setUserId(LDAPUser.java:313)
  at 
org.apache.jetspeed.om.security.ldap.LDAPUser.fillObject(LDAPUser.java:180)
  at