RE: importing PSML into the database - where do I put the driver?

2005-03-16 Thread Roel van Dijk
 -Oorspronkelijk bericht-
 Van: Roel van Dijk [mailto:[EMAIL PROTECTED]
 Verzonden: Tuesday, March 15, 2005 2:03 PM
 Aan: Jetspeed Users List
 Onderwerp: importing PSML into the database - where do I put the driver?


 So here is the big question: where should I put the MySQL-Driver
 JAR file so that the combination of Maven and Torque can find it?

[note: I'm using 1.6-dev from CVS]

I asked this question yesterday, but got no reply. I've been working on it
all day yesterday, but couldn't find it. A new day, a new insight. Here is
the solution to my problem.

Since the PsmlImporter and related classes couldn't find the JDBC driver, I
edited the PsmlImporter source file to print out the classpath it was using.
Apparently it was looking in the ~/.maven/repository/ directory for all the
JAR files. Looking around a bit in the Jetspeed source root directory, those
directories were mentioned in a couple of files. First, in the .classpath
file, and next in the project.xml file (and those included there from the
./etc/project-dependencies/ directory). First, I put the MySQL JDBC JAR file
in my maven repository. Then I tried editing the .classpath file, which
didn't help. Finally I added another file to the project-dependencies
directory and included it in project.xml. Success!

So here's what I did:

1. Add the driver JAR to your Maven repository. I made a subdir
~/.maven/repository/mysql/jars/ and copied the
mysql-connector-java-3.1.7-bin.jar there.

2. Make a mysql.xml in ./etc/project-dependencies/, containing this:

!--MySQL dependencies--
dependency
idmysql:mysql-connector-java/id
version3.1.7-bin/version
properties
war.bundletrue/war.bundle
/properties
/dependency

3. Import this mysql.xml in the project.xml file by adding this line at the
start of the dependencies section:
mysql;

4. Rebuild.

5. the 'maven import' command now works.

I guess the same procedure works for other database drivers.

Roel van Dijk
Forest  Fields






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



Failed to retrieve user 'anon'. ORA-00904: invalid name of column

2005-03-16 Thread Molina Pablo (teampro)
Hi people!
 
I have this exception below when trying to open my JetSpeed
portal web. By now I'm just using the users and roles from JetSpeed
distribution. I was having a look on the database DDL I created over Oracle
8i, and it seems to be ok. In fact, my problem is not concerned to
PASSWORD_CHANGED, cause I have DATE datatype. I am using the 1.6-dev schema
for creatingthe database, while the jetspeed engine is 1.5.
Furthermore I set up PSML to be retrieved from the database,
cause I had already done the import from the PSML in the file system. 
 
INFO (JetspeedLogger.java:157) - 2005-03-16 12:39:58,031 ERROR
(JetspeedLogger.java:157) - Failed to retrieve user 'anon'
java.sql.SQLException: ORA-00904: nombre de columna no válido
  at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
  at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
  at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
  at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
  at
oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:643)
  at
oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1674)
  at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
:1870)
  at
oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:538)
  at
org.jboss.resource.adapter.jdbc.WrappedStatement.executeQuery(WrappedStateme
nt.java:250)
  at com.workingdogs.village.QueryDataSet.init(Unknown Source)
  at org.apache.torque.util.BasePeer.executeQuery(BasePeer.java:1539)
  at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1391)
  at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1368)
  at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.doSelectVillageR
ecords(BaseTurbineUserPeer.java:421)
  at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.doSelectVillageR
ecords(BaseTurbineUserPeer.java:389)
  at
org.apache.jetspeed.om.security.turbine.TurbineUserPeer.doSelectUsers(Turbin
eUserPeer.java:70)
  at
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUser(
TurbineUserManagement.java:149)
  at
org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserMana
gement.java:59)
  at
com.gepinsoft.portal.amena.services.security.turbine.AmenaAuthentication.get
AnonymousUser(AmenaAuthentication.java:234)
  at
org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jetspee
dAuthentication.java:64)
  at
org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSecur
ity.java:134)
  at
org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(Templ
ateSessionValidator.java:59)
  at
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Jetsp
eedSessionValidator.java:76)
  at org.apache.turbine.modules.Action.perform(Action.java:87)
  at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
  at org.apache.turbine.Turbine.doGet(Turbine.java:521)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
...
 
  What is the problem then? 
 
Thank you very much for your help.
 
Best regards, 
 
Pablo


searching a Spring Portlet example [Deutsche Boerse Systems:Virus checked]

2005-03-16 Thread Matthias . Koch
Hi

I still search for a Spring applikation witch run as a portlet under
jetspeed2.

I  have tried to get the petclinic, countries and sample MVC  Spring
applications to run as portlets but without success.
searching for the sample application:
com.manning.enterpriseportals.portlets.chapter8.finance.ClientInfoBean

from the config sample was also without succuess.

may be someone have a little example for me, it can be very small (Hello
Spring Portlet)

Thank you very much

mfg Matthias
-
Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte
Informationen.
Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren
dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
ist nicht gestattet.

The information contained in this message is confidential or protected by
law. If you are not the intended recipient, please contact the sender and
delete this message. Any unauthorised copying of this message or
unauthorised distribution of the information contained herein is
prohibited.




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



RE: searching a Spring Portlet example [Deutsche Boerse Systems:Virus checked]

2005-03-16 Thread Shah Amit
I have a small example using spring to manage my business logic classes, and 
they are called by struts action classes.

