Re: Relative Servlet Path

2002-09-05 Thread Jacob Kjome
Well, if you are talking about context.getRealPath(/), that points to the root of your webapp. If you were to append your db/file.dat to that, you would be looking for it in: MyContext/ db/file.dat WEB-INF/web.xml I assume you want your db file hidden from

Re: SSL

2002-09-05 Thread Øyvind Vestavik
That's right. I use a stand-alone version and am using SSL to encrypt requests and responses using a self-signed certificate created using the keytool from Sun for development of my servlets. This should be fairly well documented in the documentation. Øyvind Vestavik Norwegian University of

Re: Errors for building mod_jk

2002-09-05 Thread jean-frederic clere
Manoj Kithany wrote: Hi Experts, Greetings! I am using APache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System. I am havin high time in integrating APache and Tomcat. Binary mod_jk is NOT available for IBM AIX System - so I try to build it using following procedure but get ERRORS. I

virtual hosts and apache

2002-09-05 Thread Dionisio Ruiz de Zarate
I know how i must to configure the virtual hosts in apache but in the tomcat server.xml i don't know. 1.- can any body send me one sample? 2.- in the apache httpd.conf file, in the virtual host description i have the normal virtual host description but for the interaction with tomcat, must i

java.io.NotSerializableException---java.awt.TexturePaint

2002-09-05 Thread Kevin Li
Hello everyone. I have a application runs on AIX box with jrun , and I move to Tomcat on Mac OSX recently. most parts works fine. but for the parts which created serializable object is not working right now. and I am getting such error below: is this related with tomcat or OS ? both AIX/MAC

What about setting a script/servlet/jsp timeout?

2002-09-05 Thread Nicholas Orr
Hi, I know you can set session timeouts, is there a way to set script/servlet/jsp timeouts, so it applies over the whole Tomcat Instance? At the moment I am doing a lot of loops and some of them, by accident, end up being never ending and I have to kill tomcat to stop them. I have had a of look

Tomcat Authentication IIS 403 error

2002-09-05 Thread lee ballancore
Please can someone help me, i have read though the achieves and have found simaliar question but no answers. i am running tomcat 4.0.3 with IIS 5 i have configured a jsp page with tomcat basic authentication. when i acces the page tomcat does not ask for username and password it passes

CORBA choice

2002-09-05 Thread Keates, Mark
Hi, I've recently got Apache 2.0.39 and Tomcat 4.0.4 integrated after a move from Apache 1.3 and JServ. I'm looking forward to updating my servlet to use DB pooling since I couldn't seem to do this under Apache 2.0.39 and Tomcat 3.3.1? In the mean time, does anyone have an idea on integrating

Apache Tomcat SSL

2002-09-05 Thread Bernhard Blasen
Hello, I succeeded connecting tomcat 4.0.4 with apache 2.0.40 with mod-jk. If i call an application with https://luna.draft.de/hvb-immoplus I get a 404 error The same call with http://... works fine. Other https://-connections, that do not need tomcat work fine either. My log-files and

Re: virtual hosts and apache

2002-09-05 Thread Branko Kannenberg
Hi there ! Which connectro are you using? If it's mod_jk, you can use the autoconf feature, so you don't have to worry about the virtual host configuration in httpd.conf. Just add Include path to tomcat/conf/auto/mod_jk.conf to httpd.conf and something like Listener

Re: virtual hosts and apache

2002-09-05 Thread Dionisio Ruiz de Zarate
I am using tomcat 4.0.2 or 1. web_apps can you help me? thanks Branko Kannenberg Hi there ! Which connectro are you using? If it's mod_jk, you can use the autoconf feature, so you don't have to worry about the virtual host configuration in httpd.conf. Just add Include path to

Re: virtual hosts and apache

2002-09-05 Thread Branko Kannenberg
Hi there ! I'm sorry, I have no knowledge about the webapp connector. You could switch to the mod_jk connector, it has advantages like load balancing and serving only dynamic content. But you have to compile it for yourself to get a version which works which the apache version you have. The

RE: Apache + Tomcat multiple instances

