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

2001-09-03 Thread Chris Kimpton

Hi,

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




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

2001-08-31 Thread Paul Spencer

Chris,
Did you delete the user turbine? 

The turbine user is used when creating new users.

Paul Spencer

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

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




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

2001-08-31 Thread Chris Kimpton

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




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

2001-08-30 Thread Sara Camara

Make sure your have these jars in tomcat/lib : turb, vel, ecs, castor,
village, jetspeed. Then make sure you are using xerces instead of crimson
(you will probably have to modify run.bat in jboss/bin).

Sara

-Original Message-
From: Chris Kimpton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 11:53 AM
To: [EMAIL PROTECTED]
Subject: Jetspeed, Jetty - embedded in JBoss...


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(Defau
ltJetspeedRunData.java:237)
at
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Jetsp
eedSessionValidator.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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




Jetspeed, Jetty - embedded in JBoss...

2001-08-30 Thread Chris Kimpton

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