RE: Email Portlet

2004-05-05 Thread Jonathan Hawkins
I am using the binary distribution. Email.class and EmailPortlet.class
both exist within the jetspeed-1.5.jar. I have also tried adding my own
debug statements and manually including the classes under
WEB-INF\classes etc.

I have tried using Exchange Server and Sendmail IMAP server,but as the
class does not get loaded that won't make any difference.

Again, any assistance very much appreciated.

-Original Message-
From: Jonas Lim [mailto:[EMAIL PROTECTED] 
Sent: 05 May 2004 03:10
To: Jetspeed Users List
Subject: Re: Email Portlet

Hi John,

Did you check if the EmailPortlet.class was created?   Also,  did the
error
appear when you added the portlet or when you click some actions in the
email portlet? Btw, what mail server are you using?

Regards,
Jonas

- Original Message -
From: Jonathan Hawkins [EMAIL PROTECTED]
To: 'Jetspeed Users List' [EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004 3:22 AM
Subject: Email Portlet


 Trying to use the email portlet that ships with 1.5

 Keep getting the following exception

 [04 May 2004 20:19:38 DEBUG] - GenericMVCPortlet: Executing action
 [portlets.ema
 il.EmailPortlet] for portlet [Email]
 [04 May 2004 20:19:38 ERROR] - GenericMVCPortlet - error executing
 action
 java.lang.ClassNotFoundException:

 Requested Action not found: portlets.email.EmailPortlet
 Turbine looked in the following modules.packages path:
 [org.apache.jetspeed.modules, org.apache.turbine.modules]

 at
 org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java
 :174)

 Any assistance greatly appreciated

 Jon Hawkins



 -
 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: Email Portlet

2004-05-05 Thread Jonas Lim
Can you check if you have mail.jar on your web-inf\lib. I'm not sure if it
is included in the jetspeed distribution.

Regards,
Jonas





- Original Message -
From: Jonathan Hawkins [EMAIL PROTECTED]
To: 'Jetspeed Users List' [EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004 2:20 PM
Subject: RE: Email Portlet


 I am using the binary distribution. Email.class and EmailPortlet.class
 both exist within the jetspeed-1.5.jar. I have also tried adding my own
 debug statements and manually including the classes under
 WEB-INF\classes etc.

 I have tried using Exchange Server and Sendmail IMAP server,but as the
 class does not get loaded that won't make any difference.

 Again, any assistance very much appreciated.

 -Original Message-
 From: Jonas Lim [mailto:[EMAIL PROTECTED]
 Sent: 05 May 2004 03:10
 To: Jetspeed Users List
 Subject: Re: Email Portlet

 Hi John,

 Did you check if the EmailPortlet.class was created?   Also,  did the
 error
 appear when you added the portlet or when you click some actions in the
 email portlet? Btw, what mail server are you using?

 Regards,
 Jonas

 - Original Message -
 From: Jonathan Hawkins [EMAIL PROTECTED]
 To: 'Jetspeed Users List' [EMAIL PROTECTED]
 Sent: Wednesday, May 05, 2004 3:22 AM
 Subject: Email Portlet


  Trying to use the email portlet that ships with 1.5
 
  Keep getting the following exception
 
  [04 May 2004 20:19:38 DEBUG] - GenericMVCPortlet: Executing action
  [portlets.ema
  il.EmailPortlet] for portlet [Email]
  [04 May 2004 20:19:38 ERROR] - GenericMVCPortlet - error executing
  action
  java.lang.ClassNotFoundException:
 
  Requested Action not found: portlets.email.EmailPortlet
  Turbine looked in the following modules.packages path:
  [org.apache.jetspeed.modules, org.apache.turbine.modules]
 
  at
  org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java
  :174)
 
  Any assistance greatly appreciated
 
  Jon Hawkins
 
 
 
  -
  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: Form accessing a JSP Action

2004-05-05 Thread Oscar Ruiz
Apparently this solution may work, but found that my hello.jsp which should
invoke the method
doUpdate in MyJSPAction does not work, well doUpdate() is invoked but
buildNormalContext() as well getting into an infinite loop. In fact,
doUpdate is invoked even if i do not call it myself from a JSP.

If I change doUpdate to any other name it does not even get invoked.

Is doUpdate a method in JspPortletAction?
Cannot i use any other method name and invoke it from a JSP template?

Many thanks.

-Mensaje original-
De: Oscar Ruiz [mailto:[EMAIL PROTECTED] 
Enviado el: martes, 04 de mayo de 2004 17:57
Para: 'Jetspeed Users List'
Asunto: RE: Form accessing a JSP Action

Many thanks, i'll test that.

-Mensaje original-
De: Raphaël Luta [mailto:[EMAIL PROTECTED] Enviado el: martes, 04 de mayo
de 2004 17:36
Para: Jetspeed Users List
Asunto: Re: Form accessing a JSP Action


Le 4 mai 04, à 13:12, Oscar Ruiz a écrit :

 Hi all,

 I've got a problem while calling a JSP action from a JSP template.

 I've got a JSP Portlet identified by:
   Action: portlet.MyJSPAction
   Template: test.jsp

 Another JSP Porlet identified by:
   Action: none
   Template: hello.jsp

 In fact what I want to do (do not know if possible) is execute 
 hello.jsp,
 from there invoke MyJSPAction and return test.jsp as a result of the
 invocation.

 That's to complete a JSP flow.


 View  Controller

 Hello.jsp -
MyJSPAction
 Test.jsp  -

 Is that possible?, shall I use the same JSP with different action 
 method
 calls?


You should probably only define 1 portlet:

Name: MyJSPPortlet
Action: portlets.MyJSpAction
Template: hello.jsp
ResultTemplate: test.jsp

In your Action processing code, set manually the template you want to 
display
based on your portlet state using setTemplate(). Jetspeed does not 
automate
anything in flow processing so your controller code needs to 
explicitely set the
next template to use based on its current state.

--
Raphaël Luta - [EMAIL PROTECTED]
Apache Jetspeed - Enterprise Portal in Java
http://portals.apache.org/


-
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: Are the jetspeed user limited ???

2004-05-05 Thread Michael Muller
I finally solved the problem,
The SQL script to create the table within the source code was not
accepted by mySQL so I modified it by removing the attribute IDENTITY
and renaming the type BINARY by BLOB.

The Identity attribute mustn't be removed but replaced by the attribute
AUTO_INCREMENT.




-Original Message-
From: Stefan Rennick Egglestone [mailto:[EMAIL PROTECTED] 
Sent: mardi, 4. mai 2004 12:39
To: Jetspeed Users List
Subject: Re: Are the jetspeed user limited ???

I'm having a similar problem.

I've tried adding a new user using the admin servlet, and no error 
messages are given, but the user isn't added.

Am using mySQL 5/ Tomcat 5.

I've seen previous emails on the mailing list which indicate that you 
get problems if you delete the Tommy Turbine user, but I haven't done 
that. What I have done is play around with the 
JetspeedSecurity.properties file, which does specify some parameters for

security, but I've tried changing everything back to how it was, and 
this hasn't helped.

I've actually got 7 users in my database, along with 5 roles and 3 
groups, so it may not be an identical problem.

Any ideas?

Michael Muller wrote:

Hi all,
 
I've just installed jetspeed-1.5 and it works quite well!
 
But I've a problem: 
I cannot have more than 4 users.
When I add the add user form it seems as it would have added it, but
the
new user is not in the database!!!
(I'm using mySql to store the user.)
Same thing for the group browser, I cannot have more than 3 groups.
 
I watched at the logs, nothing abnormal ...
 
Does someone have an idea? Is there any parameter to change? 
 
Thanks in advance
 
Michael Muller
 

  




This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK
legislation.


-
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: Are the jetspeed user limited ???

2004-05-05 Thread Choong Yong, Koh
Hi,

I assume you are using the file /src/sql/external/turbine-mysql.sql.  It is 
pretty odd that this file does not seem to be correct for mysql.  The solution my team 
has is to generate the schema sql from source.  These are the steps to follow:

- get the jetspeed1.5 source
- edit project.properties, change the following line:
database = mysql (or another database that you are using)
- in the command line, run maven:
maven torque:sql-generate

Once the build is successful, you should be able to find the generated sql 
files under /target/classes/sql.  The schema file for users is security-schema.sql.

Choong Yong, Koh
Aretae Pte Ltd

-Original Message-
From: Michael Muller [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004 3:48 PM
To: Jetspeed Users List
Subject: RE: Are the jetspeed user limited ???


I finally solved the problem,
The SQL script to create the table within the source code was not
accepted by mySQL so I modified it by removing the attribute IDENTITY
and renaming the type BINARY by BLOB.

The Identity attribute mustn't be removed but replaced by the attribute
AUTO_INCREMENT.




-Original Message-
From: Stefan Rennick Egglestone [mailto:[EMAIL PROTECTED] 
Sent: mardi, 4. mai 2004 12:39
To: Jetspeed Users List
Subject: Re: Are the jetspeed user limited ???

I'm having a similar problem.

I've tried adding a new user using the admin servlet, and no error 
messages are given, but the user isn't added.

Am using mySQL 5/ Tomcat 5.

I've seen previous emails on the mailing list which indicate that you 
get problems if you delete the Tommy Turbine user, but I haven't done 
that. What I have done is play around with the 
JetspeedSecurity.properties file, which does specify some parameters for

security, but I've tried changing everything back to how it was, and 
this hasn't helped.

I've actually got 7 users in my database, along with 5 roles and 3 
groups, so it may not be an identical problem.

Any ideas?

Michael Muller wrote:

Hi all,
 
I've just installed jetspeed-1.5 and it works quite well!
 
But I've a problem: 
I cannot have more than 4 users.
When I add the add user form it seems as it would have added it, but
the
new user is not in the database!!!
(I'm using mySql to store the user.)
Same thing for the group browser, I cannot have more than 3 groups.
 
I watched at the logs, nothing abnormal ...
 
Does someone have an idea? Is there any parameter to change? 
 
Thanks in advance
 
Michael Muller
 

  




This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK
legislation.


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


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


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



RE: Jetspeed 1.5 tutorial build failure for goal torque:sql-gener ate

2004-05-05 Thread Nicolas MAYEUR
Indeed, the failing build was run behind a firewall  proxy.
Proxy config seems OK in my build.properties, since maven has
successfully downloaded many jars before failing.
I tried doing it at home with no proxy and another ISP
on a linux box : it builds OK.

Nicolas

-Message d'origine-
De : Jetspeed [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 5 mai 2004 00:26
À : Jetspeed Users List
Objet : Re: Jetspeed 1.5 tutorial build failure for goal
torque:sql-generate


I see that Nicolas Mayeur has now posted the thread Jetspeed 1.5 build 
problem
that looks pretty much like the one I've described here.

Interestingly, this same configuration works just fine on my laptop when 
running
on my home network, the only difference being the ISP and turning off 
proxying..
No problems with downloads or connections timing out.  Seems like it must
have something to do with connection speeds or firewall configurations, but
I don't have enough information from the log files to know what to pursue.
Any suggestions?

Cheers,
Dan

[EMAIL PROTECTED] wrote:

I'm a newbie to Jetspeed.  I'm trying to become familiar with the new
version of Jetspeed using the tutorial approach suggested by the
documentation. I've installed Maven and Jetspeed-1.5 on my Windows XP box,
which is behind a corporate firewall.  I have successfully configured my
proxy and local repositories and built the jetspeed sources, but am having
fairly consistent Connection timed out: connect failures with the tutorial
deploy goal, either during the torque:sql-generate or torque:om-generate
goals.  The tutorial sources themselves build without a hitch and all the
repository dependencies download just fine, but I regularly get the failure
shown below, and there's no indication of what connection is failing.
Searches through Google and the jetspeed-user archives have yielded no
indication of a solution.  Has anyone seen this type of problem, and
hopefully figured out a solution?

Any help is greatly appreciated.

Cheers,
Dan

--
(excerpt of build output)

torque:sql-generate:
[torque-sql] Using classpath
[torque-sql] Generating to file
C:\Apache\jetspeed-1.5\tutorial\target\class
[EMAIL PROTECTED]

BUILD FAILED
File.. file:/c:/temp/maven/plugins/maven-torque-plugin-3.2/plugin.jelly
Element... torque-sql
Line.. 145
Column 49
org.apache.torque.engine.EngineException: Connection timed out: connect
Total time: 35 seconds
Finished at: Fri Apr 30 13:20:41 MDT 2004


The full log follows:

  

maven -Dtutorial=1 deploy
  

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2

build:start:

deploy:
jetspeed:war:
[delete] Deleting directory C:\Apache\jetspeed-1.5\tutorial\stage
[mkdir] Created dir: C:\Apache\jetspeed-1.5\tutorial\stage
[unzip] Expanding:
C:\temp\maven\repository\jetspeed\distributions\jetspeed-1.5.zip into
C:\Apache\jetspeed-1.5\tutorial\stage\webapp
[unzip] Expanding:
C:\Apache\jetspeed-1.5\tutorial\stage\webapp\jetspeed-1.5\jetspeed.war into
C:\Apache\jetspeed-1.5\tutorial\stage\webapp
[delete] Deleting directory
C:\Apache\jetspeed-1.\tutorial\stage\webapp\jet
speed-1.5
[copy] Copying 4 files to C:\Apache\jetspeed-1.5\tutorial\stage\webapp
java:prepare-filesystem:

java:compile:
torque:init:

torque:om-check:

torque:om:
[echo] Schema files have not changed since last generation.

torque:init:
Overriding previous definition of reference to torque-classpath

torque:sql-check:

torque:sql:
torque:init:
Overriding previous definition of reference to torque-classpath

torque:sql-generate:
[torque-sql] Using classpath
[torque-sql] Generating to file
C:\Apache\jetspeed-1.5\tutorial\target\classes\sql\report.org.apache.commons
[EMAIL PROTECTED]

BUILD FAILED
File.. file:/c:/temp/maven/plugins/maven-torque-plugin-3.2/plugin.jelly
Element... torque-sql
Line.. 145
Column 49
org.apache.torque.engine.EngineException: Connection timed out: connect
Total time: 35 seconds
Finished at: Fri Apr 30 13:20:41 MDT 2004

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


  

 *** Ce message et toutes les pièces jointes (ci-après le message) sont
établis à l'intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par erreur, merci de le détruire et d'en avertir
immédiatement l'expéditeur. Toute utilisation de ce message non conforme à
sa destination, toute diffusion ou toute publication, totale ou partielle,
est interdite, sauf autorisation expresse. L'internet ne permettant pas
d'assurer l'intégrité de ce message, le groupe Itras décline toute
responsabilité au titre de ce message, dans l'hypothèse où il aurait été
modifié. ***

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

Problems configuring maven.

2004-05-05 Thread Setti Matteo
I want to compile JS-1.5 source. I applied
instructions that I found in maven-site but I had more
errors with maven war. Any documents ?

Thanks
Matteo Setti




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

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



Re: Difference between opencms and Jetspeed

2004-05-05 Thread Santhosh Nair

Integration with Jetspeed and OpenCMS is not difficult - we did
www.rameshtravel.com.sg and this is using Jetspeed 1.4 integrated with
OpenCMS.

You can prepare the content - using OpenCMS.  The authoring can use OpenCMS
templates.  The published the contents can be brought into portlets.

Santhosh Nair
www.OpenSI.Net
The Open Source System Integrators
email: [EMAIL PROTECTED]
Phone: +65-65883343
Fax: +65-65883001

- Original Message - 
From: Sezmillenium [EMAIL PROTECTED]
To: 'Jetspeed Users List' [EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 11:33 PM
Subject: RE: Difference between opencms and Jetspeed


 Hi again!

 I found the Apache Project Slide. Is Slide a solid product?

 -Mensaje original-
 De: Sezmillenium [mailto:[EMAIL PROTECTED]
 Enviado el: martes, 04 de mayo de 2004 16:44
 Para: [EMAIL PROTECTED]
 Asunto: Difference between opencms and Jetspeed

 Hi people!

 I am working in a project with jetspeed. Now, I want implement a document
 container. Jetspeed don't have this feature. I am looking a document
 container and i found opencms.

 What difference are between this two Technologies??

 Somebody work with this? Integration is easy??

 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]



javax.xml.transform.TransformerException

2004-05-05 Thread Sez
Hi people!

I have jetspeed 1.5 and i have this message in jetspeed.log... The
application goes well.

Any ideas?

Thanks

2004-05-05 14:18:42,785 [Thread-6] DEBUG SimpleTransform - Starting SAX
thread...

2004-05-05 14:18:45,114 [DaemonThread:feeddaemon] INFO FeedDaemon - END FEED
- http://jakarta.apache.org/jetspeed/channels/apache.ocs - SUCCESS

2004-05-05 14:18:45,114 [DaemonThread:feeddaemon] INFO FeedDaemon -
Jetspeed: FeedDaemon -- END -- 

2004-05-05 14:18:45,164 [DaemonThread:feeddaemon] INFO DaemonThread -
DaemonThread - *DONE* PROCESSING daemon - feeddaemon

2004-05-05 14:18:46,072 [Thread-6] DEBUG SimpleTransform - Error in
SAXTransformjavax.xml.transform.TransformerException: java.io.IOException:
Pipe closed

javax.xml.transform.TransformerException: java.io.IOException: Pipe closed

at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1226)

at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
634)

at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1088)

at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1066)

at org.apache.jetspeed.util.SimpleTransform$1.run(SimpleTransform.java:464)

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

Caused by: java.io.IOException: Pipe closed

at
org.apache.xalan.serialize.SerializerToXML.flushWriter(SerializerToXML.java:
1476)

at
org.apache.xalan.serialize.SerializerToXML.endDocument(SerializerToXML.java:
717)

at
org.apache.xalan.transformer.ResultTreeHandler.endDocument(ResultTreeHandler
.java:190)

at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1182)

... 5 more

-

java.io.IOException: Pipe closed

at
org.apache.xalan.serialize.SerializerToXML.flushWriter(SerializerToXML.java:
1476)

at
org.apache.xalan.serialize.SerializerToXML.endDocument(SerializerToXML.java:
717)

at
org.apache.xalan.transformer.ResultTreeHandler.endDocument(ResultTreeHandler
.java:190)

at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1182)

at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
634)

at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1088)

at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1066)

at org.apache.jetspeed.util.SimpleTransform$1.run(SimpleTransform.java:464)

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

-

java.io.IOException: Pipe closed

at java.io.PipedInputStream.receive(PipedInputStream.java:136)

at java.io.PipedInputStream.receive(PipedInputStream.java:176)

at java.io.PipedOutputStream.write(PipedOutputStream.java:129)

at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)

at
sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)

