Default servlet -> listings = 0 doesn't work?

2002-03-26 Thread scott . merritt

In my web.xml file I've been trying to turn off directory listings by
setting the listing parameter to 0 or false, but it it doesn't do anything.
I can always see the contents of the directory in my web app.  My web app
does have it's own web.xml file but it doesn't specify anything unusual,
definately not a default servlet.

What I've been trying to use is:

  
default
 
org.apache.catalina.servlets.DefaultServlet

  debug
  0


  listings
  0

1
  


I'm using Tomcat 4.0.1 ...  Is this something fixed in 4.0.2?

Thanks...

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Deploy app to more than one path without creating multiple instan ces. (How?)

2002-03-11 Thread scott . merritt

Yeah, but I'm trying to keep the directory name in the URL so I can use
Netegrity to restrict access to them with some users have different access
to some URLs...  redirecting changes the url :(

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11 2002 03:00 PM
To: Tomcat Users List
Subject: Re: Deploy app to more than one path without creating multiple
instan ces. (How?)



AFAIK, you'll always end up have three different web applications despite
the fact that they have the same docBase attribute. So if you have a
servlet in that web app, it will be initialized three times - once for
every context. I'm not sure if apache redirects will work. try it out. :-)

RS





[EMAIL PROTECTED] on 03/11/2002 07:53:01 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:

Subject:  Deploy app to more than one path without creating multiple instan
  ces.  (How?)

I have an app that I'd like to deploy as more than one path:

http://host.com/path1
http://host.com/path2
http://host.com/path3
etc.

But I want them all pointing to the same web app.  When I use web app
deploy:

WebAppConnection conn warp localhost:port
WebAppDeploy path/appdirectory conn /path1
WebAppDeploy path/appdirectory conn /path2
WebAppDeploy path/appdirectory conn /path3

I always end up launching 3 seperate apps.  Is there a way to get it so the
3 paths end up sharing the same app?

Thanks...

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 









--
To unsubscribe:   
For additional commands: 
Troubles with the list: 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Deploy app to more than one path without creating multiple instances. (How?)

2002-03-11 Thread scott . merritt

I have an app that I'd like to deploy as more than one path:

http://host.com/path1
http://host.com/path2
http://host.com/path3
etc.

But I want them all pointing to the same web app.  When I use web app
deploy:

WebAppConnection conn warp localhost:port
WebAppDeploy path/appdirectory conn /path1
WebAppDeploy path/appdirectory conn /path2
WebAppDeploy path/appdirectory conn /path3

I always end up launching 3 seperate apps.  Is there a way to get it so the
3 paths end up sharing the same app?

Thanks...

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: modwebapp gives Netscape HTML code, can't see page!

2002-02-19 Thread scott . merritt

Thanks you guys, luckily it was something simple like that and the default
context type in Apache was set to text/plain.

-Original Message-
From: Donie Kelly [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19 2002 12:29 PM
To: 'Tomcat Users List'
Subject: RE: modwebapp gives Netscape HTML code, can't see page!


Check the content type header. Maybe it's not set to text/html

Donie

Ps: otherwise send the first few lines of the response and we might be able
to see what the problem is...


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 19 February 2002 12:28
To: [EMAIL PROTECTED]
Subject: modwebapp gives Netscape HTML code, can't see page!

Has anybody else experienced hitting the server through modwebapp and only
seeing the HTML code for Netscape 4.78?  Not sure what's going on, works
fine in IE but in Netscape pages are not getting rendered, the raw HTML just
gets dumped out.

Any ideas?  This is not cool...

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




modwebapp gives Netscape HTML code, can't see page!

2002-02-19 Thread scott . merritt

Has anybody else experienced hitting the server through modwebapp and only
seeing the HTML code for Netscape 4.78?  Not sure what's going on, works
fine in IE but in Netscape pages are not getting rendered, the raw HTML just
gets dumped out.

Any ideas?  This is not cool...

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




expr: syntax error?

2001-12-27 Thread Scott Merritt

Just purchased some virtual server space on FreeBSD and am trying to install
Tomcat 4.0.1.  When I start it I see it creates 9 or so threads which is
positive but checking catalina.log all I get is "expr: syntax error" and I
can't connect to 8080.

Anybody seen this?  I also installed JDK 1.3.1_02...

Thanks...

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: jkconf? Does it work in 4.0.1? Where's workers.properties?

2001-12-18 Thread Scott Merritt

Is it possible to manually create these?  I mean, where do I find out what
goes in a workers.properties file?  I have no clue without installing 3.3,
and I'm guessing I'll have to do some tweaking on the files it generates.

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 5:09 AM
To: 'Tomcat Users List'
Subject: RE: jkconf? Does it work in 4.0.1? Where's workers.properties?


Tomcat 4.x originally came with just mod_webapp as the
connector, which doesn't require these extra files that
mod_jk does.  Integration of mod_jk support with Tomcat 4.x
is still on going.  Since Tomcat 3.x is quite different
from Tomcat 4.x (compare server.xml files for example),
is means that some of what you find in the Tomcat 3.3
documentation isn't going to apply to Tomcat 4.x.  The
"jkconf" option is a good example.  This is a feature that
applies only to Tomcat 3.3.  None of the Tomcat 4.x releases
does auto-config generation (mod_webapp didn't need it).  I
believe the next releases of Tomcat 4.x will contain some
support for this.  For the time being you have to
create them manually, or if you feel like investing in
the disk space, install a version Tomcat 3.3 to help
generate them.

Cheers,
Larry

> -Original Message-
> From: Scott Merritt [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 17, 2001 6:50 PM
> To: 'Tomcat Users List'
> Subject: jkconf? Does it work in 4.0.1? Where's workers.properties?
> 
> 
> Hmm... My next question is, how come I can't find a 
> workers.properties file?
> 
> I'm using Tomcat 4.0.1 and trying to get it to autgen the 
> config files...
> None of these generate anything:
> ./startup.sh jkconf
> ./catalina.sh jkconf
> 
> Okay...  So I figured I'd do it manually, but I don't see any
> workers.properties file to follow the "simple" example in the 
> 3.3 mod_jk
> docs 
> (http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html)
> 
> Hmm...  Now what?  Confused.  Does Tomcat 4 not do this conf writing
> anymore?
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




jkconf? Does it work in 4.0.1? Where's workers.properties?

2001-12-17 Thread Scott Merritt

Hmm... My next question is, how come I can't find a workers.properties file?

I'm using Tomcat 4.0.1 and trying to get it to autgen the config files...
None of these generate anything:
./startup.sh jkconf
./catalina.sh jkconf

Okay...  So I figured I'd do it manually, but I don't see any
workers.properties file to follow the "simple" example in the 3.3 mod_jk
docs (http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html)

Hmm...  Now what?  Confused.  Does Tomcat 4 not do this conf writing
anymore?

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




There's 6 mod_jk's? Which one?

2001-12-17 Thread Scott Merritt

Ok...  I see in the compiled dir for Linux, 6 mod_jk's...  How do I
determine if my Apache web server is compiled with eapi or not?  Also how do
I know if I get the one for ap13 or ap20?

I'm using Tomcat 4...

 mod_jk-3.3-ap13-eapi.so23-Oct-2001 12:52   93K  
 mod_jk-3.3-ap13-eapi.so.asc23-Oct-2001 12:53  285   
 mod_jk-3.3-ap13-noeapi.so  23-Oct-2001 12:53   93K  
 mod_jk-3.3-ap13-noeapi.so.asc  23-Oct-2001 12:53  285   
 mod_jk-3.3-ap20.so 23-Oct-2001 12:54  114K  
 mod_jk-3.3-ap20.so.asc   

Thanks..

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: How do I redirect to mod_webapp URL?

2001-12-04 Thread Scott Merritt

Yeah, I tried that...  but it goes into and endless redirect loop since
/myapp/servlet/myapp is under / :)

-Original Message-
From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 2:38 PM
To: 'Tomcat Users List'
Subject: RE: How do I redirect to mod_webapp URL?
Importance: High


If you are using Apache or IHS, just put this in your virtual host:

Redirect / /myapp/servlet/myapp

(I think that will work)

-
J a m e s   B.   S w a r t
Agere Systems - Colorado Design Centers
Unix/Windows Systems Administrator, WAN, LAN, 
Desktop, Voice, Printers, Security Focal Point,
& Local CIO Service Delivery Manager Contact
VOICE: 720-494-2330 ¿ FAX: 720-494-2331


-Original Message-----
From: Scott Merritt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 12:47 PM
To: 'Tomcat Users List'
Subject: How do I redirect to mod_webapp URL?


I set up my app with mod_webapp and things are finally stable and working...
The one thing I dislike is I'm using a meta refresh on HTML in the doc root
that sends them to:

http://mydomain.com/myapp/servlet/myapp

Is there a way so when they just hit http://mydomain.com it automatically
goes through to this other URL?  I've messed around with mod_rewrite but I
usually end up breaking things.  I'm guessing there's probably something
simple that I don't know about.

Thanks!

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




How do I redirect to mod_webapp URL?

2001-12-04 Thread Scott Merritt

I set up my app with mod_webapp and things are finally stable and working...
The one thing I dislike is I'm using a meta refresh on HTML in the doc root
that sends them to:

http://mydomain.com/myapp/servlet/myapp

Is there a way so when they just hit http://mydomain.com it automatically
goes through to this other URL?  I've messed around with mod_rewrite but I
usually end up breaking things.  I'm guessing there's probably something
simple that I don't know about.

Thanks!

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Error Building mod_webapp on Linux

2001-12-03 Thread Scott Merritt

It was suggested that I compile mod_webapp myself, but it dies after it runs
for quite a while...  What should I do about this? (Error below.)  I did a
./configure with-apxs=/usr/local/apache/bin/apxs and then plain old make.
It builds for a few minutes and then bombs.  I've compiled Apache HTTP
v1.3.22 and it sesems fine.  Confused what to do now...

Thanks...

make[3]: Leaving directory `/home/zoon/webapp-module-1.0.1-tc401/apr'
make[2]: Leaving directory `/home/zoon/webapp-module-1.0.1-tc401/apr'
make[1]: Exiting directory "/home/zoon/webapp-module-1.0.1-tc401/apr"
make[1]: Leaving directory `/home/zoon/webapp-module-1.0.1-tc401'
make[0]: Installing APR library in
"/home/zoon/webapp-module-1.0.1-tc401/lib"
make[1]: Entering directory `/home/zoon/webapp-module-1.0.1-tc401'

make[1]: Entering directory "apache-1.3"
make[1]: Invoking "make  build"
make[2]: Entering directory
`/home/zoon/webapp-module-1.0.1-tc401/apache-1.3'
{ APXS_LDFLAGS_SHLIB="`/usr/local/apache/bin/apxs -q LDFLAGS_SHLIB` \
 \
-lm -lcrypt -lnsl -ldl" ; \
APXS_LDFLAGS_SHLIB=`/bin/echo ${APXS_LDFLAGS_SHLIB}` ; \
APXS_CFLAGS="`/usr/local/apache/bin/apxs -q CFLAGS` \
-g -O2 \
-g -O2 \
 \
-DLINUX=2 -D_REENTRANT \
-I/home/zoon/webapp-module-1.0.1-tc401/apr/include \
-I/home/zoon/webapp-module-1.0.1-tc401/include \
" ; \
APXS_CFLAGS=`/bin/echo ${APXS_CFLAGS}` ; \
/usr/local/apache/bin/apxs \
-S CFLAGS="${APXS_CFLAGS}" \
-S LDFLAGS_SHLIB="${APXS_LDFLAGS_SHLIB}" \
-o "mod_webapp.so" \
-c "mod_webapp.c" \
"/home/zoon/webapp-module-1.0.1-tc401/lib/libwebapp.a" \
"/home/zoon/webapp-module-1.0.1-tc401/lib/libapr.a" ; \
}
apxs:Error: no config variable LDFLAGS_SHLIB
Usage: apxs -g [-S =] -n 
   apxs -q [-S =]  ...
   apxs -c [-S =] [-o ] [-D [=]]
   [-I ] [-L ] [-l ] [-Wc,]
   [-Wl,]  ...
   apxs -i [-S =] [-a] [-A] [-n ]  ...
   apxs -e [-S =] [-a] [-A] [-n ]  ...
make[2]: *** [mod_webapp.so] Error 1
make[2]: Leaving directory `/home/zoon/webapp-module-1.0.1-tc401/apache-1.3'
make[1]: Exiting directory "apache-1.3"
make[1]: *** [template] Error 2
make[1]: Leaving directory `/home/zoon/webapp-module-1.0.1-tc401'
make: *** [apache-1.3-build] Error 2

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Turbine+mod_webapp problems with file upload (multipart data)

2001-12-03 Thread Scott Merritt

This weekend I installed mod_webapp and pointed it to Tomcat 4.0.1 and
things appeared to be working fine until I tried to upload a file through
it.  If I point the browser directly to my servlet files get uploaded fine
from the form but if I try going through Apache via mod_webapp I get the
exception below.  Anyone know if this is a bug in mod_webapp, Turbine or
something I'm doing wrong?

[Mon Dec 03 12:39:27 PST 2001] -- ERROR -- 
Exception:  org.apache.turbine.util.TurbineException: File upload
failed: Processing of multipart/form-data request failed: Stream ended
unexpectedly
Stack Trace follows:
 
org.apache.turbine.util.upload.MultipartStream$MalformedStreamException:
Stream ended unexpectedly
at
org.apache.turbine.util.upload.MultipartStream.readBodyData(MultipartStream.
java:455)
at
org.apache.turbine.services.upload.TurbineUploadService.parseRequest(Turbine
UploadService.java:195)
rethrown as org.apache.turbine.util.TurbineException: Processing of
multipart/form-data request failed: Stream ended unexpectedly
at
org.apache.turbine.services.upload.TurbineUploadService.parseRequest(Turbine
UploadService.java:232)
at
org.apache.turbine.services.upload.TurbineUpload.parseRequest(TurbineUpload.
java:178)
at
org.apache.turbine.util.parser.DefaultParameterParser.setRequest(DefaultPara
meterParser.java:189)
rethrown as org.apache.turbine.util.TurbineException: File upload failed:
Processing of multipart/form-data request failed: Stream ended unexpectedly
at
org.apache.turbine.util.parser.DefaultParameterParser.setRequest(DefaultPara
meterParser.java:193)
at
org.apache.turbine.services.rundata.DefaultTurbineRunData.getParameters(Defa
ultTurbineRunData.java:502)
at org.apache.turbine.Turbine.doGet(Turbine.java:278)
at org.apache.turbine.Turbine.doPost(Turbine.java:537)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:201)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:472)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHand
ler.java:215)
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19
4)
at java.lang.Thread.run(Thread.java:484)


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Problems with MOD_WEBAPP - Server becomes unresponsive

2001-11-28 Thread Scott Merritt

I'm trying to get mod_webapp working with Tomcat 4.0 but have not been
having any luck after spending days on the darn thing.  When I set it up and
I hit any virtual host, it just sits there until the browser times out.
Isn't this thing supposed to work?  I'm not seeing any errors logged...
(Going insane!!!)

In my httpd.conf I have:

LoadModule webapp_module libexec/mod_webapp.so
AddModule mod_webapp.c

WebAppConnection conn  warp  localhost:8008


ServerAdmin [EMAIL PROTECTED]
DocumentRoot /usr/local/apache/htdocs/unrealwatch.net
ServerName www.unrealwatch.net
ServerAlias unrealwatch.net
ErrorLog logs/unrealwatch.net-error_log
CustomLog logs/unrealwatch.net-access_log common

WebAppDeploy unrealwatch conn  /uw


And In my server.xml I have:

  
  





  
  

  
  

  

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Virtual Hosting Help! JSP file not found

2001-05-24 Thread Scott Merritt

I'm using Redhat 7.0, Apache 1.3.20 and Tomcat 3.2.1 with mod_jk.so.  So I'm
guessing ApJServMount I'd need to use if instead I chose the mod_jserv
instead of mod_jk.  I included mod_jk.conf in my httpd.conf and added the
Host elements in the servers.xml file:








And I only can hit http://mydomain.com, if I hit http://www.mydomain.com I
get a 404 and an error message on the console saying it can't find the file.
I'm confused.

-Original Message-
From: Guido Medina [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 12:01 PM
To: [EMAIL PROTECTED]
Subject: Re: Virtual Hosting Help! JSP file not found


Did you check in your httpd.conf ?, you must put in the servername
www.yourdomain.com and serveralias yourdomain.com and ApJServMount
/pathtoyourohome localhost:8007/...

I guess...I need more expecifications about your installation, platform,
webserver, etc etc...

- Original Message -
From: "Scott Merritt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 2:59 PM
Subject: Virtual Hosting Help! JSP file not found


> I have www.mydomain.com and mydomain.com that I'd like people to be able
to
> hit from their browser, unfortunately only http://mydomain.com is working.
> So I figured I'd try just adding another host entry to the server.xml file
> with the context path="www.mydomain.com".  WRONG.  That didn't work.  Any
> ideas on this?  I get:
>
> 2001-05-24 11:54:02 - Ctx( mydomain.com: ): 404 R(  +
> /examples/jsp/num/numguess.jsp + null) JSP file not found
>
> It looks like maybe it should be prefixing it with the $TOMCAT_HOME and
> that's why it's not finding the file?  But why would it work one time and
> not the other?
>
> Thanks
>



Virtual Hosting Help! JSP file not found

2001-05-24 Thread Scott Merritt

I have www.mydomain.com and mydomain.com that I'd like people to be able to
hit from their browser, unfortunately only http://mydomain.com is working.
So I figured I'd try just adding another host entry to the server.xml file
with the context path="www.mydomain.com".  WRONG.  That didn't work.  Any
ideas on this?  I get:

2001-05-24 11:54:02 - Ctx( mydomain.com: ): 404 R(  +
/examples/jsp/num/numguess.jsp + null) JSP file not found

It looks like maybe it should be prefixing it with the $TOMCAT_HOME and
that's why it's not finding the file?  But why would it work one time and
not the other?

Thanks



RE: mod_jk is garbled? Garbled? I got the binary...

2001-05-24 Thread Scott Merritt

Actually I just found out that http://localhost/examples IS working,
/examples isn't working on any virtual hosts...  Damn.  Almost there.  I
guess I have to RTFM.

-Original Message-
From: Renato Salazar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 8:35 AM
To: [EMAIL PROTECTED]
Subject: RE: mod_jk is garbled? Garbled? I got the binary...


Hi Scott,
I still have problems with my installation but it seems 
that you've succeded installing apache-tomcat.
I have some questions for you:
When you finally managed starting Apache after getting 
mod_jk.so, could you access http://localhost/examples 
inmediately or you have to do something else?, that's 
because I've tried almost everything and Apache-Tomcat 
doesn't work (it seems that Apache can't see when 
certain request belongs to Tomcat).
After all I think that I've made something wrong (don't 
know what) in my RedHat installation. I have RedHat7.0 
too, but I'd like to know the options you've installed 
it with. (sever, worstation, with/without Apache1.3.12, 
etc).
Thanks in advance.

Renato 

> Awesome, I guess the docs are just really misleading.  
I downloaded a binary
> of mod_jk from the 3.3m3 and that works with my 3.2.1 
Tomcat install fine,
> but was able to build it myself with what you gave 
me.  I would've never
> gotten that on my own...
> 
> Thanks!
> 
> -Original Message-
> From: Renato Salazar [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 23, 2001 4:44 PM
> To: [EMAIL PROTECTED]
> Subject: Re: mod_jk is garbled? Garbled? I got the 
binary...
> 
> 
> I had the same problem and, definetely, you have to 
> build your own mod_jk.so.
> Try downloading another version of Apache (not 
> installing it)and use it's apxs. I have 1.3.19 and it 
> works fine, only follow the mod_jk page instructions:
> 
> Make sure you have Perl 5 installed. The apxs script 
> used to build the module is written in Perl. 
> Change directory to jakarta-
tomcat/src/native/apache1.3 
> (or apache2.0). 
> Run the apxs command that came with your apache 
> distribution (hint: look 
> in /usr/local/apache/bin, /usr/sbin, or wherever you 
> intalled apache). Type the command all on one line.
> 
> For Linux: 
> apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include -
> I/usr/local/jdk/include/linux -c *.c ../jk/*.c
> 
> Your build may fail because the object files from 
> the ../jk directory have been compiled to the current 
> directory, rather than their source directory. Running 
> gcc -shared -o mod_jk.so *.o should finish the build.
> 
> Good luck!
> 
> Renato
> 
> > Upgraded Apache to 1.3.20, got Tomcat 3.2.1.  
> Downloaded binary of mod_jk,
> > but when it tries to load it I get:
> > 
> > Starting httpd: Syntax error on line 8 of
> > /usr/local/tomcat/conf/mod_jk_set.conf:
> > API module structure `jk_module' in 
> file /usr/local/apache/libexec/mod_jk.so
> > is garbled - perhaps this is not an Apache module 
DSO?
> > 
> > What's the deal with that?  Any ideas?  Tried 
> compiling myself, but apxs
> > dies at the end.  I got it from the linux dir, and 
I'm 
> running Redhat 7.0
> > 
> > Thanks..
> > 
> > 
> > 
> > 
> 
> --
> 
> 

--



RE: mod_jk is garbled? Garbled? I got the binary...

2001-05-24 Thread Scott Merritt

Well, it works half way...  When I hit localhost/examples I get a directory
listing, and if I click on the JSP folder I can view the index.html in
there, but it can't seem to find the JSP files.  Not sure about that...

I did a custom install where I picked which packages I wanted, but it's
essentially a server setup.

-Original Message-
From: Renato Salazar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 8:35 AM
To: [EMAIL PROTECTED]
Subject: RE: mod_jk is garbled? Garbled? I got the binary...


Hi Scott,
I still have problems with my installation but it seems 
that you've succeded installing apache-tomcat.
I have some questions for you:
When you finally managed starting Apache after getting 
mod_jk.so, could you access http://localhost/examples 
inmediately or you have to do something else?, that's 
because I've tried almost everything and Apache-Tomcat 
doesn't work (it seems that Apache can't see when 
certain request belongs to Tomcat).
After all I think that I've made something wrong (don't 
know what) in my RedHat installation. I have RedHat7.0 
too, but I'd like to know the options you've installed 
it with. (sever, worstation, with/without Apache1.3.12, 
etc).
Thanks in advance.

Renato 

> Awesome, I guess the docs are just really misleading.  
I downloaded a binary
> of mod_jk from the 3.3m3 and that works with my 3.2.1 
Tomcat install fine,
> but was able to build it myself with what you gave 
me.  I would've never
> gotten that on my own...
> 
> Thanks!
> 
> -Original Message-
> From: Renato Salazar [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 23, 2001 4:44 PM
> To: [EMAIL PROTECTED]
> Subject: Re: mod_jk is garbled? Garbled? I got the 
binary...
> 
> 
> I had the same problem and, definetely, you have to 
> build your own mod_jk.so.
> Try downloading another version of Apache (not 
> installing it)and use it's apxs. I have 1.3.19 and it 
> works fine, only follow the mod_jk page instructions:
> 
> Make sure you have Perl 5 installed. The apxs script 
> used to build the module is written in Perl. 
> Change directory to jakarta-
tomcat/src/native/apache1.3 
> (or apache2.0). 
> Run the apxs command that came with your apache 
> distribution (hint: look 
> in /usr/local/apache/bin, /usr/sbin, or wherever you 
> intalled apache). Type the command all on one line.
> 
> For Linux: 
> apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include -
> I/usr/local/jdk/include/linux -c *.c ../jk/*.c
> 
> Your build may fail because the object files from 
> the ../jk directory have been compiled to the current 
> directory, rather than their source directory. Running 
> gcc -shared -o mod_jk.so *.o should finish the build.
> 
> Good luck!
> 
> Renato
> 
> > Upgraded Apache to 1.3.20, got Tomcat 3.2.1.  
> Downloaded binary of mod_jk,
> > but when it tries to load it I get:
> > 
> > Starting httpd: Syntax error on line 8 of
> > /usr/local/tomcat/conf/mod_jk_set.conf:
> > API module structure `jk_module' in 
> file /usr/local/apache/libexec/mod_jk.so
> > is garbled - perhaps this is not an Apache module 
DSO?
> > 
> > What's the deal with that?  Any ideas?  Tried 
> compiling myself, but apxs
> > dies at the end.  I got it from the linux dir, and 
I'm 
> running Redhat 7.0
> > 
> > Thanks..
> > 
> > 
> > 
> > 
> 
> --
> 
> 

--



RE: mod_jk is garbled? Garbled? I got the binary...

2001-05-23 Thread Scott Merritt

Awesome, I guess the docs are just really misleading.  I downloaded a binary
of mod_jk from the 3.3m3 and that works with my 3.2.1 Tomcat install fine,
but was able to build it myself with what you gave me.  I would've never
gotten that on my own...

Thanks!

-Original Message-
From: Renato Salazar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 4:44 PM
To: [EMAIL PROTECTED]
Subject: Re: mod_jk is garbled? Garbled? I got the binary...


I had the same problem and, definetely, you have to 
build your own mod_jk.so.
Try downloading another version of Apache (not 
installing it)and use it's apxs. I have 1.3.19 and it 
works fine, only follow the mod_jk page instructions:

Make sure you have Perl 5 installed. The apxs script 
used to build the module is written in Perl. 
Change directory to jakarta-tomcat/src/native/apache1.3 
(or apache2.0). 
Run the apxs command that came with your apache 
distribution (hint: look 
in /usr/local/apache/bin, /usr/sbin, or wherever you 
intalled apache). Type the command all on one line.

For Linux: 
apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include -
I/usr/local/jdk/include/linux -c *.c ../jk/*.c

Your build may fail because the object files from 
the ../jk directory have been compiled to the current 
directory, rather than their source directory. Running 
gcc -shared -o mod_jk.so *.o should finish the build.

Good luck!

Renato

> Upgraded Apache to 1.3.20, got Tomcat 3.2.1.  
Downloaded binary of mod_jk,
> but when it tries to load it I get:
> 
> Starting httpd: Syntax error on line 8 of
> /usr/local/tomcat/conf/mod_jk_set.conf:
> API module structure `jk_module' in 
file /usr/local/apache/libexec/mod_jk.so
> is garbled - perhaps this is not an Apache module DSO?
> 
> What's the deal with that?  Any ideas?  Tried 
compiling myself, but apxs
> dies at the end.  I got it from the linux dir, and I'm 
running Redhat 7.0
> 
> Thanks..
> 
> 
> 
> 

--



mod_jk is garbled? Garbled? I got the binary...

2001-05-23 Thread Scott Merritt

Upgraded Apache to 1.3.20, got Tomcat 3.2.1.  Downloaded binary of mod_jk,
but when it tries to load it I get:

Starting httpd: Syntax error on line 8 of
/usr/local/tomcat/conf/mod_jk_set.conf:
API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so
is garbled - perhaps this is not an Apache module DSO?

What's the deal with that?  Any ideas?  Tried compiling myself, but apxs
dies at the end.  I got it from the linux dir, and I'm running Redhat 7.0

Thanks..



mod_jserv.so or mod_jserv_tomcat.so?

2001-05-23 Thread Scott Merritt

Just trying to figure out which I should be using for Tomcat 3.2.1 since the
documentation explains building mod_jserv but if I look at the already
compiled dir
(http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.html) I
only see mod_jk.so and mod_jserv_tomcat.so.  If I use these, how does this
affect my tomcat.conf file?  Instead of having:



Should it be:



Or...



Also, I tried building mod_jserv (on Redhat 7.0 with gcc version 2.96
2731) but it dies at the end, so that's why I headed to the already
compiled versions:
$ apxs -c -o mod_jserv.so *.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include  -c autochange.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include  -c jserv_ajpv11.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include  -c jserv_ajpv12.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include  -c jserv_balance.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include  -c jserv_image.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include  -c jserv_mmap.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include  -c jserv_protocols.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include  -c jserv_status.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include  -c jserv_utils.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include  -c jserv_watchdog.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include  -c jserv_wrapper.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include  -c jserv_wrapper_unix.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include  -c jserv_wrapper_win.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include  -c mod_jserv.c
  -o mod_jserv.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o
jserv_wrapper.o jserv_watchdog.o jserv_utils.o jserv_status.o
jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o jserv_ajpv12.o
jserv_ajpv11.o autochange.o 
apxs:Break: Command failed with rc=16777215