Re: How to limit the size of TOMCATs stdout file

2005-09-24 Thread Tim Funk
Tomcat doesn't explicitly log to standard output. The underlying logging mechanism does. The docs and faq talk about how to configure logging so standard out is not used. -Tim Leon Rosenberg wrote: actually tomcat spams a lot in the catalina.out, this is my favorite: [EMAIL PROTECTED]:

Re: heap size in tomcat 5.0

2005-09-24 Thread matador
Leon Rosenberg [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: bin\catalina.bat actually in all versions of tomcat :-) regards Leon cool thanks. i assume that if you run it as a windows service then the JAVA_OPTS are still picked up from there? well i dont think that if you

Re: CGI difficulty, binmode(STDIN) not working in FileUpload

2005-09-24 Thread Mark Thomas
Ron Cozad wrote: I have a form input on a html page that does a file upload. I am only getting the first 3k of an upload file. If the file is less than 3k, the multipart boundaries are structured properly, otherwise, I never get the end of the file or the ending boundary. I did

Re: Generic Types support in Tomcat?

2005-09-24 Thread Seak, Teng-Fong
I've received an announcement mail telling that 5.5.12 is in alpha phase! So what's this story? Actually, I'm more interested in using the new for loop in Java5 than using generic. Christoph Kutzinski wrote: Hi, it is only since 5.5.10 5.5.10 was already released, but it is only

Protecting applications in Tomcat using Directory Server

2005-09-24 Thread Surya Mishra
I have successfully used JNDI realm to protect my applications on Tomcat. But if Tomcat is unable to connect to the the directory server, it refuses access. I want it to use the tomcat-users list as a backup if it fails to connect to the directory. It seems if the JNDI realm is set up, the

Re: tomcat start exception

2005-09-24 Thread Bill Barker
If you add the attribute channelSocket.soLinger=-1 to your AJP/1.3 Connector element in server.xml, it should make the error go away. It's beyond me why Sun has decided to throw an exception here. Jun Zhu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a Tomcat5.5.9 server

Re: Tomcat working directory

2005-09-24 Thread Bill Barker
The easiest way to to open up the nice GUI (If it isn't in the System-Tray or the Start menu, then it's usually at $CATALINA_HOME\bin\tomcat5w.exe), open the Startup tab, fill-in the Working Path box, and click 'OK'. Then restart the service. It's also possible to do this from the command

Re: Tomcat JVM using 99.9% cpu