at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:408)

at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)

at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)

at
org.apache.xalan.serialize.SerializerToXML.flushWriter(SerializerToXML.java:
1471)

at
org.apache.xalan.serialize.SerializerToXML.endDocument(SerializerToXML.java:
717)

at
org.apache.xalan.transformer.ResultTreeHandler.endDocument(ResultTreeHandler
.java:190)

at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1182)

at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
634)

at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1088)

at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1066)

at org.apache.jetspeed.util.SimpleTransform$1.run(SimpleTransform.java:464)

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



RE: Difference between opencms and Jetspeed

2004-05-05 Thread LOMBART Christophe

What about the issues like authentication, managing CMS permissions via some portlets  
? 

Christophe 


-Original Message-
From:   Santhosh Nair [mailto:[EMAIL PROTECTED]
Sent:   Wed 5/5/2004 2:06 AM
To: Jetspeed Users List; Sezmillenium
Cc: 
Subject:Re: Difference between opencms and Jetspeed

Integration with Jetspeed and OpenCMS is not difficult - we did
www.rameshtravel.com.sg and this is using Jetspeed 1.4 integrated with
OpenCMS.

You can prepare the content - using OpenCMS.  The authoring can use OpenCMS
templates.  The published the contents can be brought into portlets.

Santhosh Nair
www.OpenSI.Net
The Open Source System Integrators
email: [EMAIL PROTECTED]
Phone: +65-65883343
Fax: +65-65883001

- Original Message - 
From: Sezmillenium [EMAIL PROTECTED]
To: 'Jetspeed Users List' [EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 11:33 PM
Subject: RE: Difference between opencms and Jetspeed


 Hi again!

 I found the Apache Project Slide. Is Slide a solid product?

 -Mensaje original-
 De: Sezmillenium [mailto:[EMAIL PROTECTED]
 Enviado el: martes, 04 de mayo de 2004 16:44
 Para: [EMAIL PROTECTED]
 Asunto: Difference between opencms and Jetspeed

 Hi people!

 I am working in a project with jetspeed. Now, I want implement a document
 container. Jetspeed don't have this feature. I am looking a document
 container and i found opencms.

 What difference are between this two Technologies??

 Somebody work with this? Integration is easy??

 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: using jsptag portletlink without loosing the tabbed panes?

2004-05-05 Thread David Sean Taylor
On May 5, 2004, at 5:14 AM, Gregory Joseph wrote:

I can't seem to make any sense of these forwards, so if someone feels 
like
helping or giving examples. (reminder of my context: i need to create 
html
links between portlets, and keep the tabs (tabbed panes) in their 
right
state)

Forwards are simply an abstraction over Jetspeed Links.
The idea is to centralize all changes to site navigation.
For example, say you have a portal site that has your Employee Benefits 
portlet on the Employee role page, Benefits tab.
Then management decides they don't like the portal site layout.
They want to re-organize the structure of your site.
You need to move the Employee Benefits portlet to the Benefits group 
page, Employee tab.

Now say you have Java code and velocity templates that reference this 
portlet with Jetspeed Links.
You would need the Jetspeed Links on to update all the Java code and 
all the velocity (or JSP) templates to point to the new location.

But if you used forwards to begin with in your Java and template code, 
then you would only have to change the forward file, and nothing else.

As for examples, see the example portlets:

ForwardDemo portlet - example of using forwards
JSLinks portlet - lots of examples of Jetspeed Links
 JSP1_1andJetspeedTagLib

 JSP1_2andJetspeedTagLib

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


JetSpeed LDAP Authentication INFO

2004-05-05 Thread Seregni Fabio
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(SecurityCacheImpl.java:77) 

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

  at 
org.apache.jetspeed.services.security.ldap.LDAPAuthentication.getAnonymousUser(LDAPAuthentication.java:154) 

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

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

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

  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(ApplicationFilterChain.java:284) 

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

  at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257) 

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

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

  at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199) 

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

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

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

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

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

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

  at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.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.processConnection(Http11Protocol.java:700) 

  at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
  at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java: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 
org.apache.jetspeed.om.security.ldap.LDAPUser.init(LDAPUser.java:154)
 at 
org.apache.jetspeed.services.security.ldap.LDAPUserManagement.getUser(LDAPUserManagement.java:140) 

 at 
org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserManagement.java:59) 

 at 