2002-09-05 Thread Vincent . Gaboriau
Nobody have an idea? Need you more explications? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 4 septembre 2002 14:36 À : [EMAIL PROTECTED] Objet : Apache + Tomcat multiple instances Hi all, I already run Apache 2.0.40 + 2 instances of Tomcat

JDBCReal / MySql /server.xml problem

2002-09-05 Thread Howard Miller
Hi, I am trying to set up a JDBCRealm using MySql. I have pretty much followed the documentation to the letter. However my Realm... tag declaration, generates the following parse error The reference to entity password must end with the ; delimter. This points to the password=mypassword bit

RE: JDBCReal / MySql /server.xml problem

2002-09-05 Thread Barney Hamish
In xml you can't just write because it has special meaning. It's used to escape special characters. To get an you'll have to write amp;password=foo Hamish -Original Message- From: Howard Miller [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 12:39 PM To:

RE: Warp connector segfault

2002-09-05 Thread Anthony Milbourne
I have been working with Apache + Tomcat with the warp connector under Solaris 8. We have just switched to using the mod_jk connector as it seems to be the more supported option. Several pointers that might help: If you get Apache as a binary from sun it will be compiled with the sun compiler

RE: JDBCReal / MySql /server.xml problem

2002-09-05 Thread Howard Miller
Ahh, logical - thanks... I'm not too hot on XML sorry! So, does somebody want to update the example in the Tomcat docs then? Wasted half a day because of that! Cheers, Howard -Original Message- From: Barney Hamish [mailto:[EMAIL PROTECTED]] Sent: 05 September 2002 11:38 To: 'Tomcat

RE: RE: RE: Problems with class loader

2002-09-05 Thread Juergen . Praska
Hi Charlie, You are right saying that it is a consequence of how classes are loaded Still, this can be an error... ;-) I think I could live with the fact that as long as the container of the serialized classes was just a HashTable. This would, of course, require that I always keep the

Error Page Definition

2002-09-05 Thread Rui Fernandes
How do I define in Tomcat an error page for cases in which the page requested to the web app is not found?

Re: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-05 Thread Zsolt Koppany
No, it didn't help. Zsolt On Thursday 05 September 2002 01:56, Justin Ruthenbeck wrote: Have you tried Randy Paries' suggestion about appending a bogus parameter like this: http://www.host.com/myApp/account/users/results.jsp?a=.xls I've seen this work for jpg and swf files before --

RE: Tomcat 3.3 log rotation in Windows 2000

2002-09-05 Thread Larry Isaacs
You can include a java.text.SimpleDateFormat string enclosed within ${} in the path specification of LogSetter in the server.xml. For example, the LogSetter for the servlet_log in the default server.xml uses: path=logs/servlet-${MMdd}.log This causes a new log to be started each

Re: [Q] Singleton Objects across webapps...

2002-09-05 Thread Felipe Schnack
That was something I was asking myself some days ago: why i would use JBoss? On Wed, 2002-09-04 at 20:06, Eddie Bush wrote: Comments in-line. Shapira, Yoav wrote: Hi, Perhaps putting the common code, e.g. the singleton, in /common/lib will work for you? Yoav Shapira Millennium

RE: Tomcat Apache Config

