Re: Tomcat RMI and Eclipse

2003-04-02 Thread Chris Gokey
Sometimes it helps to recreate the exception... URL url = new URL(Group/Tomcat); will result in: java.net.MalformedURLException: no protocol: Group/Tomcat My guess is that since you are getting an java.rmi.ServerException, the exception is being generated on the server after the RMI connection

configuring server.xml with a server with more than 1 IP address

2003-03-26 Thread Chris Gokey
In server.xml, I'm looking for a way to specify both the host name and port used for the Server port=8005 shutdown=SHUTDOWN debug=0 declaration. Something like: Server address=gcmddev.sesda.com port=8005 shutdown=SHUTDOWN debug=0. (similiar to how you would configure the HTTP connector) I'm

Re: SMTP Logger

2003-03-26 Thread Chris Gokey
, Chris Gokey wrote: Date: 25 Mar 2003 21:47:43 -0500 From: Chris Gokey [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: SMTP Logger Hi everyone, Back to this again.. Any help would be very appreciated. I'd

Re: configuring server.xml with a server with more than 1 IPaddress

2003-03-26 Thread Chris Gokey
accessible from the outside (which is a real bad idea), use plug proxy. -Tim Chris Gokey wrote: In server.xml, I'm looking for a way to specify both the host name and port used for the Server port=8005 shutdown=SHUTDOWN debug=0 declaration. Something like: Server address

Re: SMTP Logger

2003-03-25 Thread Chris Gokey
. Chris On Sat, 2003-03-08 at 21:17, Chris Gokey wrote: Is there alternatives to the FileLogger class? !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true

Re: SMTP Logger

2003-03-25 Thread Chris Gokey
Thanks Craig. I just implemented your first appraoch. Although probably the second approach maybe a better choice. Chris On Tue, 2003-03-25 at 22:43, Craig R. McClanahan wrote: On Tue, 25 Mar 2003, Chris Gokey wrote: Date: 25 Mar 2003 21:47:43 -0500 From: Chris Gokey [EMAIL PROTECTED

Re: SMTP Logger

2003-03-09 Thread Chris Gokey
messages and for whatever reason, it seems to have stopped the FileLogger from logging anything. So, I'm obviously doing something wrong :) Any help would be appreciated. In the mean time, I'll keep digging... Thanks, Chris On Sat, 2003-03-08 at 21:17, Chris Gokey wrote: Is there alternatives

Re: SMTP Logger

2003-03-09 Thread Chris Gokey
Sorry, I should mention that I'm using a dated version of Tomcat (4.03) and Redhat 8. Chris On Sun, 2003-03-09 at 17:10, Chris Gokey wrote: I implemented a class that extends org.apache.catalina.Logger that handles emailing log requests to a given recipient (those which are errors anyhow

Re: SMTP Logger

2003-03-09 Thread Chris Gokey
the FileLogger, is it possible to define two loggers (i.e., use the FileLogger and my custom logger)? I'd like for it to still use the FileLogger. Thanks, Chris On Sun, 2003-03-09 at 17:10, Chris Gokey wrote: I implemented a class that extends org.apache.catalina.Logger that handles emailing log requests

SMTP Logger

2003-03-08 Thread Chris Gokey
Is there alternatives to the FileLogger class? !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ I'd like intercept any errors in Tomcat and mail these

Re: [OT] Re: is there a free ide that gets along well with tomcat?

2002-11-21 Thread Chris Gokey
Something also to remember if you are running Linux, you should download the x86/GTK 2 version of it. The MOTIF version is slow and buggy. Unfortunately this isn't obvious and they put the MOTIF version higher in the list of download choices. But we have also experimented with both Eclipse,

RE: Tomcat and CLASSPATH

2002-11-05 Thread Chris gokey
Thanks Justin. Yes, I think you understand me correctly. I think the easiest way to handle a problem like this is for Tomcat to provide something in WEB-INF/web.xml that would let me specify a external classpath outside of the WEB-INF directory. These classes would only be loaded ONLY for this

RE: Tomcat and CLASSPATH

2002-11-04 Thread Chris gokey
be desirable that Tomcat knows when classes change... Andreas On 2 Nov 2002 at 7:52, Chris gokey wrote: Under UNIX it was very convenient for us to create a symbolic link from our WEB-INF/lib and WEB-INF/classes directory to the respective directories in our package that contained

RE: Tomcat and CLASSPATH

2002-11-04 Thread Chris gokey
: RE: Tomcat and CLASSPATH can't you just have ant copy the modified classes(or jar) to WEB-INF? -Original Message- From: Chris gokey [mailto:cgokey;gcmd.nasa.gov] Sent: Monday, November 04, 2002 10:34 AM To: 'Tomcat Users List' Subject: RE: Tomcat and CLASSPATH We never

RE: Tomcat and CLASSPATH

2002-11-04 Thread Chris gokey
is under Tomcat's directory tree. What is the advantage to using symbolic links or an external classpath? I'm not seeing what advantage you would get. John -Original Message- From: Chris gokey [mailto:cgokey;gcmd.nasa.gov] Sent: Monday, November 04, 2002 11:30 AM To: 'Tomcat

RE: Tomcat and CLASSPATH

2002-11-04 Thread Chris gokey
We don't use symbolic links. Everything is under Tomcat's directory tree. What is the advantage to using symbolic links or an external classpath? I'm not seeing what advantage you would get. John -Original Message- From: Chris gokey [mailto:cgokey

Tomcat and CLASSPATH

2002-11-02 Thread Chris gokey
Under UNIX it was very convenient for us to create a symbolic link from our WEB-INF/lib and WEB-INF/classes directory to the respective directories in our package that contained our jars and to the base directory of our package structure (for the purpose of setting up the CLASSPATH). But

Http10Interceptor: SocketException reading request, ignored

2002-03-04 Thread Chris Gokey
Hi... Tomcat 3.3 has been behaving flawlessly for us recently until today, suddenly we are getting: Http10Interceptor: SocketException reading request, ignored Any idea why one would get this error? We recently had a publication go out regarding our system, so our load is probably higher than

How do you debug a servlet?

2002-02-07 Thread Chris Gokey
I've got an application where we are getting large number of hits per day and we are running into a problem with the Tomcat process suddenly taking off and using a huge amount of CPU resources (as much as 98% using top.).. We are using Apache, mod_jk, and Tomcat 3.3 on Solaris 7. Is there a way

Re: mod_webapp.so problems

2001-10-19 Thread Chris Gokey
Chris Huisman wrote: Hello, I am having difficulties getting mod_webapp.so to work. After adding LoadModule, and AddModule to the config file, and running apachectl configtest I get the following results: Syntax error on line 237 of /usr/local/etc/apache/httpd.conf: Cannot load

/apr.h:265: #error Can not determine the proper size for apr_int64_t

2001-09-07 Thread Chris Gokey
Hi... I'm back trying to compile mod_webapp.so for Solaris 7 this time (I was able to sucessfully compile it under Linux two days ago :) . After having to install: autoconf-2.50 libtool-1.3.5 m4-1.4 I was able to run ./support/buildconf.sh and ./configure I'm getting stuck trying to make

Re: /apr.h:265: #error Can not determine the proper size for apr_int64_t

2001-09-07 Thread Chris Gokey
in as a command-line option to configure the path to the apr? Thanks, Chris Pier Fumagalli wrote: Chris Gokey [EMAIL PROTECTED] wrote: Hi... I'm back trying to compile mod_webapp.so for Solaris 7 this time (I was able to sucessfully compile it under Linux two days ago :) . After having to install

Re: /apr.h:265: #error Can not determine the proper size for apr_int64_t

2001-09-07 Thread Chris Gokey
directory? Take care, Chris Pier Fumagalli wrote: Chris Gokey [EMAIL PROTECTED] wrote: Hi... I'm back trying to compile mod_webapp.so for Solaris 7 this time (I was able to sucessfully compile it under Linux two days ago :) . After having to install: autoconf-2.50 libtool-1.3.5 m4-1.4 I

Re: mod_webapp.so: invalid ELF header

2001-09-05 Thread Chris Gokey
: Chris Gokey wrote: I attached the output of the build process, although I don't see any errors.. But that doesn't mean anything :) The error is in the Makefile - I will fix it - I have fixed it. Thanks for responding and taking a look. Chris On Wed, 5 Sep 2001

mod_webapp.so: invalid ELF header

2001-09-04 Thread Chris Gokey
I've downloaded and installed the binary for Tomcat 4.0-b7. I'm now trying to install the mod_webapp connector for apache. I've been able to cvs checkout the latest jakarta-tomcat-connectors/webapps and the apr and build it. When I copy the apache-1.3/mod_webapp.so file into my apache/libexec

servlet mapping not recognized

2001-09-03 Thread Chris Gokey
HI everyone, I just downloaded and installed Tomcat 3.2.3 and trying to setup a servlet mapping. For some reason it does not recognize my mapping at all. Here is what I added to web.xml: servlet servlet-namePyServlet/servlet-name