LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-27-2008, 05:18 PM   #1
CowLoon
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Rep: Reputation: 0
apache httpd 2.2 and tomcat 5.5 and mod_proxy


I'm on ubuntu gutsy and I'm failing to get httpd to act as a proxy for tomcat.

I have a servlet running on tomcat at localhost:8082/testserv, which works if I address it that way.

I have symbolic linked ubuntu's files to load proxy_module and proxy_ajp_module (e.g. link mods-available/proxy.load and mods-available/proxy_ajp.load and mods-available/proxy.config to mods-enabled).

The proxy.config which I've modified some, looks like:

<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
AddDefaultCharset off
Order allow,deny
Allow from all
</Proxy>
ProxyVia On

ProxyPass /testserv http://localhost:8082/testserv
ProxyPassReverse /testserv http://localhost:8082/testserv
</IfModule>

I've restarted httpd, now when I access http://localhost/testserv, I get 403 forbidden and /var/log/apache2/error.log has:

[warn] proxy: No protocol handler was valid for the URL /testserv. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.

Do I need something other than mod_proxy and mod_proxy_ajp?

http://localhost:8082/testserv works.

Tomcat's logs have no errors in them.
 
Old 01-27-2008, 06:56 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
I use mod_jk 1.2 for that. The docs at http://tomcat.apache.org/connectors-doc/ are pretty good, but if you have any specific questions please let me know.

My setup has mod_jk.so in Apache's module's directory and the following in the conf/extra/httpd-modjk.conf file referenced by httpd.conf:
Code:
LoadModule jk_module modules/mod_jk.so