2005-09-23 Thread Leon Rosenberg
It looks more like an infinite loop. There are issues with tomcat, which causes infinite loops (see http://issues.apache.org/bugzilla/show_bug.cgi?id=36541) , but there are also chances that you simply programmed one yourself in your code. To check this, next time you tomcat has 99% cpu time,

RE: starting Tomcat service

2005-09-23 Thread KEREM ERKAN
You may write a shell script which includes a java program to test oracle connectivity and if it can connect, it can be used to start Tomcat. If it fails, it may say Oracle down, I am not starting Tomcat. Cheers, Kerem -Original Message- From: Tuan Quan [mailto:[EMAIL PROTECTED]

RE: How to start Tomcat using differnt JRE

2005-09-23 Thread KEREM ERKAN
Add this to the beginning of your catalina.sh script in /bin directory of Tomcat. export JAVA_HOME=/path/to/jdk1.5 That way it will start with the JDK of your choice. Regards, Kerem -Original Message- From: lanna august [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005

RE: db-connectin is working fine, but is it pooling?

2005-09-23 Thread KEREM ERKAN
Write a test connection page and stress test it with a lot of virtual clients. That way, you will have more than 1 connection opened to ypur pool. -Original Message- From: Trond Hersløv [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 3:24 AM To: Tomcat Users List

Re: Tomcat JVM using 99.9% cpu

2005-09-23 Thread Jost Richstein
Most likely the garbage collector causes your CPU load. At some point there is not enough memory and the collector tries to free some of it and tries and tries and tries. Usually your server runs fine even with this CPU load, it even sends quick responses (the collector has a low priority), but

Re: Tomcat JVM using 99.9% cpu

2005-09-23 Thread Ingo Rockel
Hi Jost, do you have any bug numbers concerning the OOM-issue with String.trim() and substring at hand? cheers, Ingo Jost Richstein schrieb: Most likely the garbage collector causes your CPU load. At some point there is not enough memory and the collector tries to free some of it and tries

Re: Tomcat JVM using 99.9% cpu

2005-09-23 Thread Jost Richstein
For more information see: http://fishbowl.pastiche.org/2005/04/27/the_string_memory_gotcha http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6294060 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4513622 Ingo Rockel wrote: Hi Jost, do you have any bug numbers concerning the OOM-issue

Re: Tomcat JVM using 99.9% cpu

2005-09-23 Thread Ingo Rockel
Very interesting links, thanx a lot :) Jost Richstein schrieb: For more information see: http://fishbowl.pastiche.org/2005/04/27/the_string_memory_gotcha http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6294060 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4513622 Ingo Rockel wrote:

AW: AW: Removing session id from url links

2005-09-23 Thread Bernhard Slominski
Well, what you basically want to do is disable URL Rewriting. What I saw so far it's not explicitly possible via the spec, but what you can do is just not encoding the URL. So I don't know struts, but can you not just use plain link? An alternative would be to dig in the code of html:link and

Re: tomcat exception handling

2005-09-23 Thread James Cowan
thanks for the reply. I tried that but it does not seem to make any difference. what version of tomcat are you using? James - Original Message - From: Jilles van Gurp [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, September 22, 2005 5:33 PM

Re: How to start Tomcat with JDK 1.4 compatibility pack on JDK 5.0?

2005-09-23 Thread Stagger Lee
Come on guys, don't tell me no one had to solve this yet. Anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

HOW DOES TOMCAT JNDI CONNECTION POOLING WORKS

2005-09-23 Thread rahul
Hi all, My questing is derived from the sample code given at : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html#Database%20Connection%20Pool%20(DBCP)%20Configurations If you can see the subsection 4(i.e. testcode) of section MySQL DBCP Example, to get a

RE: How to start Tomcat with JDK 1.4 compatibility pack on JDK 5. 0?

2005-09-23 Thread KEREM ERKAN
You could try what you suggested before and send your comments about it to us ;-) Or you could do this: Write a shell script that changes the names of compatibility jars to something with an extension different from *.jar Then you could start Tomcat from the same script and rename the jar files

Run Tomcat From Own Java Application

2005-09-23 Thread NoKideen
It least I install JProbe Free Edition, I see that JProbe can run Tomcat from JProbe it self, .. How we can build application to run Tomcat, not a Bash Script but A Java Application ... example, we have provide CLASSPATH , and all things. thanks

Re: HOW DOES TOMCAT JNDI CONNECTION POOLING WORKS

2005-09-23 Thread David Smith
1. Does tomcat really look into the pool? Yes. The pool code is really the commons DBCP project code refactored slightly to avoid collisions with the real DBCP project code. 2. on conn.close(), are we really pushing the connection back into the pool? Yes. Sorry I can't help you on the Eclipse

Tomcat working directory

2005-09-23 Thread Samit Paul
Hi, How do I set tomcat-5's working directory to something other than C:\Windows\System32 when it is run as windows (XP) service . Even if I set CATALINA_HOME to point to the tomcat installation directory it doesn't take it. Everything works great if I run tomcat from the command line using

Tomcat Out of Memory - Host appBase related

2005-09-23 Thread Vadlamudi, Kamala
When starting tomcat it is running Out of Memory. There were three Hosts in server.xml file pointing to same appBase. If I remove one of the Hosts or if I change appBase the problem is disappearing. Do you know why? Your explanation will be greatly appreciated. Thanks Kamala

Re: Tomcat Out of Memory - Host appBase related

2005-09-23 Thread Assaf
Hi Kamala, Try http://jakarta.apache.org/tomcat/faq/memory.html Usually it is the -X settings you need to play with. Assaf --- Vadlamudi, Kamala [EMAIL PROTECTED] wrote: When starting tomcat it is running Out of Memory. There were three Hosts in server.xml file pointing to same

tld processing performance at startup

2005-09-23 Thread Jilles van Gurp
Hi, I have a large site running on tomcat with some tag libs. Restarting tomcat can take up to 30-40 seconds which is not that bad except that we'd prefer to minimize this time because apache can queue a lot of incoming requests in this 30 seconds. We need to restart often because we are

RE: Tomcat Out of Memory - Host appBase related

2005-09-23 Thread Vadlamudi, Kamala
Hi Assaf Thanks for the mail. I used the site you sent me to Check the following - The ram on my system is 128MB. - The out of memory problem is showing up way before system is running out of threshold. Is it possible the out of memory is coming because the system ran out of file

Re: tld processing performance at startup

2005-09-23 Thread Tim Funk
There is an option to disable TLD processing. This is nice if: 1) You precompile 2) Or don't use tld files See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html for disabling them If you place listeners in your TLD files - I am unsure if they are picked up if the TLD is

Re: tld processing performance at startup

2005-09-23 Thread Peter Rossbach
Setup a META-INF/context.xml inside your app Context processTlds=false / And check Tim's tipps :-) regards Peter Tim Funk schrieb: There is an option to disable TLD processing. This is nice if: 1) You precompile 2) Or don't use tld files See

Re: Run Tomcat From Own Java Application

2005-09-23 Thread Stas Ostapenko
Maybe this can help (Embed with Tomcat) http://www.vsj.co.uk/articles/display.asp?id=319 On 9/23/05, NoKideen [EMAIL PROTECTED] wrote: It least I install JProbe Free Edition, I see that JProbe can run Tomcat from JProbe it self, .. How we can build application to run Tomcat, not a Bash

RE: tld processing performance at startup

2005-09-23 Thread Brad Flynn
Hi Peter, Thanks for your wicked fast help I am unsure of what you mean byt setting up a META-INF/context.xml inside my app. Where/how do I create this? Should I be able to view images if I call them directly like here

jsvc question

2005-09-23 Thread Andrew Stueve
I am new to Tomcat, and this is basic question. I have jsvc setup to start Tomcat, and then run as user wwwadmin on port 80. When I execute, I get two processes running, a parent running as root, and the child as the wwwadmin user. Is this normal? I thought the root process was supposed to

RE: db-connectin is working fine, but is it pooling?

2005-09-23 Thread Lucuk, Pete
I had a similar question while doing connection pooling with Oracle 8i of. OK, if I set my connection pool to 10, why do I only see a 1 connection in Oracle Well, the answer was that when you create a pool of 10, it only starts out with 1 connection, NOT 10 If the connection pool

RE: starting Tomcat service

2005-09-23 Thread Tuan Quan
Thanks Kerem, But I want the script to run at boot time, in Windows. Rather than having to login and run the script manually. KEREM ERKAN [EMAIL PROTECTED] wrote: You may write a shell script which includes a java program to test oracle connectivity and if it can connect, it can be used to start

Re: tld processing performance at startup

2005-09-23 Thread Peter Rossbach
Create a directory at META-INF at your webapps/your apps Create file context.xml inside META-INF context.xml is the tomcat deployment descriptor http://jakarta.apache.org/tomcat/tomcat-5.5-doc/deployer-howto.html

RE: starting Tomcat service

2005-09-23 Thread Peter Crowther
From: Tuan Quan [mailto:[EMAIL PROTECTED] But I want the script to run at boot time, in Windows. You might wish to look at srvany (http://support.microsoft.com/default.aspx/kb/q137890/). This allows you to start any process as a Windows service. - Peter

[ANN] Apache Tomcat 5.5.12-alpha Released

2005-09-23 Thread Yoav Shapira
23 September 2005 - Apache Tomcat 5.5.12-alpha Released The Apache Tomcat team is proud to announce the immediate availability of Tomcat 5.5.12-alpha. This version contains several bug fixes, including an import change to session attribute storage concurrency that is required by the upcoming

getRequestURL and forwards

2005-09-23 Thread azadonick
Hi, We have an application that does the following ( we use struts 1.2.4, tomcat 5.0.28, jdk 1.4.2) a) user requests /x/y/action.do?x=1 b) the action executes then JSP forwards (via ActionForward) to /x/y/somefile.jsp c) the resulting JSP page calls request.getRequestURL(). It returns