org.apache.jetspeed.services.JetspeedSecurity.getUser(JetspeedSecurity.java:186) 

 at 
org.apache.jetspeed.services.security.ldap.LDAPRoleManagement.getRoles(LDAPRoleManagement.java:105) 

 at 
org.apache.jetspeed.services.security.JetspeedRoleManagement.getRoles(JetspeedRoleManagement.java:64) 

 at 
org.apache.jetspeed.services.JetspeedSecurity.getRoles(JetspeedSecurity.java:299) 

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

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

 at 
org.apache.jetspeed.services.security.ldap.LDAPAuthentication.getAnonymousUser(LDAPAuthentication.java:154) 

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

 at 

Re: Localisation in Panenames

2004-05-05 Thread David Sean Taylor
On May 5, 2004, at 4:45 AM, [EMAIL PROTECTED] wrote:

Hi,

it is possible to use the localisation ( l10n ) for the names of the 
panes
and/or the portlettitles ?
I think this one was answered before, search the archives, but again, 
yes, change the controller layouts
Jetspeed does not fully support localization of the portlet registry
So yes it is possible, but not correctly supported

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


Re: Email Portlet

2004-05-05 Thread Roger Ruttimann
Where did you get the mail.jar file from?

Thanks
Roger

-Original Message-
From: Jonas Lim [EMAIL PROTECTED]
Sent: May 4, 2004 11:52 PM
To: Jetspeed Users List [EMAIL PROTECTED]
Subject: Re: Email Portlet