2002-09-05 Thread Turner, John
Only if you leave the HTTP connector on port 8080 enabled. For development, this is wise for testing purposes. For production, not so wise. John -Original Message- From: Tam, Michael [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 4:39 PM To: 'Tomcat Users List'

RE: Is Tomcat just an add-on?

2002-09-05 Thread Turner, John
Only if you leave the HTTP Connector on port 8080 enabled in server.xml. If you're using Tomcat with a web server, you comment out the HTTP connector on port 8080 portion of server.xml (in production, anyway). John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Apache Tomcat Howto

2002-09-05 Thread Turner, John
Excellent list, if I do say so myself. :) I'm saving this post...anytime anyone else asks this question, they're just going to get a link to it in the archives. Well done! John -Original Message- From: Robert L Sowders [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002

RE: Apache Tomcat Howto

2002-09-05 Thread Shah, Kishor (Kishor)
One more useful link I found is at http://www.galatea.com/flashguides/apache-tomcat-24-unix.xml for integrating Apache 2.0.35 and Tomcat 4.0.x on Unix Kishor -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 8:31 AM To: 'Tomcat Users

RE: Apache Tomcat

2002-09-05 Thread Turner, John
The connectors serve as a pipeline from Apache to Tomcat and back again for certain requests. A JSP or Servlet request received by Apache would be sent to Tomcat, Tomcat would do the processing, and the resulting HTML would be sent back to Apache (and then to the client), all via the connector.

RE: SSL

2002-09-05 Thread Turner, John
Yes, you can use SSL directly with Tomcat. The HOWTO is here: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html However, your tech may be right. If you are asking for SSL on 443, then you have to use Apache, at least if your ISP has half a brain. To bind to a port 1024, an

Tomcat/4.0.4 - HTTP Status 404 error

2002-09-05 Thread Anand Parikh
Running tomcat 4.0.4, JDK1.3, Debian Linux 2.2.6. I can start up tomcat 4.0.4 OK and see the home page. But I cannot access the application TestingServlet. The .java and .class files are located at $CATALINA_HOME/webapps/myApp/WEB-INF/classes/ I do not have access to the internet on my Linux

RE: JDBCReal / MySql /server.xml problem

2002-09-05 Thread khozaima shakir
Hi Howard, I am writing this direct since, its little of topic. I too had similar problems, what i did was that in the jdbc realm howto document, there is connectionPassword and connectionNAme attributes so I removed the attributes from connectionURL and had the atributes separately (in

Not Found (404)/tomcat-3.3a/ trouble with redirecting url

2002-09-05 Thread Yu Zhang
Hi, I set a IIS server and a tomcat-3.3a(standalone) in the same machine. and a web based database application running on both servers. servlets on tomcat redirect to form pages on iis server by using : response.sendRedirect(http://www.sss.com/top/sub/page2.html;); but, sometimes user got

RE: Error Page Definition

2002-09-05 Thread Turner, John
Check out the error-page element of web.xml. John -Original Message- From: Rui Fernandes [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 7:30 AM To: Tomcat Users List Subject: Error Page Definition How do I define in Tomcat an error page for cases in which

RE: Apache + Tomcat multiple instances

2002-09-05 Thread Turner, John
What was your reasoning for needing two instances? Are the configurations between the two instances very different? You can easily have multiple web applications under one tomcat instance...each with it's own configuration. I wouldn't run two distinct instances of tomcat unless there was a

RE: virtual hosts and apache

2002-09-05 Thread Turner, John
Hosts are configured in the Host element of server.xml. For demonstration purposes, the Host element with the name localhost in server.xml is a virtual host. Copy all of that, and change the name parameter in the Host element to match Apache's VirtualHost. John -Original Message-

RE: RE: RE: Problems with class loader

2002-09-05 Thread Cox, Charlie
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 5:51 AM To: [EMAIL PROTECTED] Subject: RE: RE: RE: Problems with class loader Hi Charlie, You are right saying that it is a consequence of how classes are loaded

RE: Apache Tomcat SSL

2002-09-05 Thread Turner, John
I just tried https://luna.draft.de/hvb-immoplus and it worked perfectly (8:59AM EST, USA). It redirected me to https://luna.draft.de/hvb-immoplus/index.jsp which looks like exactly what it should do. John -Original Message- From: Bernhard Blasen [mailto:[EMAIL PROTECTED]] Sent:

RE: Tomcat/4.0.4 - HTTP Status 404 error

2002-09-05 Thread Turner, John
You don't have to change the URL to the DTD in your web.xml. If my memory is correct, Tomcat handles not having Internet access for the DTD just fine by default. The error you are getting is Can't find config file, so what I would do is put the DTD URL back to what the default is, and see if

Tomcat/4.0.4 - HTTP Status 404 error

2002-09-05 Thread Anand Parikh
Running tomcat 4.0.4, JDK1.3, Debian Linux 2.2.6. I can start up tomcat 4.0.4 OK and see the home page. But I cannot access the application TestingServlet. The .java and .class files are located at $CATALINA_HOME/webapps/myApp/WEB-INF/classes/ I do not have access to the internet on my Linux

Re: Libtool Error!!!- mod_jk

2002-09-05 Thread Raja Sreekanth
By the way what this LIBTOOL do. Sreekanth. - Original Message - From: Manoj Kithany [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 05, 2002 6:15 PM Subject: Libtool Error!!!- mod_jk Hi Experts, I am getting following LIBTOOL Errors - wonder why. DO any of you

Re: Error Page Definition

2002-09-05 Thread Branko Kannenberg
Hi there ! Do you have an URL with a specification what directives can be put into web.xml? I couldn't find something like that on the jakarta documentation website. Ciao, Branko. Am Donnerstag, 5. September 2002 14:52 schrieb Turner, John: Check out the error-page

RE: Tomcat/4.0.4 - HTTP Status 404 error

2002-09-05 Thread Turner, John
See my previous reply. John -Original Message- From: Anand Parikh [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 9:07 AM To: [EMAIL PROTECTED] Subject: Tomcat/4.0.4 - HTTP Status 404 error Running tomcat 4.0.4, JDK1.3, Debian Linux 2.2.6. I can start up

AW: SIGSEGV error and SCO OpenServer

2002-09-05 Thread William Wragg
After much hunting down files and documentation and trial and error I have managed to get Tomcat 4.0.4 to work on SCO OpenServer 5.0.5a. Listed below are the steps that I took: You can only do the below if you are running SCO OpenServer 5.0.5a or higher. (1) Check to make sure that the UDK

RE: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-05 Thread Shapira, Yoav
Hi, save the document. From a servlet using the ...xls in the URL I can prevent the question whether I want to open the document, it will be opened without any questions. Subject to user configuration. Servlets with that still prompt the question on my browser. Unless you control all users'

RE: Error Page Definition

2002-09-05 Thread Turner, John
Your best bet is the web.xml DTD: http://java.sun.com/dtd/web-app_2_3.dtd John -Original Message- From: Branko Kannenberg [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 9:10 AM To: Tomcat Users List Subject: Re: Error Page Definition Hi there ! Do you have

redirect bug?

2002-09-05 Thread Leos Literak
Hi, I try to increase protection of my users with such servlet: String url = mailto:+user.getEmail(); response.sendRedirect(url); e.g. on normal site there is no email, just link to servlet which redirects to email. Well, it partially works. It really opens email client. Unfortunatelly TO

Re: Libtool Error!!!- mod_jk

2002-09-05 Thread Manoj Kithany
Hi Raja, Libtool simplifies the job by encapsulating both the platform-specific dependencies, and the user interface, in a single script. Libtool is designed so that the complete functionality of each host type is available via a generic interface, but nasty quirks are hidden from the

RE: Libtool Error!!!- mod_jk

2002-09-05 Thread Turner, John
If you know that much about libtool, you should be able to fix your own libtool errors!! LOL Just kidding. John -Original Message- From: Manoj Kithany [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 9:27 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re:

RE: Libtool Error!!!- mod_jk

2002-09-05 Thread Manoj Kithany
Hi John Good Morning! I knew only the basic information which I shared with others! Manoj G. Kithany From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Libtool Error!!!- mod_jk Date: Thu, 5 Sep 2002

Re: virtual hosts and apache

2002-09-05 Thread Dionisio Ruiz de Zarate
apache and tomcat 4.0.1, web_apps can you help me? thanks - Original Message - From: Branko Kannenberg [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 05, 2002 11:55 AM Subject: Re: virtual hosts and apache Hi there ! Which connectro are you

RE: [Q] Singleton Objects across webapps...

2002-09-05 Thread Cox, Charlie
it depends on where you want your servlets to reside. If all your servlets reside in the same context, you can leave your singleton in that context. This way if you have multiple contexts with copies of the same servlets, you can have an instance of your singleton for each webapp. if you want to

JDBC connection persistence

2002-09-05 Thread William Wragg
Hi, I have developed a webapp which connects to a database and retrieves data for display via JDBC. There are only a few pages and each page opens and then closes the connection to the database. The problem is that our database has only a set number of licensed concurrent connections, and

RE: Apache Tomcat

2002-09-05 Thread Milt Epstein
On Thu, 5 Sep 2002, Turner, John wrote: The connectors serve as a pipeline from Apache to Tomcat and back again for certain requests. A JSP or Servlet request received by Apache would be sent to Tomcat, Tomcat would do the processing, and the resulting HTML would be sent back to Apache (and

RE: Apache Tomcat

2002-09-05 Thread Turner, John
Agreed. John -Original Message- From: Milt Epstein [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 10:03 AM To: Tomcat Users List Subject: RE: Apache Tomcat On Thu, 5 Sep 2002, Turner, John wrote: The connectors serve as a pipeline from Apache to Tomcat

Re: Apache Tomcat SSL

2002-09-05 Thread Milt Epstein
On Thu, 5 Sep 2002, Bernhard Blasen wrote: Hello, I succeeded connecting tomcat 4.0.4 with apache 2.0.40 with mod-jk. If i call an application with https://luna.draft.de/hvb-immoplus I get a 404 error The same call with http://... works fine. Other https://-connections, that do not

RE: Relative Servlet Path

2002-09-05 Thread Chuck Carson
I am confused. I merely want to reference a file from within a servlet(s). I want to keep my apps transportable so I have a var like this: String myVar = db/config.dat; Where is it looking for this file. If the servlet is here: $TCAT_HOME/ROOT/WEB-INF/classes/MyServlet, where will it look for

RE: Apache + Tomcat multiple instances

2002-09-05 Thread Milt Epstein
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 4 septembre 2002 14:36 À : [EMAIL PROTECTED] Objet : Apache + Tomcat multiple instances Hi all, I already run Apache 2.0.40 + 2 instances of Tomcat 4.0.3 under Windows 2000. To get the 2

a 'one-click' j_securty_check question

2002-09-05 Thread jfc
Hi, I would like to structure my application so that the user can choose to login instead of being enexpectedly prompted to be logged in. It seems declarative form-based security comes with the philosophy that your URL has to explicilty request a resource which is secured under the role you

Re: Libtool Error!!!- mod_jk

2002-09-05 Thread John P. Dodge
I had this same issue, try doing a make clean or make distclean and rerun libtool.sh. You could also specify HOST=systype on the configure line. It seemed to me that this comes up when configure or libtool is havinf trouble sniffing out the system type. I seem to remember that the make clean and

Re: Libtool Error!!!- mod_jk (fwd)

2002-09-05 Thread John P. Dodge
sorry that should be make clean and rerun buildconf.sh. I had this same issue, try doing a make clean or make distclean and rerun libtool.sh. You could also specify HOST=systype on the configure line. It seemed to me that this comes up when configure or libtool is havinf trouble sniffing out

Libtool Error!!!- mod_jk

2002-09-05 Thread Manoj Kithany
Hi Experts, I am getting following LIBTOOL Errors - wonder why. DO any of you Experts know how to tackle that - would appreciate that. I already have libtool on my system. The Error I get is: -- # make Making all in common Target

Re: a 'one-click' j_securty_check question

2002-09-05 Thread David Cassidy
i think that unless Im completly missing your point your missing the Realm's point. (Or I am) When you log in using the realm it takes from the database all your associated roles. ie if you have admin, editor and journo roles but you only need 'editor' role for the area you want to go into TC

Re: [Q] Singleton Objects across webapps...

2002-09-05 Thread Eddie Bush
Felipe Schnack wrote: That was something I was asking myself some days ago: why i would use JBoss? That I'm aware of, TC doesn't do EJBs. TC is a servlet container. JBoss is a full J2EE application server (someone help me out here -- the lines are fuzzy to me too) -- in other words, it'll

manually set cookie path for JSESSIONID

2002-09-05 Thread Benny Lootens
Hi, I really have a problem here ... :-( Two different URLS, www.mydomain-a.com and www.mydomain-b.com point to the same webapplication, the same tomcat-context. Everything works fine, even if I start working with cookies (I set a different cookiepath for each URL, eg. /cookiepatha for

Re: [Q] Singleton Objects across webapps...

2002-09-05 Thread Felipe Schnack
So, if I need webservices and such I should use JBoss? On Thu, 2002-09-05 at 12:03, Eddie Bush wrote: Felipe Schnack wrote: That was something I was asking myself some days ago: why i would use JBoss? That I'm aware of, TC doesn't do EJBs. TC is a servlet container. JBoss is a

RE: JDBC connection persistence

2002-09-05 Thread Andrew Conrad
Your best bet is to use a database connection pool. Look into DBCP. You can set the max number of connections and all your apps can share these connections. As for your issues, it sounds like the JDBC driver is not closing everything when you call connection.close(). There has been some

Re: a 'one-click' j_securty_check question

2002-09-05 Thread Eddie Bush
Suggestion: Search the archive. This is a very frequently asked question. What you want to do is the same as everyone else using FORM-based CMA. The fact is that it doesn't work on a let basis; rather a make basis. One hint I will give you: the container is going to load all of a user's

apache + tomcat 4.0.1 + virtual host

2002-09-05 Thread Dionisio Ruiz de Zarate
Hello with this i pass the /examples petitions to the tomcat WebAppConnection conexion warp localhost:8008 WebAppDeploy examples conexion /examples but if i have one second virtualhost (www.domain2.com) in the apache virtual host configuration how i must to configure for passint to the tomcat

RE: apache + tomcat 4.0.1 + virtual host

2002-09-05 Thread Turner, John
Each virtual host gets a Host element/container in server.xml. In that Host element, create a Context for the path. For example, in a default Tomcat install: Host name=localhost appBase=webapps Context path=/examples docBase=examples So in your case: Host name=www.domain2.com

RE: apache + tomcat 4.0.1 + virtual host

2002-09-05 Thread Turner, John
I forgot to mention that you will have to configure your Apache connector for that new host name, but it looks like you are using mod_webapp, and I am not familiar with it. John -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 11:30

RE: [Q] Singleton Objects across webapps...

2002-09-05 Thread Shapira, Yoav
Hi, So, if I need webservices and such I should use JBoss? Figure out which APIs you need and which you don't. webservices can be anything and everything ;) Tomcat gives you: servlets, JSPs, JNDI, JSSE. You can connect to databases. You can use frameworks like Struts, Tapestry, etc. You

RE: [Q] Singleton Objects across webapps...

2002-09-05 Thread Felipe Schnack
That's the point, I have no idea why I would want JBoss, and I would like to know. I don't think i will need it for any project now - tomcat does everything I need. But maybe some day I start a project using tomcat when I should use something like JBoss, I just don't have any idea of what it

Re: [Q] Singleton Objects across webapps...

2002-09-05 Thread Eddie Bush
I don't think web services require EJBs be used :-) I haven't fooled around with them though. From what I recall having read, you can do web services using Tomcat. What I read, and where, I do not recall precisely. The impression I have left upon my mind is that it is possible to do web

Tomcat file systems and CVS repository tree HELP

2002-09-05 Thread Heligon Sandra
Hi, I use CVS to archive the files of my application. My CVS tree strucutre is something like that: MyApp Archive - contains MyApp.war Doc - contains documentation Project - contains the JBuilder project for my

Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-05 Thread Donie Kelly
Hi all, I've upgraded to jdk 1.4.1 and Tomcat 4.0.4 and now my jsp pages give the following error... org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\mmsdev\tools\win32\jdk1.4.1\jre\lib\rt.jar(java/lang/Object.class). The major.minor

RE: redirect bug?

2002-09-05 Thread Andrew Conrad
Can you make this feature work from other JSP/Servlet containers or other languages (ASP, PHP)? It just seems like this would be an issue of the browser. Have you tried other browsers to see if they react differently? - Andrew -Original Message- From: news [mailto:[EMAIL PROTECTED]]

RE: Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-05 Thread Shapira, Yoav
Hi, That's the coolest error I've seen in a while ;) Do you get it using JDK 1.4.0? 1.4.1 is not final yet, so it may be a packaging issue with the 1.4.1 version you're using. What's the output of java -version? Yoav Shapira Millennium ChemInformatics -Original Message- From: Donie

RE: Tomcat/Mysql/Woody

2002-09-05 Thread Luc Santeramo
thanks Stefan for the idea but the problem is somewhere else. the problem comes from java just have to define CATALINA_OPTS=-Dfile.encoding=iso8859-1 before starting tomcat hope that will help other persons.. Thanks to Loic Luc At 10:15 03/09/2002 +0200, you wrote: Just an idea but maybe

RE: Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-05 Thread Wagoner, Mark
I got this same error when I moved from 1.3.1 to 1.4.0, so I don't think it is something in the JDK. Unfortunately, I can't remember exactly how I fixed it. I *think* it was because I still had an old version of the JRE floating around on the machine. But like I said, I'm not sure anymore. I

files open limit

2002-09-05 Thread Peter Choe
i have been getting an error on my FreeBSD 3.4 system which is running tomcat 3.2. after a while, i get a 'too many files open in system' error and it freezes tomcat and the whole server. i looked at the ulimit on the system and it says that the file limit is 1024. i have no idea if this is

Error reading web.xml - error page

2002-09-05 Thread Rui Fernandes
I keep geting an error when reading the web.xml: ERROR reading java.io.ByteArrayInputStream@6f0be8 At line 48 /web-app/error-page/ ??? My web.xml seems to be fine. Anyone knows what is going on?

RE: Tomcat 3.3 log rotation in Windows 2000

2002-09-05 Thread Jack Long
Larry: Thanks so much for the response -- this has been a vexing problem for us. Our problem is with the stdout.log which we set on the command line when starting Tomcat (eg, -out F:\TomcatLogs\stdout.log). Perhaps this is a JVM issue that can't be address directly with Tomcat (??). The servlet

load-on-startup's effect on tomcat startup time?

2002-09-05 Thread Christos Karras
I use the load-on-startup tag in web.xml to call a servlet when its context is started. The servlet's init() reads a configuration file and stores the configuration as a singleton object in the ServletContext. I first thought this was a good idea, so that the user doesn't see the 2 or 3 seconds

jk_nt_service.exe

2002-09-05 Thread Meagher, Joe
I know this is probably an old and dead issue for most of you guys, so sorry in advance. I am trying to run tomcat 3.2 as a service on Win 2000. Tomcat is installed properly as is my JDK (1.3.1_04) by the way. Both are installed into directories with NO spaces. I have configured my

RE: jk_nt_service.exe

2002-09-05 Thread Barney Hamish
Are the stderr and stdout log files being created? -Original Message- From: Meagher, Joe [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 12:47 AM To: '[EMAIL PROTECTED]' Subject: jk_nt_service.exe I know this is probably an old and dead issue for most of you

Warp Errors

2002-09-05 Thread Steven Garrett
Hi, I'm pretty new to java/tomcat, etc. I keep getting these two errors when I try to start apache and tomcat. I'm not really sure what they mean and was looking for some help. Thanks, Steve from httpsdctl: bash-2.03# ../bin/httpsdctl configtest Syntax error on line 241 of

load-on-startup order seems incorrect...

2002-09-05 Thread Jeff Wishnie
I have two load-on-startup servlets in my apps web.xml . One is set as 0, the other as 1. According the the servlet spec, containers should guarantee that servlet's with lower load-on-startup values should load first, but according to my logs, Servlet 1 gets its init called before servlet 0.

Re: Libtool Error!!!- mod_jk

2002-09-05 Thread jean-frederic clere
Manoj Kithany wrote: Hi Experts, I am getting following LIBTOOL Errors - wonder why. DO any of you Experts know how to tackle that - would appreciate that. I already have libtool on my system. The Error I get is: -- #

RE: jk_nt_service.exe

2002-09-05 Thread Meagher, Joe
Yes they are, here are the files. Joe -Original Message- From: Barney Hamish [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 12:13 PM To: 'Tomcat Users List' Subject: RE: jk_nt_service.exe Are the stderr and stdout log files being created? -Original Message-

4.0.4 struts app does not load in 4.1.9

2002-09-05 Thread Praveen Shenoy
I have my struts based app working fine in 4.0.4. The same thing does not work in 4.1.9. I see this message when I startup. My web.xml is under WEB-INF. Not sure why it is complaining that web.xml is missing. 2002-09-05 10:21:16 ContextConfig[]: Missing application web.xml, using defaults only

Re: [Q] Singleton Objects across webapps...

2002-09-05 Thread Will Hartung
Sharing data between servlets obviously depends on several things. If your servlets are within the same webapp, then the ServletContext is the most obvious choice to store the shared information, however, you will need to synchronize the data access and modification within the object. If you use

RE: Tomcat 3.3 log rotation in Windows 2000

2002-09-05 Thread Larry Isaacs
I don't think Tomcat outputs much to stdout directly. Is there particular output you are looking capture that isn't being written to the tc_log? If not, you could assing the tc_log to a file? In the absence of a path on the LogSetter, I think the output goes to stderr. The syntax applies to

RE: Apache + Tomcat multiple instances

2002-09-05 Thread Ekkehard Gentz
re: I wouldn't run two distinct instances of tomcat unless there was a really good reason, like hosting multiple sites and you want to be able to stop/start Tomcat on each one without affecting the others, etc. - hi john, we are also planning to run 2 tomcat instances on

Re: files open limit

2002-09-05 Thread Rafael Angarita
Try using lsof, this tool could help you telling which fd are opened by a specific process: # lsof -i -n|grep PID Peter Choe wrote: i have been getting an error on my FreeBSD 3.4 system which is running tomcat 3.2. after a while, i get a 'too many files open in system' error and

Re: a 'one-click' j_securty_check question

2002-09-05 Thread jfc
Eddie Bush wrote: Suggestion: Search the archive. This is a very frequently asked question. What you want to do is the same as everyone else using FORM-based CMA. The fact is that it doesn't work on a let basis; rather a make basis. One hint I will give you: the container is going

RE: apache + tomcat 4.0.1 + virtual host

2002-09-05 Thread Milt Epstein
On Thu, 5 Sep 2002, Turner, John wrote: I forgot to mention that you will have to configure your Apache connector for that new host name, but it looks like you are using mod_webapp, and I am not familiar with it. I think if the appropriate connector configuration directives (whether it's

Re: Libtool Error!!!- mod_jk

2002-09-05 Thread Manoj Kithany
Hi Mr. John I tried running make clean and then ./buildconf.sh but still get Errors. You had also said to rerun libtool.sh - but my system does not have any such file? Also, what is the proper sequence of command execution? How do I specify HOST?: #./buildconfig.sh #./configure

Re: manually set cookie path for JSESSIONID

2002-09-05 Thread Milt Epstein
On 5 Sep 2002, Benny Lootens wrote: Hi, I really have a problem here ... :-( Two different URLS, www.mydomain-a.com and www.mydomain-b.com point to the same webapplication, the same tomcat-context. Everything works fine, even if I start working with cookies (I set a different cookiepath

LibTool Error (mod_jk)

2002-09-05 Thread Manoj Kithany
Hi Experts, I am getting following LIBTOOL Errors - wonder why. DO any of you Experts know how to tackle that - would appreciate that. I already have libtool on my system. The Error I get is: -- # make Making all in common

Re: Libtool Error!!!- mod_jk

2002-09-05 Thread Manoj Kithany
Hi Mr. Jean, THANK YOU for your reply. You mentioned to modify following lines: But, where to modify these lines...I mean which file contains this? - mod_jk.so: mod_jk.la $(LIBTOOL) --mode=install cp $ `pwd`/$@ +++ The $ has been eaten.

Bringing up DBCP pooling again

2002-09-05 Thread Rick Reumann
Just bringing up a question I had a while ago since I know how lists go and it's easy to miss/delete messages over time (especially as busy a list as this is:) Anyway... Was wondering if anyone had any further input in the apparent problem using DBCP pooling with Tomcat. If for some reason the

  1   2   >