Apache2.x + Apache Tomcat5.x + mod_jk + virtual host on windows XP

2006-10-12 Thread Chezang
hi list,

I have both apache and tomcat working on my windows desktop. I have also
configured mod_jk successfully ( I could access the jsp-examples from
http://localhost/jsp-examples).


I would like to configure virtual host on apache so that i can also
develop other applications in the same web server. I configured mod_jk
connector so that whenever there are requests for jsp and servlet pages
the requests are forwarded to tomcat server.

I have the following doubts and problems:

1. Where do i place the jsp and servlet pages i create in tomcat server.
Do I have to create corresponding virtual host directory in tomcat
server as we do in apache web server?.

2. How do I configure workers properties, server.xml, virtual host and
the corresponding jkmount.


please can anyone give the steps involved in doing these?.

please help me I'm a tomcat newbie.

thanks in advance.

che


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem Integrating Tomcat5.x with Apache2.x using mod_jk

2006-10-05 Thread Chezang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


hi there,

I'm trying to integrate Apache2.0.55 with Tomcat5.5 using mod_jk. I did
the following but failed to achieve what I want.

WinXP Professional SP2
Apache2.0.55
Tomcat5.5.17

My Apache and Tomcat servers are working fine. http://localhost/ gives
me Apache Welcome Page and http://localhost:8080/ gives me Tomcat
Welcome Page.

I downloaded the mod_jk-apache-2.0.55.so, renamed it to mod_jk.so and
copied to Apache's modules/ folder.

Then I edit the server.xml in Tomcat's conf/ folder and added the line
below.

engine ---

...
Listener className=org.apache.jk.config.ApacheConfig
modJk=c:/PROGRA~/APACHE~/apache2/modules/mod_jk.so /
...
/engine

Then I restarted the Tomcat. This  has generated a folder auto/ in the
Tomcat's conf/ folder and a configuration file mod_jk.conf in the auto/
folder.

And then at the end of Apache's configuration file httpd.conf I have added:

Include C:/tomcat/Tomcat 5.5/conf/auto/mod_jk.conf

then I have tested if very thing is fine in httpd.conf by typing

apache -t at the command prompt.

This has gave me the following error:

C:\Program Files\Apache Group\Apache2\binapache -t
Syntax error on line 4 of C:/Program Files/Apache
Group/Apache2/conf/mod_jk.conf
:
Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_jk.so into
server:
 The specified module could not be found.

And then i couldn't start the Apache server again.

Could any one please help me to bring up everything works fine.

regd chez.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFJntdTcOHDeUoJQURAqCAAJ46ye8mlOyMeef3Bb/Mjps/+EDaoACfV0ER
n7d0x5sy943pe697NPluLPE=
=tEqh
-END PGP SIGNATURE-


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



mod_jk connector

2006-09-27 Thread Chezang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi there,

I'm trying to integrate Apache2.0.55 with Tomcat5.5 using mod_jk. I did
the following but failed to achieve what I want.

WinXP Professional SP2
Apache2.0.55
Tomcat5.5.17

My Apache and Tomcat servers are working fine. http://localhost/ gives
me Apache Welcome Page and http://localhost:8080/ gives me Tomcat
Welcome Page.

I downloaded the mod_jk-apache-2.0.55.so, renamed it to mod_jk.so and
copied to Apache's modules/ folder.

Then I edit the server.xml in Tomcat's conf/ folder and added the line
below.

engine ---

...
Listener className=org.apache.jk.config.ApacheConfig
modJk=c:/PROGRA~/APACHE~/apache2/modules/mod_jk.so /
...
/engine

Then I restarted the Tomcat. This  has generated a folder auto/ in the
Tomcat's conf/ folder and a configuration file mod_jk.conf in the auto/
folder.

And then at the end of Apache's configuration file httpd.conf I have added:

Include C:/tomcat/Tomcat 5.5/conf/auto/mod_jk.conf

then I have tested if very thing is fine in httpd.conf by typing

apache -t at the command prompt.

This has gave me the following error:

C:\Program Files\Apache Group\Apache2\binapache -t
Syntax error on line 4 of C:/Program Files/Apache
Group/Apache2/conf/mod_jk.conf
:
Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_jk.so into
server:
 The specified module could not be found.

And then i couldn't start the Apache server again.

Could any one please help me to bring up everything works fine.

regd chez.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFGvZeTcOHDeUoJQURAjlxAJ9sIcbIGlbE2s+C7DQoyy8S3JpMpACgnrmn
ORxmcuqFVoSaHIHcyshF3Uk=
=rppw
-END PGP SIGNATURE-


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]