I will mail you that once I package everything up.
Amit
Original Message Follows
From: [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: jetspeed-user@jakarta.apache.org
Subject: searching a Spring Portlet example [Deutsche Boerse Systems:Virus 
checked]
Date: Wed, 16 Mar 2005 14:50:29 +0100

Hi
I still search for a Spring applikation witch run as a portlet under
jetspeed2.
I  have tried to get the petclinic, countries and sample MVC  Spring
applications to run as portlets but without success.
searching for the sample application:
com.manning.enterpriseportals.portlets.chapter8.finance.ClientInfoBean
from the config sample was also without succuess.
may be someone have a little example for me, it can be very small (Hello
Spring Portlet)
Thank you very much
mfg Matthias
-
Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte
Informationen.
Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren
dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
ist nicht gestattet.
The information contained in this message is confidential or protected by
law. If you are not the intended recipient, please contact the sender and
delete this message. Any unauthorised copying of this message or
unauthorised distribution of the information contained herein is
prohibited.

-
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: searching a Spring Portlet example [Deutsche Boerse Systems:V irus checked]

2005-03-16 Thread Molina Pablo (teampro)
Dear Shah,

Could you please forward that Project to me, too? It would be very
helpful cause it is our idea for some next projects.

Thank you very much,

Pablo Molina

-Mensaje original-
De: Shah Amit [mailto:[EMAIL PROTECTED] 
Enviado el: miércoles, 16 de marzo de 2005 15:01
Para: jetspeed-user@jakarta.apache.org
Asunto: RE: searching a Spring Portlet example [Deutsche Boerse
Systems:Virus checked]

I have a small example using spring to manage my business logic classes, and

they are called by struts action classes.

I will mail you that once I package everything up.

Amit

Original Message Follows
From: [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: jetspeed-user@jakarta.apache.org
Subject: searching a Spring Portlet example [Deutsche Boerse Systems:Virus 
checked]
Date: Wed, 16 Mar 2005 14:50:29 +0100

Hi

I still search for a Spring applikation witch run as a portlet under
jetspeed2.

I  have tried to get the petclinic, countries and sample MVC  Spring
applications to run as portlets but without success.
searching for the sample application:
com.manning.enterpriseportals.portlets.chapter8.finance.ClientInfoBean

from the config sample was also without succuess.

may be someone have a little example for me, it can be very small (Hello
Spring Portlet)

Thank you very much

mfg Matthias
-
Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte
Informationen.
Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren
dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
ist nicht gestattet.

The information contained in this message is confidential or protected by
law. If you are not the intended recipient, please contact the sender and
delete this message. Any unauthorised copying of this message or
unauthorised distribution of the information contained herein is
prohibited.




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



AW: searching a Spring Portlet example [Deutsche Boerse Systems:V irus checked]

2005-03-16 Thread Dulisch, Martin
Hi Matthias,

in the spring sandbox you can find some portlet support. I have it running
with jetspeed 2. Search the spring forums to find some documentation.
Examples are also there. Sorry I dont have the link available. 

-Martin

 
 Hi
 
 I still search for a Spring applikation witch run as a portlet under
 jetspeed2.
 
 I  have tried to get the petclinic, countries and sample MVC  Spring
 applications to run as portlets but without success.
 searching for the sample application:
 com.manning.enterpriseportals.portlets.chapter8.finance.ClientInfoBean
 
 from the config sample was also without succuess.
 
 may be someone have a little example for me, it can be very 
 small (Hello
 Spring Portlet)
 
 Thank you very much
 
 mfg Matthias
 --
 ---
 Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte
 Informationen.
 Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren 
 Sie bitte
 sofort den Absender und loeschen Sie diese E-Mail. Das 
 unbefugte Kopieren
 dieser E-Mail oder die unbefugte Weitergabe der enthaltenen 
 Informationen
 ist nicht gestattet.
 
 The information contained in this message is confidential or 
 protected by
 law. If you are not the intended recipient, please contact 
 the sender and
 delete this message. Any unauthorised copying of this message or
 unauthorised distribution of the information contained herein is
 prohibited.
 
 
 
 
 -
 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: searching a Spring Portlet example [Deutsche Boerse Systems:Virus checked]

2005-03-16 Thread Shah Amit
Hi all,
I am so sorry for the confusion. When I said I have application, I only use 
spring IOC feature. I dont use the spring web layer. I use struts framework 
and the struts-bridge that ships with jetspeed.

Thanks,
Amit
Original Message Follows
From: Scott T Weaver [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: 'Jetspeed Users List' jetspeed-user@jakarta.apache.org
Subject: RE: searching a Spring Portlet example [Deutsche Boerse 
Systems:Virus checked]
Date: Wed, 16 Mar 2005 09:20:04 -0500

For the Spring web layer to work correctly within a portlet would require a
bridge to be built, like the one that is available for Struts in the Bridges
project.  At the start of the Bridges project I posted a message on the
Spring user's list asking for participation but it appeared that that call
fell on deaf ears :(
You may want to post on the Spring user's list and see if anyone has written
any JSR-168 portlets using the Spring web layer.
Regards,
Scott
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 16, 2005 8:50 AM
 To: jetspeed-user@jakarta.apache.org
 Subject: searching a Spring Portlet example [Deutsche Boerse 
Systems:Virus
 checked]

 Hi

 I still search for a Spring applikation witch run as a portlet under
 jetspeed2.

 I  have tried to get the petclinic, countries and sample MVC  Spring
 applications to run as portlets but without success.
 searching for the sample application:
 com.manning.enterpriseportals.portlets.chapter8.finance.ClientInfoBean

 from the config sample was also without succuess.

 may be someone have a little example for me, it can be very small (Hello
 Spring Portlet)

 Thank you very much

 mfg Matthias
 -
 Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte
 Informationen.
 Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
 sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren
 dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
 ist nicht gestattet.

 The information contained in this message is confidential or protected by
 law. If you are not the intended recipient, please contact the sender and
 delete this message. Any unauthorised copying of this message or
 unauthorised distribution of the information contained herein is
 prohibited.




 -
 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: searching a Spring Portlet example [Deutsche Boerse Systems:V irus checked]

2005-03-16 Thread Molina Pablo (teampro)
Hi Amit,

That's exactly what i am interested in. Therefore, if you could send me that
application, it would be perfect for me.

Thanks,

Pablo

-Mensaje original-
De: Shah Amit [mailto:[EMAIL PROTECTED] 
Enviado el: miércoles, 16 de marzo de 2005 15:28
Para: jetspeed-user@jakarta.apache.org
Asunto: RE: searching a Spring Portlet example [Deutsche Boerse
Systems:Virus checked]

Hi all,

I am so sorry for the confusion. When I said I have application, I only use 
spring IOC feature. I dont use the spring web layer. I use struts framework 
and the struts-bridge that ships with jetspeed.

Thanks,
Amit

Original Message Follows
From: Scott T Weaver [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: 'Jetspeed Users List' jetspeed-user@jakarta.apache.org
Subject: RE: searching a Spring Portlet example [Deutsche Boerse 
Systems:Virus checked]
Date: Wed, 16 Mar 2005 09:20:04 -0500

For the Spring web layer to work correctly within a portlet would require a
bridge to be built, like the one that is available for Struts in the Bridges
project.  At the start of the Bridges project I posted a message on the
Spring user's list asking for participation but it appeared that that call
fell on deaf ears :(

You may want to post on the Spring user's list and see if anyone has written
any JSR-168 portlets using the Spring web layer.

Regards,
Scott

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, March 16, 2005 8:50 AM
  To: jetspeed-user@jakarta.apache.org
  Subject: searching a Spring Portlet example [Deutsche Boerse 
Systems:Virus
  checked]
 
  Hi
 
  I still search for a Spring applikation witch run as a portlet under
  jetspeed2.
 
  I  have tried to get the petclinic, countries and sample MVC  Spring
  applications to run as portlets but without success.
  searching for the sample application:
  com.manning.enterpriseportals.portlets.chapter8.finance.ClientInfoBean
 
  from the config sample was also without succuess.
 
  may be someone have a little example for me, it can be very small (Hello
  Spring Portlet)
 
  Thank you very much
 
  mfg Matthias
  -
  Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte
  Informationen.
  Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
  sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren
  dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
  ist nicht gestattet.
 
  The information contained in this message is confidential or protected by
  law. If you are not the intended recipient, please contact the sender and
  delete this message. Any unauthorised copying of this message or
  unauthorised distribution of the information contained herein is
  prohibited.
 
 
 
 
  -
  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: searching a Spring Portlet example [Deutsche Boerse Systems:Virus checked]

2005-03-16 Thread massimiliano
I think that the best solution it's Spring work with Pluto
to call the setter of the  eventual method of the portlet (datasource etc),
otherwise, Spring work at 30% of the possibility, only for the web-layer,
introducing another level not necessary if the view technologies is a Jsp or
Velocity
(normal work for Jetspeed) or if a special features of Spring MVC (Wizard
Controllers) is not required.


- Original Message - 
From: Scott T Weaver [EMAIL PROTECTED]
To: 'Jetspeed Users List' jetspeed-user@jakarta.apache.org
Sent: Wednesday, March 16, 2005 3:20 PM
Subject: RE: searching a Spring Portlet example [Deutsche Boerse
Systems:Virus checked]


 For the Spring web layer to work correctly within a portlet would require
a
 bridge to be built, like the one that is available for Struts in the
Bridges
 project.  At the start of the Bridges project I posted a message on the
 Spring user's list asking for participation but it appeared that that call
 fell on deaf ears :(

 You may want to post on the Spring user's list and see if anyone has
written
 any JSR-168 portlets using the Spring web layer.

 Regards,
 Scott

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, March 16, 2005 8:50 AM
  To: jetspeed-user@jakarta.apache.org
  Subject: searching a Spring Portlet example [Deutsche Boerse
Systems:Virus
  checked]
 
  Hi
 
  I still search for a Spring applikation witch run as a portlet under
  jetspeed2.
 
  I  have tried to get the petclinic, countries and sample MVC  Spring
  applications to run as portlets but without success.
  searching for the sample application:
  com.manning.enterpriseportals.portlets.chapter8.finance.ClientInfoBean
 
  from the config sample was also without succuess.
 
  may be someone have a little example for me, it can be very small (Hello
  Spring Portlet)
 
  Thank you very much
 
  mfg Matthias



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



RE: searching a Spring Portlet example [Deutsche Boerse Systems:Virus checked]

2005-03-16 Thread Matthias . Koch
Hi Shah,

no problem, my be you can send me this appilication, it should help a
little bit.

thank you.

mfg Matthias




 

 
Shah Amit   To:   
jetspeed-user@jakarta.apache.org.   
 
[EMAIL PROTECTED]   cc:   (bcc: Matthias Koch/ENTORY/GDB)  

mSubject:RE: searching a Spring 
Portlet example [Deutsche Boerse
 Systems:Virus checked] 
 
16.03.2005 15:28
 
Please respond to   
 
Jetspeed Users List   
 

 

 



Hi all,

I am so sorry for the confusion. When I said I have application, I only use

spring IOC feature. I dont use the spring web layer. I use struts framework

and the struts-bridge that ships with jetspeed.

Thanks,
Amit

Original Message Follows
From: Scott T Weaver [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: 'Jetspeed Users List' jetspeed-user@jakarta.apache.org
Subject: RE: searching a Spring Portlet example [Deutsche Boerse
Systems:Virus checked]
Date: Wed, 16 Mar 2005 09:20:04 -0500

For the Spring web layer to work correctly within a portlet would require a
bridge to be built, like the one that is available for Struts in the
Bridges
project.  At the start of the Bridges project I posted a message on the
Spring user's list asking for participation but it appeared that that call
fell on deaf ears :(
You may want to post on the Spring user's list and see if anyone has
written
any JSR-168 portlets using the Spring web layer.

Regards,
Scott

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, March 16, 2005 8:50 AM
  To: jetspeed-user@jakarta.apache.org
  Subject: searching a Spring Portlet example [Deutsche Boerse
Systems:Virus
  checked]
 
  Hi
 
  I still search for a Spring applikation witch run as a portlet under
  jetspeed2.
 
  I  have tried to get the petclinic, countries and sample MVC  Spring
  applications to run as portlets but without success.
  searching for the sample application:
  com.manning.enterpriseportals.portlets.chapter8.finance.ClientInfoBean
 
  from the config sample was also without succuess.
 
  may be someone have a little example for me, it can be very small (Hello
  Spring Portlet)
 
  Thank you very much
 
  mfg Matthias
 
-
  Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte
  Informationen.
  Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
  sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte
Kopieren
  dieser E-Mail oder die unbefugte Weitergabe der enthaltenen
Informationen
  ist nicht gestattet.
 
  The information contained in this message is confidential or protected
by
  law. If you are not the intended recipient, please contact the sender
and
  delete this message. Any unauthorised copying of this message or
  unauthorised distribution of the information contained herein is
  prohibited.
 
 
 
 
  -
  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]




-
Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte
Informationen.
Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
sofort den Absender und loeschen Sie 

RE: searching a Spring Portlet example [Deutsche Boerse Systems:Virus checked]

2005-03-16 Thread Matthias . Koch
Hi Shah,

this will be very usefull, thank you for your help.

mfg Matthias




 

 
Shah Amit   To:   
jetspeed-user@jakarta.apache.org.   
 
[EMAIL PROTECTED]   cc:   (bcc: Matthias Koch/ENTORY/GDB)  

mSubject:RE: searching a Spring 
Portlet example [Deutsche Boerse
 Systems:Virus checked] 
 
16.03.2005 15:00
 
Please respond to   
 
Jetspeed Users List   
 

 

 



I have a small example using spring to manage my business logic classes,
and
they are called by struts action classes.

I will mail you that once I package everything up.

Amit

Original Message Follows
From: [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: jetspeed-user@jakarta.apache.org
Subject: searching a Spring Portlet example [Deutsche Boerse Systems:Virus
checked]
Date: Wed, 16 Mar 2005 14:50:29 +0100

Hi

I still search for a Spring applikation witch run as a portlet under
jetspeed2.

I  have tried to get the petclinic, countries and sample MVC  Spring
applications to run as portlets but without success.
searching for the sample application:
com.manning.enterpriseportals.portlets.chapter8.finance.ClientInfoBean

from the config sample was also without succuess.

may be someone have a little example for me, it can be very small (Hello
Spring Portlet)

Thank you very much

mfg Matthias
-
Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte
Informationen.
Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren
dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
ist nicht gestattet.

The information contained in this message is confidential or protected by
law. If you are not the intended recipient, please contact the sender and
delete this message. Any unauthorised copying of this message or
unauthorised distribution of the information contained herein is
prohibited.




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




-
Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte
Informationen.
Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren
dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
ist nicht gestattet.

The information contained in this message is confidential or protected by
law. If you are not the intended recipient, please contact the sender and
delete this message. Any unauthorised copying of this message or
unauthorised distribution of the information contained herein is
prohibited.




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



Re: AW: searching a Spring Portlet example [Deutsche Boerse Systems:Virus checked]

2005-03-16 Thread apache
Ich würde den Betreff noch breiter machen!

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 16. März 2005 15:29
An: Jetspeed Users List
Betreff: RE: searching a Spring Portlet example [Deutsche Boerse
Systems:Virus checked]


Hi Shah,

this will be very usefull, thank you for your help.

mfg Matthias



 

 

Shah Amit   To:
jetspeed-user@jakarta.apache.org.

[EMAIL PROTECTED]   cc:   (bcc: Matthias
Koch/ENTORY/GDB)

mSubject:RE: searching a Spring
Portlet example [Deutsche Boerse
 Systems:Virus checked]

16.03.2005 15:00

Please respond to

Jetspeed Users List

 

 




I have a small example using spring to manage my business logic classes,
and
they are called by struts action classes.

I will mail you that once I package everything up.

Amit

Original Message Follows
From: [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: jetspeed-user@jakarta.apache.org
Subject: searching a Spring Portlet example [Deutsche Boerse Systems:Virus
checked]
Date: Wed, 16 Mar 2005 14:50:29 +0100

Hi

I still search for a Spring applikation witch run as a portlet under
jetspeed2.

I  have tried to get the petclinic, countries and sample MVC  Spring
applications to run as portlets but without success.
searching for the sample application:
com.manning.enterpriseportals.portlets.chapter8.finance.ClientInfoBean

from the config sample was also without succuess.

may be someone have a little example for me, it can be very small (Hello
Spring Portlet)

Thank you very much

mfg Matthias
-
Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte
Informationen.
Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren
dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
ist nicht gestattet.

The information contained in this message is confidential or protected by
law. If you are not the intended recipient, please contact the sender and
delete this message. Any unauthorised copying of this message or
unauthorised distribution of the information contained herein is
prohibited.




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




-
Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte
Informationen.
Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren
dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
ist nicht gestattet.

The information contained in this message is confidential or protected by
law. If you are not the intended recipient, please contact the sender and
delete this message. Any unauthorised copying of this message or
unauthorised distribution of the information contained herein is
prohibited.




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



Spring - JSF/MyFaces SpringPortlet example [Deutsche Boerse Systems:Virus checked]

2005-03-16 Thread Matthias . Koch
Hi,

because it seems that there is no working Spring-Spring Weblayer example
available,
maybe someone have a example Spring application witch uses JSF/MyFces or
the Spring-Portlet as Weblayer and is configured to work as a portlet into
jetspeed 2?

thanks

mfg Matthias
-
Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte
Informationen.
Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren
dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
ist nicht gestattet.

The information contained in this message is confidential or protected by
law. If you are not the intended recipient, please contact the sender and
delete this message. Any unauthorised copying of this message or
unauthorised distribution of the information contained herein is
prohibited.




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



submit form in struts-portlet

2005-03-16 Thread Thomas . Koch
hi !

my problem is, that the following formular  doesn't work in a portlet 
(with struts-bridge).
i get no errors, only a white page. when i use the portlet as single app 
it also works fine.

which way my link have to go to submit the form to my action ?
i think, that the JS is the problem, isnt it ?
the link:html-p:link action=/kundeSearch.dotest/html-p:link works 
fine, but i hav no form in my action, of course...



i had a formular like this in my struts-app:

html:form action=/kundeSave styleId=EDITFORM
html:hidden property=kunde.kunde.pk/


...
/html:form
 

and a save button like this:


html:link styleClass=button 
href=javascript:submitForm();save/html:link


and at last a JS-funcion like this:

function submitForm()
{ 
if(checkRequiredFields()){
if(checkUsername()){
 document.getElementById(EDITFORM).submit();
}
}
}




thank for every help

thomas

Re: submit form in struts-portlet

2005-03-16 Thread Jeff Sheets
Make sure you are using the struts-portlet form tag, so you may need
your html-p instead of just html.

The javascript looks ok, but I usually access my forms by saying:

href=javascript:submitForm(this.form);

Then in your javascript you can just do something like

function submitForm(theForm) { theForm.submit(); }


On Wed, 16 Mar 2005 16:31:45 +0100, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 hi !
 
 my problem is, that the following formular  doesn't work in a portlet
 (with struts-bridge).
 i get no errors, only a white page. when i use the portlet as single app
 it also works fine.
 
 which way my link have to go to submit the form to my action ?
 i think, that the JS is the problem, isnt it ?
 the link:html-p:link action=/kundeSearch.dotest/html-p:link works
 fine, but i hav no form in my action, of course...
 
 i had a formular like this in my struts-app:
 
 html:form action=/kundeSave styleId=EDITFORM
 html:hidden property=kunde.kunde.pk/
 
 
 ...
 /html:form
 
 and a save button like this:
 
 html:link styleClass=button
 href=javascript:submitForm();save/html:link
 
 and at last a JS-funcion like this:
 
 function submitForm()
 {
 if(checkRequiredFields()){
 if(checkUsername()){
  document.getElementById(EDITFORM).submit();
 }
 }
 }
 
 thank for every help
 
 thomas


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



Re: submit form in struts-portlet

2005-03-16 Thread Hema Menon
Jeff,

Is this required with Struts-bridges 0.2? I thought it applies only
for 0.1 version.

Thanks,
Hema


On Wed, 16 Mar 2005 09:46:28 -0600, Jeff Sheets [EMAIL PROTECTED] wrote:
 Make sure you are using the struts-portlet form tag, so you may need
 your html-p instead of just html.
 
 The javascript looks ok, but I usually access my forms by saying:
 
 href=javascript:submitForm(this.form);
 
 Then in your javascript you can just do something like
 
 function submitForm(theForm) { theForm.submit(); }
 
 On Wed, 16 Mar 2005 16:31:45 +0100, [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  hi !
 
  my problem is, that the following formular  doesn't work in a portlet
  (with struts-bridge).
  i get no errors, only a white page. when i use the portlet as single app
  it also works fine.
 
  which way my link have to go to submit the form to my action ?
  i think, that the JS is the problem, isnt it ?
  the link:html-p:link action=/kundeSearch.dotest/html-p:link works
  fine, but i hav no form in my action, of course...
 
  i had a formular like this in my struts-app:
 
  html:form action=/kundeSave styleId=EDITFORM
  html:hidden property=kunde.kunde.pk/
 
  
  ...
  /html:form
 
  and a save button like this:
 
  html:link styleClass=button
  href=javascript:submitForm();save/html:link
 
  and at last a JS-funcion like this:
 
  function submitForm()
  {
  if(checkRequiredFields()){
  if(checkUsername()){
   document.getElementById(EDITFORM).submit();
  }
  }
  }
 
  thank for every help
 
  thomas
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 


~~
Hema Menon

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



Re: submit form in struts-portlet

2005-03-16 Thread Jeff Sheets
Very good point.  You can use the html version if you set your web.xml
to use the bridges html version instead of the struts one.  I only
pointed this out because earlier in his email he had used html-p and
later he only used html, so I'm assuming that he hasn't switched his
web.xml like you or I.



On Wed, 16 Mar 2005 09:49:33 -0600, Hema Menon [EMAIL PROTECTED] wrote:
 Jeff,
 
 Is this required with Struts-bridges 0.2? I thought it applies only
 for 0.1 version.
 
 Thanks,
 Hema
 
 
 On Wed, 16 Mar 2005 09:46:28 -0600, Jeff Sheets [EMAIL PROTECTED] wrote:
  Make sure you are using the struts-portlet form tag, so you may need
  your html-p instead of just html.
 
  The javascript looks ok, but I usually access my forms by saying:
 
  href=javascript:submitForm(this.form);
 
  Then in your javascript you can just do something like
 
  function submitForm(theForm) { theForm.submit(); }
 
  On Wed, 16 Mar 2005 16:31:45 +0100, [EMAIL PROTECTED]
  [EMAIL PROTECTED] wrote:
   hi !
  
   my problem is, that the following formular  doesn't work in a portlet
   (with struts-bridge).
   i get no errors, only a white page. when i use the portlet as single app
   it also works fine.
  
   which way my link have to go to submit the form to my action ?
   i think, that the JS is the problem, isnt it ?
   the link:html-p:link action=/kundeSearch.dotest/html-p:link works
   fine, but i hav no form in my action, of course...
  
   i had a formular like this in my struts-app:
  
   html:form action=/kundeSave styleId=EDITFORM
   html:hidden property=kunde.kunde.pk/
  
   
   ...
   /html:form
  
   and a save button like this:
  
   html:link styleClass=button
   href=javascript:submitForm();save/html:link
  
   and at last a JS-funcion like this:
  
   function submitForm()
   {
   if(checkRequiredFields()){
   if(checkUsername()){
document.getElementById(EDITFORM).submit();
   }
   }
   }
  
   thank for every help
  
   thomas
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 --
 
 ~~
 Hema Menon


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



Re: importing PSML into the database - where do I put the driver?

2005-03-16 Thread David Sean Taylor
Roel van Dijk wrote:
-Oorspronkelijk bericht-
Van: Roel van Dijk [mailto:[EMAIL PROTECTED]
Verzonden: Tuesday, March 15, 2005 2:03 PM
Aan: Jetspeed Users List
Onderwerp: importing PSML into the database - where do I put the driver?
So here is the big question: where should I put the MySQL-Driver
JAR file so that the combination of Maven and Torque can find it?

[note: I'm using 1.6-dev from CVS]
org.apache.jetspeed.test.jdbc.j1.drivers.path:
goal name=import prereqs=java:compile
description=Import PSML
java fork=true 
classname=org.apache.jetspeed.services.psmlmanager.PsmlImporter 
!-- comment this out to preserve existing profiles --
arg value=false/
  classpath
path refid=maven.dependency.classpath/
pathelement path=${maven.build.dest}/
pathelement 
path=${org.apache.jetspeed.test.jdbc.j1.drivers.path}/
pathelement 
path=${org.apache.jetspeed.test.jdbc.j1.drivers.path2}/
pathelement 
path=${org.apache.jetspeed.test.jdbc.j1.drivers.path3}/
  /classpath
/java
/goal

 --
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: Graffito - Jetspeed CMS framework

2005-03-16 Thread David Sean Taylor
Fabrice Dewasmes wrote:
Hi,
This is great news. My first question would be : do you think it can 
work within JS1 with fusion ?
Graffito (and Graffito portlets) will run inside Fusion.
Just need to add the Graffito components to the Spring configuration
--
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: importing PSML into the database - where do I put the driver?

2005-03-16 Thread Molina Pablo (teampro)
Wherever it is, just add it as a dependency within the project.xml file:

If the .jar file is named mysql-driver-1.0.1.jar, then

dependency
idmysql-driver/id
version1.0.1/version
/dependency

and that's it! Run maven and it will access the driver.

Regards,
Pablo

-Mensaje original-
De: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Enviado el: miércoles, 16 de marzo de 2005 16:55
Para: Jetspeed Users List
Asunto: Re: importing PSML into the database - where do I put the driver?

Roel van Dijk wrote:
-Oorspronkelijk bericht-
Van: Roel van Dijk [mailto:[EMAIL PROTECTED]
Verzonden: Tuesday, March 15, 2005 2:03 PM
Aan: Jetspeed Users List
Onderwerp: importing PSML into the database - where do I put the driver?


So here is the big question: where should I put the MySQL-Driver
JAR file so that the combination of Maven and Torque can find it?

 
 [note: I'm using 1.6-dev from CVS]

org.apache.jetspeed.test.jdbc.j1.drivers.path:

 goal name=import prereqs=java:compile
 description=Import PSML

 java fork=true 
classname=org.apache.jetspeed.services.psmlmanager.PsmlImporter 
 !-- comment this out to preserve existing profiles --
 arg value=false/
   classpath
 path refid=maven.dependency.classpath/
 pathelement path=${maven.build.dest}/
 pathelement 
path=${org.apache.jetspeed.test.jdbc.j1.drivers.path}/
 pathelement 
path=${org.apache.jetspeed.test.jdbc.j1.drivers.path2}/
 pathelement 
path=${org.apache.jetspeed.test.jdbc.j1.drivers.path3}/
   /classpath
 /java
 /goal


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

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



RE: importing PSML into the database - where do I put the driver?

2005-03-16 Thread Roel van Dijk
Read my last post, it describes this in detail, I figured it out myself ;-)

But thanks, anyway.

Roel


 -Oorspronkelijk bericht-
 Van: Molina Pablo (teampro) [mailto:[EMAIL PROTECTED]
 Verzonden: Wednesday, March 16, 2005 5:00 PM
 Aan: 'Jetspeed Users List'
 Onderwerp: RE: importing PSML into the database - where do I put the
 driver?


 Wherever it is, just add it as a dependency within the project.xml file:

 If the .jar file is named mysql-driver-1.0.1.jar, then

 dependency
 idmysql-driver/id
 version1.0.1/version
 /dependency

 and that's it! Run maven and it will access the driver.

 Regards,
 Pablo

 -Mensaje original-
 De: David Sean Taylor [mailto:[EMAIL PROTECTED]
 Enviado el: miércoles, 16 de marzo de 2005 16:55
 Para: Jetspeed Users List
 Asunto: Re: importing PSML into the database - where do I put the driver?

 Roel van Dijk wrote:
 -Oorspronkelijk bericht-
 Van: Roel van Dijk [mailto:[EMAIL PROTECTED]
 Verzonden: Tuesday, March 15, 2005 2:03 PM
 Aan: Jetspeed Users List
 Onderwerp: importing PSML into the database - where do I put the driver?
 
 
 So here is the big question: where should I put the MySQL-Driver
 JAR file so that the combination of Maven and Torque can find it?
 
 
  [note: I'm using 1.6-dev from CVS]
 
 org.apache.jetspeed.test.jdbc.j1.drivers.path:

  goal name=import prereqs=java:compile
  description=Import PSML

  java fork=true
 classname=org.apache.jetspeed.services.psmlmanager.PsmlImporter 
  !-- comment this out to preserve existing profiles --
  arg value=false/
classpath
  path refid=maven.dependency.classpath/
  pathelement path=${maven.build.dest}/
  pathelement
 path=${org.apache.jetspeed.test.jdbc.j1.drivers.path}/
  pathelement
 path=${org.apache.jetspeed.test.jdbc.j1.drivers.path2}/
  pathelement
 path=${org.apache.jetspeed.test.jdbc.j1.drivers.path3}/
/classpath
  /java
  /goal


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

 -
 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: importing PSML into the database - where do I put the driver?

2005-03-16 Thread David Sean Taylor
Molina Pablo (teampro) wrote:
Wherever it is, just add it as a dependency within the project.xml file:
If the .jar file is named mysql-driver-1.0.1.jar, then
dependency
idmysql-driver/id
version1.0.1/version
/dependency
and that's it! Run maven and it will access the driver.
Not sure if you are aware, but there are other databases besides MySQL 
that Jetspeed supports. Thus, I can't add a direct dep on MySQL to the 
jetspeed cvs, and that is why we have the solution with property used in 
the pathelement (actually 3 properties) for database drivers.

Obviously, you are free to add a dep to MySQL in your custom builds.
--
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: importing PSML into the database - where do I put the driver?

2005-03-16 Thread David Sean Taylor
Roel van Dijk wrote:
  path refid=maven.dependency.classpath/
pathelement path=${maven.build.dest}/
pathelement
path=${org.apache.jetspeed.test.jdbc.j1.drivers.path}/
pathelement
path=${org.apache.jetspeed.test.jdbc.j1.drivers.path2}/
pathelement
path=${org.apache.jetspeed.test.jdbc.j1.drivers.path3}/
  /classpath

I did see this, but was unsure how to use it. Where do I define these
variables
${org.apache.jetspeed.test.jdbc.j1.drivers.path} ?
in your $HOME/build.properties
--
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: getting Jetspeed 2 to work with WebSphere 5.1.2

2005-03-16 Thread Seth Ford
He is the error that I get when I import the war file directly after
they are registered
TRAS0014I: The following exception was logged java.lang.NullPointerException
at 
com.ibm.ws.webcontainer.srt.SRTServletRequest.getContextPath(SRTServletRequest.java:1229)
at 
javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:183)
at 
org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(ServletPortletInvoker.java:209)
at 
org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(ServletPortletInvoker.java:124)
at 
org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:103)
at 
org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPortlet(JetspeedPortletContainerWrapper.java:88)
at 
org.apache.jetspeed.aggregator.impl.RenderingJob.run(RenderingJob.java:109)
at org.apache.jetspeed.aggregator.impl.Worker$1.run(Worker.java:171)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:626)
at org.apache.jetspeed.aggregator.impl.Worker.run(Worker.java:165)
.
 java.lang.NullPointerException
at 
com.ibm.ws.webcontainer.srt.SRTServletRequest.getContextPath(SRTServletRequest.java:1229)
at 
javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:183)
at 
org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(ServletPortletInvoker.java:209)
at 
org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(ServletPortletInvoker.java:124)
at 
org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:103)
at 
org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPortlet(JetspeedPortletContainerWrapper.java:88)
at 
org.apache.jetspeed.aggregator.impl.RenderingJob.run(RenderingJob.java:109)
at org.apache.jetspeed.aggregator.impl.Worker$1.run(Worker.java:171)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:626)
at org.apache.jetspeed.aggregator.impl.Worker.run(Worker.java:165)


On Tue, 15 Mar 2005 17:48:40 -0700, Seth Ford [EMAIL PROTECTED] wrote:
 Yeah... I have been working on Jetspeed 2 M1 and am struggling to
 get the default portlets to work in WebSphere 5.1.2 I guess I can try
 your new branch, but if you can provide any help getting them working
 on WebSphere/WSAD I would appreciate it. In
 this case I am trying to use the hot deploy the database is
 connection fine the portal deploys but then WebSphere does not have
 any idea about the new contexts that have been layed down /demo
 and such
 
 I have also tried importing the portlet war files but then I get a
 requestdispatcher include error
 Has any got jetspeed 2 working on WebSphere? And if so I would
 appreciate any details you might have
 
 
 On Sun, 13 Mar 2005 22:51:45 +0100, Ate Douma [EMAIL PROTECTED] wrote:
  Seth,
 
  I can't directly help you with WebSphere but I am interested in how you got 
  it working
  and with which version of Jetspeed 2 you are working.
 
  As you might know, I created a new branch of Jetspeed 2 somewhat more than 
  a week ago
  (branch: deployment_refactoring, see 
  http://issues.apache.org/jira/browse/JS2-210)
  in which I've implemented an application server indepedent deployment model.
  If you haven't tried that one out yet, you might have a better result doing 
  so.
 
  Note the current limitations of that branch though (see the JS2-210 issue).
  I'm working right now on improvements which should resolve those 
  limitations, but
  it probably will take me a few hours more (or possibly a few days if I run 
  out of time)
  before I can commit those improvements.
 
  Regarding your question about cross context problem: all portlets deployed 
  with
  Jetspeed 2 use cross context. So, if the default portlets provided by 
  Jetspeed 2
  *are* working, cross context shouldn't be the problem.
  Maybe if you provide us with some more detailed information (like error 
  messages and
  stacktraces) I or someone else can help you better.
 
  Regards, Ate
 
  Seth Ford wrote:
   I have jetspeed 2 working with WebSphere 5.1.2 except for the portals
   that are done through a hot deploy Can any explain how to do this
   in WebSphere? I have tried to install the portlet WARs seperatly, but
   have run into request dispatcher include related issues looks like
   a cross context problem
   Thanks
   Seth
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
   .
  
 
  -
  To unsubscribe, e-mail: [EMAIL 

Portlet displaying a dynamic image

2005-03-16 Thread Howard Lewis Ship
This is more of a general portlet question.

I have a portlet that wants to display a dynamic image (*) as part of
its output.

In a traditional HTML application, I would build a URL to a servlet
and the servlet would build the image and send a bytestream to the
client.

I want to do something similar with a portlet.

Is it possible to build such a URL?  I want to build a render URL and
have the handler for that URL build and return the image bytestream.


(*) This is really about Tapestry Portlet support.  The dynamic image
data is really going to be images packaged in JARs that need to be
exposed to the client.  Tapestry includes an engine service that will
access such things.  I'm trying to see if I can avoid using a Tapestry
servlet in anotherwise Tapestry portlet application.


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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



Re: Graffito - Jetspeed CMS framework

2005-03-16 Thread Fabrice Dewasmes
David Sean Taylor a écrit :
Fabrice Dewasmes wrote:
Hi,
This is great news. My first question would be : do you think it can 
work within JS1 with fusion ?

Graffito (and Graffito portlets) will run inside Fusion.
Just need to add the Graffito components to the Spring configuration

I've tried to use it. In fact the maven scripts don't work 'out of the 
box' for hsql. There are a few bugs. Here are those that I remember :
- empty password for  DB is not valid
- torque SQL scripts generation doesn't generate a good script for 
creation of content table because of the BLOB field (the field has no 
type) -- should have been set to OBJECT type ?
- SQL scripts are maybe not generated at the right place (src/sql/... vs 
target/src/sql/...)
- J2 deploy doesn't deploy assembly at the right place (WEB-INF/assembly 
instead of WEB-INF/conf/assembly)

At the end, everything deploys well within JS1+Fusion. BUT I don't 
understand how to use the portlet. When in view mode, the portlet tells 
me that i'm connected to [server]jetspeed but that there is no content 
and I should use edit mode. But in edit mode the portlet appears empty 
and no log in the console What did I miss ?

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


Re: Portlet displaying a dynamic image

2005-03-16 Thread David Sean Taylor
Howard Lewis Ship wrote:
This is more of a general portlet question.
I have a portlet that wants to display a dynamic image (*) as part of
its output.
In a traditional HTML application, I would build a URL to a servlet
and the servlet would build the image and send a bytestream to the
client.
I want to do something similar with a portlet.
Is it possible to build such a URL?  I want to build a render URL and
have the handler for that URL build and return the image bytestream.
With portlets, the URL always goes back to the portal.
The portal then asks your portlet to contribute its portion of the 
content to the full bytestream.

Your portlet could do the exact same thing as the servlet: generate the 
image bytestream within the context of the entire portlet stream. It can 
generate the content itself or dispatch to your servlet (internally) to 
retrieve the content.

If I understand, I think you are looking to still go thru the portal to 
get your content, but for the URL to specify the content of just one 
portlet. (I could be wrong) I don't know of a portable solution to do 
that. I was thinking you could handle a special portlet mode, or max 
window state, but its still up to the portal to decide on the layout 
around the portlet.

As a non-portable solution: Jetspeed can specifically be told to 
generate the content of a given portlet using the portlet pipeline, 
specified in the URL

/jetspeed/portal?pipeline=portlet-pipelineentity={portletentity}
I've also done similar solutions using a portlet page holding one 
portlet and no layout or decorator

(*) This is really about Tapestry Portlet support.  The dynamic image
data is really going to be images packaged in JARs that need to be
exposed to the client.  Tapestry includes an engine service that will
access such things.  I'm trying to see if I can avoid using a Tapestry
servlet in anotherwise Tapestry portlet application.

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


[J2] JS2-210: deployment refactoring branch updated with JBoss 3.2.7 support

2005-03-16 Thread Ate Douma
Dear all,
Today I committed a big update for the deployment refactoring branch.
I've added the following features:
- Moved Deployment interfaces and related components to the jetspeed-api 
subproject,
  as well as the ApplicationServerManager interface and its new Result 
component.
  This allows access to these services for portlet applications.
- Provided a new ManagerServlet somewhat like the ManagerServlet of Tomcat.
  It allows remote control of portlet applications and the registry with the
  following functions: start, stop, reload, list, undeploy and deploy (upload).
  I also created a new JetspeedConsole CLI using the ManagerServlet which works
  well, but which I haven't committed yet because I need to clean it up first.
- The ManagerServlet depends for several of its tasks on a 
ApplicationServerManager
  implementation. With the TomcatManager all of its features can now be used.
  The implementations of the JBossManager and WeblogicManager are still empty
  shells though and probably someone else with more knowledge of these
  application servers should take a look at those.
- A new PortletApplicationManager portlet. Yes, another PAM indeed, and the
  naming of these is getting confusing.
  This new portlet though provides (almost) the same functionality as the 
ManagerServlet.
  Its lists all registered portlet applications in a table with action links 
for:
  start, stop, undeploy and delete (unregister from the registry).
  It also shows if an portlet application actually is running or not.
  Because I wanted to provide this functionality in table layout, I decided to 
not
  implement it in the already existing PAM (PortletApplicationBrowser) portlet 
which
  presents the portlet applications and its portlets in a tree.
  For now, this portlet is accessible from the Administrative folder 
(pam2.psml).
  We probably need to discuss though if and/or how these two portlets should be
  integrated.
  This portlet also depends on a ApplicationServerManager. If none is 
configured (like
  for JBoss) it will still show if a portlet application is running or not and 
allow
  to delete (unregister) an portlet application.
- J2 on JBoss
  Because one of the premises of this deployment refactoring was that it should 
make
  it easier to deploy J2 on other application servers as well, I decided to 
prove this
  and got my feet wet trying it out for JBoss (3.2.7).
  With success!
  I wrote a list of things to do to get this branch running on JBoss in a 
comment to
  JS2-210: http://issues.apache.org/jira/browse/JS2-210#action_60983
  Once this branch is merged into the head branch I'll provide proper 
instructions on
  the website or wiki (although I'm not much of a wiki jockey yet).
  I also tested with JBoss 4.0.1sp1 which looks to be working just as well. I 
didn't
  have time to test that one a lot though.
  Of course, there were quite a few problems to solve, but *none* were related 
to
  (re)deployment. And many of the problems as indicated by the wiki pages for 
JBoss
  deployment of the M1 or current head version of J2 seems to be resolved :-)
  The following issues are important though:
  - commons-logging and Log4J dependencies
JBoss provides commons-logging and Log4J, as well as the Log4J 
configuration from
a shared classloader to all the applications.
This really is conflicting with the way we use them in Jetspeed-2 under 
Tomcat
(although Tomcat 5.5 also is giving more headaches with this now).
One simply cannot have the commons-logging and log4j jars anymore in 
WEB-INF/lib
because it definitely is giving classloader problems under JBoss.
Furthermore, our own log4j configuration conflicts with the global 
configuration
provided with JBoss. If you initialize a new log4j configuration from a web 
application
like we do with J2, you end up closing and detaching existing loggers and 
appenders
and rerouting them into the J2 logging. Likewise, if some other web 
application
deployed after J2 does the same, the J2 logging might get closed and 
detached and
rerouted into this other web application its logging.
Anyway you look at it, dynamic log4j configuration is very problematic 
under JBoss.
And, while scanning the internet for a way around this, I found out many 
others
encountered the same problem and not only on JBoss but other application 
servers
as well.
After a long investigation of the concrete implementations of 
commons-logging and
log4j though I've come up with a solution which I called 
IsolatedLog4JLogger.
As I put a lot of javadoc into that class I'm not going to reproduce it 
here.
But, I invite everyone to have a look at it. Its currently only committed 
to the
deployment_refactoring branch under 
portal/src/java/org/apache/jetspeed/util.
Whats left is a future solution of the packaging of these jars. Having to 
remove
them after a war is build is quite dumb and easy to forget as well.
  

RE: importing PSML into the database - where do I put the driver?

2005-03-16 Thread Roel van Dijk

  I did see this, but was unsure how to use it. Where do I define these
  variables ${org.apache.jetspeed.test.jdbc.j1.drivers.path} ?

 in your $HOME/build.properties

Excellent. Maybe it's wise to add this information to the Jetspeed-1 PSML DB
page here:

http://portals.apache.org/jetspeed-1/psml_db.html

Or at least link to this Jetspeed-2 page, where it is described (and
apparently is applicable to Jetspeed-1, too).

http://portals.apache.org/jetspeed-2/database.html

Roel



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