Re: Is there a clean way to add Custom protocol endpoint to tomcat 5.5

2006-04-28 Thread Bill Barker
"David Gagnon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill Barker wrote: > >>"David Gagnon" <[EMAIL PROTECTED]> wrote in message >>news:[EMAIL PROTECTED] >> >>>Hi all, >>> >>>I need to have my tomcat servers to broadcast their state (custom >>>information) in order for th

Re: Changing tomcat's group

2006-04-28 Thread Bob Hall
--- Aria Bamdad <[EMAIL PROTECTED]> wrote: > > Solved!!! > > The solution is to use the linux group sticky bit to > force any files > created in a directory (and subdirectories) to have > the same group > as the parent. For example let's say there are two > applications, > one for accounting

Re: Changing tomcat's group [OT]

2006-04-28 Thread Bob Hall
--- Aria Bamdad <[EMAIL PROTECTED]> wrote: > On Thu, 27 Apr 2006 20:09:44 -0700 (PDT) Bob Hall > said: > > > >How about making each application owner a member > >of the 'tomcat' group. > > Bob, making each app owner a member of the tomcat > group will allow different > app owners to look at each

Re: can't access database after timcat idle for several hours

2006-04-28 Thread ALEX HYDE
'If' your web srver is firewalled off from your database server and 'if' it turns out that the firewall is timing out your connections at a TCP/IP level, then the Proxool pool could be useful. Gluck --- james edwards <[EMAIL PROTECTED]> wrote: > Opps, sorry I forgot to mention that I am running

Class loading from within a servlet: interface definition not found

2006-04-28 Thread Christopher Piggott
I have something happening with class loading from within a server, and I don't understand it. My servlet defines some classes called: org.something.server -- the class that extends HttpServlet org.something.DatabaseRequestHandler -- an interface When you make a request to the s

RE: can't access database after timcat idle for several hours

2006-04-28 Thread Tim Lucia
Are you using pooling? If so, be sure to have a validation query, in which case timed-out connections will be recycled before handed to your program. i.e.: Tim -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 4:19 PM To: Tomcat Use

Re: can't access database after timcat idle for several hours

2006-04-28 Thread Gustavo Noronha
2006/4/28, David Kerber <[EMAIL PROTECTED]>: Sounds to me like your database is timing out the connection. See if you can extend the timeout so it won't drop it during an overnight lull. This seems probable, indeed. I would recommend setting up some kind of connection checking, that would ma

Re: can't access database after timcat idle for several hours

2006-04-28 Thread David Kerber
Sounds to me like your database is timing out the connection. See if you can extend the timeout so it won't drop it during an overnight lull. james edwards wrote: No, different machines. But, it works all day and works right after a restart of tomcat. j On 4/28/06, ALEX HYDE <[EMAIL PROTEC

Re: can't access database after timcat idle for several hours

2006-04-28 Thread james edwards
Opps, sorry I forgot to mention that I am running continuous pings between the tomcat and database server and not seeing any drops. james

Re: can't access database after timcat idle for several hours

2006-04-28 Thread james edwards
No, different machines. But, it works all day and works right after a restart of tomcat. j On 4/28/06, ALEX HYDE <[EMAIL PROTECTED]> wrote: Are they on the same machine? If not it could be a firewall issue? It could be alot of things but that's a start. --- james edwards <[EMAIL PROTECTED]> w

Re: can't access database after timcat idle for several hours

2006-04-28 Thread ALEX HYDE
Are they on the same machine? If not it could be a firewall issue? It could be alot of things but that's a start. --- james edwards <[EMAIL PROTECTED]> wrote: > I am running 3 servers; Apache, Tomcat (5.5.16, java > version "1.5.0_06", > Informix JDBC-1.3.00.JC3) and Informix (7.31.UD2). > After

Servlet and Tomcat question:

2006-04-28 Thread Adam Lindsey
Hello, Sorry to waste everyone's time with that previous question. I left a print statement in my program for a boolean variable to check its status while troubleshooting. I removed it and the DOS server screen no longer displays 'false' across the screen. Duh. Carry on.. ---

can't access database after timcat idle for several hours

2006-04-28 Thread james edwards
I am running 3 servers; Apache, Tomcat (5.5.16, java version "1.5.0_06", Informix JDBC-1.3.00.JC3) and Informix (7.31.UD2). After the app has been idle for several hours tomcat cannot access the database. Netstat shows not connections to the database and tcpdump shows no traffic at all going the d

Re: Changing tomcat's group

2006-04-28 Thread Aria Bamdad
Solved!!! The solution is to use the linux group sticky bit to force any files created in a directory (and subdirectories) to have the same group as the parent. For example let's say there are two applications, one for accounting and one for payroll. If you create a directory for accounting and

RE:Blank Page after tomcat install

2006-04-28 Thread Steven Peacock
Daren, Steve, and David, Thanks for the response. 1) I am just doing a straight tomcat, no web server. 2) The logs seem to be useless in this case. However I will post them at the end of my message. 3) I've messed around a little more and become more confused. First I was trying to get 5.5.17

