Re: weired chunked encoding (how to disable properly)

2004-01-16 Thread Antonio Fiol Bonnn
Hi, I suggest you some careful reading of RFC2616, because I am not sure of what is the right answer here. My interpretation, but again I am not sure, is: WA is saying: Hi! I speak HTTP/1.0, could you please send me that resource? TC is saying: Nice to meet you! I can *even* speak HTTP/1.1,

A bit OT: Problems running JBoss on 1.3.0 JDK

2004-01-16 Thread Nikola Milutinovic
Hi all. I know this Tomcat ML, but some messages that cropped up during last day, gave me hope you guys could give me the right direction. Besides, some of you are on JBoss team (Remy)... JBoss 3.2.3 Java SDK 1.3.0-1 Compaq Tru64 UNIX 4.0D DEC AlphaStation 200 128 MB RAM When I try to run

Re: Cannot start Tomcat 5.0.16.

2004-01-16 Thread Nikola Milutinovic
George Leeman Jr wrote: Today I downloaded and installed Tomcat 5.0.16. I get the sequence shown below. How do I fix this problem? Thanks, George Leeman c:\e\Tomcat5.0.16\jakarta-tomcat-5.0.16\bincatalina run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp

RE: Cannot start Tomcat 5.0.16.

2004-01-16 Thread Ralph Einfeldt
Sounds more like the class is there, but in an outdated version. -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 8:28 AM To: Tomcat Users List Subject: Re: Cannot start Tomcat 5.0.16.

Re: jk2

2004-01-16 Thread Nikola Milutinovic
Nick wrote: I noticed this as well and wrote an email about it, no response though. On Thu, 2004-01-15 at 20:18, Brennon Obst wrote: Just noticed this morning that when I activated the apache--tomcat connection it took over ALL of the virtual hosts and was routing them through Tomcat. ARGH!

Re: Cannot start Tomcat 5.0.16.

2004-01-16 Thread Nikola Milutinovic
Ralph Einfeldt wrote: Sounds more like the class is there, but in an outdated version. Grab the latest at http://xml.apache.org/ and place it under ${JAVA_HOME}/jre/lib/ext/ Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: how to REDIRECT after HTTPS connection failure ?

