out.flush() not working with mod_jk

2006-03-06 Thread Sven Köhler
Hi, take a look at the following JSP-page: <[EMAIL PROTECTED] contentType="text/plain"%> <% out.println("this should appear immediatly"); out.flush(); Thread.sleep(3000); out.println("this should appear after 3 seconds"); %> If i load the page wi

Re: How can I set tomcat NOT Case Sensitive

2006-03-06 Thread Buddy wu
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 but Linux/unix

Re: tomcat and websphere compatibility

2006-03-06 Thread Long
amit srivastava wrote: > can any tell me the easy way to deploy an enterprise application written in > j2ee technology on tomcat sever. Ant build can create a .war file (see ant dist) then all you have to do is drop the war file in the webapps directory and your app is deployed. In my case, I won

Re: How can I set tomcat NOT Case Sensitive

2006-03-06 Thread Long
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 but Linux/unix can't? Right, url is case-insensitive under

Re: tomcat and websphere compatibility

2006-03-06 Thread amit srivastava
can any tell me the easy way to deploy an enterprise application written in j2ee technology on tomcat sever. On 3/7/06, Long <[EMAIL PROTECTED]> wrote: > > Hi Boris, > > I agree the answer is very application specific. In my situation I > plan to support a struts-based Websphere application with

How can I set tomcat NOT Case Sensitive

2006-03-06 Thread Buddy wu
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 but Linux/unix can't? thanks -

Re: tomcat and websphere compatibility

2006-03-06 Thread Long
Hi Boris, I agree the answer is very application specific. In my situation I plan to support a struts-based Websphere application with data store using an Oracle database. Ideally the development environment should be as close to production as possible, but this may not be possible. My dev. env.

Re: Can TOMCAT cache the file in element?

2006-03-06 Thread Xuekun Hu
Thanks for replying. I described a little inaccurate. The content is dynamic, there is a parameter in that could include different file. However the number of these files are about 50, I want to know does TOMCAT has the caching mechanism to cache them first. Thx, Xuekun -

catalina.properties / shared.loader

2006-03-06 Thread Christian Nelson
Greetings, I'm trying to add a new entry onto the shared.loader property in the file catalina.properties, one which is based on a java property "e.g. -Datmos2.home=": shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar,${atmos2.home}/devices/*.jar ... with little

ant reload question

2006-03-06 Thread Jesus Antonio Sanchez Antunez
Hi. When I compiled some classes using the ant task ReloadTask from the sample build.xml, it doesn't reload the new compiled classes in tomcat. The only way that I found it does that is when I remove and reinstall the app. Do I have to wait for that behaviour, or am I doing something wrong.

Re: cgi-servlet environment parameters

2006-03-06 Thread Mark Thomas
Ken Gibson wrote: > Thanks for the quick response. Is there a way to configure the > cgi-servlet that I've missed? The PATH_INFO variable is null in my > scenario; I've split it out from the other parameters below... I have just added REQUEST_URI to svn. I have also ported a couple of patches from

Re: JDBC DataSources with SYBASE Adaptive Server Anywhere

2006-03-06 Thread Hadraba Petr
Hello Thomas, thank you for your informations! I will order ASA developer edition and learn new database;-) Now, I'm looking for a database which provides internationalization features; specially ORDER BY [(var)char | text] column and I have no success: ASE and localization -- it's a workaround. P

Re: Getting the date from a Tomcat httpsession

2006-03-06 Thread Steve Ochani
On 6 Mar 2006 at 21:37, Mark Whitby wrote: > Dear all, > > Apologies if this isn't really relevant but I'm struggling for what to > do! I have a table in a MySQL database with a DATE column in the > format -mm-dd (incidentally does anyone know how to change this?) > and I'm trying to do a dat

Re: JMX via SSH tunnel does not work?

