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 tony kerz <to...@sbcglobal.net> on 2004/08/09 06:02:39 UTC

re: j2: http://localhost:8080/jetspeed yields blank page

Thanks so much for the advice Ate.

here's the skinny on my setup:
tomcat = 5.0.27
os = win xp pro
db = hsql
jdk = 1.4.2(-b28)

there are several errors in the logs, but the root
seems to be: 

Caused by: java.lang.RuntimeException: 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.PreferencesProviderImpl.start(PreferencesProviderImpl.java:114)
	at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:810)
	... 57 more

but this class is resident in
${CATALINA_HOME}/webapps/jetspeed/WEB-INF/lib/jetspeed-prefs-2.0-a1-dev.jar

thoughts?

--- Ate Douma <at...@apache.org> wrote:

> 
> 
> tony kerz wrote:
> > just built js2 according to direx and
> > http://localhost:8080/jetspeed is yielding a blank
> > page
> > 
> > is this the expected result or is there something
> > wrong with my setup?
> > 
> > i noticed some discussion of jaas issue, but it
> seems
> > like the patch is present in the tomcat
> directory...
> > 
> > any guidance appreciated, thanks, tony.
> No, a blank page is not the expected result :-)
> 
> Without any more information though we won't be able
> to help you.
> 
> A few pointers I can give you:
> 
> When asking about unexpected behavior it can be
> helpful in some cases to specify 
> your general setup (Tomcat version, os, db, jdk
> etc.)
> 
> Make sure to try out a *clean* setup, meaning (for
> J2) using only a default 
> installed Tomcat (no other apps deployed), do a
> maven allClean before building 
> J2, try it out using the default hsqldb database,
> etc.
> 
> First thing to look into is the general server
> logfile:
>    for Tomcat those can (by default) be found in
> $CATALINA_HOME/logs
> Next comes the J2 logfiles, especially the
> jetspeed.log:
>    those are found under
> webapps/jetspeed/WEB-INF/logs
> If you find error messages, stacktraces etc. those
> usually give an indication 
> whats wrong (no/invalid db connection, port in use,
> syntax errors in jsp files 
> etc.)
> 
> Then, if you still can't figure it out, check out
> the user or dev list and the 
> wiki. Maybe someone else already had the same
> problem.
> 
> If you can't find anything about your particular
> problem, not enough to solve it 
> yourself, or just don't understand what it is all
> about, then feel free to post 
> a question on the list. We will be glad to help you
> out in that case.
> 
> > 
> > Note:
> > i'm new to apache community, and just coming up to
> > speed with  interactive facilities, so i also
> posted
> > this to wiki, but then thought that this type of
> > dialog may not be appropriate for wiki. any
> etiquette
> > pointers welcome.
> In general: don't post questions on the wiki.
> Although there isn't a "policy" or 
> kind, my personal opinion is that the wiki is best
> suited to be used as a 
> knowledge base. Which can mean your problem *might*
> end up there, together with 
> a solution (or if its really bad: as a know
> problem).
> If you have additional information which might help
> others though, please feel 
> free to post it on the wiki, or on the list if you
> prefer.
> 
> Regards,
> 
> Ate
> 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> jetspeed-user-help@jakarta.apache.org
> > 
> > 
> > 
> > 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jetspeed-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


re: j2: http://localhost:8080/jetspeed yields blank page

Posted by tony kerz <to...@sbcglobal.net>.
duh, never mind, i just found the following:

http://wiki.apache.org/portals/Jetspeed2/PrefsClassloaderIssuesAndSdk14

i'll update my jdk and hopefully have better results.

sorry for crying wolf without due diligence. 

i'll do better next time, i promise ;)

--- tony kerz <to...@sbcglobal.net> wrote:

> Thanks so much for the advice Ate.
> 
> here's the skinny on my setup:
> tomcat = 5.0.27
> os = win xp pro
> db = hsql
> jdk = 1.4.2(-b28)
> 
> there are several errors in the logs, but the root
> seems to be: 
> 
> Caused by: java.lang.RuntimeException: 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.PreferencesProviderImpl.start(PreferencesProviderImpl.java:114)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> 	at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at
>
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:810)
> 	... 57 more
> 
> but this class is resident in
>
${CATALINA_HOME}/webapps/jetspeed/WEB-INF/lib/jetspeed-prefs-2.0-a1-dev.jar
> 
> thoughts?
> 
> --- Ate Douma <at...@apache.org> wrote:
> 
> > 
> > 
> > tony kerz wrote:
> > > just built js2 according to direx and
> > > http://localhost:8080/jetspeed is yielding a
> blank
> > > page
> > > 
> > > is this the expected result or is there
> something
> > > wrong with my setup?
> > > 
> > > i noticed some discussion of jaas issue, but it
> > seems
> > > like the patch is present in the tomcat
> > directory...
> > > 
> > > any guidance appreciated, thanks, tony.
> > No, a blank page is not the expected result :-)
> > 
> > Without any more information though we won't be
> able
> > to help you.
> > 
> > A few pointers I can give you:
> > 
> > When asking about unexpected behavior it can be
> > helpful in some cases to specify 
> > your general setup (Tomcat version, os, db, jdk
> > etc.)
> > 
> > Make sure to try out a *clean* setup, meaning (for
> > J2) using only a default 
> > installed Tomcat (no other apps deployed), do a
> > maven allClean before building 
> > J2, try it out using the default hsqldb database,
> > etc.
> > 
> > First thing to look into is the general server
> > logfile:
> >    for Tomcat those can (by default) be found in
> > $CATALINA_HOME/logs
> > Next comes the J2 logfiles, especially the
> > jetspeed.log:
> >    those are found under
> > webapps/jetspeed/WEB-INF/logs
> > If you find error messages, stacktraces etc. those
> > usually give an indication 
> > whats wrong (no/invalid db connection, port in
> use,
> > syntax errors in jsp files 
> > etc.)
> > 
> > Then, if you still can't figure it out, check out
> > the user or dev list and the 
> > wiki. Maybe someone else already had the same
> > problem.
> > 
> > If you can't find anything about your particular
> > problem, not enough to solve it 
> > yourself, or just don't understand what it is all
> > about, then feel free to post 
> > a question on the list. We will be glad to help
> you
> > out in that case.
> > 
> > > 
> > > Note:
> > > i'm new to apache community, and just coming up
> to
> > > speed with  interactive facilities, so i also
> > posted
> > > this to wiki, but then thought that this type of
> > > dialog may not be appropriate for wiki. any
> > etiquette
> > > pointers welcome.
> > In general: don't post questions on the wiki.
> > Although there isn't a "policy" or 
> > kind, my personal opinion is that the wiki is best
> > suited to be used as a 
> > knowledge base. Which can mean your problem
> *might*
> > end up there, together with 
> > a solution (or if its really bad: as a know
> > problem).
> > If you have additional information which might
> help
> > others though, please feel 
> > free to post it on the wiki, or on the list if you
> > prefer.
> > 
> > Regards,
> > 
> > Ate
> > 
> > > 
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > jetspeed-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > jetspeed-user-help@jakarta.apache.org
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > jetspeed-user-help@jakarta.apache.org
> > 
> > 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jetspeed-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org