Jetspeed 2 build failure -- jars not found at ibiblio or bluesunrise

2004-05-21 Thread Jetspeed
Hello -
I've just downloaded via cvsgrab the HEAD-tagged sources for Jetspeed 2.
Maven is configured to use ibiblio and bluesunrise as remote repositories.
It appears to be working, but when I attempt to run the indicated
build command maven allClean allBuild, I get a number of warnings 
indicating
that various jars have not been downloaded (some are), then the build
fails with

Class Not Found: JDBC driver com.p6spy.engine.spy.P6SpyDriver could not 
be loaded

The missing jars are:
 content-server-2.0-a1-dev.jar
 jetspeed-api-2.0-a1-dev.jar
 jetspeed-file-cache-2.0-a1-dev.jar
 jetspeed-id-generator-2.0-a1-dev.jar
 jetspeed-locator-2.0-a1-dev.jar
 jetspeed-prefs-2.0-a1-dev.jar
 jetspeed-registry-2.0-a1-dev.jar
 jetspeed-security-2.0-a1-dev.jar
 struts-portlet-0.1.jar
 struts-portlet-spi-0.1.jar
I cannot locate these on ibiblio/maven nor on bluesunrise/maven
Any idea where these jars should be coming from?
Any help is greatly appreciated.
Cheers,
   Dan

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


Jetspeed 2 download

2004-05-21 Thread Vikas Gupta

Hi All,
I am planning to download jetspeed 2 to evaluate if jetspeed - struts can
work together. I read it somewhere that Jetspeed 2 does support struts.
Has anybody implemented Jetspeed and Struts successfully??
Also, I have never used cvs before, can anyone sugget how do I go about it.
Any help is highly appreciated.
Thanks 
Vikas

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



Is Jetspeed-2 ready to use?

2004-05-21 Thread Vladislovas Razas
Is jetspeed-2 ready for production? Sorry I did not find their FAQ and
they have only developers mailing list.


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



Re: Jetspeed 2 build failure -- jars not found at ibiblio or bluesunrise

2004-05-21 Thread Ate Douma

Jetspeed wrote:
Hello -
I've just downloaded via cvsgrab the HEAD-tagged sources for Jetspeed 2.
Maven is configured to use ibiblio and bluesunrise as remote repositories.
It appears to be working, but when I attempt to run the indicated
build command maven allClean allBuild, I get a number of warnings 
indicating
that various jars have not been downloaded (some are), then the build
fails with

Class Not Found: JDBC driver com.p6spy.engine.spy.P6SpyDriver could not 
be loaded
You must be using the sample build.properties provided in the J2 root. 
For initial building/testing you don't need it. It is an example 
configuration for using Oracle database (default hsqldb is used). If you 
do need Oracle (or MySql) please read:
http://portals.apache.org/jetspeed-2/database.html.

The p6spy driver is enabled by default in the build.properties.sample. 
For plain Oracle usage comment p6spy out (line 8) and remove the comment 
 on line 9.

The missing jars are:
 content-server-2.0-a1-dev.jar
 jetspeed-api-2.0-a1-dev.jar
 jetspeed-file-cache-2.0-a1-dev.jar
 jetspeed-id-generator-2.0-a1-dev.jar
 jetspeed-locator-2.0-a1-dev.jar
 jetspeed-prefs-2.0-a1-dev.jar
 jetspeed-registry-2.0-a1-dev.jar
 jetspeed-security-2.0-a1-dev.jar
 struts-portlet-0.1.jar
 struts-portlet-spi-0.1.jar
I cannot locate these on ibiblio/maven nor on bluesunrise/maven
Any idea where these jars should be coming from?
Maven will try to resolve its dependencies with allClean also (but not 
fail). These jars are created when you do an allBuild. Because of your 
driver problems above allBuild failed. It should be resolved if you just 
remove build.properties or rename it back to build.properties.sample

Regards,
Ate
Any help is greatly appreciated.
Cheers,
   Dan

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


Looking for Jetspeed experts

2004-05-21 Thread Christophe Lombart
Hi All,
I'm looking for Jetspeed/CMS experts for an important project in Europe 
- Brussels/France (french or english speaker).
The following knowledge are required :

* Jetspeed or any other portal solution.
* Red Hat WAF - content management solution (very important).
* Lucene or any other indexing/search tools
* Eclipse.
* Oracle.
If you are interesting, please send me a mail in order to give you  more 
details ([EMAIL PROTECTED]).

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


[J2]: Build issue with struts-portlet

2004-05-21 Thread Vikas Gupta

Hi All,

I am trying to build struts-portlet, I am getting following exception, Can
someone tell me what's wrong,

Regards
Vikas


D:\Program Files\Apache Software Foundation\Jetspeed 2\struts-portletmaven
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2

Parse Fatal Error at line 2 column 1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
So
ce)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unkn
o
 Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
