Re: AW: mod_webapp, tomcat 4.0.3, apache 2.0.35 question

2002-04-16 Thread Georg Huettenegger

hi,

this does work but now all requests are forwarded to tomcat (making the
whole setup useless). maybe i am missing an important point. still tahnx
for the answer but the question remains: how to setup apache + mod_webapp
so that /images gets handled by apache and /servlet by tomcat with tomcat
seeing the /servlet in the uri.

bye,
  georg

On Tue, 16 Apr 2002, O. Gross - Principio wrote:

> hi,
> 
> instead of WebAppDeploy servlet warpConnection /servlet try WebAppDeploy
> servlet warpConnection /
> best within the configuration of the virtual host (if any).
> 
> greetings
> olaf
> 
> 
> 
> -Ursprungliche Nachricht-
> Von: Georg Huettenegger [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 16. April 2002 17:31
> An: [EMAIL PROTECTED]
> Betreff: mod_webapp, tomcat 4.0.3, apache 2.0.35 question
> 
> 
> hi,
> 
> i have installed the named versions von solaris 2.6 and it does run
> successfully. but there are major problems i am having:
> 
> o) the application i am trying to execute calls all servlets with
> /servlet/login for example. therefore i have set up the following line in
> my httpd.conf:
>  WebAppDeploy servlet warpConnection /servlet
> i have a corresponding servlet directory in the webapps directory of
> tomcat and in principal the setup works. BUT i have to use
> http://localhost/servlet/servlet/login to get my servlet executed.
> 
> can somebody tell me what i need to change so that
> http://localhost/servlet/login itself will work (but still having the
> possibility that apache is serving http://localhost/images/x.gif by
> itself)?
> 
> o) more a tomcat setup question: i have a lot of java servlets as .class
> files. how do i instruct tomcat to execute these servlets without
> explicitly naming them in a web.xml file?
> 
> i am not sure whether the following did achieve it in tomcat 3 and whether
> it still does work in tomcat 4 (would be part of server.xml):
>  className="org.apache.tomcat.request.InvokerInterceptor"
> debug="0" prefix="/servlet/" />
> 
> 
> o) mod_jk allows to have *.jsp files being served by tomcat and *.html
> files being served by apache in one and the same directory. i have read
> that with mod_webapp i would need a filtering functionality of tomcat to
> achieve the same behavour. is that correct and what would i need to do?
> 
> hope you can help me with my pressing problems.
> 
> bye,
>  georg
> 
> 
> --
> 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: 




Tomcat & HTTPS

2002-04-16 Thread Animesh Chaturvedi - US


Hi 


I am using JSSE for HTTPS through Tomcat. Every time I point my browser
through HTTPS it takes about 35 seconds for the certificate to pop up. Its
really slow.
I have also tried using Apache for HTTPS. Through Apache it is fast, but I
do not want to have the overhead of using Apache. 

Has anybody tried integrating Tomcat with OpenSSL??

Tomcat takes a lot of time to come up, about 2 minutes. Is there a way this
time can be reduced significantly or use a trimmed down Tomcat.
I have used Resin its really very fast and comes with support for OpenSSL,
but its not free.


Animesh





request.getRemoteUser() and Tomcat 3.2.4

2002-04-16 Thread Muhammad Asif

I have an application on Tomcat3.2.4 on windows NT.
I wonder what request.getRemoteUser() actually returns. Does i have to make 
some security settings ON to work this out. Currently it always returns 
NULL. I think it should return the user name used to login to application.

Thanks for your time.

asif


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




RE: port 8080

2002-04-16 Thread Carlos A . Díaz

> a.net.BindException: Address in use: JVM_Bind
this error means that the port is used by another aplication.

> className="org.apache.catalina.connector.http.HttpConnector"
> port="1977" minProcessors="5" maxProcessors="75"
> enableLookups="true"
> redirectPort="8443"   acceptCount="10" debug="0"
> connectionTimeout="6"/>

