You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Corey Leong <cl...@nbacitycorp.com> on 2005/09/26 20:04:49 UTC
Renaming context error
Greetings all --
Just downloaded and installed jetspeed 2 with tomcat 5.5.9. The
jetspeed sample portal works so now I want to rename the portal and
develop a new. After I rename it and restart tomcat, I get the
following error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: Failed to initalize jetspeed.
org.apache.jetspeed.exception.JetspeedException: Unable to create Engine
org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:20
6)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java
:693)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:6
60)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:45)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
org.apache.jetspeed.exception.JetspeedException: Unable to create Engine
org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:76)
org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:135
)
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:8
94)
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java
:857)
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
1)
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:119)
org.apache.catalina.startup.Catalina.start(Catalina.java:537)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.9 logs.
Apache Tomcat/5.5.9
Any ideas?
Thanks,
Corey
--
Corey Leong
IT Coordinator
NBA City
6068 Universal Boulevard
Orlando, Florida 32819
407.351.1171 Office
407.351.2889 Fax
321.331.1882 Cell
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: Renaming context error
Posted by Rohnny Moland <rm...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Corey,
Corey Leong wrote:
> Greetings all --
>
> Just downloaded and installed jetspeed 2 with tomcat 5.5.9. The
> jetspeed sample portal works so now I want to rename the portal and
> develop a new. After I rename it and restart tomcat, I get the
> following error:
>
> HTTP Status 500 -
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException: Failed to initalize jetspeed.
> org.apache.jetspeed.exception.JetspeedException: Unable to create Engine
>
> org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:20
> 6)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java
> :693)
>
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:6
> 60)
>
> org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:45)
>
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
> va:322)
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> root cause
>
> org.apache.jetspeed.exception.JetspeedException: Unable to create Engine
> org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:76)
>
> org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:135
> )
>
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:8
> 94)
>
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java
> :857)
>
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
>
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
>
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
> 1)
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
> pport.java:119)
> org.apache.catalina.startup.Catalina.start(Catalina.java:537)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
>
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.5.9 logs.
> Apache Tomcat/5.5.9
>
> Any ideas?
And what did you do to rename the portal? I think you need to:
- - stop tomcat
- - rename $CATALINA_BASE/conf/Catalina/localhost/<old portal name>.xml to
the new one
- - change context path and docbase in
$CATALINA_BASE/conf/Catalina/localhost/<portal name>.xml to your new context
- - rename $CATALINA_BASE/webapp/<portal name> and webapp/<portal name.war>
- - start tomcat
Btw: Please use jetspeed-user@portals.apache.org for questions related
to using jetspeed.
HTH,
- --
Rohnny
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFDOFpXJQxWxLw8G9QRAo8RAJ4rot1hCJW/JnUiz70JGlRSSt59vgCdGtzk
9jp/1YMy7LQV9NyM9IlaDQ4=
=Haki
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org