Hi,

I just started as well and met the same problem.
The solution is on the wiki, it seems some files are missing.
(i donwloaded a src ziop file and that seems to build the war file for
jetspeed incomplete, the binary distribution seems to work correctly)

The solution is:

Re: Exception starting tomcat
Scott T. Weaver
Tue, 12 Oct 2004 06:45:01 -0700

It looks like you might be missing some of the OJB repository files in your
classpath. 

1. verify that these files are present under
"webapps/jetspeed/WEB-INF/classes" in you tomcat install:
OJB-logging.properties
OJB.properties
repository_database.xml
repository.dtd
repository_internal.xml
repository.xml
TEMP.xml

2. verify that the
webapps/jetspeed/WEB-INF/lib/jetspeed-prefs-2.0-a1-dev.jar contains
META-INF/ojb_repository.xml.


hth,

-----Original Message-----
From: mohanad al-shayeb [mailto:[EMAIL PROTECTED]
Sent: Friday, February 18, 2005 19:25
To: [email protected]
Subject: newbie..!


Hi guys,

I am a newbie with Jetspeed2. I have tried to follow every instruction I 
found in your wiki and your site. Unfortunatley, I am getting this error:

[Thread-1] ERROR org.apache.jetspeed.engine.AbstractEngine - 
org.springframework.beans.factory.BeanCreationException: Error creating bean

with name 'java.util.prefs.PreferencesFactory' defined in URL 
[file:/J:/Program Files/Apache 
Group/jakarta-tomcat-5/webapps/jetspeed/WEB-INF/assembly/jetspeed-spring.xml
]: 
Initialization of bean failed; nested exception is 
org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs 
api.  org.springframework.transaction.CannotCreateTransactionException: 
Could not create OJB transaction; nested exception is 
org.apache.ojb.broker.accesslayer.LookupException: SQLException thrown while

trying to get Connection from Datasource (java:comp/env/jdbc/jetspeed)

I  am using JDK 1.5 and Tomcat-5.5.7. I did not change any thing in the 
database section in the HS DB section in the build.properities file. And I 
do run the database by "maven start.production.server"

And here is my build.properties file contents:

# jetspeed 2 home required for build
org.apache.jetspeed.project.home = 
E:\old_d\application\programming\apache\Jetspeed\jetspeed\jakarta-jetspeed-2

#/projects/apache/jakarta-jetspeed-2

# jetspeed required properties
#${CATALINA_HOME}/
org.apache.jetspeed.server.home = J:/Program Files/Apache 
Group/jakarta-tomcat-5
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 = j2deployer
org.apache.jetspeed.services.autodeployment.password = j2deployer

# jetspeed db build properties example for Hsqldb
# Override the database connection and driverproperties in your 
${USER_HOME}/build.properties appropriately
# See:
#   http://portals.apache.org/jetspeed-2/database.html

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.jdbc.drivers.path=
org.apache.jetspeed.test.database.default.name=hsql
org.apache.jetspeed.test.database.ojb.platform=Hsqldb

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.production.jdbc.drivers.path=
org.apache.jetspeed.production.database.default.name=hsql
org.apache.jetspeed.production.database.ojb.platform=Hsqldb



Thanx in advance for your help!

Cheers :)

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.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]

Reply via email to