A few points to help you (I don't have access to any Weblogic server
so it's difficult for me to test it out...):

1. ResourceService is *always* initilialized first using a bootstrap
code in Turbine. This is necessary because this is the service that
gives access to the configuration file properties. 
If there's an issue in Resource initilization you'll only have in the
beginning of the jetspeed.log 2 services initialized Resource and Logging
and no others.

--> If this is the case, Weblogic probably does not find the 
TurbineResources.properties file defined in the web.xml descriptor

2. Try to access directly le Jetspeed servlet, ie 
   http://<whatever>/jetspeed/portal/

--> If this works, then the issue is only related to JSP.

3. If you have successfully executed the step 2, try again using:
   http://<whatever>/jetspeed/index.jsp

--> If this *now* works, then I'd say there's an issue with the 
    RequestDispatcher or Classloader of Weblogic that does not
    ensure the called servlet are completely and properly initialized
    before invoking the function. This can occur because Turbine
    synchronizes the init of the frmawork by using it's class mutex,
    which may not work if the Weblogic classloader does some fancy
    classloading tricks.

> -----Message d'origine-----
> De : Karen Davies [mailto:kdavies@;ecceleration.ie]
> Envoy� : vendredi 15 novembre 2002 11:22
> � : 'Jetspeed Users List'
> Objet : RE: weblogic problems - unknown service ResourceService
> requested
> 
> 
> Thanks Stefaan and George for getting back to me,
> 
> I have the following lines in my log:
> [09:55:04,765 INFO ] Initializing all services using:
> weblogic.servlet.internal.ServletStubImpl
> [09:55:04,765 INFO ] Start Initializing service (early): 
> ResourceService
> [09:55:04,765 INFO ] Finish Initializing service (early): 
> ResourceService
> 
> then further on:
> [09:55:15,500 INFO ] Turbine: Starting HTTP initialization of services
> [09:55:15,500 INFO ] Initializing all services using:
> org.apache.jetspeed.services.rundata.DefaultJetspeedRunData
> [09:55:15,500 INFO ] Start Initializing service (early): 
> ResourceService
> [09:55:15,500 INFO ] Finish Initializing service (early): 
> ResourceService
> 
> and then further down:
> [09:55:15,500 INFO ] This is Turbine instance running at:
> http://localhost:7007/jetspeed/portal
> 
> and in my TurbineResources.properties i have the 
> ResourceService set to
> services.ResourceService.classname=org.apache.turbine.services
> .resources.Tur
> bineResourceService
> 
> I can't see anything wrong here, but if anyone else can, or 
> any more ideas
> then thanks.
> 
> The only log file i've been examining is jetspeed.log, if 
> there are any
> others of relevance then let me know.
> 
> Thanks again for everyones help so far,
> Karen.
> 
> 
> 
> -----Original Message-----
> From: Stefaan [mailto:snacht@;phreaker.net]
> Sent: Thursday, November 14, 2002 5:13 PM
> To: Jetspeed Users List
> Subject: RE: weblogic problems - unknown service ResourceService
> requested
> 
> 
> My two cents:
> For some reason the TurbineResourceService service is not intializing
> correctly when running under weblogic.
> 
> Every TurbineService is initialized by running one of its init methods
> (there are several possibles). This is done when Turbine 
> starts up. If the
> init method throws an excpetion, than Turbine disables that 
> service (check
> the logs).
> 
> The advice: focus on the init statements for the 
> TurbineResourceService
> service.
> 
> Stefaan Nachtergaele
> 
> > -----Original Message-----
> > From: Karen Davies [mailto:kdavies@;ecceleration.ie]
> > Sent: donderdag 14 november 2002 17:22
> > To: 'Jetspeed Users List'
> > Subject: weblogic problems - unknown service 
> ResourceService requested
> >
> >
> > Am still not having the best of luck with weblogic unfortunately...
> >
> > Just hoping that someone may have seen the following, whether on
> > weblogic or
> > elsewhere.
> > (I have jetspeed working on tomcat, but trying to deploy the same on
> > weblogic 5.1 gives a few errors, i moved the jspfiles up a
> > directory so they
> > sit outside the web-inf, and i modified the resource files 
> to show this)
> >
> > The error comes from:
> > String s_test = TurbineResources.getString("site.stylesheet");
> > System.out.println("DEFAULT.JSP: Got resource: " + s_test);
> > in the jsp
> >
> > and also comes whenever i try to do anything else with 
> TurbineResources.
> >
> > and gives the following error:
> > [16:12:00,515 ERROR] Turbine.handleException: Error encountered
> > processing a
> > template:/layouts/html/en/default.jsp: ServiceBroker: 
> unknown service
> > ResourceService requested
> > [16:12:00,546 ERROR]
> > org.apache.turbine.services.InstantiationException: 
> ServiceBroker: unknown
> > service ResourceService requested
> >     at
> > org.apache.turbine.services.BaseServiceBroker.getServiceInstance(B
> > aseService
> > Broker.java:356)
> >     at
> > org.apache.turbine.services.BaseServiceBroker.getService(BaseServi
> > ceBroker.j
> > ava:298)
> >     at
> > org.apache.turbine.services.resources.TurbineResources.getService(
> > TurbineRes
> > ources.java:110)
> >     at
> > org.apache.turbine.services.resources.TurbineResources.getString(T
> > urbineReso
> > urces.java:289)
> >     at
> > jsp_servlet._templates._jsp._layouts._html._en._default._jspServic
> > e(_default
> > .java:134)
> >     at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
> >     at
> > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStu
> > bImpl.java
> > :106)
> >     at
> > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStu
> > bImpl.java
> > :124)
> >     at
> > weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDis
> > patcherImp
> > l.java:253)
> >     at
> > weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDis
> > patcherImp
> > l.java:172)
> >     at
> > org.apache.turbine.services.jsp.TurbineJspService.handleRequest(Tu
> > rbineJspSe
> > rvice.java:192)
> > org.apache.turbine.util.TurbineException: Error encountered 
> processing a
> > template:/layouts/html/en/default.jsp: ServiceBroker: 
> unknown service
> > ResourceService requested
> >     at
> > org.apache.turbine.services.jsp.TurbineJspService.handleRequest(Tu
> > rbineJspSe
> > rvice.java:210)
> >     at
> > org.apache.jetspeed.modules.layouts.JetspeedJspLayout.doBuild(Jets
> > peedJspLay
> > out.java:115)
> >     at org.apache.turbine.modules.Layout.build(Layout.java:91)
> >     at
> > org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123)
> >     at
> > 
> org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPa
> ge.java:169)
> >     at org.apache.turbine.modules.Page.build(Page.java:90)
> >     at 
> org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
> >     at org.apache.turbine.Turbine.doGet(Turbine.java:510)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> >     at
> > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStu
> > bImpl.java
> > :106)
> >     at
> > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Servlet
> > ContextImp
> > l.java:907)
> >     at
> > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Servlet
> > ContextImp
> > l.java:851)
> >     at
> > weblogic.servlet.internal.ServletContextManager.invokeServlet(Serv
> > letContext
> > Manager.java:252)
> >     at
> > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.
> > java:364)
> >     at
> > 
> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
> >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
> > [16:12:00,562 INFO ] JetspeedJspLayout: set response content type to
> > text/html
> > [16:12:00,562 DEBUG] template exists:
> > D:\weblogic\webapps\jetspeed\templates\jsp\screens\html\Error.jsp
> > returning
> > /html/Error.jsp
> > [16:12:00,562 INFO ] JetspeedJspLayout: set 'screenJSP' to:
> > /templates/jsp/screens/html/Error.jsp
> >
> > -----Original Message-----
> > From: Karen Davies [mailto:kdavies@;ecceleration.ie]
> > Sent: Wednesday, November 13, 2002 5:03 PM
> > To: 'Jetspeed Users List'
> > Subject: RE: runtime failure in custom tag - weblogic
> >
> >
> > Have narrowed this down to the following line in my 
> URILookupTag.java file
> > that is part of the Jetspeed1.4.1b package:
> >
> > RunData data = (RunData)pageContext.getAttribute(JspService.RUNDATA,
> > PageContext.REQUEST_SCOPE);
> >
> > putting in some debug shows that
> > "pageContext.getAttribute(JspService.RUNDATA, 
> PageContext.REQUEST_SCOPE)"
> > does indeed return an object, and this object is of type
> > org.apache.jetspeed.services.rundata.DefaultJetspeedRunData
> >
> > however, as soon as i try to cast it to (RunData), or even simply to
> > (DefaultJetspeedRunData) i get the error detailed below (no
> > mention of class
> > cast or anything in it).
> >
> > This is ONLY happening when i'm using weblogic, with tomcat 
> everything was
> > fine as it was.
> >
> > If anyone's come across anything similar then please let me know,
> >
> > cheers.
> >
> >
> > -----Original Message-----
> > From: Karen Davies [mailto:kdavies@;ecceleration.ie]
> > Sent: Wednesday, November 13, 2002 2:23 PM
> > To: 'Jetspeed Users List'
> > Subject: runtime failure in custom tag
> >
> >
> > Hiya,
> > Wondered if anyone could help with the following...
> >
> > I am running jetspeed on weblogic 5.1, and have moved the templates
> > directory so that it is located outside of the web-inf dir. 
>  I get the
> > follwing when trying to run default.jsp
> >
> > [13:56:13,781 INFO ] JetspeedJspLayout: forward request to:
> > /layouts/html/en/default.jsp
> > [13:56:14,468 ERROR] Turbine.handleException: Error encountered
> > processing a
> > template:/layouts/html/en/default.jsp: runtime failure in custom tag
> > 'uriLookup'
> > [13:56:14,468 ERROR]
> > javax.servlet.ServletException: runtime failure in custom 
> tag 'uriLookup'
> >     at
> > jsp_servlet._templates._jsp._layouts._html._en._default._jspServic
> > e(_default
> > .java:94)
> >     at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
> >     at
> > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStu
> > bImpl.java
> > :106)
> >     at
> > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStu
> > bImpl.java
> > :124)
> >     at
> > weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDis
> > patcherImp
> > l.java:253)
> >     at
> > weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDis
> > patcherImp
> > l.java:172)
> >     at
> > org.apache.turbine.services.jsp.TurbineJspService.handleRequest(Tu
> > rbineJspSe
> > rvice.java:192)
> > org.apache.turbine.util.TurbineException: Error encountered 
> processing a
> > template:/layouts/html/en/default.jsp: runtime failure in custom tag
> > 'uriLookup'
> >     at
> > org.apache.turbine.services.jsp.TurbineJspService.handleRequest(Tu
> > rbineJspSe
> > rvice.java:210)
> >     at
> > org.apache.jetspeed.modules.layouts.JetspeedJspLayout.doBuild(Jets
> > peedJspLay
> > out.java:115)
> >     at org.apache.turbine.modules.Layout.build(Layout.java:91)
> >     at
> > org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123)
> >     at
> > 
> org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPa
> ge.java:169)
> >     at org.apache.turbine.modules.Page.build(Page.java:90)
> >     at 
> org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
> >     at org.apache.turbine.Turbine.doGet(Turbine.java:510)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> >     at
> > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStu
> > bImpl.java
> > :106)
> >     at
> > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Servlet
> > ContextImp
> > l.java:907)
> >     at
> > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Servlet
> > ContextImp
> > l.java:851)
> >     at
> > weblogic.servlet.internal.ServletContextManager.invokeServlet(Serv
> > letContext
> > Manager.java:252)
> >     at
> > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.
> > java:364)
> >     at
> > 
> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
> >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
> > [13:56:14,515 INFO ] JetspeedJspLayout: set response content type to
> > text/html
> > [13:56:14,515 INFO ] JetspeedJspLayout: set 'screenJSP' to: null
> > [13:56:14,515 INFO ] JetspeedJspLayout: forward request to:
> > /layouts/default.jsp
> > [13:56:14,515 ERROR] Template /layouts/default.jsp not 
> found in template
> > paths
> > org.apache.turbine.util.TurbineException: Template
> > /layouts/default.jsp not
> > found in template paths
> >     at
> > org.apache.turbine.services.jsp.TurbineJspService.handleRequest(Tu
> > rbineJspSe
> > rvice.java:173)
> >     at
> > org.apache.jetspeed.modules.layouts.JetspeedJspLayout.doBuild(Jets
> > peedJspLay
> > out.java:115)
> >     at org.apache.turbine.modules.Layout.build(Layout.java:91)
> >     at
> > org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123)
> >     at
> > 
> org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPa
> ge.java:169)
> >     at org.apache.turbine.modules.Page.build(Page.java:90)
> >     at 
> org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
> >     at org.apache.turbine.Turbine.handleException(Turbine.java:670)
> >     at org.apache.turbine.Turbine.doGet(Turbine.java:575)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> >     at
> > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStu
> > bImpl.java
> > :106)
> >     at
> > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Servlet
> > ContextImp
> > l.java:907)
> >     at
> > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Servlet
> > ContextImp
> > l.java:851)
> >     at
> > weblogic.servlet.internal.ServletContextManager.invokeServlet(Serv
> > letContext
> > Manager.java:252)
> >     at
> > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.
> > java:364)
> >     at
> > 
> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
> >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
> > [13:56:14,515 DEBUG] JetspeedRunDataService: releasing 
> rundata for thread:
> > Thread[ExecuteThread-12,5,Execute Thread Group]
> >
> >
> > Any help much appreciated,
> > thanks,
> > Karen.
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:jetspeed-user-help@;jakarta.apache.org>
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:jetspeed-user-help@;jakarta.apache.org>
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:jetspeed-user-help@;jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:jetspeed-user-help@;jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:   
<mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:jetspeed-user-help@;jakarta.apache.org>

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

Reply via email to