You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by John Norris <jo...@norricorp.force9.co.uk> on 2006/07/26 08:54:10 UTC
jetspeed 2 installation
My apologies in advance if this is the wrong place to come for support but
it seemed the most likely on the website. I have also looked in the wiki
link.
Using the information at
http://portals.apache.org/jetspeed-2/getting-started-installer.html I
downloaded the derby install jar and installed on a Windows 2000 system.
This system already has tomcat 5.5. on it. After the installation I had
another tomcat installation with added jetspeed files and directories.
According to the wiki entry, I was also supposed to have a jetspeed-database
directory, which I do not have.
Anyway, I then run the startup.bat - all goes well with odd warnings and
infos until I get the following errors
java.lang.InternalError: Can't instantiate Preferences factory
java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl
at java.util.prefs.Preferences.<clinit>(Preferences.java:204)
etc etc
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'java.util.prefs.PreferencesFactory' defined in ServletContext
resource [/WEB-INF/assembly/prefs.xml]:
Initialization of bean failed; nested exception is
org.apache.jetspeed.prefs.PreferencesException:
Failed to initialize prefs api.
java.lang.InternalError: Can't instantiate Preferences factory
java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl
org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs
api.
java.lang.InternalError: Can't instantiate Preferences factory
java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl
at
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.init(PreferencesFactor
yImpl.java:74)
etc etc
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'java.util.prefs.PreferencesFactory' defined in
ServletContext resource [/WEB-INF/assembly/prefs.xml]: Initialization of
bean failed; nested exception is
org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs
api. java.lang.InternalError: Can't instantiate Preferences factory
java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:356)
etc etc
Caused by: org.apache.jetspeed.prefs.PreferencesException: Failed to
initialize prefs api. java.lang.InternalError: Can't instantiate
Preferences factory java.
lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl
at
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.init(PreferencesFactor
yImpl.java:74)
etc etc
INFO: Jetspeed Initialization complete, Ready to service requests.
When I try to connect using the browser I get
javax.servlet.ServletException: Failed to initalize jetspeed.
org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization
exception!
org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:207)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
So two questions I guess.
Can I simply copy the differences into my original tomcat 5.5 installation
rather than have yet another Tomcat installation - the wiki notes say I
should but also suggest there is a jetspeed-database directory, which I do
not have.
What have I done wrong so that using the notes referenced above, jetspeed is
not initialising properly.
Regards,
John Norris
Phone: +44 (0)118 975 1357 mobile: +44 (0)780 106 8695
mailto:john@norricorp.force9.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
RE: jetspeed 2 installation
Posted by David Pankros <dp...@miragy.com>.
Which JDK are you using?
http://wiki.apache.org/portals/Jetspeed2/PrefsClassloaderIssuesAndSdk14
-----Original Message-----
java.lang.InternalError: Can't instantiate Preferences factory
java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org