You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Roberto B." <ro...@ipermedianet.com> on 2001/08/21 15:04:48 UTC
Configuration
I use a Debian box.
I installed Apache and Tomcat 4 b6 (Apache as web server and Tomcat as
application server for jsp/servet)
Tomcat home is: /usr/tomcat4b6
I want several Virtual host (www.mysite.com, www.mysite2.com ....)
I want to place (for example) the file for my sites in:
/var/www/mysite.com for www.mysite.com
/var/www/mysite2.com for www.mysite2.com
ecc..
and now Apache gets the right path if I call a specific site.
In file httpd.conf I added (for the connection to Tomcat):
LoadModule webapp_module /usr/lib/apache/1.3/mod_webapp.so
AddModule mod_webapp.c
:
:
<VirtualHost xxx.xxx.xxx.xxx>
DocumentRoot /var/www/mysite.com
ServerName www.mysite.com
WebAppConnection conn warp localhost:8008
WebAppDeploy mysite.com conn /var/www/mysite.com
</VirtualHost>
:
In file /usr/tomcat4b6/conf/server.xml I wrote:
:
<!-- mysite.com -->
<Context path="/test" docBase="/var/www/mysite.com" debug="0"/>
:
In dir /var/www/mysite.com i placed
index.html
test.jsp
If I call www.mysite.com I see the index.html but if I call
www.mysite.com/test.jsp I see the code of the file.
What is wrong???
Thanks!
Roberto
Re: Configuration
Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
Roberto B. at roberto@ipermedianet.com wrote:
> Ok I will replace the B6 with B7...but tomorrow.. now I need a long pause
> !!!
:)
> output for ls -la /lib/libc* :
>
> -rwxr-xr-x 1 root root 887712 Mar 26 00:35 /lib/libc-2.1.3.so
> lrwxrwxrwx 1 root root 13 Jul 16 18:57 /lib/libc.so.6 ->
> libc-2.1.3.so
> lrwxrwxrwx 1 root root 17 Jul 16 18:17
> /lib/libcfont.so.0 -> libcfont.so.0.0.0
> -rw-r--r-- 1 root root 12332 Jul 16 18:17
> /lib/libcfont.so.0.0.0
> lrwxrwxrwx 1 root root 17 Jul 16 18:17
> /lib/libcom_err.so.2 -> libcom_err.so.2.0
> -rw-r--r-- 1 root root 5244 Jul 16 18:17
> /lib/libcom_err.so.2.0
> lrwxrwxrwx 1 root root 19 Jul 16 18:17
> /lib/libconsole.so.0 -> libconsole.so.0.0.0
> -rw-r--r-- 1 root root 61224 Jul 16 18:17
> /lib/libconsole.so.0.0.0
> -rw-r--r-- 1 root root 20436 Mar 26 00:35
> /lib/libcrypt-2.1.3.so
> lrwxrwxrwx 1 root root 17 Jul 16 18:57
> /lib/libcrypt.so.1 -> libcrypt-2.1.3.so
> lrwxrwxrwx 1 root root 19 Jul 16 18:17
> /lib/libctutils.so.0 -> libctutils.so.0.0.0
> -rw-r--r-- 1 root root 18252 Jul 16 18:17
> /lib/libctutils.so.0.0.0
>
> Is't ok?
Yep... So I can post your binary up on the website :)
> Thanks still Pier!
Welcome :)
Pier
Re: Configuration
Posted by "Roberto B." <ro...@ipermedianet.com>.
Ok I will replace the B6 with B7...but tomorrow.. now I need a long pause
!!!
output for ls -la /lib/libc* :
-rwxr-xr-x 1 root root 887712 Mar 26 00:35 /lib/libc-2.1.3.so
lrwxrwxrwx 1 root root 13 Jul 16 18:57 /lib/libc.so.6 ->
libc-2.1.3.so
lrwxrwxrwx 1 root root 17 Jul 16 18:17
/lib/libcfont.so.0 -> libcfont.so.0.0.0
-rw-r--r-- 1 root root 12332 Jul 16 18:17
/lib/libcfont.so.0.0.0
lrwxrwxrwx 1 root root 17 Jul 16 18:17
/lib/libcom_err.so.2 -> libcom_err.so.2.0
-rw-r--r-- 1 root root 5244 Jul 16 18:17
/lib/libcom_err.so.2.0
lrwxrwxrwx 1 root root 19 Jul 16 18:17
/lib/libconsole.so.0 -> libconsole.so.0.0.0
-rw-r--r-- 1 root root 61224 Jul 16 18:17
/lib/libconsole.so.0.0.0
-rw-r--r-- 1 root root 20436 Mar 26 00:35
/lib/libcrypt-2.1.3.so
lrwxrwxrwx 1 root root 17 Jul 16 18:57
/lib/libcrypt.so.1 -> libcrypt-2.1.3.so
lrwxrwxrwx 1 root root 19 Jul 16 18:17
/lib/libctutils.so.0 -> libctutils.so.0.0.0
-rw-r--r-- 1 root root 18252 Jul 16 18:17
/lib/libctutils.so.0.0.0
Is't ok?
Thanks still Pier!
Roberto.
----- Original Message -----
From: "Pier P. Fumagalli" <pi...@betaversion.org>
To: <to...@jakarta.apache.org>
Sent: Tuesday, August 21, 2001 6:35 PM
Subject: Re: Configuration
> Roberto B. at roberto@ipermedianet.com wrote:
>
> > So.. I try to install Tomcat 4b7???
> > Do I have to build mod_webapp again??? (I have an old kernel version)
>
> Nope... Just replace only Tomcat with B7... You don't have to build
> anything, just download the B7 of 4.0, and keep the module you have (since
> that's the problem). You built it off the B7 sources (I remember that),
so
> it should be all good...
>
> BTW, I got your binary, but what's your LIBC version (ls -la /lib/libc*)
>
> Pier
>
Re: Configuration
Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
Roberto B. at roberto@ipermedianet.com wrote:
> So.. I try to install Tomcat 4b7???
> Do I have to build mod_webapp again??? (I have an old kernel version)
Nope... Just replace only Tomcat with B7... You don't have to build
anything, just download the B7 of 4.0, and keep the module you have (since
that's the problem). You built it off the B7 sources (I remember that), so
it should be all good...
BTW, I got your binary, but what's your LIBC version (ls -la /lib/libc*)
Pier
Re: Configuration
Posted by "Roberto B." <ro...@ipermedianet.com>.
So.. I try to install Tomcat 4b7???
Do I have to build mod_webapp again??? (I have an old kernel version)
Thanks...Roberto.
----- Original Message -----
From: "Pier P. Fumagalli" <pi...@betaversion.org>
To: <to...@jakarta.apache.org>
Sent: Tuesday, August 21, 2001 6:16 PM
Subject: Re: Configuration
> Roberto B. at roberto@ipermedianet.com wrote:
> >
> >> Rebooted the system? WHY? Can't you just stop-and-restart? I thought
you
> >> were using Linux (Pier has an uptime of 628 days on one old Linux box
in
> >> Italy!)
> >
> > I'm more secure that nothing remains in memory.. you know.. I'm new to
> > linux.. I was (I'm) a windows user!!!
>
> Well, UNIX != Windows... You don't need to reboot...
>
> > So.. I newly rebooted the system.. before I deleted the log file.
> > Then I have done:
> > kill -HUP [my httpd PID]
>
> Kewl...
>
> > apache error log:
>
> Quoting only the relevant parts...
>
> > [Tue Aug 21 19:37:37 2001] [notice] SIGHUP received. Attempting to
restart
> > [Tue Aug 21 19:37:38 2001] [notice] Apache/1.3.9 (Unix) Debian/GNU
> > configured -- resuming normal operations
>
> That's cool... It's restarting
>
> > [Tue Aug 21 19:37:39 2001] [error] Invalid WARP protocol version 0.9
>
> Whops.. That's your problem... You're using a 4.0b7 module with a 4.0b6
> Tomcat... Easy if you know what to read...
>
> > I have no more hopes to succeed to configure Tomcat... :((
>
> You just need to have the right stuff... And consider you're working with
> PRE-ALPHA code (the webapp module has not yet officially been released,
not
> even in Beta)
>
> > p.s. Nobody can come to at my office!?!?!?
>
> You would loose all the fun... :)
>
> Pier
>
Re: Configuration
Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
Roberto B. at roberto@ipermedianet.com wrote:
>
>> Rebooted the system? WHY? Can't you just stop-and-restart? I thought you
>> were using Linux (Pier has an uptime of 628 days on one old Linux box in
>> Italy!)
>
> I'm more secure that nothing remains in memory.. you know.. I'm new to
> linux.. I was (I'm) a windows user!!!
Well, UNIX != Windows... You don't need to reboot...
> So.. I newly rebooted the system.. before I deleted the log file.
> Then I have done:
> kill -HUP [my httpd PID]
Kewl...
> apache error log:
Quoting only the relevant parts...
> [Tue Aug 21 19:37:37 2001] [notice] SIGHUP received. Attempting to restart
> [Tue Aug 21 19:37:38 2001] [notice] Apache/1.3.9 (Unix) Debian/GNU
> configured -- resuming normal operations
That's cool... It's restarting
> [Tue Aug 21 19:37:39 2001] [error] Invalid WARP protocol version 0.9
Whops.. That's your problem... You're using a 4.0b7 module with a 4.0b6
Tomcat... Easy if you know what to read...
> I have no more hopes to succeed to configure Tomcat... :((
You just need to have the right stuff... And consider you're working with
PRE-ALPHA code (the webapp module has not yet officially been released, not
even in Beta)
> p.s. Nobody can come to at my office!?!?!?
You would loose all the fun... :)
Pier
Re: Configuration
Posted by "Roberto B." <ro...@ipermedianet.com>.
----- Original Message -----
From: "Pier P. Fumagalli"
To: <to...@jakarta.apache.org>
Sent: Tuesday, August 21, 2001 5:28 PM
Subject: Re: Configuration
> Rebooted the system? WHY? Can't you just stop-and-restart? I thought you
> were using Linux (Pier has an uptime of 628 days on one old Linux box in
> Italy!)
I'm more secure that nothing remains in memory.. you know.. I'm new to
linux.. I was (I'm) a windows user!!!
So.. I newly rebooted the system.. before I deleted the log file.
Then I have done:
kill -HUP [my httpd PID]
apache error log:
[Tue Aug 21 19:34:59 2001] [notice] caught SIGTERM, shutting down
[Tue Aug 21 19:36:16 2001] [notice] Apache/1.3.9 (Unix) Debian/GNU
configured -- resuming normal operations
[Tue Aug 21 19:36:16 2001] [error] Connection "conn" cannot connect
[Tue Aug 21 19:36:16 2001] [error] Cannot open connection "conn"
[Tue Aug 21 19:36:16 2001] [error] Connection "conn" cannot connect
[Tue Aug 21 19:36:16 2001] [error] Cannot open connection "conn"
[Tue Aug 21 19:36:16 2001] [notice] suEXEC mechanism enabled (wrapper:
/usr/lib/apache/suexec)
[Tue Aug 21 19:36:16 2001] [error] Connection "conn" cannot connect
[Tue Aug 21 19:36:16 2001] [error] Cannot open connection "conn"
[Tue Aug 21 19:36:16 2001] [error] Connection "conn" cannot connect
[Tue Aug 21 19:36:16 2001] [error] Cannot open connection "conn"
[Tue Aug 21 19:36:16 2001] [error] Connection "conn" cannot connect
[Tue Aug 21 19:36:16 2001] [error] Cannot open connection "conn"
[Tue Aug 21 19:37:37 2001] [notice] SIGHUP received. Attempting to restart
[Tue Aug 21 19:37:38 2001] [notice] Apache/1.3.9 (Unix) Debian/GNU
configured -- resuming normal operations
[Tue Aug 21 19:37:38 2001] [notice] suEXEC mechanism enabled (wrapper:
/usr/lib/apache/suexec)
[Tue Aug 21 19:37:39 2001] [error] Invalid WARP protocol version 0.9
[Tue Aug 21 19:37:39 2001] [error] Cannot read packet (pr_warp_config.c:139)
[Tue Aug 21 19:37:39 2001] [error] Cannot configure connection "conn"
[Tue Aug 21 19:37:39 2001] [error] Invalid WARP protocol version 0.9
[Tue Aug 21 19:37:39 2001] [error] Cannot read packet (pr_warp_config.c:139)
[Tue Aug 21 19:37:39 2001] [error] Cannot configure connection "conn"
[Tue Aug 21 19:37:39 2001] [error] Invalid WARP protocol version 0.9
[Tue Aug 21 19:37:39 2001] [error] Cannot read packet (pr_warp_config.c:139)
[Tue Aug 21 19:37:39 2001] [error] Cannot configure connection "conn"
[Tue Aug 21 19:37:39 2001] [error] Invalid WARP protocol version 0.9
[Tue Aug 21 19:37:39 2001] [error] Cannot read packet (pr_warp_config.c:139)
[Tue Aug 21 19:37:39 2001] [error] Cannot configure connection "conn"
[Tue Aug 21 19:37:39 2001] [error] Invalid WARP protocol version 0.9
[Tue Aug 21 19:37:39 2001] [error] Cannot read packet (pr_warp_config.c:139)
[Tue Aug 21 19:37:39 2001] [error] Cannot configure connection "conn"
In /usr/tomcat4b6/logs there is the file apache_log.2001-08-21.txt :
2001-08-21 19:37:38 [org.apache.catalina.connector.warp.WarpConnector]
Connection from /127.0.0.1:1031 to /127.0.0.1:8008
2001-08-21 19:37:39 [org.apache.catalina.connector.warp.WarpConnector]
Connection from /127.0.0.1:1032 to /127.0.0.1:8008
2001-08-21 19:37:39 [org.apache.catalina.connector.warp.WarpConnector]
Connection from /127.0.0.1:1033 to /127.0.0.1:8008
2001-08-21 19:37:39 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.io.IOException: Premature packet header end
at
org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:2
36)
at
org.apache.catalina.connector.warp.WarpConfigurationHandler.handle(WarpConfi
gurationHandler.java:94)
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:18
9)
at java.lang.Thread.run(Thread.java:579)
2001-08-21 19:37:39 [org.apache.catalina.connector.warp.WarpConnector]
Connection from /127.0.0.1:1034 to /127.0.0.1:8008
2001-08-21 19:37:39 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.io.IOException: Premature packet header end
at
org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:2
36)
at
org.apache.catalina.connector.warp.WarpConfigurationHandler.handle(WarpConfi
gurationHandler.java:94)
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:18
9)
at java.lang.Thread.run(Thread.java:579)
2001-08-21 19:37:39 [org.apache.catalina.connector.warp.WarpConnector]
Connection from /127.0.0.1:1035 to /127.0.0.1:8008
2001-08-21 19:37:39 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.io.IOException: Premature packet header end
at
org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:2
36)
at
org.apache.catalina.connector.warp.WarpConfigurationHandler.handle(WarpConfi
gurationHandler.java:94)
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:18
9)
at java.lang.Thread.run(Thread.java:579)
2001-08-21 19:37:39 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.io.IOException: Premature packet header end
at
org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:2
36)
at
org.apache.catalina.connector.warp.WarpConfigurationHandler.handle(WarpConfi
gurationHandler.java:94)
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:18
9)
at java.lang.Thread.run(Thread.java:579)
2001-08-21 19:37:39 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.io.IOException: Premature packet header end
at
org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:2
36)
at
org.apache.catalina.connector.warp.WarpConfigurationHandler.handle(WarpConfi
gurationHandler.java:94)
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:18
9)
at java.lang.Thread.run(Thread.java:579)
I have no more hopes to succeed to configure Tomcat... :((
Roberto.
p.s. Nobody can come to at my office!?!?!?
how to get the target frame
Posted by Andreas Leitner <al...@macron.at>.
Hi,
Is it possible to determine the target frame from within a Servlet (or
better Custom Tag, but I assume once, I know how to do it from a
Servlet, I can do it from a Custom Tag as well).
This information must be somewhere, or am I mistaken?
Many thanks in advance,
Andreas
Re: log4j in custom tags
Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Tue, 21 Aug 2001, Andreas Leitner wrote:
>
> I want to use log4j from within a custom tag. Now, since the custom tag
> will be instanciated from the jasper JVM, the logj4 properties file of
> the webapp will of course not be used to setup log4j.
>
The tag might be instantiated by Jasper runtime (not JVM), but it will be
loaded by the webapp classloader -- as long as the tag itself is in
/WEB_INF/lib or /WEB-INF/classes.
> How can I configure log4j in a custom tag to use the same log-writer
> than my web app - or how can I configure it at all to redirect output to
> a certain file? It does not seem to go into the jasper.log (which I have
> configured in sever.xml to be the log target for jasper)
>
Remember that Log4J is *totally* independent of Tomcat (and Tomcat knows
nothing about your use of it). Therefore, you won't be able to use Log4J
to log to Tomcat's log files (unless you do some pretty intricate work to
modify Tomcat to use Log4J itself, which is out of scope for this
discussion).
If you just want to log to Tomcat's log files, the easiest thing to do is
call
ServletContext.log() in your webapp.
>
> Many thanks in advance,
> Andreas
>
>
Craig
log4j in custom tags
Posted by Andreas Leitner <al...@macron.at>.
I want to use log4j from within a custom tag. Now, since the custom tag
will be instanciated from the jasper JVM, the logj4 properties file of
the webapp will of course not be used to setup log4j.
How can I configure log4j in a custom tag to use the same log-writer
than my web app - or how can I configure it at all to redirect output to
a certain file? It does not seem to go into the jasper.log (which I have
configured in sever.xml to be the log target for jasper)
Many thanks in advance,
Andreas
Re: Configuration
Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
Roberto B. at roberto@ipermedianet.com wrote:
>
> I setup the httpd.conf like you do. I setup the server.xml as at first
> installation.
> I deleted the log file ( of apache and tomcat) then I rebooted the system.
> I have seen the log after reboot and....
Rebooted the system? WHY? Can't you just stop-and-restart? I thought you
were using Linux (Pier has an uptime of 628 days on one old Linux box in
Italy!)
> catalina.out:
>
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0-b6
> Starting service Tomcat-Apache
> Apache Tomcat/4.0-b6
That's right...
> apache error log:
>
> [Tue Aug 21 18:52:10 2001] [notice] caught SIGTERM, shutting down
> [Tue Aug 21 18:54:04 2001] [error] Connection "conn" cannot connect
> [Tue Aug 21 18:54:04 2001] [error] Cannot open connection "conn"
> [Tue Aug 21 18:54:04 2001] [error] Connection "conn" cannot connect
> [Tue Aug 21 18:54:04 2001] [error] Cannot open connection "conn"
> [Tue Aug 21 18:54:04 2001] [error] Connection "conn" cannot connect
> [Tue Aug 21 18:54:04 2001] [error] Cannot open connection "conn"
> [Tue Aug 21 18:54:04 2001] [error] Connection "conn" cannot connect
> [Tue Aug 21 18:54:04 2001] [error] Cannot open connection "conn"
> [Tue Aug 21 18:54:04 2001] [error] Connection "conn" cannot connect
> [Tue Aug 21 18:54:04 2001] [error] Cannot open connection "conn"
> [Tue Aug 21 18:54:04 2001] [notice] Apache/1.3.9 (Unix) Debian/GNU
> configured -- resuming normal operations
> [Tue Aug 21 18:54:04 2001] [notice] suEXEC mechanism enabled (wrapper:
> /usr/lib/apache/suexec)
>
> maybe the problem is the warp connector??
Ever tried doing a kill -HUP [your httpd PID goes here]????
That should reset the connection which (I believe) is not opened in your
server since you start everything from your RC scripts (without checking if
everything RUNS before running other stuff)...
FWICS, the WARP connector is working perfectly...
Pier
Re: Configuration
Posted by "Roberto B." <ro...@ipermedianet.com>.
I setup the httpd.conf like you do. I setup the server.xml as at first
installation.
I deleted the log file ( of apache and tomcat) then I rebooted the system.
I have seen the log after reboot and....
catalina.out:
Starting service Tomcat-Standalone
Apache Tomcat/4.0-b6
Starting service Tomcat-Apache
Apache Tomcat/4.0-b6
apache error log:
[Tue Aug 21 18:52:10 2001] [notice] caught SIGTERM, shutting down
[Tue Aug 21 18:54:04 2001] [error] Connection "conn" cannot connect
[Tue Aug 21 18:54:04 2001] [error] Cannot open connection "conn"
[Tue Aug 21 18:54:04 2001] [error] Connection "conn" cannot connect
[Tue Aug 21 18:54:04 2001] [error] Cannot open connection "conn"
[Tue Aug 21 18:54:04 2001] [error] Connection "conn" cannot connect
[Tue Aug 21 18:54:04 2001] [error] Cannot open connection "conn"
[Tue Aug 21 18:54:04 2001] [error] Connection "conn" cannot connect
[Tue Aug 21 18:54:04 2001] [error] Cannot open connection "conn"
[Tue Aug 21 18:54:04 2001] [error] Connection "conn" cannot connect
[Tue Aug 21 18:54:04 2001] [error] Cannot open connection "conn"
[Tue Aug 21 18:54:04 2001] [notice] Apache/1.3.9 (Unix) Debian/GNU
configured -- resuming normal operations
[Tue Aug 21 18:54:04 2001] [notice] suEXEC mechanism enabled (wrapper:
/usr/lib/apache/suexec)
maybe the problem is the warp connector??
Roberto.
----- Original Message -----
From: "Pier P. Fumagalli" <pi...@betaversion.org>
To: <to...@jakarta.apache.org>
Sent: Tuesday, August 21, 2001 4:44 PM
Subject: Re: Configuration
Roberto B. at roberto@ipermedianet.com wrote:
> It doesn't work !!!
It doesn't help that you're not looking at the logfiles :)
> I wrote WebAppDeploy /var/www/mysite.com conn / in httpd.conf but the jsp
> pages don't work.
Did you read that there was a patch for deployinhe rooot directory of the
server? D you apply it?
What happens if you do something like
WebAppDeploy /var/www/myste.com conn /test
And then hit the site with a particular /test/test.jsp page?
> How can I setup the server.xml? I have to create a tag <host>..</host>
Yo your server.xml EMPTY... You don¹t need to write configurations twice.
> Tomcat home is in /usr/tomcatb6
> My sites (html and jsp file) are in /var/www/...
Roberto, start looking at the log files, tooo....
Pier
Re: Configuration
Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
Roberto B. at roberto@ipermedianet.com wrote:
> It doesn't work !!!
It doesn't help that you're not looking at the logfiles :)
> I wrote WebAppDeploy /var/www/mysite.com conn / in httpd.conf but the jsp
> pages don't work.
Did you read that there was a patch for deployinhe rooot directory of the
server? D you apply it?
What happens if you do something like
WebAppDeploy /var/www/myste.com conn /test
And then hit the site with a particular /test/test.jsp page?
> How can I setup the server.xml? I have to create a tag <host>..</host>
Yo your server.xml EMPTY... You don¹t need to write configurations twice.
> Tomcat home is in /usr/tomcatb6
> My sites (html and jsp file) are in /var/www/...
Roberto, start looking at the log files, tooo....
Pier
Re: Configuration
Posted by "Roberto B." <ro...@ipermedianet.com>.
It doesn't work !!!
I wrote WebAppDeploy /var/www/mysite.com conn / in httpd.conf but the jsp
pages don't work.
How can I setup the server.xml? I have to create a tag <host>..</host>
Tomcat home is in /usr/tomcatb6
My sites (html and jsp file) are in /var/www/...
Roberto.
----- Original Message -----
From: "Pier P. Fumagalli" <pi...@betaversion.org>
To: <to...@jakarta.apache.org>
Sent: Tuesday, August 21, 2001 3:42 PM
Subject: Re: Configuration
> Roberto B. at roberto@ipermedianet.com wrote:
>
> > <VirtualHost xxx.xxx.xxx.xxx>
> > DocumentRoot /var/www/mysite.com
> > ServerName www.mysite.com
> > WebAppConnection conn warp localhost:8008
> > WebAppDeploy mysite.com conn /var/www/mysite.com
> > </VirtualHost>
>
> Your WebAppDeploy is wrong.... As written in the install.txt file it
should
> be
>
> WebAppDeploy /var/www/mysite.com conn /
>
> Pier
>
Re: Configuration
Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
Roberto B. at roberto@ipermedianet.com wrote:
> <VirtualHost xxx.xxx.xxx.xxx>
> DocumentRoot /var/www/mysite.com
> ServerName www.mysite.com
> WebAppConnection conn warp localhost:8008
> WebAppDeploy mysite.com conn /var/www/mysite.com
> </VirtualHost>
Your WebAppDeploy is wrong.... As written in the install.txt file it should
be
WebAppDeploy /var/www/mysite.com conn /
Pier