Filter tricks in tomcat

2004-11-09 Thread Pablo Carretero
Hi, I’m working with Tomcat 5 from 3 months ago. I understand the filter architecture, but I cannot capture the response filter for my JSP and servelt. Tomcat 5 is Servlet 2.4, so I thing it can filter either request or response. What I can do, is capture the entire request and its

Re: hide source of a page

2004-11-09 Thread Steven J. Owens
On Tue, Nov 09, 2004 at 04:18:37PM +1100, Peter Johnson wrote: So are you saying that I could run ActiveX on my Linux FireFox browser? I doubt he meant that, but I also doubt his bosses gave a damn about Linux users :-). A java serialised object should be secure enough, the next step

Re: Configuration Management, JSP Recompiles, War Files

2004-11-09 Thread Peter Johnson
Steven J. Owens wrote: Peter, On Tue, Nov 09, 2004 at 08:42:34AM +1100, Peter Johnson wrote: We run 5 Tomcat servers (still on 4.1.x so not clustered) and use CVS with two tags: 'stage' and 'prod'. I'm a little unclear on what this means - do you mean branches? Or do you mean

[OT] Re: hide source of a page

2004-11-09 Thread Edward Barrow
On Tuesday 9 November 2004 07:36, Steven J. Owens wrote: If anybody ever figures out a truly effective safeguard against this (which would be at least equivalent, in terms of mathematical creativity, to public/private key encryption), we'll see some really radical changes. It's a special

RE : Many many unclosed connections, their state is CLOSE_WAIT

2004-11-09 Thread LERBSCHER Jean-Pierre
What's your question? This state indicates that the client sends a FIN signal. The client doesn't receive any data on this socket but it can receive data from the server. The connection is half-closed. -Message d'origine- De : David Zhung [mailto:[EMAIL PROTECTED] Envoyé : mardi 9

file Permissions to tomcat?

2004-11-09 Thread Amit Gupta
My Tomcat creates lot of problem in starting. I think reason can be linux permissions. Can any body tell me what permissions should it have? Amit Gupta

Re: hide source of a page

2004-11-09 Thread David Stevenson
On 9/11/04 4:57, Frank W. Zammetti [EMAIL PROTECTED] wrote: No, there are actually plug-ins for other browsers to run ActiveX controls. I don't know if they are particularly stable, but they do exist. Can you show me one for Safari, and one for the Nokia 6310? Thanks

SSL Certificate configuration

2004-11-09 Thread Robert Cole
Hi, I'm having some fun and games getting Tomcat 5.0.19 to use a non-self signed certificate. I've done the following: 1) Using Keytool, generated a new key pair using the genkey switch, into a new keystore 2) Generated a CSR using the new keystore created above 3) Using OpenSSL, where I've

RE: Thread deadlocking in 3.2.2 beta 5?

2004-11-09 Thread José Luis
Hi all In the next mail i´ll show you my test with multiprocessor machine. I haven´t manage run tomcat in more than 1 processor. JULE, Nicolas - DSIA said Hi uwe, Tomcat is multithreaded, but is a single process (the JVM) The question is then to know how your JVM is scalable on

Re: SSL Certificate configuration

2004-11-09 Thread David Goodenough
On Thursday 11 November 2004 11:04, Robert Cole wrote: Hi, I'm having some fun and games getting Tomcat 5.0.19 to use a non-self signed certificate. I've done the following: 1) Using Keytool, generated a new key pair using the genkey switch, into a new keystore 2) Generated a CSR using the

Re: hide source of a page

2004-11-09 Thread deepak shripat mane
Hi.. Sunitha. Why r u not used encrytion and decryption techiniques in naming of java files. U can used Quantum File naming Concept for nameing java. If u r using Tomcat Server. for That u can implement WebSoS concept to protect ur source code . or u can write some java script code to disbale

Problem Locating JAAS Config File in Tomcat 5.5.x

2004-11-09 Thread Jojo Paderes
Hi, We are having problems running a servlet providing JAAS to our web application. We are using Tomcat 5.5.x and JVM 1.4.2. We can't seem to make the JAAS servlet run because Tomcat can't find the JAAS config file which we've already specified in the JAVA_OPTS env variable. We are referring to

Re: SSL Certificate configuration

2004-11-09 Thread Robert Cole
Hi David, I'm unfortunately on a Wintel server and the OS has problems with files named with a preceding. My connector references the 'keystore' and accessing the keystore via keytool. I've tried it with the .keystore name as an early solution but it didn't make any difference. If the

Preventing users getting accessing to directory contents in Tomcat

2004-11-09 Thread Paul Taylor
Under tomcat 4 my jsps are held in a subdiir called jsp which contains further subdirectories What do I put into web.xml to stop requests such as http//localhost:8080/myapp/jsp or http//localhost:8080/myapp/jsp/info listing the contents of the directory.

Problems with tomcat

2004-11-09 Thread Amit Gupta
Hi, I am running Tomcat server 5.5.3 with JDK 1.5 on three servers. These servers are User mode Linux. Two servers have fedora core 2 and 1 server has redhat 9. I am installing same binaries downloaded from Jakarta.apache.org and java.sun.com. On one server(Fedora core2 with 64 MB RAM).

Re: Datasource problems on Tomcat 5.5.4

2004-11-09 Thread Remy Maucherat
On Mon, 8 Nov 2004 16:07:26 -0800, Mark Fleischman [EMAIL PROTECTED] wrote: Hello, After upgrading from Tomcat 5.0.27 to Tomcat 5.5.4 my JNDI datasources are not resolving in 5.5.4 The configuration of the datasources was too verbose, and has been changed in this release. Look in the JNDI

Re: SSL Certificate configuration

2004-11-09 Thread David Goodenough
Maybe its different on Windows, I only use Linux. Certainly on Linux the file is called .keystore, and of course as that is a hidden file one could create keystore files till the sky turned yellow before Tomcat would take any notice of them, i.e. it would use whatever was in the .keystore file.

Re: [FIXED] jndi realm filter problem

2004-11-09 Thread Xavier Renard
Hi, ok it's fixed i made another realm with a new mbean-descriptor bases on the JNDIRealm file from version 4.1.31 and that do the trick till an update of tomcat. However, for those runnin 4.1.30,the main difference between file is: * @version $Revision: 1.19 $ $Date: 2004/08/26 21:37:21 $ ---

RE: Problems setting up JDBCStore

2004-11-09 Thread Jeremy Nix
Scratch that. Figured out that there wasn't actually a problem When the JDBCStore loads up, it attempts to get a connection which causes the error message The database connection is null or was found to be closed. Trying to re-open it.. Maybe a better way of dealing with this would be to

Re: Problems setting up JDBCStore

2004-11-09 Thread karjera
Laba diena. Dkojame, kad mums parate. Js atsista inut isaugota ms duomen bazje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: CGI ...yeah, I know (Tomcat 4.1.29)

2004-11-09 Thread Mark Claassen
Thanks. I did what you suggested. I still have one question though, How come when I copied the source from 4.1.31 directly into my own class (with no dependencies) I got ClassNotFound exceptions and it would not run unless I copied my jar file into shared? It was the exact same code, just

AW: connection pooling

2004-11-09 Thread Akacem Mohammed
Hello, I am stuck in the same Probleme as Erik. I did exactly what in the e-mails suggested is with no success. I am runing TC 5.0.28 und try to get a connection to an informix database. I got the following Error Message: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver

IIS 6 - IIS 5 Isolation mode with JK2 ISAPI.dll

2004-11-09 Thread Matteo Turra
I read some post about it, but I cannot understood if and why Isolation Mode is to be set to work properly with JK2 Connector. I tried in both Isolation Mode and without, and everything seems to work. Can somebody explain me? Thanks, Matteo. Everything should be made as simple as possible, but

Re: Renaming WAR problem

2004-11-09 Thread Andrew Watters
Thanks for your reply Tim. Tim Penhey wrote: Andrew Watters wrote: In this case the webapps directory is entirely empty, I delete the ROOT folder as part of the publish procedure and there are no other apps configured except for the manager and admin ones. What about the XML configuration file

Re: hide source of a page

2004-11-09 Thread Frank W. Zammetti
I said there are plug-ins for other browsers, not which browsers or how many browsers have them :) In truth, I know that there was one for Netscape on Windows, and that's about it. So, my statement was true, from a certain point of view (thank you Obi Wan!) Seriously though, I couldn't tell

RE: Are all TC-managed DataSources pooled?

2004-11-09 Thread Shapira, Yoav
Hi, No, the DataSources are not required to be pooled. J2EE only requires that a container provide a DataSource binding. How that DataSource is implemented is up to the container (which usually defers to the server admin, as we do). You can use pooling or non-pooling DataSources, XA

RE: CGI ...yeah, I know (Tomcat 4.1.29)

2004-11-09 Thread Shapira, Yoav
Hi, I still have one question though, How come when I copied the source from 4.1.31 directly into my own class (with no dependencies) I got ClassNotFound exceptions and it would not run Was it really a CNFE or a NoClassDefFoundError? You have to be very careful with dependencies once you

mod_jk2 configuration problems

2004-11-09 Thread Srinivas Rao Ch
Hi, I am trying to implement load balancing with the Apache + mod_jk2 + Tomcat setup. I configured jsp_examples application for clustering, it worked perfectly. But my webapp is not working. 1. Round robin behavior worked almost perfectly with jsp-examples, but not with my application

RE: Datasource problems on Tomcat 5.5.4

2004-11-09 Thread Shapira, Yoav
Hi, The ResourceParams nested elements are history, it's all in the Resource element now. See the new configuration page at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples -howto.html. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Mark

RE: Error with tomcat 5.5.3

2004-11-09 Thread Shapira, Yoav
Hi, One reason may be that the server is already stopped. Please try 5.5.4 instead of 5.5.3. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Amit Gupta [mailto:[EMAIL PROTECTED] Sent: Monday, November 08, 2004 10:54 PM To: Tomcat Users List Subject: Error with tomcat

RE: file Permissions to tomcat?

2004-11-09 Thread Shapira, Yoav
Hi, It needs to have read permissions on the webapps and conf directories, and their subdirectories. It needs to have write permissions on the conf/tomcat-users.xml file if that's what you're using for user authentication (which is the default). It needs to have read and write permissions on

RE: SSL Certificate configuration

2004-11-09 Thread Hubble, Christopher
It doesn't matter what your keystore is named(at least in windows). I usually use a keystore convention of appname.ks Haven't had a problem with it. Robert, are you using a password for your keystore? I've never tried it without a password. Chris -Original Message- From: David

RE: Filter tricks in tomcat

2004-11-09 Thread Shapira, Yoav
Hi, I assume that when you say capture you mean handle ? Or maybe wrap? To only handle outgoing (response) data in a filter, do something like this: public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws Blah { chain.doFilter(request, response);

RE: Preventing users getting accessing to directory contents in Tomcat

2004-11-09 Thread Shapira, Yoav
Hi, Add a listings parameter to the DefaultServlet in conf/web.xml with a param-value of false. IIRC. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Paul Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 7:00 AM To: Tomcat Users List Subject:

Re: Filter tricks in tomcat

2004-11-09 Thread Peter Lin
actually, you can use filters to capture the response and then use a filter to dump the whole thing to the outputstream. What you'll have to do is create your own buffer to hold the content and not write to either the jspwriter or the printwriter in the servlet. the tricky part is this. if you

Re: Root directory...

2004-11-09 Thread e-Denton Subscriber
Create a context element, something like this: Context displayName=myApp path= docBase=/myApp reloadable=true useNaming=true debug=5 - Original Message - From: Luc Vantroys [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; e-Denton

RE: SSL Certificate configuration

2004-11-09 Thread Robert Cole
There is a password specified, I just didn't fancy including it in a publically available mail archive. It is specified at the keystore creation and also specified in the connector. Sorry for any confustion this may have caused.

RE: SSL Certificate configuration

2004-11-09 Thread Hubble, Christopher
BTW, I believe that the CN of your cert needs to be your machines IP or domain, whichever is used to connect. -Original Message- From: Robert Cole [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 9:59 AM To: Tomcat Users List Cc: 'Tomcat Users List' Subject: RE: SSL Certificate

RE: SSL Certificate configuration

2004-11-09 Thread Ken Sims
The steps you list worked for me. ... That makes me think that we used keytool or OpenSSL differently somehow. I'm attaching a batch (DOS) script that I used to set myself up for testing. Note that I'm not using the default locations and file names for the keystore and truststore (some

ISAPI redirector warnings

2004-11-09 Thread Eric Sandusky
While running Tomcat 5 with IIS and JK2.. The Windows Application Logs often log several Warnings at the same point in time, see below for example. The problem is, these Warnings pile up in the Windows Event logs and force the Administrator to manually clear out the logs daily or weekly.

RE: CGI ...yeah, I know (Tomcat 4.1.29)

2004-11-09 Thread Mark Claassen
2004-11-08 16:06:55 StandardContext[]: Servlet threw load() exception javax.servlet.ServletException: Wrapper cannot find servlet class dsi.app.tomcat.DCGIServlet or a class it depends on at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:89 1) at

RE: ISAPI redirector warnings

2004-11-09 Thread Allistair Crossley
you could reduce it by setting logLevel=info in the registry settings. You can also specify logging in the workers2.properties file with an info level. [logger.win32] level=INFO ADC -Original Message- From: Eric Sandusky [mailto:[EMAIL PROTECTED] Sent: 09 November 2004 15:38 To:

RE: SSL Certificate configuration

2004-11-09 Thread Robert Cole
Thanks Ken. That looks exactly like what I did. I suppose the only difference is that our OpenSSL is on Linux and the keystore and Tomcat is on Wintel. I could understand if the certificate didn't work at all (i.e. some dodgy characters when copying/ftping information) but its not that. Is

RE: ISAPI redirector warnings

2004-11-09 Thread Eric Sandusky
Do you know any more information about the 3 logLevels? I see an ERROR, DEBUG, and INFO. I currently set it to DEBUG, which is the default and is not necessary. I would guess that INFO would give you more warnings, and ERROR would give you less warnings. Does this make sense? Eric Sandusky

RE: ISAPI redirector warnings

2004-11-09 Thread Allistair Crossley
i don't know much about jk2 logging. I don't think it can use log4j or commons-logging as it's just a DLL. the theory is the same I imagine, i.e the amount of logging gets narrower info/warn/debug/error. Setting it at ERROR will mean only errors come out and remove all the other stuff.

exception in clustering

2004-11-09 Thread Ronald Klop
Hello, I've a cluster of two nodes with 5.0.25 running on Linux. Everythings works fine for most of the day, but we are now getting this a lot on one server. After shutting down this server, the other one still runs. Nov 9, 2004 4:50:24 PM org.apache.catalina.cluster.tcp.TcpReplicationThread run

russian character support

2004-11-09 Thread Shahin Hadjikuliev
Hi list, How can I configure tomcat for correct displaying of russian characterset ? Thanx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: ISAPI redirector warnings

2004-11-09 Thread Eric Sandusky
By setting the LogLevel to INFO, I get more entries in the Event log. By setting the logLevel to ERROR, I still get the following Warnings in the Application log. Each of the entries starts with the word Error so they must be errors, not warnings. Does anybody know what the root cause of

Re: exception in clustering

2004-11-09 Thread Filip Hanik - Dev
looks pretty normal, this shows that a connection was broken between one server and the other, you need to figure out why it breaks? restart? network? Filip - Original Message - From: Ronald Klop [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 10:02 AM Subject:

Tomcat 5.0.24 - JSP 2.0 SVG example (JSPX) - not opening rendered SVG object in IE 6

2004-11-09 Thread d~l
Problem summary: Tomcat 5.0.24 JSP 2.0 SVG example does not display JSPX rendered SVG file in IE 6 browser. O.k. in Opera and Mozilla. _ I have Tomcat 5.0.24 running on my localhost - Win XP Pro SP1 I am trying out the JSP 2.0 SVG example found here

RE: Datasource problems on Tomcat 5.5.4

2004-11-09 Thread Mark Fleischman
Thanks Rémy Yoav! Mark Quoting Shapira, Yoav [EMAIL PROTECTED]: Hi, The ResourceParams nested elements are history, it's all in the Resource element now. See the new configuration page at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples -howto.html. Yoav

Re: SSL Certificate configuration

2004-11-09 Thread Robert Cole
The CN is the name of the machine, i.e. mis1. I haven't tried the IP yet, but as people will connect via the DNS entry will that resolve to a correct certificate entry in people's browsers? Yes, I know they will have to import the root CA but that's for later. Thanks, Rob Cole +44 (0)20 754

RE: SSL Certificate configuration

2004-11-09 Thread Hubble, Christopher
The machine name should work as long as they're connecting via DNS. Is your test case using the IP or DNS? -Original Message- From: Robert Cole [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 12:42 PM To: Tomcat Users List Subject: Re: SSL Certificate configuration The CN is

RE: Tomcat 5.0.24 - JSP 2.0 SVG example (JSPX) - not opening rendered SVG object in IE 6

2004-11-09 Thread Didier McGillis
You have to configure IE6 to know what svg is and how to display it. From: d~l [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat 5.0.24 - JSP 2.0 SVG example (JSPX) - not opening rendered SVG object in IE 6 Date: Tue, 09 Nov 2004 16:25:15 - Problem summary:

Re: AW: connection pooling

2004-11-09 Thread Nishant Deshpande
I've been dealing with similar issues recently. Basically your reference in web.xml is not 'pointing' to the resource you defined in server.xml for some reason, which is why if you examine the datasource you get, you will see all the fields set to null (as indicated by the error). Try to create a

RE: SSL Certificate configuration

2004-11-09 Thread Ken Sims
I'm not an old-hand in this arena myself -- I don't know how to get TC to log anything that would indicate how it locates/loads the certificate on startup. I think that's a good approach though ... From the perspective of a client browser navigating to a resource via https, both the CA and Server

RE: ISAPI redirector warnings

2004-11-09 Thread Januski, Ken
Given all the problems that people have had with getting ISAPI redirector to work correctly I'd just be happy if it works and not worry about errors in the log. I say that after many attempts at tracking down errors in logs when I couldn't get it working correctly. Though I've always been a

RE: Tomcat 5.0.24 - JSP 2.0 SVG example (JSPX) - not opening rendered SVG object in IE 6

2004-11-09 Thread d~l
On 9 Nov 2004 at 17:56, Didier McGillis codesmoker-at-hotmail.com wrote: You have to configure IE6 to know what svg is and how to display it. Thanks for your reply .. I tried to explain in my post that SVG files (stand alone) display absolutely fine in IE 6 .. no problems there .. IE 6

My Context don't workie

2004-11-09 Thread K. Mike Bradley
Hello to all, I have an app that works fine on Red Hat, Susie, Debian, or even Windows. I built a Gentoo box and it wont work. TomCat runs but the webapp is ignored. The Server.xml has: !-- WebCTRL Context -- Context path= docBase=../../webroot debug=1

Re: My Context don't workie

2004-11-09 Thread Larry Meadors
I wonder if it is the docBase=../../webroot thingy. Use a full path, and see if it works. [EMAIL PROTECTED] 11/09/04 12:01 PM Hello to all, I have an app that works fine on Red Hat, Susie, Debian, or even Windows. I built a Gentoo box and it wont work. TomCat runs but the webapp is

Re: AW: connection pooling

2004-11-09 Thread Eric Wulff
Hi Mohammed, The resource-ref of your web.xml looks alright. While the DefaultContext should work if you place it in the correct location(see notes below) within your server.xml, I doubt you want this to be your final solution. My final fix was suggested by Steve and noted here... Copy the

RE: Tomcat 5.0.24 - JSP 2.0 SVG example (JSPX) - not opening rendered SVG object in IE 6

2004-11-09 Thread Peter Crowther
From: d~l [mailto:[EMAIL PROTECTED] Problem summary: Tomcat 5.0.24 JSP 2.0 SVG example does not display JSPX rendered SVG file in IE 6 browser. O.k. in Opera and Mozilla. Just check whether there's a blank line before the ?xml...? in the generated file. I had the same problem in ASPX

Re: exception in clustering

2004-11-09 Thread Ronald Klop
Yes, I understand that, but I was wondering if there is more experience with using a cluster under load. I am thinking about timeout settings? Or maybe something else. I have everything as default now. Ronald. On Tue Nov 09 17:21:47 CET 2004 Filip Hanik - Dev [EMAIL PROTECTED] wrote: looks pretty

Re: exception in clustering

2004-11-09 Thread Filip Hanik - Dev
here's the deal, the error is on the receiving side. ie, the server printing the error is the on the receiving side getting data. So the sending server closes its connections, and the receiving server prints this message. If the network times out, then this is fine, its more an info message than

RE: Tomcat 5.0.24 - JSP 2.0 SVG example (JSPX) - not opening rendered SVG object in IE 6

2004-11-09 Thread d~l
On 9 Nov 2004 at 20:04, Peter Crowther Peter.Crowther-at-melandra wrote: Problem summary: Tomcat 5.0.24 JSP 2.0 SVG example does not display JSPX rendered SVG file in IE 6 browser. O.k. in Opera and Mozilla. Just check whether there's a blank line before the ?xml...? in the

Re: Tomcat 5.0.24 - JSP 2.0 SVG example (JSPX) - not opening rendered SVG object in IE 6

2004-11-09 Thread Peter Lin
extra lines before ?xml .. can cause some XML parser to fail, so they should be removed. peter On Tue, 09 Nov 2004 20:53:04 -, d~l [EMAIL PROTECTED] wrote: On 9 Nov 2004 at 20:04, Peter Crowther Peter.Crowther-at-melandra wrote: Problem summary: Tomcat 5.0.24 JSP 2.0 SVG example

RE: My Context don't workie

2004-11-09 Thread K. Mike Bradley
I will try that but the path is correct. Don't know why Gentoo would choke on that. -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 2:14 PM To: [EMAIL PROTECTED] Subject: Re: My Context don't workie I wonder if it is the

RE: My Context don't workie

2004-11-09 Thread Shapira, Yoav
Hi, Maybe a permissions issue? Make sure the user running Tomcat on Gentoo has the write permissions to the conf, work, temp directories, and read permissions on your webapps, etc. Yoav Shapira http://www.yoavshapira.com -Original Message- From: K. Mike Bradley [mailto:[EMAIL

RE: My Context don't workie

2004-11-09 Thread K. Mike Bradley
Thanks but I am logged on as root. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 4:06 PM To: Tomcat Users List Subject: RE: My Context don't workie Hi, Maybe a permissions issue? Make sure the user running Tomcat on Gentoo has the

RE: My Context don't workie

2004-11-09 Thread K. Mike Bradley
No difference. This is really weird. -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 2:14 PM To: [EMAIL PROTECTED] Subject: Re: My Context don't workie I wonder if it is the docBase=../../webroot thingy. Use a full path, and see if it

RE: Tomcat 5.0.24 - JSP 2.0 SVG example (JSPX) - not opening rendered SVG object in IE 6

2004-11-09 Thread Peter Crowther
From: d~l [mailto:[EMAIL PROTECTED] Thanks for the guess .. but I have just checked the textRotate.jspx file which IE is prompting to be downloaded .. and there is no white space before the ? xml header If you download and save it as file.svg on your desktop, then double-click it, does

RE: My Context don't workie

2004-11-09 Thread K. Mike Bradley
Is there any way to turn on some sort of debugging? BTW here is mt entire server.xml ?xml version=1.0 encoding=UTF-8? !-- Webserver Configuration File WARNING ** Don't edit this file directly, use the command 'config'

RE: My Context don't workie

2004-11-09 Thread Shapira, Yoav
Hi, You can add debug=99 attributes to all the containers in server.xml to get additional debugging data. Tomcat 5.x has better debugging support via commons-logging. Try commenting out pieces, like the Realm, to maybe isolate the problem component further. Yoav Shapira

TC 4.1_05

2004-11-09 Thread Scott Purcell
I have just installed Tomcat 4.1_05 on my win2000 box and I am having trouble adding web Contexts. Here is the original server.xml entry. Context path=/ docBase=ROOT debug=0 reloadable=true / Now, on all my old Tomcat installs, when I needed to add a new Context I would add another line like

jsp-config for pages under WEB-INF is not working

2004-11-09 Thread Tuncay Baskan
Hello, I'm using Tomcat-5.0.28. In my web.xml I have the following: jsp-config jsp-property-group url-pattern/WEB-INF/pages/*/url-pattern el-ignoredtrue/el-ignored page-encodingwindows-1254/page-encoding scripting-invalidtrue/scripting-invalid is-xmlfalse/is-xml

RE: TC 4.1_05

2004-11-09 Thread Shapira, Yoav
Hi, I have just installed Tomcat 4.1_05 on my win2000 box and I am having trouble adding web Contexts. We don't use the same version conventions as Sun, there are no underscores in Tomcat version numbers. So there's Tomcat 4.1.5 and 4.1.15, but no 4.1_05 exists. Both these versions are

RE: TC 4.1_05 sb 4.1.31

2004-11-09 Thread Scott Purcell
I am stressing and writing the wrong info. I apologize Here is the startup info C:\Documents and Settings\spurcell%CATALINA_HOME%\bin\startu Using CATALINA_BASE: C:\jakarta-tomcat-4.1.31 Using CATALINA_HOME: C:\jakarta-tomcat-4.1.31 Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.1.31\temp Using

Re: jsp-config for pages under WEB-INF is not working

2004-11-09 Thread Tuncay Baskan
My bad.. I haven't yet understood what happened but it seems to be working now.. -- /tb. On Tue, 9 Nov 2004 23:21:31 +0200, Tuncay Baskan [EMAIL PROTECTED] wrote: Hello, I'm using Tomcat-5.0.28. In my web.xml I have the following: jsp-config jsp-property-group

RE: Tomcat 5.0.24 - JSP 2.0 SVG example (JSPX) - not opening rendered SVG object in IE 6

2004-11-09 Thread d~l
On 9 Nov 2004 at 21:13, Peter Crowther Peter.Crowther-at-melandra wrote: If you download and save it as file.svg on your desktop, then double-click it, does it load? If so, I suspect a content-type issue. - Peter yes .. if I

Getting filepath of webapp without using Reqeust or Response

2004-11-09 Thread Duncan Krebs
Hi, I'm trying to figure out how I can lookup the real file path of my webapp in code without using the HttpServletResponse or HttpServletRequest. I have a lot of classes calling other classes and its annoying to always have to pass the request objects as parameters. Does anyone know if this is

Killing threads during context restart

2004-11-09 Thread TK Banks
I have a background thread object in my tomcat application that performs some garbage-collection like functions (i.e., wakes up periodically and does some application specific cleanup). I have tomcat configured to restart the context when I drop new class files in the WEB-INF/classes directory.

Re: Killing threads during context restart

2004-11-09 Thread Filip Hanik - Dev
you can setup context listeners, and when the context is stopped you will receive an event and can stop your bg thread Filip - Original Message - From: TK Banks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 4:40 PM Subject: Killing threads during context

Re: Killing threads during context restart

2004-11-09 Thread Wendy Smoak
From: TK Banks [EMAIL PROTECTED] I guess I don't even know what a context is, but I assumed that a context restart would kill off all application threads. How am I supposed to get all my application threads to die when the context restarts? What about creating a ServletContextListener? With

RE: comparison of Type 4 JDBC drivers

2004-11-09 Thread Craig Collings
Interesting. I'm using com.microsoft.jdbc.sqlserver.SQLServerDriver which is a type 4 driver and I am also getting ex VM errors: any ideas? An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc005) occurred at

RE: My Context don't workie

2004-11-09 Thread K. Mike Bradley
Thanks but this is a tried and true app that has been out for two years now. It works on windows, multiple Linux and Solaris Just this one Gentoo box (my first actually). The vendor provides a config util which I have run a million times after deleting the server.xml file. It regenerates a

RE: comparison of Type 4 JDBC drivers

2004-11-09 Thread Robert Harper
This is the JVM catching an exception/access violation in the native code outside of the JVM. The problem is probably in native code in the driver or any jni code you may be using. If you are not using any jni to wrap native code that is custom to your site, you should look at how you are calling

Re: comparison of Type 4 JDBC drivers

2004-11-09 Thread Tuncay Baskan
On Wed, 10 Nov 2004 12:18:20 +1300, Craig Collings [EMAIL PROTECTED] wrote: Interesting. I'm using com.microsoft.jdbc.sqlserver.SQLServerDriver which is a type 4 driver and I am also getting ex VM errors: any ideas? I don't know if it's helps.. We tried to use Microsoft JDBC drivers in

RE: My Context don't workie

2004-11-09 Thread Larry Meadors
Is this using gentoo's tomcat install? If so, you may want to download and setup tomcat manually, to see if the problem persists. Gentoo's java tools are...umm..interesting at times. Larry [EMAIL PROTECTED] 11/09/04 4:24 PM Thanks but this is a tried and true app that has been out for two

RE: comparison of Type 4 JDBC drivers

2004-11-09 Thread Craig Collings
cheers guys. To be fair, there is no real indication that it _is_ the jdbc driver. In fact the satck trace seems to indicate an interation between sun's code and ntdll.dll which is rather more scary :) Its only happened once - we'll see. jtds looks good though... /disco : : I don't know if

Tomcat is Good Enough for Game Performances

2004-11-09 Thread Bing Li
Dear all, I have a lot of Java programming over Tomcat. But I don't have such experiences to use Tomcat commercially. I heard that Tomcat could only be used for a laboratory environment and it was not mature enough for real commercial applications. Is it right or not? Now I attempt to use

Re: exception in clustering

2004-11-09 Thread Mufaddal Khumri
Hi, I am using Apache - modjk -Tomcat 5 configuration. The tomcat manager app uses BASIC authentication. When I point my browser to /myurl/manager the browser pops up a dialog box for the username and password. Upon entering the correct information it logs me into the manager app. I am trying

Re: Killing threads during context restart

2004-11-09 Thread TK Banks
Thanks all. I have the threads dying cleanly now. --- Filip Hanik - Dev [EMAIL PROTECTED] wrote: you can setup context listeners, and when the context is stopped you will receive an event and can stop your bg thread Filip - Original Message - From: TK Banks [EMAIL PROTECTED]

Re: comparison of Type 4 JDBC drivers

2004-11-09 Thread Steven J. Owens
On Wed, Nov 10, 2004 at 01:29:34AM +0200, Tuncay Baskan wrote: On Wed, 10 Nov 2004 12:18:20 +1300, Craig Collings [EMAIL PROTECTED] wrote: I'm using com.microsoft.jdbc.sqlserver.SQLServerDriver which is a type 4 driver and I am also getting ex VM errors: any ideas? I don't know if

Re: Tomcat is Good Enough for Game Performances

2004-11-09 Thread Peter Lin
in this day, most of the servlet containers are about the same in terms of performance. What matters most is your design and implementation. there are plenty of sites getting 10million+ page views a day with tomcat. who ever told you tomcat is only for lab use is totally clueless. there's an

Manager App and basic authentication

2004-11-09 Thread Mufaddal Khumri
Hi, (Sorry, I posted this message under the wrong thread before) I am using Apache - modjk -Tomcat 5 configuration. The tomcat manager app uses BASIC authentication. When I point my browser to /myurl/manager the browser pops up a dialog box for the username and password. Upon entering the

Anyone knows how to deal with mail session -security error for TC5.5.4

2004-11-09 Thread David Lee
if running tomcat5.5.4 without turning on -security, everything works fine for jndi context mail session and DBCP. But if -security turned on, I got the following errors. If anyone can point to me what I missed or did wrong, greatly appreciated. Thanks David 1. TC errors access: access

Re: Manager App and basic authentication

2004-11-09 Thread Peter Lin
I think you should post this to the [EMAIL PROTECTED] mailing list. to get it to work with JMeter, you'll need to add auth manager to your test plan. add an entry in the auth manager url - leave blank username - yourUser password - yourPassword The documentation for it is here.

RE: IIS 6 - IIS 5 Isolation mode with JK2 ISAPI.dll

2004-11-09 Thread Brad Cobb
I also run Tomcat 5.0.28 with IIS 6 using the JK2 Connector without turning on Isolation Mode... and our app works fine. I suspect people turn this setting on to disable functionality in IIS 6 that they don't understand or know how to configure properly. Brad -Original Message- From:

Counting Page Hits

2004-11-09 Thread Justin Jaynes
What is the easiest way to monitor hits to resources (files or pages) on my tomcat 5 server? Do I write my own ticker into each page I want to monitor and store the incremented value to a database? Or is there a much simpler solution already implimented in some tomcat management software (I have

JNI Error with Tomcat

2004-11-09 Thread Dan Barron
Hello, I am having trouble loading a native library for use within Tomcat web applications. I read the wiki entry and found the latest JNI posts - but I still don't quite get it and still have an error. I'm hoping someone out there has been through this and has some suggestions. My

  1   2   >