Differences between revisions 6 and 7
Revision 6 as of 2005-06-15 14:31:54
Size: 6048
Editor: spb-81-211-98-30
Comment:
Revision 7 as of 2009-09-20 23:46:42
Size: 6050
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
[http://portals.apache.org/jetspeed-2/getting-started.html] [[http://portals.apache.org/jetspeed-2/getting-started.html]]

Install JS2-M3.

This file described additional steps for install JS2 via standart Getting Started http://portals.apache.org/jetspeed-2/getting-started.html

steps '2. Build Properties' and '4. Building Jetspeed 2'

Issue:

You got something like this:

org.apache.maven.MavenException: Error reading XML or initializing

:235)

java:39)

sorImpl.java: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)

--- Nested Exception --- java.io.IOException: The filename, directory name, or volume label syntax is inc orrect

  • at java.io.WinNTFileSystem.canonicalize0(Native Method)

    at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:354) at java.io.File.getCanonicalPath(File.java:513) at org.apache.maven.MavenUtils.makeAbsolutePath(MavenUtils.java:1031) at org.apache.maven.project.Resource.resolveDirectory(Resource.java:163)

Solution Don't use backslash in build.properties file - only '/' for example:

change: org.apache.jetspeed.server.home=c:\opt\Tomcat5.5

to: org.apache.jetspeed.server.home=c:/opt/Tomcat5.5

step '5. Deploying Jetspeed into Tomcat'/'.2 maven quickStart'

Issue:

after start tomcat in file%CATALINA_HOME%\logs\stdout_????.log, you got something like this:

[org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl] ERROR: SQLException thrown while trying to get Connection from Datasource (java:comp/env/jdbc/jetspeed) Cannot create JDBC driver of class for connect URL 'null' org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class for connect URL 'null'

Solution:

goto %CATALINA_HOME%\conf\<engine-name>\<host-name>\jetspeed

and replace in jetspeed.xml

  • <ResourceParams name="jdbc/jetspeed">

    • <parameter>

      </parameter> <parameter>

      • <name>maxActive</name> <value>100</value>

      </parameter> <parameter>

      • <name>maxIdle</name> <value>30</value>

      </parameter> <parameter>

      • <name>maxWait</name> <value>10000</value>

      </parameter> <parameter>

      • <name>username</name> <value>sa</value>

      </parameter> <parameter>

      • <name>password</name> <value/>

      </parameter>

    </ResourceParams>

with:

  • <Resource name="jdbc/jetspeed" auth="Container"

    • type="javax.sql.DataSource" driverClassName="org.hsqldb.jdbcDriver" url="jdbc:hsqldb:hsql://127.0.0.1:9001" username="sa" password="" maxActive="100" maxIdle="30" maxWait="10000" factory="org.apache.commons.dbcp.BasicDataSourceFactory"

/>

After of all of this I got:

Failed to retrieve Portlet Definition for jetspeed-layouts::VelocityTwoColumnsorg.apache.jetspeed.container.window.FailedToRetrievePortletWindow: No PortletEntity exists for for id dp-1 removing window from cache.

How solve this I dont known. I think this is JS2-m3 issue.

Jetspeed2/fight-with-dark-power (last edited 2009-09-20 23:46:42 by localhost)