Re: Development Tools

2003-09-10 Thread Marco Tedone
As regards the first question you may want to look at the following product: www.eclipse.org to integrate with the following plugin: http://www.objectlearn.com/index.jsp I can't reply to the second one. Marco - Original Message - From: Nihita [EMAIL PROTECTED] To: Tomcat [EMAIL

Re: Help with JK2 and Apache 2.0.47

2003-09-10 Thread ABDUL BASIT
I am running windows2000 is there still need of the .so file I think that it is for Linux and Unix Thank you for ur response to my mail. I want to use the Tomcat5.0.9 not the Tomcat4.x.x I have Configured Tomcat5.0.9 with Apache2.0.47 on mod_jk2-2.0.43.dll So thank you once again for ur

TC logfiles

2003-09-10 Thread Jerald Powel
Hi, I may have posted this previously, but dont think I was subscribed when I did! Enough of that..apologies if so. I am trying to differentiate Apache and Apache Tomcat in terms of the serving mechanism, and subsequent log files. Of course, Apache is a web server, and Tomcat a

RE: Tomcat 5 clustering

2003-09-10 Thread Ralph Einfeldt
There are two options: - Use sticky session. In this scenario you don't need session sharing to do load balancing, but it would make the system more fail safe. (If one tomcat gets out of service, sticky sessions without session sharing loose all data from the current sessions on this

Re: Active Directory Single Sign-On

2003-09-10 Thread Endre Stølsvik
| Tim mentioned the use of the JCIFS library. I don't think that'd work | either since it'd need to run on the same machine as the browser, which | doesn't seem right. Or perhaps I'm missing something. Now if Tomcat | supported Windows SSO using JCIFS, then that's a different story. I | don't

Re: The function for response.encodeURL....me still not sure

2003-09-10 Thread Christopher Williams
As I said, the URL-rewriting is done by the container to allow you to use HTTP sessions when the user of your site has disabled cookies and it does this by appending ;jessionid=blah-blah-blah to end of your URLs prior to the query string (?blah=stuffjabber=yakka-yakka...). This is all in the

Re: new Aspen Group Email

2003-09-10 Thread Christopher Williams
You need to unsubscribe using your old email address (which you will need to enable so that you can respond to the confirmation email) and then resubscribe using your new address, otherwise you'll generate bounce messages in the mailing list. - Original Message - From: [EMAIL PROTECTED]

SSL Apache/Tomcat encrypting a subdirectory

2003-09-10 Thread Kai Schliemann
Hello list, I have the following problem: I'm running Apache 1.3.27 on Suse Linux 8.2 (Server 1) and Tomcat 4.1.24 on Suse Linux 8.2 (Server 2). I'm using mod_jk as connector for Apache/Tomcat which works fine without SSL-configuration. My JAVA-Webapp is running on Tomcat (Server 2). I can

Re: Tomcat 5 clustering

2003-09-10 Thread Mats Andersson
Can anyone recommend a good solution for an external loadbalancer. I need it to have failover (two physical servers or something) and they must listen on the same IP of course. Another preference is a low price. My actual question is, how do you do these things with Tomcat? Thanks in advance!

RE: The function for response.encodeURL....me still not sure

2003-09-10 Thread Anson Zeall
Thanks a lot, But..for example...if I have a jsp file..that includes another jsp file in it.how can I write it with encodeURL? Doesn't seem to work.. E.g. %@ include file=%= response.encodeURL(header_status_register.jsp) % % doesn't work Anson -Original Message- From:

Unusual network bind on TC 4.1.24 and a JK2 Q

2003-09-10 Thread Nikola Milutinovic
Hi all. Network question -- TC: 4.1.24 OS: Mandrake Linux 9.1 JVM: Sun 1.4.2b java 3600 tomcat4 10u IPv4 4319 TCP *:8009 (LISTEN) java 3600 tomcat4 11u sock0,04317 can't identify protocol java 3600 tomcat4

Re: The function for response.encodeURL....me still not sure

2003-09-10 Thread Jon Wingfield
You don't need to use encodeURL for includes or forwards. These are server side processes and the session has already been determined. The encodeURL tags the *next* client request with the data required to continue a session. HTH, Jon Anson Zeall wrote: Thanks a lot, But..for

