Ken,

I had a similar error a while ago ("unknown service PoolService"). It
seemed to be similar to the problem reported at
http://www.mail-archive.com/[email protected]/msg09167.html

I found that a workaround is to un-war the jetspeed.war file into its
separate files.

The problem seems to be that getRealPath is looking for the path to some
part of jetspeed; but the api specifies that if the path is inside a .war
file, it's allowed to return null. So my thought was to workaround the
problem by not using the .war file.

John.

-----Original Message-----
From: Ken Rimple [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 10 October 2002 3:02
To: Jetspeed Users List
Subject: Experience with Jetspeed and Sun One Server 6.0


I've had very bad experiences here, mostly because my background is BEA
Weblogic and
it isn't as straight-forward to figure out class pathing and the like.
However, I wanted
to know whether anyone got this to work yet.

Someone had mentioned that when the Pool wasn't found they didn't have
jetspeed.jar in the
classpath; I've done that and still get errors.  If I have turbine.jar and
stratum.jar in the classpath, I get
[09/Oct/2002:12:57:58] failure (  540): Internal error: exception thrown
from the servlet service function (uri=/jetspeed/portal/):
org.apache.turbine.services.InstantiationException: ServiceBroker: unknown
service PoolService requested, Stack:
org.apache.turbine.services.InstantiationException: ServiceBroker: unknown
service PoolService requested
        at
org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseService
Broker.java:356)
        at
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.j
ava:298)
        at
org.apache.turbine.util.RunDataFactory.putRunData(RunDataFactory.java:231)
        at org.apache.turbine.Turbine.doGet(Turbine.java:599)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
etRunner.java:897)
        at
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
059)
        at
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
r.java:959)
        at com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native
Method)
        at
com.iplanet.server.http.servlet.NSRequestDispatcher.forward(NSRequestDispatc
her.java:48)
        at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:415)
        at _jsps._index_jsp._jspService(_index_jsp.java:61)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:248)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.j
ava:238)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:519)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:588)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
etRunner.java:897)
        at
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
059)
        at
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
r.java:959)

If I have just turbine.jar in the class path I get:

[09/Oct/2002:12:55:32] failure (  756): Internal error: Unexpected error
condition thrown (unknown exception,no description), stack:
java.lang.NoClassDefFoundError: org/apache/stratum/component/ComponentLoader
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:232)
        at
com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn
tity.java:71)
        at
com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:315)
        at
com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:181)
        at
com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java:
686)


Prior error was : (before adding turbine.jar to the class path
[09/Oct/2002:12:57:58] failure (  540): Internal error: exception thrown
from the servlet service function (uri=/jetspeed/portal/):
org.apache.turbine.services.InstantiationException: ServiceBroker: unknown
service PoolService requested, Stack:
org.apache.turbine.services.InstantiationException: ServiceBroker: unknown
service PoolService requested
        at
org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseService
Broker.java:356)
        at
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.j
ava:298)
        at
org.apache.turbine.util.RunDataFactory.putRunData(RunDataFactory.java:231)
        at org.apache.turbine.Turbine.doGet(Turbine.java:599)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
etRunner.java:897)
        at
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
059)
        at
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
r.java:959)
        at com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native
Method)
        at
com.iplanet.server.http.servlet.NSRequestDispatcher.forward(NSRequestDispatc
her.java:48)
        at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:415)
        at _jsps._index_jsp._jspService(_index_jsp.java:61)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:248)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.j
ava:238)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:519)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:588)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
etRunner.java:897)
        at
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
059)
        at
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
r.java:959)


[in web-apps.xml]
<vs>
   <web-app uri="/jetspeed"
   dir="e:/iplanet/servers/webapps/jetspeed"/>
</vs>

Server class path for Java VM (now)
e:/iplanet/servers/webapps/jetspeed/WEB-INF/lib/turbine-2.2-b2-dev.jar;e:/ip
lanet/servers/webapps/jetspeed/WEB-INF/lib/stratum-1.0-b2-dev.jar;E:/iPlanet
/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar



Hellllp!!!  I read the eariler thread and am now more confused than ever.
Does anyone have this running in Sun One / Iplanet 6.0?

I'm using JDk 1.3.1_03 as the JDK.

Thanks,

Ken Rimple

-----Original Message-----
From: David Sean Taylor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 11:45 AM
To: Jetspeed Users List
Subject: RE: experience with PSML in Sybase Adaptive Server Enterprise


