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 Chris Kimpton <ki...@yahoo.com> on 2001/09/03 13:17:11 UTC

Re: Jetspeed, Jetty - embedded in JBoss...

Hi,

--- Paul Spencer <pa...@mikon.com> wrote:
> Chris,
> Did you delete the user turbine? 

Yes.  

> 
> The turbine user is used when creating new users.

I was logging in as the turbine user, which had no user psml
directories.

I guess this is generally an unusual situation and there doesn't need
to be code to catch it and handle it nicely.


Although I still have the problem that it does not run inside
jboss...


Chris




> 
> Chris Kimpton wrote:
> > 
> > Hi,
> > 
> > I also get this error if I log in as a user who does not have
> their
> > own user directory below WEB-INF/psml/user
> > 
> > It seems to be because the search for psml files fails to find
> one,
> > ie
> > 
> > [Fri Aug 31 14:45:09 GMT+01:00 2001] -- INFO -- PSML-Man:
> calculated
> > resource:user\turbine\html\default.psml. Base:
> > C:\rbidev\apps\instruments\bin\webapp\WEB-INF\psml
> > [Fri Aug 31 14:45:09 GMT+01:00 2001] -- INFO --
> CastorPsmlManager:
> > about to return null doc:
> > [Fri Aug 31 14:45:09 GMT+01:00 2001] -- INFO -- PSML-Man:
> calculated
> > resource:user\turbine\default.psml. Base:
> > C:\rbidev\apps\instruments\bin\webapp\WEB-INF\psml
> > [Fri Aug 31 14:45:09 GMT+01:00 2001] -- INFO --
> CastorPsmlManager:
> > about to return null doc:
> > [Fri Aug 31 14:45:09 GMT+01:00 2001] -- INFO -- PSML-Man:
> calculated
> > resource:anon\default.psml. Base:
> > C:\rbidev\apps\instruments\bin\webapp\WEB-INF\psml
> > 
> > ..but there is no anon\default.psml - should there be one -
> perhaps
> > the same as the anon\html\default.psml ?
> > 
> > HTH,
> > Chris
> > 
> > --- Chris Kimpton <ki...@yahoo.com> wrote:
> > > Hi,
> > >
> > > Sort of related to my earlier post on this combination, I am
> now
> > > trying to run the Jetspeed app with the jboss/jetty bundle.
> > >
> > > As it support deployment of wars, I just dropped the standard
> build
> > > jetspeed war into the jboss deploy directory.
> > >
> > > It recognised and expanded/deployed it.  I then point my
> browser at
> > > it and get the home page - although no content - see earlier
> post.
> > > I
> > > then login and select the customize link - but then get this
> error:
> > >
> > >
> > > Horrible Exception: java.lang.ClassCastException:
> java.lang.String
> > > at
> > >
> >
>
org.apache.jetspeed.services.rundata.DefaultJetspeedRunData.getProfile(DefaultJetspeedRunData.java:237)
> > > at
> > >
> >
>
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(JetspeedSessionValidator.java:127)
> > > at org.apache.turbine.modules.Action.perform(Action.java:87)
> > > at
> > >
> org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
> > > at org.apache.turbine.Turbine.doGet(Turbine.java:405)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > at
> > >
> >
>
com.mortbay.Jetty.Servlet.ServletHolder.handle(ServletHolder.java:488)
> > > at
> > >
> >
>
com.mortbay.Jetty.Servlet.ServletHandler.handle(ServletHandler.java:488)
> > > at
> > >
> >
>
com.mortbay.Jetty.Servlet.ServletHandler.handle(ServletHandler.java:317)
> > > at
> com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:956)
> > > at
> com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:913)
> > > at com.mortbay.HTTP.HttpServer.service(HttpServer.java:714)
> > > at
> com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:521)
> > > at
> com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:347)
> > > at
> > >
> >
>
com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:107)
> > > at
> com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:294)
> > > at
> > >
> >
>
com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:613)
> > > at java.lang.Thread.run(Unknown Source)
> > >
> > >
> > > I am guessing this is due to the fact that web container is
> running
> > > inside JBoss and so the classpath is working a little
> funkily...
> > >
> > > I was wondering what was being looked for in the
> > > DefaultJetspeedRunData.getProfile method - is it trying to load
> > > stuff
> > > from disk?
> > >
> > > Thanks for any insights,
> > > Chris
> > >


=====
Need somewhere to Live in London - http://freeflats.com

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

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