Re: method of implementing a 'login' section in a site

2003-09-10 Thread Schalk
Anson I would suggest using session tracking to keep track of this state. Place the user in your session and have a small function run in the head of your pages checking for this. If no username is found then call, session.invalidate and redirect the user back to the login screen. HTH Kind

Re: The function for response.encodeURL....me still not sure

2003-09-10 Thread Christopher Williams
You don't use encodeURL() with the include directive. The include directive takes a relative path straight to the appropriate JSP and has the same effect as, say, #include stdio.h in C code, i.e. the included file is added to your source prior to compilation. You couldn't write C code like the

RE: Upgrading Tomcat to 4.1.27

2003-09-10 Thread Euan Guttridge
Is it considered safe to also move the /work directory from your 24 installation to the 27 installation in order to retain your jsp cache? Thanks -Original Message- From: Tarun Gandhi [mailto:[EMAIL PROTECTED] Sent: 26 August 2003 15:17 To: Tomcat Users List Subject: Re: Upgrading

Re: TC logfiles

2003-09-10 Thread Jon Wingfield
I assume you mean the access logs. Have a look at the contents of TOMCAT_HOME/conf/server.xml and look for a Valve element for the access logs. I'm fairly sure you can make the pattern the same as Analog expects. Here's the reference for the Valve config:

Re: TC logfiles

2003-09-10 Thread Andoni
Hello, Tomcat is only configured through the server.xml file in TOMCT_HOME/conf/server.xml It is the configuration centre for the servlet container and the web-server aspects of Tomcat. If you choose not to use Apache as your front end and want to use Tomcat for this purpose then look in your

Re: Your help is still needed ... (RE: Sessions in Tomcat)

2003-09-10 Thread steph . kimbrough
Classpathes seem to be ok ... remains the question why every click on a button or link let Tomcat start a new session and putting the following things (pages or, in the case of Struts, actions) into that new session context Help me . -

RE: Active Directory Single Sign-On

2003-09-10 Thread Allen Hadden
-Original Message- From: Endre Stølsvik [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 3:45 AM To: Tomcat Users List Subject: Re: Active Directory Single Sign-On | Tim mentioned the use of the JCIFS library. I don't think that'd work | either since it'd need

Re: Encrypt passwords for JNDI Resources (Datasource specifically)

2003-09-10 Thread Tim Funk
From the default distribution of tomcat - there is no way. Just make sure the file is secure. -Tim Jon Wilmoth wrote: I'd like to be able to encrypt the database passwords used in the JDBC pool configuration block. Is this possible in 4.1.27? 5.x? Something as simple as base64 encoding would be

Re: TC as web server

2003-09-10 Thread Tim Funk
This might have some helpful links ... http://jakarta.apache.org/tomcat/faq/ -Tim Jerald Powel wrote: Hello, I am trying to differentiate Apache and Apache Tomcat in terms of the serving mechanism, and subsequent log files. Of course, Apache is a web server, and Tomcat a servlet container,

Re: TC logfiles

2003-09-10 Thread Tim Funk
You can pass in your own custom pattern to the access logs to get any format you desire. The pattern syntax is modeled after the apache access log syntax. You can also have as many access logs as you wish. You can have an access log (or logs of different formats) at the engine, host level or

Re: Puzzling SAXParseException error

2003-09-10 Thread Tim Funk
With the amount of info and config available, I am at a loss. At this point, I would start from a virgin install, make sure that works ok. Then start making incremental changes and wait for things to error. -Tim [EMAIL PROTECTED] wrote: Hiya. Yes, that's what I did before all these troubles

Re: apache httpd hung in W Sending Reply

2003-09-10 Thread tomcat
We've also seen this, and tracked it down to two problems. 1 When the database back end goes 100% busy. The fix for us was to sort the dodgy SQL 2 We ran out of bandwidth. Fix was to buy more :) Sorry, hope that helps Lee On Mon, 8 Sep 2003, Nicholas Ide wrote: Is there no wisdom out

RE : Tomcat and IIS + Index Server - possible ?

2003-09-10 Thread Hertenstein Alain
Hi, Just asking about this topic again, since nobody answered or seems to have an idea... Meanwhile I just had a look on Lucene, but I'm not sure if it can do what I need without -too much- setup and code work. I managed to make it work and search local files, but I don't know if it can search

Error with servlet reload

2003-09-10 Thread Rafael Angarita
Hi, I configured my tomcat server to reload classes automatically on changes, however when I update the .class file I get this error when try to access the page again: HTTP Status 503 - Servlet org.apache.catalina.INVOKER.NewContact is currently unavailable type Status report message

Re: Error with servlet reload

2003-09-10 Thread Tim Funk
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096 -Tim Rafael Angarita wrote: Hi, I configured my tomcat server to reload classes automatically on changes, however when I update the .class file I get this error when try to access the page again: HTTP Status 503 - Servlet

Building/using JK2 - linking problem

2003-09-10 Thread Nikola Milutinovic
Hi all. I have built mod_jk2.so and jkjni.so from the latest tomcat-connectors-jk2-2.0.2. This is my jk2.properties: handler.list=apr,channelUnix,request channelUnix.file = /var/tomcat4/work/jk2.socket shm.file = /var/tomcat4/work/jk2.shm apr.NativeSo =

problem while starting up Tomcat (v 4.1.27)

2003-09-10 Thread Agarwal, Naresh
Hi When I try to start Tomcat (v4.1.27) on HP-UX (v 11.11), I'm getting the following error: hp64 54: ./startup.shUsing CATALINA_BASE: /home1/lveerara/ws/jakarta-tomcat-4.1.27Using CATALINA_HOME: /home1/lveerara/ws/jakarta-tomcat-4.1.27Using CATALINA_TMPDIR:

RE: Active Directory Single Sign-On

2003-09-10 Thread Pitre, Russell
It sounds like we should come up with a de facto way of achieving SSO with Tomcat and NTLM (since there is plenty of M$ workstations out there).Which leads me to believe that a lot of people could very well benefit from this.. I'm required to implement this for our intranet application

RE: Building/using JK2 - linking problem

2003-09-10 Thread Welch, Ronald P
Nikola, I had similar problems with loading shared libraries until I recompiled jk2 after configuring it with the ./configure --with-apxs=/some/path/to/apache2/bin/apxs command suggested in John Turner's Solaris 8 + Tomcat HOWTO, which is, BTW, and excellent resource. I have been able to get

Re: Active Directory Single Sign-On

2003-09-10 Thread Tim Funk
If you are using IIS, IIS can propogate the REMOTE_USER variable for you so that authentication is already done. As for authorization, there is a Valve called NonLoginAuthenticator

RE: problem while starting up Tomcat (v 4.1.27)

2003-09-10 Thread Shapira, Yoav
Howdy, Are you using the sun JVM? If so what exact version? Yoav Shapira Millennium ChemInformatics -Original Message- From: Agarwal, Naresh [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 3:17 AM To: [EMAIL PROTECTED] Cc: Veeraraghavan, Laxminarasimhan Subject: problem

RE: Upgrading Tomcat to 4.1.27

2003-09-10 Thread Shapira, Yoav
Howdy, That's not a good idea. It might work, I'm not sure, but I'd prefer to just install 4.1.27, deploy webapps to it, then start it on some unused port, get all the JSPs compiled, then restart it on the actual user port. Alternatively, use JspC to compile to JSPs offline ;) Yoav Shapira

RE: The function for response.encodeURL....me still not sure

2003-09-10 Thread Anson Zeall
Hi guys, Thanks a lot Jon and Chris. I'm very new to JSP...so...barely with me for the stupid questions. I don't mind being called stupid...i'll learn =P haha... Anson -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 7:53 PM To: Tomcat

RE: Your help is still needed ... (RE: Sessions in Tomcat)

2003-09-10 Thread Shapira, Yoav
Howdy, Classpathes seem to be ok ... remains the question why every click on a button or link let Tomcat start a new session and putting the following things (pages or, in the case of Struts, actions) into that new session context Help me . I've already helped as much as I can ;)

Pb with symbolic link

2003-09-10 Thread Samuel Le Berrigaud
Hi everyone, I have a problem upgrading my Tomcat from 4.0.6 to 4.1.27. I had a symbolic link in a webapp context referencing some place outside this context, and had no probleme with tomcat 4.0 to access the files under the referenced folder. I upgraded my tomcat, every thing works fine

Annoying taglib problem

2003-09-10 Thread Thomas Hehl
I have never used taglibs before. Be warned!:) New setup of tomcat 4.12. The tag itself is stored in WEB-INF/lib/forerunner-webapps.jar, but the error is the same whether the jar file is there or not. I simply don't know where to look next. I am getting the following error (edited):

Re: Pb with symbolic link

2003-09-10 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#symlink ?? -Tim Samuel Le Berrigaud wrote: Hi everyone, I have a problem upgrading my Tomcat from 4.0.6 to 4.1.27. I had a symbolic link in a webapp context referencing some place outside this context, and had no probleme with tomcat 4.0 to

RE: Pb with symbolic link

2003-09-10 Thread Brandon M. Blank
In your context definition, add the following: Resources allowLinking=true/ Good Luck! -Original Message- From: Samuel Le Berrigaud [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 8:30 AM To: Tomcat Users List Subject: Pb with symbolic link Hi everyone, I have a problem

new Aspen Group Email

2003-09-10 Thread gatkin
Due to problems with SPAM, [EMAIL PROTECTED] has been discontinued. Please note my new email address. To prevent automated systems from obtaining my new email address, I will spell out the @ symbol. Please send all future email to: gordon[at]aspengroup.net

RE: Tomcat 5 clustering

2003-09-10 Thread Filip Hanik
for software, balance.sourceforge.net is excellent for hardware, be prepared to spend some cash Filip -Original Message- From: Mats Andersson [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 1:50 AM To: Tomcat Users List Subject: Re: Tomcat 5 clustering Can anyone

Re: Tomcat 5 clustering

2003-09-10 Thread Remy Maucherat
Filip Hanik wrote: for software, balance.sourceforge.net is excellent There are no docs at all, but I was wondering about that project. Does it do session affinity ? Can you give more details since you've been using it ? -- x Rémy Maucherat Senior Developer

RE: Pb with symbolic link

2003-09-10 Thread Brandon M. Blank
Sure, In your server.xml configuration, your context is defined by default as follows: Context path= docBase=ROOT debug=0/ To allow the use of symlinks, use this: Context path= docBase=ROOT debug=0 Resources allowLinking=true /Context Obviously change parameters as necessary for

Re: Annoying taglib problem

2003-09-10 Thread Jon Wingfield
Put a taglib entry in your web.xml: taglib taglib-uriyour_uri_here/taglib-uri taglib-location/WEB-INF/taglib.tld/taglib-location /taglib and change your jsp page: %@ taglib uri=your_uri_here prefix=ft % As per section JSP.7.3.6.3 of the JSP 1.2 specification, available here:

Re: Tomcat 5 clustering

2003-09-10 Thread Mats Andersson
Thank you for your answers Filip! I have now successfully tried the cluster configuration in Tomcat5 with a simple webapp. About the balance product, I cannot use it because I'm on windows, but thanks anyway. Maybe my next project will be running on Linux. Mats Filip Hanik wrote: for

RE: Pb with symbolic link

2003-09-10 Thread Brandon M. Blank
Oops.. small typo in my last post: Don't forget to add the closing / in the Resources directive. Eg: Resources allowLinking=true should be Resources allowLinking=true/ -Original Message- From: Brandon M. Blank [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 9:48 AM To:

Custom Resource Factory

2003-09-10 Thread Pitre, Russell
Does anyone know where I can find additional information on building a custom resource factory other than this? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.htm l I'm looking to build a resource factory that will give me a reference to another class that will make

Re: Pb with symbolic link

2003-09-10 Thread Samuel Le Berrigaud
Hi, this doesn't work . My webapp is , for example, called foo.war and deployed in $CATALINA_BASE/webapps and I would like $CATALINA_BASE/webapps/foo/bar to be a sym link to /home/foo/bar. What then exactly should be in server.xml ? Thanks in advance, SaM Brandon M. Blank wrote: Oops..

Re: setting the trust store

2003-09-10 Thread Jon Roberts
Problem solved. I was using the same dn for the CA cert as for the server cert and I think that's where it was failing. Jon Roberts www.mentata.com Jon Roberts wrote: I am writing a servlet that connects to remote servers using SSL sockets. Although I can create SSL connections to these servers

Running external processes...

2003-09-10 Thread Martin Mauri
Hi, I'm building a webapp with JSP and I need to run an external shell process on Linux...I don't know if this is implemented by the Servlet/JSP API , can I call it in the normal way like System.exec()?? or it won't worj? thanks! Martin

JSP problem

2003-09-10 Thread Michele Neylon:: Blacknight Solutions
Hi all We ran into a rather odd problem earlier today. Tomcat stopped serving JSP, though it continued to serve servlets. Stopping and restarting did not solve the problem. We 'solved' it by emptying the 'work' directory. The setup is Apache 2 with Tomcat 4.1.24 connecting using mod_jk - virtual

RE: Running external processes...

2003-09-10 Thread Shapira, Yoav
Howdy, This is generally a bad idea (you can search this list's archives for more details). The Servlet/JSP APIs do not provide for this, so you have to use System.exec(...). This will work if the security manager allows it, so that's up to your server administrator. Yoav Shapira Millennium

Re: JSP problem

2003-09-10 Thread Tim Funk
Did you run out of disk? -Tim Michele Neylon:: Blacknight Solutions wrote: Hi all We ran into a rather odd problem earlier today. Tomcat stopped serving JSP, though it continued to serve servlets. Stopping and restarting did not solve the problem. We 'solved' it by emptying the 'work'

Re: Running external processes...

2003-09-10 Thread Christopher St. John
Martin Mauri wrote: I'm building a webapp with JSP and I need to run an external shell process on Linux...I don't know if this is implemented by the Servlet/JSP API , can I call it in the normal way like System.exec()?? or it won't worj? It depends on the security settings. Out of the box on

RE: JSP problem

2003-09-10 Thread Michele Neylon:: Blacknight Solutions
Did you run out of disk? -Tim No. I wish we had :-) (at least that would make sense!) Mr. Michele Neylon Blacknight Solutions http://www.blacknightsolutions.ie/ Probably the cheapest ie's in Ireland Tel. +353 (0)59 9139897 Fax. +353 (0)59 9139897

Re: JSP problem

2003-09-10 Thread Tim Funk
Are the permissions of the userid running tomcat and directory structure correct? For example, I usually run tomcat as userid tomcat (or similar), but occassionally a sysadmin will restart tomcat as root. On the next restart - some files might be still owned by root and then ... bad things

RE: JSP problem

2003-09-10 Thread Michele Neylon:: Blacknight Solutions
Are the permissions of the userid running tomcat and directory structure correct? For example, I usually run tomcat as userid tomcat (or similar), but occassionally a sysadmin will restart tomcat as root. On the next restart - some files might be still owned by root and then ... bad

Re: Annoying taglib problem

2003-09-10 Thread Thomas Hehl
I started with that, and it produced the same results. I then coded it as it is to eliminate the web.xml from being the problem. --- Jon Wingfield [EMAIL PROTECTED] wrote: Put a taglib entry in your web.xml: taglib taglib-uriyour_uri_here/taglib-uri

content type charset

2003-09-10 Thread aaz
Hi, We are using Tomcat 4.1.24 and jdk 1.4.1. And are having problems getting the HTTP headers returned from Tomcat to return the correct charset we need to display our utf-8 encoded database data. (right now our text has all the ? chars in it in place of the special chars) We need tomcat to

Re: Tomcat 5 clustering

2003-09-10 Thread David Rees
Mats Andersson wrote: Can anyone recommend a good solution for an external loadbalancer. I need it to have failover (two physical servers or something) and they must listen on the same IP of course. Another preference is a low price. My actual question is, how do you do these things with Tomcat?

RE: JSP problem

2003-09-10 Thread Michele Neylon:: Blacknight Solutions
Are the permissions of the userid running tomcat and directory structure correct? For example, I usually run tomcat as userid tomcat (or similar), but occassionally a sysadmin will restart tomcat as root. On the next restart - some files might be still owned by root and then ... bad

Request Too Large

2003-09-10 Thread chanan braunstein
Good Morning, I need to build a page that accepts a POST from a flash program. So far my page has nothing in it other then some debugging code: ArrayList rpd = new ArrayList(); Enumeration names; for(names = req.getParameterNames(); names.hasMoreElements();) { ArrayList data = new

Re: Tomcat 5 clustering

2003-09-10 Thread David Rees
Filip Hanik wrote: distributable/ should be set in web.xml according to the latest servlet spec feel free to contact me with any problems you might have, several companies are using Tomcat 4.x replication in production already Filip, Where is the latest code for Tomcat 4.x session replication?

Re: Annoying taglib problem

2003-09-10 Thread Jon Wingfield
Oops. Right you are. Didn't read the error message ;( Looks like the taglibs dtd wasn't found. Try ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE taglib PUBLIC -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2/EN http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd; at the start of your tablib

RE: Development Tools

2003-09-10 Thread Goehring, Chuck Mr., RCI - San Diego
Nihita, I use eclipse for applet and application development. But for servlet writing, I use jcreator (http://www.jcreator.com/). The free version does not have debugger support but is small, Java version independent, easy/fast to install and doesn't use up 40mb of memory when it runs. It

Tomcat + WebStart

2003-09-10 Thread Finn, Michael
Is anyone successfully using WebStart 1.2 with Tomcat 4.1.x? I am using Tomcat under JBoss, but that *should* be irrelevant here. We are having a problem deploying a WebStart (1.2) application on JBoss 3.2.2RC3 (w/ Tomcat 4.1.27). When the JNLP file is downloaded, WebStart errors out, saying it

tomcat 4.03 wont start

2003-09-10 Thread Fred Sells
I'm running tomcat 4.03 under windows 2000. Yesterday it worked just fine; today it won't start. just flashes the dos window for a second and dies. No log generated. I even reinstalled. I made no changes to tomcat, was working on jboss stuff the last few days. do not have jboss running now

RE: problem while starting up Tomcat (v 4.1.27)

2003-09-10 Thread Agarwal, Naresh
Hi Shapira The details of JVM i'm using are as follows: java version 1.3.1.02 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.02-011206-02:17) Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.10-_30_jun_2003_11_52 PA2.0, mixed mode) thanks, Naresh -Original Message- From:

RE: tomcat 4.03 wont start

2003-09-10 Thread Shapira, Yoav
Howdy, I have no idea about your problem: start it with catalina.sh run instead of start to keep the console window around, see if there are any error messages there. Please subscribe to the list if you want to use it -- I'm getting tired of moderating the hundreds of junk messages every day for

RE: problem while starting up Tomcat (v 4.1.27)

2003-09-10 Thread Shapira, Yoav
Howdy, Is that a release build or some sort of test/beta? On the JDK web site (http://java.sun.com/j2se/1.3/) it says 1.3.1_09 is the latest stable build: have you tried that? Have you tried JDK 1.4.2? If so, does it work? I'm asking all these because this appears to be an internal JVM

RE: tomcat 4.03 wont start

2003-09-10 Thread Michele Emmi
Fred, I have run into this trying to start the program from the shortcuts. Try starting the program from the command line. Michele From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: tomcat

Ant reload task does not work with Tomcat 4.1.27

2003-09-10 Thread Tarek M. Nabil
Hi everyone, I just upgraded to Tomcat 4.1.27 and the Ant reload task is not working. Is that a known bug? I keep searching the bug database but I can't find anything about it? Thanks, Tarek M. Nabil - To unsubscribe, e-mail:

Re: problem while starting up Tomcat (v 4.1.27)

2003-09-10 Thread Tim Funk
This is HP's java. (Based on sun's jdk). Make sure your have all the patches and check the HP support lists for java wackiness. -Tim Shapira, Yoav wrote: Howdy, Is that a release build or some sort of test/beta? On the JDK web site (http://java.sun.com/j2se/1.3/) it says 1.3.1_09 is the

Error Page 500 Not working.

2003-09-10 Thread Andoni
Hello, I am trying to implement error pages for my site. They seem to work when I specify the particular exception in the web.xml file thus: error-page exception-typejava.lang.NullPointerException/exception-type location/jsp/error500.jsp/location /error-page but not when I specify the

Re: Ant reload task does not work with Tomcat 4.1.27

2003-09-10 Thread Tim Funk
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096 -Tim Tarek M. Nabil wrote: Hi everyone, I just upgraded to Tomcat 4.1.27 and the Ant reload task is not working. Is that a known bug? I keep searching the bug database but I can't find anything about it?

Re: Tomcat 5 clustering

2003-09-10 Thread Filip Hanik
http://cvs.apache.org/~fhanik/ Currently if you do that with Tomcat and do a context reload, the session is evicted, I would think the same thing would happen with session replication as well... with session replication, all you have to do is to shut one server down, upgrade it, then restart it,

Re: Tomcat 5 clustering

2003-09-10 Thread Filip Hanik
I have written a simple load balancer for Java, but literally, it sucks ass, but works for testing and demo. find it at http://cvs.apache.org/~fhanik/ link at the bottom Filip - Original Message - From: Mats Andersson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent:

RE: JNDI Context Environment settings?

2003-09-10 Thread Jon Wilmoth
Unfortunately, it does not appear Tomcat 4.x provides cross-jvm access to the objects bound to it's jndi implementation. http://forum.java.sun.com/thread.jsp?thread=190331forum=51message=1824 252 http://renaud.waldura.com/software/java/com.waldura.eclipse.jndibrowser/ doc/COMPATIBILITY.html

Re: Tomcat 5 clustering

2003-09-10 Thread Filip Hanik
distributable/ this is not a requirement until Tomcat 5. Filip - Original Message - From: David Rees [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 9:42 AM Subject: Re: Tomcat 5 clustering Filip Hanik wrote: distributable/ should be

Help! JSP not working in Tomcat 5

2003-09-10 Thread Steve Kelem
I get a connection timed out message, even though I told the socket in my java program not to time out. I'm trying to deploy a bot from the book Programming Spiders, Bots, and Aggregators in Java. It's the translate program in chapter 4, which is supposed to translate a page into pig latin.

tomcat won't reload my servlets

2003-09-10 Thread Nobert,Conrad
Hello, I have the exact same issue that was posted about 20 days ago. I haven't seen a response yet. Any ideas? This is my servlet: ## import javax.servlet.http.*; import javax.servlet.ServletException; import java.io.PrintWriter; import java.io.IOException;

Load Balancing with MOD_JK and MOD_JK2 on windows.

2003-09-10 Thread Joe Harmon
Please, please, please, can someone help. I have spend many many days trying to get either mod_jk or mod_jk2 to properly perform load balancing. MOD_JK issue: If I am using mod_jk.dll I can't even get the load balancing to function. I can get each instance of tomcat to come up, but I can only

Tomcat Shutdown Issues - servlet destroy

2003-09-10 Thread Oozy
Having a problem shutting down Tomcat - the servlet does not seem to be receiving the destroy call when tomcat shuts down - version 4.1.24 and 4.1.27 of tomcat, sun 1.4.1_02 jdk on solaris 2.8 and redhat 8.0 - below is a truss from solaris as it's shutting down. Is this a bug w/ tomcat?

NullPointer on getParameter

2003-09-10 Thread Laurie Harper
Hi, I'm trying to figure out a problem we've encountered since upgrading to Tomcat 4.1. I've seen this both on 4.1.24 and 4.1.27. I haven't yet reduced it to a specific recipe for reproduction outside the context of my application but I do see this quite frequently so I thought I'd see if

RE: NullPointer on getParameter

2003-09-10 Thread Shapira, Yoav
Howdy, The best thing is to come up with a way for us to reproduce it. The simplest, most direct way to get the exception. Yoav Shapira Millennium ChemInformatics -Original Message- From: Laurie Harper [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 09, 2003 6:17 PM To: [EMAIL

RE: Tomcat Shutdown Issues - servlet destroy

2003-09-10 Thread Shapira, Yoav
Howdy, Can't reproduce this one -- I use destroy (for servlets, filters), and contextDestroyed (for context listeners) all the time without any issues. What's your truss output supposed to show? Yoav Shapira Millennium ChemInformatics -Original Message- From: Oozy [mailto:[EMAIL

RE: tomcat won't reload my servlets

2003-09-10 Thread Mike Curwen
I apologize if any of this is repeated from any responses to your earlier post: It can't hurt to package your servlet. It's good practice, it's what most people do, and it's probably the most 'supported' in terms of wanting help from people on this list. ;) Your context declaration has a space

RE: content type charset

2003-09-10 Thread Mark Orr
Hi, This might not be the cause of your problem, but it caught me out recently until I read the Javadoc for the setContentType method of ServletResponse: If obtaining a PrintWriter, this method should be called first. In otherwords, set your response type first, then get your PrintWriter,

Re: Error Page 500 Not working. FAQ

2003-09-10 Thread Andoni
Well, it seems to come up quite frequently on the web and in the talk-groups that the error-page for 500 errors does not work. In reading the spec. I have found a work-around though. error-page exception-typejava.lang.Exception/exception-type location/jsp/error500.jsp/location /error-page

SSL issue on 4.1.24 (urgent)

2003-09-10 Thread Mike
Hello all, I apologize in advance for this email not having sufficient supporting information, but I imagine others have come across this issue in the past: I have two boxes, each running 4.1.24. I've configured them the same, and on one of them SSL works (for a self-signed certificate

RE: Tomcat Shutdown Issues - servlet destroy

2003-09-10 Thread Oozy
You should be able to see where Tomcat gets the shutdown signal, but then never calls the destroy method for the servlet (the servlet is set to log this) - so it appears that tomcat is not calling the destroy method properly? Quoting Shapira, Yoav [EMAIL PROTECTED]: Howdy, Can't

RE: Tomcat Shutdown Issues - servlet destroy

2003-09-10 Thread Shapira, Yoav
Howdy, Sorry, I'm not adept at interpreting truss. I can't see the shutdown signal. I'd like to see a sequence of steps I can take to reproduce your problem, so that we can fix it if it's indeed a tomcat problem (which I doubt). Yoav Shapira Millennium ChemInformatics -Original

Tomcat 4.1.27 not reloading classes even after applying hotfix

2003-09-10 Thread Neil Aggarwal
Hello: I have a server running tomcat 4.1.27 and it is not reloading classes for my webapp even after applying the hotfix. I installed tomcat 4.1.27 by doing these commands: cd /usr/local lynx http://apache.oregonstate.edu/jakarta/tomcat-4/binaries/jakarta-tomcat-4 .1.27.tar.gz tar zxf

Re: Error Page 500 Not working. FAQ

2003-09-10 Thread Andoni
Sorry, make that java.lang.Throwable instead of java.lang.Exception. Andoni. - Original Message - From: Andoni [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 7:36 PM Subject: Re: Error Page 500 Not working. FAQ Well, it seems to come up

Re: Active Directory Single Sign-On

2003-09-10 Thread Nikola Milutinovic
It sounds like we should come up with a de facto way of achieving SSO with Tomcat and NTLM (since there is plenty of M$ workstations out there).Which leads me to believe that a lot of people could very well benefit from this.. I'm required to implement this for our intranet application

Re: Building/using JK2 - linking problem

2003-09-10 Thread Nikola Milutinovic
I had similar problems with loading shared libraries until I recompiled jk2 after configuring it with the ./configure --with-apxs=/some/path/to/apache2/bin/apxs command suggested in John Turner's Solaris 8 + Tomcat HOWTO, which is, BTW, and excellent resource. I have been able to get

Re: Annoying taglib problem

2003-09-10 Thread Thomas Hehl
I started off with that, but the computer I'm working from does not have internet access. You get a specific error message for DTD not found for that one. Been there, done that, got the t-shirt. I moved the DTD from the internet to the below path to fix the problem. Anyone else? --- Jon

RE: Tomcat 4.1.27 not reloading classes even after applying hotfix

2003-09-10 Thread Shapira, Yoav
Howdy, Your tar is GNU tar, right? Yoav Shapira Millennium ChemInformatics -Original Message- From: Neil Aggarwal [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 2:41 PM To: 'Tomcat-User' Subject: Tomcat 4.1.27 not reloading classes even after applying hotfix Hello: I

Re: content type charset

2003-09-10 Thread aaz
Yeah we have response.setContentType(text/html; charset=UTF-8) in our ActionServlet.process() override (which iis called before anything is printed to the browser) Anyone else have some tips? Is there a server.xml config setting for this? - Original Message - From: Mark Orr [EMAIL

  1   2   >