incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe Lombart <christophe.lomb...@gmail.com>
Subject Re: Graffito deploy into Jetspeed2
Date Mon, 13 Jun 2005 13:01:32 GMT
See on http://incubator.apache.org/graffito/deploy.html which contains
the link to J2 config page
(http://portals.apache.org/jetspeed-2/getting-started.html)

If it is not clear in the doc. I can review it.

Regards,
Christophe

Here is my build.properties

# ---------------------------------------------------------------------------------
# JETSPEED 2
# ---------------------------------------------------------------------------------

org.apache.jetspeed.project.home=C:/JavaProjects/jakarta-jetspeed-2
org.apache.jetspeed.server.home=C:/MyApplications/tomcat
org.apache.jetspeed.catalina.version.major=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=j2
org.apache.jetspeed.services.autodeployment.password=j2

#C:/Documents and
Settings/MySelf/.maven/repository/mysql/jars/mysql-connector-java-3.1.4-beta-bin.jar
org.apache.jetspeed.test.jdbc.drivers.path=C:/Documents and
Settings/MySelf/.maven/repository/mysql/jars/mysql-connector-java-3.1.8-bin.jar
org.apache.jetspeed.production.jdbc.drivers.path=C:/Documents and
Settings/MySelf/.maven/repository/mysql/jars/mysql-connector-java-3.1.8-bin.jar


# configure MySQL TEST DB

org.apache.jetspeed.test.database.default.name=mysql
org.apache.jetspeed.test.database.url = jdbc:mysql://localhost/j2test
org.apache.jetspeed.test.database.driver = com.mysql.jdbc.Driver
org.apache.jetspeed.test.database.user = j2
org.apache.jetspeed.test.database.password =  j2
org.apache.jetspeed.test.database.ojb.platform=MySql

#org.apache.jetspeed.test.database.default.name=hsql
#org.apache.jetspeed.test.database.url =jdbc:hsqldb:hsql://127.0.0.1:9001
#org.apache.jetspeed.test.database.driver = org.hsqldb.jdbcDriver
#org.apache.jetspeed.test.database.user = sa
#org.apache.jetspeed.test.database.password = 
#org.apache.jetspeed.test.database.ojb.platform=Hsqldb

# configure MySQL Production DB

org.apache.jetspeed.production.database.default.name=mysql
org.apache.jetspeed.production.database.url = jdbc:mysql://localhost/j2
org.apache.jetspeed.production.database.driver = com.mysql.jdbc.Driver
org.apache.jetspeed.production.database.user = j2
org.apache.jetspeed.production.database.password = j2
org.apache.jetspeed.test.database.ojb.platform=MySql

#org.apache.jetspeed.production.database.default.name=hsql
#org.apache.jetspeed.production.database.url = jdbc:hsqldb:hsql://127.0.0.1:9001
#org.apache.jetspeed.production.database.driver = org.hsqldb.jdbcDriver
#org.apache.jetspeed.production.database.user = sa
#org.apache.jetspeed.production.database.password =
#org.apache.jetspeed.test.database.ojb.platform=Hsqldb

# ---------------------------------------------------------------------------------
# GRAFFITO
# ---------------------------------------------------------------------------------

# configure TEST DB

org.apache.portals.graffito.test.database.default.name=mysql
org.apache.portals.graffito.test.jetspeed=false
org.apache.portals.graffito.test.database.url =
jdbc:mysql://127.0.0.1/graffitotest?dumpQueriesOnException=true
org.apache.portals.graffito.test.database.driver = com.mysql.jdbc.Driver 
org.apache.portals.graffito.test.database.user = j2
org.apache.portals.graffito.test.database.password = j2
org.apache.portals.graffito.test.jdbc.drivers.path=C:/Documents and
Settings/MySelf/.maven/repository/mysql/jars/mysql-connector-java-3.1.8-bin.jar


# configure PRODUCTION DB

org.apache.portals.graffito.production.database.default.name=mysql
org.apache.portals.graffito.production.jetspeed=true
org.apache.portals.graffito.production.database.url = jdbc:mysql://localhost/j2
org.apache.portals.graffito.production.database.driver = com.mysql.jdbc.Driver
org.apache.portals.graffito.production.database.user = j2
org.apache.portals.graffito.production.database.password = j2
org.apache.portals.graffito.production.jdbc.drivers.path=C:/Documents
and Settings/MySelf/.maven/repository/mysql/jars/mysql-connector-java-3.1.8-bin.jar


#Configue the Graffito Master OJB Store  - USED FOR THE UNIT TESTS
org.apache.portals.graffito.database.ojb.platform=MySQL
org.apache.portals.graffito.database.ojb.datasource=java:comp/env/jdbc/graffitotest




On 6/13/05, Herman Reintke <hreintke@tauri.nl> wrote:
> Christophe,
> 
> Thanks, I am sure the graffito-api-1.0-a1-dev.jar is not in the folder
> you are mentioning and I did not define the
> org.apache.jetspeed.server.shared property. I did not see/missed it in
> the documentation.
> 
> Is there an overview of what should be in the build.properties or can you
> send me/link me to a working version so I can complete mine.
> 
> Will try later this week.
> 
> Kind regards,
> 
> 
> Herman Reintke
> 
> 
> 
> Herman ,=20
> 
> I seen in your log :=20
> 
> > java.lang.NoClassDefFoundError: org/apache/portals/graffito/model/Server
> >         at java.lang.ClassLoader.defineClass0(Native Method)
> >         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
> >         at java.security.SecureClassLoader.defineClass(SecureClassLoader.=
> java:123)
> >         at=20
> 
> This class is in graffito-api-1.0-a1-dev.jar deployed in the "tomcat
> share lib" folder.
> Can you check if this jar is correctly deployed in this folder ?=20
> In your build.properties, there is the property
> org.apache.jetspeed.server.shared=3D${org.apache.jetspeed.server.home}/shar=
> ed/lib/
> 
> Can you check also if this property is well defined in your
> build.propertie=
> s.=20
> 
> Regards,
> Christophe
> 
>

Mime
View raw message