Re: Changing tomcat's group [OT]

2006-04-28 Thread Aria Bamdad
On Thu, 27 Apr 2006 20:09:44 -0700 (PDT) Bob Hall said: > >How about making each application owner a member >of the 'tomcat' group. Bob, making each app owner a member of the tomcat group will allow different app owners to look at each other's files. For security, I need to keep each applications

Re: Changing tomcat's group

2006-04-28 Thread Aria Bamdad
On Thu, 27 Apr 2006 19:08:27 -0500 you said: >On Thu, Apr 27, 2006 at 04:55:40PM -0400, Aria Bamdad wrote: >> I have several applications running in different directories. Each >> application is owned by a different linux owner/group. In order for >> Tomcat to be able to read these files to serve

RE: Restricting access to Tomcat

2006-04-28 Thread Tim Lucia
This is a networking exercise. -Original Message- From: Chris Lear [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 8:20 AM To: Tomcat Users List Subject: Re: Restricting access to Tomcat * Edward Quick wrote (28/04/06 13:07): >>* Edward Quick wrote (28/04/06 10:53): >> > >> >> >

Re: Restricting access to Tomcat

2006-04-28 Thread Chris Lear
* Edward Quick wrote (28/04/06 13:07): >>* Edward Quick wrote (28/04/06 10:53): >> > >> >> > >> >> > I have an Apache mod_jk Tomcat server set up on the same host, and [...] > > Thanks, I know what you mean but my problem is the Apache is not on the same > box as the Tomcat. Sorry. I misunderst

Re: Restricting access to Tomcat

2006-04-28 Thread Edward Quick
* Edward Quick wrote (28/04/06 10:53): > >> > Hi, >> > >> > I have an Apache mod_jk Tomcat server set up on the same host, and want >>to >> > restrict access to the Tomcat so that only the Apache on the localhost >>can >> > connect to port 8009. >> > >> > I tried using org.apache.catalina.va

Re: Servlet and Tomcat question

2006-04-28 Thread Franck Borel
Hi Adam, Hello, I noticed something with Tomcat that is probably obvious to everyone but me, but I gotta ask about it. Im a total novice at programming so please be patient. After starting up Tomcat today I began writing a script to use on Tomcat without being connected to the web. The dos

Re: Is there a clean way to add Custom protocol endpoint to tomcat 5.5

2006-04-28 Thread David Gagnon
Bill Barker wrote: "David Gagnon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi all, I need to have my tomcat servers to broadcast their state (custom information) in order for them to collaborate. I look into the cluster code, org.apache.catalina.cluster.mcast.* it a g

Re: i want to know load on Tomcat

2006-04-28 Thread David Smith
As I remember, the same is true of of Tomcat 4.1 -- David tang jie wrote: On 4/27/06, Tim Lucia <[EMAIL PROTECTED]> wrote: Rajeev i need some more Help, I searched in my Tomcat manager but did not find any link of 'server status'. Can u tell where it resides!, i am using

Re: Restricting access to Tomcat

2006-04-28 Thread Chris Lear
* Edward Quick wrote (28/04/06 10:53): > >> > Hi, >> > >> > I have an Apache mod_jk Tomcat server set up on the same host, and want >>to >> > restrict access to the Tomcat so that only the Apache on the localhost >>can >> > connect to port 8009. >> > >> > I tried using org.apache.catalina.valves

Re: Restricting access to Tomcat

2006-04-28 Thread Edward Quick
> Hi, > > I have an Apache mod_jk Tomcat server set up on the same host, and want to > restrict access to the Tomcat so that only the Apache on the localhost can > connect to port 8009. > > I tried using org.apache.catalina.valves.RemoteAddrValve, with > allow="127.0.0.1", but the issue is t

Re: Restricting access to Tomcat

2006-04-28 Thread Chris Lear
* Edward Quick wrote (28/04/06 09:09): > Hi, > > I have an Apache mod_jk Tomcat server set up on the same host, and want to > restrict access to the Tomcat so that only the Apache on the localhost can > connect to port 8009. > > I tried using org.apache.catalina.valves.RemoteAddrValve, with >

Restricting access to Tomcat

2006-04-28 Thread Edward Quick
Hi, I have an Apache mod_jk Tomcat server set up on the same host, and want to restrict access to the Tomcat so that only the Apache on the localhost can connect to port 8009. I tried using org.apache.catalina.valves.RemoteAddrValve, with allow="127.0.0.1", but the issue is that Tomcat picks

Tomcat 4.1.30 - Languages of messages are mixed up

2006-04-28 Thread Fleissner Helmut
After starting Tomcat 4.1.30 the language of messages are mixed up (between English/German) in the Web-Application (s). This problem occurs not always, but sometimes! The Web-Application uses struts. The standard-language is German (msg.properties). The Server is installed in English (Windows 2000