2006-03-06 Thread Justin Greene
We had issues using jconsole remotely a while back (jdk 1.5.0_02) that we were never able to solve. If memory serves, jconsole opens a connection on the specified port to that Java instance. An additional port or two (I can't remember) are then opened and the ports that are used are somewhat rand

Re: JMX via SSH tunnel does not work?

2006-03-06 Thread Andreas Schildbach
Hello Mikolaj, I have set up the JMX server of JDK 1.5.0_06/Tomcat 5.5.15. It works fine locally, I'm testing with "jconsole". However, if I tunnel the JMX port over SSH, it does not work. I can connect to the port, but there is no flow of data. "jconsole" is hanging around for a minute, and

RE: cgi-servlet environment parameters

2006-03-06 Thread Ken Gibson
Thanks for the quick response. Is there a way to configure the cgi-servlet that I've missed? The PATH_INFO variable is null in my scenario; I've split it out from the other parameters below... runCGI(envp=[{HTTP_USER_AGENT=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 F

Re: mod_jk errors - are these normal?

2006-03-06 Thread Justin Greene
> -Original Message- > From: michael thomas [mailto:[EMAIL PROTECTED] > Sent: Monday, March 06, 2006 4:42 PM > To: Tomcat Users List > Subject: TomcatUsers: Re: mod_jk errors - are these normal? > > --- Sven K�hler <[EMAIL PROTECTED]> wrote: > > > > [Wed Mar 01 20:00:42 2006] [error

Re: mod_jk errors - are these normal?

2006-03-06 Thread michael thomas
--- Sven K�hler <[EMAIL PROTECTED]> wrote: > > [Wed Mar 01 20:00:42 2006] [error] > > ajp_connection_tcp_get_message::jk_ajp_common.c > (961): > > Can't receive the response message from tomcat, > > network problems or tomcat is down > (10.0.0.9:8009), > > err=-113 > > [Wed Mar 01 20:00:42 20

Getting the date from a Tomcat httpsession

2006-03-06 Thread Mark Whitby
Dear all, Apologies if this isn't really relevant but I'm struggling for what to do! I have a table in a MySQL database with a DATE column in the format -mm-dd (incidentally does anyone know how to change this?) and I'm trying to do a date entry and comparison using a Java Servlet. Howeve

Re: tomcat and websphere compatibility

2006-03-06 Thread Boris Unckel
Hello, Long wrote: Has anyone develop in Tomcat and deploy to Websphere? No, but similar, we are developing in WSAD and have our production environment in a) Apache http -> Tomcat -> WebSphere z/OS b) Apache http -> Tomcat -> WebSphere AIX c) Apache http -> WebSphere Solaris It depends on t

tomcat and websphere compatibility

2006-03-06 Thread Long
Has anyone develop in Tomcat and deploy to Websphere? It should be possible but how practical is it? Are there any available resources I can use as a reference? Thanks for any info, Long - To unsubscribe, e-mail: [EMAIL PROTEC

Remote Web App Management

2006-03-06 Thread David Liles
I am wanting to be able to remotely start and stop a web app configured on TomCat 5.5. The web app is not deployed within the TomCat directory structure. There are several web apps configured and running but none of them show up in the TomCat manager interface. I have read the documentation

Problems in Launch JSP Examples

2006-03-06 Thread B Wu
B Wu <[EMAIL PROTECTED]> wrote:Hi there, I installed Tomcat 5.0 with JRE 5.0. When I launch http://localhost:8080, it is fine. But when I click JSP Examples on that page, it returns HTTP Status 404 error, the request resource is not available. If I create a directory under webapps

getting a list of jar files located in shared/lib

2006-03-06 Thread Rajarshi Guha
Hi, I'm running Tomcat 5.5 on Fedora Core 4, with JDK 1.5 My problem is this: I have a web service that depends on some libraries. These libraries are placed in $CATALINA_HOME/shared/lib since I plan to have other web services which will also require these libraries. Now the problem is that one

Re: cgi-servlet environment parameters

2006-03-06 Thread Mark Thomas
Ken Gibson wrote: > However, the environment does not seem to contain the URL of the > original request (i.e., REQUEST_URI or PATH_INFO), as below: Looking at the 4.1.31 source, PATH_INFO should be there but REQUEST_URI is never set. Mark

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

2006-03-06 Thread Alexander E Genaud
Mikolaj, 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). How did you create

RE: TomcatProbe 1.1 released

2006-03-06 Thread Duan, Nick
What are the differences between Tomcat Manager and TomcatProbe? Thanks! ND -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 7:51 AM To: users@tomcat.apache.org Subject: TomcatProbe 1.1 released Hello guys, I thought that you might be i

"mcastClusterDomain" is missing

2006-03-06 Thread gurkan
Hi, I have been trying to test Clustering with Tomcat5 and installed rpms from jpackage.org and using these rpms: tomcat5-servlet-2.4-api-5.0.30-11jpp, tomcat5-5.0.30-11jpp, tomcat5-jasper-5.0.30-11jpp I have been trying to use an example from OReilly site and I have three VMWARE (virtual machine

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

2006-03-06 Thread Duan, Nick
How about packaging the config.xml file within the jar file and import it to your application via resource stream? See Class.getResourceAsStream() or ClassLoader.getResourceAsStream() for more details. The limitation of this approach is that the configuration parameters have to be predefined prior

Re: Problem with mod_jk/apache 1.3.34 Windows

2006-03-06 Thread Justin Greene
> -Original Message- > From: Mladen Turk [mailto:[EMAIL PROTECTED] > Sent: Monday, March 06, 2006 12:33 PM > To: Tomcat Users List > Subject: Re: Problem with mod_jk/apache 1.3.34 Windows > > Justin Greene wrote: > > "Do not use cachesize with values higher then 1 on Apache > 2.x pre

Re: Problem with mod_jk/apache 1.3.34 Windows

2006-03-06 Thread Mladen Turk
Justin Greene wrote: Windows 2003 server Sp2 (multiple servers, happens on all of them at different times) Java JDK 1.5.0_06 Tomcat 5.5.8 mod_jk 1.2.15 Apache 1.3.34/Mod_SSL "Do not use cachesize with values higher then 1 on Apache 2.x prefork or Apache 1.3.x!" I believe that this only applie

Re: Form login UTF-8 username problem

2006-03-06 Thread Eric Haszlakiewicz
>> Daniel Blumenthal <[EMAIL PROTECTED]> wrote: >> As a security concern, you might not want to allow full UTF-8 usernames. >> There are a number of invisible characters (from the soft hyphen to various >> connector characters) which people can use to spoof other users' names. On Sun, Mar 05, 20

Problem with mod_jk/apache 1.3.34 Windows

2006-03-06 Thread Justin Greene
We have been trying to troubleshoot an issue with our production environment in which our website become completely unresponsive. First our environment: Windows 2003 server Sp2 (multiple servers, happens on all of them at different times) Java JDK 1.5.0_06 Tomcat 5.5.8 mod_jk 1.2.15 Apache 1.3.34

Re: Help in server.xml

2006-03-06 Thread Tim Diggins
Hi Nagendra - This won't work - two hosts means two hosts, so they have to have different names (this is virtual hosting). If what you want to do is set up two different Contexts (Context is a webapp) under the same host, but you don't want to put the two contexts as subfolders of the same d

cgi-servlet environment parameters

2006-03-06 Thread Ken Gibson
Good morning. I'm working with Tomcat 4.1.31 and am trying to catch 500 errors for custom error pages. We host around 400 portals in one instance (kudos to the developers, by the way, it runs great!) The idea is that the Perl script would create a site on the fly with little content in the

JAASRealm and MemoryRealm

2006-03-06 Thread MW Janssen
Hi, I am busy with installing the manager and admin application on my production server (thats running fine). The admin and manager applications works but I cant login. I checked the error logs and i find the error Mar 6, 2006 5:39:56 PM org.apache.catalina.realm.JAASRealm authenticate SEVERE: Un

Re: JDBC DataSources with SYBASE Adaptive Server Anywhere

2006-03-06 Thread Tom Bednarz
Hi Petr, Thanks for your feedback. It still does not work for me, no matter where I put the damn JAR file. So I will use my own pooling class directly in my webapp based on Apaches DBCP which is part of Jakarta Commons. It is probably faster then fiddeling with this bloody driver configuaratio

Help in server.xml

2006-03-06 Thread Devireddy, Nagendra Reddy (STSD)
Hi I am using tomcat for running two applications at different locations First application app1 is under /opt/myweb/www/webapps and second application is under /opt/nagendra/www/webapps I am wondering whether the following conf will work .. I am very new to this so please help me here if some th

Re: Can TOMCAT cache the file in element?

2006-03-06 Thread Len Popp
If you use <[EMAIL PROTECTED], the included file will be compiled along with the rest of the JSP code, so it will only be read once rather than every time the page is accessed. -- Len On 3/6/06, Mike Sabroff <[EMAIL PROTECTED]> wrote: > You should use > <%@ include file="other.jsp" %> instead of

RE: Please Give The Definition of lbfactor

2006-03-06 Thread Tim Lucia
Don't set it (defaults to 1 for all.) That will treat all workers equally, regardless of the resources available on each worker's machine. See http://tomcat.apache.org/connectors-doc/config/workers.html for complete details. lbfactor (1) Integer number used when the worker will be used inside

Tomcat 5.0.28 memory leak.

2006-03-06 Thread VRamchandani
Hello, We recently upgraded from tomcat 4.1.24 to tomcat 5.0.28.I am running a small application on the server and am running a small load test on it. The application seems to run all right on tomcat 4.1.24 but fails on tomcat 5.0.28.The service breaks after a while when only 3 users are hitting

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

2006-03-06 Thread STEINER Stephan
Hi I have developed a Java application which offers certain services to Cisco IP phones. I've written it as a standalone java application to separate processing logic and presentation. So basically I have a set of classes, and two jsp frontend files that do very basic things. Since the application

Re: Can TOMCAT cache the file in element?

2006-03-06 Thread Mike Sabroff
You should use <%@ include file="other.jsp" %> instead of The jsp:include is for dynamic content that changes a lot, the @ include file is for static content and will get you closer to where you want to be. as far as cacheing goes, I am not knowledgeable enough to answer that question reliably.

Re: tomcat: can you control the encoding assumed by HttpServeltRequest.getParameter ?

2006-03-06 Thread Mikolaj Rydzewski
sol myr wrote: I was wondering, is there a nicer way to do it ? Use Filter to change request's encoding. -- Mikolaj Rydzewski <[EMAIL PROTECTED]> Becomo S.A. tel. (12) 2927104 smime.p7s Description: S/MIME Cryptographic Signature

tomcat: can you control the encoding assumed by HttpServeltRequest.getParameter ?

2006-03-06 Thread sol myr
Hi, I'm using tomcat 5.5.15. I have a servelt which reads parameters from a < form > , using HttpServletRequest.getParameter(). The catch is, parameters data (filled in by the user) is in Chinese. I noticed that even though my page encoding is "unicode", the browser (IE6) seems to se

Please Give The Definition of lbfactor

2006-03-06 Thread Mohan Wickramasinghe
Please give us exactly what and how the lbfactor should be set to load balance between 10 workers "equally". We are confused with the settings thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: Content-Encoding: chunked or Transfer-Encoding: chunked

2006-03-06 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. -Message d'origine- De : Hadraba Petr [mailto:[EMAIL PROTECTED] Envoyé : vendredi 3 mars 2006 14:26 À : Tomcat Users List; Co

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

2006-03-06 Thread Mikolaj Rydzewski
Alexander E Genaud wrote: I am running Tomcat 5.0 from a CDROM. In order for this to work on different platforms I've tweaked the configurations and create a small (100 KB) temp space on the user's hard drive for logs, work, java.io, and tomcat-users.xml. I've precompiled the JSPs and configured

Re: mod jk

2006-03-06 Thread Kaushal Shriyan
Thanks Aliye I am getting this below information [EMAIL PROTECTED]/apache_1.3.26/libexec# ldd /home/qrq/suds_20_dir/apache_1.3.26/libexec/mod_jk.so warning: ldd: /home/qrq/suds_20_dir/apache_1.3.26/libexec/mod_jk.so: is not executable libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 =

TomcatProbe 1.1 released

2006-03-06 Thread Vlad.Ilyschenko
Hello guys, I thought that you might be interested in this announcement. TomcatProbe 1.1 new features include log file browser and connector usage charts. Log browser is a configuration- and maitenance free feature that enables monitoring of Tomcat log files. It supports Log4J, Commons, Catalina

Re: Form login UTF-8 username problem

2006-03-06 Thread Martin Gainty
Good Morning Dave- The earlier comment about using DBCS UTF-16 holds true for CJK, Hebrew,Arabic or any character set using 2 or more bytes to represent a 'character' I think what daniel is alluding to in this response is the ability for others to mask certain characters It sounds as if you m

RE: JSP on Tomcat: application scope variable

2006-03-06 Thread Tim Lucia
Read this: http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html It is a how-to on loading properties from the classpath using classloaders. Tim -Original Message- From: Rahul [mailto:[EMAIL PROTECTED] Sent: Sunday, March 05, 2006 3:42 PM To: Tomcat Users List Subj

Tomcat on CDROM (it works!) Vicaya 0.1

2006-03-06 Thread Alexander E Genaud
Hello, I am running Tomcat 5.0 from a CDROM. In order for this to work on different platforms I've tweaked the configurations and create a small (100 KB) temp space on the user's hard drive for logs, work, java.io, and tomcat-users.xml. I've precompiled the JSPs and configured Tomcat to run with a

Re: JSP on Tomcat: application scope variable

2006-03-06 Thread Martin Gainty
Good Morning Rahul- typically the properties file is located on your classpath Anyone else? Martin- - Original Message - From: "Rahul" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, March 05, 2006 3:42 PM Subject: RE: JSP on Tomcat: application scope variable Thanks. I use

AW: mod jk

2006-03-06 Thread Edao, Aliye
Hi, The mod_jk you are using seems not to function properly. You can see that if you user the command: ldd /home/qrq/suds_20_dir/apache/libexec/mod_jk.so (you should get something like --> not found ... Recompile it or download a binary version suitable to your system form http://apache.speed

Re: mod jk

2006-03-06 Thread Kaushal Shriyan
Thanks Warren Pace Its there I will paste u the httpd.conf file but while i restart [EMAIL PROTECTED]/apache/bin# ./apachectl start Syntax error on line 206 of /home/qrq/suds_20_dir/apache/conf/httpd.conf: Cannot load /home/qrq/suds_20_dir/apache/libexec/mod_jk.so into server: ld.so.1: /home/qrq/

Re: JMX via SSH tunnel does not work?

2006-03-06 Thread Mikolaj Rydzewski
Andreas Schildbach wrote: I have set up the JMX server of JDK 1.5.0_06/Tomcat 5.5.15. It works fine locally, I'm testing with "jconsole". However, if I tunnel the JMX port over SSH, it does not work. I can connect to the port, but there is no flow of data. "jconsole" is hanging around for a m

Re: Can not look at the Tomcat server from another stations.

2006-03-06 Thread David Delbecq
Hi, Check in server.xml if you have configured a RemoteAddrValve. This is this valve which could refuse remote connection based on ip. If there is no such valve configured, then tomcat should respond to your request, i suggest check firewalling configuration on server os. If there is such a valve

Can not look at the Tomcat server from another stations.

2006-03-06 Thread gomez_igo
Hi all users. I have the next problem. I have installed and configured the Tomcat server, and have start it, so when I type the direction http://server:8080/ on the explorer, it shows me the initial page (index.jsp). When I try the same thing, where server is my IP address, from another station,

Re: ClassLoader IllegalStateException

2006-03-06 Thread Artur Rataj
To turn it off, set reloadable="false" in the context definition of your app. I do not know where you have it defined, it might be tomcat's server.xml or context.xml of your app. I am not sure if it will work -- I have used applications listeners to stop the threads, which was very easy. Artur --

Re: mod jk

2006-03-06 Thread Warren Pace
> > From: "Kaushal Shriyan" <[EMAIL PROTECTED]> > Date: 2006/03/06 Mon AM 05:08:31 EST > To: users@tomcat.apache.org, users@httpd.apache.org > Subject: mod jk > > HI All > > I am getting > > [EMAIL PROTECTED]/apache/bin# ./apachectl start > Syntax error on line 212 of /home/qrq/suds_20_dir/ap

Re: ClassLoader IllegalStateException

2006-03-06 Thread Matteo Barbieri
Artur Rataj ha scritto: It might that it unloaded an app. You may turn off app unloading/reloading in serwer.xml. How to do this? Is the server.xml in conf/ ? How to turn off? Thank you a lot - To unsubscribe, e-mail: [E

mod jk

2006-03-06 Thread Kaushal Shriyan
HI All I am getting [EMAIL PROTECTED]/apache/bin# ./apachectl start Syntax error on line 212 of /home/qrq/suds_20_dir/apache/conf/httpd.conf: Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a module not included in the server configuration ./apachectl start: httpd could not be

Re: ClassLoader IllegalStateException

2006-03-06 Thread Artur Rataj
It might that it unloaded an app. You may turn off app unloading/reloading in serwer.xml. Or start and stop threads using listeners. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ClassLoader IllegalStateException

2006-03-06 Thread Matteo Barbieri
Artur Rataj ha scritto: >One of the reasons might be that you have stray threads that do not >stop when Tomcat tries to stop. > But Tomcat has not to stop. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: ClassLoader IllegalStateException

2006-03-06 Thread Artur Rataj
One of the reasons might be that you have stray threads that do not stop when Tomcat tries to stop. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ClassLoader IllegalStateException

2006-03-06 Thread Matteo Barbieri
Any idea? :( - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]