RE: Repeated context reloading

2006-03-07 Thread Saraf, Prashant \(Prashant\)
Try setting the reloadable attribute to false in the context definition of your webapp. Thanks, -Prashant. -Original Message- From: Peiran Song [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 7:33 AM To: Tomcat Users List Subject: Repeated context reloading Hi All, The ca

Server setup

2006-03-07 Thread Morten Andersen
How can I set up my server environment when my requirements are the following: * Multihoming must be possible without restart of the server * The server must be secure. Should I setup an apache server in front of tomcat to handle multihoming and then run a tomcat per application? Or can Tomcat h

RE: TomcatProbe 1.1 released

2006-03-07 Thread Vlad.Ilyschenko
hey, it was late and i wasnt thinking :( the probe would try to get an instance of the datasource (new InitialContext().lookup() business) and if that fails the datasource wouldnt be shown. There will be a stack trace in probe.log to do with that. The most common reason for that is jdbc d

RE: Invoker servlet

2006-03-07 Thread Devireddy, Nagendra Reddy (STSD)
Hi Wendy, Thanks for your reply. So it may lead to some security problems. How can I avoid this ? Any document/link will be of great help. Thanks, Nagendra -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 10:45 AM To: Tomcat Users List Su

Re: Invoker servlet

2006-03-07 Thread Wendy Smoak
On 3/7/06, Devireddy, Nagendra Reddy (STSD) <[EMAIL PROTECTED]> wrote: > As per Our product documentation guideline I have uncommented invoker > servlet. Will it lead to any security problems ?? > By Default its commented in tomcat 5.x. http://tomcat.apache.org/faq/misc.html#invoker -- Wendy --

Invoker servlet

2006-03-07 Thread Devireddy, Nagendra Reddy (STSD)
Hi, As per Our product documentation guideline I have uncommented invoker servlet. Will it lead to any security problems ?? By Default its commented in tomcat 5.x. Thanks and Regards, Nagendra Reddy. D Hewlett Packard ISO (STSD) Bangalore. Ph : 080-22052254 +hp = Everything is Possible

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Buddy wu
2006/3/7, David Kerber <[EMAIL PROTECTED]>: > thanks a lot. it worked. and I think someone discussed other problem of these question maybe right. but my goal is only to let tomcat's URL or URI (I don't kown which is wright, or all are write) case-insensitive. I don't care the case-sensitive featur

Repeated context reloading

2006-03-07 Thread Peiran Song
Hi All, The catalina.out file records the following output every 10 minutes while the specified JAR file is not touched/modified at all. Any one has any idea of the cause of it and suggestions for a solution? Mar 7, 2006 5:11:56 PM org.apache.catalina.loader.WebappClassLoader modified INFO:

RE: TomcatProbe 1.1 released

2006-03-07 Thread Vlad.Ilyschenko
hm, Just tried again for both Tomcat 5.0.30 and 5.5.15 : >>> snip (server.xml 5.5.15) <<< >>> snap (server.xml 5.5.15) <<< >>> snip (appcontext.xml 5.5.15) <<< >>> snap (appcontext.xml 5.5.15) <<< probe 1.1 shows the resource OK. Mind you, prior to 1.1 probe did n

Re: TomcatProbe 1.1 released

2006-03-07 Thread Remy Maucherat
On 3/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > yeah, that makes sense. If you have a context referencing the datasource in > question via ResourceLink it will be displayed. Datasources declared in > contexts would also be shown. > > Whilst we are on this subject, can global datasources

RE: TomcatProbe 1.1 released

2006-03-07 Thread Vlad.Ilyschenko
yeah, that makes sense. If you have a context referencing the datasource in question via ResourceLink it will be displayed. Datasources declared in contexts would also be shown. Whilst we are on this subject, can global datasources be looked up by contexts without explicit ResourceLink? -

Re: TomcatProbe 1.1 released

2006-03-07 Thread Remy Maucherat
On 3/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > hi Remy, > > the probe does not use JMX to read DBCP datasources or any datasources for > that matter. > > Did you get any error or is it the case of datasource(s) missing from the > list on "datasources" tab? > > If it is the latter could

RE: TomcatProbe 1.1 released

2006-03-07 Thread Vlad.Ilyschenko
hi Remy, the probe does not use JMX to read DBCP datasources or any datasources for that matter. Did you get any error or is it the case of datasource(s) missing from the list on "datasources" tab? If it is the latter could you let me know how and where the datasource is declared? Regards, V

RE: SEVERE: Error listenerStart

2006-03-07 Thread lee hwaying
To add to it, this piece of program runs well in my local tomcat 5.5.12 but fail to run with the following error when i upload to server. regards From: "lee hwaying" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: users@tomcat.apache.org Subject: SEVERE: Error listenerStart Date: Wed

SEVERE: Error listenerStart

2006-03-07 Thread lee hwaying
Hi all I have a program that encounter the below error. Please Help! 4000440e149115067fec Mar 7, 2006 11:17:27 PM org.apache.catalina.core.ApplicationContext log @4000440e149115068ba4 INFO: HTMLManager: start: Starting web application at '/gallery' @4000440e14921db1dc2c [GC 86464

duplicate deploy with virtual hosts

2006-03-07 Thread Dan Adams
Okay, I have a working configuration with 2 virtual hosts but I would like to have tomcat extract the wars automatically without auto-deploying them to their own webapps because this causes my applications to get launched twice each. I tried setting unpackWARs="true" and deployOnStartup="false" but

overheads on multiple connectors

2006-03-07 Thread Chris Fong
Hi, I would like to how much performance/resource consumption impact there will be for the configuration of 1) having a single tomcat instance with 10 connectors all listening on different ports. The total max threads for all the connectors are 500. 2) having a single tomcat instance with only

