There are a lot of issues here, mostly having to do
with how you've structured your virtual hosts.
However, I think the following should get you up and
running quickly.
In your VirtualHost directive, add the following line:
DirectoryIndex index.html index.html.var login.jsp
That should bring up
You can't place a jsp in /usr/local/tomcat/webapps. Tomcat does not
make that location available to the client.
You originally had a ecommerce webapp with a login.jsp file you wanted
to access at the top level. I recommended you rename the webapp
'ecommerce' to 'ROOT' and reconfigure apache
So, What must I change in my configuration files. I want that I access to
192.168.1.2 appear my login.jsp. I'm very stressed. I have a feeling I do
all right. I understant it.
my login.jsp is located in /usr/local/tomcat/webapps/login.jsp
--
View this message in context:
http://www.nabble.com
It's a difference of path. To Apache, the ecommerce webapp is the root
of your site, but Tomcat does not see it that way. Tomcat only
recognizes the ROOT webapp as the document root. Rename the ecommerce
webapp to ROOT (notice the all caps), deleting the original ROOT
directory under webapps
Hello,
mmm, I've compiled and linked and configured mod_jk with Apache 2.0
correctly, but I doesn't work correctly. Mmm, if I access to
http://192.168.1.2 explorer continues show me the code of my JSP, but if I
access to http://192.168.1.2/ecommerce/login.jsp it shows me correctly the
JSP forma
jeusdi wrote:
If there is no choice can I use mod_jk in Apache2? I say it because I
perform "aptitude install mod_jk" in my ubuntu Brezzy and it downloads
apache1.3, but I want use Apache2 with mod_jk. Can I use mod_jk with
Apache2?
Uaaah. mod_jk 1.2 works with Apache 1.3, 2.0 and 2.2. The diff
mmm, but if I configure workers2.properties to show me the ROOT Tomcat web
application it show me index.jsp correctly!!
If there is no choice can I use mod_jk in Apache2? I say it because I
perform "aptitude install mod_jk" in my ubuntu Brezzy and it downloads
apache1.3, but I want use Apache2 wi
jk2 has been deprecated quite some time ago. You might find some help
for it on this list, but you should seriously consider migrating to
mod_jk. The module mod_jk (*not* mod_jk2) is still being actively
developed and most features of mod_jk2 have been backported to mod_jk in
the meantime.
I'
jk2.conf -->
JkSet config.file "/etc/apache2/properties/workers2.properties"
httpd.conf -->
ServerName 192.168.1.2
NameVirtualHost 192.168.1.2:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /usr/local/tomcat/webapps/ecommerce
ErrorLog /usr/local/tomcat/webapps/ecommerc
Typical cause is a config error in your mod_jk setup or your jsp file
located in the wrong place. Please post details of your Apache, mod_jk,
and tomcat setups for a more helpful answer.
--David
jeusdi wrote:
Hello, I've configured Apache Web Server with mod_jk2 to communicate it with
Apach
10 matches
Mail list logo