It's all working now.
Thank You for your help!
Aurir_
On Sat, Mar 12, 2011 at 4:49 AM, Borut Hadžialić
borut.hadzia...@gmail.com wrote:
The docBase for my app is /usr/local/jsp/
I've placed my spring test JSP in /usr/local/jsp/testSpring/testSpring.jsp
You probably want your's app docBase to
Aureliusz R. wrote:
Borut,
thanks again. You were correct, it was lazy initialization. Pretty
much at this point I got the spring part working.
I've encountered yet another issue with mapping requests from apache2
web server to tomcat. It seems to have something to do with SSL, as I
don't have
The docBase for my app is /usr/local/jsp/
I've placed my spring test JSP in /usr/local/jsp/testSpring/testSpring.jsp
You probably want your's app docBase to be something like
/usr/local/myapp, and then have your jsp's in a directory
/usr/local/myapp/WEB-INF/jsp/ - eg.
Borut,
your instructions were spot on. I was able to track down my docBase
folder (it was specified in $TOMCAT_HOME/conf/servlet.xml context,
and I verified that it's the correct location by adding some context
parameters to the web.xml in my docBase, and then retrieving them from
a JSP.
Now I
Do not put anything in $TOMCAT_HOME/conf/web.xml - leave that file as
it is when you unpack a fresh Tomcat distribution.
Why the servlet is not being loaded? - not 100% about this, but I
would first check if it is maybe being lazy loaded/initialized. After
your tomcat starts up, try to browse
Borut,
thanks again. You were correct, it was lazy initialization. Pretty
much at this point I got the spring part working.
I've encountered yet another issue with mapping requests from apache2
web server to tomcat. It seems to have something to do with SSL, as I
don't have this issue for http.
The piece of xml you posted looks like something from
$TOMCAT_HOME/conf/web.xml file. This file contains some default
configuration that is applied to all web applications and you usually
don't change it.
What you need to find is the /WEB-INF directory of your web
application. /WEB-INF directory
I know this is not a typical tomcat question but please bear with me.
All Spring integrations call for placing configuration xmls in
/WEB-INF/ of an application. The tomcat that I'm forced to work with
has a weird configuration where there are no applications under
$TOMCAT_HOME/webapps folder.