Tomcat admin webapp only available to localhost

2005-06-08 Thread John C Cartwright

Hello All,

I've installed the admin webapp and it works fine as long as I access 
it as http://localhost:8080/admin, otherwise I get the Tomcat's 
administration web application is no longer installed by default. 
Download and install the admin package to use it. message.


Can someone please tell me how to configure the access to allow other 
hosts in addition to localhost?


I've tried setting the lists of hosts in the Valve element in the 
context fragment.


Thanks!

-- john

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat5 and HttpServletRequest#getSession

2004-03-26 Thread John C Cartwright
Hello All,

I'm a little confused about the creation of new sessions.  I have a 
webapp running (Tomcat 5.0.19), and I can see from a SessionListener 
that the session is timed out - Session destroyed, all attributes 
removed.  So far, so good.  But when a subsequent request is made like 
the following excerpt from a JSP page:

%= request.getSession(false)%

I would have expected to get null as the response, instead I get a
non-null session object (e.g. 
[EMAIL PROTECTED]) and the 
SessionListener reports that a new session was indeed created at the 
time of the JSP request.

So, it seems to me that a session is always created when the 
getSession() method is called regardless of the boolean parameter.

Can someone clarify for me?

Thanks!



-- john

=
John Cartwright
Associate Scientist
Geospatial Data Services Group
CIRES, National Geophysical Data Center/NOAA
(303) 497-6284
[EMAIL PROTECTED]
=
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


problem with mod_jk2 and apache

2002-10-24 Thread John C Cartwright
Hello All,

I seem to be having problems using the mod_jk2.dll with apache2.0.43 on 
win2k.  Complaints about invalid module structure  The mod_jk.dll 
seems to work OK.  Any ideas?

Thanks!

-- john



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




rpms for Tomcat4.0.4

2002-06-24 Thread John C Cartwright

Hello All,

Is anyone planning to build RPMs for 4.0.4 like there were for 4.0.3?

Thanks!

-- john

=
John Cartwright
Associate Scientist
Geospatial Data Services Group
CIRES, National Geophysical Data Center/NOAA
(303) 497-6284
[EMAIL PROTECTED]
=



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Error response

2002-06-11 Thread John C Cartwright

Well, apparently, this is a bug that was thought to be fixed and then 
still shows in 4.0.3.  Supposed to be resolved in 4.0.4.

-- john

John C Cartwright wrote:
 Hello All,
 
 I notice that using tomcat 4.0.3, the error response is not interpreted 
 correctly when the request is routed through apache.
 
 For example, if I request a non-existant servlet from stand-alone 
 tomcat, I get a nicely formatted error page.  If I request the same URL 
 through apache, I get just the text representation of the html page.
 
 I'm using mod_jk as a connector with the ajp13 protocol and mozilla 1.0 
 on a RH7.2 system.
 
 Can anyone point out what I need to change in my configuration?
 
 Thanks!
 
 -- john
 
 
 
 
 -- 
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Error response

2002-06-10 Thread John C Cartwright

Hello All,

I notice that using tomcat 4.0.3, the error response is not interpreted 
correctly when the request is routed through apache.

For example, if I request a non-existant servlet from stand-alone 
tomcat, I get a nicely formatted error page.  If I request the same URL 
through apache, I get just the text representation of the html page.

I'm using mod_jk as a connector with the ajp13 protocol and mozilla 1.0 
on a RH7.2 system.

Can anyone point out what I need to change in my configuration?

Thanks!

-- john




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Oracle JDBC driver must be unpacked?

2002-04-27 Thread John C Cartwright

Hello All,

I'm migrating from Tomcat3.3 to Tomcat4.0.3 and having trouble with my 
oracle connections.  With tomcat3.3, I simply put the oracle jar file 
into WEB-INF/lib.  With Tomcat4, this doesn't work, complaining at 
run-time about driver not found.  I've also tried putting the oracle.jar 
into $CATALINA_HOME/lib and $CATALINA_HOME/common/lib.  The only way 
that the servlet seems to find the driver is if I unpack the jar file 
into WEB-INF/classes.

Can anyone explain what the problem might be?  As an aside, I'm not 
convinced that any classes in WEB-INF/lib are being found.  There was 
another class that the servlet complained could not be found until I 
moved it jar file from WEB-INF to $CATALINA_HOME/lib.

Thanks for your help!


-- john



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