John,

Thanks for the tips.  Unfortunately, this was my configuration
before and it doesn't work (aargh).

Ok, I've unwarred the application and deployed it with the
web-apps.xml fragment I mentioned below.  I still have the problem.
What does your web-apps.xml look like, and did you specify anything
in the java VM settings?

Thanks,

Ken

-----Original Message-----
From: Yesberg, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 6:34 PM
To: 'Jetspeed Users List'
Subject: RE: Experience with Jetspeed and Sun One Server 6.0


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


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

Reply via email to