2004-01-16 Thread Alain Baucant
Thanks for the answer. Bill Barker wrote: Alain Baucant [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, my goal: to use httpS with CLIENT and server authentication to connect to tomcat and be able to REDIRECT users who can't identify themselves (can't establish the https

Cannot create JDBC driver of class

2004-01-16 Thread Dibakar Ray
Cannot create JDBC driver of class '' for connect URL 'null'. It seems it is a very very common problem. But what ever mention as solutions at the mailing archives have not solved the problem for me. What i did was just followed the instruction given at

getRuntime().exec(...) root command problem

2004-01-16 Thread Philippe Valle
I want do do ipconfig on linux with exec java command. When i do 'ls' for exemple is ok , but for root command like 'ifconfig' i have nothing . my code : ... cmd=ls -l\n; try { Process p=Runtime.getRuntime().exec(/bin/sh); OutputStream

RE: getRuntime().exec(...) root command problem

2004-01-16 Thread Ralph Einfeldt
It's not clear to me if you get an error or if you just get no result. So I can give just general hints: - Use the complete path to ifconfig It should cause an exeption if you omit the pat and the command is not found. - The user that runs tomcat must have the right to call ifconfig It

RE: getRuntime().exec(...) root command problem

2004-01-16 Thread Ralph Einfeldt
Sorry little typo: pat should be path -Original Message- From: Ralph Einfeldt Sent: Friday, January 16, 2004 10:25 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: getRuntime().exec(...) root command problem It should cause an exeption if you omit the pat and the

RE: getRuntime().exec(...) root command problem

2004-01-16 Thread Sanjeev Kumar
Try cmd=/sbin/ifconfig \n; -Original Message- From: Philippe Valle [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 2:31 PM To: Tomcat Users List Subject: getRuntime().exec(...) root command problem I want do do ipconfig on linux with exec java command. When i do 'ls' for

admin webapp doesn't work under 4.1.29

2004-01-16 Thread Matthias Maier
Hi! I'm using tomcat 4.1.29 under solaris. I figured out, how to get the manager webapp to work but I'm unable to find out, why the admin webapp ist't working correctly. I can login to the webapp, but when I click on one of the buttons, it always says servlet action is currently

Manager Apps and virtual hosts (TC 4.1.29)

2004-01-16 Thread Francois JEANMOUGIN
Hi all, In http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html It is written : If you have Tomcat configured to support multiple virtual hosts (websites) you would need to configure a Manager for each. Bu I would NOT! :). All the applications (and so the websites) of a specific

caching nightmare

2004-01-16 Thread Adam Hardy
Maybe I'm just an idiot, but I'm having a nightmare with the caching in my webapp. I asked a colleague to look at it and he's baffled too. It's probably something to do with the resource bundles. I had everything in an English and also a German .properties file, for testing purposes, but then

Resource Request Denied with Tomcat

2004-01-16 Thread aalimonti
Hello, I'm pretty sure this is a known issue, even though I didn't find much about it; I'm trying jaas with JBoss-Jetty version 3.2.2 and everything going well, when i found a method on Jetty ( isUserInRole ) come back always false. So i decided to download tha last version of JBoss with Tomcat,

RE: caching nightmare

2004-01-16 Thread Ralph Einfeldt
Yes, in a proxy. Caching proxies are use by some internet providers and they are often used inside corporate networks. If we want to be shure that an url is not cached, we not only set the response headers, but also append a unique id to the url that changes with every request. (As parameter)

RE: dramatic performance differences on development machines

2004-01-16 Thread Johan Coens
Hello all, I tried: - isolating code in a java class and running it on both machines, about same performance - running tomcat 4.1.29, bit faster but still ~15 sec. - changing network connection to full duplex, 2*faster but stil ~6 sec (should be 1 sec). indicates network traffic could be a

Re: caching nightmare

2004-01-16 Thread Adam Hardy
Yes, tried that random querystring on the url, but no joy. When I switch the language from German back to en_us, I see what I want to see. But switching German on again in the browser redisplays this ghost resource bundle! Does that mean it can't be the browser? And I'm pretty sure I don't

UnknownHostException calling ant install from sample webapp

2004-01-16 Thread Arann . Villing
The install task in the sample build.xml of the Application Developer Guide raises a java.net.UnknownHostException. By changing war attribute to localWar in the deploy task in build.xml, as follows, then everything seems to work. deploy url=${manager.url} username=${manager.username}

JK2 ISAPI between IIS and Tomcat 5 has file upload bug?

2004-01-16 Thread Allistair Crossley
Hi Guys, I am using Commons File Uploader to post a file to my Struts app running on TC 5. If I post a file upload to Tomcat directly, e.g http://server:8080/upload.do it works fine If I post a file through our IIS - JK2 - Tomcat method, e.g http://server/upload.do it fails with a Stream

Re: dramatic performance differences on development machines

2004-01-16 Thread Nikola Milutinovic
Johan Coens wrote: Hello all, I tried: - isolating code in a java class and running it on both machines, about same performance So, the machine itself is OK. - running tomcat 4.1.29, bit faster but still ~15 sec. - changing network connection to full duplex, 2*faster but stil ~6 sec (should be

RE: dramatic performance differences on development machines

2004-01-16 Thread Donie Kelly
Hi Johan It's very suspicious that websphere runs so fast and tomcat doesn't. I think there still might be a network issue. Can you modify your server.xml as follows changing the enableLookups=false instead of enableLookups=true Connector port=80 minProcessors=5 maxProcessors=75

RE: dramatic performance differences on development machines

2004-01-16 Thread jerome moliere
Hi Johan It's very suspicious that websphere runs so fast and tomcat doesn't. I think there still might be a network issue. Can you modify your server.xml as follows changing the enableLookups=false instead of enableLookups=true Connector port=80 minProcessors=5 maxProcessors=75

Adding a directory in a webapp to the webapps classpath

2004-01-16 Thread Ryan Lissack
Hi, Is there a way to include a directory of a webapp, other than WEB-INF/classes, on the web apps classpath? For example, I want to include [webapp]/somedir on the classpath for the web app, while still including [webapp]/WEB-INF/classes. I can just modify our build scripts to copy things from

Re: Unable to start web application

2004-01-16 Thread Ralf Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Donnerstag, 15. Januar 2004 15:21 schrieb Shapira, Yoav: Are there any other errors in the log? Does your webapp rely on No. ServletContext#getRealPath somewhere in its initialization? Are you Yes. Is that a problem? But the webapps path on

AW: virtual hosting and tomcat wt Apache 2 and JK2

2004-01-16 Thread Frankl Martina
Maybe your jk2 version still has this bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18472 hth Martina -Ursprüngliche Nachricht- Von: Brennon Obst [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 16. Januar 2004 05:43 An: 'Tomcat Users List' Betreff: virtual hosting and tomcat

ISAPI redirector use with IIS5

2004-01-16 Thread Simon . Temple
The following does NOT generate an error when posting to Apache POST http://host:80/OTR/AS2/oq-2/or-MDN_HTTP/phdr/nowait HTTP/1.0 However, it generates an error when posting to IIS 5 HTTP/1.1 405 Method not allowed If I change the URL I do NOT get the error: POST

RE: ISAPI redirector use with IIS5

2004-01-16 Thread Allistair Crossley
Mine is slightly different because http://server:8080/upload.do is the tomcat port and works http://server/upload.do goes to IIS first and does not. What you posted says that his IIS work if he uses http://upload.do Which seems odd to me as you need the host on there. I guess I will have to

TOMCAT authentication

2004-01-16 Thread postmaster
Hello I'm pretty sure this is a known issue, even though I didn't find much about it; I'm having a problem with authenticating users in TomCat. I have an IIS server to server static content and Tomcat to serve dynamic content, if users knows URL that goes directly to Tomcat then Tomcat wont

Realm SQL 2000 developer edition

2004-01-16 Thread Søren Blidorf
Does anybody know of any difference between SQL 2000 standard and Developer edition? I am having problems with my realm: Context path=/um docBase=c:/projects/MY_PROJECT debug=0 reloadable=true Realm name=UMRealm className=org.apache.catalina.realm.JDBCRealm debug=99

RE: Need an Idea - appending #tag after someurl.jsp ?

2004-01-16 Thread Hume, John - NA US HQ Delray
Is the servlet doing a RequestDispatcher.forward or HTTP redirecting? It seems a response.sendRedirect (HTTP redirect) would work, assuming your JSP doesn't need the data from the form POST request. If it DOES need to share the request with the servlet, then I believe the HTML form action will

installing tomcat

2004-01-16 Thread Priti Sawant
Hello I followed the following steps to install tomcat on my machine. 1) http://jakarta.apache.org/site/binindex.cgi 2) click on Tomcat 5.0.16 KEYS 5.0.16 zip PGP MD5 (I clicked on 5.0.16) and after completion unzipped the files 3) the following folders are now installed under

Exception with compression over SSL with Safari

2004-01-16 Thread Mark Woon
Hi all, I'm getting a ClassCastException whenever I connect with Safari over SSL and compression turned on: 08:45:00,643 ERROR Http11Processor:846 - Error finishing response java.lang.ClassCastException at org.apache.coyote.http11.filters.GzipOutputFilter.end(GzipOutputFilter.java:165)

move server.xml context resource to web.xml

2004-01-16 Thread Hayati Hussin
Hi, does anyone know how to move the server.xml context resource to the web.xml? I need to know the procedures asap. Thanks.

running a servlet .class file

2004-01-16 Thread Allan Bruce
Hi there, My friend has sent me a servlet to run on my server, it is in the form of 2 *.class files. I have installed tomcat (succesfully I think) and I now want to run my friends servlet. Can somebody give me a brief description of how to do this? Many Thanks Allan

Re: virtual hosting and tomcat wt Apache 2 and JK2

2004-01-16 Thread Timothy Stone
Brennon Obst wrote: Dear usergroup, ... When I activated the apache--tomcat connection it took over ALL of the virtual hosts and was routing them through Tomcat, does anyone know how to stop that? Is it my Apache 2 and JK2 connectors, where do I turn now? Thank you in advance, I saw this

Re: admin webapp doesn't work under 4.1.29

2004-01-16 Thread Michael Duffy
I'd give a look to the logs. If your situation is like mine, there'll be a good hint in there. I had exactly that problem with Tomcat 4.1.24. The MBean server would always throw an exception, resulting in an admin app that would behave as you describe. The problem? I had some outdated MBean

RE: getRuntime().exec(...) root command problem

2004-01-16 Thread Michael Duffy
No one should use java.lang.Runtime.exec without reading this: http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html MOD --- Sanjeev Kumar [EMAIL PROTECTED] wrote: Try cmd=/sbin/ifconfig \n; -Original Message- From: Philippe Valle [mailto:[EMAIL PROTECTED] Sent:

Update Tomcat

2004-01-16 Thread Ralf Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, is it possible to update a Tomcat bundled with JWSDP 1.3? And if yes, how can this be done? Is there any documenation about this? Ralf. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux)

Can't sart Tomcat 5.0.16 on apache 2.0.48 with j2sdk1.4.1_06

2004-01-16 Thread Phillip Moringer
Hi I am new in using tomcat The following thing is happening to me. I have installed Tomecat one my apache serve which is running also php as a module. On start up I get following error in the error log of apache [Fri Jan 16 12:44:03 2004] [notice] Parent: Created child process 2024 [Fri Jan

RE: Adding a directory in a webapp to the webapps classpath

2004-01-16 Thread Shapira, Yoav
Howdy, Only with a custom Loader. (See the Loader configuration reference). You probably don't want to do this: the servlet container's classloader scheme is complicated enough as is. Yoav Shapira Millennium ChemInformatics -Original Message- From: Ryan Lissack [mailto:[EMAIL

RE: move server.xml context resource to web.xml

2004-01-16 Thread Shapira, Yoav
Howdy, You can't: web.xml and server.xml are entirely different beasts, the first being specified in the servlet specification and the second being tomcat-specific. You can tie environment entries/resource references, but not definitions, between them. Yoav Shapira Millennium ChemInformatics

RE: pass session from one app to another app

2004-01-16 Thread Shapira, Yoav
Howdy, See SingleSignOn Valve in tomcat documentation. Yoav Shapira Millennium ChemInformatics -Original Message- From: Chiming Huang [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 5:53 PM To: Tomcat User Subject: pass session from one app to another app Hi, We have

RE: running a servlet .class file

2004-01-16 Thread Shapira, Yoav
Howdy, Drop the class files under the appropriate directory of the examples' webapp's WEB-INF/classes directory, create a servlet and servlet-mapping for your friend's servlet in examples' web.xml, and browse to http://yourhost:8080/examples/yourservletmapping. Yoav Shapira Millennium

RE: Unable to start web application

2004-01-16 Thread Shapira, Yoav
Howdy, ServletContext#getRealPath somewhere in its initialization? Are you Yes. Is that a problem? But the webapps path on the server is the same as on my local machine. So, that should not matter. Make sure the permissions are the same, including file creation. Or alternatively, and

RE: Update Tomcat

2004-01-16 Thread Shapira, Yoav
Howdy, is it possible to update a Tomcat bundled with JWSDP 1.3? And if yes, how can this be done? Is there any documenation about this? Most users download tomcat directly from apache.org. I would imagine you can just install a tomcat version you download into some directory under the JWSDP

Re: isapi_redirector2.dll fails - red arrow

2004-01-16 Thread KKolle
Thanks Frank! Also, I tried http://www.shiftomat.com/opensource, and it worked great. Thanks Daniel! Now, I just need to make my existing site (in IIS) route JSP calls to Tomcat, instead of from the localhost. I'll work on that.

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
I still cant get it working, but neither is the example servlets, here is what I am trying http://kes/examples/WinGalagaHST?Op=GetHTML my directory structure is as follows /usr/local/sites/tomcat/tomcat/ -webapps/ --examples/ ---web.xml ---WEB-INF/ classes/ -WinGalagaHST.class

RE: dramatic performance differences on development machines

2004-01-16 Thread Peter Lin
Hi johan, ok, I think I'm getting a clearer picture, but as you said, it is a complex problem. just to summarize and make sure I understand what is happening. 1. the pure java code runs the same on all systems, which indicates the java code by itself is unlikely the cause 2. there's

RE: running a servlet .class file

2004-01-16 Thread Shapira, Yoav
Howdy, I still cant get it working, but neither is the example servlets, here is Hold on. Before you go further, make sure your tomcat installation is working, i.e. the examples and docs at least. Take Apache and the connectors out of the equation, just run tomcat standalone. Yoav Shapira

Redirection of JSP to iPlanet Web Server

2004-01-16 Thread Anantharam S
Hi, I have been trying for a while now to configure iPlanet web server (6.x) to send servlet and JSP requests to Tomcat (4.1.x) using the Tomcat redirector plugin. Asper the documentation of APACHE ( http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/neshowto.html ) a dll file (

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
actually, my web.xml file may be cack, this is it in its entirety: web-app servlet servlet-name WinGalagaHST /servlet-name servlet-class WinGalagaHST /servlet-class

RE: running a servlet .class file

2004-01-16 Thread Shapira, Yoav
Howdy, actually, my web.xml file may be cack, this is it in its entirety: web-app servlet servlet-name WinGalagaHST /servlet-name servlet-class WinGalagaHST /servlet-class

java.net.SocketException: Connection reset

2004-01-16 Thread Salvador Santander Gutierrez
Hello, list. I've installed Tomcat 4.1.24 and MySQL 4.0.16 and tomcat and a aplication that access to the data base with a heavy load. crash sometimes per day and I've seen the next error in the tomcat log: 2004-01-13 08:13:48 StandardHost[localhost]: MAPPING configuration error for request URI

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
I stopped apache and tomcat then started tomcat only. My catalina.out reads: StandardEngine[null]: setJvmRoute=tc1 Starting service Tomcat-Standalone Apache Tomcat/4.1.24-LE-jdk14 16-Jan-2004 14:09:11 org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 16-Jan-2004

Tomcat 4 IIS5 - HTTPExtensionProc not getting the filter's added headers

2004-01-16 Thread Jeff Trout
[Note: this is little lengthy and detailed] I'm trying to get Tomcat 4.1.27 (Older, I know but I don't think thats the issue as hitting Tomcat direct is fine), IIS5 and the connector working. (The problem occurs on both jk1 and jk2). I have two machines currently: Machine A is running 2k sp2,

Tomcat and webapplication-specific java.library.path

2004-01-16 Thread Erik Winlöf
I have a problem with Tomcat and the java-library.path. (My problem isn't Oracle-specific but it is when I use Oracle that problem appears since Oracle uses the java.library.path) What I have managed to do: Oracle JDBC with works fine if I: - put ojdbc14.jar in ${CATALINA_HOME}/common/lib -

out of memory problem. Help!

2004-01-16 Thread Christophe Andreoli
Hello ! I have a Struts/jsp Application Ich get an out of memory problem:javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at

Re: out of memory problem. Help!

2004-01-16 Thread Tim Funk
- Get more memory - allocate more memory to the JVM (http://jakarta.apache.org/tomcat/faq/memory.html#adjust) - Don't place 20,000 ros of data in memory - Limit the size of your query -Tim Christophe Andreoli wrote: Hello ! I have a Struts/jsp Application Ich get an out of memory

RE: out of memory problem. Help!

2004-01-16 Thread Shapira, Yoav
Howdy, root cause java.lang.OutOfMemoryError It happens When the corresponding request returns more than 2-3 rows from the database, not every time Perhaps you should allocate your JVM more memory, by using the Java -Xmx parameter. Alternatively, consider a system design that

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
How do I test the examples if tomcat is running on its own? I tried http://kes:8009/examples/ but it doesnt work Thanks Allan - Original Message - From: Allan Bruce [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 16, 2004 2:17 PM Subject: Re: running

RE: running a servlet .class file

2004-01-16 Thread Shapira, Yoav
Howdy, How do I test the examples if tomcat is running on its own? I tried http://kes:8009/examples/ You connect to the HTTP connector, not the Apache connector. The default port is 8080. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and

Virtual Host newbie question ?

2004-01-16 Thread Chakravarthy, Sundar
I have setup apache/tomcat/ with Vhost and everything works great! However, I am not able to use the IP alone with the server name to access the system i.e. http://server_name http://server_name/ works but not http://IP http://ip/ Why? Thanks

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
Ok, thanks - I dont think my tomcat can be running correctly then because when I try http://kes:8080 or http://kes:8080/examples/ I get nothing. - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 16, 2004 3:32 PM

Re: out of memory problem. Help!

2004-01-16 Thread Christophe Andreoli
Shapira, Yoav wrote: Howdy, root cause java.lang.OutOfMemoryError It happens When the corresponding request returns more than 2-3 rows from the database, not every time Perhaps you should allocate your JVM more memory, by using the Java -Xmx parameter. I did it and I

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
How stupid am I! I forgot, I block almost all ports to my server, once I released 8080, I have some success. When I now navigate to http://kes:8080/examples/ I get a page where I can click on several links of examples. Going to the servlets, then trying to run any and I get a 404. Any

Re: Tomcat Tuning Memory leak

2004-01-16 Thread David Strupl
Hi (yes that's me again), I have more details for those that would be willing to help. I have started to use IBM's JDK that has the nice memory dump feature set up so that whenever OutOfMemory occurs the heap is dumped. So my heap is here

Tomcat replication Unable to receive message through TCP channel

2004-01-16 Thread jean-philippe . belanger
Just installed the tomcat 5.0.16 with cvs for clustering on my 2nd server cluster. The first one is running pretty well without any bug whatsoever. But that new cluster seams to have some problem with the replication with it`s going a specific way. From web1 to web2 it works fine. but if I hit

Memory Issues

2004-01-16 Thread Christian Witucki
Help - Is anyone running this type of environment: We have two Microsoft Content Manager Servers, one eDirectory server, one active directory server, and running Novell's eXTend director with IIS and Tomcat. Is there anyone that has something similiar that is having memory problems and knows

Re: Tomcat Tuning Memory leak

2004-01-16 Thread David Strupl
My previous post should be longer ... here is the rest: DFS from pure Roots ...done. DFS from objects unreached from Roots ...done. Found 1,051,382 objects which

RE: out of memory problem. Help!

2004-01-16 Thread Shapira, Yoav
Howdy, It works better but why are the 2000 objects are not garbaged after each request ? There's only one reason objects aren't garbage-collected in java: other objects are keeping references to them. You can inspect or profile your code to see what keeps references to what. Yoav Shapira

Re: Tomcat Tuning Memory leak

2004-01-16 Thread David Strupl
Still I don't see the whole thing - and trying to send the rest here: If I interpret it correctly the instance of org/apache/coyote/RequestGroupInfo holds 150 MB of heap memory. Also if I understand it correctly from here

Re: Virtual Host newbie question ?

2004-01-16 Thread Howard Watson
What is the vailue of UseCanonicalName in your apache conf? [EMAIL PROTECTED] 01/16/04 08:36AM I have setup apache/tomcat/ with Vhost and everything works great! However, I am not able to use the IP alone with the server name to access the system i.e. http://server_name

RE: Tomcat Tuning Memory leak

2004-01-16 Thread Shapira, Yoav
Howdy, If I interpret it correctly the instance of org/apache/coyote/RequestGroupInfo holds 150 MB of heap memory. Also if I understand it correctly from here http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat- connectors/coyote/src/java/org/apache/coyote/ someone just recently tried to do

Re: Tomcat Tuning Memory leak

2004-01-16 Thread David Strupl
Shapira, Yoav wrote: You're not paranoid. There's a memory leak related to the RequestGroup/RequestGroupInfo connector code. It's been discussed during the past week on the dev mailing list, and addressed within the past couple of days. You can try the tomcat 5.0.18 build which has the fix.

SEVERE: in startup of TC 5.0.16

2004-01-16 Thread Hollerman Geralyn M
I am receiving a SEVERE: error in my startup of Tomcat 5.0.16; also, in my catalina_log I get the message: StandardContext[/balancer]Exception starting filter BalancerFilter java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester at

RE: SEVERE: in startup of TC 5.0.16

2004-01-16 Thread Shapira, Yoav
Howdy, I am receiving a SEVERE: error in my startup of Tomcat 5.0.16; also, in my catalina_log I get the message: StandardContext[/balancer]Exception starting filter BalancerFilter java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester at

[OFF-TOPIC] ObjectOutputStream keeping handles

2004-01-16 Thread Shapira, Yoav
Howdy, Has anyone bumped into an issue where java.io.ObjectOutputStream keep references to serialized objects until the stream is closed, thereby preventing the objects from being garbage-collected? I know I can get around this by closing and reopening the stream after every write, but that

setContentType() vs. meta http-equiv='Content-Type' ...

2004-01-16 Thread Merrill Cornish
Does Tomcat see any difference in a servlet that calls setContentType() before generating a page for output versus not calling setContentType() but including an HTML meta http-equiv='Content-Type' ... tag in the generated page? Merrill

Tomcat working with jsp but not servlets

2004-01-16 Thread Allan Bruce
I have got Tomcat running so that it is serving pages. The example jsp pages work fine, but the servlets dont. When clicking on the servlets, I get a list, and the sources. The sources can be viewed, the link is http://kes:8080/examples/servlets/*.html but the execute links dont work, they are

RE: setContentType() vs. meta http-equiv='Content-Type' ...

2004-01-16 Thread Shapira, Yoav
Howdy, Does Tomcat see any difference in a servlet that calls setContentType() before generating a page for output versus not calling setContentType() but including an HTML meta http-equiv='Content-Type' ... tag in the generated page? You might want to define Does Tomcat see any difference more

Urgent-Java webservers on iSeries and other platforms

2004-01-16 Thread Peter Stokes
Hi, I'm on a site where a third party application has been put on WebSphere 4.0.5 on an iSeries 820/V5R2. We have had horrendous performance / stability problems even with 10 users and even IBM cannot seem to help. Production is currently sitting pretty on a rushed install of SuSE 9 on a Dell

RE: Virtual Host newbie question ?

2004-01-16 Thread Chakravarthy, Sundar
Hi, It is set to Off. Should it be On? -Original Message- From: Howard Watson [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 11:12 AM To: [EMAIL PROTECTED] Subject: Re: Virtual Host newbie question ? What is the vailue of UseCanonicalName in your apache conf? [EMAIL

Apache2 with JK2 with Tomcat5 multiple sendings from Apache to Tomcat5

2004-01-16 Thread Oscar Serrano
Hi: I've installed withou problems an Apache talking to a Tomcat via the jk2 connector. Everything seems to work fine but sometimes I click on a link and I get no response. Then I take a look at the logs and I see a very strange thing. Apache is sending the request to Tomcat many times. Here is

RE: NoClassDefFoundError: Digester

2004-01-16 Thread Bruno.Melloni
This could be a bug on the latest distribution of Tomcat 5.0.16 for Solaris. I just did a standard install from scratch, modified the Connector ports to new numbers (to avoid conflicts with previous install), renamed localhost to the real machine name in Engine defaultHost and in Host, and

RE: NoClassDefFoundError: Digester

2004-01-16 Thread Shapira, Yoav
Howdy, This could be a bug on the latest distribution of Tomcat 5.0.16 for Solaris. I just did a standard install from scratch, modified the Connector ports to new numbers (to avoid conflicts with previous install), renamed localhost to the real machine name in Engine defaultHost and in Host,

Re: Tomcat replication Unable to receive message through TCP channel

2004-01-16 Thread Filip Hanik
yikes :) I fixed this one two days ago, download 5.0.18 and let me know if the problem persists. Filip - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 16, 2004 7:50 AM Subject: Tomcat replication Unable to receive message through

Redirection of JSP's to iPlanet Web Server

2004-01-16 Thread Anantharam S
Hi, I have been trying for a while now to configure iPlanet web server (6.x) to send servlet and JSP requests to Tomcat (4.1.x) using the Tomcat redirector plugin. Asper the documentation of APACHE ( http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/neshowto.html ) a dll file (

home page error from other computers

2004-01-16 Thread joelslater
Hello, my name is Joel Slater and i just installed Tomcat5 because i need it for a college project. I read all the configurations tutorial everything is alright i guess and the server it is just working Locally, other users cannot view the website from other computer connected to the

Re: Tomcat working with jsp but not servlets

2004-01-16 Thread Phillip Calçado
http://jakarta.apache.org/tomcat/faq/misc.html#invoker -- Phillip Calçado Analista de Sistemas [EMAIL PROTECTED] www.jroller.com/page/pcalcado _ E4W Internet Solutions Rua Uruguaiana, 94 - 13° andar, Centro | Rio de Janeiro | RJ CEP 20050-091 | Tel. +55 21

Do resource links not work with UserTransaction (TC 5.0.16)?

2004-01-16 Thread Robert Krüger
Hi, either I fail to understand the general concept or there is something strange with resource links in TC 5.0.16. Everything works as documented with ResourceLink entries with DataSources and other global resources I configured. However, when I try configuring a Resource of type

RE: home page error from other computers

2004-01-16 Thread Shapira, Yoav
Howdy, Is your tomcat server running on a static IP address host? Does the host have a name (and nameserver) registered globally? Does the Host in server.xml match the hostname for your server? Yoav Shapira Millennium ChemInformatics -Original Message- From: joelslater [mailto:[EMAIL

RE: Virtual Host newbie question ?

2004-01-16 Thread Howard Watson
Off should be correct. I believe that On can cause the issue you are trying to resolve. Is ServerName server name ? server name as you listed below Is Listen serverIPaddr ? ip you are trying to hit I don't know that it matters, but on mine I set ServerName DNSname:80 Listen ipAddr:80 to be

proper way to access local dir?

2004-01-16 Thread Daniel
Hi, I'm trying to access a file respository (for read and write of files) from my servlet. I was wondering what's the best way to do this in a container/platform-independent manner? Is it possible without putting an init param in the web.xml that specifies my repository's directory or hard

Re: proper way to access local dir?

2004-01-16 Thread Tim Funk
If you don't care about where the files are written to, you can use javax.servlet.context.tempdir. See the spec SRV.3.7.1 Temporary Working Directories for details. If you need a permanent local directory, I prefer to use a JNDI string lookup

RE: proper way to access local dir?

2004-01-16 Thread Shapira, Yoav
Howdy, The only place the servlet specification allows you to write (and obviously read) is the directory specified as the servlet context attribute named javax.servlet.context.tempdir. The JDK also has java.io.tmpdir which you may or may not be able to use. Other than that, if you need to

mod_webapp keeps resetting

2004-01-16 Thread Greg Diffor
Hi, I have been using Tomcat 4.1.18 with Apache 1.3 connected with mod_webapp (Warp) for almost a year now. It has been working flawlessly. As of this week, I see sporadic occurrences where Warp seems to be reconnecting. When this occurs, every request (servlet or jsp) sent to the

Re: Tomcat replication Unable to receive message through TCP channel

2004-01-16 Thread jean-philippe . belanger
Ok I really have no idea why this ain't working. Same clustering version on both cluster. The first one works A1.. the second invalidates all my sessions Only difference between the two clusters are that the 2nd one is a multi-ip server (3 adresses on the same eth). But the hostname is

Re: Tomcat replication Unable to receive message through TCP channel

2004-01-16 Thread Apu Shah
check the dates on both machines. i think (filip please clarify if i'm wrong) if one machine is out of sync with the other by an interval equal or greater than the session timeout, the sessions will expire on the receiving end. Ok I really have no idea why this ain't working. Same clustering

  1   2   >