So
ce)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1527)
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:183)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:126)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:234)
at org.apache.maven.MavenSession.initialize(MavenSession.java:174)
at org.apache.maven.cli.App.doMain(App.java:457)
at org.apache.maven.cli.App.main(App.java:1117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.
va:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1527)
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:183)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:126)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:234)
at org.apache.maven.MavenSession.initialize(MavenSession.java:174)
at org.apache.maven.cli.App.doMain(App.java:457)
at org.apache.maven.cli.App.main(App.java:1117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.
va:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Total time: 2 seconds
Finished at: Fri May 21 17:25:46 IST 2004

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



Re: [J2]: Build issue with struts-portlet

2004-05-21 Thread Ate Douma
Looks like one of your xml files is corrupted. Which one is hard to tell 
from the stack trace.
Check the maven.xml and/or project.xml.
Because its a multi-project it could be ../project.xml also.

Vikas Gupta wrote:
Hi All,
I am trying to build struts-portlet, I am getting following exception, Can
someone tell me what's wrong,
Regards
Vikas
D:\Program Files\Apache Software Foundation\Jetspeed 2\struts-portletmaven
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2
Parse Fatal Error at line 2 column 1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
So
ce)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unkn
o
 Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
So
ce)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1527)
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:183)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:126)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:234)
at org.apache.maven.MavenSession.initialize(MavenSession.java:174)
at org.apache.maven.cli.App.doMain(App.java:457)
at org.apache.maven.cli.App.main(App.java:1117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.
va:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1527)
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:183)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:126)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:234)
at org.apache.maven.MavenSession.initialize(MavenSession.java:174)
at org.apache.maven.cli.App.doMain(App.java:457)
at org.apache.maven.cli.App.main(App.java:1117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.
va:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Total time: 2 seconds
Finished at: Fri May 21 17:25:46 IST 2004
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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


Re: Jetspeed 2 build failure -- jars not found at ibiblio or bluesunrise

2004-05-21 Thread OlsonE
I am seeing the same problems Dan is when trying to run the instructions 
from http://portals.apache.org/jetspeed-2/getting-started.html - early in 
the build, I get the following warnings:

Attempting to download content-server-2.0-a1-dev.jar.
WARNING: Failed to download content-server-2.0-a1-dev.jar.
Attempting to download jetspeed-prefs-2.0-a1-dev.jar.
WARNING: Failed to download jetspeed-prefs-2.0-a1-dev.jar.
Attempting to download jetspeed-security-2.0-a1-dev.jar.
WARNING: Failed to download jetspeed-security-2.0-a1-dev.jar.
Attempting to download jetspeed-registry-2.0-a1-dev.jar.
WARNING: Failed to download jetspeed-registry-2.0-a1-dev.jar.
Attempting to download jetspeed-id-generator-2.0-a1-dev.jar.
WARNING: Failed to download jetspeed-id-generator-2.0-a1-dev.jar.
Attempting to download jetspeed-file-cache-2.0-a1-dev.jar.
WARNING: Failed to download jetspeed-file-cache-2.0-a1-dev.jar.
Attempting to download jetspeed-api-2.0-a1-dev.jar.
WARNING: Failed to download jetspeed-api-2.0-a1-dev.jar.
Attempting to download jetspeed-locator-2.0-a1-dev.jar.
WARNING: Failed to download jetspeed-locator-2.0-a1-dev.jar.
Attempting to download pluto-1.0.1-SNAPSHOT.jar.

Then the build continues to run a bit, then finally fails with this 
message:

+
| Build and Install the Misc. Components jar Jetspeed-2 File Cache
| Memory: 34M/55M
+
Attempting to download jetspeed-api-2.0-a1-dev.jar.
WARNING: Failed to download jetspeed-api-2.0-a1-dev.jar.
Attempting to download picocontainer-1.0-RC-1-SNAPSHOT.jar.

BUILD FAILED
File.. file:/C:/cvs-dev/jakarta-jetspeed-2/maven.xml
Element... maven:reactor
Line.. 93
Column 40
The build cannot continue because of the following unsatisfied dependency:

jetspeed-api-2.0-a1-dev.jar (no download url specified)

What am I missing?  I checked Ate's theory, but I only have a 
'build.properties.sample' file in JS2 root (I haven't changed anything 
within JS2 root.)  I am getting the other jar dependencies, just not the 
ones listed above.

Thanks,
Eric Olson




Ate Douma [EMAIL PROTECTED] 
05/21/2004 04:24 AM
Please respond to
Jetspeed Users List [EMAIL PROTECTED]


To
Jetspeed Users List [EMAIL PROTECTED]
cc

Subject
Re: Jetspeed 2 build failure -- jars not found at ibiblio or bluesunrise








Jetspeed wrote:

 Hello -
 
 I've just downloaded via cvsgrab the HEAD-tagged sources for Jetspeed 2.
 Maven is configured to use ibiblio and bluesunrise as remote 
repositories.
 It appears to be working, but when I attempt to run the indicated
 build command maven allClean allBuild, I get a number of warnings 
 indicating
 that various jars have not been downloaded (some are), then the build
 fails with
 
 Class Not Found: JDBC driver com.p6spy.engine.spy.P6SpyDriver could not 

 be loaded
You must be using the sample build.properties provided in the J2 root. 
For initial building/testing you don't need it. It is an example 
configuration for using Oracle database (default hsqldb is used). If you 
do need Oracle (or MySql) please read:
http://portals.apache.org/jetspeed-2/database.html.

The p6spy driver is enabled by default in the build.properties.sample. 
For plain Oracle usage comment p6spy out (line 8) and remove the comment 
  on line 9.

 
 The missing jars are:
  content-server-2.0-a1-dev.jar
  jetspeed-api-2.0-a1-dev.jar
  jetspeed-file-cache-2.0-a1-dev.jar
  jetspeed-id-generator-2.0-a1-dev.jar
  jetspeed-locator-2.0-a1-dev.jar
  jetspeed-prefs-2.0-a1-dev.jar
  jetspeed-registry-2.0-a1-dev.jar
  jetspeed-security-2.0-a1-dev.jar
  struts-portlet-0.1.jar
  struts-portlet-spi-0.1.jar
 
 I cannot locate these on ibiblio/maven nor on bluesunrise/maven
 
 Any idea where these jars should be coming from?
Maven will try to resolve its dependencies with allClean also (but not 
fail). These jars are created when you do an allBuild. Because of your 
driver problems above allBuild failed. It should be resolved if you just 
remove build.properties or rename it back to build.properties.sample

Regards,

Ate

 
 Any help is greatly appreciated.
 
 Cheers,
Dan
 
 
 
 -
 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]