Re: Upgrade has broken my jndi

2006-03-07 Thread g . kelemen
Follows is to do: extract your Resource section from server.xml and copy to context.xml. I did the same and my jndi works very fine. György "Tomcat Users List" schrieb am 07.03.06 22:58:18: > > here are the docs > http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html >

Re: out.flush() not working with mod_jk

2006-03-07 Thread Sven Köhler
Sven Köhler schrieb: >> Use mod_jk 1.2.15 and add: >> JkOptions +FlushPackets > > That did the trick. > > But shouldn't this be enabled by default? Why i say that: - mod_jk shouldn't cause too many differences to using plain tomcat - how big is this mod_jk/apache-internal buffer that is not flu

[JSP 2.1] Deferred exressions in JSP tags

2006-03-07 Thread Michael Jouravlev
To what extent deferred EL expressions will be supported in JSP 2.1 and in Tomcat 6 in particular? After reading couple of introductory articles and the JSP2.1 spec I have understood that deferred expressions are possible in JSP tags. But I cannot make much from the following paragraph from the s

Re: Upgrade has broken my jndi

2006-03-07 Thread Filip Hanik - Dev Lists
here are the docs http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html I don't see them declare the "factory" attribute in 5.5, you didn't tell us what version you were on Filip ALEX HYDE wrote: Hi All, I've seen this one all over the user group but I seem to have com

Re: out.flush() not working with mod_jk

2006-03-07 Thread Sven Köhler
> Use mod_jk 1.2.15 and add: > JkOptions +FlushPackets That did the trick. But shouldn't this be enabled by default? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Upgrade has broken my jndi

2006-03-07 Thread ALEX HYDE
Hi All, I've seen this one all over the user group but I seem to have come to a dead end with this. I have upgraded from tomcat 4 to 5 and I can't seem to get my app working again. The part that has broken is the jndi datasource look-up. I notice that I'm definitly not the first to experience th

RE: Tomcat 5.0.28 memory leak

2006-03-07 Thread Tim Lucia
You don't *have* to make it serializable. But if you don't, sessions cannot be persistent across a Tomcat shutdown, nor can they be replicated in a clustered environment. The error below is pointing out this fact to you. Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PRO

RE: Tomcat 5.0.28 memory leak

2006-03-07 Thread Robert Harper
I am not using Struts. The logger is the default logger from the servlet. I am only calling the log() function from the HttpServlet.log() method for logging. The logging is context based on the Tomcat configuration. The way I know I am running out of memory is that when I attempt to create a new o

RE: Tomcat 5.0.28 memory leak

2006-03-07 Thread VRamchandani
I have similar issues and I am using struts and logging using log4j.What I don't understand is why that shud cause a problem with meory. I ran the application on tomcat 4.1.24 and it runs with no errors.I also tried increasing permgen space but didn't help. |-+

RE: Tomcat 5.0.28 memory leak

2006-03-07 Thread Caldarale, Charles R
> From: Robert Harper [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 5.0.28 memory leak > > OK so when all objects have only have method scope and none > are static. Is that what the profiler says, or is that your assessment of your applications? What about loggers, Struts, or other framework

RE: Tomcat 5.0.28 memory leak

2006-03-07 Thread Robert Harper
OK so when all objects have only have method scope and none are static. How is it that I am holding onto them? Robert S. Harper Information Access Technology, Inc. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 12:38 PM To: Tomcat Us

RE: Tomcat 5.0.28 memory leak

2006-03-07 Thread Caldarale, Charles R
> From: Robert Harper [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 5.0.28 memory leak > > I have a similar problem with 1.4.2_07-b05. My app runs with > very little traffic but as time goes on, the system runs out > of memory even though there is plenty of idle time for the gc > to do it's t

RE: Tomcat 5.0.28 memory leak

2006-03-07 Thread Robert Harper
I have a similar problem with 1.4.2_07-b05. My app runs with very little traffic but as time goes on, the system runs out of memory even though there is plenty of idle time for the gc to do it's thing. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Caldarale,

RE: Tomcat 5.0.28 memory leak

2006-03-07 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 5.0.28 memory leak > > I am using jdk1.4.0_04 and tomcat 5.0.28. You really need to get off that level ASAP. Use 1.4.2, which fixes many, many bugs compared to 1.4.0. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDEN

Re: Tomcat 5.0.28 memory leak

2006-03-07 Thread VRamchandani
Also the server doesn't break if I start it as an application and not as a sevice?Though it just seems to increase in memory slowly but doesn't run out of memory. I tried running a simple load test with 3 users. Again after researching could using log4j and logging be an issue? I am using jdk1.4.0_

Re: TomcatProbe 1.1 released

2006-03-07 Thread Remy Maucherat
On 3/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > It is a difficult question. I wrote it because of these reasons: > > 1. To see how busy the datasources are and be able to reset them without > server restart. I didn't get it to work (the JMX bean for the DBCP datasource was available). Ho

Re: Tomcat 5.0.28 memory leak

2006-03-07 Thread Gary Evesson
[EMAIL PROTECTED] wrote: Yes I am putting it out in the session but I get the error after the service has broken and at that point its probably trying to persist data??? and that should be serializable. My issue is why doesthe service break in the first place? I am just doing refesh on a page sev

Re: Tomcat Crashes after 1000 sessions.

2006-03-07 Thread Filip Hanik - Dev Lists
you can configure maxActiveSession, http://tomcat.apache.org/tomcat-5.0-doc/config/manager.html Vikram Godse wrote: Hi, My CATALINA_OPTS parameter has the following values i have 4gb ram on my server CATALINA_OPTS="-server -XX:MaxPermSize=512m -Xms1024m -Xmx1024m" This is what i see

RE: JNDI datasource

2006-03-07 Thread David McMinn
actually - got it - Thanks for the tutorial - I had incorrectly named a folder .. got foo and bar and hello and 12345 working - first jdbc - woohoothanks all David [EMAIL PROTECTED] wrote: Would You send me your server.xml, context.xml and web.xml? György "Tomcat Users List" s

Re: Tomcat 5.0.28 memory leak

2006-03-07 Thread VRamchandani
Yes I am putting it out in the session but I get the error after the service has broken and at that point its probably trying to persist data??? and that should be serializable. My issue is why doesthe service break in the first place? I am just doing refesh on a page several times?? I was reading

Re: Tomcat 5.0.28 memory leak

2006-03-07 Thread Gary Evesson
[EMAIL PROTECTED] wrote: Why do I have to make my class serializable.It is a simple web application using the "MemberData" class for storing some data??? Because you are pushing it onto the session. - Gary - To unsubscribe, e-

RE: Tomcat Crashes after 1000 sessions.

2006-03-07 Thread Sheets, Jerald
Again, I would configure jconsole for remote viewing. I'd keep an eye on a specific server, and watch his activity. My guess is you're going to see a condition graphically which will clearly point out to you what is going on, but you won't know until jconsole is configured and running. --JMS -

RE: TomcatProbe 1.1 released

2006-03-07 Thread Vlad.Ilyschenko
It is a difficult question. I wrote it because of these reasons: 1. To see how busy the datasources are and be able to reset them without server restart. 2. To see the contents of http sessions and not only their count. 3. To be able to download logs from the server without typing a bunch of lin

RE: Tomcat 5.0.28 memory leak

2006-03-07 Thread VRamchandani
Why do I have to make my class serializable.It is a simple web application using the "MemberData" class for storing some data??? |-+> | | "Tim Lucia" | | | <[EMAIL PROTECTED]| | | om> | |

NoClassDefFoundError: javax/servlet/Servlet Tomcat 5.0.28

2006-03-07 Thread ext-kevin.murdoff
 Greetings All -   I'm getting this error when starting Tomcat using the 'startup.bat' file on Windows XP.  The 'servlet-api.jar' file is in the '/common/lib' directory and I have other web apps that are functioning correctly.   The 'web.xml' file is valid (i.e. no syntax errors

RE: Tomcat 5.0.28 memory leak

2006-03-07 Thread Tim Lucia
Also, I should mention that the commons-logging / log4j "leak" is because the shutdown process is not correctly followed. You should have an application context listener which 'shuts down' the logger when the application's context is destroyed, i.e., public class ApplicationLifecycleListener impl

RE: Tomcat 5.0.28 memory leak

2006-03-07 Thread Tim Lucia
The error below is because the class aaa.pm.server.beans.MemberData does not implement java.io.Serializable. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 1:09 PM To: Tomcat Users List Subject: Re: Tomcat 5.0.28 memory leak Yes I trie

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Vikram Godse
Hi, Sorry for the incorrect posting... Regards, VIkram On 3/7/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > > Vikram Godse > > Subject: Re: How can I set tomcat NOT Case Sensitive > > > > Can anybody tell me where the prob

Re: Tomcat 5.0.28 memory leak

2006-03-07 Thread VRamchandani
Yes I tried JProbe and during memory debugging I see char[] size going up.If I look into bug databases there are various reasons.Some talk to commons-logging others about session persistance. I am getting the following error in my log4j log for the application.Also I noticed if I run tomcat as an a

Re: Tomcat Crashes after 1000 sessions.

2006-03-07 Thread Vikram Godse
Hi, My CATALINA_OPTS parameter has the following values i have 4gb ram on my server >CATALINA_OPTS="-server -XX:MaxPermSize=512m -Xms1024m -Xmx1024m" This is what i see in the tomcat manager server info. >Max threads: 200 Min spare threads: 4 Max spare threads: 50 Current thread count: 20 >Curren

Re: Tomcat 5.0.28 memory leak

2006-03-07 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > Hello All, > > I posted this question before.I am using tomcat5.0.28 somehow my > application blows the service with memory increasing really quicly even > with one user. > If I test same on tomcat 4.1.24 it runs fine. > Any known leaks with this version ???I think tomca

How to test chunked http request ? (Again)

2006-03-07 Thread COURTAULT Francois
Hello, The pb of Tomcat "chunk" support is not for the HTTP response: it is for HTTP request !!! Do you know if it works too ? Any way to test it ? Regards. > CF> Hello, > > CF> Do you know if these options are supported by Tomcat 5.x ? > > CF> Regards.

Differences between Tomcat 4.1.18 and Tomcat 5.5.15 break .JSP compilation - Please advise??

2006-03-07 Thread Steve Downie
I'm writing in the hope that one of you has come across a similar problem and may know of a solution. I'm having trouble compiling a JSP/Java servlet that compiled without error under Apache1.3.27-4/Tomcat 4.1.18 running on Linux I'm configuring a new server and have upgraded to Apache 2.2.0/

Re: question about redirect and session management

2006-03-07 Thread Filip Hanik - Dev Lists
I suggest you use Firefox and a little plug-in called LiveHttpHeaders, that way you can see what JSESSIONID cookie is sent up to the server from your browser, and this will help you figure out what is wrong Filip csp wrote: On 2/25/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: t

Re: question about redirect and session management

2006-03-07 Thread csp
On 2/25/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > > this is what the browser does. > in order for the browser to send the cookie to the server, the URL needs > to be the same. > That is the domain-name/ip, port and path. > > so, http://my.server.com:8080/ is different from > http://m

RE: [tomcat] : request.setCharacterEncoding ("UTF-8") doesn't work ?

2006-03-07 Thread Larry Isaacs
Assuming you are using a version of Tomcat 5, you will have to modify something on the to fix this, easily. If you want request.setCharacterEncoding("UTF-8") to affect the encoding of GET query parameters (not just POST parameters), then you must set useBodyEncodingForURI="true" on the . The defa

RE: JNDI datasource

2006-03-07 Thread g . kelemen
Would You send me your server.xml, context.xml and web.xml? György "Tomcat Users List" schrieb am 07.03.06 16:49:39: > > went through this and received following error: > > > org.apache.jasper.JasperException: Exception in JSP: /test.jsp:41: <%@ > taglib uri="http://java.sun.com/jsp/j

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
Peter Crowther wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Ok, I see that, and it's kind of scary! That seems like a pretty poor design for the compiler not to handle that kind of change. It ain't the compiler - the JSP compiler never gets invoked because the mapping is case-se

RE: JNDI datasource

2006-03-07 Thread David McMinn
went through this and received following error: org.apache.jasper.JasperException: Exception in JSP: /test.jsp:41: <%@ taglib uri="http://java.sun.com/jsp/jstl/sql"; prefix="sql" %> 2: <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> 3: 4: 5: select id, foo, bar fr

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Delbecq
The compiler does exactly what his job is, compiling *.jsp, not *.Jsp not *.jSp or alike, following the specs. The casesensitive flag is there only to deactivate tomcat internal checks on case sensitive filesystems (where this check is just taking cpu time with no need). David Kerber a écrit : >

RE: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Peter Crowther
> From: David Kerber [mailto:[EMAIL PROTECTED] > Ok, I see that, and it's kind of scary! That seems like a > pretty poor > design for the compiler not to handle that kind of change. It ain't the compiler - the JSP compiler never gets invoked because the mapping is case-sensitive, and the mappi

Tomcat and LDAP Server Implementation

2006-03-07 Thread Boris Unckel
Hello, I had a look at directory.apache.org but this is much too heavy weight for my application. Currently we have nightly batch runs to pump the user data into an LDAP Server (currently IPlanet, but could be OpenLDAP or some other LDAPv3 Server). The disadvantage is, that allowing/denying a new

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
Ok, I see that, and it's kind of scary! That seems like a pretty poor design for the compiler not to handle that kind of change. Thanks for explaining... Dave Tim Lucia wrote: If you ask for /path/to/some.JSP, you will see the source code of the jsp, since the jsp compiler is mapped to *.js

Tomcat 5.0.28 memory leak

2006-03-07 Thread VRamchandani
Hello All, I posted this question before.I am using tomcat5.0.28 somehow my application blows the service with memory increasing really quicly even with one user. If I test same on tomcat 4.1.24 it runs fine. Any known leaks with this version ???I think tomcat 5.0 has problems.I have read issues

Re: JDBC DataSources with SYBASE Adaptive Server Anywhere

2006-03-07 Thread Tom Bednarz
Hello Petr, Well you did give me some hints that helped me a lot! I solved the problem late last night. It was one of the very nasty bitches It was as I assumed at the very beginning: If I debug my environment inside Eclipse it is not the same as running a deployed version in a Tomcat d

RE: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Peter Crowther
> From: Tim Lucia [mailto:[EMAIL PROTECTED] > If you ask for /path/to/some.JSP, you will see the source > code of the jsp, > since the jsp compiler is mapped to *.jsp (and not *.JSP). Presumably [I haven't tested this] detection of accesses to WEB-INF and META-INF will also fail, exposing the we

RE: Using a configuration file without path for an application deployed on tomcat

2006-03-07 Thread STEINER Stephan
Nick Thanks for the suggestion. It's a bit problematic though since that config file needs to be edited by our clients and we obviously won't give out the source code so that they can rebuild the jar. Since a jar is just an archive, wouldn't it be possible to actually open that archive and jus

RE: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Tim Lucia
If you ask for /path/to/some.JSP, you will see the source code of the jsp, since the jsp compiler is mapped to *.jsp (and not *.JSP). Thus, someone can see the internal workings of your jsp and make 'better' hacking attempts. Is there something else about security you are concerned with? -

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
Yes, that was me, and that's why I chimed in here. However, still nobody has explained in any detail how this is a security risk other than reducing the number of guesses you have to make to find static resources in a brute-force hacking attempt... Tim Lucia wrote: I am sure I have seen th

RE: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Tim Lucia
I am sure I have seen this before on this list, and the answer I remember is that the case sensitivity part is only for file names. Servlet mappings are case-sensitive regardless because the spec says so. Read this as well, although it says "all case sensitivity checks will be disabled" it doesn'

RE: JNDI datasource

2006-03-07 Thread Caldarale, Charles R
> From: (e==mc²)? [mailto:[EMAIL PROTECTED] > Subject: Re: JNDI datasource > > just a tip why dont you try creating a datasource manually since neuer > Tomcat version dont provide the admin application you will be then > confortable with laater versions and you will dig into knowing things > bett

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
Would that mean that it only applies to stuff being read off the filesystem, like .jsp's and other files? Therefore it wouldn't apply to context paths, servlets, etc? Thanks! Dave David Delbecq wrote: Looking at code, it seems the casesensitive flag is used when a ressources is loaded from

Re: JNDI datasource

2006-03-07 Thread (e==mc²)?
just a tip why dont you try creating a datasource manually since neuer Tomcat version dont provide the admin application you will be then confortable with laater versions and you will dig into knowing things better ? http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.html good

JNDI datasource

2006-03-07 Thread David McMinn
I have both the manager and admin up and running. In the admin, I have no datasources under the admin menu. I am attempting to get a datasource showing up here. Can someone walk me through step by step in doing this. I am running tomcat 5.5.12. I have tried the tutorial but have had no luck. Tha

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Delbecq
Looking at code, it seems the casesensitive flag is used when a ressources is loaded from filesystem (amongst others). if casesensitive is true, the absolute filename of loaded ressource is compared to the requested ressource (in filedircontext). If casesensitive is removed, anything accepted by ne

RE: Tomcat Crashes after 1000 sessions.

2006-03-07 Thread Sheets, Jerald
I would look at a few things. First, you should read about and implement the JMX instrumentation (jconsle) to get a clear idea of your garbage collection profile. Second, your JVM server options (Xmx, Xms, etc.) need to be set high enough to handle that number of connections. Make sure you have

Re: Tomcat Crashes after 1000 sessions.

2006-03-07 Thread Mikolaj Rydzewski
Vikram Godse wrote: I am facing a problem, when my user sessions(in tomcat) go beyond 1000 the tomcat server stop serving requests and just displays a blank page.What i have observed that, though there are only 150 users actually accessing the website the number of sessions are atleast 800-900.

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
If it works that way (and I haven't tried it), then I would say that the caseSensitive="false" flag was not working as I would expect. I would expect that things defined for /MYNAME would work for /myname if caseSensitive was false. Can anybody tell me definitively how this security risk work

Re: Tomcat Crashes after 1000 sessions.

2006-03-07 Thread Danny Lee
Have you checked settings like "maxThreads" in your server.xml file? If you have something like 1000 here... you know ;) Cheers, Danny Vikram Godse wrote: actually accessing the website the number of sessions are atleast 800-900. Can anybody tell me where the problem lies? i have been trying

RE: Tomcat Crashes after 1000 sessions.

2006-03-07 Thread Klotz Jr, Dennis
Isn't this related to the max thread count setting in server.xml? I would also look into tuning your session expiration value. Perhaps having a logout button or javascript that will invalidate the session when they leave your page... Hope this helps. -Dennis -Original Message- From: [EMA

RE: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Vikram Godse > Subject: Re: How can I set tomcat NOT Case Sensitive > > Can anybody tell me where the problem lies? The problem lies in hijacking someone else's mailing list thread. Start your own if you have a new issue to disc

Tomcat Crashes after 1000 sessions.

2006-03-07 Thread Vikram Godse
Hi, I am running Apache Tomcat/5.5.12 with JVM 1.5.0-b64.My O/S is RHEL4.0 ES.My hardware configuration is as follows Intel Xeon 3.0Ghz Dual CPU RAM 4gb I am running an JSP and Servlets based application with connectivity to MySQL 5 for database access. I am facing a problem, when my user sessions(

RE: Bootstrap class - Interface bind - Problem there again.

2006-03-07 Thread Caldarale, Charles R
> From: Torsten Krah [mailto:[EMAIL PROTECTED] > Subject: RE: Bootstrap class - Interface bind - Problem there again. > > After the call i get additionally this: > tcp6 0 0 :::54109:::* > LISTEN 3495/java Is the port number always the same? Does this happen with a

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Vikram Godse
Hi, I am running Apache Tomcat/5.5.12 with JVM 1.5.0-b64.My O/S is RHEL4.0 ES.My hardware configuration is as follows Intel Xeon 3.0Ghz Dual CPU RAM 4gb I am running an JSP and Servlets based application with connectivity to MySQL 5 for database access. I am facing a problem, when my user sessions(

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Delbecq
I suspect a call to /something.JSP will not go thru the jsp engine. I can also guess that calls the security constraints applied on /servlet will not apply on /SERVLET David Kerber a écrit : > I've seen that notice, but could you explain to me how that works? I > don't see how this could cause

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
I've seen that notice, but could you explain to me how that works? I don't see how this could cause any security issues, except for slightly reducing the number of attempts you would need in a brute-force hacking attempt. Dave David Delbecq wrote: Be careful, there are security issues wit

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Delbecq
Be careful, there are security issues with this (jsp code disclosure!)!! David Kerber a écrit : > > > > Buddy wu wrote: > >> 2006/3/7, Long <[EMAIL PROTECTED]>: >> >> >>> Buddy wu wrote: >>> I wan't to know there is any way to set tomcat NOT CASE >>> SENSITIVE in URL >>> I mean: when I

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Smith
I believe the case sensitivity is per spec and there aren't any settings to change it. One possibility (this is untested) is to wrap the request in your own request wrapper and then over ride the methods that provide different components of the request URI to normalize case. Use a request filter

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
Buddy wu wrote: 2006/3/7, Long <[EMAIL PROTECTED]>: Buddy wu wrote: I wan't to know there is any way to set tomcat NOT CASE SENSITIVE in URL I mean: when I write in browser's 'http://localhost/test.html' equals to 'http://localhost/TEST.htm'. Can I do it ? or just in WINDOWS can

RE: Bootstrap class - Interface bind - Problem there again.

2006-03-07 Thread Torsten Krah
Some additions: Before i call some webapp the container is running, i get this output from netstat: tcp6 0 0 :::127.0.0.1:8005 :::* LISTEN 3495/java tcp6 0 0 :::127.0.0.1:8009 :::* LISTEN 3495/java tcp6 0 0 :::127.0.0.1:8080 :::* LISTEN

Fork a new JVM from a project out of a running tomcat instance

2006-03-07 Thread Torsten Krah
Hello. Is there any possibility to fork a new instance of a jvm from a running one? For example, every project tomcat is running, should fork its own jvm. Its appreciated that it use the same start parameters as the original one. thx for help. kind regards Torsten -

Re: [tomcat] : request.setCharacterEncoding ("UTF-8") doesn't work ?

2006-03-07 Thread David Delbecq
sol myr a écrit : >Hi, > > I'm having a problem with HttpServletRequest.setCharacterEncoding("UTF-8"). > Basically, tomcat seems to ignore it completely, and assume "latin1" > encoding. > > request.setCharacterEncoding("UTF-8") must be called prior to any request.getParameter() call. If

Re: JMX via SSH tunnel does not work?

2006-03-07 Thread Mikolaj Rydzewski
Andreas Schildbach wrote: I understand the problem, but do not know how to solve it. Can you give an example how the java.rmi.server.hostname and java.rmi.server.useLocalHostname properties on the client and the server should be set in this case? Following setup works for me: Server located i

Weird tomcat behavior. "Ctx(/website) : Class not found: cirs" - is seen in the website-jvm-stderr.log and then the only way out is to restart tomcat

2006-03-07 Thread Saraf, Prashant \(Prashant\)
Hi, We have a web application named "website" hosted in tomcat 3.3.1 and consists of 4 servlets InitServlet, CIRS, WT, TS etc. The servlet loading sequence defined in the server.xml is 1. InitServlet, 2. CIRS servlet, 3. WT servlet, 4. TS Servlet. This website application works fine for some ti

[tomcat] : request.setCharacterEncoding ("UTF-8") doesn't work ?

2006-03-07 Thread sol myr
Hi, I'm having a problem with HttpServletRequest.setCharacterEncoding("UTF-8"). Basically, tomcat seems to ignore it completely, and assume "latin1" encoding. Here's the details: - I have an html < form > where user should type data in *Chinese*. - The browser (IE6) knows

Re: Tomcat on CDROM (it works!) Vicaya 0.1

2006-03-07 Thread Mikolaj Rydzewski
Alexander E Genaud wrote: Thanks a lot for the code. I had to run through the ant code manually because I downloaded the latest Tomcat 5.5.16, and merged the 1.4.2 compatibility patch. I was unable to get the exe to work, so I wrote a .bat based on your .sh (which I will soon make more generic).

RE: tomcat and websphere compatibility

2006-03-07 Thread Peter Crowther
> From: Long [mailto:[EMAIL PROTECTED] > Has anyone develop in Tomcat and deploy to Websphere? Bodington (http://sf.net/projects/bodington) is developed and tested on Tomcat (4.x, 5.0.x and 5.5.x - we have a mixed development team). We deploy on a variety of containers; I believe at least one in

Re: out.flush() not working with mod_jk

2006-03-07 Thread Mladen Turk
Sven Köhler wrote: If i load the page with FireFox directly by connecting to my Tomcat on port 8080, it works fine. But if i load the page via apache/mod_jk on port 80 it doesn't work. mod_jk connects to the tomcat that also listenes on port 8080. So something's pretty wrong here, don't you t

Re: out.flush() not working with mod_jk

2006-03-07 Thread Sven Köhler
> If i load the page with FireFox directly by connecting to my Tomcat on > port 8080, it works fine. But if i load the page via apache/mod_jk on > port 80 it doesn't work. By saying "it doesn't work" i mean, that the whole content is delayed by 3 seconds - so the flush() actually has no effect. Th