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 "Luta, Raphael (VUN)" <Ra...@groupvu.Com> on 2002/11/12 16:30:52 UTC
RE: Weblogic deployment - FileNotFoundException
Move the JSP templates repository out of WEB-INF and into your
root jetspeed directory, thaen update the JSP search path accordingly.
Some containers don't like JSPs within WEB-INF as it's not supported
by the JSP specification.
However, you can keep the Velocity templates where they are since they
are just considered static text resources...
> -----Message d'origine-----
> De : Karen Davies [mailto:kdavies@ecceleration.ie]
> Envoyé : mardi 12 novembre 2002 16:34
> À : 'Jetspeed Users List'
> Objet : Weblogic deployment - FileNotFoundException
>
>
> Thanks for everyone's help and advice so far,
>
> Have managed to deploy jetspeed under weblogic 5.1, by
> placing the exploded
> war file into the webapps directory, and setting the
> following line in my
> weblogic.properties config file:
> weblogic.httpd.webApp.jetspeed=d:/weblogic/webapps/jetspeed
>
> However, when i try to open the default page in the browser from
> http://myserver:port/jetspeed/ i am now getting the following error:
>
> I definitely have the default.jsp file in the required directory:
> D:\weblogic\webapps\jetspeed\WEB-INF\templates\jsp\layouts\html\en\
> My setting in Turbine.properties is
> services.JspService.templates =/WEB-INF/templates/jsp
>
> The error is:
> [15:29:51,687 DEBUG] template exists:
> D:\weblogic\webapps\jetspeed\WEB-INF\templates\jsp\screens\Home.jsp
> returning /Home.jsp
> [15:29:51,687 DEBUG] JetspeedTemplatePage: calculated
> template = /Home.jsp
> [15:29:51,687 DEBUG] template exists:
> D:\weblogic\webapps\jetspeed\WEB-INF\templates\jsp\layouts\htm
> l\en\default.j
> sp returning /html/en/default.jsp
> [15:29:51,687 DEBUG] JetspeedTemplatePage: layoutTemplate is finally
> /html/en/default.jsp
> [15:29:51,750 INFO ] JetspeedJspLayout: set response content type to
> text/html
> [15:29:51,750 DEBUG] template exists:
> D:\weblogic\webapps\jetspeed\WEB-INF\templates\jsp\screens\Home.jsp
> returning /Home.jsp
> [15:29:51,750 INFO ] JetspeedJspLayout: set 'screenJSP' to:
> /WEB-INF/templates/jsp/screens/Home.jsp
> [15:29:51,750 INFO ] JetspeedJspLayout: forward request to:
> /layouts/html/en/default.jsp
> [15:29:51,937 ERROR] Turbine.handleException: Error
> encountered processing a
> template:/layouts/html/en/default.jsp: no resource
> '/WEB-INF/templates/jsp/layouts/html/en/default.jsp' in
> servlet context root
> 'D:\weblogic\webapps\jetspeed'
> [15:29:51,937 ERROR]
> java.io.FileNotFoundException: no resource
> '/WEB-INF/templates/jsp/layouts/html/en/default.jsp' in
> servlet context root
> 'D:\weblogic\webapps\jetspeed'
> at weblogic.servlet.JSPServlet.service(JSPServlet.java:105)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> tStubImpl.java
> :106)
> at
> weblogic.servlet.internal.RequestDispatcherImpl.include(Reques
> tDispatcherImp
> l.java:253)
> at
> weblogic.servlet.internal.RequestDispatcherImpl.include(Reques
> tDispatcherImp
> l.java:172)
> at
> org.apache.turbine.services.jsp.TurbineJspService.handleReques
> t(TurbineJspSe
> rvice.java:192)
> org.apache.turbine.util.TurbineException: Error encountered
> processing a
> template:/layouts/html/en/default.jsp: no resource
> '/WEB-INF/templates/jsp/layouts/html/en/default.jsp' in
> servlet context root
> 'D:\weblogic\webapps\jetspeed'
> at
> org.apache.turbine.services.jsp.TurbineJspService.handleReques
> t(TurbineJspSe
> rvice.java:210)
> at
> org.apache.jetspeed.modules.layouts.JetspeedJspLayout.doBuild(
> JetspeedJspLay
> 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(Servle
> tStubImpl.java
> :106)
> at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(Ser
> vletContextImp
> l.java:907)
> at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(Ser
> vletContextImp
> l.java:851)
> at
> weblogic.servlet.internal.ServletContextManager.invokeServlet(
> ServletContext
> Manager.java:252)
> at
> weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketH
> TTP.java:364)
> at
> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
> [15:29:51,953 INFO ] JetspeedJspLayout: set response content type to
> text/html
> [15:29:51,953 DEBUG] template exists:
> D:\weblogic\webapps\jetspeed\WEB-INF\templates\jsp\screens\htm
> l\Error.jsp
> returning /html/Error.jsp
> [15:29:51,953 INFO ] JetspeedJspLayout: set 'screenJSP' to:
> /WEB-INF/templates/jsp/screens/html/Error.jsp
> [15:29:51,953 INFO ] JetspeedJspLayout: forward request to:
> /layouts/default.jsp
> [15:29:51,953 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.handleReques
> t(TurbineJspSe
> rvice.java:173)
> at
> org.apache.jetspeed.modules.layouts.JetspeedJspLayout.doBuild(
> JetspeedJspLay
> 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(Servle
> tStubImpl.java
> :106)
> at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(Ser
> vletContextImp
> l.java:907)
> at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(Ser
> vletContextImp
> l.java:851)
> at
> weblogic.servlet.internal.ServletContextManager.invokeServlet(
> ServletContext
> Manager.java:252)
> at
> weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketH
> TTP.java:364)
> at
> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
> [15:29:51,953 DEBUG] JetspeedRunDataService: releasing
> rundata for thread:
> Thread[ExecuteThread-12,5,Execute Thread Group]
> I wondered if anyone else has come across this, and whether
> it has anything
> to do with the interchanging of forward and back slashes?
>
> Any more advice appreciated,
> thanks.
>
>
>
>
>
>
> -----Original Message-----
> From: Luc Dewavrin [mailto:luc_dewavrin@yahoo.com]
> Sent: Tuesday, November 12, 2002 1:15 PM
> To: Jetspeed Users List
> Subject: RE: Weblogic deployment
>
>
> --- Karen Davies <kd...@ecceleration.ie> a écrit :
>
> > I was wondering if any additions are required in
> > weblogic.properties, or if
> > the web.xml needs to be changed. All in all am a
> > bit lost.
>
> What weblogic.properties file are you talking about?
>
> I managed to deploy Jetspeed under weblogic 7 sp1
> by deploying jetspeed as an "exploded webapp".
> Follow this procedure:
>
> - Create jetspeed directory under
> $BEA_HOME/user_projects/$mydomain/applications.
> - Unzip jetspeed.war in that directory
> - Go to http://yourserver:7001/console/
> - Click on webapplication -> Configure a new Web
> Application... -> Click on applications directory link
> -> Select jetspeed directory ( it should appear)
> -> it is automatically deployed.
> - Enjoy jetspeed ! ( should be accessible through
> http://youserver:7001/jetspeed)
>
> Hope it'll work for you !
> Luc
>
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>