JkWorkersFile "/usr/local/apache-tomcat/conf/jk2.properties"
JkLogFile "/usr/local/apache-tomcat/logs/mod_jk.log"
JkLogLevel debug
In my conf/extra/httpd-vhosts.conf file use the following:
Code:
JkMount /timesheetadmin ajp13
JkMount /timesheetadmin/* ajp13
JkMount /testingdb ajp13
JkMount /testingdb/* ajp13
Lastly, for Tomcat I have the following in conf/jk2.properties:
Code:
workers.CATALINA_HOME=/usr/local/apache-tomcat
workers.java_home=$(JAVA_HOME)
ps=/

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.CATALINA_HOME)$(ps)server$(ps)lib$(ps)tomcat-jk.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps}server$(ps)libjvm.so
worker.inprocess.stdout=$(workers.CATALINA_HOME)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.CATALINA_HOME)$(ps)logs$(ps)inprocess.stderr
Hope that helps...
 
Old 01-27-2008, 08:19 PM   #3
CowLoon
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks, that seems to work.
 
Old 02-04-2008, 04:18 AM   #4
ayush1440
Member
 
Registered: Dec 2007
Posts: 75

Rep: Reputation: 15
problem with the file

Quote:
Originally Posted by gilead View Post
I use mod_jk 1.2 for that. The docs at http://tomcat.apache.org/connectors-doc/ are pretty good, but if you have any specific questions please let me know.

My setup has mod_jk.so in Apache's module's directory and the following in the conf/extra/httpd-modjk.conf file referenced by httpd.conf:
Code:
LoadModule jk_module modules/mod_jk.so

JkWorkersFile "/usr/local/apache-tomcat/conf/jk2.properties"
JkLogFile "/usr/local/apache-tomcat/logs/mod_jk.log"
JkLogLevel debug
In my conf/extra/httpd-vhosts.conf file use the following:
Code:
JkMount /timesheetadmin ajp13
JkMount /timesheetadmin/* ajp13
JkMount /testingdb ajp13
JkMount /testingdb/* ajp13
Lastly, for Tomcat I have the following in conf/jk2.properties:
Code:
workers.CATALINA_HOME=/usr/local/apache-tomcat
workers.java_home=$(JAVA_HOME)
ps=/

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.CATALINA_HOME)$(ps)server$(ps)lib$(ps)tomcat-jk.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps}server$(ps)libjvm.so
worker.inprocess.stdout=$(workers.CATALINA_HOME)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.CATALINA_HOME)$(ps)logs$(ps)inprocess.stderr
Hope that helps...

hello frends...
what u mention files..that is not in my httpd directory? so please specify , m using fedora core6 and my httpd directory is
conf , conf.d, link to /var/log/httd,
link to /usr/lib/httpd/modules
link to /var/run
now no files like
conf/extra/httpd-modjk.conf
conf/extra/httpd-modjk.conf
conf/extra/httpd-vhosts.conf

plase specify this files or give me more information.
my httpd version is
Server version: Apache/2.2.6 (Unix)
Server built: Sep 18 2007 11:26:13

thank you..give me more information regarding this issue..
 
Old 02-04-2008, 12:53 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by ayush1440 View Post
hello frends...
what u mention files..that is not in my httpd directory? so please specify , m using fedora core6 and my httpd directory is
conf , conf.d, link to /var/log/httd,
link to /usr/lib/httpd/modules
link to /var/run
now no files like
conf/extra/httpd-modjk.conf
conf/extra/httpd-modjk.conf
conf/extra/httpd-vhosts.conf

plase specify this files or give me more information.
my httpd version is
Server version: Apache/2.2.6 (Unix)
Server built: Sep 18 2007 11:26:13

thank you..give me more information regarding this issue..
I created those files and added references to them in httpd.conf - they are not part of the standard install. You can add new files as long as you put something like this in httpd.conf:
Code:
Include conf/extra/httpd-modjk.conf
 
Old 02-05-2008, 07:10 AM   #6
ayush1440
Member
 
Registered: Dec 2007
Posts: 75

Rep: Reputation: 15
getting error when tomcat5 start

Quote:
Originally Posted by gilead View Post
I created those files and added references to them in httpd.conf - they are not part of the standard install. You can add new files as long as you put something like this in httpd.conf:
Code:
Include conf/extra/httpd-modjk.conf
Hello
i m using tomcat5 and now when i m start tomcat5 then its start but catalina.out log error as below

Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JRE_HOME:
Created MBeanServer
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina not found in org.apache.catalina.loader.StandardClassLoader{urls=[file:/var/lib/tomcat5/server/classes/], parent=org.apache.catalina.loader.StandardClassLoader{urls=[file:/var/lib/tomcat5/common/classes/,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-en.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-fr.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-es.jar,file:/var/lib/tomcat5/common/i18n/tomcat-i18n-ja.jar,file:/usr/share/java/xml-commons-apis-1.3.02.jar,file:/usr/share/java/xerces-j2-2.7.1.jar], parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/lib/jvm/java/lib/tools.jar,file:/usr/share/tomcat5/bin/bootstrap.jar,file:/usr/share/tomcat5/bin/commons-logging-api.jar,file:/usr/share/java/mx4j/mx4j-impl.jar,file:/usr/share/java/mx4j/mx4j-jmx.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}}
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at org.apache.catalina.startup.Bootstrap.init(bootstrap.jar.so)
at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)


and now no 8080 and 8009 port is not opened for this. so what should i do ?
 
Old 02-05-2008, 07:16 AM   #7
ayush1440
Member
 
Registered: Dec 2007
Posts: 75

Rep: Reputation: 15
i m first for tomcat

hello,
i m using very 1st time tomcat. i know apache bt not tomcat.so please tell me begining.. which verison of tomcat should i use? and which version of connector for intregrate tomcat with apache?
and i want to open my jsp pages through 80 port so what should i do for that?
please help me. i m using fedora core 6 so please tell me begining.
 
Old 02-05-2008, 04:17 PM   #8
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by ayush1440 View Post
Hello
i m using tomcat5 and now when i m start tomcat5 then its start but catalina.out log error as below

Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JRE_HOME:
Your JRE_HOME needs to be set to point to where ever your Java run time is installed.
 
Old 02-05-2008, 04:35 PM   #9
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by ayush1440 View Post
hello,
i m using very 1st time tomcat. i know apache bt not tomcat.so please tell me begining.. which verison of tomcat should i use? and which version of connector for intregrate tomcat with apache?
and i want to open my jsp pages through 80 port so what should i do for that?
please help me. i m using fedora core 6 so please tell me begining.
I'm still using Tomcat 5.5. Although version 6 is out, I haven't had a chance to test it at work. I use mod_jk 1.2.26 as the connector.

If you're running Apache on port 80 and Tomcat on port 8080 and they're connected via mod_jk, then you will be accessing them via port 80. Apache will be configured to had those requests to Tomcat, so you don't need to change anything.
 
Old 02-06-2008, 04:43 AM   #10
ayush1440
Member
 
Registered: Dec 2007
Posts: 75

Rep: Reputation: 15
Quote:
Originally Posted by gilead View Post
I'm still using Tomcat 5.5. Although version 6 is out, I haven't had a chance to test it at work. I use mod_jk 1.2.26 as the connector.

If you're running Apache on port 80 and Tomcat on port 8080 and they're connected via mod_jk, then you will be accessing them via port 80. Apache will be configured to had those requests to Tomcat, so you don't need to change anything.
my confusion is between tomcat5 and tomcat5.5

i m using yum install tomcat so it download and install tomcat5 and you told me about tomcat5.5 that mean you r using apache-tomcat5.5 or another version? i that any difference between tomcat5 and apache-tomcat5.5? tomcat5 version is download and installed by yum updater and apache-tomcat5.5 is .bz format. so please tell me and i m using httpd2.2 also?

U r showing me apache-tomcat5.5 but which version i should download, cause it is available for core, deployer, embadded, administration web application, etc..please tell me.. i just wanna my jsp pages run on 80 port.

thank you for replying and help about above issue.
 
Old 02-06-2008, 04:58 AM   #11
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Tomcat is now part of the Apache software foundation so Tomcat and Apache-Tomcat are the same thing. Download the core version, the others should not be necessary.

If the Apache-Tomcat and Apache (httpd server) packages are available via yum and you're familiar with yum it may be easier to do it that way. Otherwise the earlier posts in this thread should have enough info.
 
Old 02-06-2008, 05:31 AM   #12
ayush1440
Member
 
Registered: Dec 2007
Posts: 75

Rep: Reputation: 15
Quote:
Originally Posted by gilead View Post
Tomcat is now part of the Apache software foundation so Tomcat and Apache-Tomcat are the same thing. Download the core version, the others should not be necessary.

If the Apache-Tomcat and Apache (httpd server) packages are available via yum and you're familiar with yum it may be easier to do it that way. Otherwise the earlier posts in this thread should have enough info.
thanks for everything. i just download core version and also download mod_jk connector what u define. have u any documentation for configuring this connector? how it configure? i used two types of method for same but still not working.. i cannot use 80 port for both html and jsp files.. So please have u any documentation for configure this connector, please send me...

thank you again and sorry for giving you little more trouble.




now i configure all the things..

thanx for giving me reply
Now i configured apache-tomcat 5.5 and httpd 2.2 and mod_jk_1.2.26. all configuration i did and first start tomcat and then httpd. now i can access localhost and localhost:8080 both..
and both are showing me apache and tomcat pages.but when i click localhost/jsp-examples then it show me error as below

[Wed Feb 06 07:07:59 2008] [jk_uri_worker_map.c (577)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Wed Feb 06 07:08:00 2008] [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Wed Feb 06 07:08:00 2008] [jk_uri_worker_map.c (459)]: Attempting to map URI '/test.jsp'
[Wed Feb 06 07:08:00 2008] [jk_uri_worker_map.c (577)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Wed Feb 06 07:08:00 2008] [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Wed Feb 06 07:08:00 2008] [jk_uri_worker_map.c (459)]: Attempting to map URI '/test.jsp'
[Wed Feb 06 07:08:00 2008] [jk_uri_worker_map.c (577)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Wed Feb 06 07:08:01 2008] [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Wed Feb 06 07:08:01 2008] [jk_uri_worker_map.c (459)]: Attempting to map URI '/test.jsp'
[Wed Feb 06 07:08:01 2008] [jk_uri_worker_map.c (577)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Wed Feb 06 07:08:01 2008] [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Wed Feb 06 07:08:01 2008] [jk_uri_worker_map.c (459)]: Attempting to map URI '/test.jsp'
[Wed Feb 06 07:08:01 2008] [jk_uri_worker_map.c (577)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Wed Feb 06 07:11:02 2008] [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Wed Feb 06 07:11:02 2008] [jk_uri_worker_map.c (459)]: Attempting to map URI '/test.jsp'
[Wed Feb 06 07:11:02 2008] [jk_uri_worker_map.c (577)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Wed Feb 06 07:11:02 2008] [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Wed Feb 06 07:11:02 2008] [jk_uri_worker_map.c (459)]: Attempting to map URI '/test.jsp'
[Wed Feb 06 07:11:02 2008] [jk_uri_worker_map.c (577)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Wed Feb 06 07:11:03 2008] [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Wed Feb 06 07:11:03 2008] [jk_uri_worker_map.c (459)]: Attempting to map URI '/test.jsp'
[Wed Feb 06 07:11:03 2008] [jk_uri_worker_map.c (577)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Wed Feb 06 07:11:03 2008] [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Wed Feb 06 07:11:03 2008] [jk_uri_worker_map.c (459)]: Attempting to map URI '/test.jsp'
[Wed Feb 06 07:11:03 2008] [jk_uri_worker_map.c (577)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match


and now when i shutdown tomcat then show error as below

Feb 6, 2008 7:36:15 AM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Feb 6, 2008 7:36:15 AM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.jk.common.ChannelSocket.unLockSocket(Ch annelSocket.java:492)
at org.apache.jk.common.ChannelSocket.pause(ChannelSo cket.java:289)
at org.apache.jk.server.JkMain.pause(JkMain.java:681)
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyot eHandler.java:163)
at org.apache.catalina.connector.Connector.pause(Conn ector.java:1032)
at org.apache.catalina.core.StandardService.stop(Stan dardService.java:489)
at org.apache.catalina.core.StandardServer.stop(Stand ardServer.java:734)
at org.apache.catalina.startup.Catalina.stop(Catalina .java:602)
at org.apache.catalina.startup.Catalina.start(Catalin a.java:577)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:433)
Feb 6, 2008 7:36:16 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Feb 6, 2008 7:36:16 AM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Feb 6, 2008 7:36:16 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime

now please read error and tell me what should i do?
and how can i access localhost/jsp-examples

when i m trying to access localhost/jsp-examples/test.jsp
then webbrowser show 500 internal server error
please contact your admin
and tail -f /var/log/httpd/mod_jk.log shows me
[Wed Feb 06 07:56:18 2008] [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Wed Feb 06 07:56:18 2008] [jk_uri_worker_map.c (459)]: Attempting to map URI '/jsp-examples/test.jsp'
[Wed Feb 06 07:56:18 2008] [jk_uri_worker_map.c (483)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match worker1 -> /jsp-examples/
[Wed Feb 06 07:56:18 2008] [mod_jk.c (1689)]: Into handler r->proxyreq=0 r->handler=jakarta-servlet r->notes=137915680 worker=worker1
[Wed Feb 06 07:56:18 2008] [jk_worker.c (90)]: Into wc_get_worker_for_name worker1
[Wed Feb 06 07:56:18 2008] [jk_worker.c (94)]: wc_get_worker_for_name, done found a worker
[Wed Feb 06 07:56:18 2008] [mod_jk.c (472)]: agsp=80 agsn=192.168.1.1 hostn=192.168.1.1 shostn=www.dharanetworks.com cbsport=0 sport=0
[Wed Feb 06 07:56:18 2008] [jk_ajp12_worker.c (201)]: Into jk_worker_t::get_endpoint
[Wed Feb 06 07:56:18 2008] [jk_ajp12_worker.c (96)]: Into jk_endpoint_t::service
[Wed Feb 06 07:56:18 2008] [jk_connect.c (136)]: Into jk_open_socket
[Wed Feb 06 07:56:18 2008] [jk_connect.c (143)]: jk_open_socket, try to connect socket = 19 to 127.0.0.1:8007
[Wed Feb 06 07:56:18 2008] [jk_connect.c (159)]: jk_open_socket, after connect ret = -1
[Wed Feb 06 07:56:18 2008] [jk_connect.c (188)]: jk_open_socket, connect() failed errno = 111
[Wed Feb 06 07:56:18 2008] [jk_ajp12_worker.c (110)]: In jk_endpoint_t::service, sd = -1
[Wed Feb 06 07:56:18 2008] [jk_ajp12_worker.c (128)]: In jk_endpoint_t::service, Error sd = -1
[Wed Feb 06 07:56:18 2008] [jk_ajp12_worker.c (139)]: Into jk_endpoint_t::done
[Wed Feb 06 07:56:18 2008] worker1 192.168.1.1 0.000357


now what should i do?

Last edited by ayush1440; 02-06-2008 at 08:29 AM. Reason: configure with the help of internet
 
Old 02-06-2008, 02:14 PM   #13
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
If you went through all of the steps in the posts above, there is a mod_jk.log file. Can you check that please and see if it has any more information? Also, what changes have you made - are your files the same as the ones above?
 
Old 02-08-2008, 06:27 AM   #14
ayush1440
Member
 
Registered: Dec 2007
Posts: 75

Rep: Reputation: 15
Quote:
Originally Posted by gilead View Post
I'm still using Tomcat 5.5. Although version 6 is out, I haven't had a chance to test it at work. I use mod_jk 1.2.26 as the connector.

If you're running Apache on port 80 and Tomcat on port 8080 and they're connected via mod_jk, then you will be accessing them via port 80. Apache will be configured to had those requests to Tomcat, so you don't need to change anything.
Thank you for everything. My tomcat and apache both works fine. Now i can
access via localhost/jsp-examples/ and it works fine. But when i open my hosted website www.mywebsite.com/jsp-examples, then it dosent works. so what should i do for that. www.mywebsite.com is already up and access anywhere from internet.

If you need any further information tell me, i give you more information abou that.

Thank you very much replying my request.
 
Old 02-08-2008, 12:59 PM   #15
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
What error do you get when you use your hosted web site - is it a 404? When you installed Tomcat and mod_jk on that box did you use the same steps to set it up?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd 2.0.55 + mod_proxy slow DNS resolution TotalDefiance Linux - Software 0 10-26-2006 10:28 AM
Apache + Mod_proxy ProxyPass paul_mat Linux - Networking 2 04-14-2006 08:57 PM
Apache 1.3 mod_proxy no cache mago Linux - Software 0 04-07-2006 12:39 PM
tomcat 5 implimentation on apache httpd server srikz Red Hat 0 07-22-2004 02:00 AM
Webmin Through Apache using mod_proxy... ech310n Linux - General 0 01-28-2004 04:12 PM


All times are GMT -5. The time now is 11:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration