Re: jsvc and -config? What about other JVM options?

2004-02-04 Thread Bill Barker
Adding the '-server' option is probably a good idea. The security manager params issue is fixed in the CVS. David Wall [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How about passing the -server option to the JVM so that it uses the server versus client VM? How do you pass in

FW: Yet another OT question.

2004-02-04 Thread David Short
I've tested my OCI8 installation with the JdbcCheckup.java program from the Oracle JDBC Developer's Guide (attached) and it works. I'm using Oracle's connection caching class (OracleConnectionCacheImpl) and everything works fine with the thin driver. When I try the oci8 driver I get this

RE: SSL only working on localhost

2004-02-04 Thread Maarten van Heiningen
It´s still not working from the out side. In my log file when I do a check from an other machine within the network I get the following error message: 10.31.40.204 - - [04/Feb/2004:08:24:10 +0100] \x80L\x01\x03\x01 501 346 Has anyone got a idea? Maarten -Original Message- From:

RE: Apache2, Mod_jk2 and Tomcat 4 on Linux - Help

2004-02-04 Thread Yiannis Mavroukakis
The same principles apply. There is only one gotcha. You cannot use JNI to run Tomcat (yet). -Original Message- From: Apahce Tomact [mailto:[EMAIL PROTECTED] Sent: 03 February 2004 19:19 To: [EMAIL PROTECTED] Subject: Apache2, Mod_jk2 and Tomcat 4 on Linux - Help Hi, I want to

test

2004-02-04 Thread tomcat-user
ALERT!!! This e-mail contained one or more infected files. The following attachments were infected and have been repaired: No attachments are in this category. The following infected attachments were deleted: 1. text.zip: [EMAIL PROTECTED] The following infected attachments were blocked

Re: SOLUTION: SSL certificates HOW-TO

2004-02-04 Thread Adam Hardy
Good one Bruno. On 02/03/2004 10:09 PM [EMAIL PROTECTED] wrote: It seems that obtaining and installing SSL certificates from different Certificate Authorities is not consistent. Even within the same CA, the procedure for real and test certificates is not necessarily the same. To make matters

Net Integrator Virus Alert

2004-02-04 Thread Virus Scanner
WARNING: a virus (probably I-Worm.Mydoom.a) or suspicious attachment was detected and removed from the following message from [EMAIL PROTECTED] to [EMAIL PROTECTED] Some of the content may still be readable. ---BeginMessage--- The message contains Unicode characters and has been sent as a binary

Re: Installing Tomcat 5 from JPackage

2004-02-04 Thread Vitor Buitoni
To be able to install tomcat rpm package, you must install a lot of other packages that tomcat depends on, first. I already did this once, and for me it was very time consuming and it wasn't easy at all. This is because JPackager can't provide some packages as binary packages, because of

RE: Apache2, Mod_jk2 and Tomcat 4 on Linux - Help

2004-02-04 Thread pavan . k
u can go to johnturner.com for help on mod_jk on linux.. Pavan Kumar Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Yiannis Mavroukakis [EMAIL PROTECTED] 02/04/2004 04:39 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To 'Tomcat Users

RE: Installing Tomcat 5 from JPackage

2004-02-04 Thread Yiannis Mavroukakis
The only advantage is that tomcat is installed as a service i.e. you do a /sbin/service tomcat start or whatever the rpm has in mind.. Plus permissions and directory location. But apart from that, I would personally never choose the rpm installation over the tarball. The perceived benefits

Memory usage raises when reloading a context

2004-02-04 Thread Vitor Buitoni
Every time that i reload a context (through the tomcat manager) the memory usage of the tomcat grows up a bit, and it doesn't go down again. Every time the context is reloaded the memory usage raises, until the jvm begins to throw OutOfMemory errors. Then i have to restart tomcat (of course).

how to enforce use of url rewriting for session identification

2004-02-04 Thread Shambaiah Chepuri
Hi, I am facing a strange problem, I would like to enfore url-rewriting for session identifier communication. I have set cookies=false for the webapp context definition in context.xml / server.xml But it is not taking into effect. I see that only when the client browser has cookies disabled

Re: Installing Tomcat 5 from JPackage

2004-02-04 Thread Vitor Buitoni
Then i really can't see what's the point of installing the rpm. You can run tomcatd as a service without installing the rpm. You just have to put a script to initialize tomcat inside the /etc/init.d folder. We do this here and it works fine. It seems that the benefits are only a few, and not

Re: Installing Tomcat 5 from JPackage

2004-02-04 Thread Joe Tseng
What I don't understand though is why doesn't someone just use the compiled binary from jakarta.apache.org and make an RPM out of that; that way there would be no preexisting dependencies (unless I'm totally naive on that point). In any case I did get help about this topic and I came away with

How configure ADMIN for DefaultContext

2004-02-04 Thread De Toffoli Garry
Hi to all, I would like to modify the Administration of Tomcat for adding the functionality of DefaultContext; someone has an example, or some directive for doing it? Thank you. - To unsubscribe, e-mail: [EMAIL

Re: help? JNDI Datasource HOW-TO

2004-02-04 Thread daniel
I found out that the mysql-connector-java-3.0.10-stable-bin.jar needs to be in the \common\lib directory. that was all that i over looked :( thanks eveybody - Original Message - From: Kumar Abhay-CAK203C [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, February

RE: Memory usage raises when reloading a context

2004-02-04 Thread Shapira, Yoav
Howdy, It's normal: the classloader and associated objects can't get recycled and classes are stored in the permanent area. You can tweak the JVM's MaxPermSize if you'd like. As you noted, restarting your context all the time is not a typical production scenario. Yoav Shapira Millennium

RE: Question about webapp deployment or re-deployment

2004-02-04 Thread Shapira, Yoav
Howdy, You can use the manager's webapp HTML interface without ant. Connect to http://yourhost:yourport/manager/deploy?path=/foo with an HTTP PUT request containing your WAR. See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html#Deplo y%20A%20New%20Application%20Remotely Yoav

RE: Redeployment of War over and over Supported?

2004-02-04 Thread Shapira, Yoav
Howdy, Would multiple Tomcat instances be run in a production environment as well? Yeah, that's what I meant when I said one webapp per instance. If you have multiple webapps, that's multiple tomcat instances ;) Of course you can keep the admin or manager webapps also running on each instance

RE: setting up a virtual domain on tomcat

2004-02-04 Thread Shapira, Yoav
Howdy, You can do this in a number of ways, including a Host Alias (see the Host configuration reference documentation) and a simple redirecting servlet or filter. A sendRedirect is mostly transparent to the user, acting as if they've requested the tomcathost.abc.edu/SomeDirectory URL. Yoav

RE: Simple security - or Why is HttpJspBase.service final?

2004-02-04 Thread Shapira, Yoav
Howdy, why dont you use filters (standard) or valves (tomcat specific) filip It's looking like I'm going to have no choice, but I don't want to because I want the security simple, and I want to keep the security settings for a page in the page itself. What happens when you have 10 pages with

Help HTTP 500 error using tomcat 5.0.16

2004-02-04 Thread Avinash Sridhar
Hi, I am getting the below mentioned erors using Tomcat 5.0.16 in a directory structure like this E:\sampleapp\WEB-INF \WEB-INF\classes \WEB-INF\lib \WEB-INF\sourcefile \WEB-INF\web.xml HTTP Status 500 -

Re: Simple security - or Why is HttpJspBase.service final?

2004-02-04 Thread Tim Funk
You could always recompile HttpJspBase and declare service() to be non-final then place it in your classes directory which overrides lib. Then you can use your own class to extend HttpJspBase. -Tim Shapira, Yoav wrote: Howdy, why dont you use filters (standard) or valves (tomcat specific)

Norton Internet security conflict

2004-02-04 Thread Frank Diakovasilis
I am having trouble receiving posted data from a browser that has Norton Internet Security. The browser has no problem posting the data to an asp page, but will not to a servlet. Has anybody else come across this? There is a setting in Norton that rectifies it, but short have having people

Hello HTTP 500 error running tomcat 5.0.16

2004-02-04 Thread Avinash Sridhar
Hi, I am getting the below mentioned erors using Tomcat 5.0.16 in a directory structure like this E:\sampleapp\WEB-INF \WEB-INF\classes \WEB-INF\lib \WEB-INF\sourcefile \WEB-INF\web.xml HTTP Status 500 -

RE: SSL only working on localhost

2004-02-04 Thread Maarten van Heiningen
It´s still not working from the out side. In my log file when I do a check from an other machine within the network I get the following error message: 10.31.40.204 - - [04/Feb/2004:08:24:10 +0100] \x80L\x01\x03\x01 501 346 Has anyone got a idea? Maarten -Original Message- From:

charset problem

2004-02-04 Thread Sander de Boer
Hello, Since I have upgraded to tomcat 4.1.29(from 4.1.27) tomcat sets a default charset(ISO-8859-1) I set: % response.setContentType(audio/x-pn-realaudio); % [EMAIL PROTECTED] language=java contentType=audio/x-pn-realaudio % Tomcat gives: Content-Type: audio/x-pn-realaudio;charset=ISO-8859-1

Returned Mail: Error During Delivery

2004-02-04 Thread Servidor de Correo
-- Here is your List of Failed Recipients -- [EMAIL PROTECTED] Requested action not taken: mailbox unavailable. [SMTP Error Code 550] Here Is Your Returned Mail Received: FROM jakarta.apache.org BY arecibo ; Wed Feb 04 16:18:07 2004 +0100 From: [EMAIL PROTECTED] To:

Tomcat stops taking connections

2004-02-04 Thread Lars Both
Hi All! I have this problem. I run Tomcat and it seems to be stable, but after a while under 'heavy' load it stops taking connections - actually connections aren't refused they just don't return. And it won't take any more connections until it has been restarted. Tomcat version is 5.0.18, it

RE: Tomcat stops taking connections

2004-02-04 Thread Shapira, Yoav
Howdy, I have this problem. I run Tomcat and it seems to be stable, but after a while under 'heavy' load it stops taking connections - actually connections aren't refused they just don't return. And it won't take any more connections until it has been restarted. So requests? For how long? If

RE: Tomcat stops taking connections

2004-02-04 Thread STOCKHOLM, Raymond
Try increasing maxThreads=150 to something corresponding to your max load. I had the same problem under tomcat 4.1.18, and increasing maxThreads from 75 to 400 resolved my problem : my average number of users connected=300. -Message d'origine- De : Lars Both [mailto:[EMAIL PROTECTED]

RE: encoding-problem with tomcat, jk2, apache

2004-02-04 Thread Yansheng Lin
Hi Stefan, you figured out this problem yet. I would like to know what was causing the problem:). Did you take a look at the header? Compare the headers generated when running tomcat standalone with running apache-tomcat to see the difference. (I used a Encoding Filter for my i18n application,

RE: Tomcat stops taking connections

2004-02-04 Thread Ryan Lissack
Hi Lars, Are you are running RedHat 9? If you are, and you are not seeing any 'All threads are busy' messages in your logs, then it could be NPTL related. See the following thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg105689.html and more specifically this message for a potential

Tomcat Loads Deleted Context?

2004-02-04 Thread Yansheng Lin
Hi, I am having a weird problem. It seems that Tomcat is trying to deploy a deleted project. The deleted project was outside of ${tomcat_home}/ dir. And I already I commented out the context for that project. I also deleted the work/ dir, but the problem persists. The generated

RE: Problem Compiling JSP under TOMCAT 5.0.18; please help me

2004-02-04 Thread Kal Govindu
You can try this and restart tomcat. 1. Copy tools.jar from your-jsdk\lib\tools.jar to your- tomcat\common\lib\tools.jar This may not be necessary, but the installer does attempt to copy this file so it won't hurt to do the same. And if that does not work try this step next and restart tomcat.

Re: Servlets won't load after deployment

2004-02-04 Thread Phil Campaigne
Filip Hanik (lists) wrote: remove all that stuff from your classpath. do this export CLASSPATH= ./startup.sh and it should work, the startup scripts are setting the classpath, and so does tomcat when it startup, you placing stuff in the system classpath will only mess things up :) Filip

Customized MBeans

2004-02-04 Thread Oliver Litz
I have problems managing a customized MBean. First I've created an custom interface, a MBean implementing this interface and put the class files in tomcat/common/classes. Then I've appended the descriptors attribute in Tomcat's server.xml and wrote the corresponding mbean-descriptors.xml file.

Script for Tomcat monitoring

2004-02-04 Thread Pete Stokes
Hi. I want to get / write a big brother script for Tomcat to monitor items like how many threads are busy, mem free, number of sessions etc. Does any1 know of a script in existance (tried deadcat.net), and also does anyone know a quick and easy way to get the stats out from the manager page

Re: Script for Tomcat monitoring

2004-02-04 Thread Peter Lin
well a few months back I started to work on a monitor for JMeter. The current tomcat status servlet actually outputs HTML and XML. The idea I has was to have a monitor that can periodically hit tomcat to get the server stats. I wanted to be able to setup automated load tests for tomcat and

Catalina suspends for no reason?!?

2004-02-04 Thread Sam Seaver
I have Catalina Tomcat 4.1.24 connected via jk2 to Httpd 2.0.47 on RH9. It seems every now and then, tomat just simply hangs. When I try to shutdown the Catalina process via catalina.sh, it doesnt remove the process?! So I have to 'kill -15' it, then start up catalina again. I get very little

Re: Tomcat Loads Deleted Context?

2004-02-04 Thread Milt Epstein
On Wed, 4 Feb 2004, Yansheng Lin wrote: Hi, I am having a weird problem. It seems that Tomcat is trying to deploy a deleted project. The deleted project was outside of ${tomcat_home}/ dir. And I already I commented out the context for that project. I also deleted the work/ dir, but the

Re: context configuration file being overwritten

2004-02-04 Thread Milt Epstein
On Sat, 31 Jan 2004, Milt Epstein wrote: Hi there. I'm using tomcat 5.0.18 basically out of the box. I set up a webapp in a directory outside the tomcat/webapps directory. So I created a context configuration file for the webapp, and put a symbolic link to it in

VM settings in windows service

2004-02-04 Thread Tino Schöllhorn
Hi, I am using Tomcat 5.0.18 on Windows 2000 as a service and I want to change the memory-setting of the VM the Tomcat-Service-Manager uses. I already changed the Java Options in the Tomcat Configuration tool, but when I look at the status page of tomcat it tells me that the MAX-Memory is

Problem while accessing the MSSQL from tomcat

2004-02-04 Thread Sale Rahul
Hello All, We are in deep trouble.Here is the problem, we are facing. First let me elobarate the scenario. We have Tomcat 4 running on the Linux box.We are trying to access the MS-SQL which is running on the Win2k . We are using Datasource to access the MS-SQL from Java Servlets. It has been

RE: context configuration file being overwritten

2004-02-04 Thread Burgess, Jay S
I'm not much of a UNIX person, but I remember reading about the allowLinking attributes in Context and DefaultContext. Not sure that they're applicable, but I figured I'd mention them in case they were and you hadn't seen them. Jay -Original Message- From: Milt Epstein [mailto:[EMAIL

RE: VM settings in windows service

2004-02-04 Thread STOCKHOLM, Raymond
You must re-install your tomcat service with the options you want. To make sure your options are properly set, use regedit to check them : HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services Apache Tomcat xxx

Re: Problem while accessing the MSSQL from tomcat

2004-02-04 Thread arvind singh
Can you post the Database URL you are using to connect to the Database? - Original Message - From: Sale Rahul [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 12:05 PM Subject: Problem while accessing the MSSQL from tomcat Hello All, We

Re: Tomcat Loads Deleted Context?

2004-02-04 Thread Apu Shah
delete the context file (if present) from $TOMCAT_HOME/conf/{ENGINE}/{HOST}/ On Wed, 4 Feb 2004 10:39:30 -0600 (CST) Milt Epstein [EMAIL PROTECTED] wrote: On Wed, 4 Feb 2004, Yansheng Lin wrote: Hi, I am having a weird problem. It seems that Tomcat is trying to deploy a deleted

RE: Tomcat Loads Deleted Context?

2004-02-04 Thread Yansheng Lin
Yes, that context descriptor(deleted.xml) still exists under that directory!!! And after deleting it, tomcat doesn't load the particular webapp anymore. But I still think this is a possible bug. Since the expected behaviour is not to load anything anymore for a deleted webapp. I removed the

Client Deployer Package

2004-02-04 Thread Chanan Braunstein
Hello, I would like to use the Client Deployer Package (Tomcat 5) to compile and build a WAR file. Looking in the docs it somewhat tells you what the properties are, but does not tell you what the command line to call it is... Can someone show me an example of calling it, please?

Re: Problem while accessing the MSSQL from tomcat

2004-02-04 Thread Sale Rahul
Hello arvind , I donot mind giving you the URL. Which is little secure one.But let me know what are yo ulooking at.Hope you understand. Thanks for kind attention Sincerly Rahul --- arvind singh [EMAIL PROTECTED] wrote: Can you post the Database URL you are using to connect to the Database?

Which directory for web.xml?

2004-02-04 Thread Phil Campaigne
Hi All, When an application is deployed on tomcat, which directory should web.xml be in? thanks, Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Which directory for web.xml?

2004-02-04 Thread Ian Joyce
WEB-INF/ [EMAIL PROTECTED] 02/04/04 11:44AM Hi All, When an application is deployed on tomcat, which directory should web.xml be in? thanks, Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: Which directory for web.xml?

2004-02-04 Thread Hernani Mourao
in APPLICATION_ROOT\WEB-INF -Original Message- From: Phil Campaigne [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 4 de Fevereiro de 2004 17:45 To: Tomcat Users List Subject: Which directory for web.xml? Hi All, When an application is deployed on tomcat, which directory should web.xml

Re: Problem while accessing the MSSQL from tomcat

2004-02-04 Thread arvind singh
I dont want your web URL. I want the connection URL you are using to connect to DB. e.g. DBName=/yourdb?autoReconnect=true DBUserName=your user DBPassword=your password JDBCDriverName=jdbc:mysql:// These are connection parameters for MySQL. Note ?autoReconnect=true if you driver supports this

RE: Redeployment of War over and over Supported?

2004-02-04 Thread Tom . Williams
Howdy, Would multiple Tomcat instances be run in a production environment as well? Yeah, that's what I meant when I said one webapp per instance. If you have multiple webapps, that's multiple tomcat instances ;) Of course you can keep the admin or manager webapps also running on each

RE: problems shutting down server when enabling the SimpleTcpCluster

2004-02-04 Thread Filip Hanik \(lists\)
which version of tomcat? the latest? this means that a thread is not a daemon thread, and the stop will not work. this was a bug a long time ago. has it resurfaced? Filip -Original Message- From: Aadi Deshpande [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 2:00 PM To: [EMAIL

Re: Which directory for web.xml?

2004-02-04 Thread Phil Campaigne
Ian Joyce wrote: WEB-INF/ [EMAIL PROTECTED] 02/04/04 11:44AM Hi All, When an application is deployed on tomcat, which directory should web.xml be in? thanks, Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

error instantiating HttpServlet

2004-02-04 Thread Phil Campaigne
Hi All, When I deploy a webapp that was working on my local machine I get the error: 2004-02-04 11:58:12 StandardContext[/ReportingSystem]: Servlet /ReportingSystem threw load() exception javax.servlet.ServletException: Error instantiating servlet class javax.servlet.http.HttpServlet - Root

RE: error instantiating HttpServlet

2004-02-04 Thread Filip Hanik \(lists\)
yes, you probably included some libaries in your system classpath Filip -Original Message- From: Phil Campaigne [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 10:21 AM To: Tomcat Users List Subject: error instantiating HttpServlet Hi All, When I deploy a webapp that was

RE: Redeployment of War over and over Supported?

2004-02-04 Thread David Ramsey
My personal experience has shown both. Shops that plan for enterprise wide services tend to get large servers and host multiple webapps on one container on such machines. This lends itself well to centralized administration, etc. Shops that add webapps incrementally or at the departmental levels

RE: Redeployment of War over and over Supported?

2004-02-04 Thread Tom . Williams
My personal experience has shown both. Shops that plan for enterprise wide services tend to get large servers and host multiple webapps on one container on such machines. This lends itself well to centralized administration, etc. Shops that add webapps incrementally or at the departmental

RE: context configuration file being overwritten

2004-02-04 Thread Cox, Charlie
-Original Message- From: Milt Epstein [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 11:46 AM To: Tomcat Users List Subject: Re: context configuration file being overwritten On Sat, 31 Jan 2004, Milt Epstein wrote: Hi there. I'm using tomcat 5.0.18 basically

RE: Redeployment of War over and over Supported?

2004-02-04 Thread David Ramsey
Everyone I've seen uses one container from one vendor. WebLogic and WebSphere appear to be fairly popular choices but I've heard of lots of Tomcat and JBoss usage throughout Texas as well. --- [EMAIL PROTECTED] wrote: Thanks for the feedback. :) Do you know if the larger shops tend to use

Having trouble using CGI with Tomcat 4.1...

2004-02-04 Thread Ken Perregaux
I have setup Tomcat to use CGI but when I try to run my script or EXE it get the following error... HTTP Status 500 Java.io.IOException: CreateProcess: perl name of program with full path Am I missing a configuration step? Ken

RE: workers2.properties syntax

2004-02-04 Thread Dean Searle
What aspects are you wanting to change and I'll see if I can help explain them. I'm somewhat new to this also, but have spent almost a year decipering and figuring things out. Dean -Original Message- From: Alvaro Seixas [mailto:[EMAIL PROTECTED] Sent: Tue 2/3/2004 3:15 PM To: Tomcat

RE: Tomcat Loads Deleted Context?

2004-02-04 Thread Milt Epstein
On Wed, 4 Feb 2004, Yansheng Lin wrote: Yes, that context descriptor(deleted.xml) still exists under that directory!!! And after deleting it, tomcat doesn't load the particular webapp anymore. But I still think this is a possible bug. Since the expected behaviour is not to load anything

RE: context configuration file being overwritten

2004-02-04 Thread Milt Epstein
On Wed, 4 Feb 2004, Burgess, Jay S wrote: I'm not much of a UNIX person, but I remember reading about the allowLinking attributes in Context and DefaultContext. Not sure that they're applicable, but I figured I'd mention them in case they were and you hadn't seen them. Thanks for the

RE: Having trouble using CGI with Tomcat 4.1...

2004-02-04 Thread Mark Thomas
Ken, Without knowing the steps you took, I have no idea. It would also help to know exactly what you are trying to do. Mark From: Ken Perregaux [mailto:[EMAIL PROTECTED] I have setup Tomcat to use CGI but when I try to run my script or EXE it get the following error... HTTP Status 500

mod_jk as a load balancer - Am I missing something obvious?

2004-02-04 Thread Antonio Fiol Bonnín
Hello, I have tried to configure mod_jk as a load balancer WITH sticky sessions. I get the load balancing to work perfectly, but NOT the sticky sessions. This is what I tried: I set up 4 ajp13 workers and 2 lb workers. Worker names are t1_a, t1_b, t2_a and t2_b. Load balancer names are a and

RE: Having trouble using CGI with Tomcat 4.1...

2004-02-04 Thread Ken Perregaux
I edited the web.xml file and renamed the servlets-cgi.renametojar file to servlets-cgi.jar, restarted Tomcat and tried to run a simple hello windows program or perl script and I get the error -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04,

Is this a Tomcat problem? Someone please point me in the right direction to solve this problem...

2004-02-04 Thread Chugh, Sanjay
I am part of a large team working on a java project with Tomcat. We are using jdk1.3.1 and Tomcat 4.1.18. The problem is that the latest build of our application has a problem on my machine. I've tracked it down to what seems like a problem with the session. When code that retreives information

RE: context configuration file being overwritten

2004-02-04 Thread Milt Epstein
On Wed, 4 Feb 2004, Cox, Charlie wrote: -Original Message- From: Milt Epstein [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 11:46 AM To: Tomcat Users List Subject: Re: context configuration file being overwritten On Sat, 31 Jan 2004, Milt Epstein wrote:

JSVC and -server -security options

2004-02-04 Thread David Wall
In the JSVC (tomcat 5.0) docs, there's no mention of being able to use the -server option to the JVM to get the server VM. Also, when using the startup.sh script, I can add the -security option to cause tomcat to run with a security manager. But with JSVC, I cannot add the

Keep a resource link persistent

2004-02-04 Thread Hernani Mourão
hi, I have a resource link in the context entry of conf/server.xml for my application. When i unload the application using org.apache.catalina.ant.RemoveTask and than i try to reload it i loose the resource link. Is there any way of saving the resource link in the context file of my application

Re: Problem while accessing the MSSQL from tomcat

2004-02-04 Thread Sale Rahul
Hello arvind, Thanks a lot for this. can you send me some pointers where i can get some more info. Thanks , thanks again. Sincerly Rahul --- arvind singh [EMAIL PROTECTED] wrote: I dont want your web URL. I want the connection URL you are using to connect to DB. e.g.

Re: Is this a Tomcat problem? Someone please point me in the right direction to solve this problem...

2004-02-04 Thread Papillon
Try burp proxy (Thanks again Mr Yansheng Lin) to see differences. Your server have only one ip ? No NAT on your network ? WAN adress ? My problem is not the same but perhaps it can help you in research : http://www.mail-archive.com/[EMAIL PROTECTED]/msg117526.html Good luck ! De : Chugh,

mod_jk and virtual folders?

2004-02-04 Thread Tim Diez
Hello all, I've been searching high and low but I can't seem to find out how to do the following. I'm a newbie here so please bear with me. I'd like to use apache and mod_jk to dynamically re-route all subfolders of my httpd web server to a single Tomcat webapp. I've got Apache running on

another newbie stupid question?

2004-02-04 Thread FRANCOIS Dufour
hi to all sorry to distube you guys again i have to add java user for a tomcat aplication under mysql from the dos shell is ther someone that could explain me how to..? please thanks in advance [EMAIL PROTECTED] administrateur http://entre-nous.qc.tc From: Papillon [EMAIL PROTECTED]

Re: another newbie stupid question?

2004-02-04 Thread arvind singh
USE mysql; GRANT ALL PRIVILEGES ON Your Database.* TO [EMAIL PROTECTED] IDENTIFIED BY 'yourpassword; GRANT ALL PRIVILEGES ON Your Database.* TO [EMAIL PROTECTED] IDENTIFIED BY 'yourpassword; FLUSH PRIVILEGES; Connection Parameters for MySQL: DBServerName=localhost

Re: mod_jk as a load balancer - Am I missing something obvious?

2004-02-04 Thread David Rees
On Wed, February 4, 2004 1at 1:31 am, Antonio Fiol Bonnín wrote: Am I missing something very obvious? Do jvmRoutes need to have the same name as the workers? I find that strange, but I can't come up with something more logical... Yes, they do. -Dave

RE: Tomcat Loads Deleted Context?

2004-02-04 Thread Yansheng Lin
Hi, No, I didn't create the context configuration file under /conf/[enginename]/[hostname]/. It was created by Tomcat on the fly. And my webapp wasn't starting up twice, which is good. Also I can delete that dir, but it would be recreated next time when I restart Tomcat5. I think the confusion

RE: context configuration file being overwritten

2004-02-04 Thread Cox, Charlie
-Original Message- From: Milt Epstein [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 2:47 PM To: Tomcat Users List Subject: RE: context configuration file being overwritten On Wed, 4 Feb 2004, Cox, Charlie wrote: -Original Message- From: Milt Epstein

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread Ralf Schneider
Am Montag, 2. Februar 2004 22:40 schrieb Oscar Carrillo: The method I describe may not work w/ mod_jk2. Frankly, I don't know. But I did a search and found this site, which seems to show that you can define these things in workers2.properties

Re: mod_jk and virtual folders?

2004-02-04 Thread David Rees
On Wed, February 4, 2004 1at 2:02 pm, Tim Diez wrote: I'd like to use apache and mod_jk to dynamically re-route all subfolders of my httpd web server to a single Tomcat webapp. http://www.myserver.com/ http://www.myserver.com:8080/mywebapp The tricky part for me has been setting this up to

Tomcat 5.0.18 not responding as a Windows Service

2004-02-04 Thread Turansky, Mark
I installed 5.0.18 on W2K, which automatically sets up Tomcat as a Windows Service. My J2SE 1.4.2 is installed at c:\java and I made the JAVA_HOME environment variable point to this directory. Tomcat is in c:\tomcat, which is also CATALINA_HOME. Tomcat runs fine using 'startup.bat'. When I

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread Oscar Carrillo
Hi, I assume that's an Apache error your getting. If that's true, then that means it's not mapped to Tomcat. I don't know anything about the mod_jk2 syntax, which sounds like the problem. Do you do the proper include for the workers2.properties in httpd.conf, which I assume you need to do?

RE: context configuration file being overwritten

2004-02-04 Thread Shapira, Yoav
Howdy, Hate to repost this unchanged, but I'm surprised this hasn't gotten any response. Any Tomcat developers on the list? Am I missing something about how context configurations files are supposed to work? Because otherwise this looks like a bug. Yes, there are tomcat developers who watch

RE: Tomcat Loads Deleted Context?

2004-02-04 Thread Shapira, Yoav
Howdy, This is new functionality to tomcat5. Senor Epstein's description of what constitutes a deleted webapp is accurate and well-written. If you happen to think tomcat should refresh its conf directory periodically or upon some trigger, please feel free to contribute a patch ;) Yoav Shapira

repost : url filtering

2004-02-04 Thread Duane Burchell
Sorry to repost this question, but does anybody have any suggestions for filtering urls in tomcat 4.1 (without apache) similar to the way apache's mod_rewrite works. I am currently looking through the tomcat load balancer documentation (I am a complete tomcat noob, and I'm struggling through).

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread arvind singh
Try this. workers.tomcat_home=/var/tomcat4 workers.java_home=/usr/java/java ps=/ #-- Active connectors. Typically one per tomcat instance. worker.list=ajp13 #-- ajp13 WORKER PARAMETERS -- worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread arvind singh
And add this to your Tomcat's server.xml !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=250 maxProcessors=400 enableLookups=false tomcatAuthentication=false

[Fwd: Catalina suspends for no reason?!?]

2004-02-04 Thread Sam Seaver
I have discovered something that may be in effect linked to my previous email, regard catalina.sh: I use `catalina.sh stop` and `catalina.sh start -security` to restart the tomcat web server. However, I have come to realise that on occaison, the 'stop' command does not work, and when I

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread Ralf Schneider
Am Mittwoch, 4. Februar 2004 21:53 schrieb arvind singh: Try this. workers.tomcat_home=/var/tomcat4 workers.java_home=/usr/java/java ps=/ #-- Active connectors. Typically one per tomcat instance. worker.list=ajp13 #-- ajp13 WORKER PARAMETERS --

RE: [Fwd: Catalina suspends for no reason?!?]

2004-02-04 Thread Shapira, Yoav
Howdy, However, I have come to realise that on occaison, the 'stop' command does not work, and when I restart, I thereafter create two copies of the original tomcat. this should not be possible because the first tomcat should be using the same port, and thus blocking the restart, but somehow,

FIX THIS! Bad dependency is culprit - Tomcat 5.0.18 not responding as a Windows Service

2004-02-04 Thread Turansky, Mark
The error I described below was fixed by installing a public JRE. I do not want a public runtime! I want the java installation in c:\java only, NOT in c:\program files\java\j2re1.4.2_03!!! Developers, please remove this ridiculous dependency. 4.1.28 worked just fine using my single

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread Ralf Schneider
Am Mittwoch, 4. Februar 2004 20:21 schrieb Oscar Carrillo: Alternatively, if you've gotten it work in both HTTP and HTTPS, you can redirect HTTP to HTTPS. Then it works, but you don't have the option of having a separate webapp for HTTP. I tried this with the following statement in httpd.conf

Re: Tomcat 5.0.18 not responding as a Windows Service

2004-02-04 Thread Clay Hensley
I recently ran into the same problem on a Windows XP machine. I tried everything I could find in the archives: use the EXE installer, use the ZIP package and run SERVICE install to create the service. I installed, uninstalled, and re-installed multiple times. Fortunately I had a second machine

Re: charset problem

2004-02-04 Thread Michiel Meeuwissen
Sander de Boer [EMAIL PROTECTED] wrote: Since I have upgraded to tomcat 4.1.29(from 4.1.27) tomcat sets a default charset(ISO-8859-1) I set: % response.setContentType(audio/x-pn-realaudio); % [EMAIL PROTECTED] language=java contentType=audio/x-pn-realaudio % Tomcat gives: Content-Type:

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread Oscar Carrillo
You should try it in the VirtualHost declaration. That's where I would put it. Oscar On Wed, 4 Feb 2004, Ralf Schneider wrote: Am Mittwoch, 4. Februar 2004 20:21 schrieb Oscar Carrillo: Alternatively, if you've gotten it work in both HTTP and HTTPS, you can redirect HTTP to HTTPS. Then it

  1   2   >