It's not that hard (always easy when you know how!).
1 question: is port 5080 where apache is listen on?
looking at your httpd.conf it seem your trying to
do something complex before trying the easy standard one.
Have you tried (providing that you have the examples servlets):
WebAppConnection
To: Tomcat Users List
Subject: Re: apache + mod_SSL + tomcat
I never saw an answer go by to the below question and was curious what it would be.
Does no one now the answer
Dean
Cressatti, Dominique wrote:
Hi,
I've got apache + mod_SSL + tomcat working
(I don't deserve that much credit
...my servlet can determine if the connection is from 8443 or 8080..
While not much clued up about java (but having seen a few examples)
I would think its possible. Then again why would you like to do it at
the servlet level? Why would you want to keep port 8080 opened when
80, 443 or 8443 are?
What about something like:
WebAppDeploy mywebsite warpConnection /*.jsp
Dom
-Original Message-
From: Michel [mailto:[EMAIL PROTECTED]]
Sent: 06 February 2002 16:10
To: Tomcat Users List
Subject: WarpConnector: how to enable static content below dynamic
content?
Howdy!
I'm
What does your context for your app look
like?
-Original Message-
From: Liam Holohan [mailto:[EMAIL PROTECTED]]
Sent: 05 February 2002 16:30
To: Tomcat Users List
Subject: deploying WARs in different locations..(web.xml error)
Hi all ..
I'm having difficulity in getting my wars to
)
Cressatti, Dominique wrote:
What does your context for your app look
like?
-Original Message-
From: Liam Holohan [mailto:[EMAIL PROTECTED]]
Sent: 05 February 2002 16:30
To: Tomcat Users List
Subject: deploying WARs in different locations..(web.xml error)
Hi all ..
I'm having
February 2002 16:48
To: Tomcat Users List
Subject: Re: deploying WARs in different locations..(web.xml error)
Cressatti, Dominique wrote:
What does your context for your app look
like?
-Original Message-
From: Liam Holohan [mailto:[EMAIL PROTECTED]]
Sent: 05 February 2002 16:30
Hi,
I've got apache + mod_SSL + tomcat working
(I don't deserve that much credit as mod_ssl worked
right out the box) but I wonder couldn't the security bypassed,
like for example accessing the page on port 8080 instead of port
443 ?
Dom
. Thanks.
Charlie
-Original Message-
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 12:38 PM
To: Tomcat Users List
Subject: apache + mod_SSL + tomcat
Hi,
I've got apache + mod_SSL + tomcat working
(I don't deserve that much credit as mod_ssl worked
Do U have the correct directory structure?
Another thing DO NOT install tomcat in /home
the correct place is in /var
(unless of course you wanna know how long the logs
generation will take to fill up your /home directory)
Dom
-Original Message-
From: John Menke [mailto:[EMAIL
Have you tried something like:
WebAppDeploy YourContextDir YourConnection /AnyURLYouWant/*.jsp
WebAppDeploy YourContextDir YourConnection /AnyURLYouWant/servlet*
Let us know if it worked
Dom
-Original Message-
From: Chris Faulkner [mailto:[EMAIL PROTECTED]]
Sent: 01 February 2002 08:14
I can't answer directly to your question
but here are some avenues that you might to
explore.
Here is some of the stuff I've learned so far.
You can modify the class path and append the directory
where your common classes live.
In the context section (either your apps-YourApp.xml
4 tomcat3 or
I believe so.
create a context in server.xml
As an example see mine.
Context path=/CGI-BIN
docBase=webapps/lansa
debug=0
reloadable=true
SimpleRealm filename=conf/users/lansa-users.xml /
LogSetter name=lansa_tc.log
I don't about manager but have you tried the examples
like
WebAppDeploy examples WarpConn /examples
and point your browser to
http://localhost/examples/snoop
Does that work?
Dom
-Original Message-
From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
Sent: 01 February 2002 16:51
To:
yep it's in tomcat or http://jakarta.apache.org/tomcat/
unpacked classes go in webapps/yourapp/WEB-INF/classes
.jar go in webapps/yourapp/WEB-INF/lib
-Original Message-
From: Clay Mitchell [mailto:[EMAIL PROTECTED]]
Sent: 01 February 2002 19:08
To: [EMAIL PROTECTED]
Subject: guide to
quick question:
how do I map a servlet to a URL using mod_jk
eg I have /MyApp/WEB-INF/classes/dir1/dir2dir3/MyServlet.class
and I want that to http://host/MyApp/MyServlet
Thanks
Dom
- Original Message -
From: Cressatti, Dominique [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, January 31, 2002 4:34 AM
Subject: URL to servlet mapping with mod_jk
quick question:
how do I map a servlet to a URL using mod_jk
eg I have /MyApp/WEB-INF/classes/dir1
List'
Subject: RE: URL to servlet mapping with mod_jk
-Original Message-
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 8:29 AM
To: Tomcat Users List
Subject: RE: URL to servlet mapping with mod_jk
Oh I've got that right!
http://myhost
,
it will be passed to Tomcat where it should correspond to
servable content.
Cheers,
Larry
-Original Message-
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 10:54 AM
To: Tomcat Users List
Subject: RE: URL to servlet mapping with mod_jk
I believe *ajp13
jakarta.apache.org it's there.
sorry but I looked into
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/nightly/src/
but I couldn't find anything related to mod_webapp
I think you specify this in web.xml of the web application.
but web.xml will relate to port 8080 (or whichever port tomcat
Are you saying that in order to get
something like:
http://localhost/examples/HelloWorldExample
working, I need to have something like:
WebAppDeploy examples WarpConnection /examples
in httpd.conf
and have a URL-to-Servlet mapping in a web.xml?
Dom
-Original Message-
From: Nikola
WebAppMount
Hi,
-Original Message-
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 1:05 PM
To: Tomcat Users List
Subject: RE: WebAppDeploy Vs WebAppMount
jakarta.apache.org it's there.
sorry but I looked into
http://jakarta.apache.org/builds
what's the difference between the 2?
I grabed what I think was the lastest mod_webapp module
( http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2-b2/rpms/)
and it added the following in my httpd.conf
WebAppConnection WarpConnection warp localhost:8008
WebAppDeploy examples
you can always try to compile it, it's quite easy now
where do I get the latest source of mod_webapp?
Beside how do specify the mapping?
What I want to be able to do is point my
browser to:
http://localhost/examples/HelloWorldExmample
instead of having to do:
I would try:
LoadModule webapp_module libexec/mod_webapp.so
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples
for a start.
also you missed
AddModule mod_webapp.c in your httpd.conf
and did you specify your SeverName as well
..
-Original Message-
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 1:32 PM
To: Tomcat Users List
Subject: RE: mod_webapp problem.. please hlp
I would try:
LoadModule webapp_module libexec/mod_webapp.so
WebAppConnection warpConnection
:(
-Original Message-
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 2:14 PM
To: Tomcat Users List
Subject: RE: mod_webapp problem.. please hlp
you know what I meant by servername (not the one associated with
virtualhost)?
unommenting #ServerName
Hi,
how do I specify the location of class in a subdirectory.
I have HelloWorldExample.class and LocalStrings.properties under
/webapps/test/WEB-INF/classes
and my web.xml looks like:
...
servlet
servlet-namehello/servlet-name
servlet-classHelloWorldExample/servlet-class
/servlet
correspond to the
package statement used in the source file. If you want to call your class
hello.HelloWorldExample then you need to put package hello; as the first
line of HelloWorldExample.java and recompile.
Randy
-Original Message-
From: Cressatti, Dominique [mailto:[EMAIL
How do I run manually a servlet located in subdirectory.
I mean I can run HelloWorldExample directly (not using web.xml)
by doing:
http://localost:8080/appdir/servlet/HelloWorldExample
when it is located in:
/webapp/appdir/WEB-INF/classes/
but how would I do it (specify the subdirectory) if
Hi,
one of my servlet relies on a text file to run but tomcat doesn't seem
to find it.
When I do http://localhost:8080/lansa.servlet/com.lansa.web.servlet.LANSAWEB
I get:
The configuration file 'L4W3SERV.CFG' could not be found
the directory containing the configuration file may not be included
I have some jar files, swingall.jar and lansa.jar
How do I do the equivalent of:
java -cp ./:./lansa.jar:./swingall.jar com.lansa.web.admin.WebAbmin
which basically run manually the WebAdmin applet.
I know it's an applet but there is a servlet equivalent.
Sorry if this is too much of a basic
for this list.
hope it helps,
regards,
[EMAIL PROTECTED]
-Original Message-
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: 22. janĂșar 2002 16:25
To: Tomcat Users List
Subject: running jar files
I have some jar files, swingall.jar and lansa.jar
How do I do
Hi,
I have a very simple example app.
For testing purposes I moved the servlet into a subdirectory.
So before the move I had
/webapps/Wide_World/WEB-INFO/classes/ForwardServlet.class
and after the move I had
/webapps/Wide_World/WEB-INFO/classes/dir/ForwardServlet.class
according to the docs
, but it is the wrong name because it is expecting to find
dir.ForwardServlet (ie. it expects ForwardServlet to be in the dir package).
Hope this helps,
Dave Derry
- Original Message -
From: Cressatti, Dominique [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January
From stability/bugs/security point of view the choice is easy,
use apache.
Why on earth anyone would run IIS? given it track record (code red, nimba, etc...).
apache is portable, try to replicate a config on another platform using IIS,
even on another MS platform it's not that easy.
With Apache
or Apache
Ever heard of managers ;)
-Original Message-
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 18:08
To: Tomcat Users List
Subject: RE: IIS or Apache
From stability/bugs/security point of view the choice is easy,
use apache.
Why on earth
it's fairly easy, once you know how do it
and were are pitfalls.
2...
I don't know what is the AJP connector but I don't
you need since you should be using the warp connector.
1st) are tomcat and apache working? have you tried to
go to http://localhost:8080/examples/ and http://localhost
What
one thing I've noticed is
if if try
http://hostname:8080/examples
it automatically add that trailing slash for u
once it reached the page.
So I get the feeling that it's something
to do with tomcat (I may be wrong)
Dom
-Original Message-
From: Young Jun Kim [mailto:[EMAIL PROTECTED]]
as well:
http://localhost/examples
will not work for me but
http://localhost/examples/
does.
Dom
-Original Message-
From: Cressatti, Dominique
Sent: 18 January 2002 10:22
To: Tomcat Users List
Subject: RE: Apache - Tomcat - integration
it's fairly easy, once you know how do
Hi,
am trying to execute a servlet within a jar file.
I gathered so far that I had to copy the jar file in ./WEB-INF/lib
As an alternative I've extracted the content of that jar file an
put the classes under ./WEB-INF/classes.
The problem is that the servlet I want to execute is buried within
documentation about a .war file (which is a
.jar), or open one of the examples delivered together with Tomcat.
-Original Message-
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: donderdag 17 januari 2002 11:06
To: Tomcat Users List
Subject: executing servlet in a jar file
Hi
are the errors you got ?
-Original Message-
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: donderdag 17 januari 2002 16:17
To: Tomcat Users List
Subject: RE: executing servlet in a jar file
Walter,
I had look around and tried what you suggested,
added all the classes under
Did you get the RPM or the standard binary?
The RPM open port 8180 (this is set in catalina_home/bin/conf/server.xml)
while the standard binary (jakarta-tomcat)open port 8080.
I've found that with the rpm version, ./service tomcat4 start
doesn't start tomcat (even though it claim so).
I
Alone
Mode
I didn't use an rpm so I guess I got the standard binaries.
I tried both ports in my browser...8180 and 8080.
I copied the same Tomcat 4.0.1 download to the windows 98 side of my
hard drive. I had no trouble getting it to work with
http://localhost:8080 there.
Cressatti
my guess
you didn't specify if you made the module executable.
have u done so.
if not do:
chmod 755 /apacheLibs/mod_webapp.so
-Original Message-
From: Elteto Zoltan [mailto:[EMAIL PROTECTED]]
Sent: 15 January 2002 14:42
To: Tomcat Users List
Subject: Apache 1.3.22 + Warp + Tomcat
Hi
it to work with
http://localhost:8080 there.
Cressatti, Dominique wrote:
Did you get the RPM or the standard binary?
The RPM open port 8180 (this is set in
catalina_home/bin/conf/server.xml)
while the standard binary (jakarta-tomcat)open port 8080.
I've found that with the rpm version
David
have you got the mod-webbapp working under Mandrake?
Dom
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]]
Sent: 15 January 2002 15:25
To: Tomcat Users List
Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone
Mode
hmmm if you do a ps -a |
getting it to work with
http://localhost:8080 there.
Cressatti, Dominique wrote:
Did you get the RPM or the standard binary?
The RPM open port 8180 (this is set in
catalina_home/bin/conf/server.xml)
while the standard binary (jakarta-tomcat)open port 8080.
I've found that with the rpm version
David,
sorry to be persistent but did you said that your running
tomcat under Mandrake?
If so have you managed to get the mod_webapp working
properly?
Dom
+ Tomcat
Good guess!!!
I did not change that.
th
but the error message is still persisting :((
zoli
- Original Message -
From: Cressatti, Dominique [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, January 15, 2002 4:53 PM
Subject: RE: Apache 1.3.22 + Warp + Tomcat
my
David,
3 questions
which version of MDK are u using? am MDK 8.1
I had nothing but problem with the mod_webapp
always complaining when am not including WebAppDeploy
in a virtual server section while under Window
I've had no problem whatsoever (doesn't need to be
under virtualHost ServerName
anyone out there who managed to get the mod_webapp module working
under Linux but not the RH 7.1 distro?
Dom
Dominique Cressatti
Newlook/PC/Network support
LANSA Ltd
I was just looking at doing something along
the same lines.
Such as how do I map something
like:
http://localhost/testurl
to execute directly HelloWorldExample
I tried
WebAppDeploy test/servlet/HelloWorldExample conn /testurl
WebAppDeploy /../../../test/WEB-INF/HelloWorldExample conn /testurl
Hi Laura,
Try to remove the leading Slash.
I tried but apache times out.
Where was your class or jar file (absolute path)
and what your WebAppDeploy looked like?
What I don't understand is why there are so many slashes
Cheers
Dom
-Original Message-
From: Laura Reising [mailto:[EMAIL
/home/laura/www/jsp/
I see ...
no quite what am trying to do, which I would
have though was easier.
I simply wanted to bind the HelloWorldExample
(still in the webapps directory)
to specific url like http://localhost/test
so it gets running automatically.
Any idea
Cheers
Dom
-Original
Daniel,
put the HelloWorld.html file
I may be mistaken but I far as I can see no
html page is required.
If my WebAppDeploy looks like:
WebAppDeployexamplesconn /examples
and point my browser to http://localhost/examples/servlet/HelloWorldExample
I get straight to the example which
me 2, am dying to see it.
Dom
-Original Message-
From: louie miranda [mailto:[EMAIL PROTECTED]]
Sent: 07 January 2002 11:01
To: Tomcat Users List
Subject: Re: Tomcat 4 integration with apache
Me 2, if possible can i have to a copy step by step!! thanks!
- Original Message -
...I
currently have apache 1.3.* connected to tomcat 4.0.1 with the
warp connector. Works great. Great concept.
How did you achieve that?
is it on Linux or a different OS?
Can you still serve static page as well
as java pages?
If yes could you show me your http.conf
cos apart from getting
examples conn/example
/VirtualHost
-Original Message-
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 8:17 AM
To: [EMAIL PROTECTED]
Subject: getting mod_webapps to work
I've managed to so far to figure out how
to add
Message-
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 10:06 AM
To: 'Tomcat Users List'
Subject: RE: getting mod_webapps to work
Cheers Brian,
How do test that it works?
Dom
-Original Message-
From: Brian Adams [mailto:[EMAIL PROTECTED]]
Sent: 21
61 matches
Mail list logo