Re: JSP pre-compile and Apache

2005-06-17 Thread Charl Gerber
I have the precompiled JSP's working with Apache now. Thanks. Apart from the first-time-hit compilation penalty on a normal jsp (as apposed to a precompiled one), why would you choose one option above the other? Standard jsp is easier to do updates if you work in an unpacked war setup - you just

AW: JSP pre-compile and Apache

2005-06-17 Thread Bernhard Slominski
Well there is one big advantage when using precompiled JSPs: You're sure that all JSPs are compilable, so you don't get any compile errors on your live site. That gives your application more stability. Bernhard -Ursprngliche Nachricht- Von: Charl Gerber [mailto:[EMAIL PROTECTED]

RE: mod_jk works as localhost only

2005-06-17 Thread Randall Svancara
Have you turned off iptables. /etc/init.d/iptables stop That will kill the firewall rules that is built in to Fedora Core3. Randall -Original Message- From: naidim [mailto:[EMAIL PROTECTED] Sent: Thursday, June 16, 2005 12:41 PM To: Tomcat Users List Subject: mod_jk works as

Re: Admin Package

2005-06-17 Thread Oskar Eyb
Caldarale, Charles R wrote: Not to be too facetious, but: 1) Download. 2) Unzip. That's really all there is to it. Just make sure you use the same base directory for the admin unzip that you did for the main Tomcat download. The admin unzip will attempt to overwrite a couple of text

Re: AW: JSP pre-compile and Apache

2005-06-17 Thread Charl Gerber
With all due respect, I find that a weak argument. Its pretty dangerous to deploy anything to production without testing it on another (local) environment first. I would never change a jsp on production without checking it on another environment first. Well there is one big advantage when using

Re: Uploading files to another server

2005-06-17 Thread Nikola Milutinovic
Anna Bikkina wrote: Hi, We have an application which uploads files to a machine where tomcat is running. Now we want to change it to upload files to a central server in the network. We were using multipart request to upload the files till now. How can we upload files to a different server than

Japanese characters in content-disposition filenames

2005-06-17 Thread Aron Gombas
I have this problem for a while, and drives me crazy. It's very simple: I just want to use Japanese characters (kana and kanji) in the content-disposition HTTP header: response.setHeader(Content-Disposition, inline; filename= + fileName); // filename is a String object Using this I get

AW: AW: JSP pre-compile and Apache

2005-06-17 Thread Bernhard Slominski
It's not that it's not tested. It can happen very easiliy, when you just forgot to check something in the version control: You added a method to a bean, change the JSP, it's working fine in you test environment, you check in the JSP, but forget the bean, do the release and you get the compile

Tomcat 5.0 + Apache 2.0 + ErrorDocument