Can you check if you have mail.jar on your web-inf\lib. I'm not sure if it
is included in the jetspeed distribution.

Regards,
Jonas





- Original Message -
From: Jonathan Hawkins [EMAIL PROTECTED]
To: 'Jetspeed Users List' [EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004 2:20 PM
Subject: RE: Email Portlet


 I am using the binary distribution. Email.class and EmailPortlet.class
 both exist within the jetspeed-1.5.jar. I have also tried adding my own
 debug statements and manually including the classes under
 WEB-INF\classes etc.

 I have tried using Exchange Server and Sendmail IMAP server,but as the
 class does not get loaded that won't make any difference.

 Again, any assistance very much appreciated.

 -Original Message-
 From: Jonas Lim [mailto:[EMAIL PROTECTED]
 Sent: 05 May 2004 03:10
 To: Jetspeed Users List
 Subject: Re: Email Portlet

 Hi John,

 Did you check if the EmailPortlet.class was created?   Also,  did the
 error
 appear when you added the portlet or when you click some actions in the
 email portlet? Btw, what mail server are you using?

 Regards,
 Jonas

 - Original Message -
 From: Jonathan Hawkins [EMAIL PROTECTED]
 To: 'Jetspeed Users List' [EMAIL PROTECTED]
 Sent: Wednesday, May 05, 2004 3:22 AM
 Subject: Email Portlet


  Trying to use the email portlet that ships with 1.5
 
  Keep getting the following exception
 
  [04 May 2004 20:19:38 DEBUG] - GenericMVCPortlet: Executing action
  [portlets.ema
  il.EmailPortlet] for portlet [Email]
  [04 May 2004 20:19:38 ERROR] - GenericMVCPortlet - error executing
  action
  java.lang.ClassNotFoundException:
 
  Requested Action not found: portlets.email.EmailPortlet
  Turbine looked in the following modules.packages path:
  [org.apache.jetspeed.modules, org.apache.turbine.modules]
 
  at
  org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java
  :174)
 
  Any assistance greatly appreciated
 
  Jon Hawkins
 
 
 
  -
  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: Confused with security and Turbine

2004-05-05 Thread cyaconi
Thank you David!




David Sean Taylor [EMAIL PROTECTED] 
05-05-04 11:27
Por favor, responda a
Jetspeed Users List [EMAIL PROTECTED]


Para
Jetspeed Users List [EMAIL PROTECTED]
cc

Asunto
Re: Confused with security and Turbine







On May 5, 2004, at 6:51 AM, [EMAIL PROTECTED] wrote:

 Hi.
 In spite of having a recently support in the subject, I'm still not 
 really
 clear about where is the frontier between Turbine user management, and 
 a
 particular User Management implementation. Exactly, what I want to do, 
 is
 to implement my own persistent layer using hibernate (not Torque), 
 using a
 different (maybe) DB Schema. I understand that the first step is 
 implement
 the same classes within the 
 org.apache.jetspeed.services.security.turbine
 package, but,
 Is this the only implementation that I have to do??
 Can anybody tell me any other consideration that should I take??

You will need to replace the Jetspeed Security Services with your own 
Hibernate -based implementations.
You do not need to replace all of the security services, just the ones 
you need, since they are coupled only by the security interfaces 
described below:

Portal Authentication
Defines the contract between the portal and security provider required 
for authentication a Jetspeed User.

PortalAccessController
Defines the contract between the portal and security provider required 
for authorized access control for priveleged portal actions.

UserManagement
Defines the contract between the portal and security provider required 
for managing users.

RoleManagement
Defines the contract between the portal and security provider required 
for managing roles.

GroupManagement
Defines the contract between the portal and security provider required 
for managing groups.

PermissionManagement
Defines the contract between the portal and security provider required 
for managing permissions.

CredentialsManagement
Defines the contract between the portal and security provider required 
for managing credentials.

  Each of these component interfaces are pluggable. Jetspeed provides 
one or more default implementations.

The security service works with a set of interfaces to define the 
standard, base security object model in a portal server.
Depending on which security services you implement, you will need to 
replace the default implementations of these objects with your own.
These objects are:

  Interface
Description

JetspeedUser
Defines the minimal attributes of a user in the portal system.

Role
Defines the minimal attributes of a role in the portal system.

Group
Defines the minimal attributes of a group in the portal system.

Permission
Defines the minimal attributes of a permission in the portal system.

Finally, to plugin your services to Jetspeed, simply change the 
JetspeedSecurity property file to point to your implementation:



# Authentication Service#
#

services.PortalAuthentication.classname=org.apache.jetspeed.services.sec 
urity.turbine.TurbineAuthentication

#
# Authorization Service #
#

services.PortalAccessController.classname=org.apache.jetspeed.services.s 
ecurity.registry.RegistryAccessController
#services.PortalAccessController.classname=org.apache.jetspeed.services. 
security.turbine.TurbineAccessController
#services.PortalAccessController.classname=org.apache.jetspeed.services. 
security.nosecurity.NoSecurityAccessController

#
# User Management Service   #
#

services.UserManagement.classname=org.apache.jetspeed.services.security. 
turbine.TurbineUserManagement

#
# Role Management Service   #
#

services.RoleManagement.classname=org.apache.jetspeed.services.security. 
turbine.TurbineRoleManagement

#
# Group Management Service  #
#

services.GroupManagement.classname=org.apache.jetspeed.services.security 
.turbine.TurbineGroupManagement

#
# Security Cache Service#
#

services.SecurityCache.classname=org.apache.jetspeed.services.security.S 
ecurityCacheImpl



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




Re: JetSpeed LDAP Authentication INFO

2004-05-05 Thread Seregni Fabio
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(SecurityCacheIm
pl.java:77) 

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

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

  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.JLoginUser.doPerform(JLoginUser.java:222
) 

  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(Application
FilterChain.java:284) 

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

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

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

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

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

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

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

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

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

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

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

  at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
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.processConne
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.jav
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 
org.apache.jetspeed.om.security.ldap.LDAPUser.init(LDAPUser.java:154)
 at 
org.apache.jetspeed.services.security.ldap.LDAPUserManagement.getUser(LDAPUs
erManagement.java:140) 

 at 
org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserMana
gement.java:59) 

 at 
