jetspeed 1.5 tutorial for jetspeed2?

2004-08-08 Thread Randy Watler
I am evaluating jetspeed and am interested in deploying Jetspeed 2 as soon
as possible. I gather that J2 is due to be in alpha/beta soon. However,
knowing little about Jetspeed at this point, I wonder if it would be
appropriate to start with Jetspeed 1.5 first? How much knowledge will
transfer to Jetspeed 2?

Randy Watler
Finali Corporation


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

2004-08-08 Thread tony kerz
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> >
>
-
> > 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]
> 
> 


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

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

2004-08-08 Thread tony kerz
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 <[EMAIL PROTECTED]> 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:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> > 
> > 
> > 
> 
> 
>
-
> 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]



Pointers for asking problem related questions on the list [Was: j2: http://localhost:8080/jetspeed yields blank page]

2004-08-08 Thread Ate Douma

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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


Pointers for asking problem related questions on the list [Was: j2: http://localhost:8080/jetspeed yields blank page]

2004-08-08 Thread Ate Douma

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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


js2: http://localhost:8080/jetspeed yields blank page

2004-08-08 Thread tony kerz
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.

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.

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