next, try it to change the port 1977 to 8080
restart tomcat and try: http://localhost:8080

  Tomcat 4.0.1 is installed as a service (see services on Control
Panel, Administrations tools). It`s posible that another instance
of tomcat is the origin of the problem, in this case the tomcat
service.

saludos
c.


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




JNDI DataSource Problem: MS SQL Server

2002-04-16 Thread Peter D Wilson

Could somebody provide jakarta-tomcat-4.0.3, server.xml + web.xml + java
code,  working fragments similar to those that Eichfelder, Frank provided
earlier today on this mail list. I am using MS SQL Server 6.5, where the
direct DriverManager approach outside of Tomcat works perfectly.

In the JNDI approach under Tomcat, I can list context, "jdbc" in context,
"java:comp/env" and get my ResourceRef, "JobsDataSource" from the default
context in server.xml listed, but I am unable to get a DataSource (or
ConnectionPoolDataSource) returned.

This is a very frustrating exercise!

Thank you for your help,

Peter



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




Re: scaling Tomcat

2002-04-16 Thread Peter Lin


I've been fortunate enough to have some experience in
building "enterprise" systems. Depending on who you
ask, "enterprise" means a different thing. In my
particular case, the site had to be able to support a
half million users. Not all at once mind you, but
support the equivalent traffic if there were a half
million paying subscribers.

If I use your numbers, here are some possible ways to
analyze and guess what such a system might need.

--- Saddest OfAllKeys <[EMAIL PROTECTED]> wrote:
> 
> hello,
> 
> My apologies if these are FAQs. I've searched for
> them.
> 
> I'm working on a webapp.  My team wants to measure
> performance/scale from the get-go.  The plan is to
> start with Apache/Tomcat and measure, using
> commercial
> products only when necessary.  An approximate goal
> is
> 500 users of the course of a day, with a response
> time
> of 3-5 seconds.

Since it's a portal like site, I'll use yahoo and Cnet
as a base of comparison. I tend to visit yahoo about
10 times a day and each time I probably view about 3-5
pages. Even though these numbers may not apply to your
particular case, it should give you an idea of how to
go about calculating the theoritical peak traffic.

10 visits X 5 page views = 50 hits

If I assume 50 hits a day per subscriber as average,
than the total number of hits the system has to
support per day is

50 X 500 = 25000 hits

Of course that number should be tripled to take into
account traffic spikes, but lets just say 100K hits a
day. That amount of traffic isn't alot my portal
standards. In fact, it's pretty darn low, so unless
your connection to the database is really slow, or
doesn't use connection pooling, I wouldn't worry about
performance. Of course, that assuming you're only
grabbing small chunks of data and not huge blobs that
are multiple megs.

In terms of tweaking tomcat, there are two ways.

1. increase the number of processors in server.xml
2. increase the heap settings

Beyond that, it's hard to say how to scale
tomcat/apache, since how you implement the portal has
the biggest impact on how it scales.


> 
> Q1: Can someone point me to info on tweaking Apache
> and Tomcat for performance/scale? I have James
> Goodwill's Tomcat book and while it is good, it
> doesn't address this issue.
> 
> Q2: Are there any rules of thumb for the high-end of
> Tomcat's ability re: number of users?  I know this
> is
> terribly vague.  FWIW, the webapp is a portal server
> and not really dealing with EJB.  It queries some
> remote databases via HTTP and other protocols.
> 
> Any advice/comments are greatly appreciated.
> 
> thanks,
> Mike
> [EMAIL PROTECTED]


You can search the archives for the benchmarks I
posted on tomcat with coyote and httpconnector.

hope that helps.

peter



__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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




Re: JSP compile error when switching JDK to 1.4.0

2002-04-16 Thread pixel

Todd,

The tools.jar file in the /lib directory of your Tomcat install needs to 
be replaced with the tools.jar file from your 1.4.0 JDK.

~Scott

Ganey, Todd wrote:

>I know this has been posted before, but I either missed or there was no
>solution posted on how to correct the JSP compile error when you switch JDKs
>from (in my case) 1.3.02 to 1.4.0 in Jakarta TC 4.0.3 on a Windows 2000 or
>ME machine.
>
>after installing the new JDK, pointing references to the new JDK, and after
>removing (or not removing) the old JDK, starting Tomcat and then trying to
>access a JSP page (ex. the examples)
>
>I get this exception (only the first line shown) :
>
>org.apache.jasper.JasperException: Unable to compile class for JSPerror:
>Invalid class file format in
>C:\J2SDK1.4.0\JRE\lib\rt.jar(java/lang/Object.class).  The major.minor
>version '48.0' is too recent for this tool to understand.
>
>Now I have hunted the registry and done some searches through contents of
>the Tomcat files thinking something still needed to be switched over, but I
>have been unable to find the smoking gun.  As of right now the only way I
>have found to fix this problem is to reinstall Tomcat (the typical Windows
>thing to do and very easy, thanks for a good installer), but I would prefer
>to know what is causing this and how I could fix it without a reinstall.
>
>Thank you,
>
>Todd Ganey
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>
>
>




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




RE: scaling Tomcat

2002-04-16 Thread Subir Sengupta

You didn't mention what versions of Apache/Tomat or what platform you're
running on.

Here's a couple of links that may help (I haven't seen anything on Tomcat
yet).  

http://dcb.sun.com/practices/howtos/tuning_apache.jsp
http://dcb.sun.com/practices/howtos/optimizingserver.jsp

Most tuning usually happens in your app. Caching, Thread pooling, jdbc
thread pooling etc.  You can also cluster your servers and load balance to
them using something like a Cisco Arrowpoint or similar box.

Also, the Wrox book, Java Servlets 2.3 has a chapter on performance/scaling
(if you're running Tomcat 4.x)

Hope this helps,
Subir



-Original Message-
From: Saddest OfAllKeys [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 6:05 PM
To: [EMAIL PROTECTED]
Subject: scaling Tomcat



hello,

My apologies if these are FAQs. I've searched for
them.

I'm working on a webapp.  My team wants to measure
performance/scale from the get-go.  The plan is to
start with Apache/Tomcat and measure, using commercial
products only when necessary.  An approximate goal is
500 users of the course of a day, with a response time
of 3-5 seconds.

Q1: Can someone point me to info on tweaking Apache
and Tomcat for performance/scale? I have James
Goodwill's Tomcat book and while it is good, it
doesn't address this issue.

Q2: Are there any rules of thumb for the high-end of
Tomcat's ability re: number of users?  I know this is
terribly vague.  FWIW, the webapp is a portal server
and not really dealing with EJB.  It queries some
remote databases via HTTP and other protocols.

Any advice/comments are greatly appreciated.

thanks,
Mike
[EMAIL PROTECTED]

--- [EMAIL PROTECTED] wrote:
> Hi! This is the ezmlm program. I'm managing the
> [EMAIL PROTECTED] mailing list.
> 
> I'm working for my owner, who can be reached
> at [EMAIL PROTECTED]
> 
> Acknowledgment: I have added the address
> 
>[EMAIL PROTECTED]
> 
> to the tomcat-user mailing list.
> 
> Welcome to [EMAIL PROTECTED]!
> 
> Please save this message so that you know the
> address you are
> subscribed under, in case you later want to
> unsubscribe or change your
> subscription address.
> 
> 
> --- Administrative commands for the tomcat-user list
> ---
> 
> I can handle administrative requests automatically.
> Please
> do not send them to the list address! Instead, send
> your message to the correct command address:
> 
> To subscribe to the list, send a message to:
><[EMAIL PROTECTED]>
> 
> To remove your address from the list, send a message
> to:
><[EMAIL PROTECTED]>
> 
> Send mail to the following for info and FAQ for this
> list:
><[EMAIL PROTECTED]>
><[EMAIL PROTECTED]>
> 
> Similar addresses exist for the digest list:
><[EMAIL PROTECTED]>
>   
> <[EMAIL PROTECTED]>
> 
> To get messages 123 through 145 (a maximum of 100
> per request), mail:
><[EMAIL PROTECTED]>
> 
> To get an index with subject and author for messages
> 123-456 , mail:
><[EMAIL PROTECTED]>
> 
> They are always returned as sets of 100, max 2000
> per request,
> so you'll actually get 100-499.
> 
> To receive all messages with the same subject as
> message 12345,
> send an empty message to:
><[EMAIL PROTECTED]>
> 
> The messages do not really need to be empty, but I
> will ignore
> their content. Only the ADDRESS you send to is
> important.
> 
> You can start a subscription for an alternate
> address,
> for example "[EMAIL PROTECTED]", just add a hyphen
> and your
> address (with '=' instead of '@') after the command
> word:
>
<[EMAIL PROTECTED]>
> 
> To stop subscription for this address, mail:
>
<[EMAIL PROTECTED]>
> 
> In both cases, I'll send a confirmation message to
> that address. When
> you receive it, simply reply to it to complete your
> subscription.
> 
> If despite following these instructions, you do not
> get the
> desired results, please contact my owner at
> [EMAIL PROTECTED] Please be
> patient, my owner is a
> lot slower than I am ;-)
> 
> --- Enclosed is a copy of the request I received.
> 
> Return-Path: <[EMAIL PROTECTED]>
> Received: (qmail 9764 invoked from network); 17 Apr
> 2002 00:44:44 -
> Received: from daedalus.apache.org (HELO apache.org)
> (63.251.56.142)
>   by nagoya.betaversion.org with SMTP; 17 Apr 2002
> 00:44:44 -
> Received: (qmail 47437 invoked by uid 500); 17 Apr
> 2002 00:44:35 -
> Delivered-To:
>
apmail-jakarta-tomcat-user-sc.1019004117.gmllnllhdmofiioijmdm-keyofdminor=ya
[EMAIL PROTECTED]
> Received: (qmail 47432 invoked from network); 17 Apr
> 2002 00:44:35 -
> Received: from web14701.mail.yahoo.com
> (216.136.224.118)
>   by daedalus.apache.org with SMTP; 17 Apr 2002
> 00:44:35 -
> Message-ID:
> <[EMAIL PROTECTED]>
> Received: from [63.208.45.233] by
> web14701.mail.yahoo.com via HTTP; Tue, 16 Apr 2002
> 17:44:43 PDT
> Date: Tue, 16 Apr 2002 17:44:43 -0700 (PDT)
> From: Saddest OfAllKeys <[EMAIL PROTECTED]>
> Subject: Re: confirm subscribe to
> [EMAIL PROTECTED]
> To:
>
tomcat-user-sc.1019004117.gmllnllhdmofiioijmdm-

Re: log4j Category Problems

2002-04-16 Thread D Henton

log4j output will default to console (catalina.out) if it can't find you
configuration file or the configuration file is not configured properly.

I have gotten it to work, so it is possible. Do you have a start up servlet
that makes the call to property.configurator?



- Original Message -
From: "Art Taylor" <[EMAIL PROTECTED]>
To: "tomcat-user" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 4:33 PM
Subject: log4j Category Problems



Using log4j for logging under Tomcat 4.0.2, the Category initialization does
not seem to work. I'm making an attempt to direct logging to my log
configuration file, but the output seems to be getting redirected to
catalina.out.

Any ideas on how to fix this?

   Thanks,

-- Art

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



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




Re: Apache serving static content

2002-04-16 Thread Ken Anderson

Works fine for me, and since the uri changes to /images/test.gif or 
whatever, mod_webapp ignores it, and the files can still live in the 
webapp directory, which is what you want right?
Maybe I misunderstood the problem?
Ken


James Williamson wrote:
> Hi Ken,
> 
> That won't work, mod_webapp only looks at the uri, the Alias directive
> modifies the filename
> (as do things like mod_rewrite) during the uri translation phase, obviously
> doing this has no effect.
> 
> Regards,
> 
> James Williamson
> www.nameonthe.net
> UK Tomcat Hosting
> 
> - Original Message -
> From: Ken Anderson <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Sent: Wednesday, April 17, 2002 12:35 AM
> Subject: Re: Apache serving static content
> 
> 
> 
>>As a workaround, you can use an apache alias directive.
>> Alias /images/ "$tomcat_home/webapps/webapp_name/images/"
>>
>>Ken
>>
>>
>>James Williamson wrote:
>>
>>>Ken,
>>>
>>>I've send the dev list a few e-mails about this (and other bugs I've
>>
> seen)
> 
>>>and
>>>I should really send this patch to them. However, I need to eradicate a
>>
> few
> 
>>>issues with it before I send it to them.
>>>
>>>Regards,
>>>
>>>James Williamson
>>>www.nameonthe.net
>>>UK Tomcat Hosting
>>>
>>>
>>>- Original Message -
>>>From: Ken Anderson <[EMAIL PROTECTED]>
>>>To: Tomcat Users List <[EMAIL PROTECTED]>
>>>Sent: Tuesday, April 16, 2002 9:25 PM
>>>Subject: Re: Apache serving static content
>>>
>>>
>>>
>>>
What is the advantage of deploying all resources of a webapp inside the
webapp directory? If there is a need for a webappIgnore feature, perhaps
this question should be brought to the the dev list?
Ken


Brandon Cruz wrote:


>I have the same issue with mod_jk.  We deploy all of our web

> application
> 
>within tomcat_home/webapps.  If a webapp is called myWebapp, then a

>>>request
>>>
>>>
>to /myWebapp/image.gif will be processed by Tomcat due to the fact that

>>>it
>>>
>>>
>matches the /myWebapp/* declaration.  Is there a way to keep images

> from
> 
>being processed by Tomcat if they are inside a webapp?  Something like

>>>the
>>>
>>>
>patch that James mentions below would be exactly what I am looking for.
>
>Configuration is Apache/Tomcat 3.2.4 using several different Webapps.
>
>
>Brandon
>
>P.S.  If anyone has problems with tomcat serving images very slowly,

> the
> 
>JkLogLevel should be set to "error" instead of "warn" inside of

>>>httpd.conf.
>>>
>>>
>This is not really documented anywhere for tomcat 3.2.4, but results in

>>>HUGE
>>>
>>>
>improvements in speed if you are serving an image-heavy page in a

>>>webapp.
>>>
>>>
>-Original Message-
>From: James Williamson [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, April 16, 2002 11:19 AM
>To: Tomcat Users List
>Subject: Re: Apache serving static content
>
>
>Gabriel,
>
>I wrote a quick patch a while ago for mod_webapp that lets you
>specify patterns to ignore (i.e. the request never sees Tomcat).
>So apply the patch and recompile, and  in your httpd.conf file use
>WebAppIgnore directives to tell mod_webapp which patterns to ignore.
>
>i.e.
>WebAppIgnore *.html
>WebAppIgnore /cgi-bin/*
>
>I haven't thoroughly tested it so would be pleased to know
>how you get on. Please find the patch attached. I would submit
>to the developers except I need to fix a few problems with it
>(You must put the WebAppIgnore's after you've declared your

>>>application).
>>>
>>>
>Regards,
>
>James Williamson
>
>www.nameonthe.net
>UK Tomcat Hosting
>
>- Original Message -
>From: Gabriel Maffia <[EMAIL PROTECTED]>
>To: Tomcat Users List Service <[EMAIL PROTECTED]>
>Sent: Tuesday, March 19, 2002 5:07 PM
>Subject: Apache serving static content
>
>
>Hello Again:
>
>I know I can be kinda annoying, but I really need to know if someone

>>>could
>>>
>>>
>make mod_webapp + warp configuration to serve only dynamic content, and
>apache serve only the static content.
>If not, does anyone know where can I find a reference for mod_webapp?
>Because it seems like there is no detailed documentation on how to use

>>>it.
>>>
>>>
>Thanks a LOT!
>
>
>Gabriel Maffia
>
>
>
>
>--
>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: 

scaling Tomcat

2002-04-16 Thread Saddest OfAllKeys


hello,

My apologies if these are FAQs. I've searched for
them.

I'm working on a webapp.  My team wants to measure
performance/scale from the get-go.  The plan is to
start with Apache/Tomcat and measure, using commercial
products only when necessary.  An approximate goal is
500 users of the course of a day, with a response time
of 3-5 seconds.

Q1: Can someone point me to info on tweaking Apache
and Tomcat for performance/scale? I have James
Goodwill's Tomcat book and while it is good, it
doesn't address this issue.

Q2: Are there any rules of thumb for the high-end of
Tomcat's ability re: number of users?  I know this is
terribly vague.  FWIW, the webapp is a portal server
and not really dealing with EJB.  It queries some
remote databases via HTTP and other protocols.

Any advice/comments are greatly appreciated.

thanks,
Mike
[EMAIL PROTECTED]

--- [EMAIL PROTECTED] wrote:
> Hi! This is the ezmlm program. I'm managing the
> [EMAIL PROTECTED] mailing list.
> 
> I'm working for my owner, who can be reached
> at [EMAIL PROTECTED]
> 
> Acknowledgment: I have added the address
> 
>[EMAIL PROTECTED]
> 
> to the tomcat-user mailing list.
> 
> Welcome to [EMAIL PROTECTED]!
> 
> Please save this message so that you know the
> address you are
> subscribed under, in case you later want to
> unsubscribe or change your
> subscription address.
> 
> 
> --- Administrative commands for the tomcat-user list
> ---
> 
> I can handle administrative requests automatically.
> Please
> do not send them to the list address! Instead, send
> your message to the correct command address:
> 
> To subscribe to the list, send a message to:
><[EMAIL PROTECTED]>
> 
> To remove your address from the list, send a message
> to:
><[EMAIL PROTECTED]>
> 
> Send mail to the following for info and FAQ for this
> list:
><[EMAIL PROTECTED]>
><[EMAIL PROTECTED]>
> 
> Similar addresses exist for the digest list:
><[EMAIL PROTECTED]>
>   
> <[EMAIL PROTECTED]>
> 
> To get messages 123 through 145 (a maximum of 100
> per request), mail:
><[EMAIL PROTECTED]>
> 
> To get an index with subject and author for messages
> 123-456 , mail:
><[EMAIL PROTECTED]>
> 
> They are always returned as sets of 100, max 2000
> per request,
> so you'll actually get 100-499.
> 
> To receive all messages with the same subject as
> message 12345,
> send an empty message to:
><[EMAIL PROTECTED]>
> 
> The messages do not really need to be empty, but I
> will ignore
> their content. Only the ADDRESS you send to is
> important.
> 
> You can start a subscription for an alternate
> address,
> for example "[EMAIL PROTECTED]", just add a hyphen
> and your
> address (with '=' instead of '@') after the command
> word:
>
<[EMAIL PROTECTED]>
> 
> To stop subscription for this address, mail:
>
<[EMAIL PROTECTED]>
> 
> In both cases, I'll send a confirmation message to
> that address. When
> you receive it, simply reply to it to complete your
> subscription.
> 
> If despite following these instructions, you do not
> get the
> desired results, please contact my owner at
> [EMAIL PROTECTED] Please be
> patient, my owner is a
> lot slower than I am ;-)
> 
> --- Enclosed is a copy of the request I received.
> 
> Return-Path: <[EMAIL PROTECTED]>
> Received: (qmail 9764 invoked from network); 17 Apr
> 2002 00:44:44 -
> Received: from daedalus.apache.org (HELO apache.org)
> (63.251.56.142)
>   by nagoya.betaversion.org with SMTP; 17 Apr 2002
> 00:44:44 -
> Received: (qmail 47437 invoked by uid 500); 17 Apr
> 2002 00:44:35 -
> Delivered-To:
>
[EMAIL PROTECTED]
> Received: (qmail 47432 invoked from network); 17 Apr
> 2002 00:44:35 -
> Received: from web14701.mail.yahoo.com
> (216.136.224.118)
>   by daedalus.apache.org with SMTP; 17 Apr 2002
> 00:44:35 -
> Message-ID:
> <[EMAIL PROTECTED]>
> Received: from [63.208.45.233] by
> web14701.mail.yahoo.com via HTTP; Tue, 16 Apr 2002
> 17:44:43 PDT
> Date: Tue, 16 Apr 2002 17:44:43 -0700 (PDT)
> From: Saddest OfAllKeys <[EMAIL PROTECTED]>
> Subject: Re: confirm subscribe to
> [EMAIL PROTECTED]
> To:
>
[EMAIL PROTECTED]
> In-Reply-To:
> <[EMAIL PROTECTED]>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
> 
> 
> --- [EMAIL PROTECTED] wrote:
> > Hi! This is the ezmlm program. I'm managing the
> > [EMAIL PROTECTED] mailing list.
> > 
> > I'm working for my owner, who can be reached
> > at [EMAIL PROTECTED]
> > 
> > To confirm that you would like
> > 
> >[EMAIL PROTECTED]
> > 
> > added to the tomcat-user mailing list, please send
> > an empty reply to this address:
> > 
> >   
> >
>
[EMAIL PROTECTED]
> > 
> > Usually, this happens when you just hit the
> "reply"
> > button.
> > If this does not work, simply copy the address and
> > paste it into
> > the "To:" field of a new message.
> > 
> > or click here:
> > 
> >
>
mailto:[EMAIL PROTECTED]
> > 
> > This confirmation serves two purposes. First, it
> > verifies that I am able
>

How to use embedded tomcat

2002-04-16 Thread Subir Sengupta

Check out this link at OReilly

http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html

Subir




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




Using log4j with Tomcat 4.0.2

2002-04-16 Thread Art Taylor



Using log4j for logging under Tomcat 4.0.2, the Category initialization does 
not seem to work. I'm making an attempt to direct logging to my log 
configuration file, but the output seems to be getting redirected to 
catalina.out.

Any ideas on how to fix this?

   Thanks,

            -- Art 

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




RE: Tomcat 4.0.3 + Apache 2.0.32

2002-04-16 Thread Brett Porter

I had issues compiling it dynamically on Cygwin, so I'd suggest going for
the static compilation into Apache which seems to work, although I then get
that jakarta-servlet error someone else mentioned.

- Brett

-Original Message-
From: Donald Lee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 17 April 2002 10:22 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.0.3 + Apache 2.0.32


I thank you very much Pascal for the write-up it allowed me to get my mod_jk
configured a few months ago.  AFAIK, jk for Apache 2 is still not available.


-Original Message-
From: Pascal Forget [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 11:30 AM
To: Tomcat Users List
Subject: Re: Tomcat 4.0.3 + Apache 2.0.32


Bhide, Atul wrote:

>
>The problem is solved. I compiled the latest version 4.0.4.b1 version of
the
>tomcat-connectors and it works now.
>
You did succeed, that's fantastic!

My name is Pascal Forget and I wrote a little howto on how to setup
Apache 1.3.23 + mod_jk + tomcat + load balancer a while ago.
www.ubeans.com/tomcat

I want to update my howto for Apache 2.0, and the only thing I could
not get to work is the compilation step for mod_jk.

Would you please be kind enough to either provide me with a detailed
explanation on
how to compile mod_jk, or provide binaries?  I tried to compile mod_jk
for several
hours yesterday on a Red Hat Linux 7.2 i686 box with the latest patches
and I always
got error messages about dl_open() and other missing functions.

Ideally, I would like to produce binaries of mod_jk for Linux, FreeBSD,
Solaris, Windows
and a few other platforms and offer links to these on my web page.

Any help would be greatly appreciated!

Thanks,

Pascal



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


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



RE: Tomcat 4.0.3 + Apache 2.0.32

2002-04-16 Thread Donald Lee

I thank you very much Pascal for the write-up it allowed me to get my mod_jk
configured a few months ago.  AFAIK, jk for Apache 2 is still not available.


-Original Message-
From: Pascal Forget [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 11:30 AM
To: Tomcat Users List
Subject: Re: Tomcat 4.0.3 + Apache 2.0.32


Bhide, Atul wrote:

>
>The problem is solved. I compiled the latest version 4.0.4.b1 version of
the
>tomcat-connectors and it works now.
>
You did succeed, that's fantastic!

My name is Pascal Forget and I wrote a little howto on how to setup
Apache 1.3.23 + mod_jk + tomcat + load balancer a while ago.
www.ubeans.com/tomcat

I want to update my howto for Apache 2.0, and the only thing I could
not get to work is the compilation step for mod_jk.

Would you please be kind enough to either provide me with a detailed
explanation on
how to compile mod_jk, or provide binaries?  I tried to compile mod_jk
for several
hours yesterday on a Red Hat Linux 7.2 i686 box with the latest patches
and I always
got error messages about dl_open() and other missing functions.

Ideally, I would like to produce binaries of mod_jk for Linux, FreeBSD,
Solaris, Windows
and a few other platforms and offer links to these on my web page.

Any help would be greatly appreciated!

Thanks,

Pascal



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


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




Re: Apache serving static content

2002-04-16 Thread James Williamson

Hi Ken,

That won't work, mod_webapp only looks at the uri, the Alias directive
modifies the filename
(as do things like mod_rewrite) during the uri translation phase, obviously
doing this has no effect.

Regards,

James Williamson
www.nameonthe.net
UK Tomcat Hosting

- Original Message -
From: Ken Anderson <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Sent: Wednesday, April 17, 2002 12:35 AM
Subject: Re: Apache serving static content


> As a workaround, you can use an apache alias directive.
>  Alias /images/ "$tomcat_home/webapps/webapp_name/images/"
>
> Ken
>
>
> James Williamson wrote:
> > Ken,
> >
> > I've send the dev list a few e-mails about this (and other bugs I've
seen)
> > and
> > I should really send this patch to them. However, I need to eradicate a
few
> > issues with it before I send it to them.
> >
> > Regards,
> >
> > James Williamson
> > www.nameonthe.net
> > UK Tomcat Hosting
> >
> >
> > - Original Message -
> > From: Ken Anderson <[EMAIL PROTECTED]>
> > To: Tomcat Users List <[EMAIL PROTECTED]>
> > Sent: Tuesday, April 16, 2002 9:25 PM
> > Subject: Re: Apache serving static content
> >
> >
> >
> >>What is the advantage of deploying all resources of a webapp inside the
> >>webapp directory? If there is a need for a webappIgnore feature, perhaps
> >>this question should be brought to the the dev list?
> >>Ken
> >>
> >>
> >>Brandon Cruz wrote:
> >>
> >>>I have the same issue with mod_jk.  We deploy all of our web
application
> >>>within tomcat_home/webapps.  If a webapp is called myWebapp, then a
> >>
> > request
> >
> >>>to /myWebapp/image.gif will be processed by Tomcat due to the fact that
> >>
> > it
> >
> >>>matches the /myWebapp/* declaration.  Is there a way to keep images
from
> >>>being processed by Tomcat if they are inside a webapp?  Something like
> >>
> > the
> >
> >>>patch that James mentions below would be exactly what I am looking for.
> >>>
> >>>Configuration is Apache/Tomcat 3.2.4 using several different Webapps.
> >>>
> >>>
> >>>Brandon
> >>>
> >>>P.S.  If anyone has problems with tomcat serving images very slowly,
the
> >>>JkLogLevel should be set to "error" instead of "warn" inside of
> >>
> > httpd.conf.
> >
> >>>This is not really documented anywhere for tomcat 3.2.4, but results in
> >>
> > HUGE
> >
> >>>improvements in speed if you are serving an image-heavy page in a
> >>
> > webapp.
> >
> >>>-Original Message-
> >>>From: James Williamson [mailto:[EMAIL PROTECTED]]
> >>>Sent: Tuesday, April 16, 2002 11:19 AM
> >>>To: Tomcat Users List
> >>>Subject: Re: Apache serving static content
> >>>
> >>>
> >>>Gabriel,
> >>>
> >>>I wrote a quick patch a while ago for mod_webapp that lets you
> >>>specify patterns to ignore (i.e. the request never sees Tomcat).
> >>> So apply the patch and recompile, and  in your httpd.conf file use
> >>>WebAppIgnore directives to tell mod_webapp which patterns to ignore.
> >>>
> >>>i.e.
> >>>WebAppIgnore *.html
> >>>WebAppIgnore /cgi-bin/*
> >>>
> >>>I haven't thoroughly tested it so would be pleased to know
> >>>how you get on. Please find the patch attached. I would submit
> >>>to the developers except I need to fix a few problems with it
> >>>(You must put the WebAppIgnore's after you've declared your
> >>
> > application).
> >
> >>>Regards,
> >>>
> >>>James Williamson
> >>>
> >>>www.nameonthe.net
> >>>UK Tomcat Hosting
> >>>
> >>>- Original Message -
> >>>From: Gabriel Maffia <[EMAIL PROTECTED]>
> >>>To: Tomcat Users List Service <[EMAIL PROTECTED]>
> >>>Sent: Tuesday, March 19, 2002 5:07 PM
> >>>Subject: Apache serving static content
> >>>
> >>>
> >>>Hello Again:
> >>>
> >>>I know I can be kinda annoying, but I really need to know if someone
> >>
> > could
> >
> >>>make mod_webapp + warp configuration to serve only dynamic content, and
> >>>apache serve only the static content.
> >>> If not, does anyone know where can I find a reference for mod_webapp?
> >>>Because it seems like there is no detailed documentation on how to use
> >>
> > it.
> >
> >>>
> >>>Thanks a LOT!
> >>>
> >>>
> >>>Gabriel Maffia
> >>>
> >>>
> >>>
> >>>
> >>>--
> >>>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: 
> >
> >
> >
>
>
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>


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

Tomcat 3.3.1 & MySQL

2002-04-16 Thread Joseph E. Savard

I would like TOMCAT to server op the connections to MYSQL..

Can someone please send me the appropriate server.xml configuration and misc tidbits 
that can get me started!!

Thank you,
joseph



Hot Code Swapping with tomcat 4.0.3

2002-04-16 Thread Steve Vanspall

Hi there

I am using Tomcat 4.0.3 with sun jdk1.4, both which are supposed to allow
hot swapping of code. Unfortunately it seems that when debugging the code
swapping doesn't work. Is there an additional switch I should be using with
the JVM

When I used tomcat 3.3 the session would restart, but atleast it would let
me change the code. With Tomcat 4.0.3 neither happens.

Also the shutdown.bat file doesn't seem to shutdown Tomcat at all.

Any suggestions

Regards

Steve Vanspall


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




RE: port 8080

2002-04-16 Thread Steve Vanspall

I had the same problem, check the services under control panel, you will
most probably have something else using that port.

I personally had IBM HTTP server using it. But it may be a database service,
if you have one running.

If you know what it is, and it is not essential to run, you can stop the
process.

otherwise you can change the port Tomcat uses.

the settings can be found in the server.xml file.

just search for 8080 and change the port. You may have to do a bit of trial
and error to get a free port, I used 9090 when I was testing different
version of Tomcat.


-Original Message-
From: Marquez, Maceo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 17 April 2002 4:58 AM
To: '[EMAIL PROTECTED]'
Subject: port 8080


I am brand new to the Tomcat communicty and recently installed Tomcat
successfully on my win2000 pc.  However, when I restart the pc, Tomcat is no
longer able to start, and gives the error listed below.
-I restarted the computer, nothing
-I reset the %CATALINA_HOME%/conf/server.xml connector port to 1977, as
suggested in 'troubleshooting' like so:



Still, the error:

Catalina.start: LifecycleException:  Error creating server socket
(java.net.Bind
Exception):  java.net.BindException: Address in use: JVM_Bind
LifecycleException:  Error creating server socket (java.net.BindException):
jav
a.net.BindException: Address in use: JVM_Bind
at
org.apache.catalina.connector.warp.WarpConnector.initialize(WarpConne
ctor.java:491)
at
org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:454)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
- Root Cause -
java.net.BindException: Address in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:452)
at java.net.ServerSocket.(ServerSocket.java:170)
at java.net.ServerSocket.(ServerSocket.java:121)
at
org.apache.catalina.net.DefaultServerSocketFactory.createSocket(Defau
ltServerSocketFactory.java:118)
at
org.apache.catalina.connector.warp.WarpConnector.initialize(WarpConne
ctor.java:485)
at
org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:454)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)




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


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




Re: Apache serving static content

2002-04-16 Thread Ken Anderson

As a workaround, you can use an apache alias directive.
 Alias /images/ "$tomcat_home/webapps/webapp_name/images/"

Ken


James Williamson wrote:
> Ken,
> 
> I've send the dev list a few e-mails about this (and other bugs I've seen)
> and
> I should really send this patch to them. However, I need to eradicate a few
> issues with it before I send it to them.
> 
> Regards,
> 
> James Williamson
> www.nameonthe.net
> UK Tomcat Hosting
> 
> 
> - Original Message -
> From: Ken Anderson <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Sent: Tuesday, April 16, 2002 9:25 PM
> Subject: Re: Apache serving static content
> 
> 
> 
>>What is the advantage of deploying all resources of a webapp inside the
>>webapp directory? If there is a need for a webappIgnore feature, perhaps
>>this question should be brought to the the dev list?
>>Ken
>>
>>
>>Brandon Cruz wrote:
>>
>>>I have the same issue with mod_jk.  We deploy all of our web application
>>>within tomcat_home/webapps.  If a webapp is called myWebapp, then a
>>
> request
> 
>>>to /myWebapp/image.gif will be processed by Tomcat due to the fact that
>>
> it
> 
>>>matches the /myWebapp/* declaration.  Is there a way to keep images from
>>>being processed by Tomcat if they are inside a webapp?  Something like
>>
> the
> 
>>>patch that James mentions below would be exactly what I am looking for.
>>>
>>>Configuration is Apache/Tomcat 3.2.4 using several different Webapps.
>>>
>>>
>>>Brandon
>>>
>>>P.S.  If anyone has problems with tomcat serving images very slowly, the
>>>JkLogLevel should be set to "error" instead of "warn" inside of
>>
> httpd.conf.
> 
>>>This is not really documented anywhere for tomcat 3.2.4, but results in
>>
> HUGE
> 
>>>improvements in speed if you are serving an image-heavy page in a
>>
> webapp.
> 
>>>-Original Message-
>>>From: James Williamson [mailto:[EMAIL PROTECTED]]
>>>Sent: Tuesday, April 16, 2002 11:19 AM
>>>To: Tomcat Users List
>>>Subject: Re: Apache serving static content
>>>
>>>
>>>Gabriel,
>>>
>>>I wrote a quick patch a while ago for mod_webapp that lets you
>>>specify patterns to ignore (i.e. the request never sees Tomcat).
>>> So apply the patch and recompile, and  in your httpd.conf file use
>>>WebAppIgnore directives to tell mod_webapp which patterns to ignore.
>>>
>>>i.e.
>>>WebAppIgnore *.html
>>>WebAppIgnore /cgi-bin/*
>>>
>>>I haven't thoroughly tested it so would be pleased to know
>>>how you get on. Please find the patch attached. I would submit
>>>to the developers except I need to fix a few problems with it
>>>(You must put the WebAppIgnore's after you've declared your
>>
> application).
> 
>>>Regards,
>>>
>>>James Williamson
>>>
>>>www.nameonthe.net
>>>UK Tomcat Hosting
>>>
>>>- Original Message -
>>>From: Gabriel Maffia <[EMAIL PROTECTED]>
>>>To: Tomcat Users List Service <[EMAIL PROTECTED]>
>>>Sent: Tuesday, March 19, 2002 5:07 PM
>>>Subject: Apache serving static content
>>>
>>>
>>>Hello Again:
>>>
>>>I know I can be kinda annoying, but I really need to know if someone
>>
> could
> 
>>>make mod_webapp + warp configuration to serve only dynamic content, and
>>>apache serve only the static content.
>>> If not, does anyone know where can I find a reference for mod_webapp?
>>>Because it seems like there is no detailed documentation on how to use
>>
> it.
> 
>>>
>>>Thanks a LOT!
>>>
>>>
>>>Gabriel Maffia
>>>
>>>
>>>
>>>
>>>--
>>>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: 
> 
> 
> 



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




Re: in web.xml

2002-04-16 Thread Craig R. McClanahan



On Tue, 16 Apr 2002, Dan K. wrote:

> Date: Tue, 16 Apr 2002 17:11:04 -0400 (EDT)
> From: Dan K. <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject:  in web.xml
>
>
> Hi,
>
> Does anyone on the list know where the  element is verified
> in the tomcat 4.0.x source?  For example I have the following web.xml
> snippet:
>
> 
> 
> Protected Web Application
> /servlet/*
> 
>
> 
> user_role
> 
> 
>
> The above protects the url /servlet/* works but but I would
> like to change it so that it will also work for
> /servlet/protected* which doesn't seem to work.  Anyone got
> ideas?  Is there anything security problem in allowing this?
>

The valid URL patterns for security constraints are the same as those for
servlet mappings, and are defined in the Servlet Specification
.  You could certainly
change this in your own copy of Tomcat, but your applications would not be
portable to any other container (and possibly not even to a future
version of Tomcat if the mechanism happened to change).  You'd be far
better off architecting the URLs of your application so that they fit the
standards.

> Thanks in advance.
>
> Regards,
> Dan
>

Craig


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




Re: Tomcat 4.0.3 hangs when removing web application.

2002-04-16 Thread Craig R. McClanahan



On Mon, 15 Apr 2002, Daniel Aborg wrote:

> Date: Mon, 15 Apr 2002 14:07:40 +0100
> From: Daniel Aborg <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: Tomcat 4.0.3 hangs when removing web application.
>
> Craig R. McClanahan wrote:
> >>Here is a simple example which reproduces this behaviour:
> [snip]
>  >>In my eyes, this should work without any problems. (It does work just
>  >>fine in Tomcat 3.2.2.)
>
> > No, this should not work -- and Tomcat 3.2 was broken in allowing it.
> >
> > Per the servlet spec, the container is not allowed to call destroy() if
> > any requests are currently active.
>
> Doh.  That explains it.  Alright.
>
> So, what choices are you left with if you want to do something like
> this?  Adding a shutdown hook to the servlet container which asks the
> servlet to release its connections?
>
> Thanks for your help!
>

Such a hook was indeed added in Servlet 2.3 (and is therefore supported by
Tomcat 4).  Check out the contextDestroyed() method of the
ServletContextListener interface, which you can use to clean up resources
as an application is being shut down.

> /D
>
> --
> Daniel Aborg - Developer

Craig


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




Re: Apache serving static content

2002-04-16 Thread James Williamson

Ken,

I've send the dev list a few e-mails about this (and other bugs I've seen)
and
I should really send this patch to them. However, I need to eradicate a few
issues with it before I send it to them.

Regards,

James Williamson
www.nameonthe.net
UK Tomcat Hosting


- Original Message -
From: Ken Anderson <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 9:25 PM
Subject: Re: Apache serving static content


> What is the advantage of deploying all resources of a webapp inside the
> webapp directory? If there is a need for a webappIgnore feature, perhaps
> this question should be brought to the the dev list?
> Ken
>
>
> Brandon Cruz wrote:
> > I have the same issue with mod_jk.  We deploy all of our web application
> > within tomcat_home/webapps.  If a webapp is called myWebapp, then a
request
> > to /myWebapp/image.gif will be processed by Tomcat due to the fact that
it
> > matches the /myWebapp/* declaration.  Is there a way to keep images from
> > being processed by Tomcat if they are inside a webapp?  Something like
the
> > patch that James mentions below would be exactly what I am looking for.
> >
> > Configuration is Apache/Tomcat 3.2.4 using several different Webapps.
> >
> >
> > Brandon
> >
> > P.S.  If anyone has problems with tomcat serving images very slowly, the
> > JkLogLevel should be set to "error" instead of "warn" inside of
httpd.conf.
> > This is not really documented anywhere for tomcat 3.2.4, but results in
HUGE
> > improvements in speed if you are serving an image-heavy page in a
webapp.
> >
> > -Original Message-
> > From: James Williamson [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 16, 2002 11:19 AM
> > To: Tomcat Users List
> > Subject: Re: Apache serving static content
> >
> >
> > Gabriel,
> >
> > I wrote a quick patch a while ago for mod_webapp that lets you
> > specify patterns to ignore (i.e. the request never sees Tomcat).
> >  So apply the patch and recompile, and  in your httpd.conf file use
> > WebAppIgnore directives to tell mod_webapp which patterns to ignore.
> >
> > i.e.
> > WebAppIgnore *.html
> > WebAppIgnore /cgi-bin/*
> >
> > I haven't thoroughly tested it so would be pleased to know
> > how you get on. Please find the patch attached. I would submit
> > to the developers except I need to fix a few problems with it
> > (You must put the WebAppIgnore's after you've declared your
application).
> >
> > Regards,
> >
> > James Williamson
> >
> > www.nameonthe.net
> > UK Tomcat Hosting
> >
> > - Original Message -
> > From: Gabriel Maffia <[EMAIL PROTECTED]>
> > To: Tomcat Users List Service <[EMAIL PROTECTED]>
> > Sent: Tuesday, March 19, 2002 5:07 PM
> > Subject: Apache serving static content
> >
> >
> > Hello Again:
> >
> > I know I can be kinda annoying, but I really need to know if someone
could
> > make mod_webapp + warp configuration to serve only dynamic content, and
> > apache serve only the static content.
> >  If not, does anyone know where can I find a reference for mod_webapp?
> > Because it seems like there is no detailed documentation on how to use
it.
> >
> >
> > Thanks a LOT!
> >
> >
> > Gabriel Maffia
> >
> >
> >
> >
> > --
> > 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: 




log4j Category Problems

2002-04-16 Thread Art Taylor


Using log4j for logging under Tomcat 4.0.2, the Category initialization does 
not seem to work. I'm making an attempt to direct logging to my log 
configuration file, but the output seems to be getting redirected to 
catalina.out.

Any ideas on how to fix this?

   Thanks,

-- Art 

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




in web.xml

2002-04-16 Thread Dan K.


Hi,

Does anyone on the list know where the  element is verified
in the tomcat 4.0.x source?  For example I have the following web.xml
snippet:



Protected Web Application
/servlet/*



user_role



The above protects the url /servlet/* works but but I would
like to change it so that it will also work for
/servlet/protected* which doesn't seem to work.  Anyone got
ideas?  Is there anything security problem in allowing this?

Thanks in advance.

Regards,
Dan


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




RE: Exception when executing JSP

2002-04-16 Thread Darsey, Charlie


That is a true statement.  I should never assume the correct stuff is
installed.
Thank you, I installed the SDK and that fixed it.

Charlie

> -Original Message-
> From: Ken Anderson [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 1:04 PM
> To:   Tomcat Users List
> Subject:  Re: Exception when executing  JSP
> 
> You need jsdk. jre will not compile anything.
> Ken
> 
> 
> Darsey, Charlie wrote:
> > I cannot get any jsp pages to execute on my Sun server. SunOS 5.8, jre
> > 1.3.1.
> > I've tried both  jakarta-tomcat-3.2.2 and jakarta-tomcat-4.0.3 and
> > I keep ketting the mesage below: What's the scoop? It works fine on my
> win2k
> > box.
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 

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




Re: Installation Issue

2002-04-16 Thread Philip I Juels

I installed java1.3 and tomcat works...

Thanks,

Philip Juels

Ricky Leung wrote:

> check your logs under $CATALINA_HOME/logs and what errors you get there?  I
> think the requirement for Tomcat4 is java1.3 also.
> 
> 
> -Original Message-
> From: Philip I Juels [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 3:51 PM
> To: [EMAIL PROTECTED]
> Subject: Installation Issue
> 
> 
> Hi,
> 
>   I'm having trouble getting tomcat to work on my system.  System info as
>   follows:
> 
>   1)  Sun Solaris 8 on a Sun Fire V880 (sparc)
>   2)  apache-1.3.12 (part of Solaris default installation)
>   3)  jakarta-tomcat-4.0-200020415 build installed in
>   /usr/local/jakarta-tomcat-4.0
> 
>   I have $CATALINA_HOME=/usr/local/jakarta-tomcat-4.0
>   and $JAVA_HOME=/usr/java...which is a link to /usr/java1.2 (again part
>   of Solaris 8 installation).
> 
>   When I run bin/statup.sh, I get...
> 
>   Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0
>   Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.0
>   Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0/temp
>   Using JAVA_HOME:   /usr/java
> 
>   But, when I go to http://localhost:8080 or
>   http://localhost:8080/index.jsp, I get a "Unable to locate" error from
>   Netscape.
> 
>   When I execute bin/shutdown.sh, I get a rather long message...
> 
>   Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0
>   Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.0
>   Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0/temp
>   Using JAVA_HOME:   /usr/java
>   java.lang.NoClassDefFoundError: javax/naming/NamingException
>   at org.apache.catalina.core.StandardServer.(Unknown Source)
>   at java.lang.Class.newInstance0(Native Method)
>   at java.lang.Class.newInstance0(Compiled Code)
>   at java.lang.Class.newInstance(Compiled Code)
>   at
> 
> org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:253
> )
>   at org.apache.commons.digester.Digester.startElement(Compiled Code)
>   at org.apache.xerces.parsers.SAXParser.startElement(Compiled Code)
>   at
>   org.apache.xerces.validators.common.XMLValidator.callStartElement(Compiled
>   Code)
>   at
>   org.apache.xerces.framework.XMLDocumentScanner.scanElement(Compiled Code)
>   at
> 
> org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(Co
> mp
>   iled
>   Code)
>   at
>   org.apache.xerces.framework.XMLDocumentScanner.parseSome(Compiled Code)
>   at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
>   at org.apache.commons.digester.Digester.parse(Digester.java:1263)
>   at org.apache.catalina.startup.Catalina.stop(Compiled Code)
>   at org.apache.catalina.startup.Catalina.execute(Unknown Source)
>   at org.apache.catalina.startup.Catalina.process(Unknown Source)
>   at java.lang.reflect.Method.invoke(Native Method)
>   at java.lang.reflect.Method.invoke(Compiled Code)
>   at org.apache.catalina.startup.Bootstrap.main(Compiled Code)
>   [ERROR] Digester - -Begin event threw error
>   
>   Exception during startup processing
>   java.lang.reflect.InvocationTargetException:
>   java.lang.NoClassDefFoundError: javax/naming/NamingException
>   at org.apache.catalina.core.StandardServer.(Unknown Source)
>   at java.lang.Class.newInstance0(Native Method)
>   at java.lang.Class.newInstance0(Compiled Code)
>   at java.lang.Class.newInstance(Compiled Code)
>   at
> 
> org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:253
> )
>   at org.apache.commons.digester.Digester.startElement(Compiled Code)
>   at org.apache.xerces.parsers.SAXParser.startElement(Compiled Code)
>   at
>   org.apache.xerces.validators.common.XMLValidator.callStartElement(Compiled
>   Code)
>   at
>   org.apache.xerces.framework.XMLDocumentScanner.scanElement(Compiled Code)
>   at
> 
> org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(Co
> mp
>   iled
>   Code)
>   at
>   org.apache.xerces.framework.XMLDocumentScanner.parseSome(Compiled Code)
>   at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
>   at org.apache.commons.digester.Digester.parse(Digester.java:1263)
>   at org.apache.catalina.startup.Catalina.stop(Compiled Code)
>   at org.apache.catalina.startup.Catalina.execute(Unknown Source)
>   at org.apache.catalina.startup.Catalina.process(Unknown Source)
>   at java.lang.reflect.Method.invoke(Native Method)
>   at java.lang.reflect.Method.invoke(Compiled Code)
>   at org.apache.catalina.startup.Bootstrap.main(Compiled Code)
> 
> 
>   I did a similar installation on a linux box and had no problems.
> 
>   Any help?
> 
>   Thanks,
> 
>   Philip Juels
>   [EMAIL PROTECTED]
> 
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 

Re: Question about "Tomcat-Apache HOWTO"

2002-04-16 Thread rob

Yeah, I recall this with 3.3 in some backwoods piece of documentation it 
says that you have to start tomcat with startup.sh  to 
generate the .conf file.  (maybe ajpconf) or ajpid or something can't 
remember.  Anyway the generated file only ever contained something 
similar to the following.

# start mod_jk.conf


   LoadModule jk_module libexec/mod_jk.so


JkWorkersFile "/usr/local/jakarta-tomcat/conf/workers.properties"
JkLogFile "/usr/local/jakarta-tomcat/logs/mod_jk.log"

JkLogLevel emerg

JkMount /examples/* ajp13

#end mod_jk.conf

Obviously you'll have to adjust paths according to where your 
${tomcat.home} and ${apache.home}/libexec are.

The workers.properties can be stolen out of one of the tomcat 3.3 binary 
packages and munged to work also.

Lastly, the conf works with tomcat 3.3.x and I've also been using it 
with 4.0.3.  If anyone has improvements don't be shy.

Rob

Cheng Yan wrote:
> According to an article "Tomcat-Apache HOWTO" on
> http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-apache-howto.html :
> 
> QUOT.
> ==
> When Tomcat starts up it will automatically generate a configuration file
> for Apache in TOMCAT_HOME/conf/jserv/tomcat-apache.conf. Most of the time
> you don't need to do anything but include this file (appending "Include
> TOMCAT_HOME/conf/jserv/tomcat-apache.conf") in your httpd.conf.
> 
> UNQUOT.
> 
> However, when I start tomcat on my machine, everything seems fine except
> that I do not see file "tomcat-apache.conf". I assume that TOMCAT_HOME is
> the same as CATALINA_HOME, right? I don't even see a subdir call jserv. Is
> this normal?
> 
> BYW, my machine is ultra-sparc 1 running Solaris 8. I can visit
> http://localhost:8080, though. And there are only following files under my
> $CATALINA_HOME/conf:
> 
> % cd $CATALINA_HOME/conf
> % ls
> catalina.policy
> server.xml
> tomcat-users.xml
> web.xml
> 
> Could someone explain it to me? Thanks.
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 
> 




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




java.library.path and database connection

2002-04-16 Thread fabio

Hello,

I have a problem and I'm having a hard time to figure out what is going on.

Scenario: New machine. Solaris 2.8, all patches. J2SDK 1.4.0. Tomcat
4.0.3-LE-jdk1.4. DB2 7.1 (local, not db2client, but I think that it's not the
problem; I can connect via Java applications).

I have several servlets on tomcat/webapps/some-dir/WEB-INF/classes. The DB2
driver (db2java.jar) is on tomcat/classes/lib. When I try to execute anything
(that connects to the database), I get the message:

java.sql.SQLException: java.lang.UnsatisfiedLinkError: no db2jdbc in
java.library.path

Search on ibm.com. The needed .so is on /opt/IBMdb2/V7.1/java12. Tried to
add to setclasspath.sh

JAVA_OPTS="-Djava.library.path=/opt/IBMdb2/V7.1/java12"

Same error. Created a servlet to show Java System.properties, and
java.library.path is there, with the correct value.

Search in Google brought several pages with same instruction: "define
LD_LIBRARY_PATH or LIBPATH that points to the directory". No luck (does Tomcat
bother to look at LD_LIBRARY_PATH ?).

I tried to run db2profile (a shell script full of environment definitions)
before tomcat/bin/startup.sh, put db2profile as /tomcat/bin/setenv.sh, tried
Tomcat 4.0.4b2, and got the same message.

Of course I'm missing something, but I don't know what is it.

Anyone has a clue ? Except giving up on DB2 :)

Thanks a lot in advance.

Fabio.

--
Fabio Mengue - Centro de Computacao - Unicamp
[EMAIL PROTECTED]   [EMAIL PROTECTED]
"Quem se mata de trabalhar merece mesmo morrer." - Millor




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




RE: Question about "Tomcat-Apache HOWTO"

2002-04-16 Thread Animesh Chaturvedi - US


Tomcat 3.0 and Tomcat4.0 are fundamentally very different. 
Tomcat 4.0.3 will not create any tomcat-apache.conf.
For using Tomcat and Apache together you can use mod_webapp.

Follow this link

http://dcb.sun.com/practices/howtos/tomcat_apache.jsp


Animesh

-Original Message-
From: Cheng Yan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 1:16 PM
To: Tomcat Users List
Subject: Re: Question about "Tomcat-Apache HOWTO"


My tomcat is 4.0.3. Should this version create the same file
"tomcat-apache.conf" or something equivalent?

Thanks,


- Original Message -
From: "Animesh Chaturvedi - US" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 16:08
Subject: RE: Question about "Tomcat-Apache HOWTO"


> Well
> the document you are pointing to, is for old version of Tomcat. Which
> version of Tomcat are you using??
>
> Animesh
>
> -Original Message-
> From: Cheng Yan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 1:05 PM
> To: Tomcat Users List
> Subject: Question about "Tomcat-Apache HOWTO"
>
>
> According to an article "Tomcat-Apache HOWTO" on
> http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-apache-howto.html :
>
> QUOT.
> ==
> When Tomcat starts up it will automatically generate a configuration file
> for Apache in TOMCAT_HOME/conf/jserv/tomcat-apache.conf. Most of the time
> you don't need to do anything but include this file (appending "Include
> TOMCAT_HOME/conf/jserv/tomcat-apache.conf") in your httpd.conf.
> 
> UNQUOT.
>
> However, when I start tomcat on my machine, everything seems fine except
> that I do not see file "tomcat-apache.conf". I assume that TOMCAT_HOME is
> the same as CATALINA_HOME, right? I don't even see a subdir call jserv. Is
> this normal?
>
> BYW, my machine is ultra-sparc 1 running Solaris 8. I can visit
> http://localhost:8080, though. And there are only following files under my
> $CATALINA_HOME/conf:
>
> % cd $CATALINA_HOME/conf
> % ls
> catalina.policy
> server.xml
> tomcat-users.xml
> web.xml
>
> Could someone explain it to me? 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: 

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




Re: Problem loading MySQL drivers.

2002-04-16 Thread Panos Konstantinidis

  Thank you everybody for your reply. The following
did the trick. Thank you :-)

--- Bruce Carson <[EMAIL PROTECTED]> wrote:
> You must edit the conf\jk\wrapper.properties file
> and modify
> the wrapper.classs_path setting !


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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




Re: Apache serving static content

2002-04-16 Thread Ken Anderson

What is the advantage of deploying all resources of a webapp inside the 
webapp directory? If there is a need for a webappIgnore feature, perhaps 
this question should be brought to the the dev list?
Ken


Brandon Cruz wrote:
> I have the same issue with mod_jk.  We deploy all of our web application
> within tomcat_home/webapps.  If a webapp is called myWebapp, then a request
> to /myWebapp/image.gif will be processed by Tomcat due to the fact that it
> matches the /myWebapp/* declaration.  Is there a way to keep images from
> being processed by Tomcat if they are inside a webapp?  Something like the
> patch that James mentions below would be exactly what I am looking for.
> 
> Configuration is Apache/Tomcat 3.2.4 using several different Webapps.
> 
> 
> Brandon
> 
> P.S.  If anyone has problems with tomcat serving images very slowly, the
> JkLogLevel should be set to "error" instead of "warn" inside of httpd.conf.
> This is not really documented anywhere for tomcat 3.2.4, but results in HUGE
> improvements in speed if you are serving an image-heavy page in a webapp.
> 
> -Original Message-
> From: James Williamson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 11:19 AM
> To: Tomcat Users List
> Subject: Re: Apache serving static content
> 
> 
> Gabriel,
> 
> I wrote a quick patch a while ago for mod_webapp that lets you
> specify patterns to ignore (i.e. the request never sees Tomcat).
>  So apply the patch and recompile, and  in your httpd.conf file use
> WebAppIgnore directives to tell mod_webapp which patterns to ignore.
> 
> i.e.
> WebAppIgnore *.html
> WebAppIgnore /cgi-bin/*
> 
> I haven't thoroughly tested it so would be pleased to know
> how you get on. Please find the patch attached. I would submit
> to the developers except I need to fix a few problems with it
> (You must put the WebAppIgnore's after you've declared your application).
> 
> Regards,
> 
> James Williamson
> 
> www.nameonthe.net
> UK Tomcat Hosting
> 
> - Original Message -
> From: Gabriel Maffia <[EMAIL PROTECTED]>
> To: Tomcat Users List Service <[EMAIL PROTECTED]>
> Sent: Tuesday, March 19, 2002 5:07 PM
> Subject: Apache serving static content
> 
> 
> Hello Again:
> 
> I know I can be kinda annoying, but I really need to know if someone could
> make mod_webapp + warp configuration to serve only dynamic content, and
> apache serve only the static content.
>  If not, does anyone know where can I find a reference for mod_webapp?
> Because it seems like there is no detailed documentation on how to use it.
> 
> 
> Thanks a LOT!
> 
> 
> Gabriel Maffia
> 
> 
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 
> 
> 



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




Re: Installation Issue

2002-04-16 Thread Cheng Yan

java 1.2 is fine with tomcat 4. That's what I got to work, anyway.

- Original Message -
From: "Ricky Leung" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 16:00
Subject: RE: Installation Issue


> check your logs under $CATALINA_HOME/logs and what errors you get there?
I
> think the requirement for Tomcat4 is java1.3 also.
>
>
> -Original Message-
> From: Philip I Juels [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 3:51 PM
> To: [EMAIL PROTECTED]
> Subject: Installation Issue
>
>
> Hi,
>
>   I'm having trouble getting tomcat to work on my system.  System info as
>   follows:
>
>   1)  Sun Solaris 8 on a Sun Fire V880 (sparc)
>   2)  apache-1.3.12 (part of Solaris default installation)
>   3)  jakarta-tomcat-4.0-200020415 build installed in
>   /usr/local/jakarta-tomcat-4.0
>
>   I have $CATALINA_HOME=/usr/local/jakarta-tomcat-4.0
>   and $JAVA_HOME=/usr/java...which is a link to /usr/java1.2 (again part
>   of Solaris 8 installation).
>
>   When I run bin/statup.sh, I get...
>
>   Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0
>   Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.0
>   Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0/temp
>   Using JAVA_HOME:   /usr/java
>
>   But, when I go to http://localhost:8080 or
>   http://localhost:8080/index.jsp, I get a "Unable to locate" error from
>   Netscape.
>
>   When I execute bin/shutdown.sh, I get a rather long message...
>
>   Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0
>   Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.0
>   Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0/temp
>   Using JAVA_HOME:   /usr/java
>   java.lang.NoClassDefFoundError: javax/naming/NamingException
>   at org.apache.catalina.core.StandardServer.(Unknown Source)
>   at java.lang.Class.newInstance0(Native Method)
>   at java.lang.Class.newInstance0(Compiled Code)
>   at java.lang.Class.newInstance(Compiled Code)
>   at
>
>
org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:253
> )
>   at org.apache.commons.digester.Digester.startElement(Compiled Code)
>   at org.apache.xerces.parsers.SAXParser.startElement(Compiled Code)
>   at
>
org.apache.xerces.validators.common.XMLValidator.callStartElement(Compiled
>   Code)
>   at
>   org.apache.xerces.framework.XMLDocumentScanner.scanElement(Compiled
Code)
>   at
>
>
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(Co
> mp
>   iled
>   Code)
>   at
>   org.apache.xerces.framework.XMLDocumentScanner.parseSome(Compiled Code)
>   at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
>   at org.apache.commons.digester.Digester.parse(Digester.java:1263)
>   at org.apache.catalina.startup.Catalina.stop(Compiled Code)
>   at org.apache.catalina.startup.Catalina.execute(Unknown Source)
>   at org.apache.catalina.startup.Catalina.process(Unknown Source)
>   at java.lang.reflect.Method.invoke(Native Method)
>   at java.lang.reflect.Method.invoke(Compiled Code)
>   at org.apache.catalina.startup.Bootstrap.main(Compiled Code)
>   [ERROR] Digester - -Begin event threw error
>   
>   Exception during startup processing
>   java.lang.reflect.InvocationTargetException:
>   java.lang.NoClassDefFoundError: javax/naming/NamingException
>   at org.apache.catalina.core.StandardServer.(Unknown Source)
>   at java.lang.Class.newInstance0(Native Method)
>   at java.lang.Class.newInstance0(Compiled Code)
>   at java.lang.Class.newInstance(Compiled Code)
>   at
>
>
org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:253
> )
>   at org.apache.commons.digester.Digester.startElement(Compiled Code)
>   at org.apache.xerces.parsers.SAXParser.startElement(Compiled Code)
>   at
>
org.apache.xerces.validators.common.XMLValidator.callStartElement(Compiled
>   Code)
>   at
>   org.apache.xerces.framework.XMLDocumentScanner.scanElement(Compiled
Code)
>   at
>
>
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(Co
> mp
>   iled
>   Code)
>   at
>   org.apache.xerces.framework.XMLDocumentScanner.parseSome(Compiled Code)
>   at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
>   at org.apache.commons.digester.Digester.parse(Digester.java:1263)
>   at org.apache.catalina.startup.Catalina.stop(Compiled Code)
>   at org.apache.catalina.startup.Catalina.execute(Unknown Source)
>   at org.apache.catalina.startup.Catalina.process(Unknown Source)
>   at java.lang.reflect.Method.invoke(Native Method)
>   at java.lang.reflect.Method.invoke(Compiled Code)
>   at org.apache.catalina.startup.Bootstrap.main(Compiled Code)
>
>
>   I did a similar installation on a linux box and had no problems.
>
>   Any help?
>
>   Thanks,
>
>   Philip Juels
>   [EMAIL PROTECTED]
>
>
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>
>
> --
> To unsubscribe:   

Re: Question about "Tomcat-Apache HOWTO"

2002-04-16 Thread Cheng Yan

My tomcat is 4.0.3. Should this version create the same file
"tomcat-apache.conf" or something equivalent?

Thanks,


- Original Message -
From: "Animesh Chaturvedi - US" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 16:08
Subject: RE: Question about "Tomcat-Apache HOWTO"


> Well
> the document you are pointing to, is for old version of Tomcat. Which
> version of Tomcat are you using??
>
> Animesh
>
> -Original Message-
> From: Cheng Yan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 1:05 PM
> To: Tomcat Users List
> Subject: Question about "Tomcat-Apache HOWTO"
>
>
> According to an article "Tomcat-Apache HOWTO" on
> http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-apache-howto.html :
>
> QUOT.
> ==
> When Tomcat starts up it will automatically generate a configuration file
> for Apache in TOMCAT_HOME/conf/jserv/tomcat-apache.conf. Most of the time
> you don't need to do anything but include this file (appending "Include
> TOMCAT_HOME/conf/jserv/tomcat-apache.conf") in your httpd.conf.
> 
> UNQUOT.
>
> However, when I start tomcat on my machine, everything seems fine except
> that I do not see file "tomcat-apache.conf". I assume that TOMCAT_HOME is
> the same as CATALINA_HOME, right? I don't even see a subdir call jserv. Is
> this normal?
>
> BYW, my machine is ultra-sparc 1 running Solaris 8. I can visit
> http://localhost:8080, though. And there are only following files under my
> $CATALINA_HOME/conf:
>
> % cd $CATALINA_HOME/conf
> % ls
> catalina.policy
> server.xml
> tomcat-users.xml
> web.xml
>
> Could someone explain it to me? 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: 




RE: Question about "Tomcat-Apache HOWTO"

2002-04-16 Thread Animesh Chaturvedi - US

Well
the document you are pointing to, is for old version of Tomcat. Which
version of Tomcat are you using?? 

Animesh

-Original Message-
From: Cheng Yan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 1:05 PM
To: Tomcat Users List
Subject: Question about "Tomcat-Apache HOWTO"


According to an article "Tomcat-Apache HOWTO" on
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-apache-howto.html :

QUOT.
==
When Tomcat starts up it will automatically generate a configuration file
for Apache in TOMCAT_HOME/conf/jserv/tomcat-apache.conf. Most of the time
you don't need to do anything but include this file (appending "Include
TOMCAT_HOME/conf/jserv/tomcat-apache.conf") in your httpd.conf.

UNQUOT.

However, when I start tomcat on my machine, everything seems fine except
that I do not see file "tomcat-apache.conf". I assume that TOMCAT_HOME is
the same as CATALINA_HOME, right? I don't even see a subdir call jserv. Is
this normal?

BYW, my machine is ultra-sparc 1 running Solaris 8. I can visit
http://localhost:8080, though. And there are only following files under my
$CATALINA_HOME/conf:

% cd $CATALINA_HOME/conf
% ls
catalina.policy
server.xml
tomcat-users.xml
web.xml

Could someone explain it to me? Thanks.


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

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




Question about "Tomcat-Apache HOWTO"

2002-04-16 Thread Cheng Yan

According to an article "Tomcat-Apache HOWTO" on
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-apache-howto.html :

QUOT.
==
When Tomcat starts up it will automatically generate a configuration file
for Apache in TOMCAT_HOME/conf/jserv/tomcat-apache.conf. Most of the time
you don't need to do anything but include this file (appending "Include
TOMCAT_HOME/conf/jserv/tomcat-apache.conf") in your httpd.conf.

UNQUOT.

However, when I start tomcat on my machine, everything seems fine except
that I do not see file "tomcat-apache.conf". I assume that TOMCAT_HOME is
the same as CATALINA_HOME, right? I don't even see a subdir call jserv. Is
this normal?

BYW, my machine is ultra-sparc 1 running Solaris 8. I can visit
http://localhost:8080, though. And there are only following files under my
$CATALINA_HOME/conf:

% cd $CATALINA_HOME/conf
% ls
catalina.policy
server.xml
tomcat-users.xml
web.xml

Could someone explain it to me? Thanks.


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




RE: How to install Tomcat on network -- is there any network version of Tomcat

2002-04-16 Thread Uma Munugala

Thanks marc
This helps me a lot.


Uma

-Original Message-
From: Marc Chamberlin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 12:54 PM
To: Tomcat Users List
Subject: Re: How to install Tomcat on network -- is there any network
version of Tomcat


Uma -

Having just gone through setting up my own LAN, with a Tomcat server on it,
I can give you a bit of guidance...

Tomcat is simply a server and thus you treat it like any other server, i.e.
an email server or an ftp server tex... There is no
special configuration or special version of the Tomcat server which is
dependent upon whether you are running it stand-alone or
within a network. What you need to assure is that your DHCP/NAT server or
network routers are configured so as to route your web
traffic to the computer which is running your Tomcat server.Configuring your
network is dependent upon how your network has been
designed, which is beyond the scope of this group... ;-)  You may also need
to be concerned about configuring any firewalls you have
running so they will pass traffic from your network to the computer running
the Tomcat server, if you are using any firewalls.

Hope this helps get you pointed in the right directionMarc...


- Original Message -
From: "Uma Munugala" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 12:34 PM
Subject: RE: How to install Tomcat on network -- is there any network
version of Tomcat


>
> Hi All
> Iam working on Tomcat 4.0.3 standalone. It works well. I want to
install
> tomcat 4.0.3 on network so that other developers can access.
> How do I do that. Do I need to configure in some different way or is there
> any different copy of Tomcat 4.0.3 for network.
>
> Can any body help me.
>
>
> Thanks
> Uma
>
> --
> 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: 

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




Re: Question about tomcat

2002-04-16 Thread rob

Yes, mod_jk is used to connect tomcat <-> apache httpd.

I've used mod_jk on both tomcat 3.2.x -> 4.0.3 successfully.

There is a cvs module dedicated to the connectors now though I still 
find the old mod_jk connector packaged in the tomcat 3.3 binary tarball 
to be the easiest to build.  The cvs version of the connectors have too 
many build scripts and dependencies that fry when you try to build them.

Rob

Diego, Emil wrote:
> Here is what I want to do.  I need to know if it is possible.
> 
> I am currently running apache 1.3 on redhat linux 7.2.  I want to know if it
> is possilbe to get apache to process JSP pages.  Is that what mod_jk does?
> What version of tomcat will I need?
> 
> 
> Emil
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 
> 




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




RE: Installation Issue

2002-04-16 Thread Ricky Leung

check your logs under $CATALINA_HOME/logs and what errors you get there?  I
think the requirement for Tomcat4 is java1.3 also.


-Original Message-
From: Philip I Juels [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 3:51 PM
To: [EMAIL PROTECTED]
Subject: Installation Issue


Hi,

  I'm having trouble getting tomcat to work on my system.  System info as
  follows:

  1)  Sun Solaris 8 on a Sun Fire V880 (sparc)
  2)  apache-1.3.12 (part of Solaris default installation)
  3)  jakarta-tomcat-4.0-200020415 build installed in
  /usr/local/jakarta-tomcat-4.0

  I have $CATALINA_HOME=/usr/local/jakarta-tomcat-4.0
  and $JAVA_HOME=/usr/java...which is a link to /usr/java1.2 (again part
  of Solaris 8 installation).

  When I run bin/statup.sh, I get...

  Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0
  Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.0
  Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0/temp
  Using JAVA_HOME:   /usr/java

  But, when I go to http://localhost:8080 or
  http://localhost:8080/index.jsp, I get a "Unable to locate" error from
  Netscape.

  When I execute bin/shutdown.sh, I get a rather long message...

  Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0
  Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.0
  Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0/temp
  Using JAVA_HOME:   /usr/java
  java.lang.NoClassDefFoundError: javax/naming/NamingException
  at org.apache.catalina.core.StandardServer.(Unknown Source)
  at java.lang.Class.newInstance0(Native Method)
  at java.lang.Class.newInstance0(Compiled Code)
  at java.lang.Class.newInstance(Compiled Code)
  at

org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:253
)
  at org.apache.commons.digester.Digester.startElement(Compiled Code)
  at org.apache.xerces.parsers.SAXParser.startElement(Compiled Code)
  at
  org.apache.xerces.validators.common.XMLValidator.callStartElement(Compiled
  Code)
  at
  org.apache.xerces.framework.XMLDocumentScanner.scanElement(Compiled Code)
  at

org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(Co
mp
  iled
  Code)
  at
  org.apache.xerces.framework.XMLDocumentScanner.parseSome(Compiled Code)
  at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
  at org.apache.commons.digester.Digester.parse(Digester.java:1263)
  at org.apache.catalina.startup.Catalina.stop(Compiled Code)
  at org.apache.catalina.startup.Catalina.execute(Unknown Source)
  at org.apache.catalina.startup.Catalina.process(Unknown Source)
  at java.lang.reflect.Method.invoke(Native Method)
  at java.lang.reflect.Method.invoke(Compiled Code)
  at org.apache.catalina.startup.Bootstrap.main(Compiled Code)
  [ERROR] Digester - -Begin event threw error
  
  Exception during startup processing
  java.lang.reflect.InvocationTargetException:
  java.lang.NoClassDefFoundError: javax/naming/NamingException
  at org.apache.catalina.core.StandardServer.(Unknown Source)
  at java.lang.Class.newInstance0(Native Method)
  at java.lang.Class.newInstance0(Compiled Code)
  at java.lang.Class.newInstance(Compiled Code)
  at

org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:253
)
  at org.apache.commons.digester.Digester.startElement(Compiled Code)
  at org.apache.xerces.parsers.SAXParser.startElement(Compiled Code)
  at
  org.apache.xerces.validators.common.XMLValidator.callStartElement(Compiled
  Code)
  at
  org.apache.xerces.framework.XMLDocumentScanner.scanElement(Compiled Code)
  at

org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(Co
mp
  iled
  Code)
  at
  org.apache.xerces.framework.XMLDocumentScanner.parseSome(Compiled Code)
  at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
  at org.apache.commons.digester.Digester.parse(Digester.java:1263)
  at org.apache.catalina.startup.Catalina.stop(Compiled Code)
  at org.apache.catalina.startup.Catalina.execute(Unknown Source)
  at org.apache.catalina.startup.Catalina.process(Unknown Source)
  at java.lang.reflect.Method.invoke(Native Method)
  at java.lang.reflect.Method.invoke(Compiled Code)
  at org.apache.catalina.startup.Bootstrap.main(Compiled Code)


  I did a similar installation on a linux box and had no problems.

  Any help?

  Thanks,

  Philip Juels
  [EMAIL PROTECTED]



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



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




Re: How to install Tomcat on network -- is there any network version of Tomcat

2002-04-16 Thread Marc Chamberlin

Uma -

Having just gone through setting up my own LAN, with a Tomcat server on it, I can give 
you a bit of guidance...

Tomcat is simply a server and thus you treat it like any other server, i.e. an email 
server or an ftp server tex... There is no
special configuration or special version of the Tomcat server which is dependent upon 
whether you are running it stand-alone or
within a network. What you need to assure is that your DHCP/NAT server or network 
routers are configured so as to route your web
traffic to the computer which is running your Tomcat server.Configuring your network 
is dependent upon how your network has been
designed, which is beyond the scope of this group... ;-)  You may also need to be 
concerned about configuring any firewalls you have
running so they will pass traffic from your network to the computer running the Tomcat 
server, if you are using any firewalls.

Hope this helps get you pointed in the right directionMarc...


- Original Message -
From: "Uma Munugala" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 12:34 PM
Subject: RE: How to install Tomcat on network -- is there any network version of Tomcat


>
> Hi All
> Iam working on Tomcat 4.0.3 standalone. It works well. I want to install
> tomcat 4.0.3 on network so that other developers can access.
> How do I do that. Do I need to configure in some different way or is there
> any different copy of Tomcat 4.0.3 for network.
>
> Can any body help me.
>
>
> Thanks
> Uma
>
> --
> 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: 




Installation Issue

2002-04-16 Thread Philip I Juels

Hi,

  I'm having trouble getting tomcat to work on my system.  System info as
  follows:

  1)  Sun Solaris 8 on a Sun Fire V880 (sparc)
  2)  apache-1.3.12 (part of Solaris default installation)
  3)  jakarta-tomcat-4.0-200020415 build installed in
  /usr/local/jakarta-tomcat-4.0

  I have $CATALINA_HOME=/usr/local/jakarta-tomcat-4.0
  and $JAVA_HOME=/usr/java...which is a link to /usr/java1.2 (again part
  of Solaris 8 installation).

  When I run bin/statup.sh, I get...

  Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0
  Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.0
  Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0/temp
  Using JAVA_HOME:   /usr/java

  But, when I go to http://localhost:8080 or
  http://localhost:8080/index.jsp, I get a "Unable to locate" error from
  Netscape.

  When I execute bin/shutdown.sh, I get a rather long message...

  Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0
  Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.0
  Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0/temp
  Using JAVA_HOME:   /usr/java
  java.lang.NoClassDefFoundError: javax/naming/NamingException
  at org.apache.catalina.core.StandardServer.(Unknown Source)
  at java.lang.Class.newInstance0(Native Method)
  at java.lang.Class.newInstance0(Compiled Code)
  at java.lang.Class.newInstance(Compiled Code)
  at
 
org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:253)
  at org.apache.commons.digester.Digester.startElement(Compiled Code)
  at org.apache.xerces.parsers.SAXParser.startElement(Compiled Code)
  at
  org.apache.xerces.validators.common.XMLValidator.callStartElement(Compiled
  Code)
  at
  org.apache.xerces.framework.XMLDocumentScanner.scanElement(Compiled Code)
  at
 
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(Comp
  iled
  Code)
  at
  org.apache.xerces.framework.XMLDocumentScanner.parseSome(Compiled Code)
  at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
  at org.apache.commons.digester.Digester.parse(Digester.java:1263)
  at org.apache.catalina.startup.Catalina.stop(Compiled Code)
  at org.apache.catalina.startup.Catalina.execute(Unknown Source)
  at org.apache.catalina.startup.Catalina.process(Unknown Source)
  at java.lang.reflect.Method.invoke(Native Method)
  at java.lang.reflect.Method.invoke(Compiled Code)
  at org.apache.catalina.startup.Bootstrap.main(Compiled Code)
  [ERROR] Digester - -Begin event threw error
  
  Exception during startup processing
  java.lang.reflect.InvocationTargetException:
  java.lang.NoClassDefFoundError: javax/naming/NamingException
  at org.apache.catalina.core.StandardServer.(Unknown Source)
  at java.lang.Class.newInstance0(Native Method)
  at java.lang.Class.newInstance0(Compiled Code)
  at java.lang.Class.newInstance(Compiled Code)
  at
 
org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:253)
  at org.apache.commons.digester.Digester.startElement(Compiled Code)
  at org.apache.xerces.parsers.SAXParser.startElement(Compiled Code)
  at
  org.apache.xerces.validators.common.XMLValidator.callStartElement(Compiled
  Code)
  at
  org.apache.xerces.framework.XMLDocumentScanner.scanElement(Compiled Code)
  at
 
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(Comp
  iled
  Code)
  at
  org.apache.xerces.framework.XMLDocumentScanner.parseSome(Compiled Code)
  at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
  at org.apache.commons.digester.Digester.parse(Digester.java:1263)
  at org.apache.catalina.startup.Catalina.stop(Compiled Code)
  at org.apache.catalina.startup.Catalina.execute(Unknown Source)
  at org.apache.catalina.startup.Catalina.process(Unknown Source)
  at java.lang.reflect.Method.invoke(Native Method)
  at java.lang.reflect.Method.invoke(Compiled Code)
  at org.apache.catalina.startup.Bootstrap.main(Compiled Code)


  I did a similar installation on a linux box and had no problems.

  Any help?

  Thanks,

  Philip Juels
  [EMAIL PROTECTED]



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




RE: Problem loading MySQL drivers.

2002-04-16 Thread Diego, Emil

yes but where are you setting the classpath.

you should probably add the following line to the script used to start the
tomcat server.
export CLASSPATH=xxx

this will ensure that when the server starts up the tomcat server the proper
classpath is set.





-Original Message-
From: Panos Konstantinidis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 3:50 PM
To: Tomcat Users List
Subject: RE: Problem loading MySQL drivers.


  Emil thnak you for your quick reply. My classpath is
set to point to the mm.mysql-2.4.0-bin.jar file
itself. I can see it because when I am doing a "echo
$CLASSPATH" it show the .jar file (alongside with the
rest of the Java classes).

  I guess the classpath is right, because the exact
same code (from the JSP page) is working as a stand
alone Java application.

  Any more thoughts?

  Thank you.


--- "Diego, Emil" <[EMAIL PROTECTED]>
wrote:
> 
> Where did you set the classpath ?
> 
> 
> -Original Message-
> From: Panos Konstantinidis
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 3:44 PM
> To: [EMAIL PROTECTED]
> Subject: Problem loading MySQL drivers.
> 
> 
>   Hello there, I am running Tomcat 3.3.1 and JDK1.4
> under Mandrake Linux 8.1 and I have a problem
> finding
> the MySQL drivers. I have looked on the Tomcat
> archives and could not find any similar questions,
> so
> I thought I am going ot try the mailing list.
> 
>   I have created my own web app space and I have
> managed to run Servlets and JSP pages successfuly
> but
> when I am trying to load the MySQL drivers it fails
> with the "java.sql.SQLException: No suitable driver"
> error message. I have put the mm.mysql-2.4.0-bin.jar
> file under my webapp's WEB-INF/lib folder
> (WEB-INF/lib/mm.mysql-2.4.0-bin.jar) but it does not
> seem to work. I thought Tomcat was going to pick it
> up
> automatically but obviously this is not the case. I
> have set up the CLASSPATH to point to the .jar file
> but still no luck. I have to tell you here that I
> can
> load it from a Java application but not from a JSP
> page.
> 
>   Any help is greatly appreciated.
> 
>   Kind regards
> 
> Panos
> 
> __
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> 
> --
> To unsubscribe:  
> 
> For additional commands:
> 
> Troubles with the list:
> 
> 
> --
> To unsubscribe:  
> 
> For additional commands:
> 
> Troubles with the list:
> 
> 


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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

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




Re: Problem loading MySQL drivers.

2002-04-16 Thread Bruce Carson

You must edit the conf\jk\wrapper.properties file and modify
the wrapper.classs_path setting !

- Original Message - 
From: "Panos Konstantinidis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 3:44 PM
Subject: Problem loading MySQL drivers.


>   Hello there, I am running Tomcat 3.3.1 and JDK1.4
> under Mandrake Linux 8.1 and I have a problem finding
> the MySQL drivers. I have looked on the Tomcat
> archives and could not find any similar questions, so
> I thought I am going ot try the mailing list.
> 
>   I have created my own web app space and I have
> managed to run Servlets and JSP pages successfuly but
> when I am trying to load the MySQL drivers it fails
> with the "java.sql.SQLException: No suitable driver"
> error message. I have put the mm.mysql-2.4.0-bin.jar
> file under my webapp's WEB-INF/lib folder
> (WEB-INF/lib/mm.mysql-2.4.0-bin.jar) but it does not
> seem to work. I thought Tomcat was going to pick it up
> automatically but obviously this is not the case. I
> have set up the CLASSPATH to point to the .jar file
> but still no luck. I have to tell you here that I can
> load it from a Java application but not from a JSP
> page.
> 
>   Any help is greatly appreciated.
> 
>   Kind regards
> 
> Panos
> 
> __
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 


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




RE: Problem loading MySQL drivers.

2002-04-16 Thread Panos Konstantinidis

  Emil thnak you for your quick reply. My classpath is
set to point to the mm.mysql-2.4.0-bin.jar file
itself. I can see it because when I am doing a "echo
$CLASSPATH" it show the .jar file (alongside with the
rest of the Java classes).

  I guess the classpath is right, because the exact
same code (from the JSP page) is working as a stand
alone Java application.

  Any more thoughts?

  Thank you.


--- "Diego, Emil" <[EMAIL PROTECTED]>
wrote:
> 
> Where did you set the classpath ?
> 
> 
> -Original Message-
> From: Panos Konstantinidis
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 3:44 PM
> To: [EMAIL PROTECTED]
> Subject: Problem loading MySQL drivers.
> 
> 
>   Hello there, I am running Tomcat 3.3.1 and JDK1.4
> under Mandrake Linux 8.1 and I have a problem
> finding
> the MySQL drivers. I have looked on the Tomcat
> archives and could not find any similar questions,
> so
> I thought I am going ot try the mailing list.
> 
>   I have created my own web app space and I have
> managed to run Servlets and JSP pages successfuly
> but
> when I am trying to load the MySQL drivers it fails
> with the "java.sql.SQLException: No suitable driver"
> error message. I have put the mm.mysql-2.4.0-bin.jar
> file under my webapp's WEB-INF/lib folder
> (WEB-INF/lib/mm.mysql-2.4.0-bin.jar) but it does not
> seem to work. I thought Tomcat was going to pick it
> up
> automatically but obviously this is not the case. I
> have set up the CLASSPATH to point to the .jar file
> but still no luck. I have to tell you here that I
> can
> load it from a Java application but not from a JSP
> page.
> 
>   Any help is greatly appreciated.
> 
>   Kind regards
> 
> Panos
> 
> __
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> 
> --
> To unsubscribe:  
> 
> For additional commands:
> 
> Troubles with the list:
> 
> 
> --
> To unsubscribe:  
> 
> For additional commands:
> 
> Troubles with the list:
> 
> 


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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




RE: Problem loading MySQL drivers.

2002-04-16 Thread Diego, Emil


Where did you set the classpath ?


-Original Message-
From: Panos Konstantinidis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 3:44 PM
To: [EMAIL PROTECTED]
Subject: Problem loading MySQL drivers.


  Hello there, I am running Tomcat 3.3.1 and JDK1.4
under Mandrake Linux 8.1 and I have a problem finding
the MySQL drivers. I have looked on the Tomcat
archives and could not find any similar questions, so
I thought I am going ot try the mailing list.

  I have created my own web app space and I have
managed to run Servlets and JSP pages successfuly but
when I am trying to load the MySQL drivers it fails
with the "java.sql.SQLException: No suitable driver"
error message. I have put the mm.mysql-2.4.0-bin.jar
file under my webapp's WEB-INF/lib folder
(WEB-INF/lib/mm.mysql-2.4.0-bin.jar) but it does not
seem to work. I thought Tomcat was going to pick it up
automatically but obviously this is not the case. I
have set up the CLASSPATH to point to the .jar file
but still no luck. I have to tell you here that I can
load it from a Java application but not from a JSP
page.

  Any help is greatly appreciated.

  Kind regards

Panos

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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

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




Problem loading MySQL drivers.

2002-04-16 Thread Panos Konstantinidis

  Hello there, I am running Tomcat 3.3.1 and JDK1.4
under Mandrake Linux 8.1 and I have a problem finding
the MySQL drivers. I have looked on the Tomcat
archives and could not find any similar questions, so
I thought I am going ot try the mailing list.

  I have created my own web app space and I have
managed to run Servlets and JSP pages successfuly but
when I am trying to load the MySQL drivers it fails
with the "java.sql.SQLException: No suitable driver"
error message. I have put the mm.mysql-2.4.0-bin.jar
file under my webapp's WEB-INF/lib folder
(WEB-INF/lib/mm.mysql-2.4.0-bin.jar) but it does not
seem to work. I thought Tomcat was going to pick it up
automatically but obviously this is not the case. I
have set up the CLASSPATH to point to the .jar file
but still no luck. I have to tell you here that I can
load it from a Java application but not from a JSP
page.

  Any help is greatly appreciated.

  Kind regards

Panos

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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




request.getPort() returns wrong port after redirect

2002-04-16 Thread Mullen-Schultz, Gary

I am running on Tomcat 4.0.3, using the standalone server.

We do multiple redirects in our server, across Tomcat instances.  We are
encountering failure in the following scenario.

Let's say we have two Tomcat instances: A on port 81, and B on port 82.  A
contains one JSP in the root webapp: SendRedirect.jsp.  B contains two JSPs
in the root webapp: ReceiveAndSendRedirect.jsp and ReceiveRedirect.jsp.  The
source is as follows:

SendRedirect.jsp:
<%
response.sendRedirect("http://127.0.0.1:82//ReceiveAndSendRedirect.jsp";);
%>


ReceiveAndSendRedirect.jsp:
<%
response.sendRedirect("ReceiveRedirect.jsp");
%>

ReceiveRedirect.jsp:

This is ReceiveRedirect!


What ends up happening is that the sendRedirect method inside
ReceiveAndSendRedirect.jsp builds a URL that looks like this:
http://127.0.0.1:81//ReceiveRedirect.jsp

There *is* no ReceiveRedirect.jsp on instance A (port 81), and a 404
results.

In debug mode, a call to request.getPort() inside ReceiveAndSendRedirect.jsp
returns 81; given that it's a redirect (not a forward), I would have thought
it would return 82 (the port of the "current" server).

Any ideas?  Am I just confused?  If so, how can I easily do this multiple
redirection (it gets invoked when our security code kicks in).

Thanks, Gary Mullen-Schultz, Kingland Systems





Gary Mullen-Schultz (E-mail).vcf
Description: Binary data

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


Question about internal server error

2002-04-16 Thread Diego, Emil

Here is the error i am getting.  Do i need to spcify a classpath to the
umJavaLib package that I wrote.  I current;y have the class files places in
$CATALINA_HOME/webapps/sba/WEB-INF/classes/

Any ideas what I am doing wrong.





Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error




type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for JSPNote:
sun.tools.javac.Main has been deprecated.


An error occurred at line: 7 in the jsp file: /jsp/manage/login.jsp

Generated servlet error:
/usr/local/jakarta-tomcat-4.0.3/work/dev_new2.bus.miami.edu/sba/jsp/manage/l
ogin$jsp.java:74: Class umJavaLib.umDBConnection not found.
umJavaLib.umDBConnection dbConn = null;
 ^


An error occurred at line: 7 in the jsp file: /jsp/manage/login.jsp

Generated servlet error:
/usr/local/jakarta-tomcat-4.0.3/work/dev_new2.bus.miami.edu/sba/jsp/manage/l
ogin$jsp.java:77: Class umJavaLib.umDBConnection not found.
dbConn= (umJavaLib.umDBConnection)
  ^


An error occurred at line: 7 in the jsp file: /jsp/manage/login.jsp

Generated servlet error:
/usr/local/jakarta-tomcat-4.0.3/work/dev_new2.bus.miami.edu/sba/jsp/manage/l
ogin$jsp.java:82: Class umJavaLib.umDBConnection not found.
dbConn = (umJavaLib.umDBConnection)
java.beans.Beans.instantiate(this.getClass().getClassLoader(),
"umJavaLib.umDBConnection");
   ^


An error occurred at line: 8 in the jsp file: /jsp/manage/login.jsp

Generated servlet error:
/usr/local/jakarta-tomcat-4.0.3/work/dev_new2.bus.miami.edu/sba/jsp/manage/l
ogin$jsp.java:101: Class umJavaLib.sbaLogin not found.
umJavaLib.sbaLogin xLogin = null;
 ^


An error occurred at line: 8 in the jsp file: /jsp/manage/login.jsp

Generated servlet error:
/usr/local/jakarta-tomcat-4.0.3/work/dev_new2.bus.miami.edu/sba/jsp/manage/l
ogin$jsp.java:104: Class umJavaLib.sbaLogin not found.
xLogin= (umJavaLib.sbaLogin)
  ^


An error occurred at line: 8 in the jsp file: /jsp/manage/login.jsp

Generated servlet error:
/usr/local/jakarta-tomcat-4.0.3/work/dev_new2.bus.miami.edu/sba/jsp/manage/l
ogin$jsp.java:109: Class umJavaLib.sbaLogin not found.
xLogin = (umJavaLib.sbaLogin)
java.beans.Beans.instantiate(this.getClass().getClassLoader(),
"umJavaLib.sbaLogin");
   ^
6 errors, 1 warning

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:177)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:189)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
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:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
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:2343)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
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.apac

RE: How to install Tomcat on network -- is there any network version of Tomcat

2002-04-16 Thread Uma Munugala


Hi All
Iam working on Tomcat 4.0.3 standalone. It works well. I want to install
tomcat 4.0.3 on network so that other developers can access.
How do I do that. Do I need to configure in some different way or is there
any different copy of Tomcat 4.0.3 for network.

Can any body help me.


Thanks
Uma

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

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




RE: Initialization in Tomcat 4.0.3

2002-04-16 Thread Subir Sengupta

Thanks Larry,
Thanks Larry.  I created a Context Listener and it worked great.  However I
have a question.  I experimented with putting my initialization stuff in a
servlet with a load-on-startup element of 0.  This seems to work as well.
All initialization was done when the servlet loaded.  So if both methods of
initialization work, which one is recommended and why?

Thanks again,
Subir


-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 5:15 AM
To: 'Tomcat Users List'
Subject: RE: Initialization in Tomcat 4.0.3


In Tomcat 4.x, this is accomplished by adding a LifecycleListener
to the appropriate container, Engine, Host, etc.  An example of
how something like this is done may be found at:



In this case, the Listener is added to the Host container.  It
adds user home directories as contexts when the Lifecyle.START_EVENT
occurs.  See the org.apache.catalina.startup.UserConfig source
for implementation details.  Hopefully, this will get you started.

Cheers,
Larry

> -Original Message-
> From: Subir Sengupta [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, April 15, 2002 6:08 PM
> To: '[EMAIL PROTECTED]'
> Subject: Initialization in Tomcat 4.0.3
> 
> 
> Hi,
> 
> In Tomcat 3 we initialized stuff with the RequestInterceptor 
> element in
> web.xml like this:
> 
>debug="0"
>   className="org.apache.tomcat.init.Init" />
> 
> Init has a engineInit method that looks like this:
> public final class Init extends BaseInterceptor
> .
> .
> .
> public void engineInit(ContextManager cm) throws TomcatException {
>   CategoryNames.init();
> 
> etc
> 
> How do I the same thing in Tomcat 4.0.3 ?
> 
> Thanks from a Tomcat newbie,
> Subir
> 
> 
> 
> 
> 
> 
>  <> 
> 

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

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




tomcat 3.3.1 and apache 2.0.35

2002-04-16 Thread Diego Pons

Folks: this question may have been asked already, but I can't find the answer anywhere:

1) which mod_jk to use with Apache 2.0.35? 

With ajp12 and 13 lined to mod_jk.so, "apachectl restart" gives me:

/libexec/mod_jk.so: undefined symbol: ap_table_get. 

With ajp20, linked as mod_jk.so, I get:

httpd: module "mod_jk.c" is not compatible with this version of Apache.

Please contact the vendor for the correct version.

(using the same conf/auto/mod_jk.conf file in both cases)

2) Is there any configuration example for ajp20? Would it work at all
with 3.3.1?

Thanks in advance.

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




Re: Apache serving static content

2002-04-16 Thread Gabriel Maffia

James:

Your patch worked Like a charm!

Thanks a Lot!

Gabriel
- Original Message -
From: "James Williamson" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 1:18 PM
Subject: Re: Apache serving static content


> Gabriel,
>
> I wrote a quick patch a while ago for mod_webapp that lets you
> specify patterns to ignore (i.e. the request never sees Tomcat).
>  So apply the patch and recompile, and  in your httpd.conf file use
> WebAppIgnore directives to tell mod_webapp which patterns to ignore.
>
> i.e.
> WebAppIgnore *.html
> WebAppIgnore /cgi-bin/*
>
> I haven't thoroughly tested it so would be pleased to know
> how you get on. Please find the patch attached. I would submit
> to the developers except I need to fix a few problems with it
> (You must put the WebAppIgnore's after you've declared your application).
>
> Regards,
>
> James Williamson
>
> www.nameonthe.net
> UK Tomcat Hosting
>
> - Original Message -
> From: Gabriel Maffia <[EMAIL PROTECTED]>
> To: Tomcat Users List Service <[EMAIL PROTECTED]>
> Sent: Tuesday, March 19, 2002 5:07 PM
> Subject: Apache serving static content
>
>
> Hello Again:
>
> I know I can be kinda annoying, but I really need to know if someone could
> make mod_webapp + warp configuration to serve only dynamic content, and
> apache serve only the static content.
>  If not, does anyone know where can I find a reference for mod_webapp?
> Because it seems like there is no detailed documentation on how to use it.
>
>
> Thanks a LOT!
>
>
> Gabriel Maffia
>
>
>
>






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


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




port 8080

2002-04-16 Thread Marquez, Maceo

I am brand new to the Tomcat communicty and recently installed Tomcat
successfully on my win2000 pc.  However, when I restart the pc, Tomcat is no
longer able to start, and gives the error listed below.  
-I restarted the computer, nothing
-I reset the %CATALINA_HOME%/conf/server.xml connector port to 1977, as
suggested in 'troubleshooting' like so:



Still, the error:

Catalina.start: LifecycleException:  Error creating server socket
(java.net.Bind
Exception):  java.net.BindException: Address in use: JVM_Bind
LifecycleException:  Error creating server socket (java.net.BindException):
jav
a.net.BindException: Address in use: JVM_Bind
at
org.apache.catalina.connector.warp.WarpConnector.initialize(WarpConne
ctor.java:491)
at
org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:454)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
- Root Cause -
java.net.BindException: Address in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:452)
at java.net.ServerSocket.(ServerSocket.java:170)
at java.net.ServerSocket.(ServerSocket.java:121)
at
org.apache.catalina.net.DefaultServerSocketFactory.createSocket(Defau
ltServerSocketFactory.java:118)
at
org.apache.catalina.connector.warp.WarpConnector.initialize(WarpConne
ctor.java:485)
at
org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:454)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)




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




RE: Apache serving static content

2002-04-16 Thread Brandon Cruz

I have the same issue with mod_jk.  We deploy all of our web application
within tomcat_home/webapps.  If a webapp is called myWebapp, then a request
to /myWebapp/image.gif will be processed by Tomcat due to the fact that it
matches the /myWebapp/* declaration.  Is there a way to keep images from
being processed by Tomcat if they are inside a webapp?  Something like the
patch that James mentions below would be exactly what I am looking for.

Configuration is Apache/Tomcat 3.2.4 using several different Webapps.


Brandon

P.S.  If anyone has problems with tomcat serving images very slowly, the
JkLogLevel should be set to "error" instead of "warn" inside of httpd.conf.
This is not really documented anywhere for tomcat 3.2.4, but results in HUGE
improvements in speed if you are serving an image-heavy page in a webapp.

-Original Message-
From: James Williamson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 11:19 AM
To: Tomcat Users List
Subject: Re: Apache serving static content


Gabriel,

I wrote a quick patch a while ago for mod_webapp that lets you
specify patterns to ignore (i.e. the request never sees Tomcat).
 So apply the patch and recompile, and  in your httpd.conf file use
WebAppIgnore directives to tell mod_webapp which patterns to ignore.

i.e.
WebAppIgnore *.html
WebAppIgnore /cgi-bin/*

I haven't thoroughly tested it so would be pleased to know
how you get on. Please find the patch attached. I would submit
to the developers except I need to fix a few problems with it
(You must put the WebAppIgnore's after you've declared your application).

Regards,

James Williamson

www.nameonthe.net
UK Tomcat Hosting

- Original Message -
From: Gabriel Maffia <[EMAIL PROTECTED]>
To: Tomcat Users List Service <[EMAIL PROTECTED]>
Sent: Tuesday, March 19, 2002 5:07 PM
Subject: Apache serving static content


Hello Again:

I know I can be kinda annoying, but I really need to know if someone could
make mod_webapp + warp configuration to serve only dynamic content, and
apache serve only the static content.
 If not, does anyone know where can I find a reference for mod_webapp?
Because it seems like there is no detailed documentation on how to use it.


Thanks a LOT!


Gabriel Maffia




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




RE: Tomcat 3.2.4 and Apache 2.0.35 question

2002-04-16 Thread Brandon Cruz

Did you compile mod_jk on your own machine, or did you get a binary from
somewhere?  I have had this problem when I don't compile mod_jk on my own.

Good Luck, I know it's frustrating...

Brandon

-Original Message-
From: Stuart Morse [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 11:47 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.2.4 and Apache 2.0.35 question


Hi All,

I have successfully had Apache and Tomcat working together on Windows 98
and FreeBSD using mod_jserv. I'm trying to do the same thing on NT 4.0
Workstation using mod_jk. I have added the line:

  Include c:/Program Files/Tomcat/conf/mod_jk.conf-auto

at the end of my httpd.conf file and have placed the mod_jk.dll file from
the Apache site in the modules directory under the Apache home directory.
I have defined the environment variables JAVA_HOME and TOMCAT_HOME.
Both Apache and Tomcat operate fine in stand-alone mode, but when I include
the line above in httpd.conf a dialog is displayed when I try and start
Apache saying:

  The requested operation has failed!

I can't find an error message anywhere that would give me a clue about
what went wrong. Even when I provide an empty mod_jk.conf-auto file I get
the same message.

Any ideas?

Regards,

Stuart


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



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




RE: Exception when executing JSP

2002-04-16 Thread Reynir Hübner

put tools.jar in your classpath (from the jdk. dist.).
hope it helps
-reynir



-Original Message-
From: Darsey, Charlie [mailto:[EMAIL PROTECTED]]
Sent: 16. apríl 2002 17:56
To: '[EMAIL PROTECTED]'
Subject: Exception when executing JSP



I cannot get any jsp pages to execute on my Sun server. SunOS 5.8, jre
1.3.1.
I've tried both  jakarta-tomcat-3.2.2 and jakarta-tomcat-4.0.3 and
I keep ketting the mesage below: What's the scoop? It works fine on my
win2k
box.


Internal Servlet Error:
javax.servlet.ServletException: sun/tools/javac/Main
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H
ttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416
)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:50
1)
at java.lang.Thread.run(Thread.java:484)
Root cause: 
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:
136)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
at
org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146
)
at
org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(J
spSe
rvlet.java:258)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
t.ja
va:268)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H
ttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416
)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:50
1)
at java.lang.Thread.run(Thread.java:484)


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


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




Question about tomcat

2002-04-16 Thread Diego, Emil

Here is what I want to do.  I need to know if it is possible.

I am currently running apache 1.3 on redhat linux 7.2.  I want to know if it
is possilbe to get apache to process JSP pages.  Is that what mod_jk does?
What version of tomcat will I need?


Emil

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




Re: Exception when executing JSP

2002-04-16 Thread Ken Anderson

You need jsdk. jre will not compile anything.
Ken


Darsey, Charlie wrote:
> I cannot get any jsp pages to execute on my Sun server. SunOS 5.8, jre
> 1.3.1.
> I've tried both  jakarta-tomcat-3.2.2 and jakarta-tomcat-4.0.3 and
> I keep ketting the mesage below: What's the scoop? It works fine on my win2k
> box.


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




Exception when executing JSP

2002-04-16 Thread Darsey, Charlie


I cannot get any jsp pages to execute on my Sun server. SunOS 5.8, jre
1.3.1.
I've tried both  jakarta-tomcat-3.2.2 and jakarta-tomcat-4.0.3 and
I keep ketting the mesage below: What's the scoop? It works fine on my win2k
box.


Internal Servlet Error:
javax.servlet.ServletException: sun/tools/javac/Main
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
Root cause: 
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
at
org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:258)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:268)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)


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




Re: Serving images with Apache

2002-04-16 Thread Ken Anderson

Unless you have WebAppDeploy pointing to the document root of the site, 
you won't have any problems serving static content from Apache.
Ken


Gabriel Maffia wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi.
> 
> I think I´ve sent this question before, but I´m not sure if it got to
> the list.
> 
> I´m actually using Tomcat 4.0.1 and Apache 1.3.23, connecting them
> through webapp + warp.
> 
> We are serving a really heavy application, and I was wondering if
> there was a way to make apache serve all the images (.jpg, etc) and
> make Tomcat only serve the applications. Should I switch to Mod-Jk?
> 
> 
> Thanks in Advance
> 
> 
> Gabriel Maffia
> Technisys S.R.L.
> The first digital e-nabler of Latinamerica
> 
> -BEGIN PGP SIGNATURE-
> Version: PGPfreeware 7.0.3 for non-commercial use 
> 
> iQA/AwUBPJdNT70dmyI+ZWfLEQJybACgwGMcSbTBQymm+TroqshGYBfaB+8Ani3A
> ye8jvKMUoOyZgJ+6C3N85a6X
> =lkJ3
> -END PGP SIGNATURE-
> 
> 



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




RE: Upgrading from Tomcat 3.2.1 to tomcat 3.3.1

2002-04-16 Thread Larry Isaacs



> -Original Message-
> From: Michel COTE [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, April 16, 2002 1:06 PM
> To: '[EMAIL PROTECTED]'
> Subject: Upgrading from Tomcat 3.2.1 to tomcat 3.3.1
> 
> 
> Hello,
> 
> I'm using Jakarta Tomcat 3.2.1since one year.
> As i had to install a new machine, i decided to use instead 
> Tomcat 3.3.1
> 
> My JSP files use the classes of a package on my server (by 
> importing them). 
> With 3.3.1 i am unable to use the classes of this package in my JSP 
> classes. Looks like the CLASSPATH is no more use !?

Correct.  See the following for information on configuring classes
in Tomcat 3.3.x:



> 
> With 3.2.1 i used to put the classpath in a 
> TOMCAT_HOME\conf\wrapper.properties files. This file as moved 
> or disappear, 
> where can i define the classpath of Tomcat 3.3.1.

It is now in conf\jk.  Note that this file has an issue in that
it requires an extra modification before use.  For details, see the
note at:



Cheers,
Larry

> 
> Thanks for any precious help and sorry for my bad english !
> 
> Michel COTE.
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 

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




Re: Serving images with Apache

2002-04-16 Thread Pascal Forget

The answer is in www.ubeans.com/tomcat


Gabriel Maffia wrote:

>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>Hi.
>
>I think I´ve sent this question before, but I´m not sure if it got to
>the list.
>
>I´m actually using Tomcat 4.0.1 and Apache 1.3.23, connecting them
>through webapp + warp.
>
>We are serving a really heavy application, and I was wondering if
>there was a way to make apache serve all the images (.jpg, etc) and
>make Tomcat only serve the applications. Should I switch to Mod-Jk?
>
>
>Thanks in Advance
>
>
>Gabriel Maffia
>Technisys S.R.L.
>The first digital e-nabler of Latinamerica
>
>-BEGIN PGP SIGNATURE-
>Version: PGPfreeware 7.0.3 for non-commercial use 
>
>iQA/AwUBPJdNT70dmyI+ZWfLEQJybACgwGMcSbTBQymm+TroqshGYBfaB+8Ani3A
>ye8jvKMUoOyZgJ+6C3N85a6X
>=lkJ3
>-END PGP SIGNATURE-
>
>




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




Re: mod_jk & tomcat error pages (bug in tomcat error pages?)

2002-04-16 Thread Pascal Forget

In Apache's httpd.conf, replace:

DefaultType text/plain

with:

DefaultType text/html



rob wrote:

> When tomcat displays error messages after an exception in the 
> underlying application typically does some formatting on the error 
> produced (ie adding styles).
>
> I use mod_jk to run my application where the jsp/servlets function 
> fine over the connector to tomcat.  However if an error occurs 
> resulting in an exception the error message from tomcat is not 
> formatted properly.  I end up seeing all the html and style elements 
> in plain text which makes reading the error message quite annoying.
>
> This does not however happen when exceptions occur and running tomcat 
> in standalone mode.
>
> Now one might think the connector is not working but unless an 
> exception occurs the jsp and servlets work fine.
>
> I believe when tomcat displays error messages that go over the 
> connector the Content-Type header is being incorrectly specified to 
> plain/text instead of text/html?
>
> Can anyone comment on this?
>
> Also, this may not be reproducable in internet explorer I've noticed 
> IE sometimes ignores Content-Type headers and does what it wants.  You 
> may
> have to use Netscape or Mozilla to reproduce.
>
>
> -- 
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>
>




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




Upgrading from Tomcat 3.2.1 to tomcat 3.3.1

2002-04-16 Thread Michel COTE

Hello,

I'm using Jakarta Tomcat 3.2.1since one year.
As i had to install a new machine, i decided to use instead Tomcat 3.3.1

My JSP files use the classes of a package on my server (by importing them). 
With 3.3.1 i am unable to use the classes of this package in my JSP 
classes. Looks like the CLASSPATH is no more use !?

With 3.2.1 i used to put the classpath in a 
TOMCAT_HOME\conf\wrapper.properties files. This file as moved or disappear, 
where can i define the classpath of Tomcat 3.3.1.

Thanks for any precious help and sorry for my bad english !

Michel COTE.


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




Re: Tomcat, IIS and JavaService Problem

2002-04-16 Thread Daniel Tamborelli Alvarenga

I'm using "com.thinweb.tds.Driver".

- Original Message - 
From: "Barney Hamish" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 1:56 PM
Subject: RE: Tomcat, IIS and JavaService Problem


> What driver are you using for your database connections. The most common
> cause of Tomcat crashes like you describe is the use of the JDBC-ODBC
> bridge.
> 
> -Original Message-
> From: Daniel Tamborelli Alvarenga [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 6:55 PM
> To: Tomcat Users List
> Subject: Re: Tomcat, IIS and JavaService Problem
> 
> 
> Does anybody knows any kind of bug in Tomcat or JavaService
> that can be the reason of this problem?
> 
> Thanks
> 
> - Original Message - 
> From: "Daniel Tamborelli Alvarenga" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 16, 2002 12:53 PM
> Subject: Tomcat, IIS and JavaService Problem
> 
> 
> Hi,
> 
> I am using Tomcat 3.2.3 as service (JavaService) with IIS 5.0/Win2k.
> Sometimes Tomcat just stop responding and we must restart it.
> 
> Anybody knows what may be causing this problem?
> 
> PS: JavaService is configured with HotSpot.
> 
> Thank you.
> 
> 
> 
> --
> 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: 




Re: autoDeploy scan timer setting?

2002-04-16 Thread Aditya

Remy,


On Sat, Apr 06, 2002 at 05:22:17PM -0800, Remy Maucherat wrote:
> > In org.apache.catalina.startup.HostConfig I see a variable that sets the
> "scan
> > timer" to deploy new contexts:
> >
> >/**
> >  * The number of seconds between checks for web app deployment.
> >  */
> > private int checkInterval = 15;
> >
> > is there a server.xml config file setting to alter this? 15 seconds is a
> bit
> > too fast...
> >
> > I've noticed that if you happen to hit the URL for the context while it's
> > being deployed then the deployment aborts and you have to restart tomcat
> to be
> > able to start that context. Is this a known bug?
> 
> I've been doing this, and this does not happen.

I tracked down the behaviour to the fact that the appBase directory was on a
loaded down NFS server so even though the directory existed, WEB-INF/web.xml
was unavailable.

In any case, I put it on a better NFS server and it worked fine under 4.0.2 --
I upgraded to 4.0.3 running the security manager and left autoDeploy="true" in
server.xml but now apps added to the appBase directory don't get autoDeploy'd
at all, even after checkInterval seconds:

  

Is there something additional I have to configure in 4.0.3 that wasn't in
4.0.2? BugID 3724 which is listed as resolved as of 4.0.1-B1 describes
something similar but under Windows -- I'm running this on FreeBSD.

Any hints?

Thanks,
Adi

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




RE: Tomcat, IIS and JavaService Problem

2002-04-16 Thread Barney Hamish

What driver are you using for your database connections. The most common
cause of Tomcat crashes like you describe is the use of the JDBC-ODBC
bridge.

-Original Message-
From: Daniel Tamborelli Alvarenga [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 6:55 PM
To: Tomcat Users List
Subject: Re: Tomcat, IIS and JavaService Problem


Does anybody knows any kind of bug in Tomcat or JavaService
that can be the reason of this problem?

Thanks

- Original Message - 
From: "Daniel Tamborelli Alvarenga" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 12:53 PM
Subject: Tomcat, IIS and JavaService Problem


Hi,

I am using Tomcat 3.2.3 as service (JavaService) with IIS 5.0/Win2k.
Sometimes Tomcat just stop responding and we must restart it.

Anybody knows what may be causing this problem?

PS: JavaService is configured with HotSpot.

Thank you.



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

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




Re: Tomcat, IIS and JavaService Problem

2002-04-16 Thread Daniel Tamborelli Alvarenga

Does anybody knows any kind of bug in Tomcat or JavaService
that can be the reason of this problem?

Thanks

- Original Message - 
From: "Daniel Tamborelli Alvarenga" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 12:53 PM
Subject: Tomcat, IIS and JavaService Problem


Hi,

I am using Tomcat 3.2.3 as service (JavaService) with IIS 5.0/Win2k.
Sometimes Tomcat just stop responding and we must restart it.

Anybody knows what may be causing this problem?

PS: JavaService is configured with HotSpot.

Thank you.



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




Tomcat 3.2.4 and Apache 2.0.35 question

2002-04-16 Thread Stuart Morse

Hi All,

I have successfully had Apache and Tomcat working together on Windows 98
and FreeBSD using mod_jserv. I'm trying to do the same thing on NT 4.0
Workstation using mod_jk. I have added the line:

  Include c:/Program Files/Tomcat/conf/mod_jk.conf-auto

at the end of my httpd.conf file and have placed the mod_jk.dll file from
the Apache site in the modules directory under the Apache home directory.
I have defined the environment variables JAVA_HOME and TOMCAT_HOME.
Both Apache and Tomcat operate fine in stand-alone mode, but when I include
the line above in httpd.conf a dialog is displayed when I try and start 
Apache saying:

  The requested operation has failed!

I can't find an error message anywhere that would give me a clue about 
what went wrong. Even when I provide an empty mod_jk.conf-auto file I get
the same message.

Any ideas?

Regards,

Stuart


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




Re: Apache serving static content

2002-04-16 Thread Gabriel Maffia

Do you mean, that you don´t need no additional configuration to make this
work?

- Original Message -
From: "Ken Anderson" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 1:37 PM
Subject: Re: Apache serving static content


> mod_webapp already works this way. That's the whole point of using it
> with Apache, right?
> See http://dcb.sun.com/practices/howtos/tomcat_apache.jsp
> Ken
>
> > Hello Again:
> >
> > I know I can be kinda annoying, but I really need to know if someone
could
> > make mod_webapp + warp configuration to serve only dynamic content, and
> > apache serve only the static content.
> >  If not, does anyone know where can I find a reference for mod_webapp?
> > Because it seems like there is no detailed documentation on how to use
it.
> >
> >
> > Thanks a LOT!
> >
> >
> > Gabriel Maffia
> >
> >
> >
>
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 


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




Re: Apache serving static content

2002-04-16 Thread Ken Anderson

mod_webapp already works this way. That's the whole point of using it 
with Apache, right?
See http://dcb.sun.com/practices/howtos/tomcat_apache.jsp
Ken

> Hello Again:
> 
> I know I can be kinda annoying, but I really need to know if someone could
> make mod_webapp + warp configuration to serve only dynamic content, and
> apache serve only the static content.
>  If not, does anyone know where can I find a reference for mod_webapp?
> Because it seems like there is no detailed documentation on how to use it.
> 
> 
> Thanks a LOT!
> 
> 
> Gabriel Maffia
> 
> 
> 


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




How to install Tomcat on network -- is there any network version of Tomcat

2002-04-16 Thread Uma Munugala

Hi All
Iam working on Tomcat 4.0.3 standalone. It works well. I want to install
tomcat 4.0.3 on network so that other developers can access.
How do I do that. Do I need to configure in some different way or is there
any different copy of Tomcat 4.0.3 for network.

Can any body help me.


Thanks
Uma

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




AW: mod_webapp, tomcat 4.0.3, apache 2.0.35 question

2002-04-16 Thread O. Gross - Principio

hi,

instead of WebAppDeploy servlet warpConnection /servlet try WebAppDeploy
servlet warpConnection /
best within the configuration of the virtual host (if any).

greetings
olaf



-Ursprungliche Nachricht-
Von: Georg Huettenegger [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 16. April 2002 17:31
An: [EMAIL PROTECTED]
Betreff: mod_webapp, tomcat 4.0.3, apache 2.0.35 question


hi,

i have installed the named versions von solaris 2.6 and it does run
successfully. but there are major problems i am having:

o) the application i am trying to execute calls all servlets with
/servlet/login for example. therefore i have set up the following line in
my httpd.conf:
 WebAppDeploy servlet warpConnection /servlet
i have a corresponding servlet directory in the webapps directory of
tomcat and in principal the setup works. BUT i have to use
http://localhost/servlet/servlet/login to get my servlet executed.

can somebody tell me what i need to change so that
http://localhost/servlet/login itself will work (but still having the
possibility that apache is serving http://localhost/images/x.gif by
itself)?

o) more a tomcat setup question: i have a lot of java servlets as .class
files. how do i instruct tomcat to execute these servlets without
explicitly naming them in a web.xml file?

i am not sure whether the following did achieve it in tomcat 3 and whether
it still does work in tomcat 4 (would be part of server.xml):



o) mod_jk allows to have *.jsp files being served by tomcat and *.html
files being served by apache in one and the same directory. i have read
that with mod_webapp i would need a filtering functionality of tomcat to
achieve the same behavour. is that correct and what would i need to do?

hope you can help me with my pressing problems.

bye,
 georg


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


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




Re: Apache serving static content

2002-04-16 Thread James Williamson

Gabriel,

I wrote a quick patch a while ago for mod_webapp that lets you
specify patterns to ignore (i.e. the request never sees Tomcat).
 So apply the patch and recompile, and  in your httpd.conf file use
WebAppIgnore directives to tell mod_webapp which patterns to ignore.

i.e.
WebAppIgnore *.html
WebAppIgnore /cgi-bin/*

I haven't thoroughly tested it so would be pleased to know
how you get on. Please find the patch attached. I would submit
to the developers except I need to fix a few problems with it
(You must put the WebAppIgnore's after you've declared your application).

Regards,

James Williamson

www.nameonthe.net
UK Tomcat Hosting

- Original Message -
From: Gabriel Maffia <[EMAIL PROTECTED]>
To: Tomcat Users List Service <[EMAIL PROTECTED]>
Sent: Tuesday, March 19, 2002 5:07 PM
Subject: Apache serving static content


Hello Again:

I know I can be kinda annoying, but I really need to know if someone could
make mod_webapp + warp configuration to serve only dynamic content, and
apache serve only the static content.
 If not, does anyone know where can I find a reference for mod_webapp?
Because it seems like there is no detailed documentation on how to use it.


Thanks a LOT!


Gabriel Maffia





mod_webapp.patch
Description: Binary data

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


Apache serving static content

2002-04-16 Thread Gabriel Maffia

Hello Again:

I know I can be kinda annoying, but I really need to know if someone could make 
mod_webapp + warp configuration to serve only dynamic content, and apache serve only 
the static content.
 If not, does anyone know where can I find a reference for mod_webapp? Because it 
seems like there is no detailed documentation on how to use it.


Thanks a LOT!


Gabriel Maffia




RE: Mysql pooling datasource in tomcat 4

2002-04-16 Thread daryn nakhuda

Excellent, thanks a lot!

I ended up using Protomatter's jdbc pooling (
http://protomatter.sourceforge.net ) and it seems to be doing the trick.



-Original Message-
From: Steven Elliott [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 2:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Mysql pooling datasource in tomcat 4


 original message
> From: Daryn Nakhuda <[EMAIL PROTECTED]>
> Date: Mon, 15 Apr 2002 11:43:57 -0700 (PDT)
> To: [EMAIL PROTECTED]
> Subject: Mysql pooling datasource in tomcat 4
>
>
> Has any one had success creating a pooling datasource for mysql in tomcat
> 4?
>
> I was able to successfully create a functional datasource jdni resource
> based on the instructions in the jndi resources HOW-TO

Unfortunately by using the Tomcat (4.0.x) default JNDI datasource factory
(aka Tyrex) you not only do not have a pool manager interface but you don't
have a pool.  The Tyrex factory only sets up one physical connection and one
pool instance AFAIK.

In order to create a pool you either can use the jakarta-commons DBCP
factory or write your own implementation.  Craig McClanahan recently posted
this DBCP implementation which works with TC 4.0.x.

 Craig's post
> It should be possible to use the DBCP based pool even with Tomcat 4.0.x by
> overriding the default JNDI factory for javax.sql.DataSource objects (I
> haven't tested this, but in theory it should all work).
> This requires the following steps:
>
> * Download recent nightly builds of the Collections, Pool, and DBCP
> packages from Jakarta Commons
> (http://jakarta.apache.org/builds/jakarta-commons/nightly/) and put
> the JAR files into $CATALINA_HOME/common/lib along with your JDBC
> driver.
>
> * Configure the "factory" parameter in the  element
> to set the JNDI ObjectFactory class for this resource:
>
>   
> 
>   factory
>   org.apache.commons.dbcp.BasicDataSourceFactory
> 
> ... other configuration parameters ...
>   
>
> * Configure the other parameter values of the  element
> from the list of supported properties below:
> - driverClassName - Fully qualified Java class name of the JDBC driver
> - maxActive   - Maximum number of active connections at one time
> - maxIdle - Maximum number of idle connections at one time
> (if more are returned to the pool, they will be
> closed to release database resources)
> - maxWait - Number of milliseconds the pool will wait when there
> are no available connections before causing
> getConnection() to throw an exception
> - password- Database password
> - url - Connection URL (also accepts "driverName" for
> backwards compatibility)
> - user- Database username
> - validationQuery - Optional SQL SELECT statement used to validate a
> connection before returning it to the application
> (must return at least one row).  This is helpful
> in catching stale connections because of timeouts
> or recycling of the database without stopping
> Tomcat.
>
> Alternatively, you can use any other connection pool you like, if you
> create your own javax.naming.spi.ObjectFactory implementation class (the
> JNDI object factory interface) and registering its name with the "factory"
> parameter.  Documentation is in the JNDI Specification and the
> corresponding Service Provider Interface document, at:
>
> http://java.sun.com/products/jndi/docs.html

As I said this implementation works fine for TC 4.0.x. and as Craig mentions
the DBCP BasicDataSourceFactory class is a good model for writing your own
implementation.

HTH

Steven

//*
* VTV Learning Corporation
*Los Angeles  -  Boston  -  Lisbon
*   (http://www.vtvLearning.com/)
*/


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


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




AW: AUTHORIZATION HEADER MISSING

2002-04-16 Thread Skladov, Victor

Ralph!

One more question: it seems like my Tomcat runs as Stand Alone service
at the moment.The Module mod_webapp is not implemented.
Do I have to implement mod_webapp so that Tomcat could work with Apache
directly?

-Ursprüngliche Nachricht-
Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 16. April 2002 17:19
An: Tomcat Users List
Betreff: AW: AUTHORIZATION HEADER MISSING


WarpConnector = mod_webapp.

Although mod_webapp intends to be the connector of the 
future, a great part of the group members thinks that 
mod_jk is more reliable.

> -Ursprüngliche Nachricht-
> Von: Skladov, Victor [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 16. April 2002 17:13
> An: Tomcat Users List
> Betreff: AW: AUTHORIZATION HEADER MISSING
> 
> 
> It seems like I use neither mod_webapp nor mod_jk, but WarpConnector
> instead.
> What does it mean? What's the difference?
> 
> Viktor
> 

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

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




How do i setup a webdirectory to process jsp files

2002-04-16 Thread Diego, Emil

I am runnign redhat 7.2 with apache 1.3 and tomcat 4.0.3.

I configured tomcat and apache to use the mod_webapp and testes the examples
directory and it worked ok.
How do I setup my directory /sba on my mebsite to parse the jsp files I want
to place in them.


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]
ph: 305.284.5449
fx: 305.284.3404

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




Tomcat, IIS and JavaService Problem

2002-04-16 Thread Daniel Tamborelli Alvarenga

Hi,

I am using Tomcat 3.2.3 as service (JavaService) with IIS 5.0/Win2k.
Sometimes Tomcat just stop responding and we must restart it.

Anybody knows what may be causing this problem?

PS: JavaService is configured with HotSpot.

Thank you.


Daniel Tamborelli Alvarenga
Open Dimensions - Internet Commerce Solutions
55 11 5505 1144
[EMAIL PROTECTED]



RE: Problems with Oracle/JNDI/ConnectionPoolDataSource

2002-04-16 Thread Bryan Austad

I tried the configuration that you are using and could not get it to work.
Is the databaseName in server.xml the service name (SID)?  I tried using the
SID and the tns name there and still got a null when calling to retrieve the
datasource or PooledConnectionDataSource.  Tyrex is working just fine, I
just can't get Oracle pooled connections.  Is there anything else needed
besides what you added in this email?

tks
Bryan

-Original Message-
From: Eichfelder, Frank [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 7:12 AM
To: [EMAIL PROTECTED]
Subject: Problems with Oracle/JNDI/ConnectionPoolDataSource


Hi,

I finally managed to get the JNDI-DataSource to work with Tomcat 4.0.3.
Here the setting of server.xml:


  

factoryoracle.jdbc.pool.OracleDataSourceFacto
ry
userxxx
passwordxxx

driverTypethin

serverNameserver

portNumberport

databaseNamedbName
  

Now, I added the following in my web.xml:


description
jdbc/BuergerPortalDb
oracle.jdbc.pool.OracleConnectionPoolDataSource
Container
Shareable
  

And finally, in the Java-File I added:

Context initCtx = new InitialContext();

  Context envCtx = (Context) initCtx.lookup("java:comp/env");
  ConnectionPoolDataSource cpds = (ConnectionPoolDataSource)
envCtx.lookup("jdbc/BuergerPortalDb");

  PooledConnection pconn = cpds.getPooledConnection("xxx", "xxx");

  Connection conn = pconn.getConnection();

And, you won't believe it, it really works!!!

But there's one odd point I want to correct:
The User/Password-Setting in the server.xml file is always ignored - I have
always to pass these two parameters when calling
getPooledConnection("name", "password");

If I call getPooledConnection() without these two parameters, I get some
nice exceptions.

Now it is quite tedious to store the user/password-combination in the
source-code, if you could store it in the server.xml...

Has anybody an idea how to make it work via server.xml only?

Frank

mailto:[EMAIL PROTECTED]

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


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




Re: Tomcat 4.0.3 + Apache 2.0.32

2002-04-16 Thread Pascal Forget

Bhide, Atul wrote:

>
>The problem is solved. I compiled the latest version 4.0.4.b1 version of the
>tomcat-connectors and it works now.
>
You did succeed, that's fantastic!  

My name is Pascal Forget and I wrote a little howto on how to setup
Apache 1.3.23 + mod_jk + tomcat + load balancer a while ago.
www.ubeans.com/tomcat

I want to update my howto for Apache 2.0, and the only thing I could
not get to work is the compilation step for mod_jk.

Would you please be kind enough to either provide me with a detailed 
explanation on
how to compile mod_jk, or provide binaries?  I tried to compile mod_jk 
for several
hours yesterday on a Red Hat Linux 7.2 i686 box with the latest patches 
and I always
got error messages about dl_open() and other missing functions.

Ideally, I would like to produce binaries of mod_jk for Linux, FreeBSD, 
Solaris, Windows
and a few other platforms and offer links to these on my web page.

Any help would be greatly appreciated!

Thanks,

Pascal
 


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




mod_webapp, tomcat 4.0.3, apache 2.0.35 question

2002-04-16 Thread Georg Huettenegger

hi,

i have installed the named versions von solaris 2.6 and it does run
successfully. but there are major problems i am having:

o) the application i am trying to execute calls all servlets with
/servlet/login for example. therefore i have set up the following line in
my httpd.conf:
 WebAppDeploy servlet warpConnection /servlet
i have a corresponding servlet directory in the webapps directory of
tomcat and in principal the setup works. BUT i have to use
http://localhost/servlet/servlet/login to get my servlet executed.

can somebody tell me what i need to change so that
http://localhost/servlet/login itself will work (but still having the
possibility that apache is serving http://localhost/images/x.gif by
itself)?

o) more a tomcat setup question: i have a lot of java servlets as .class
files. how do i instruct tomcat to execute these servlets without
explicitly naming them in a web.xml file?

i am not sure whether the following did achieve it in tomcat 3 and whether
it still does work in tomcat 4 (would be part of server.xml):



o) mod_jk allows to have *.jsp files being served by tomcat and *.html
files being served by apache in one and the same directory. i have read
that with mod_webapp i would need a filtering functionality of tomcat to
achieve the same behavour. is that correct and what would i need to do?

hope you can help me with my pressing problems.

bye,
 georg


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




AW: AUTHORIZATION HEADER MISSING

2002-04-16 Thread Ralph Einfeldt

WarpConnector = mod_webapp.

Although mod_webapp intends to be the connector of the 
future, a great part of the group members thinks that 
mod_jk is more reliable.

> -Ursprüngliche Nachricht-
> Von: Skladov, Victor [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 16. April 2002 17:13
> An: Tomcat Users List
> Betreff: AW: AUTHORIZATION HEADER MISSING
> 
> 
> It seems like I use neither mod_webapp nor mod_jk, but WarpConnector
> instead.
> What does it mean? What's the difference?
> 
> Viktor
> 

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




AW: AUTHORIZATION HEADER MISSING

2002-04-16 Thread Skladov, Victor

It seems like I use neither mod_webapp nor mod_jk, but WarpConnector
instead.
What does it mean? What's the difference?

Viktor

-Ursprüngliche Nachricht-
Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 16. April 2002 16:21
An: Tomcat Users List
Betreff: AW: AUTHORIZATION HEADER MISSING


Not surprising, as you work with apache on linux 
(At least your first post said so).

isapi is for microsofts IIS.

Which connector do you use? (mod_webapp or mod_jk)

> -Ursprüngliche Nachricht-
> Von: Skladov, Victor [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 16. April 2002 15:57
> An: Tomcat Users List
> Betreff: AW: AUTHORIZATION HEADER MISSING
 
> I have checked all conf files, haven't even found this word "ISAPI".
 

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

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




setting up a new context in tomcat 4.0.3

2002-04-16 Thread Diego, Emil

I am running redhat linux 7.2 with tomcat 4.0.3.  I setup the warp
connection to integrate tomcat and apache and It works when I test the
examples directory.  I use http://localhost/examples/jsp/ and have no
problems running the examples.

I am trying to setup a new context for a seperate director on my web site.
I have added the content entry and everything starts uyp ok.  But when I try
to browse any of the jsp pages in the /sba directory.  They do not get
processed by the server.  I get the contents of the files displayed in the
browser window.  Anyone have any ideas what I am doing wrong.  I have
included the server.xml file that I am currently using.










  
  

  
  






  
  

  
  

  





















  





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




AW: AUTHORIZATION HEADER MISSING

2002-04-16 Thread Skladov, Victor

Yes, I'm working with apache on Linux and use teh Basic authentication
with .htpasswd programm.

-Ursprüngliche Nachricht-
Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 16. April 2002 16:21
An: Tomcat Users List
Betreff: AW: AUTHORIZATION HEADER MISSING


Not surprising, as you work with apache on linux 
(At least your first post said so).

isapi is for microsofts IIS.

Which connector do you use? (mod_webapp or mod_jk)

> -Ursprüngliche Nachricht-
> Von: Skladov, Victor [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 16. April 2002 15:57
> An: Tomcat Users List
> Betreff: AW: AUTHORIZATION HEADER MISSING
 
> I have checked all conf files, haven't even found this word "ISAPI".
 

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

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




Serving images with Apache

2002-04-16 Thread Gabriel Maffia

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi.

I think I´ve sent this question before, but I´m not sure if it got to
the list.

I´m actually using Tomcat 4.0.1 and Apache 1.3.23, connecting them
through webapp + warp.

We are serving a really heavy application, and I was wondering if
there was a way to make apache serve all the images (.jpg, etc) and
make Tomcat only serve the applications. Should I switch to Mod-Jk?


Thanks in Advance


Gabriel Maffia
Technisys S.R.L.
The first digital e-nabler of Latinamerica

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use 

iQA/AwUBPJdNT70dmyI+ZWfLEQJybACgwGMcSbTBQymm+TroqshGYBfaB+8Ani3A
ye8jvKMUoOyZgJ+6C3N85a6X
=lkJ3
-END PGP SIGNATURE-




Apache 2.0.25 & Tomcat 4.0.3

2002-04-16 Thread Christian Heindl

Hello everybody!

I try to integrate Tomcat 4.0.3 into Apache 2.0.25, but I do not success!
mod_jk is successfully loaded and my tomcat-contexts are well! But when I
try to access a context via my browser I get this error:

handler "jakarta-servlet" not found for: login.jsp

How can i get it work? I have tried to fix the problem with

AddHandler jakarta-servlet .jsp

in httpd.conf, but this does not take effect. Any hints?

Or otherwise: Has anybody of you detailed information about the
webapp-module? The jakarta.apache.org-site is not very good at all. :-(

Thank you for spending time on my problem!
Christian

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




integration with Apache 2.0.35

2002-04-16 Thread D'Elia, Kevin

Helllo,

Has anyone attempted this?  I have used 1.3.x and TCat 3.x both in
conjunction many times in the past, but am not sure what needs to be done in
order to have the same combination for the new releases.

Thanks in advance to all who respond.

Kevin D'Elia

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




RE: AUTHORIZATION HEADER MISSING

2002-04-16 Thread Robert Priest



this is the first post I read, and seems to be the beginning of the thread.
It does not mention
anything about which OS he is running on.


-Original Message-
From: Skladov, Victor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 9:31 AM
To: [EMAIL PROTECTED]
Subject: AUTHORIZATION HEADER MISSING


Hi!

In my request header there's no Authorization header, although the
authorization mechanism itself works ( a pop-up login dialog is being
shown and after login I receive the access to my pages).
Can anybody tell me why? Have I forgotten some settings in my config
files?

Thanks for any help!

Regards,
Viktor

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

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 10:21 AM
To: Tomcat Users List
Subject: AW: AUTHORIZATION HEADER MISSING


Not surprising, as you work with apache on linux 
(At least your first post said so).

isapi is for microsofts IIS.

Which connector do you use? (mod_webapp or mod_jk)

> -Ursprüngliche Nachricht-
> Von: Skladov, Victor [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 16. April 2002 15:57
> An: Tomcat Users List
> Betreff: AW: AUTHORIZATION HEADER MISSING
 
> I have checked all conf files, haven't even found this word "ISAPI".
 

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

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




Re: PEM TO DER

2002-04-16 Thread John Brayton

To convert a PEM file to a DER file, use the following command (with OpenSSL):

openssl x509 -in [PEM_FILE] -inform PEM -out [DER_FILE] -outform DER

To split the key and certificate into two separate files, I think 
your best bet is to do this manually with a text editor, before doing 
the conversion.  I don't know of a "command" that will do that for 
you.

John

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




Applet AWT Question...?

2002-04-16 Thread Stuart Stephen

This is a bit off topic, sorry guys

I'm writing an applet that needs to have images on some components, to do
this though I need to override the paint method and make Button a subclass.

When it comes to the ImageObserver bit I don't know what to put there? Does
anyone know what should go in here to enable this method to work? The code
is below my signature.

Thanks,
Stuart Stephen


public class drawButton extends Button {

...

  public void paint(Graphics g) {
// call super's paint method
super.paint(g);

g.drawImage(image, 0, 0, SOMETHING);
  }

...

}


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




AW: AUTHORIZATION HEADER MISSING

2002-04-16 Thread Ralph Einfeldt

Not surprising, as you work with apache on linux 
(At least your first post said so).

isapi is for microsofts IIS.

Which connector do you use? (mod_webapp or mod_jk)

> -Ursprüngliche Nachricht-
> Von: Skladov, Victor [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 16. April 2002 15:57
> An: Tomcat Users List
> Betreff: AW: AUTHORIZATION HEADER MISSING
 
> I have checked all conf files, haven't even found this word "ISAPI".
 

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




AW: AUTHORIZATION HEADER MISSING

2002-04-16 Thread Skladov, Victor

I have checked all conf files, haven't even found this word "ISAPI".

-Ursprüngliche Nachricht-
Von: Robert Priest [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 16. April 2002 15:50
An: 'Tomcat Users List'
Betreff: RE: AUTHORIZATION HEADER MISSING


Just wondering. 
There are issues with the isapi filter that are similar to yours.

-Original Message-
From: Skladov, Victor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 9:47 AM
To: Tomcat Users List
Subject: AW: AUTHORIZATION HEADER MISSING


No, I don't! 

-Ursprüngliche Nachricht-
Von: Robert Priest [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 16. April 2002 15:33
An: 'Tomcat Users List'
Betreff: RE: AUTHORIZATION HEADER MISSING


Viktor,

Are you using the ISAPI Filter?



-Original Message-
From: Skladov, Victor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 9:31 AM
To: [EMAIL PROTECTED]
Subject: AUTHORIZATION HEADER MISSING


Hi!

In my request header there's no Authorization header, although the
authorization mechanism itself works ( a pop-up login dialog is being
shown and after login I receive the access to my pages).
Can anybody tell me why? Have I forgotten some settings in my config
files?

Thanks for any help!

Regards,
Viktor

--
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: 

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

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




Apache, Tomcat and Jboss

2002-04-16 Thread Sefton, Adam

Hi,

Has anyone managed to configure the above to work in tandem (apache serving static 
content, tomcat serving jsp/servlets and JBoss for EJBs)? Could you give me some 
pointers as to how on earth this is done?

we're running on Win2k and have a version of JBoss with tomcat already embedded (so 
JBoss starts with Tomcat automatically)

Any help out there? Or pointers to docs that might help (sorry, but I've been trawling 
the web for info for a while now ... I can no longer see the wood for the trees ...)

Thanks

Adam


**
This message may contain information which is confidential or privileged.
If you are not the intended recipient, please advise the sender immediately
by reply e-mail and delete this message and any attachments
without retaining a copy.  

**


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




RE: AUTHORIZATION HEADER MISSING

2002-04-16 Thread Robert Priest

Just wondering. 
There are issues with the isapi filter that are similar to yours.

-Original Message-
From: Skladov, Victor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 9:47 AM
To: Tomcat Users List
Subject: AW: AUTHORIZATION HEADER MISSING


No, I don't! 

-Ursprüngliche Nachricht-
Von: Robert Priest [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 16. April 2002 15:33
An: 'Tomcat Users List'
Betreff: RE: AUTHORIZATION HEADER MISSING


Viktor,

Are you using the ISAPI Filter?



-Original Message-
From: Skladov, Victor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 9:31 AM
To: [EMAIL PROTECTED]
Subject: AUTHORIZATION HEADER MISSING


Hi!

In my request header there's no Authorization header, although the
authorization mechanism itself works ( a pop-up login dialog is being
shown and after login I receive the access to my pages).
Can anybody tell me why? Have I forgotten some settings in my config
files?

Thanks for any help!

Regards,
Viktor

--
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: 

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




AW: AUTHORIZATION HEADER MISSING

2002-04-16 Thread Skladov, Victor

No, I don't! 

-Ursprüngliche Nachricht-
Von: Robert Priest [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 16. April 2002 15:33
An: 'Tomcat Users List'
Betreff: RE: AUTHORIZATION HEADER MISSING


Viktor,

Are you using the ISAPI Filter?



-Original Message-
From: Skladov, Victor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 9:31 AM
To: [EMAIL PROTECTED]
Subject: AUTHORIZATION HEADER MISSING


Hi!

In my request header there's no Authorization header, although the
authorization mechanism itself works ( a pop-up login dialog is being
shown and after login I receive the access to my pages).
Can anybody tell me why? Have I forgotten some settings in my config
files?

Thanks for any help!

Regards,
Viktor

--
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: 




RE: AUTHORIZATION HEADER MISSING

2002-04-16 Thread Robert Priest

Viktor,

Are you using the ISAPI Filter?



-Original Message-
From: Skladov, Victor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 9:31 AM
To: [EMAIL PROTECTED]
Subject: AUTHORIZATION HEADER MISSING


Hi!

In my request header there's no Authorization header, although the
authorization mechanism itself works ( a pop-up login dialog is being
shown and after login I receive the access to my pages).
Can anybody tell me why? Have I forgotten some settings in my config
files?

Thanks for any help!

Regards,
Viktor

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

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




AUTHORIZATION HEADER MISSING

2002-04-16 Thread Skladov, Victor

Hi!

In my request header there's no Authorization header, although the
authorization mechanism itself works ( a pop-up login dialog is being
shown and after login I receive the access to my pages).
Can anybody tell me why? Have I forgotten some settings in my config
files?

Thanks for any help!

Regards,
Viktor

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




[Fwd: tomcat 4.0.3 shares the sessions between the same app on ahttp and https instance]

2002-04-16 Thread Ismael Blesa Part



 Original Message 
Subject: tomcat 4.0.3 shares the sessions between the same app on a http
and https instance
Date: Wed, 10 Apr 2002 18:22:18 +0200
From: Ismael <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]



I have tested my webapp with last tomcat 4.0.3. I have uncommented the
ssl section and I have installed my webapp putting the app.war file on
the webapps folder.

My apps has a load-on-startup section that initializes the db connection
and shows the progress on the console, before tomcat 4.0.3 I got an
initialization per server (one for http and another one for https), but
with tomcat 4.0.3 I only gets one for the two connectors (http & https)

I think the servlet context is shared between http and https. I thought
that only orionserver supported this.
Is this a bug ?
Is there a way to make 4.0.3 work as the previous versions (that is
without sharing the webcontext) ?
Is this behavious defined on the standard ?






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




  1   2   >