org.apache.jetspeed.services.JetspeedSecurity.getUser(JetspeedSecurity.java:
186) 

 at 
org.apache.jetspeed.services.security.ldap.LDAPRoleManagement.getRoles(LDAPR
oleManagement.java:105) 

 at 
org.apache.jetspeed.services.security.JetspeedRoleManagement.getRoles(Jetspe
edRoleManagement.java:64) 

 at 
org.apache.jetspeed.services.JetspeedSecurity.getRoles(JetspeedSecurity.java
:299) 

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

 at 

Re: Jetspeed 1.5 tutorial build failure for goal torque:sql-gener ate

2004-05-05 Thread Raphaël Luta
Given the issues you describe, I'd say it's related to the
DTD validation of the torque schema files.
To avoid the issue, you can try the following:
- download manually the DTD file
   http://jakarta.apache.org/turbine/dtd/database.dtd
- put it in src/torque-schema
- change the DTD reference in the xml files to database.dtd
It should work. If it doesn't want to use relative dtds, put the
dtd on a local webserver (eg Tomcat) and modify the URL accordingly.
--
Raphaël Luta - [EMAIL PROTECTED]
Apache Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/
Nicolas MAYEUR wrote:

Indeed, the failing build was run behind a firewall  proxy.
Proxy config seems OK in my build.properties, since maven has
successfully downloaded many jars before failing.
I tried doing it at home with no proxy and another ISP
on a linux box : it builds OK.
Nicolas

