Re: jsp -> string ?

2003-09-10 Thread Bill Barker
Can be done. This example should get you started. public class MyEmailResponse extends HttpServletResponseWrapper { Writer out; public MyEmailResponse(HttpServletResponse res) { super(res); out = new StringWriter(); } public Writer getWriter() {

Authentication in tomcat 4.1.27

2003-09-10 Thread Shailesh Modi
Hi, I am migrating my web application to 4.1.27 from tomcat 3 . In tomcat 3 , I had following code for authentication in server.xml. ldap://ldap.mycompany.com:389"; baseDn="ou=active,ou=employees,ou=people,o=mycompany.com" maxDnAge="300" maxPwAge="6000" maxFilterAge="6000" /> where

Tomcat,

2003-09-10 Thread Oliver Wulff
Hi I noticed that there is an additional tomcat version for jdk 1.4. The common\endorsed directory is empty where the xerces jars exist on the other tomcat version. What's the meaning of the endorsed directory? What would happen when I copy the context of the endorsed directory to the lib dire

Re: JK2 Question...

2003-09-10 Thread Bill Barker
I vaguely remember that there was/is a bug in Jk2 with using ports > 32K (a signed vs. unsigned thing). Can you try with a port < 32K? "Richard Norman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have read the information and configured my server as specified at the > followin

Re: NullPointer on getParameter

2003-09-10 Thread Bill Barker
I just got a ton of these while doing a stress-test to try and get another bug to crawl out from under it's rock ;-). I believe that there is a bug here somewhere, but I'm currently chasing bug #1. If your server logs are more interesting than mine (which don't say much more than NPE at ...), cou

Re: SSL Apache/Tomcat encrypting a subdirectory

2003-09-10 Thread Bill Barker
Easiest is probably to use a: SSL area /online/* INTEGRAL in your web.xml file. An alternative methed for your config would be: RewriteRule /online/.* https://my.server.name/online/$1 [R] "Kai Schliemann" <[EMAIL PROTECTED]> wrote in messag

Re: jsp 1.2 and escaping quote marks

2003-09-10 Thread Bill Barker
Does this work: "Rich Unger" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > http://java.sun.com/JSP/Page"; version="1.2"> > > > > > > > > All 3 of these lines cause compile errors. I'm using XSLT to generate > files which _may_ be JSP files (they

RE: Who serves static content Tomcat or Apache?

2003-09-10 Thread Ralph Einfeldt
It depends on the configuration. I guess that you are talking about apache and tomcat on different maschines (server is a bit ambigous). In that scenario you either have to setup mod_jk to serve the static files, or you have to mount (on the os level) the document root from server B to the docu

[OT]Re: Mobile phone on serial port - Howto send sms?

2003-09-10 Thread Kwok Peng Tuck
Another option is available to you John-Paul, specifically, http://www.kannel.org which is a wap and sms gateway. This gateway is based on linux although you can use cygwin to compile and run it, far from ideal but it does work and is usable enough for testing. The gateway does support most GSM

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

mysite -> 3rd party -> mysite, session *sometimes* lost

2003-09-10 Thread Michael Teter
Howdy. I've got a site I am interfacing with PaySystems.com (credit card processing). For some users (Internet Explorer, same or very similar version, default settings), when they return to my site after doing the credit card dance on the paysystems.com site, they get a new session. I can't f

Tomcat 4 Replication problems

2003-09-10 Thread David Rees
I've been testing Tomcat 4.1.27 replication for our application with tomcat-replication 1.01. I've found two issues. My test setup involves one Apache 1.3 with mod_jk in front of two Tomcats with the identical configuration. The Session replication is setup identically to what's on http://cvs.ap

Re: Mobile phone on serial port - Howto send sms?

2003-09-10 Thread Sai Sivanesan
we have an affilliate company that has a product comming on the market that uses a Nokia 30 or Nokia 31 GSM modem(phone without a headset and with a rs232 port) and does exactly that. we have a client server version comming out - i will ask how its done - can't be too difficult as the app is mostl

RE: Tomcat log files

2003-09-10 Thread Paul Wallace
Great, I checked out /tomcat-4.1-doc/config/valve.html#Access%20Log%20Valve. An Access Log Valve is what is needed here I think. I saw no reference to syntax however, and to where the valve is placed? I wish to capture access to ALL contexts, for a single engine. Where do I tell the server

jsp 1.2 and escaping quote marks

2003-09-10 Thread Rich Unger
http://java.sun.com/JSP/Page"; version="1.2"> All 3 of these lines cause compile errors. I'm using XSLT to generate files which _may_ be JSP files (they may be static files, it's determined when the xslt runs). Because of this, I'm not particularly enthused about m

Re: Tomcat log files

2003-09-10 Thread Tim Funk
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/logger.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html#Access%20Log%20Valve -Tim Paul Wallace wrote: Hi, How does one configure the output of Tomcat log files? Is this possible? Is there an equivalent to th

Tomcat log files

2003-09-10 Thread Paul Wallace
Hi, How does one configure the output of Tomcat log files? Is this possible? Is there an equivalent to the Apache httpd.conf file? Thanks Paul.

Re: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object.

2003-09-10 Thread Filip Hanik
what JDK are you using? Filip - Original Message - From: "Wynkoop, Robert M" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, September 10, 2003 3:14 PM Subject: RE: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate

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: escaping problems--ha!

2003-09-10 Thread Richard Norman
This is one I think I can answer... :-) What you want to do is first escape the back slash, then escape the apostraphe... so you want to have a string that looks like this: var name = '\\\''; That should get what you are looking for. you may need to create a string parsing or regular expressio

Admin tool

2003-09-10 Thread Jeff Cummings
Hello, I am using tomcat 4.1.24. For the admin web app, I configured authentication in the web.xml file in the WEB-INF directory. What is the purpose of the following statements in the sample server.xml. factory org.apache.catalina.users.MemoryUserDatabaseF

Re: Security-constraints - how to forbid all except ...

2003-09-10 Thread Tim Funk
One workaround is to map EVERYTHING to a set of servlets. Then set your Security constraints against the servlets instead of the URL pattern. -Tim Chris Rolfe wrote: Hi, Does anyone have a way to set security constraints to forbid access to everything (as the by default) *except* specified file

Re: content type charset

2003-09-10 Thread aaz
After some more debugging, here is what we are seeing happen in our Struts 1.1. app. Tomcat 4.0.6 (we also see simular results on 4.1.24, but have not debugged into it like the below) a) our request comes into our override of ActionServlet.process() and the requests characterEncoding=UTF-8 an

RE: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object.

2003-09-10 Thread Wynkoop, Robert M
Yeah I had already tried that. When It was not there I got this message on Tomcat startup - java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: javax/sql/DataSource I'm kind of stumped on this. Any other ideas? Later, Robert Wynkoop -Original Message- From: P

RE: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object.

2003-09-10 Thread Phillip Qin
If you use oracle jdbc driver, put classes12.jar in common/lib -Original Message- From: Wynkoop, Robert M [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 6:06 PM To: Tomcat Mailing List (E-mail) Subject: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1.27 w hen trying insta

Cannot load JDBC driver class 'null' - Tomcat standalone 4.1.27 w hen trying instantiate datasource object.

2003-09-10 Thread Wynkoop, Robert M
The error(Wen I try to use a JNDI resource in my webapp.): C:\jdk1.3.1_08\jre\bin\java -classpath "C:\web\Tomcat4.1\bin\bootstrap.jar";"C:\jdk1.3.1_08\lib\tools.jar" -Dcatalina.home="C:\web\Tomcat4.1" -Dcatalina.base="C:\web\Tomcat4.1" org.apache.catalina.startup.Bootstrap "start" [INFO] Registry

RE: Ant reload task does not work with Tomcat 4.1.27

2003-09-10 Thread Phillip Qin
Have you applied 4.1.27 hotfix? -Original Message- From: Tarek M. Nabil [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 1:05 PM To: 'Tomcat Users List' (E-mail) Subject: Ant reload task does not work with Tomcat 4.1.27 Hi everyone, I just upgraded to Tomcat 4.1.27 and the Ant reload

Re: NullPointer on getParameter

2003-09-10 Thread Laurie Harper
Agreed :-) But understanding the life cycle of CoyoteRequestFacade may make it easier to do so. There's nothing particularly funky going on in the code that's exhibiting the problem so I don't know yet what I can pare away. I'm trying to get a local build of Tomcat set up so I can add some trac

Re: Mobile phone on serial port - Howto send sms?

2003-09-10 Thread Filip Hanik
not really a tomcat related question. you will need to know the protocol spec that your phone is using on the port,then you can just send and receive commands. don't know of any third party libraries that do this already Filip - Original Message - From: "john-paul delaney" <[EMAIL PROTECTE

Mobile phone on serial port - Howto send sms?

2003-09-10 Thread john-paul delaney
Hello List... this is a tricky one I believe, Serial port-connected mobile phone - I'd like to find out how to send sms messages using tomcat on linux. Anyone got any leads? I'd appreciate any help. thanks, /j-p. - To unsub

Security-constraints - how to forbid all except ...

2003-09-10 Thread Chris Rolfe
Hi, Does anyone have a way to set security constraints to forbid access to everything (as the by default) *except* specified files + dirs? The web.xml snippet below comes very close to doing what I want although it relies on the order of constraints (ie, it's container-dependent). The problem wi

escaping problems--ha!

2003-09-10 Thread Koes, Derrick
My scenario involves a user who wishes to enter \' in an html input field. I must then convert that to a javascript variable (for any number of reasons). However, when I attempt to escape backslashes then attempt to escape apostrophes, I end up with a javascript error: Unterminated string constant.

JK2 Question...

2003-09-10 Thread Richard Norman
I have read the information and configured my server as specified at the following URL... http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/jk2/installhowto.html The thing I think is going on is that the port is not open fully cause every time I try to connect to a JSP page fro

Re: Tomcat and IIS + Index Server -> possible ?

2003-09-10 Thread Marco Tedone
Hi Alain, I'm developing the same functionality for my site. Limiting the problems to JSPs (as if you are using Struts are more and if you're using Struts + Tiles are a lot more...Guess...which one am I using??) the only real activity you need to do is to manipulate the path returned by Lucene, whi

problem apache interacting with Tomcat after restarting apache

2003-09-10 Thread Pradeep Gummi
Hi all, I have apache interacting with Tomcat using mod_jk module. I get the servlets running from Apache once I set the context path in server.xml and configure the web.xml for servlet mapping. Everything runs fine before I restart Apache and Tomcat. But after I restart the Apache web server a

jsp -> string ?

2003-09-10 Thread Andoni
Hello, I have written a little method for my servlet that let's me know when something goes wrong. It sends me an email the body of which is a simple java.lang.String. This is easy as I cut mostly from a book I have ;-) Anyway, my question now is, I want to have my RequestDipatcher fill out a

MOD_JK2 load balancing example

2003-09-10 Thread Joe Harmon
Is there anyone who has load balancing working with MOD_JK2? If you do could you please send me a working example of the workers2.properties file. Also, please let me know whether or not you are running tomcat on three separate servers, or off of the same box using different server.xml files. Jo

RE: Tomcat 4.1.27 not reloading classes even after applying hotfix

2003-09-10 Thread Neil Aggarwal
Yoav: Yes, my tar is gnu tar. I used jar, not tar to extract the catalina jar file. Is there an issue with that? -- Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com FREE! Valuable info on how your business can reduce operating costs by 17% or more in 6 months or less! =>

RE: Binary download question.

2003-09-10 Thread Shapira, Yoav
Howdy, The release locations for old releases have changed recently. Go here: http://archive.apache.org/dist/jakarta/tomcat-4/archive/ Future versions of tomcat will have updated documentation to reflect the new archive locations. Yoav Shapira Millennium ChemInformatics >-Original Message

Binary download question.

2003-09-10 Thread Nitin Naik
Hi, I want to download binaries for Apache Tomcat 4.0.6 for Windows. I am following instructions from http://jakarta.apache.org/tomcat/tomcat-4.0-doc/RUNNING.txt It says * Download a binary distribution of Tomcat from: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/nightly/ yet when I

META-INF - JNDI Datasource resolution

2003-09-10 Thread Hookom, Jacob
Currently, we are having some issues with hot deploying wars from ant tasks and relying on our context being specified in the META-INF folder. We are getting a connection = 'null' when a war is used, but if we expand the war, using the same context, into a folder, then it works fine. >From what w

RE: Who serves static content Tomcat or Apache?

2003-09-10 Thread Lee, Paul NYC
Hi Kai, Apache will(should) serve your static content as long as you point the DocumetRoot to it. Also, tomcat won't serve any files you don't specify in the mod_jk properties file. Like if you don't specify *.html or *.jpg. Hope this helps. -Original Message- From: Kai Schliemann [mai

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 conne

Who serves static content Tomcat or Apache?

2003-09-10 Thread Kai Schliemann
Hi list, Assuming, I have Server A with Apache and Server B with Tomcat and they are connected via mod_jk and on Server B are static (html)-files. Which server handles these files? Sorry for this - probably - stupid question. TIA Kai ---

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 P

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

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 Wingfi

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 ge

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 whic

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 c

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 jakarta-to

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

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

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 genera

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. java.lang.Exception /jsp/error500.jsp this will work for all sub-classes of Exception and as this include

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, n

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 i

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 PROT

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 P

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 anyon

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? poll(

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 us

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; pub

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.

Re: Tomcat 5 clustering

2003-09-10 Thread Filip Hanik
> 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: > should be set in web.xml accor

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=190331&forum=51&message=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
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: 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 i

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?

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: java.lang.NullPointerException /jsp/error500.jsp but not when I specify the error number as below. What happens is that when I have both of th

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 lates

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

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 error

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

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 sinc

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

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 al

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 http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd";> at the start of your tablib file. (sorry about the line-wrap) Jon Thomas Hehl wrote: I started with that, and it produced the same results. I

Re: Tomcat 5 clustering

2003-09-10 Thread David Rees
Filip Hanik wrote: 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? I would like t

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

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?

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 st

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: > > > your_uri_here > /WEB-INF/taglib.tld > > >and change your jsp page:

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

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 happe

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

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' directory

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 Che

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 h

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

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

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.. smal

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 LD

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: should be -Original Message- From: Brandon M. Blank [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 9:48 AM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: P

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 software

Re: Annoying taglib problem

2003-09-10 Thread Jon Wingfield
Put a taglib entry in your web.xml: your_uri_here /WEB-INF/taglib.tld 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: http://www.jcp.org/aboutJava/communityprocess/final/jsr053/ Also: h

  1   2   >