Re: Tomcat, mod_jk, Apache and virtual host

2004-10-06 Thread Alex

Will this help?

http://www.mail-archive.com/[EMAIL PROTECTED]/msg136432.html


On Sun, 3 Oct 2004, Glen Ezkovich wrote:

 Date: Sun, 3 Oct 2004 16:55:10 -0500
 From: Glen Ezkovich [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Tomcat, mod_jk, Apache and virtual host

 We have set up Tomcat and Apache using mod_jk and are using virtual
 hosting on both. We can throw a jsp page into our default directory and
 it displays fine so we know things work.
 We have serveral servlets to deploy for each virtual host and we'd
 rather not make entries in the main server.xml for each contex. We'd
 also like to be able to set a default servlet for each virtual host.
 Is there a way to do this in each appBase?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat, mod_jk, Apache and virtual host

2004-10-06 Thread Glen Ezkovich
Thanks Alex,
Its a good resource but, we were hoping to be able to define the  
context some where besides the server.xml, such as in the appBase. I've  
run across mentions of using xml fragments for this, but as yet haven't  
been able to find out much.

If anyone knows about how this can be done, I'd appreciate hearing  
about it.

On Oct 6, 2004, at 6:12 AM, Alex wrote:
Will this help?
http://www.mail-archive.com/[EMAIL PROTECTED]/ 
msg136432.html

On Sun, 3 Oct 2004, Glen Ezkovich wrote:
Date: Sun, 3 Oct 2004 16:55:10 -0500
From: Glen Ezkovich [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Tomcat, mod_jk, Apache and virtual host
We have set up Tomcat and Apache using mod_jk and are using virtual
hosting on both. We can throw a jsp page into our default directory  
and
it displays fine so we know things work.
We have serveral servlets to deploy for each virtual host and we'd
rather not make entries in the main server.xml for each contex. We'd
also like to be able to set a default servlet for each virtual host.
Is there a way to do this in each appBase?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Glen Ezkovich
HardBop Consulting
glen at hard-bop.com
http://www.hard-bop.com - new and improved site coming soon

A Proverb for Paranoids:
If they can get you asking the wrong questions, they don't have to  
worry about answers.
- Thomas Pynchon Gravity's Rainbow

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat, mod_jk, Apache and virtual host

2004-10-03 Thread Glen Ezkovich
We have set up Tomcat and Apache using mod_jk and are using virtual 
hosting on both. We can throw a jsp page into our default directory and 
it displays fine so we know things work.
We have serveral servlets to deploy for each virtual host and we'd 
rather not make entries in the main server.xml for each contex. We'd 
also like to be able to set a default servlet for each virtual host.  
Is there a way to do this in each appBase?

Glen Ezkovich
HardBop Consulting
glen at hard-bop.com
http://www.hard-bop.com - new and improved site coming soon

A Proverb for Paranoids:
If they can get you asking the wrong questions, they don't have to 
worry about answers.
- Thomas Pynchon Gravity's Rainbow

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat/Mod_JK/Apache Error

2002-06-24 Thread Damian Alonso

Hi All,

I hope someone can help me with this

I am getting the following errors in my mod_jk.log file:

[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111
[jk_ajp13_worker.c (196)]: In jk_endpoint_t::connect_to_tomcat, failed errno
= 111
[jk_ajp13_worker.c (635)]: Error connecting to the Tomcat process.
[jk_ajp13_worker.c (848)]: In jk_endpoint_t::service, send_request failed in
send loop 1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111
[jk_ajp13_worker.c (196)]: In jk_endpoint_t::connect_to_tomcat, failed errno
= 111
[jk_ajp13_worker.c (635)]: Error connecting to the Tomcat process.
[jk_ajp13_worker.c (848)]: In jk_endpoint_t::service, send_request failed in
send loop 2
[jk_ajp13_worker.c (228)]: connection_tcp_get_message: Error -
jk_tcp_socket_recvfull failed
[jk_ajp13_worker.c (712)]: Error reading reply
[jk_ajp13_worker.c (845)]: In jk_endpoint_t::service, get_reply failed in
send loop 0
[jk_ajp13_worker.c (381)]: Error ajp13_process_callback - write failed

My configuration is:

Linux O/S
Apache 1.3.20

talking to

Linux O/S
JBoss2.4.4+Tomcat4.0.1 Bundle
using the mod_jk 3.3 web plugin

Problem Description:
We currently have a Servlet/JSP Application deployed onto Tomcat.  We are
finding that for a lot of users, especially during peak times, we are
getting many users that are getting locked out, disconnected, who are losing
their sessions.  We have tried to increase maxProcessors=150 in our
server.xml on the Tomcat side, but that doesn't seem to have helped.  Our
mod_jk.log file is very large, and looks full of erros like the stack trace
above.  I would really appreciate any feedback on this issue, as it has been
very difficult to find a good answers on this issue.

Thanks in advance,

Damian.





RE: Tomcat/mod_jk/Apache error

2002-06-11 Thread Mark Annal

Do you start Tomcat and Apache at the same time? If so it is likely that Tomcat has 
not fully started up when Apache tries to connect to the connector socket.

I found this with mod_webapp and a five second pause in my startup script solved it.

_

Mark Annal   e-mail: [EMAIL PROTECTED]
TARGUSinfo   phone : (585) 598-7011
255 Woodcliff Drive  fax   : (585) 598-7001
Fairport, NY 14450   web   : www.targusinfo.com
_


-Original Message-
From: PJ Crump [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 2:12 AM
To: [EMAIL PROTECTED]
Subject: Tomcat/mod_jk/Apache error


Hello, 
I have gotten over a lot of hurldes in getting Apache  tomcat to talk, now I'm down 
to this..

Im receiving this error in mod_jk.log when I start apache:

[Wed Jun 12 01:04:21 2002]  [jk_connect.c (151)]: jk_open_socket, connect() failed 
errno = 111
[Wed Jun 12 01:04:21 2002]  [jk_ajp_common.c (599)]: In 
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111
[Wed Jun 12 01:04:21 2002]  [jk_connect.c (151)]: jk_open_socket, connect() failed 
errno = 111
[Wed Jun 12 01:04:21 2002]  [jk_ajp_common.c (599)]: In 
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111

Can anyone tell me what this means? and (hopefully) how to fix it.


- PJ

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat/mod_jk/Apache error

2002-06-11 Thread PJ Crump

Yeah, I did that (actually I waited about 30 seconds to ensure it was up and
functioning)..  Any other tips?
- Original Message -
From: Mark Annal [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, June 11, 2002 6:12 AM
Subject: RE: Tomcat/mod_jk/Apache error


Do you start Tomcat and Apache at the same time? If so it is likely that
Tomcat has not fully started up when Apache tries to connect to the
connector socket.

I found this with mod_webapp and a five second pause in my startup script
solved it.

_

Mark Annal   e-mail: [EMAIL PROTECTED]
TARGUSinfo   phone : (585) 598-7011
255 Woodcliff Drive  fax   : (585) 598-7001
Fairport, NY 14450   web   : www.targusinfo.com
_


-Original Message-
From: PJ Crump [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 2:12 AM
To: [EMAIL PROTECTED]
Subject: Tomcat/mod_jk/Apache error


Hello,
I have gotten over a lot of hurldes in getting Apache  tomcat to talk, now
I'm down to this..

Im receiving this error in mod_jk.log when I start apache:

[Wed Jun 12 01:04:21 2002]  [jk_connect.c (151)]: jk_open_socket, connect()
failed errno = 111
[Wed Jun 12 01:04:21 2002]  [jk_ajp_common.c (599)]: In
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111
[Wed Jun 12 01:04:21 2002]  [jk_connect.c (151)]: jk_open_socket, connect()
failed errno = 111
[Wed Jun 12 01:04:21 2002]  [jk_ajp_common.c (599)]: In
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111

Can anyone tell me what this means? and (hopefully) how to fix it.


- PJ

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat/mod_jk/Apache error

2002-06-10 Thread PJ Crump

Hello, 
I have gotten over a lot of hurldes in getting Apache  tomcat to talk, now I'm down 
to this..

Im receiving this error in mod_jk.log when I start apache:

[Wed Jun 12 01:04:21 2002]  [jk_connect.c (151)]: jk_open_socket, connect() failed 
errno = 111
[Wed Jun 12 01:04:21 2002]  [jk_ajp_common.c (599)]: In 
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111
[Wed Jun 12 01:04:21 2002]  [jk_connect.c (151)]: jk_open_socket, connect() failed 
errno = 111
[Wed Jun 12 01:04:21 2002]  [jk_ajp_common.c (599)]: In 
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111

Can anyone tell me what this means? and (hopefully) how to fix it.


- PJ



Re: install/start tomcat-mod_jk-apache

2001-08-09 Thread Mykola A. Nickishov

Sampath K Settipalli [EMAIL PROTECTED] writes:

 Line 8 of mod_jk.conf-auto is  LoadModule jk_module libexec/mod_jk.s 

What about libexec/mod_jk.s? May be libexec/mod_jk.so (missing o
in file extension) would be the solution?

-- 
ICQ #83060237
MAN-UANIC NIK6-RIPE



install/start tomcat-mod_jk-apache

2001-07-31 Thread Sampath K Settipalli

Hi,

  I've installed Apache 1.3.20 (built with source)   binary version of
tomcat 3.2.3  on solaris. To build mod_jk I used source of tomcat 3.2.3
(src/native/jk library) and created mod_jk.so . It created with some
warnings: I copied the mod_jk.so to apache/libexec and added a Include
statement at end of httpd.conf for mod_jk.conf-auto which was created
when  tomcat was started.
I followed these steps as per mod_jk-howto.html Auto-Config.

Now when I start apache it says:::

/apache_1.3.20  apachectl start
Syntax error on line 8 of
/usr/home//tomcat/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto:
Can't locate API module structure `jk_module' in file
/usr/home//apache_1.3.20/libexec/mod_jk.so: ld.so.1:
/usr/home/apache_1.3.20/bin/httpd: fatal: jk_module: can't find symbol
/usr/home/apache_1.3.20/bin/apachectl start: httpd could not be started
--
Line 8 of mod_jk.conf-auto is  LoadModule jk_module libexec/mod_jk.s 


Can someone please suggest what do I need to do to APache find
jk_module/ overcome this. Do I need to do some other steps in
installing/configuring Apache-tomcat-mod_jk

Thanks in Advance,
Sampath

Just incase if you want to check if mo_jk was created correctly  this is
the the display I got when mod_jk.so was created with apxs
---

$APACHE_HOME/bin/apxs -o mod_jk.so -DSOLARIS -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -c *.c ../jk/*.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_ajp12_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_ajp13.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_ajp13_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_connect.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_jni_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_lb_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_map.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_msg_buff.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_nwmain.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_pool.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_sockbuf.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_uri_worker_map.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_util.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_ajp12_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_ajp13.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_ajp13_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include 

RE: install/start tomcat-mod_jk-apache

2001-07-31 Thread Loïc Lefèvre

I think your directory could be the error:

Syntax error on line 8 of
/usr/home//tomcat/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto:
Can't locate API module structure `jk_module' in file

because of the 2 slashs /usr/home//tomcat/...

-Message d'origine-
De : Sampath K Settipalli [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 31 juillet 2001 17:16
À : [EMAIL PROTECTED]
Objet : install/start tomcat-mod_jk-apache


Hi,

  I've installed Apache 1.3.20 (built with source)   binary version of
tomcat 3.2.3  on solaris. To build mod_jk I used source of tomcat 3.2.3
(src/native/jk library) and created mod_jk.so . It created with some
warnings: I copied the mod_jk.so to apache/libexec and added a Include
statement at end of httpd.conf for mod_jk.conf-auto which was created
when  tomcat was started.
I followed these steps as per mod_jk-howto.html Auto-Config.

Now when I start apache it says:::

/apache_1.3.20  apachectl start
Syntax error on line 8 of
/usr/home//tomcat/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto:
Can't locate API module structure `jk_module' in file
/usr/home//apache_1.3.20/libexec/mod_jk.so: ld.so.1:
/usr/home/apache_1.3.20/bin/httpd: fatal: jk_module: can't find symbol
/usr/home/apache_1.3.20/bin/apachectl start: httpd could not be started
--
Line 8 of mod_jk.conf-auto is  LoadModule jk_module libexec/mod_jk.s 


Can someone please suggest what do I need to do to APache find
jk_module/ overcome this. Do I need to do some other steps in
installing/configuring Apache-tomcat-mod_jk

Thanks in Advance,
Sampath

Just incase if you want to check if mo_jk was created correctly  this is
the the display I got when mod_jk.so was created with apxs
---

$APACHE_HOME/bin/apxs -o mod_jk.so -DSOLARIS -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -c *.c ../jk/*.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_ajp12_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_ajp13.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_ajp13_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_connect.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_jni_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_lb_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_map.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_msg_buff.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_nwmain.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_pool.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_sockbuf.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_uri_worker_map.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_util.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_ajp12_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20

Re: install/start tomcat-mod_jk-apache

2001-07-31 Thread Sampath K Settipalli

No. that was  a error in typing in this mail. It points correctly.

Thanks,
Sampath

Loïc Lefèvre wrote:

 I think your directory could be the error:

 Syntax error on line 8 of
 /usr/home//tomcat/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto:
 Can't locate API module structure `jk_module' in file

 because of the 2 slashs /usr/home//tomcat/...

 -Message d'origine-
 De : Sampath K Settipalli [mailto:[EMAIL PROTECTED]]
 Envoyé : mardi 31 juillet 2001 17:16
 À : [EMAIL PROTECTED]
 Objet : install/start tomcat-mod_jk-apache

 Hi,

   I've installed Apache 1.3.20 (built with source)   binary version of
 tomcat 3.2.3  on solaris. To build mod_jk I used source of tomcat 3.2.3
 (src/native/jk library) and created mod_jk.so . It created with some
 warnings: I copied the mod_jk.so to apache/libexec and added a Include
 statement at end of httpd.conf for mod_jk.conf-auto which was created
 when  tomcat was started.
 I followed these steps as per mod_jk-howto.html Auto-Config.

 Now when I start apache it says:::
 
 /apache_1.3.20  apachectl start
 Syntax error on line 8 of
 /usr/home//tomcat/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto:
 Can't locate API module structure `jk_module' in file
 /usr/home//apache_1.3.20/libexec/mod_jk.so: ld.so.1:
 /usr/home/apache_1.3.20/bin/httpd: fatal: jk_module: can't find symbol
 /usr/home/apache_1.3.20/bin/apachectl start: httpd could not be started
 --
 Line 8 of mod_jk.conf-auto is  LoadModule jk_module libexec/mod_jk.s 

 Can someone please suggest what do I need to do to APache find
 jk_module/ overcome this. Do I need to do some other steps in
 installing/configuring Apache-tomcat-mod_jk

 Thanks in Advance,
 Sampath

 Just incase if you want to check if mo_jk was created correctly  this is
 the the display I got when mod_jk.so was created with apxs
 ---
 
 $APACHE_HOME/bin/apxs -o mod_jk.so -DSOLARIS -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -c *.c ../jk/*.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20/include -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -DSOLARIS  -c jk_ajp12_worker.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20/include -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -DSOLARIS  -c jk_ajp13.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20/include -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -DSOLARIS  -c jk_ajp13_worker.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20/include -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -DSOLARIS  -c jk_connect.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20/include -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -DSOLARIS  -c jk_jni_worker.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20/include -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -DSOLARIS  -c jk_lb_worker.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20/include -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -DSOLARIS  -c jk_map.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20/include -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -DSOLARIS  -c jk_msg_buff.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20/include -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -DSOLARIS  -c jk_nwmain.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20/include -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -DSOLARIS  -c jk_pool.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20/include -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -DSOLARIS  -c jk_sockbuf.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20/include -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -DSOLARIS  -c jk_uri_worker_map.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20/include -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -DSOLARIS  -c jk_util.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20/include -I../jk
 -I/usr/java1.2/include
 -I/usr/java1.2/include/solaris -DSOLARIS  -c jk_worker.c
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

 -I/usr/home/apache_1.3.20

RE: other files than jsp not processed by tomcat+mod_jk+apache

2001-07-07 Thread Carlos Ferrão


Hi,
My http.conf loads the mod_jk.conf file in tomcat/conf. This file has a
/mycontext/*.jsp ajp12
The jsp's are executing through apache fine. Other files like html/gif's are
not found under my subcontext. The result is a page with my jsp processed
but without images and proper CSS formatting.
My WAR file has:

/mycontext
|
.jsp
|
.html
|
.css
|
|__/images
|logo.gif

Best Regards,
Carlos Ferrao


-Original Message-
From: Vinay Menon [mailto:[EMAIL PROTECTED]]
Sent: sábado, 7 de Julho de 2001 12:53
To: [EMAIL PROTECTED]
Subject: Re: other files than jsp not processed by tomcat+mod_jk+apache


your httpd.conf should explicitly say /context/*.jsp I believe.
- Original Message -
From: Carlos Ferrão [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 07, 2001 6:08 AM
Subject: other files than jsp not processed by tomcat+mod_jk+apache



 Hello list,

 I'm running Tomcat3.2.2 embedded in JBoss.
 I integrated tomcat with apache through mod_jk in order to avoid
 http://url:8080 port specification and to make apache process the html.

 My problem is that under a context in Tomcat only the jsp files are
 processed. It doesn't find any images or html files and it doesn't process
 them. How should I configure tomcat so .jsp files are processed by tomcat
 but html/images files under my tomcat context are processed by apache??

 If I access to my context through http://url:8080/mycontext, tomcat's http
 port everything runs fine.
 My war file is deployed in Jboss's deploy dir but this shouldn't be a
 problem.

 Yours desperate,
 Carlos Ferrao






RE: other files than jsp not processed by tomcat+mod_jk+apache

2001-07-07 Thread Greg Trasuk

Hi Carlos:

As I understand it, you want the JSP/servlet pages processed through Tomcat,
but other files handled by Apache - correct?

If so, then is it possible that Apache doesn't know where to find the other
files?  You need to have a mapping like this in your httpd.conf:

Alias /mycontext /path-to-mycontext/web

You may also have to set options on the directory, depending on the setup of
your Apache server.  Tomcat automatically generates configuration options
for Apache when it starts up - see conf/tomcat-apache.conf.  In most cases
you can simply use Apache's Include directive to include this file in your
Apache configuration.  If your setup is more complicated (e.g. virtual
hosts), at least the tomcat-apache.conf gives you a decent starting point.

Greg Trasuk.
StratusCom Manufacturing Systems - We use technology to turn information to
profits on your plant floor.
http://stratuscom.ca

-Original Message-
From: Carlos Ferrão [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 07, 2001 10:26 PM
To: [EMAIL PROTECTED]
Subject: RE: other files than jsp not processed by tomcat+mod_jk+apache



Hi,
My http.conf loads the mod_jk.conf file in tomcat/conf. This file has a
/mycontext/*.jsp ajp12
The jsp's are executing through apache fine. Other files like html/gif's are
not found under my subcontext. The result is a page with my jsp processed
but without images and proper CSS formatting.
My WAR file has:

/mycontext
|
.jsp
|
.html
|
.css
|
|__/images
|logo.gif

Best Regards,
Carlos Ferrao


-Original Message-
From: Vinay Menon [mailto:[EMAIL PROTECTED]]
Sent: sábado, 7 de Julho de 2001 12:53
To: [EMAIL PROTECTED]
Subject: Re: other files than jsp not processed by tomcat+mod_jk+apache


your httpd.conf should explicitly say /context/*.jsp I believe.
- Original Message -
From: Carlos Ferrão [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 07, 2001 6:08 AM
Subject: other files than jsp not processed by tomcat+mod_jk+apache



 Hello list,

 I'm running Tomcat3.2.2 embedded in JBoss.
 I integrated tomcat with apache through mod_jk in order to avoid
 http://url:8080 port specification and to make apache process the html.

 My problem is that under a context in Tomcat only the jsp files are
 processed. It doesn't find any images or html files and it doesn't process
 them. How should I configure tomcat so .jsp files are processed by tomcat
 but html/images files under my tomcat context are processed by apache??

 If I access to my context through http://url:8080/mycontext, tomcat's http
 port everything runs fine.
 My war file is deployed in Jboss's deploy dir but this shouldn't be a
 problem.

 Yours desperate,
 Carlos Ferrao






other files than jsp not processed by tomcat+mod_jk+apache

2001-07-06 Thread Carlos Ferrão


Hello list,

I'm running Tomcat3.2.2 embedded in JBoss.
I integrated tomcat with apache through mod_jk in order to avoid
http://url:8080 port specification and to make apache process the html.

My problem is that under a context in Tomcat only the jsp files are
processed. It doesn't find any images or html files and it doesn't process
them. How should I configure tomcat so .jsp files are processed by tomcat
but html/images files under my tomcat context are processed by apache??

If I access to my context through http://url:8080/mycontext, tomcat's http
port everything runs fine.
My war file is deployed in Jboss's deploy dir but this shouldn't be a
problem.

Yours desperate,
Carlos Ferrao




TOMCAT(mod_jk)+APACHE????

2001-03-03 Thread Slymer

Hello all, I've installed Apache 1.3.12 an Tomcat 3.2.1 on my Linux
Slackware 7.0.
I've also compiled mod_jk to make Apache and Tomcat work together.
No problems installing Tomcat,Apache and neither compiling mod_jk.
When I use a browser to connect to for example localhost I can see
correctly the page index.html from Apache and also if I request a page on
localhost:8080 Tomcat works well (I can see the examples working), but if
I make a request of a jsp page from index.html of Apache I see all the
tags of the jsp directives.
Seems like jsp pages are not recognised from Apache and they are not
processed by Tomcat.
I'm including in this mail my "mod_jk.conf-auto" file:

###
# Auto generated configuration. Dated: Sat Mar 03 10:08:43 CET 2001
###
#
# The following line instructs Apache to load the jk module
#
LoadModule jk_module libexec/mod_jk.so
JkWorkersFile
/dark/fabri/scarico/PROJ/jakarta-tomcat-3.2.1/conf/workers.properties
JkLogFile /dark/fabri/scarico/PROJ/jakarta-tomcat-3.2.1/logs/mod_jk.log
#
# Log level to be used by mod_jk
#
JkLogLevel error
###
# SSL configuration   #
# 
# By default mod_jk is configured to collect SSL information from
# the apache environment and send it to the Tomcat workers. The
# problem is that there are many SSL solutions for Apache and as
# a result the environment variable names may change.
#
# The following (commented out) JK related SSL configureation
# can be used to customize mod_jk's SSL behaviour.
# 
# Should mod_jk send SSL information to Tomact (default is On)
# JkExtractSSL Off
# 
# What is the indicator for SSL (default is HTTPS)
# JkHTTPSIndicator HTTPS
# 
# What is the indicator for SSL session (default is SSL_SESSION_ID)
# JkSESSIONIndicator SSL_SESSION_ID
# 
# What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
# JkCIPHERIndicator SSL_CIPHER
# 
# What is the indicator for the client SSL certificated (default is
SSL_CLIENT_CERT)
# JkCERTSIndicator SSL_CLIENT_CERT
# 
# #
###
#
# Root context mounts for Tomcat
#
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
#
# Auto configuration for the /examples context starts.
#
#
# The following line makes apache aware of the location of the /examples
context
#
Alias /examples
"/dark/fabri/scarico/PROJ/jakarta-tomcat-3.2.1/webapps/examples"
Directory
"/dark/fabri/scarico/PROJ/jakarta-tomcat-3.2.1/webapps/examples"
Options Indexes FollowSymLinks
/Directory
#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /examples/servlet/* ajp12
JkMount /examples/*.jsp ajp12
#
# The following line prohibits users from directly accessing WEB-INF
#
Location "/examples/WEB-INF/"
AllowOverride None
deny from all
/Location
#
# The following line prohibits users from directly accessing META-INF
#
Location "/examples/META-INF/"
AllowOverride None
deny from all
/Location
###
# Auto configuration for the /examples context ends.
###

#
# Auto configuration for the /admin context starts.
#
#
# The following line makes apache aware of the location of the /admin
context
#
Alias /admin "/dark/fabri/scarico/PROJ/jakarta-tomcat-3.2.1/webapps/admin"
Directory "/dark/fabri/scarico/PROJ/jakarta-tomcat-3.2.1/webapps/admin"
Options Indexes FollowSymLinks
/Directory
#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /admin/servlet/* ajp12
JkMount /admin/*.jsp ajp12
#
# The following line prohibits users from directly accessing WEB-INF
#
Location "/admin/WEB-INF/"
AllowOverride None
deny from all
/Location
#
# The following line prohibits users from directly accessing META-INF
#
Location "/admin/META-INF/"
AllowOverride None
deny from all
/Location
###
# Auto configuration for the /admin context ends.
###
#
# Auto configuration for the /test context starts.
#
#
# The following line makes apache aware of the location of the /test
context
Alias /test "/dark/fabri/scarico/PROJ/jakarta-tomcat-3.2.1/webapps/test"
Directory "/dark/fabri/scarico/PROJ/jakarta-tomcat-3.2.1/webapps/test"
Options Indexes FollowSymLinks
/Directory
#
# The following 

Re: TOMCAT(mod_jk)+APACHE????

2001-03-03 Thread Slymer



On Sat, 3 Mar 2001, Slymer wrote:

 
 
 On Sat, 3 Mar 2001, Cynic wrote:
 
  At 11:00 3.3. 2001, Slymer wrote the following:
  -- 
  Hello all, I've installed Apache 1.3.12 an Tomcat 3.2.1 on my Linux
  Slackware 7.0.
  I've also compiled mod_jk to make Apache and Tomcat work together.
  No problems installing Tomcat,Apache and neither compiling mod_jk.
  When I use a browser to connect to for example localhost I can see
  correctly the page index.html from Apache and also if I request a page on
  localhost:8080 Tomcat works well (I can see the examples working), but if
  I make a request of a jsp page from index.html of Apache I see all the
  tags of the jsp directives.
  Seems like jsp pages are not recognised from Apache and they are not
  processed by Tomcat.
  I'm including in this mail my "mod_jk.conf-auto" file:
  snip
  
  Err, are you sure this file is included in httpd.conf? 
  Have you started Apache _after_ Tomcat?
  
  
  

 Hello, thanks for the help.
 Yes, I put this line in httpd.conf:
include 
/dark/fabri/scarico/PROJ/jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto
 
 And I've also started Tomcat before Apache but (RRRGGGHHH.) it
 doesn't work. 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]