Caused by: org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs api. java.lang.ExceptionInInitializerError

What version of Java are you using?
Jetspeed requires 1.4.2_04 or higher

Enrique Perez wrote:
Hi David,


-----Mensaje original-----
De: David Sean Taylor [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 17 de julio de 2006 23:12
Para: Jetspeed Users List
Asunto: Re: Problem building jetspeed from source


Enrique Perez wrote:

Hi all,

I've built J2 from source from the branch 2.0.1. (I'm thinking in

moving

to 2.1-dev, though I prefer to get this problem solved. since I have

the

impression it's going to pop up also when building 2.1).

I've followed the steps from the
"QuickStartForTheImpatient/BuildUsingMaven" in the wiki. Everything
seemed to work fine until I reached the final step (running the

portal)

where appears the error saved in **jetspeed_log.txt**.

Caused by: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver

The error is because your jdbc  driver is not your app server's
classpath. Recommend putting the jdbc driver some place where the app
server can access it. For example with Tomcat you can put it under
common/endorsed



I had a copy of the jar in "$TOMCAT_HOME/shared/lib" but it seems that
it is not enough. I've copied it also to "$TOMCAT_HOME/common/endorsed"
and now it can find it.

Anyway, another problem initializing Jetspeed engine servlet has
arisen... =/ As far I can see from the jetspeed.log is something related
to "preferences"... but I don't know how to solve it...

Any suggestion would be very helpful...

Thanks and regards,
Enrique


------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to