Retrieve url from RunData

2004-05-21 Thread Stefano Bianchi
HEllo!

With this I can get the page name:

%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed'
%
%@ page import = org.apache.jetspeed.services.resources.JetspeedResources
%
%@ page import = org.apache.turbine.util.RunData %

%
  RunData data = (RunData) request.getAttribute(rundata);
  String currentPage = data.getParameters().getString(page);
%

How can I get the whole link such as:

http://www.mysite.org/user/anon/page/default.psml ?

Thank you
Stefano

Ing. Stefano Bianchi
Softeco Sismat S.p.A.
Via De Marini, 1 - WTC Tower
16149 Genoa (ITALY)
e-mail: [EMAIL PROTECTED]
tel: +39 010 60.26.368
fax: +39 010 60.26.350



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



Re: Retrieve url from RunData

2004-05-21 Thread Stefan Rennick Egglestone
One possibility is via
request.requestURI()
in your JSP.
I've tried it on one portlet, and it returns 
/WorkflowPortal/portal/media-type/html/user/test/page/default.psml/js_pane/211 
which is not quite what you want, but may be good enough. (note - 
request is of type javax.servlet.http.HttpServletRequest)

Stef
Stefano Bianchi wrote:
HEllo!
With this I can get the page name:
%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed'
%
%@ page import = org.apache.jetspeed.services.resources.JetspeedResources
%
%@ page import = org.apache.turbine.util.RunData %
%
 RunData data = (RunData) request.getAttribute(rundata);
 String currentPage = data.getParameters().getString(page);
%
How can I get the whole link such as:
   http://www.mysite.org/user/anon/page/default.psml ?
Thank you
Stefano
Ing. Stefano Bianchi
Softeco Sismat S.p.A.
Via De Marini, 1 - WTC Tower
16149 Genoa (ITALY)
e-mail: [EMAIL PROTECTED]
tel: +39 010 60.26.368
fax: +39 010 60.26.350

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


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]


Jetspeed - WSRP

2004-05-21 Thread OlsonE
Are there plans for Jetspeed 2 to support the WSRP standard?  If so, is 
there a general timeline for this to be implemented (or is it already in?)

Thanks,
Eric Olson

Re: Retrieve url from RunData

2004-05-21 Thread Stefano Bianchi
Thank Stef,
it works! I have to work on Strings but...

I still wonder if there is any key in Rundata.getParameters() returning it
without any further operation.

Bye Stefano

- Original Message - 
From: Stefan Rennick Egglestone [EMAIL PROTECTED]
To: Jetspeed Users List [EMAIL PROTECTED]
Sent: Friday, May 21, 2004 4:13 PM
Subject: Re: Retrieve url from RunData


 One possibility is via

 request.requestURI()

 in your JSP.

 I've tried it on one portlet, and it returns

/WorkflowPortal/portal/media-type/html/user/test/page/default.psml/js_pane/2
11
 which is not quite what you want, but may be good enough. (note -
 request is of type javax.servlet.http.HttpServletRequest)

 Stef

 Stefano Bianchi wrote:

 HEllo!
 
 With this I can get the page name:
 
 %@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld'
prefix='jetspeed'
 %
 %@ page import =