-Message d'origine-
De : Jetspeed [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 5 mai 2004 00:26
À : Jetspeed Users List
Objet : Re: Jetspeed 1.5 tutorial build failure for goal
torque:sql-generate
I see that Nicolas Mayeur has now posted the thread Jetspeed 1.5 build 
problem
that looks pretty much like the one I've described here.

Interestingly, this same configuration works just fine on my laptop when 
running
on my home network, the only difference being the ISP and turning off 
proxying..
No problems with downloads or connections timing out.  Seems like it must
have something to do with connection speeds or firewall configurations, but
I don't have enough information from the log files to know what to pursue.
Any suggestions?

Cheers,
Dan
[EMAIL PROTECTED] wrote:


I'm a newbie to Jetspeed.  I'm trying to become familiar with the new
version of Jetspeed using the tutorial approach suggested by the
documentation. I've installed Maven and Jetspeed-1.5 on my Windows XP box,
which is behind a corporate firewall.  I have successfully configured my
proxy and local repositories and built the jetspeed sources, but am having
fairly consistent Connection timed out: connect failures with the tutorial
deploy goal, either during the torque:sql-generate or torque:om-generate
goals.  The tutorial sources themselves build without a hitch and all the
repository dependencies download just fine, but I regularly get the failure
shown below, and there's no indication of what connection is failing.
Searches through Google and the jetspeed-user archives have yielded no
indication of a solution.  Has anyone seen this type of problem, and
hopefully figured out a solution?
Any help is greatly appreciated.

Cheers,
  Dan
--
(excerpt of build output)
torque:sql-generate:
  [torque-sql] Using classpath
  [torque-sql] Generating to file
C:\Apache\jetspeed-1.5\tutorial\target\class

[EMAIL PROTECTED]

BUILD FAILED
File.. file:/c:/temp/maven/plugins/maven-torque-plugin-3.2/plugin.jelly
Element... torque-sql
Line.. 145
Column 49
org.apache.torque.engine.EngineException: Connection timed out: connect
Total time: 35 seconds
Finished at: Fri Apr 30 13:20:41 MDT 2004
The full log follows:




maven -Dtutorial=1 deploy


__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2
build:start:

deploy:
jetspeed:war:
  [delete] Deleting directory C:\Apache\jetspeed-1.5\tutorial\stage
  [mkdir] Created dir: C:\Apache\jetspeed-1.5\tutorial\stage
  [unzip] Expanding:
C:\temp\maven\repository\jetspeed\distributions\jetspeed-1.5.zip into
C:\Apache\jetspeed-1.5\tutorial\stage\webapp
  [unzip] Expanding:
C:\Apache\jetspeed-1.5\tutorial\stage\webapp\jetspeed-1.5\jetspeed.war into
C:\Apache\jetspeed-1.5\tutorial\stage\webapp
  [delete] Deleting directory
C:\Apache\jetspeed-1.\tutorial\stage\webapp\jet

speed-1.5
  [copy] Copying 4 files to C:\Apache\jetspeed-1.5\tutorial\stage\webapp
java:prepare-filesystem:
java:compile:
torque:init:
torque:om-check:

torque:om:
  [echo] Schema files have not changed since last generation.
torque:init:
Overriding previous definition of reference to torque-classpath
torque:sql-check:

torque:sql:
torque:init:
Overriding previous definition of reference to torque-classpath
torque:sql-generate:
  [torque-sql] Using classpath
  [torque-sql] Generating to file
C:\Apache\jetspeed-1.5\tutorial\target\classes\sql\report.org.apache.commons
[EMAIL PROTECTED]
BUILD FAILED
File.. file:/c:/temp/maven/plugins/maven-torque-plugin-3.2/plugin.jelly
Element... torque-sql
Line.. 145
Column 49
org.apache.torque.engine.EngineException: Connection timed out: connect
Total time: 35 seconds
Finished at: Fri Apr 30 13:20:41 MDT 2004
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



 *** Ce message et toutes les pièces jointes (ci-après le message) sont
établis à l'intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par 

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