RE:problems with cvs and ant tomcat build script (please help cvs proxy authenticate ???)

2005-09-23 Thread Bovy, Stephen J
My proxy server requires authentication, please tell me how to get cvs and ant tomcat build script working ??? C:\tomcat-sourcecvs -d :pserver;proxy=caproxy.ca.com;proxyport=80:[EMAIL PROTECTED]:/home/cvs public login Logging in to :pserver:[EMAIL PROTECTED]:2401:/home/cvspublic CVS password:

Re: getRequestURL and forwards

2005-09-23 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hi, We have an application that does the following ( we use struts 1.2.4, tomcat 5.0.28, jdk 1.4.2) a) user requests /x/y/action.do?x=1 b) the action executes then JSP forwards (via ActionForward) to /x/y/somefile.jsp c) the resulting JSP page calls

Tomcat on Unix - error message at shutdown

2005-09-23 Thread Sabitha
Hi, Every time I stop tomcat 5.0 on Unix , it gives the following error. I think this issue is already been discussed, but I could not find any link to the solution. I would appreciate if you could help me solving this issue. Sep 23, 2005 1:31:22 PM

No Timestamp in catalina.out

2005-09-23 Thread Partheeban Boopathy
Common guys i need help on this ,since its effecting our support to production. I dont have any clue what to do on this I am using Tomcat5.0.27 The Logging Pattern in Catalina.out is missing with Timestamp . I am getting blank instead of TimeStamp. I was using same Tomcat version in my local