org.apache.jetspeed.services.resources.JetspeedResources
 %
 %@ page import = org.apache.turbine.util.RunData %
 
 %
   RunData data = (RunData) request.getAttribute(rundata);
   String currentPage = data.getParameters().getString(page);
 %
 
 How can I get the whole link such as:
 
 http://www.mysite.org/user/anon/page/default.psml ?
 
 Thank you
 Stefano
 
 Ing. Stefano Bianchi
 Softeco Sismat S.p.A.
 Via De Marini, 1 - WTC Tower
 16149 Genoa (ITALY)
 e-mail: [EMAIL PROTECTED]
 tel: +39 010 60.26.368
 fax: +39 010 60.26.350
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 



 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]



Can someone elaborate on Jetspeed-1 vs Jetspeed-2

2004-05-21 Thread Vladislovas Razas
I want to use either one of them but I am not sure which one I want :) What can I gain 
from J2 vs J1 and vice versa. To save Your time, quick tips would be enough.

Vladas

jetspeed od liferay?

2004-05-21 Thread Debora Galante


-Messaggio originale-
Da: Scott T Weaver [mailto:[EMAIL PROTECTED]
Inviato: giovedì 20 maggio 2004 0.30
A: Jetspeed Users List
Oggetto: Re: R: Struts  Jetspeed 1.5


Thanks to Ate Douma, Jetspeed 2 is now capable of running struts-based
portlet apps.  The latest CVS HEAD will automatically build and install
the struts demo application portlet for you.

Regards,
--
**
*   Scott T. Weaver  *
* [EMAIL PROTECTED]*
* http://www.einnovation.com   *
* -- *
*   Apache Jetspeed Enterprise Portal*
* Apache Pluto Portlet Container *
**
* OpenEditPro, Website Content Mangement *
* http://www.openeditpro.com   *
**

On Wed, 2004-05-19 at 09:11, Debora Galante wrote:
 Any news about  Struts  Jetspeed 1.5?
 I have the same problem...do you know Liferay??

 -Messaggio originale-
 Da: J. L. [mailto:[EMAIL PROTECTED]
 Inviato: mercoledì 12 maggio 2004 18.30
 A: [EMAIL PROTECTED]
 Oggetto: Struts  Jetspeed 1.5


 Hi,

 I'm a brand new user of Jetspeed. I just finished the
 tutorial, and still ask myself a lot of questions. I
 didn't find answers neither in the FAQ nor in the
 mailing list archive.
 I want to develop a web-application based on Struts
 and I was wondering how I could develop this web-app
 in collaboration with Jetspeed.

 How can I make Struts and Jetspeed work together ?
 I don't know how to 'merge' Struts Action, ActionForm
 ... with Jetspeed HTMLPortlet, JSPPortlet, ...

 I'll have several portlets (web-app) therefore : How
 should I structure my classes, JSP, config files ... ?

 What are the best practices ?

 Thanks in advance for your advices.






 Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
 Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

 Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez
 Yahoo! Messenger sur http://fr.messenger.yahoo.com

 -
 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: Can someone elaborate on Jetspeed-1 vs Jetspeed-2

2004-05-21 Thread Vikas Gupta
Hi Razas,
Well JS 1 has a stable release (v1.5) and there is yet no release (not even
Beta ) for JS 2. Though you can definitely download JS2 from cvs repository.
Advantages of using JS 2 is that it will adehere to JSR 168 specs. So it
will be industry wide accepted and standardized.
Cant say much on functionality perspective as it is just few days I have
been working on JS.
Regards
Vikas

-Original Message-
From: Vladislovas Razas [mailto:[EMAIL PROTECTED]
Sent: Friday, May 21, 2004 8:36 PM
To: jetspeed-users
Subject: Can someone elaborate on Jetspeed-1 vs Jetspeed-2


I want to use either one of them but I am not sure which one I want :)
What can I gain from J2 vs J1 and vice versa. To save Your time, quick
tips would be enough.

Vladas

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



non-text in JSP(mixed content type in portlet)

2004-05-21 Thread Sihong Fan
I want hide(security reason) a group of static PDF in
jetspeed. So I read and write the PDF in jsp. This jsp
page can read and write jsp out side jetspeed. But
after I put it into jetspeed. It give me 'getWriter()
has already been called for this response ' error.

Does any one know how to solve the problem?

Here is my jsp

%@ page import=java.io.* %
%@ page import=java.net.* %
%
OutputStream o = response.getOutputStream();
response.setContentType(application/pdf);
File f = new File(pdf/test2.pdf);
InputStream is = f.toURL().openStream();
byte[] buf = new byte[32 * 1024];
int nRead = 0;
while( (nRead=is.read(buf)) != -1 ) {
 o.write(buf, 0, nRead);
}
%


Thanks a lot




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 

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



Jetspeed 1.5 and ldap

2004-05-21 Thread Daniel SELAM
Hi,

I have several questions concerning ldap management with jetspeed :

a) seems that it does not work with tomcat 5. while works better with tomcat
4., is there any reason ?

b) What's the purpose of services.JetspeedSecurity.caching.enable variable ?
(seems better to set it to false)

