Greetings again fellow Jahia users,

I'm trying to change the way the URL looks by following the instructions in
the FAQ item located at:

http://www.jahia.net/jahia/589#4

I followed the instructions exactly as they are listed in this FAQ and I
get the following errors when I try to go to the URL after restarting
Jahia:

<BEGIN ERRORS>
HTTP Status 500
javax.servlet.ServletException: Servlet.init() for servlet Jahia threw
exception
... bunch of stuff

root cause
org.springframework.context.ApplicationContextException: I/O error parsing
XML document for application context
[org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=15589790];
 nested exception is java.io.FileNotFoundException: class path resource
[spring] cannot be resolved to URL because it does not exist
... bunch of stuff
<END ERRORS>

To recap what I did, I first brought Jahia up and went through the
installation wizard.  Everything worked great.  I then shutdown Jahia and
modified the "tomcat/webapps/jahia/WEB-INF/web.xml" file to replace:

<display-name>jahia</display-name>

<param-name>defaultContextPath</param-name>
<param-value>/jahia</param-value>

with:

<display-name>portal</display-name>

<param-name>defaultContextPath</param-name>
<param-value>/portal</param-value>

and in the "tomcat/webapps/jahia/WEB-INF/etc/config/jahia.properties" file,
I replaced:

jahiaTemplatesHttpPath = /jahia/jsp/jahia/templates/
jahiaEnginesHttpPath = /jahia/jsp/jahia/engines/
jahiaJavaScriptHttpPath = /jahia/jsp/jahia/javascript/jahia.js

with:

jahiaTemplatesHttpPath = /portal/jsp/jahia/templates/
jahiaEnginesHttpPath = /portal/jsp/jahia/engines/
jahiaJavaScriptHttpPath = /portal/jsp/jahia/javascript/jahia.js

I then renamed the context, tomcat/webapps/jahia, to tomcat/webapps/portal,
and restarted Jahia.  Now I get the errors above and I can't figure out
what to do about it.  I have enclosed my full catalina.out showing startup
after modifying the lines mentioned above:

http://pastebin.ca/436892

Thanks in advance for any help anyone might be able to provide.

Regards,

Brian Janes
ASIC/FPGA Design Support Engineer
Rockwell Collins, Inc.
10422 Magenta Drive
Noblesville, IN  46060
Phone/Fax: (319) 295-2287
E-mail: [EMAIL PROTECTED]

Reply via email to