Looking at the Torque properties (you have to open up the Torque jar file) I
see these mappings for both Sybase and DB2:

INTEGER = INT

The LHS is the Torque data type, the RHS the native DB type.
Is INT a valid datatype in DB2 / Sybase?
For Oracle, INTEGER maps to NUMERIC (which works fine)

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 09, 2002 2:35 AM
> To: Jetspeed Users List
> Subject: Re: experience with PSML in Sybase Adaptive Server Enterprise
>
>
>
> Jan,
> Just so you know you are not alone, I was unable to get
> Jetspeed/Sybase ASE
> 12.0 to work.  MS-SQL Server would not work either.  I believe I had the
> same error as you:
> mplicit conversion from datatype 'VARCHAR' to 'INT' is not allowed.
>
> Andrew
>
>
>
>
>                       Jan Z�mostn�
>
>                       <zamostny@seznam.        To:
> "Jetspeed Users List" <[EMAIL PROTECTED]>
>
>                       cz>                      cc:
>
>                                                Subject:  Re:
> experience with PSML in Sybase Adaptive Server Enterprise
>                       10/09/02 06:37 AM
>
>                       Please respond to
>
>                       "Jetspeed Users
>
>                       List"
>
>
>
>
>
>
>
>
>
> The problem appears with the default hypersonic db as well (see the
> jetspeed.log) - the framework generates some select statements correctly
> and
> some not... The only difference is that hypersonic doesn't care
> and can run
> select * from turbine_role where role_id='1'
> as well as
> select * from turbine_role where role_id=1
> But obviously it is not correct behavior... Has anyone successfuly tested
> jetspeed with db other than hypersonic or mysql? Jetspeed loks very very
> good but this would be a serious problem for us as we necessarily need it
> to
> use the Sybase ASE db...
> Thanks a lot,
> Jan
>
> ----- Original Message -----
> From: "David Sean Taylor" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, October 08, 2002 4:57 PM
> Subject: RE: experience with PSML in Sybase Adaptive Server Enterprise
>
>
> > > David said he was going to look at fixing the DB2 stuff, maybe that
> will
> > > fix Sybase as well.
> >
> > The DB2 install was crashing on XP.
> > Im going to try it later today on other OSs
> >
> > > -----Original Message-----
> > > From: Woody Sturges [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, October 08, 2002 7:49 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: experience with PSML in Sybase Adaptive Server Enterprise
> > >
> > >
> > > We had the exact same problem when using IBM DB2.  It created an int
> > > field, but kept trying to wrap ticks around the field when
> issuing SQL.
> > > David said he was going to look at fixing the DB2 stuff, maybe that
> will
> > > fix Sybase as well.
> > >
> > > Until then, we broke out the Turbine and Jetspeed stuff to run in
> MySql.
> > >  The rest of our stuff uses our (preferred) DB2 server.
> > >
> > > >>> [EMAIL PROTECTED] 10/08/02 10:42AM >>>
> > > Hi all,
> > > does anyone have any experience with PSML stored in the above
> mentioned
> > > db?
> > > I tried to set it all up according to the docs, it really connects to
> > > the
> > > db, but then:
> > > it tries to do select on TURBINE_USER_GROUP_ROLE where
> > > (TURBINE_USER_GROUP_ROLE.USER_ID='3')
> > > although the db creation script creates the user_id of type integer!
> The
> > > Sybase jdbc2 driver says:
> > > Implicit conversion from datatype 'VARCHAR' to 'INT' is not allowed.
> Use
> > > the
> > > CONVERT function to run this query.
> > > How is the select command constructed? I have tried to lookup the
> select
> > > statement in the jetspeed cvs source files but found nothing...
> > > TIA,
> > > Jan
> > >
> > >
> > >
> > > ---
> > > Odchoz� zpr�va neobsahuje viry.
> > > Zkontrolov�no antivirov�m syst�mem AVG (http://www.grisoft.cz).
> > > Verze: 6.0.393 / Virov� b�ze: 223 - datum vyd�n�: 10/6/2002
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> ---
> Odchoz� zpr�va neobsahuje viry.
> Zkontrolov�no antivirov�m syst�mem AVG (http://www.grisoft.cz).
> Verze: 6.0.393 / Virov� b�ze: 223 - datum vyd�n�: 10/7/2002
>
>
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



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



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

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

Reply via email to