c) I can  browse anonymously my portal but not succeed in logon as turbine
or admin : is there some ldap password troubleshootings ?

d) I would like to create new user but get this error stack :
Stacktrace:

  org.apache.jetspeed.services.security.UserException: Could not
insert user data to LDAP!
at org.apache.jetspeed.om.security.ldap.LDAPUser.update(LDAPUser.java:241)
at
org.apache.jetspeed.services.security.ldap.LDAPUserManagement.addUser(LDAPUs
erManagement.java:284)
at
org.apache.jetspeed.services.JetspeedUserManagement.addUser(JetspeedUserMana
gement.java:95)
at
org.apache.jetspeed.services.JetspeedSecurity.addUser(JetspeedSecurity.java:
213)
at
org.apache.jetspeed.modules.actions.CreateNewUserAndConfirm.doPerform(Create
NewUserAndConfirm.java:171

What I have to do to enable the ldap update ?

Thanks for your support !
Daniel.


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



Jetspeed 1.5 and Turbine

2004-05-21 Thread alex
Does anyone have any examples of using Turbine (or at least Torque) with
Jetspeed 1.5? Or maybe a how-to?
Alex Irazabal 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.684 / Virus Database: 446 - Release Date: 5/13/2004
 


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



RE: Jetspeed 1.5 and ldap

2004-05-21 Thread Jeremy Ford
You may want to try pulling the latest source from CVS.  There was a bug 
that was recently fixed in regards to the LDAP implemenation.

Jeremy Ford
[EMAIL PROTECTED]

From: Daniel SELAM [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Jetspeed 1.5 and ldap
Date: Fri, 21 May 2004 17:16:29 +0200
Hi,
I have several questions concerning ldap management with jetspeed :
a) seems that it does not work with tomcat 5. while works better with 
tomcat
4., is there any reason ?

b) What's the purpose of services.JetspeedSecurity.caching.enable variable 
?
(seems better to set it to false)

c) I can  browse anonymously my portal but not succeed in logon as turbine
or admin : is there some ldap password troubleshootings ?
d) I would like to create new user but get this error stack :
Stacktrace:
  org.apache.jetspeed.services.security.UserException: Could not