RE: Help customize socket options ??

2005-09-23 Thread Bovy, Stephen J
Is there any way to customize some of the socket options used by tomcat ?? I would like to add the so_reuseaddr option to the sockets created by tomcat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

tomcat start exception

2005-09-23 Thread Jun Zhu
I have a Tomcat5.5.9 server that works fine with JDBCRealm. I am trying to configure a customRealm for the sever. The customRealm.jar file was placed in the directory of $Tomcat_Home/server/lib. The realm in the server.xml has been defined as: Realm className=edu.aces.realm.JDBCUnixRealm

RE: Tomcat Out of Memory - Host appBase related

2005-09-23 Thread Phillip Qin
if ((your code does not leak memory) and (you use struts) and (you use tomcat manager/ant task to deploy/undeploy your web app) and !(you use tomcat 5.5.9/+)) { Upgrade_to_5.5.9/+; } -Original Message- From: Vadlamudi, Kamala [mailto:[EMAIL PROTECTED]

RE: Tomcat Out of Memory - Host appBase related

2005-09-23 Thread Assaf
It's possible. I think I saw something about it on the running.txt file. Assaf --- Vadlamudi, Kamala [EMAIL PROTECTED] wrote: Hi Assaf Thanks for the mail. I used the site you sent me to Check the following - The ram on my system is 128MB. - The out of memory problem is showing up way

How to limit the size of TOMCATs stdout file

2005-09-23 Thread John . Tal
How do you limit the size of Tomcats stdout file. If you look at version 5.5, the dialog for the service lets you put in default or some path for the stdout file. But there is no option to set the limiting size or other parameters as you would with log4j. This is the stdout log file which

Re: How to limit the size of TOMCATs stdout file

2005-09-23 Thread Ben Souther
I tried asking this to the tomcat team via bugzilla and they were not helpful. Nobody pointed you to this link?: See http://jakarta.apache.org/tomcat/faq/logging.html for logging help first - it answers this question. :) On Fri, 2005-09-23 at 14:45, [EMAIL PROTECTED] wrote: How

Re: How to limit the size of TOMCATs stdout file

2005-09-23 Thread Tim Funk
See http://jakarta.apache.org/tomcat/faq/logging.html#catalina.out ClientAbortExceptions are thrown by tomcat when the client presses stop before the page is downloaded but does not log the exception. If there is custom code trapping exception - it might be logging it. In this case - the

Re: starting Tomcat service

2005-09-23 Thread Lalit Batra
My two cents: Write a Script in Windows, make it service (Plenty of code on Web), which starts on when Windows start. On 9/23/05, Tuan Quan [EMAIL PROTECTED] wrote: Thanks Kerem, But I want the script to run at boot time, in Windows. Rather than having to login and run the script manually.

Re: tomcat exception handling

2005-09-23 Thread Alon Belman
you want to define an error page in your web.xml. try adding something like the following: error-page error-code500/error-code location/yourErrorPage.html/location /error-page On 9/23/05, James Cowan [EMAIL PROTECTED] wrote: thanks for the reply. I tried that but it does not seem to make

RE: db-connectin is working fine, but is it pooling?

2005-09-23 Thread Trond Hersløv
Hi Thanks Pete. That seems to be the case. \trond -Original Message- From: Lucuk, Pete [mailto:[EMAIL PROTECTED] Sent: 23. september 2005 17:43 To: Tomcat Users List Subject: RE: db-connectin is working fine, but is it pooling? I had a similar question while doing connection pooling

Deploying a webapp under two different URIs (re-sent)

2005-09-23 Thread Carsten Guenther
Hi, I want to deploy the same webapp under two different URIs. I created two context descriptors like this: Context path=/a docBase=/home/user/myapp debug=0 privileged=false Logger className=org.apache.catalina.logger.FileLogger prefix=a. suffix=.txt timestamp=true/ /Context

Re: How to limit the size of TOMCATs stdout file

2005-09-23 Thread Leon Rosenberg
actually tomcat spams a lot in the catalina.out, this is my favorite: [EMAIL PROTECTED]: Exception Processing ErrorPa ge[errorCode=404, location=/down/404.html] ClientAbortException: java.net.SocketException: Connection reset at

Re: No Timestamp in catalina.out

2005-09-23 Thread Leon Rosenberg
catalina.out contents are actually system.out-s so you shouldn't expect any timestamps there, unless you have a logkit like log4j and configured your logger to go for standard out (which is bad :-)) However, we had same problem and have a workaround for this: We are starting a Thread in our

Re: force reload of individual class files

2005-09-23 Thread Leon Rosenberg
On 9/23/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: given a change to class file(s), does anyone know a hack workaround to force tomcat to reload * just those files *. I know about restarting the app from the console and context.xml. but i cannot afford to knock users off in the middle

Re: force reload of individual class files

2005-09-23 Thread jimbo-black
Leon Rosenberg [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: On 9/23/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I think it's forbidden by the spec. SRV.3.7 Reloading Considerations Although a Container Provider implementation of a class reloading scheme for ease of

Problem with RealmBase and digested passwords

2005-09-23 Thread Barnett, Brian W.
Hello, I'm trying to get my passwords digested, and I think I'm nearly there. I ran the command line utility to calculate a digested password and then put it in an existing user's record using MySQL Query Browser. I then logged in as that user and everything was fine. So, Tomcat is authenticating

how to setup context.xml for virual hosts

2005-09-23 Thread jimbo-black
ok so i define my connection pools etc in the context.xml but when the site is accessed from the virutal host, it does not see the connection pool since its defined as: Context path=/struts docBase=/struts debug=1 reloadable=true antiJARLocking=true ResourceLink

heap size in tomcat 5.0

2005-09-23 Thread matador
win2k server tomcat 5.0.x how to set heap size (min max)? i know how to do it in tomcat 5.5, but wasnt sure which script controlled the JAVA_OPTS in 5.0 thx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Problem with RealmBase and digested passwords

2005-09-23 Thread Barnett, Brian W.
Maybe one of these days I'll finally understand classpath! :) It was as simple as putting catalina.jar in my WEB-INF\lib folder. Doh. Sorry all. -Original Message- From: Barnett, Brian W. To: 'Tomcat Users List ' Sent: 9/23/2005 9:23 PM Subject: Problem with RealmBase and digested

Rép. : Re: How show CLIENT-CERT Rea lm

2005-09-22 Thread Antony GUILLOTEAU
Thanks. Like I've found nothing, I'm choosing a solution like this. So it is impossible to show CLIENT-CERT realm like response.setHeader(WWW-Authenticate, CLIENT-CERT realm=\myName\); I've an another question : how to redirect an request to the secure port within a serlvet ? I post a new

Redirect to the secure port within a serlvet

2005-09-22 Thread Antony GUILLOTEAU
I wanted to simulate a CLIENt-CERT realm to the browser with serlvet (response.setHeader(WWW-Authenticate, BASIC realm=\myName\)) but it seems not possible. So I want to basically redirect my request to SSL. I wish know how to redirect a request to the secure port within a serlvet but I don't

Can't connect to X11

2005-09-22 Thread Iin Nurhidayat
Hi All, I found this error : java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. on UNIX platform. Please adv. Thanks Regards - IN - --- Antony GUILLOTEAU [EMAIL PROTECTED] wrote: I wanted to simulate a CLIENt-CERT realm

Re: Can't connect to X11

2005-09-22 Thread David Delbecq
You are not supposed to use awt or swing on a java web server. remove calls to awt/swing or use headless java. Iin Nurhidayat a écrit : Hi All, I found this error : java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. on UNIX

RE: tomcat and JMS

2005-09-22 Thread Jason Bell
Stas, The original link gave a 404 error, but there is this article on the OnJava site that may shed a little more light for you. http://www.onjava.com/pub/a/onjava/2001/12/12/openjms.html I hope this helps. Regards Jason -- Jason Bell Lead Architect, SpikeSource Europe e: [EMAIL PROTECTED]

Re: Can't connect to X11

2005-09-22 Thread Christian Mittendorf
Hi, do you use some graphic functions in your project? If so, you should add the following parameter to Tomcat startup: -Djava.awt.headless=true cu cm Am 22.09.2005 um 09:07 schrieb Iin Nurhidayat: Hi All, I found this error : java.lang.InternalError: Can't connect to X11 window

[ANN][Solaris] Availability of blastwave tomcat packages

2005-09-22 Thread william
Dear all, To whom this may help... Tomcat 4.1.31 and 5.5.9 have been packaged for solaris by BlastWave and are available to people who use the BlastWave packages. You can report any problem to http://www.blastwave.org/bugtrack/ Kind regards, -- William Bonnet SunWizard - Le site francais

Re: Configure multiple number of aliases / sub-domains

2005-09-22 Thread Assaf
My problem is not with the DNS settings. They are mapped to the same IP address (my machine) and that works fine. What do you mean your 'hosts' file? Currently I have a host node in the server.xml file. Under it I define the various aliases (subdomains). Thanks, Assaf --- Kyle [EMAIL

Re: Configure multiple number of aliases / sub-domains

2005-09-22 Thread Tom Burke
The Hosts file is hold-over from the pre-DNS method of finding IP addresses. Basically, there's a file - 'Hosts' - that holds addresses, in the format: domain_nameip_address eg myhost.co.uk123.45.123.45 At one time this was the only way that machines on the Internet knew the

Re: Configure multiple number of aliases / sub-domains

2005-09-22 Thread Assaf
Hi Tom, Thanks again for the answer. BUT my problem is not the hosts file. That works fine. My issue is as follows: I have multiple hosts (as in TOMCAT HOSTS) running on the server. Each is mapped to a different context/ application. I need to be able to map ALL subdomains to the same

Default Charset in Content-Type Header

2005-09-22 Thread Alpay Ozturk
Hi, I am using Tomcat 4.1.29 in a production environment and I want tomcat not to add default charset in Content-Type response header. Is it possible? Thanks in advance. Alpay - To unsubscribe, e-mail: [EMAIL PROTECTED]

ConnectionPool JDBC3, Testing with realtime multiple client

2005-09-22 Thread NoKideen
Somebody please help me , example how to make A DataSource in server.xml/web.xml or in webapps/testapps/WEB-INF/web.xml using postgresql and an example to access it in servlet . Use a PoolConnection, so only connect once, the other use that connection. thank you, currently I write data

Re: Default Charset in Content-Type Header

2005-09-22 Thread Jilles van Gurp
Alpay Ozturk wrote: Hi, I am using Tomcat 4.1.29 in a production environment and I want tomcat not to add default charset in Content-Type response header. Is it possible? Thanks in advance. Alpay - To unsubscribe,

RE: Default Charset in Content-Type Header

2005-09-22 Thread KEREM ERKAN
You may add the charset of your choice (probably Turkish) to your jsp by adding %@ page contentType=text/html; charset=iso-8859-9 % To the beginning of your jsp page. If you do not add this, Tomcat will always default to ISO-8859-1 or UTF-8 (I don't remember which one was default). Regards,

Install Tomcat 5.5 quietly?

2005-09-22 Thread Richard Burman
Hi all, Just a quick question for you; how can I launch the Tomcat installer without the installation screens popping up? Can I specify the installation directory and settings from the command line? I tried feeding the installer some parameters but it seems to completely ignore the command line.

Re: tomcat and JMS

2005-09-22 Thread Stas Ostapenko
Hi ! Thanks for your resnonce. I saw that article at ONJava.com. They use standalone openJMS server. I'm interested in embedded. Broken link ? Maybe... However, it's not much info there. Overview The Embedded connector enables OpenJMS clients to connect to an embedded OpenJMS server, i.e. a

setting MIME types on a per application basis

2005-09-22 Thread James Annesley
I want to configure TomCat 4.1.30 to allow Remote Deployment of my mobile app. This article http://developers.sun.com/techtopics/mobility/midp/articles/deploy/ tells one how to do it for system wide settings. I want to configure it on a per application basis. How do I do this? Is it possible? What

Re: Configure multiple number of aliases / sub-domains

2005-09-22 Thread Jilles van Gurp
Assaf wrote: Hi Tom, Thanks again for the answer. BUT my problem is not the hosts file. That works fine. My issue is as follows: I have multiple hosts (as in TOMCAT HOSTS) running on the server. Each is mapped to a different context/ application. I need to be able to map ALL subdomains to the

Re: Configure multiple number of aliases / sub-domains

2005-09-22 Thread Parsons Technical Services
I don't think that Tomcat can do that without some hacking. I think that you may be able to accomplish what you need by doing a little redirecting. You might be able to use a filter to parse and redirect the request to the base domain. Or use the default host as a catch all and the

Re: Install Tomcat 5.5 quietly?

2005-09-22 Thread Jilles van Gurp
Richard Burman wrote: Hi all, Just a quick question for you; how can I launch the Tomcat installer without the installation screens popping up? Can I specify the installation directory and settings from the command line? I tried feeding the installer some parameters but it seems to completely

someone familar with this error?

2005-09-22 Thread Leon Rosenberg
starting tomcat: 22.09.2005 12:41:27 org.apache.coyote.tomcat5.MapperListener init WARNUNG: Error registering contexts java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782) at java.util.HashMap$EntryIterator.next(HashMap.java:824)

RE: Default Charset in Content-Type Header

2005-09-22 Thread Alpay Ozturk
Thanks Kerem , But I need to set the content-type of a servlet response as application/vnd.wap.mms-message without adding a charset header. Since some handsets do not accept the MMS response messages although the messsage is well-encoded. Anyway, thanks for your response. Regards, Alpay On

Removing session id from url links

2005-09-22 Thread Assaf
Hi, I have a problem with tomcat displaying urls on my site that include the jsessionid attached at the end. This is particularly a problem with search engine who crawl the site and index the page including the session id. Is there a way to disable it? I am also using struts html:link so that

Re: session tracking in a context that contains JSP and servlets

2005-09-22 Thread Leon Rosenberg
On 9/22/05, Mark [EMAIL PROTECTED] wrote: I would think that this is possible. I have been writing servlets for over a year, but have not written a single line of JSP. Technically speaking each JSP is actually a servlet... more or less. Everything that works in the server works in the jsp

Re: Default Charset in Content-Type Header

2005-09-22 Thread Alpay Ozturk
Thanks Jilles , I need to set the content-type of a servlet response as application/vnd.wap.mms-message. But I will recheck my code if I am setting content-type to text/html before setting it to application/vnd.wap.mms-message. If it does not work, I will wrap the response as you suggested.

Re: Default Charset in Content-Type Header

2005-09-22 Thread Jon Wingfield
Return binary content from a servlet using the ServletOutputStream and you should have no problem. This is the way we vend MMS data. (In fact all of our binary data.) HTH, Jon Alpay Ozturk wrote: Thanks Kerem , But I need to set the content-type of a servlet response as

Re: someone familar with this error?

2005-09-22 Thread andy gordon
Leon, Not sure if this will help, but it looks like there was an error when registering MBeans. Did make any modifications with the Coyote Connnector? This is the connector that integrates with Apachr or IIS for example. - andy Leon Rosenberg [EMAIL PROTECTED] wrote: starting tomcat:

Re: someone familar with this error?

2005-09-22 Thread Jilles van Gurp
Leon Rosenberg wrote: starting tomcat: 22.09.2005 12:41:27 org.apache.coyote.tomcat5.MapperListener init WARNUNG: Error registering contexts java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782) at

Re: someone familar with this error?

2005-09-22 Thread Leon Rosenberg
Thanx Jilles. On 9/22/05, Jilles van Gurp [EMAIL PROTECTED] wrote: Leon Rosenberg wrote: starting tomcat: 22.09.2005 12:41:27 org.apache.coyote.tomcat5.MapperListener init WARNUNG: Error registering contexts java.util.ConcurrentModificationException at

RE: tomcat and JMS

2005-09-22 Thread Jason Bell
Hi ! Thanks for your resnonce. I saw that article at ONJava.com. They use standalone openJMS server. I'm interested in embedded. I was Googling around, I have to admit, as I found your posting very interesting. I've downloaded OpenJMS and will try and have a play when I have half an hour

Re: tomcat and firefox ssl problem - no common encryption algorithms

2005-09-22 Thread Paul Singleton
Lyndon Tiu wrote: Hello, I am using on server: - Tomcat 5.5.9 downloaded from Apache Tomcat website. - Tried both Java 1.4.2_09(using tomcat compat packages) and Java 1.5.0_03 - RH ES3 on client: - Firefox 1.0.6 - RH WS3 I have done ssl on Tomcat 4.x and 5.0.x a few times before with no

Re: tomcat and firefox ssl problem - no common encryption algorithms

2005-09-22 Thread Lyndon Tiu
On Thu, 22 Sep 2005 14:40:25 0100 [EMAIL PROTECTED] wrote: Lyndon Tiu wrote: Hello, I am using on server: - Tomcat 5.5.9 downloaded from Apache Tomcat website. - Tried both Java 1.4.2_09(using tomcat compat packages) and Java 1.5.0_03 - RH ES3 on client: - Firefox

AW: Removing session id from url links

2005-09-22 Thread Bernhard Slominski
The session ids in the URL (URL Rewriting) are only used when cookies are switched off as a fallback, so when cookies are switched on on your machine you shouldn't see the session Id in the URL. When you don't need a seesion on your page you can use this page directive to switch off the session,

XInclude in faces-config file

2005-09-22 Thread Stephen Faustino
I'm attempting to modularize one of the xml files by using XInclude under Tomcat 5.5.9. The application starts, but at the point in time when the beans should get instantiated I get a NullPointerException in the ManagedBeanFactory. In the example below, I'm trying to include file2.xml in

Re: XInclude in faces-config file

2005-09-22 Thread Robert Koberg
Stephen Faustino wrote: I'm attempting to modularize one of the xml files by using XInclude under Tomcat 5.5.9. The application starts, but at the point in time when the beans should get instantiated I get a NullPointerException in the ManagedBeanFactory. In the example below, I'm trying to

Re: RES: Problems with gzip compression with Apache/Tomcat cluster and Firefox

2005-09-22 Thread Tim Funk
You need mod_gzip or mod_deflate(?) if your using apache in front of tomcat (via jk) -Tim Acácio Furtado Costa wrote: Hi We're having problems to configure gzip using TC559/Apache Cluster... We moved the compression=on and others gzip declarations from connector 80 to 8009 in all Tomcat

Registering my own protocol in Tomcat

2005-09-22 Thread Martin Peter
Hi, Is there a possibility to get tomcat working with my own ASCII based protocol (instead of HTTP). Is there a possibility to register a protocol-handler or something similar to handle the requests of my protocol with a servlet? Thanks, Martin Peter

RE: Install Tomcat 5.5 quietly?

2005-09-22 Thread Richard Burman
I was kind of hoping it would be possible to control the installer as it already does everything I need. Is there no way to modify the flow of the installer at all? Cheers, Richard. -Original Message- From: Jilles van Gurp [mailto:[EMAIL PROTECTED] Sent: 22 September 2005 12:29 To:

Desperately need help: What is correct for workers.properties.minimal

2005-09-22 Thread David Thielen
Hi; I'm running Tomcat 5.5 on Windows 2003/IIS 6.0 using isapi_redirect The isapi_redirect.exe installer creates a worker.properties.minimal of: worker.list=wlb,jkstatus worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8009

<    5   6   7   8   9   10   11   12   13   14   >