2005-06-17 Thread Ben
Hi I would like to have Tomcat handle all the error documents, how can I do this? At this stage, whenever there is a page not found, I see an Apache error page. I have already setup mod_jk. I have this: JKMount /*.jsp ajp13 In my web.xml, I have this: error-page

Re: starting a binary by calling a servlet

2005-06-17 Thread Christian Stalp
Excuse me for a moment. Now I have the trouble that I cannot restart Tomcat and so I had to reboot the whole system. Now tomcat start while the bootprocess but cannot be accessed over the browser. And I don't have a process called catalina nor tomcat !?!?! Gruss Christian Im now back

Re: starting a binary by calling a servlet

2005-06-17 Thread Markus Schönhaber
Am Freitag, 17. Juni 2005 14:56 schrieb Christian Stalp: Please don't CC me. I'm reading the list and have set the Reply-To for a reason. Thanks. Im now back again. Now I have time to fix the tomcat-problem. But first I have another problem: I cannot start tomcat!!! I got this from my

Tomcat on Solaris 10

2005-06-17 Thread Sunil
Hi, Has anyone got Tomcat running on Solaris 10? Your responses will be appreciated. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Uploading files to another server

2005-06-17 Thread Anna Bikkina
sorry for the incomplete information. We are using solaris OS. The reason we want to have the files uploaded to a different box is because the server is sometimes maxxed up on connections and so we wanted to have a fail over server. If server1 fails over to server2 all files uploaded on server2

RE: Tomcat on Solaris 10

2005-06-17 Thread Carlos Alberto Pelez Ayala
I have already running Tomcat in Solaris 10. -Mensaje original- De: Sunil [mailto:[EMAIL PROTECTED] Enviado el: viernes, 17 de junio de 2005 5:40 Para: tomcat-user@jakarta.apache.org Asunto: Tomcat on Solaris 10 Hi, Has anyone got Tomcat running on Solaris 10? Your responses will be

Re: mod_jk works as localhost only

2005-06-17 Thread naidim
Guru suggested it was my server.xml. I had Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false So I changed Host from localhost to flex.homelinux.org and it works as flex.homelinux.org, but not as localhost now, and still not by IP.

RE: Tomcat on Solaris 10

2005-06-17 Thread william
Hi Has anyone got Tomcat running on Solaris 10? Your responses will be appreciated. Tomcat is packaged by blastwave.org and is working fine under solaris 10. Kind regards, William - To unsubscribe, e-mail: [EMAIL PROTECTED]

SSL keystore with more than one key entry - which alias is used?

2005-06-17 Thread John Ryan-Brown
If the keystore that Tomcat uses contains more than one entry where Entry type = keyEntry, how does Tomcat choose which one to use when sending a certificate to the client? It seems as though the alias name is not significant - any alias will do. After some experimenting it seems it uses the

Re: mod_jk works as localhost only

2005-06-17 Thread Gurumoorthy
Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Aliaslocalhost/Alias Aliaswww/Alias Alias10.0.0.10/Alias First of all please read the documents of how to install things ...

Re: Container Managed Security and mod_jk/Static Contents

2005-06-17 Thread Gurumoorthy
how do you authenticate ? basic ? form based ? - Original Message - From: Torsten Rmer [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, June 16, 2005 11:42 PM Subject: Container Managed Security and mod_jk/Static Contents Hello! In order to

How can I using Jasper 2 JSP Engine back-compile the java file to jsp file?

2005-06-17 Thread Kingfish (Wang Yu)
I deleted all my project files by misoperation. Using the FinalDate+GoogleDesktop makes all java and xml files back. But some jsp ... ;-( Thanks In Advance

Re: Container Managed Security and mod_jk/Static Contents

2005-06-17 Thread Torsten Römer
Sorry, should have mentioned that. Using form based authentication. Gurumoorthy schrieb: how do you authenticate ? basic ? form based ? - Original Message - From: Torsten Rmer [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, June 16, 2005 11:42 PM

configuration question : the number of connections could be supported by a connector in Tomcat 5.0

2005-06-17 Thread Feng Xie \(fxie\)
I like to get some help on how to configure the maximum number of connections could be supported by Tomcat5.0. There is one config attribute called maxThreads, according to Tomcat doc, which isThe maximum number of request processing threads to be created by this Connector, which therefore

Re: SSL keystore with more than one key entry - which alias is used?

2005-06-17 Thread Paul Singleton
John Ryan-Brown wrote: If the keystore that Tomcat uses contains more than one entry where Entry type = keyEntry, how does Tomcat choose which one to use when sending a certificate to the client? Dunno but there is an undocumented Connector attribute keyAlias=myalias which works with 5.5.9 and

Re: Tomcat 5.0 + Apache 2.0 + ErrorDocument

2005-06-17 Thread Gurumoorthy
in your Apache PUT ErrorDocument 400 /errors/404.jsp ErrorDocument 500 /errors/500.jsp And move /errors/404.jsp and /errors/404.jsp to the context path .. .not in WEB-INF as apache wont be able to see the code in WeB-INF ( UNLESS YOU ALIAS IT WHICH I DONT THINK IS A GOOD IDEA ) Any Doubts ?

monitoring performance

2005-06-17 Thread Hossein S. Attar
Hi: Is it possible to instruemnt Tomcat to collect statistics such as averasge response time (for each servlet), etc and then somehow get these statistics programatically (e.g., using an API). I'm trying to write a program that needs to get such statistics, therefore monitoring tools that

Re: monitoring performance

2005-06-17 Thread Peter Lin
you can easily setup JMeter to monitor tomcat and save the results to a log. peter lin On 6/17/05, Hossein S. Attar [EMAIL PROTECTED] wrote: Hi: Is it possible to instruemnt Tomcat to collect statistics such as averasge response time (for each servlet), etc and then somehow get these

JSP including servlet output

2005-06-17 Thread Frank W. Zammetti
Hey all... I have a situation where I want to use a jsp:include whos target is actually a servlet... Problem is, in the servlet I do: ServletOutputStream out = response.getOutputStream(); out.println(items.getItem()); ...which yields: java.lang.IllegalStateException

Re: JSP including servlet output

2005-06-17 Thread Frank W. Zammetti
Never mind, got it... changed: ServletOutputStream out = response.getOutputStream(); ..to... PrintWriter out = response.getWriter(); ...and it now works. I wouldn't mind an explanation though :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies

RE: JSP including servlet output

2005-06-17 Thread Jay Burgess
Not a full explanation, but the Javadoc for ServletResponse.getOutputStream() does say: Throws: java.lang.IllegalStateException - if the getWriter method has been called on this response Conversely, getWriter() says: Throws: java.lang.IllegalStateException - if the getOutputStream method has

Rc3.d startup scripts

2005-06-17 Thread uttam.g.dubal
I am trying to create a startup script for Solaris for both Tomcat 5.5.9 and Apache 2.0.52. Can anyone tell me how to do that, so that when the box is rebooted it automatically starts Tomcat and Apache. Thank you for your help. This message is for the designated recipient only and may contain

RE: mod_jk works as localhost only

2005-06-17 Thread Randall Svancara
Is it possible for you to send us your mod_jk configuration along with your workers.properties(if you have one)? Randall -Original Message- From: naidim [mailto:[EMAIL PROTECTED] Sent: Thursday, June 16, 2005 12:41 PM To: Tomcat Users List Subject: mod_jk works as localhost only I'm

tomcat is not updating changes in server folders

2005-06-17 Thread megacosmic
Hi, I'm having this problem in netbeans tomcat 5.0 on windows 2000 running in local machine: server is not updating the changes in server folders when I upload a file or when I simply copy directly to the folder, so I can not access these files via web until I restart server. thanks

Re: isRequestedSessionIdFromURL() returns false

2005-06-17 Thread Michael Jouravlev
I already tried it, and it did not work. Session ID is separated by semicolon, not by question mark or ampersand. It is treated differently and is not shown as URL parameter. Thanks anyway. On 6/16/05, Jon Wingfield [EMAIL PROTECTED] wrote: Something like this maybe: String url =

Re: JSP including servlet output

2005-06-17 Thread Frank W. Zammetti
Yeah, I saw those notes too... I found them a tad confusing :) I would have thought it was the OutputStream that was already gotten, contrary to what the note says... If it was the PrintWriter that was already gotten, then why was the solution to call getWriter() instead? I get the feeling

RE: monitoring performance

2005-06-17 Thread Hossein S. Attar
Thanks for the reply. I set up JMeter using an example from the JMeter site (http://jakarta.apache.org/jmeter/usermanual/build-monitor-test-plan.html) . Apparently JMeter uses manager/status and shows only load, # of threads, and memory used. Is it possible to make it measure average response time

Re: tomcat is not updating changes in server folders

2005-06-17 Thread luke
Hi, 18Jun2005 @ 01:28 megacosmic thusly spake I'm having this problem in netbeans tomcat 5.0 on windows 2000 running in local machine: server is not updating the changes in server folders when I upload a file or when I simply copy directly to the folder, so I can not access these files via

Re: Rc3.d startup scripts

2005-06-17 Thread Bill Barker
For Apache 2.0.52, unless you need SSL, you can do worse than: ln -s /usr/local/apache2/bin/apachectl S35apache If you don't mind running as root, you can do the same thing for Tomcat: ln -s /path/to/tomcat/bin/catalina.sh S34tomcat If you are using jsvc, then the Tomcat5.sh script that

Re: configuration question : the number of connections could be supported by a connector in Tomcat 5.0

2005-06-17 Thread Bill Barker
If you are fronting with Apache, then the mapping between connections and threads is more a function of your MPM. As a result, I'm just going to answer for the stand-alone Connector. In Tomcat 5.0, there is a one-to-one mapping between socket connections and threads. Pipelined HTTP/1.1

Re: Tomcat 3.2.3 / JDK 1.4.2_04-b05

2005-06-17 Thread Bill Barker
Samit Paul [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Can somebody help me find out how my tomcat is dying. As far as I know it's not triggered by any url access or memory leak or stack overflow. It dies on it's own( I guess). Is there any kind of hook I can provide