insert user data to LDAP!
at org.apache.jetspeed.om.security.ldap.LDAPUser.update(LDAPUser.java:241)
at
org.apache.jetspeed.services.security.ldap.LDAPUserManagement.addUser(LDAPUs
erManagement.java:284)
at
org.apache.jetspeed.services.JetspeedUserManagement.addUser(JetspeedUserMana
gement.java:95)
at
org.apache.jetspeed.services.JetspeedSecurity.addUser(JetspeedSecurity.java:
213)
at
org.apache.jetspeed.modules.actions.CreateNewUserAndConfirm.doPerform(Create
NewUserAndConfirm.java:171
What I have to do to enable the ldap update ?
Thanks for your support !
Daniel.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Get 200+ ad-free, high-fidelity stations and LIVE Major League Baseball 
Gameday Audio! http://radio.msn.click-url.com/go/onm00200491ave/direct/01/

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


Error retrieving Portal Page

2004-05-21 Thread masa lang
Hi , 
in jetspeed interface :
 
when i logged  in with turbine , i see this message :
 
Error retrieving Portal Page: null , and there is nothing .. !!
 
and when i log in with admin in Portlet browser, i couldn't see  the  parents , 
category, media type, type the all the list (there is nothing!)
 
the org that contains the portlets is in classes 
[ ..\WEB-INF\classes\org\apache\jetspeed\modules\actions\portlets]
 
what's wrong ?why it couldn't see them ?
 
 
massa
 
 
 



-
Post your free ad now! Yahoo! Canada Personals


What is the default Group Profile?

2004-05-21 Thread Bob Fleischman
And where is it created?

I am familiar with services.Profiler.newuser.template for new users, but I
did not see anything similar for groups.

I would like to intercept the process and customize the Profile/PSML that is
created for each group so that I can quickly create team workspaces.

Has anyone else tried this??

Thanks

Bob Fleischman



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



Jetspeed 1.6-dev from CVS - Freeze in CastorRegistryService

2004-05-21 Thread Jean-François Ménard
With a fresh build from CVS, everything work fine for a while.

But as soon as I try to use a VelocityPortlet or a JspPortlet, Jetspeed
hang and cannot start anymore. In fact, as soon as I insert one of these
portlets in my psml files, I can't start Jetspeed anymore...

What's very bizarre is that HelloJSP from Jetspeed work fine!!!

In jetspeedservices.log, I have:

2004-05-21 18:04:25,270 [DaemonThread:feeddaemon] DEBUG
CastorRegistryService - RegistryService: Waiting for init of Registry...
2004-05-21 18:04:25,772 [DaemonThread:feeddaemon] DEBUG
CastorRegistryService - RegistryService: Waiting for init of Registry...
2004-05-21 18:04:26,274 [DaemonThread:feeddaemon] DEBUG
CastorRegistryService - RegistryService: Waiting for init of Registry...
2004-05-21 18:04:26,775 [DaemonThread:feeddaemon] DEBUG
CastorRegistryService - RegistryService: Waiting for init of Registry...
2004-05-21 18:04:27,277 [DaemonThread:feeddaemon] DEBUG
CastorRegistryService - RegistryService: Waiting for init of Registry...
2004-05-21 18:04:27,779 [DaemonThread:feeddaemon] DEBUG
CastorRegistryService - RegistryService: Waiting for init of Registry...
...
...

I found a thread in mailing list archives wich point to a patch posted
in Jira.

Question:

- If the patch is the fix, wasn't it merged in HEAD?
- If yes, then my issue is something else.
- If not, why not?  Are there any issues with this fix?




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



Re: Error retrieving Portal Page

2004-05-21 Thread masa lang
when i logged in with anon , i can see the portlet (mine) but when i try turbine i 
have this message :
Error retrieving Portal Page: null 
 
And i saw in jetspeed.log :
 
 ERROR MyPagesListBox - Exception
java.lang.NullPointerException
 at org.apache.jetspeed.portal.BasePortletConfig.setURL(BasePortletConfig.java:186)
 at 
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryService.getPortletConfig(JetspeedPortletFactoryService.java:363)
 at 
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryService.getPortlet(JetspeedPortletFactoryService.java:118)
 at org.apache.jetspeed.services.PortletFactory.getPortlet(PortletFactory.java:54)
 at 
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getSet(JetspeedPortalToolkitService.java:471)
 at 
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getSet(JetspeedPortalToolkitService.java:450)
 at 
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getSet(JetspeedPortalToolkitService.java:403)
 at org.apache.jetspeed.services.PortalToolkit.getSet(PortalToolkit.java:129)
 at org.apache.jetspeed.om.profile.BaseProfile.getRootSet(BaseProfile.java:76)
 at org.apache.jetspeed.util.PortletUtils.canAccessProfile(PortletUtils.java:84)
 at 
org.apache.jetspeed.modules.parameters.MyPagesListBox.buildContext(MyPagesListBox.java:87)
 at 
org.apache.jetspeed.modules.parameters.VelocityParameterPresentationStyle.getContent(VelocityParameterPresentationStyle.java:96)
 at org.apache.jetspeed.modules.ParameterLoader.eval(ParameterLoader.java:117)
 at org.apache.jetspeed.util.template.JetspeedTool.getParameter(JetspeedTool.java:819)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260)
 at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
 at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250)
 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
 at 
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
 at 
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
 at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
 at org.apache.velocity.Template.merge(Template.java:296)
 at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
 at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
 at 
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:384)
 at 
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:278)
 at 
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:107)
 at 
org.apache.turbine.modules.navigations.VelocityNavigation.buildTemplate(VelocityNavigation.java:132)
 at 
org.apache.turbine.modules.navigations.TemplateNavigation.doBuild(TemplateNavigation.java:103)
 at org.apache.turbine.modules.Navigation.build(Navigation.java:98)
 at org.apache.turbine.modules.NavigationLoader.eval(NavigationLoader.java:129)
 at 
org.apache.turbine.util.template.TemplateNavigation.toString(TemplateNavigation.java:125)
 at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:321)
 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
 at 
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
 at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
 at org.apache.velocity.Template.merge(Template.java:296)
 at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
 at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
 at 
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494)
 at 
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336)
 at 
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143)
 at 
org.apache.turbine.modules.layouts.VelocityDirectLayout.doBuild(VelocityDirectLayout.java:106)
 at org.apache.turbine.modules.Layout.build(Layout.java:91)
 at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123)
 at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:169)
 at org.apache.turbine.modules.Page.build(Page.java:90)
 at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
 at org.apache.turbine.Turbine.doGet(Turbine.java:563)
 at 

RE: Error retrieving Portal Page

2004-05-21 Thread Jeremy Ford
I believe that this bug has been resolved.  

See http://nagoya.apache.org/jira/browse/JS1-474

Try using the latest src from CVS.

Jeremy Ford
[EMAIL PROTECTED]


