Ralph,
I am reposting it...
The following is the steps to build Jetspeed 2 with Oracle 8i in Tomcat
5.5
You need to have have Maven, Tomcat and Jetspeed 2 source downloaded and
installed in your machine.
Create a file build.properties in $USER_HOME directory in Windows it is
like C:/Documents and Settings/<username>/build.properties
and add the following entries appropriately.
#start of build.properties
------------------------------------------------------------------------
# jetspeed 2 home required for build
org.apache.jetspeed.project.home = D:/jetspeed-2.0-src
# jetspeed required properties
org.apache.jetspeed.server.home = D:\Tomcat-5.5
org.apache.jetspeed.catalina.version.major = 5.5
org.apache.jetspeed.server.shared =
${org.apache.jetspeed.server.home}/shared/lib
org.apache.jetspeed.deploy.war.dir =
${org.apache.jetspeed.server.home}/webapps
org.apache.jetspeed.services.autodeployment.user = j2deployer
org.apache.jetspeed.services.autodeployment.password = j2deployer
org.apache.jetspeed.portal.name=jetspeed
jetspeed.version=2.0
# j2:portal.genapp properties
org.apache.jetspeed.genapp.home= D:/Test_Project
org.apache.jetspeed.genapp.groupId=testportal
org.apache.jetspeed.genapp.name=My Test Portal
org.apache.jetspeed.genapp.currentVersion=1.0
# jetspeed db build properties
# If you need test db uncomment the following and give appropriate
entries
#org.apache.jetspeed.test.database.url =
jdbc:oracle:thin:@user.test.com:1521:mySchema
#org.apache.jetspeed.test.database.driver =
oracle.jdbc.driver.OracleDriver
#org.apache.jetspeed.test.database.user = myUser
#org.apache.jetspeed.test.database.password = myPass
#org.apache.jetspeed.test.jdbc.drivers.path=D:/Projects/WEB-INF/lib/clas
ses12.jar
#org.apache.jetspeed.test.database.default.name=oracle
org.apache.jetspeed.production.database.url =
jdbc:oracle:thin:@user.test.com:1521:mySchema
org.apache.jetspeed.production.database.driver =
oracle.jdbc.driver.OracleDriver
org.apache.jetspeed.production.database.user = myUser
org.apache.jetspeed.production.database.password =myPass
org.apache.jetspeed.production.jdbc.drivers.path=D:/Projects/WEB-INF/lib
/classes12.jar
org.apache.jetspeed.production.database.default.name=oracle
# the following entry is needed so that initMavePlugin to work
maven.repo.remote = http://www.bluesunrise.com/maven/
<http://www.bluesunrise.com/maven/> , http://www.ibiblio.org/maven/
<http://www.ibiblio.org/maven/> , \
http://dist.codehaus.org/
<http://dist.codehaus.org/> , http://cvs.apache.org/repository
<http://cvs.apache.org/repository>
# end of build.properties
------------------------------------------------------------------------
Go to %MAVEN_HOME%/bin directory and run the install_repo.bat
%MAVEN_HOME%\bin\install_repo.bat
%HOMEDRIVE%%HOMEPATH%\.maven\repository
Go to Jetspeed source directory D:/jetspeed-2.0-src
Run the following Maven commands
maven initMavenPlugin
maven allClean allBuild
Once the build is successfull, the tricky part comes then
Go to D:\jetspeed-2.0-src\target\portal-sql\oracle\schema
Replace all TIMESTAMP with DATE in all the .sql files
Go to D:\jetspeed-2.0-src\target\portal-sql\oracle
Modify all the TIMESTAMP values to date format to_date('2004-05-22
14:57:53','yyyy-mm-dd HH24:MI:SS')
in populate-userinfo-for-default-psml.sql
Now run the following command so that the tables are created
maven j2:db.create.production
The following will install the j2 to maven repo
maven jetspeed2:war:install
The following will install to appserver from repo
maven j2:fullDeploy
Once the Deploy is successfull, i have put the classes12.jar in both lib
and endorsed directory
copy classes12.jar to $TOMCAT_HOME/shared/lib/ and
$TOMCAT_HOME/common/endorsed/
Now modify $TOMCAT_HOME/conf/tomcat-users.xml to add the following under
<tomcat-users> tag
<role rolename="manager"/>
<user username="j2deployer" password="j2deployer" roles="manager"/>
Phew, now start the server by running $TOMCAT_HOME/bin/tomcat5.exe and
check from http://localhost:8080/jetspeed
Regards,
KK
-----Original Message-----
From: Ralph Goers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 05, 2006 12:49 PM
To: Jetspeed Users List
Subject: Re: Installing with Oracle
The only postings I see are regarding getting Jetspeed to work in
WebSphere. Could you point me to what you are talking about?
Ralph
Krishna Kumar (krishkum) wrote:
> Hi Ralph,
>
> Do you tried one of my earlier postings regarding Jetspeed 2 with
> Oracle and Tomcat 5.5.
>
> Regards,
> KK
>
> -----Original Message-----
> From: Ralph Goers [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 05, 2006 5:36 AM
> To: Jetspeed Users List
> Subject: Installing with Oracle
>
> http://mail-archives.apache.org/mod_mbox/portals-jetspeed-dev/200512.m
> bo x/[EMAIL PROTECTED]
>
> Was there a resolution to the issue in this message? I'm having the
> same problem (see below). What is strange is that the first time I
> tried to install Jetspeed with Oracle it worked without any problems
> (this was about a month ago). I've been using the Derby install since
> then and decided to reinstall with Oracle, so I blew away all the
> tables and started over.
>
> Any ideas?
>
> [sql] Failed to execute: INSERT INTO PREFS_NODE
> VALUES(1,NULL,'',0,'/','2004-05-22 14:57:53.586','2004-05-22
> 14:57:53.586')
>
> BUILD FAILED
> /tmp/antinstall/build.xml:100: java.sql.SQLException: ORA-01843: not a
> valid month
>
>
> Total time: 1 minute 13 seconds
>
> Ralph
>
> ---------------------------------------------------------------------
> 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]