You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Philippe d'Anfray <Ph...@cea.fr> on 2010/04/22 16:59:52 UTC

Jetspeed PSML page security not ,found

Bonjour,

I tried to build a custom Jetspeed-2.2.1 portal. When I launch the
portal I have in the logs many (many) errors like:

2010-04-22 16:49:47,371 [http-8080-2] ERROR
org.apache.jetspeed.container.JetspeedContainerServlet -
JetspeedContainerServlet: Error rendering portlet
"j2-admin::SpacesManager": javax.portlet.PortletException:
org.apache.jetspeed.page.document.DocumentNotFoundExcept
ion: Jetspeed PSML page security not found: page.security
javax.portlet.PortletException:
org.apache.jetspeed.page.document.DocumentNotFoundException: Jetspeed
PSML page security not found: page.security

....

and of course many portlets just show an error message

like

Portlet j2-admin::SpacesManager not available: Jetspeed PSML page
security not found: page.security

etc...

** I have ubuntu 9.10
** apache-tomcat-6.0.26 correctly confiigured (a j2deployer user,
emptySessionPath="true", <Manager pathname="" />
** Apache Maven 2.2.1
** Apache Ant version 1.7.1
**java-6-sun-1.6.0.19

I build the portal using the instrucions from
http://portals.apache.org/jetspeed-2/buildguide/jetspeed-archetype.html

** mvn
org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate \
    -DarchetypeGroupId=org.apache.portals.jetspeed-2 \
    -DarchetypeArtifactId=jetspeed-archetype \
    -DarchetypeVersion=2.2.1 \
    -DartifactId=Portail-Aristote \
    -Dpackage=org.aristote \
    -DgroupId=org.aristote -Dversion=1.0.a

** with jetspeed-mvn-settings.xml configured to use derby

**mvn jetspeed:mvn -Dtarget=all

builds are OK

It seems that no psml pages are found ? any idea ?

Cordialement

Ph d'Anfray







Re: RE : Jetspeed PSML page security not ,found

Posted by Philippe d'Anfray <Ph...@cea.fr>.
Bonjour,

Yes it works with the missing file. I have created the issue .

Merci !

Philippe


Woonsan Ko a écrit :
>  
> I think you found a bug in the Jetspeed archetype.
> The problem seems caused by a missing file, /WEB-INF/pages/page.security, under your portal webapp directory.
> You can copy the file from here:
>
> http://svn.apache.org/repos/asf/portals/jetspeed-2/portal/tags/JETSPEED-RELEASE-2.2.1/applications/jetspeed/src/main/webapp/WEB-INF/min-ui-pages/page.security
>
> Would you please create a JIRA issue for this problem?
>
>   
 


Re: RE : Jetspeed PSML page security not ,found

Posted by Woonsan Ko <wo...@yahoo.com>.
Hi Philippe,

I think you found a bug in the Jetspeed archetype.
The problem seems caused by a missing file, /WEB-INF/pages/page.security, under your portal webapp directory.
You can copy the file from here:

http://svn.apache.org/repos/asf/portals/jetspeed-2/portal/tags/JETSPEED-RELEASE-2.2.1/applications/jetspeed/src/main/webapp/WEB-INF/min-ui-pages/page.security

Would you please create a JIRA issue for this problem?


Kind regards,

Woonsan



----- Original Message ----
> From: D'ANFRAY Philippe <ph...@cea.fr>
> To: Jetspeed Users List <je...@portals.apache.org>
> Sent: Mon, May 3, 2010 1:04:25 PM
> Subject: RE : Jetspeed PSML page security not ,found
> 
> 
Bonjour

Here is the (basic) file I used, sorry for that late reply 
> 

Cordialement

Philippe

<?xml version="1.0" 
> encoding="UTF-8"?>
<!--
  Licensed to the Apache Software 
> Foundation (ASF) under one
  ... 
  
> jetspeed-mvn-settings.xml
  ...
-->
<settings 
> xmlns="http://maven.apache.org/POM/4.0.0">
  
  
> <profiles>
    
    <profile>
  
>     <id>jetspeed-mvn-settings</id>
      
> <activation>
        
> <activeByDefault>true</activeByDefault>
      
>   
      </activation>
      
> <properties>
        
      
>   
> <org.apache.jetspeed.server.home>/usr/share/tomcat6/</org.apache.jetspeed.server.home>
  
>       
> <org.apache.jetspeed.catalina.version.major>6</org.apache.jetspeed.catalina.version.major>
  
>       
> <org.apache.jetspeed.production.jdbc.driver.groupId>org.apache.derby</org.apache.jetspeed.production.jdbc.driver.groupId>
  
>       
> <org.apache.jetspeed.production.jdbc.driver.artifactId>derby</org.apache.jetspeed.production.jdbc.driver.artifactId>
  
>       
        
> <org.apache.jetspeed.production.jdbc.driver.version>10.3.2.1</org.apache.jetspeed.production.jdbc.driver.version>
  
>       <
> href="http://org.apache.jetspeed.production.database.default.name">org.apache.jetspeed.production.database.default.name>derby</org.apache.jetspeed.production.database.default.name>
  
>       
> <org.apache.jetspeed.production.database.url>jdbc:derby:/var/jetspeed/derby/productiondb;create=true</org.apache.jetspeed.production.database.url>
  
>       
> <org.apache.jetspeed.production.database.driver>org.apache.derby.jdbc.EmbeddedDriver</org.apache.jetspeed.production.database.driver>
  
>       
> <org.apache.jetspeed.production.database.user></org.apache.jetspeed.production.database.user>
  
>       
> <org.apache.jetspeed.production.database.password></org.apache.jetspeed.production.database.password>
  
>       
      </properties>
  
>   </profile>
    
  </profiles>
  
> 
</settings>



-------- Message d'origine--------
De: 
> David Sean Taylor [mailto:
> href="mailto:d.taylor@onehippo.com">d.taylor@onehippo.com]
Date: mar. 
> 27/04/2010 21:12
À: Jetspeed Users List
Objet : Re: Jetspeed PSML page 
> security not ,found

Could you paste in your jetspeed-mvn-settings.xml, 
> sounds like
something went wrong there...

On Thu, Apr 22, 2010 at 7:59 
> AM, Philippe d'Anfray
<
> href="mailto:Philippe.d-Anfray@cea.fr">Philippe.d-Anfray@cea.fr> 
> wrote:
> Bonjour,
>
> I tried to build a custom Jetspeed-2.2.1 
> portal. When I launch the
> portal I have in the logs many (many) errors 
> like:
>
> 2010-04-22 16:49:47,371 [http-8080-2] ERROR
> 
> org.apache.jetspeed.container.JetspeedContainerServlet -
> 
> JetspeedContainerServlet: Error rendering portlet
> 
> "j2-admin::SpacesManager": javax.portlet.PortletException:
> 
> org.apache.jetspeed.page.document.DocumentNotFoundExcept
> ion: Jetspeed 
> PSML page security not found: page.security
> 
> javax.portlet.PortletException:
> 
> org.apache.jetspeed.page.document.DocumentNotFoundException: Jetspeed
> 
> PSML page security not found: page.security
>
> ....
>
> 
> and of course many portlets just show an error message
>
> 
> like
>
> Portlet j2-admin::SpacesManager not available: Jetspeed 
> PSML page
> security not found: page.security
>
> 
> etc...
>
> ** I have ubuntu 9.10
> ** apache-tomcat-6.0.26 
> correctly confiigured (a j2deployer user,
> emptySessionPath="true", 
> <Manager pathname="" />
> ** Apache Maven 2.2.1
> ** Apache 
> Ant version 1.7.1
> **java-6-sun-1.6.0.19
>
> I build the 
> portal using the instrucions from
> 
> http://portals.apache.org/jetspeed-2/buildguide/jetspeed-archetype.html
>
> 
> ** mvn
> 
> org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate \
>   
>  -DarchetypeGroupId=org.apache.portals.jetspeed-2 \
>   
>  -DarchetypeArtifactId=jetspeed-archetype \
>    -DarchetypeVersion=2.2.1 
> \
>    -DartifactId=Portail-Aristote \
>    -Dpackage=org.aristote 
> \
>    -DgroupId=org.aristote -Dversion=1.0.a
>
> ** with 
> jetspeed-mvn-settings.xml configured to use derby
>
> **mvn 
> jetspeed:mvn -Dtarget=all
>
> builds are OK
>
> It seems 
> that no psml pages are found ? any idea ?
>
> 
> Cordialement
>
> Ph 
> d'Anfray
>
>
>
>
>
>
>
>
> 
> ---------------------------------------------------------------------
> To 
> unsubscribe, e-mail: 
> ymailto="mailto:jetspeed-user-unsubscribe@portals.apache.org" 
> href="mailto:jetspeed-user-unsubscribe@portals.apache.org">jetspeed-user-unsubscribe@portals.apache.org
> 
> For additional commands, e-mail: 
> ymailto="mailto:jetspeed-user-help@portals.apache.org" 
> href="mailto:jetspeed-user-help@portals.apache.org">jetspeed-user-help@portals.apache.org
>

---------------------------------------------------------------------
To 
> unsubscribe, e-mail: 
> ymailto="mailto:jetspeed-user-unsubscribe@portals.apache.org" 
> href="mailto:jetspeed-user-unsubscribe@portals.apache.org">jetspeed-user-unsubscribe@portals.apache.org
For 
> additional commands, e-mail: 
> ymailto="mailto:jetspeed-user-help@portals.apache.org" 
> href="mailto:jetspeed-user-help@portals.apache.org">jetspeed-user-help@portals.apache.org




---------------------------------------------------------------------
To 
> unsubscribe, e-mail: 
> ymailto="mailto:jetspeed-user-unsubscribe@portals.apache.org" 
> href="mailto:jetspeed-user-unsubscribe@portals.apache.org">jetspeed-user-unsubscribe@portals.apache.org
For 
> additional commands, e-mail: 
> ymailto="mailto:jetspeed-user-help@portals.apache.org" 
> href="mailto:jetspeed-user-help@portals.apache.org">jetspeed-user-help@portals.apache.org



      

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE : Jetspeed PSML page security not ,found

Posted by D'ANFRAY Philippe <ph...@cea.fr>.
Bonjour

Here is the (basic) file I used, sorry for that late reply 

Cordialement

Philippe

<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  ... 
  jetspeed-mvn-settings.xml
  ...
-->
<settings xmlns="http://maven.apache.org/POM/4.0.0">
  
  <profiles>
    
    <profile>
      <id>jetspeed-mvn-settings</id>
      <activation>
        <activeByDefault>true</activeByDefault>
        
      </activation>
      <properties>
        
        <org.apache.jetspeed.server.home>/usr/share/tomcat6/</org.apache.jetspeed.server.home>
        <org.apache.jetspeed.catalina.version.major>6</org.apache.jetspeed.catalina.version.major>
        <org.apache.jetspeed.production.jdbc.driver.groupId>org.apache.derby</org.apache.jetspeed.production.jdbc.driver.groupId>
        <org.apache.jetspeed.production.jdbc.driver.artifactId>derby</org.apache.jetspeed.production.jdbc.driver.artifactId>
        
        <org.apache.jetspeed.production.jdbc.driver.version>10.3.2.1</org.apache.jetspeed.production.jdbc.driver.version>
        <org.apache.jetspeed.production.database.default.name>derby</org.apache.jetspeed.production.database.default.name>
        <org.apache.jetspeed.production.database.url>jdbc:derby:/var/jetspeed/derby/productiondb;create=true</org.apache.jetspeed.production.database.url>
        <org.apache.jetspeed.production.database.driver>org.apache.derby.jdbc.EmbeddedDriver</org.apache.jetspeed.production.database.driver>
        <org.apache.jetspeed.production.database.user></org.apache.jetspeed.production.database.user>
        <org.apache.jetspeed.production.database.password></org.apache.jetspeed.production.database.password>
        
      </properties>
    </profile>
    
  </profiles>
  
</settings>



-------- Message d'origine--------
De: David Sean Taylor [mailto:d.taylor@onehippo.com]
Date: mar. 27/04/2010 21:12
À: Jetspeed Users List
Objet : Re: Jetspeed PSML page security not ,found
 
Could you paste in your jetspeed-mvn-settings.xml, sounds like
something went wrong there...

On Thu, Apr 22, 2010 at 7:59 AM, Philippe d'Anfray
<Ph...@cea.fr> wrote:
> Bonjour,
>
> I tried to build a custom Jetspeed-2.2.1 portal. When I launch the
> portal I have in the logs many (many) errors like:
>
> 2010-04-22 16:49:47,371 [http-8080-2] ERROR
> org.apache.jetspeed.container.JetspeedContainerServlet -
> JetspeedContainerServlet: Error rendering portlet
> "j2-admin::SpacesManager": javax.portlet.PortletException:
> org.apache.jetspeed.page.document.DocumentNotFoundExcept
> ion: Jetspeed PSML page security not found: page.security
> javax.portlet.PortletException:
> org.apache.jetspeed.page.document.DocumentNotFoundException: Jetspeed
> PSML page security not found: page.security
>
> ....
>
> and of course many portlets just show an error message
>
> like
>
> Portlet j2-admin::SpacesManager not available: Jetspeed PSML page
> security not found: page.security
>
> etc...
>
> ** I have ubuntu 9.10
> ** apache-tomcat-6.0.26 correctly confiigured (a j2deployer user,
> emptySessionPath="true", <Manager pathname="" />
> ** Apache Maven 2.2.1
> ** Apache Ant version 1.7.1
> **java-6-sun-1.6.0.19
>
> I build the portal using the instrucions from
> http://portals.apache.org/jetspeed-2/buildguide/jetspeed-archetype.html
>
> ** mvn
> org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate \
>    -DarchetypeGroupId=org.apache.portals.jetspeed-2 \
>    -DarchetypeArtifactId=jetspeed-archetype \
>    -DarchetypeVersion=2.2.1 \
>    -DartifactId=Portail-Aristote \
>    -Dpackage=org.aristote \
>    -DgroupId=org.aristote -Dversion=1.0.a
>
> ** with jetspeed-mvn-settings.xml configured to use derby
>
> **mvn jetspeed:mvn -Dtarget=all
>
> builds are OK
>
> It seems that no psml pages are found ? any idea ?
>
> Cordialement
>
> Ph d'Anfray
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org




Re: Jetspeed PSML page security not ,found

Posted by David Sean Taylor <d....@onehippo.com>.
Could you paste in your jetspeed-mvn-settings.xml, sounds like
something went wrong there...

On Thu, Apr 22, 2010 at 7:59 AM, Philippe d'Anfray
<Ph...@cea.fr> wrote:
> Bonjour,
>
> I tried to build a custom Jetspeed-2.2.1 portal. When I launch the
> portal I have in the logs many (many) errors like:
>
> 2010-04-22 16:49:47,371 [http-8080-2] ERROR
> org.apache.jetspeed.container.JetspeedContainerServlet -
> JetspeedContainerServlet: Error rendering portlet
> "j2-admin::SpacesManager": javax.portlet.PortletException:
> org.apache.jetspeed.page.document.DocumentNotFoundExcept
> ion: Jetspeed PSML page security not found: page.security
> javax.portlet.PortletException:
> org.apache.jetspeed.page.document.DocumentNotFoundException: Jetspeed
> PSML page security not found: page.security
>
> ....
>
> and of course many portlets just show an error message
>
> like
>
> Portlet j2-admin::SpacesManager not available: Jetspeed PSML page
> security not found: page.security
>
> etc...
>
> ** I have ubuntu 9.10
> ** apache-tomcat-6.0.26 correctly confiigured (a j2deployer user,
> emptySessionPath="true", <Manager pathname="" />
> ** Apache Maven 2.2.1
> ** Apache Ant version 1.7.1
> **java-6-sun-1.6.0.19
>
> I build the portal using the instrucions from
> http://portals.apache.org/jetspeed-2/buildguide/jetspeed-archetype.html
>
> ** mvn
> org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate \
>    -DarchetypeGroupId=org.apache.portals.jetspeed-2 \
>    -DarchetypeArtifactId=jetspeed-archetype \
>    -DarchetypeVersion=2.2.1 \
>    -DartifactId=Portail-Aristote \
>    -Dpackage=org.aristote \
>    -DgroupId=org.aristote -Dversion=1.0.a
>
> ** with jetspeed-mvn-settings.xml configured to use derby
>
> **mvn jetspeed:mvn -Dtarget=all
>
> builds are OK
>
> It seems that no psml pages are found ? any idea ?
>
> Cordialement
>
> Ph d'Anfray
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org