-Original Message-
From: masa lang [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 21, 2004 5:28 PM
To: Jetspeed Users List
Subject: Re: Error retrieving Portal Page

when i logged in with anon , i can see the portlet (mine) but when i try
turbine i have this message :
Error retrieving Portal Page: null 
 
And i saw in jetspeed.log :
 
 ERROR MyPagesListBox - Exception
java.lang.NullPointerException
 at
org.apache.jetspeed.portal.BasePortletConfig.setURL(BasePortletConfig.java:1
86)
 at
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryServicege
tPortletConfig(JetspeedPortletFactoryService.java:363)
 at
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryServicege
tPortlet(JetspeedPortletFactoryService.java:118)
 at
org.apache.jetspeed.services.PortletFactory.getPortlet(PortletFactory.java:5
4)
 at
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
et(JetspeedPortalToolkitService.java:471)
 at
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
et(JetspeedPortalToolkitService.java:450)
 at
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
et(JetspeedPortalToolkitService.java:403)
 at
org.apache.jetspeed.services.PortalToolkit.getSet(PortalToolkit.java:129)
 at
org.apache.jetspeed.om.profile.BaseProfile.getRootSet(BaseProfile.java:76)
 at
org.apache.jetspeed.util.PortletUtils.canAccessProfile(PortletUtils.java:84)
 at
org.apache.jetspeed.modules.parameters.MyPagesListBox.buildContext(MyPagesLi
stBox.java:87)
 at
org.apache.jetspeed.modules.parameters.VelocityParameterPresentationStylege
tContent(VelocityParameterPresentationStyle.java:96)
 at
org.apache.jetspeed.modules.ParameterLoader.eval(ParameterLoader.java:117)
 at
org.apache.jetspeed.util.template.JetspeedTool.getParameter(JetspeedTool.jav
a:819)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260
)
 at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenceja
va:207)
 at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:250)
 at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
 at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
java:109)
 at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
 at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
java:109)
 at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:27
1)
 at org.apache.velocity.Template.merge(Template.java:296)
 at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
 at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
 at
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(Tu
rbineVelocityService.java:384)
 at
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(Tu
rbineVelocityService.java:278)
 at
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVe
locity.java:107)
 at
org.apache.turbine.modules.navigations.VelocityNavigation.buildTemplate(Velo
cityNavigation.java:132)
 at
org.apache.turbine.modules.navigations.TemplateNavigation.doBuild(TemplateNa
vigation.java:103)
 at org.apache.turbine.modules.Navigation.build(Navigation.java:98)
 at
org.apache.turbine.modules.NavigationLoader.eval(NavigationLoader.java:129)
 at
org.apache.turbine.util.template.TemplateNavigation.toString(TemplateNavigat
ion.java:125)
 at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:321)
 at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
 at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
java:109)
 at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:27
1)
 at org.apache.velocity.Template.merge(Template.java:296)
 at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
 at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
 at
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(Tu
rbineVelocityService.java:494)
 at
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(Tu
rbineVelocityService.java:336)
 at
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVe
locity.java:143)
 at
org.apache.turbine.modules.layouts.VelocityDirectLayout.doBuild(VelocityDire
ctLayout.java:106)
 at org.apache.turbine.modules.Layout.build(Layout.java:91)
 at 

RE: Error retrieving Portal Page

2004-05-21 Thread masa lang
i am new with jetspeed my question is :
 how can you explain that the anon user can see his portlets but not the turbine user 
? 
src from CVS ? i had my jetspeed by .war ! can you explain me please ?
 
thanks in advance 
 

Jeremy Ford [EMAIL PROTECTED] wrote:
I believe that this bug has been resolved. 

See http://nagoya.apache.org/jira/browse/JS1-474

Try using the latest src from CVS.

Jeremy Ford
[EMAIL PROTECTED]


-Original Message-
From: masa lang [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 21, 2004 5:28 PM
To: Jetspeed Users List
Subject: Re: Error retrieving Portal Page

when i logged in with anon , i can see the portlet (mine) but when i try
turbine i have this message :
Error retrieving Portal Page: null 

And i saw in jetspeed.log :

ERROR MyPagesListBox - Exception
java.lang.NullPointerException
at
org.apache.jetspeed.portal.BasePortletConfig.setURL(BasePortletConfig.java:1
86)
at
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryServicege
tPortletConfig(JetspeedPortletFactoryService.java:363)
at
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryServicege
tPortlet(JetspeedPortletFactoryService.java:118)
at
org.apache.jetspeed.services.PortletFactory.getPortlet(PortletFactory.java:5
4)
at
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
et(JetspeedPortalToolkitService.java:471)
at
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
et(JetspeedPortalToolkitService.java:450)
at
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
et(JetspeedPortalToolkitService.java:403)
at
org.apache.jetspeed.services.PortalToolkit.getSet(PortalToolkit.java:129)
at
org.apache.jetspeed.om.profile.BaseProfile.getRootSet(BaseProfile.java:76)
at
org.apache.jetspeed.util.PortletUtils.canAccessProfile(PortletUtils.java:84)
at
org.apache.jetspeed.modules.parameters.MyPagesListBox.buildContext(MyPagesLi
stBox.java:87)
at
org.apache.jetspeed.modules.parameters.VelocityParameterPresentationStylege
tContent(VelocityParameterPresentationStyle.java:96)
at
org.apache.jetspeed.modules.ParameterLoader.eval(ParameterLoader.java:117)
at
org.apache.jetspeed.util.template.JetspeedTool.getParameter(JetspeedTool.jav
a:819)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenceja
va:207)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:250)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
java:109)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
java:109)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:27
1)
at org.apache.velocity.Template.merge(Template.java:296)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
at
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(Tu
rbineVelocityService.java:384)
at
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(Tu
rbineVelocityService.java:278)
at
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVe
locity.java:107)
at
org.apache.turbine.modules.navigations.VelocityNavigation.buildTemplate(Velo
cityNavigation.java:132)
at
org.apache.turbine.modules.navigations.TemplateNavigation.doBuild(TemplateNa
vigation.java:103)
at org.apache.turbine.modules.Navigation.build(Navigation.java:98)
at
org.apache.turbine.modules.NavigationLoader.eval(NavigationLoader.java:129)
at
org.apache.turbine.util.template.TemplateNavigation.toString(TemplateNavigat
ion.java:125)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:321)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
java:109)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:27
1)
at org.apache.velocity.Template.merge(Template.java:296)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
at
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(Tu
rbineVelocityService.java:494)
at
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(Tu
rbineVelocityService.java:336)
at

RE: Error retrieving Portal Page

2004-05-21 Thread Jeremy Ford
I don't know why the turbine user is having trouble.  The stack trace that
you sent would seem to indicate you ran into a bug that has been fixed in
the development tree.

In order to get access to the src in the development tree without waiting
for an official release, you need to access cvs.apache.org and download it.
See:  http://jakarta.apache.org/site/cvsindex.html

Jeremy Ford
[EMAIL PROTECTED]


-Original Message-
From: masa lang [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 21, 2004 6:31 PM
To: Jetspeed Users List; [EMAIL PROTECTED]
Subject: RE: Error retrieving Portal Page

i am new with jetspeed my question is :
 how can you explain that the anon user can see his portlets but not the
turbine user ? 
src from CVS ? i had my jetspeed by .war ! can you explain me please ?
 
thanks in advance 
 

Jeremy Ford [EMAIL PROTECTED] wrote:
I believe that this bug has been resolved. 

See http://nagoya.apache.org/jira/browse/JS1-474

Try using the latest src from CVS.

Jeremy Ford
[EMAIL PROTECTED]


-Original Message-
From: masa lang [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 21, 2004 5:28 PM
To: Jetspeed Users List
Subject: Re: Error retrieving Portal Page

when i logged in with anon , i can see the portlet (mine) but when i try
turbine i have this message :
Error retrieving Portal Page: null 

And i saw in jetspeed.log :

ERROR MyPagesListBox - Exception
java.lang.NullPointerException
at
org.apache.jetspeed.portal.BasePortletConfig.setURL(BasePortletConfig.java:1
86)
at
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryServicege
tPortletConfig(JetspeedPortletFactoryService.java:363)
at
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryServicege
tPortlet(JetspeedPortletFactoryService.java:118)
at
org.apache.jetspeed.services.PortletFactory.getPortlet(PortletFactory.java:5
4)
at
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
et(JetspeedPortalToolkitService.java:471)
at
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
et(JetspeedPortalToolkitService.java:450)
at
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
et(JetspeedPortalToolkitService.java:403)
at
org.apache.jetspeed.services.PortalToolkit.getSet(PortalToolkit.java:129)
at
org.apache.jetspeed.om.profile.BaseProfile.getRootSet(BaseProfile.java:76)
at
org.apache.jetspeed.util.PortletUtils.canAccessProfile(PortletUtils.java:84)
at
org.apache.jetspeed.modules.parameters.MyPagesListBox.buildContext(MyPagesLi
stBox.java:87)
at
org.apache.jetspeed.modules.parameters.VelocityParameterPresentationStylege
tContent(VelocityParameterPresentationStyle.java:96)
at
org.apache.jetspeed.modules.ParameterLoader.eval(ParameterLoader.java:117)
at
org.apache.jetspeed.util.template.JetspeedTool.getParameter(JetspeedTool.jav
a:819)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenceja
va:207)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:250)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
java:109)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
java:109)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:27
1)
at org.apache.velocity.Template.merge(Template.java:296)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
at
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(Tu
rbineVelocityService.java:384)
at
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(Tu
rbineVelocityService.java:278)
at
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVe
locity.java:107)
at
org.apache.turbine.modules.navigations.VelocityNavigation.buildTemplate(Velo
cityNavigation.java:132)
at
org.apache.turbine.modules.navigations.TemplateNavigation.doBuild(TemplateNa
vigation.java:103)
at org.apache.turbine.modules.Navigation.build(Navigation.java:98)
at
org.apache.turbine.modules.NavigationLoader.eval(NavigationLoader.java:129)
at
org.apache.turbine.util.template.TemplateNavigation.toString(TemplateNavigat
ion.java:125)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:321)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at