Problems using Servlet with 4.1.29, Apache 2.0.40 and https

2004-02-27 Thread Lutz Maibach
Hello, I'm trying to get a servlet called rreport running with the Software shown above. Everything is working well as long as I use the http-address (everything is redirect via apache) to call rreport. I can also run the tomcat-examples via https so I think that redirecting via Apache isn't the

Re: bug in redirect to https

2004-02-27 Thread Bernhard Wraase
Antonio Fiol Bonnín wrote: Could you please post your connector config? Here it is: Connector port=80 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=443 acceptCount=100 debug=0 connectionTimeout=2

Tomcat on Solaris (Sparc)

2004-02-27 Thread Michenaud Laurent
Hi, We have an application on the application server : iplanet. The server is a sparc with Solaris 8. We would like to know if we could migrate the appplication : - on the same server - Tomcat/Apache/mod_jk = Which version ? - Tomcat 4.1 ? - Apache 2.0 or 1.3 ? - mod_jk 1 or

Re: source code exposure

2004-02-27 Thread unplug
Any information about using mod_jk? Where to download the bin mod_jk for tomcat 4.1.29 and apache 2.0.48? But I wonder why it will have such bug. Bill Barker wrote: unplug [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] As you can see, the jsp only contains a line of code %=

Good practice for classloaders

2004-02-27 Thread SH Solutions
Hi I am writing an application in which I use classloaders to load different groups of plugins. Basically what I am doing is: protected Class findClass( String className ) throws ClassNotFoundException { if ( className.startsWith( com.companyname. ) ) return

Re: bug in redirect to https

2004-02-27 Thread Bernhard Wraase
See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27122. This seems to me as a different bug. Martin says that this problem is only on solaris present. In my case these Url works with IE 5.5 and 6.0 correctly: http://servername/sec-test/a.pdf http://servername/sec-test/b.zip

Tomcat exception - Please help

2004-02-27 Thread Rudi Doku
Hi, I have recently started using ant in netbeans. I got most of my info from the following tutorial: http://www.netbeans.org/kb/articles/ant-webapps.html#customProject For some unknown reason, I am not able to deploy my application. I get the following error: 2004-02-27 10:45:42

Re: Limit size of catalina.out ?

2004-02-27 Thread Tim Funk
Nope. There are no size based limitations on files bundled. -Tim Philippe Couas wrote: Hi, Can i limit disk size of catalina.out file in Tomcat 4.1.30 ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Updating shared libs without reloading tomcat

2004-02-27 Thread Vincent Lévin
hello ! We have developed several applications under tomcat 5. all of these applications use a lib we made, so we put it in shared/lib Is it possible to update this library without a tomcat reload ? (a context reload would be ok, but restarting tomcat would be a problem :/...) thanks for

Re: Tomcat and SSL: problem with expiration of VeriSign Global Server ID Intermediate Root

2004-02-27 Thread Jörn Böckenkamp
Hi Yan, Now that the VeriSign Global Server ID Intermediate Root cert has expired I have to replace the Intermediate Root cert on the server. There is an example on how to replace the cert on an apache server on their website (and that works fine), but no instructions how to replace it

Tomcat and commons logging

2004-02-27 Thread Riaan Oberholzer
Can someone just PLEASE post a simple straight forward example of how to configure a Tomcat system (4.1.x) for once and for all without getting that damn No logger for class xxx exception. *sigh* I want no loggers defined for 3rd party packages (eg the host of jars required for struts 1.1). Well,

JSP forwarding outside of Context

2004-02-27 Thread Johansen, Roar
I supervise development of a web-app, currently deployed on Jrun, but I also want to deploy it on other appservers, among those tomcat. I want to distribute the app as a .war file (which we do), but with JSPs outside the .war file. This because we want to be able to do fixes, and not least to add

Re: Deploying to ROOT problem

2004-02-27 Thread Andrew Watters
Hi Justin I've tried what you suggest and it works great for me too. Thank you for your help. If I browse to /manager I do get the directory listing but if I browse to /manager/list for example the manager application works fine. I've seen this same directory listing before. I'm going to try

RE: Number Format

2004-02-27 Thread Shapira, Yoav
Howdy, double d = 12345.00; DecimalFormat df = new DecimalFormat(0); String s = df.format(d); Yoav Shapira Millennium ChemInformatics -Original Message- From: Cui Xiaojing-a13339 [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 1:38 AM To: 'Tomcat Users List' Subject: Number

RE: can't get tomcat 5 to work

2004-02-27 Thread Shapira, Yoav
Howdy, What I really want is more error messages, so I can figure out what is going wrong with my webapps. - Take out all the elements from your Context tag e.g. the FileDirContext, and add the attribute debug=99. - Set debug=99 for the Host, Engine. Yoav Shapira This e-mail, including any

RE: log comming big after....

2004-02-27 Thread Shapira, Yoav
Howdy, sorry for my newbiness again but iam on windows and awser that i see on google are for linux:S cron is a unix command, though you can probably simulate it on windows with a number of tools like cygwin or 12ghosts. But it's not the best approach here. Instead, change the code that

RE: Tomcat exception - Please help

2004-02-27 Thread Shapira, Yoav
Howdy, It's probably due to a problem with your IDEs JSP classpath. I'm not very familiar with NetBeans, so I can't help much there, except the obvious question: what happens when you run the code outside an IDE? Yoav Shapira Millennium ChemInformatics -Original Message- From: Rudi

%@ include file= outside of current context

2004-02-27 Thread Konrad Steinmuller
I am trying to refer to a different context from within another context via an [EMAIL PROTECTED] file=/media/javascripts/common.jsp % directive. What i get is a : JasperException : /newdnr/standard/header.jsp(57,0) File /media/javascripts/common.jsp not found my contexts are : Context path=

RE: Tomcat on Solaris (Sparc)

2004-02-27 Thread Shapira, Yoav
Howdy, We would like to know if we could migrate the appplication : - on the same server - Tomcat/Apache/mod_jk = Which version ? - Tomcat 4.1 ? - Apache 2.0 or 1.3 ? - mod_jk 1 or mod_jk 2 ? - Which JVM is best on Solaris ? On intel i386, we prefer to use the

RE: Updating shared libs without reloading tomcat

2004-02-27 Thread Shapira, Yoav
Howdy, We have developed several applications under tomcat 5. all of these applications use a lib we made, so we put it in shared/lib Is it possible to update this library without a tomcat reload ? (a context reload would be ok, but restarting tomcat would be a problem :/...) No, it's not

Re: %@ include file= outside of current context

2004-02-27 Thread Tim Funk
You can't compile time include a file outside your context. -Tim Konrad Steinmuller wrote: I am trying to refer to a different context from within another context via an [EMAIL PROTECTED] file=/media/javascripts/common.jsp % directive. What i get is a : JasperException :

Help please

2004-02-27 Thread Santosh Joshi
Yoav, Could I please be removed from this list. Two of my attempts to do so failed yesterday, perhaps you can help. Regards, Santosh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Keytore and Veriisgn certificates

2004-02-27 Thread HFaust
I have been wrestling with getting a CA certificate into my keystore file. I Keep getting an error message of Public Keys in reply and keystore don't match. The steps are pretty simple. I've rtfm and stfw. But I can't find an explanation for this error. step 1) create the csr step 2) sent if

Process Died | Production

2004-02-27 Thread Arnab Chakravarty
Hi all, We have the following version being currently used in production: - jdk1.4.2 - Tomcat 3.3 - Apache 1.3.27 - Solaris 8 (4 Cpu's, 4 GB Ram, 4GB Swap) - Oracle 8 - 4 Machines running 3 tomcats each (12 Tomcats in all) Problem: A tomcat process died on our production dumping a core file of

RE: unknown jar file in Tomcat

2004-02-27 Thread Mark J. Miller
At 6:49 PM + 2/26/04, [EMAIL PROTECTED] wrote: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: RE: unknown jar file in Tomcat Date: Thu, 26 Feb 2004 12:12:49 -0500 Message-ID: [EMAIL PROTECTED] From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Keytore and Veriisgn certificates

2004-02-27 Thread Mark Foster
On Fri, Feb 27, 2004 at 09:06:06AM -0600, [EMAIL PROTECTED] wrote: I have been wrestling with getting a CA certificate into my keystore file. I Keep getting an error message of Public Keys in reply and keystore don't match. The steps are pretty simple. I've rtfm and stfw. But I can't find

RE: Process Died | Production

2004-02-27 Thread Shapira, Yoav
Howdy, A tomcat process died on our production dumping a core file of size 1Gb. The reasons are not known as what caused the same. We have specified the following setting for the JVM: 256K (min size) 778K (max size) Are you sure that's K? Assuming you really mean M, how did you arrive at a

Help please

2004-02-27 Thread Santosh Joshi
Yoav, Could you please remove me from the list? Regards, Santosh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Help please

2004-02-27 Thread Shapira, Yoav
Howdy, I removed [EMAIL PROTECTED] from this list after your first request. If you're still getting emails, it means you're subscribed from another address. Stop sending these public notices and follow the normal unsubscribe directions, including the part where if it doesn't work, email [EMAIL

Tomcat 5 and apache 2.0.48

2004-02-27 Thread Julien Martin
Hello, Can anyone direct me to a good tutorial about hooking Tomcat 5 to Apache 2.0.48 on windows. Thanks in advance, Julien. PS. I asked this question before but I lost my emails. - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Process Died | Production

2004-02-27 Thread Arnab Chakravarty
Hi Shapira, Thanks for the answers. Are you sure that's K? Assuming you really mean M, how did you arrive at a number like 778? Maybe you mean 768? Thats Correct its M and not K. This number is arrived assuming the total process size might never go beyond 1GB. Would it ? (4 gb total mem, 3

RE: Process Died | Production

2004-02-27 Thread Shapira, Yoav
Howdy, Thats Correct its M and not K. This number is arrived assuming the total process size might never go beyond 1GB. Would it ? (4 gb total mem, 3 tomcats so 3 gb) Only you can answer that, as it depends on your applications and their memory usage. We have several whose size can go over

Re: Limit size of catalina.out ?

2004-02-27 Thread Norris Shelton
Is there any particular reason why this was never set-up to rotate like the other logs? --- Tim Funk [EMAIL PROTECTED] wrote: Nope. There are no size based limitations on files bundled. -Tim Philippe Couas wrote: Hi, Can i limit disk size of catalina.out file in Tomcat 4.1.30

RE: Limit size of catalina.out ?

2004-02-27 Thread Shapira, Yoav
Howdy, Is there any particular reason why this was never set-up to rotate like the other logs? It's not a catalina Logger, it's just the trap for System.out/System.err. one good way to get it to rotate is to add swallowOutput=true to your Context definition. Of course, patches/enhancements

Proxy through apache not working correctly

2004-02-27 Thread Michael Forster
-Original Message- I am having problems with Apache and Tomcat, I am running Apache with many websites, one needs to use Tomcat. I had the setting as such using Virtual name servers VirtualHost www.mysite.net:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot

RE: Tomcat and IIS question

2004-02-27 Thread John MccLain
-Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 3:43 PM To: Tomcat Users List Subject: Re: Tomcat and IIS question I imagine that you've got Tomcat and IIS communicating behind a firewall, if not on the same machine. If only IIS is

RE: Proxy through apache not working correctly

2004-02-27 Thread Asif Chowdhary
Hi, I put my application context and it works fine. ProxyPass /context http://mysite.net:8080 ProxyPassReverse /context http://mysite.net:8080 -Original Message- From: Michael Forster [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 11:14 AM To: [EMAIL PROTECTED] Subject: Proxy

Tomcat heap vs. java.exe

2004-02-27 Thread Asim Alp
I have a quick question. When I run Tomcat 5.0.18, my java.exe starts with ~65MB. Then as my websites get hits, java.exe starts increasing. I run tomcat with the -Xms128m -Xmx256m options. So the startup heap size of tomcat is 128MB. After my first start, I usually have around 80 MB free

Help tomcat problem with memory

2004-02-27 Thread software
Hi i have installed apache 13.24 with 2 tomcats 4.0.3 with loadbalancer is woring fine but the problem when i'm using the ps -ef | grep java command i've saw many java process justa like these: 21430 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java 21431 root 15 0 139M

RE: Tomcat heap vs. java.exe

2004-02-27 Thread Shapira, Yoav
Howdy, Search the archives, as the relationship of the heap size to the total java OS process size has been described numerous times. What you're seeing is normal. Yoav Shapira Millennium ChemInformatics -Original Message- From: Asim Alp [mailto:[EMAIL PROTECTED] Sent: Friday,

RE: Help tomcat problem with memory

2004-02-27 Thread Hamilton Andrew
So what's your problem? Are you using Linux? Did you know that Linux shows threads as processes using ps? Are you running out of memory? A little more information would be helpful. Regards, Drew -Original Message- From: software [mailto:[EMAIL PROTECTED] Sent: Friday, February 27,

RE: Help tomcat problem with memory

2004-02-27 Thread Ralph Einfeldt
I not shure which problem you have : - Why do I have so many processes (You havn't, that are threads, search google or the archives on that one) - Why does the process take this amount of memory Depens on several factors. (Memory setting of the vm, amount of servlets, jsp's, number of

RE: Help tomcat problem with memory

2004-02-27 Thread Trenton D. Adams
If you weren't aware of what Hamilton mentioned, try a ps awxu --forest | grep java, and you will get a listing of processes with their child threads in a tree view. -Original Message- From: Hamilton Andrew [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 9:44 AM To: Tomcat

RE: Proxy through apache not working correctly

2004-02-27 Thread Michael Forster
It works correctly for me but I want the context to be / not /webapps Like I said it works for the jsp page but the img files inside are not sent and they produce a Bad Request Your browser sent a request that this server could not understand. error (400 Bad Request) -Original

RE: Help tomcat problem with memory

2004-02-27 Thread SH Solutions
So what's your problem? -Original Message- From: software [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 5:36 PM To: [EMAIL PROTECTED] Subject: Help tomcat problem with memory Importance: High Hi i have installed apache 13.24 with 2 tomcats 4.0.3 with loadbalancer is woring

RE: Proxy through apache not working correctly

2004-02-27 Thread Michael Forster
In both cases whether it is /webapps or / on the server XML the context is set to !-- Tomcat Root Context -- Context path=/ docBase=ROOT debug=0 /Context it seems that if the proxypass is set to / it doesnt work (the graphics are also available from apache as / when

Problems running JSPs

2004-02-27 Thread Vijay Kandy
Hello All, I am having trouble running JSPs in examples context (that with Tomcat). Below is my stack trace: org.apache.jasper.JasperException: Unable to compile class for JSP/var/tomcat/work/Standalone/localhost/examples/_0002fjsp_0002fnum_0002fnu mguess_0002ejspnumguess_jsp_0.java:15: Class

Re: Tomcat heap vs. java.exe

2004-02-27 Thread Asim Alp
My main concern is to make sure that there is no memory leakage of any sort. Our server has 1GB of ram. I'm running tomcat with -Xms128m -Xmx256m. In this case, I'm guessing that java.exe will eventually become 256MB + JVM memory ~= 370MB and stay stabilized like that. I don't want our

RE: Tomcat heap vs. java.exe

2004-02-27 Thread Shapira, Yoav
Hi, the performance very much. Do you think it makes sense to assume that java.exe won't exceed 370 MB (400 MB top) under these conditions? Yes. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential,

Re: Help tomcat problem with memory

2004-02-27 Thread software
Hi, my problem is that the performance of my server linux redhat 7.3 is down because when a try to get acceso to some application (for java) in my webserver i have to wait a lot of time, somtimes i've got acces sometime it didn't happen ... when i use ps -ef | grep java i getting many

Re: Problems running JSPs

2004-02-27 Thread rsequeira
Have you added the jar that contains the num.NumberGuessBean under the examples/WEB-INF/lib Or add the num.NumberGuessBean to the examples/WEB-INF/classes RS

Re: Help tomcat problem with memory

2004-02-27 Thread software
Yes i've configured the Tomcat environment -Xms, -Xmm but i think it doesn't work, because it's consume the server memory until 145 Mb per process i need to limit the number of java proccess and the memory that they consume on my Linux Red Hat 7.3 server thanks a lot fabian Ralph Einfeldt

RE: Tomcat heap vs. java.exe

2004-02-27 Thread Kannan Sundararajan
Yes, it goes along with subject called Garbage collection and tuning. This area is a huge, sometimes very quick to tune, and sometimes gives a nightmare to tune those properties. The nature of this subject grows based on your application, servers and expectations from user end. -Original

RE: Help tomcat problem with memory

2004-02-27 Thread Kannan Sundararajan
that is your vm settings? -Original Message- From: software [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 12:07 PM To: Tomcat Users List Subject: Re: Help tomcat problem with memory Importance: High Yes i've configured the Tomcat environment -Xms, -Xmm but i think it

Re: Cluster error when starting up web application

2004-02-27 Thread Aadi Deshpande
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27296 Thank you for making excellent software. p.s. i'd also like to just say thanks to person(s) reponsible for the main build.xml file which made getting and building tomcat such a breeze. Filip Hanik (lists) wrote: thanks for the very

RE: Help tomcat problem with memory

2004-02-27 Thread Ralph Einfeldt
To what value did you set -Xms, -Xmm ? Can you post the statement that sets the values ? (Have seen to much typos in the past) How much memory has your box ? What says the cpu load ? Can you post the head of the top output hat shows the overall memory usage ? Are both tomcat instances on the

Re: Alternatives to J2EE Authentication

2004-02-27 Thread Carlos Cajina - Hotmail
Hello. The idea of a servlet filter to manage part of the user login process that I read here rang a bell in my head. Diggin' in books articles I finally found where I have first heard such a thing :^) In Professional Struts Applications (Carnel, Linwood, Zawadzki - Apress, 2003) the authors

RE: Help tomcat problem with memory

2004-02-27 Thread Trenton D. Adams
The 145 is the entire JVM memory usage. It just shows up on every thread as 145M. It's not actually using that much per thread. Again... ps awxu --forest | grep java will show all the threads, along with their parent. You might notice that the parent and children all show the same values.

Context to path

2004-02-27 Thread Sjoerd van Leent
Every web-app is in a context. Every context is in a path on the system. The question is, how can I translate a context to a system path. For example a context is in the following path: E:\xxx\yyy\myContext The web-app is in: http://localhost:8080/myContext How can I translate

Re: Help tomcat problem with memory

2004-02-27 Thread software
Hi this the statemens that i posted in the catalina.sh file JAVA_HOME=/usr/java/j2sdk1.4.0 ; export JAVA_HOME CATALINA_HOME=/usr/local/tomcat1 ; export CATALINA_HOME JAVA_OPST=-server -Xms30m -Xmx40m -Dfile.encoding=ISO-8859-1 CATALINA_OPTS=-Xms30m -Xmx40m This the output of the top command and

Re: Context to path

2004-02-27 Thread Asim Alp
What I usually do is this: pageContext.getServletContext().getContext(/myContext).getRealPath(/ myfile.jsp))); Asim Alp Educational Networks 55 Broad Street, 10th Floor New York, NY 10004 www.educationalnetworks.net Tel: +1 (212) 269-0200 Fax: +1 (212) 269-1446 On Feb 27, 2004, at 1:00 PM,

RE: Context to path

2004-02-27 Thread Shapira, Yoav
Howdy, Every web-app is in a context. Every context is in a path on the system. The second assertion is false. A web application may be a packed WAR whose contents reside only in memory. If you want to break portability, you get use ServletContext#getRealPath(/) to get the docBase of your

round trip SSL question

2004-02-27 Thread John MccLain
What we want to do is have round trip, SSL encryption when our clients use our webapps AND not have the port number as part of the URL. There are 3 scenarios: 1) Our client is using IIS to serve their current webapps – some of these apps could be employing SSL. How do we insure that JSP’s

Re: Help tomcat problem with memory

2004-02-27 Thread Christopher Schultz
So, Hi this the statemens that i posted in the catalina.sh file JAVA_HOME=/usr/java/j2sdk1.4.0 ; export JAVA_HOME CATALINA_HOME=/usr/local/tomcat1 ; export CATALINA_HOME JAVA_OPST=-server -Xms30m -Xmx40m -Dfile.encoding=ISO-8859-1 CATALINA_OPTS=-Xms30m -Xmx40m Your app seems to be taking more

RE: Tomcat and commons logging

2004-02-27 Thread Yansheng Lin
Normally this can be solved by add log4j.jar to your classpath. Are you sure it's an exception, not a warning? -Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 5:52 AM To: [EMAIL PROTECTED] Subject: Tomcat and commons logging Can

RE: Problems running JSPs

2004-02-27 Thread Vijay Kandy
Theres no jar file associated with examples webapp but I put examples/WEB-INF/classes in classpath but that did not help - I still get the same stack trace. Any other suggestions please? Vijay Kandy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday,

Connecting apache httpd 2.0.48 to Tomcat 5

2004-02-27 Thread Julien Martin
Hello, Can anyone post their configuration files for connecting Apache Httpd with Tomcat 5 on a windows 2000 system? Thanks in advance, Julien Martin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Problems on starting Tomcat 5.0.16

2004-02-27 Thread Giorgio Franceschetti
I think that should be some silly error, but I cannot find the solution... I'm new to Linux and Tomcat. I'm using Linux Mandrake 9.2 and Tomcat 5.0.16. When I launch startup.sh, tomcat shows the env variables and nothing more happens. I looked into the .sh end found that I can launch even with

RE: Problems on starting Tomcat 5.0.16

2004-02-27 Thread Shapira, Yoav
Howdy, When I launch startup.sh, tomcat shows the env variables and nothing more happens. That's all that's supposed to show on the console. Keep a tail open on catalina.out (tail -f ../logs/catalina.out) to see other messages. Yoav Shapira This e-mail, including any attachments, is a

RE: Good practice for classloaders

2004-02-27 Thread Yansheng Lin
What's Utils and classpath? Can't you just call super.findClass(className)? Just a guess:). -Original Message- From: SH Solutions [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 2:16 AM To: [EMAIL PROTECTED] Subject: Good practice for classloaders Hi I am writing an

certificates and Keystores and SSL

2004-02-27 Thread HFaust
Does anybody have any suggestions on keystores and CA Certificates. I can get my certificates imported into a keystore, but when I attempt to hit the website, the certificate I see is an old one, not the new on. I have the entry in the server.xml set to the correct file. Henry R Faust EDI

Re: Help tomcat problem with memory

2004-02-27 Thread software
If i have only two java proccess of 141 MB and 55 MB why my memory is over 90% of the utilization and the application working slowly or not working, when the users try to get access using the webserver in this server. i can't understand this problem...thnaks Thanks a lot for you help Fabian

RE: Problems using Servlet with 4.1.29, Apache 2.0.40 and https

2004-02-27 Thread Yansheng Lin
http and https use different port. Most likely your Apache only listens to the http port. hope this helps:) -Yan -Original Message- From: Lutz Maibach [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 1:15 AM To: Tomcat Users List Subject: Problems using Servlet with 4.1.29,

RE: JSP forwarding outside of Context

2004-02-27 Thread Yansheng Lin
Will JNDI help you in any way? I don't have a solution for ya:), but thought this would be a very good counter-arguement against the idea that .war is the best deployment practise in Tomcat. -Yan -Original Message- From: Johansen, Roar [mailto:[EMAIL PROTECTED] Sent: Friday,

Web site error.

2004-02-27 Thread Parsons Technical Services
When I went to look for a link on documentation I ran into this: TC Main page http://jakarta.apache.org/tomcat/ Documentation for TC4 goes to http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html JK Documentation goes to http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html Good

RE: Good practice for classloaders

2004-02-27 Thread SH Solutions
Hi What's Utils and classpath? A utility class and a member String in my system. These work. Can't you just call super.findClass(className)? No. http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassLoader.html#findClass (java.lang.String) Finds the specified class. This method should be

Re: Problems on starting Tomcat 5.0.16

2004-02-27 Thread Giorgio Franceschetti
Thanks, with your tip I found the problem. Bye, Giorgio Shapira, Yoav wrote: Howdy, When I launch startup.sh, tomcat shows the env variables and nothing more happens. That's all that's supposed to show on the console. Keep a tail open on catalina.out (tail -f ../logs/catalina.out) to

RE: Help tomcat problem with memory

2004-02-27 Thread George Sexton
Why don't you find someone who understands memory usage for your operating system and have them explain the output of your commands to you. You have 700+MB being used as file cache. Your system is under no memory pressure. Your app is slow because 1) It's compiling JSPs, and this takes

RE: Tomcat and SSL: problem with expiration of VeriSign Global Server ID Intermediate Root

2004-02-27 Thread Yansheng Lin
Oh I see. You got a new one from them, installed for apache OK, but having trouble install it on Tomcat-StandAlone. Well, since you paid for it, you might as well ask them to see if they can give you any support:). Oh, I did a man keytool, it seems that you can import a certificate. What

Re: Help tomcat problem with memory

2004-02-27 Thread Christopher Schultz
Fabian, If i have only two java proccess of 141 MB and 55 MB why my memory is over 90% of the utilization and the application working slowly or not working, when the users try to get access using the webserver in this server. i can't understand this problem...thnaks You have to understand

Re: Tomcat heap vs. java.exe

2004-02-27 Thread Asim Alp
Our sites have just went down for a couple of minutes. I solved the problem by restarting Tomcat. At the time of the crash, java.exe was about 345MB. I'm running tomcat with the -Xms128m -Xmx256m options. Our server has 1GB physical ram. On the Tomcat logs, it reads: 2004-02-27 16:58:55

Re: Tomcat heap vs. java.exe

2004-02-27 Thread rsequeira
OutOfMemory errors sometimes show up when the java vm runs low on memory. Since you have increased the heap size, could you take a thread dump to see if there are any CPU burning threads or any threads waiting on a resource? Thanks, RS

Re: Tomcat heap vs. java.exe

2004-02-27 Thread Asim Alp
How can I take a thread dump? Asim Alp Educational Networks 55 Broad Street, 10th Floor New York, NY 10004 www.educationalnetworks.net Tel: +1 (212) 269-0200 Fax: +1 (212) 269-1446 On Feb 27, 2004, at 5:16 PM, [EMAIL PROTECTED] wrote: OutOfMemory errors sometimes show up when the java vm runs low

Re: Tomcat heap vs. java.exe

2004-02-27 Thread rsequeira
kill -a process_id_of_Tomcat Thanks, RS Asim Alp

Re: Tomcat heap vs. java.exe

2004-02-27 Thread rsequeira
oops! kill -3 process_id_of_Tomcat RS [EMAIL PROTECTED] tric.com

Re: Tomcat heap vs. java.exe

2004-02-27 Thread Asim Alp
kill doesn't work on Windows. Besides, I can't afford to stop the server right now. Many of our customers are using currently using the websites. Any idea why JVM would run out of memory? I thought GC would clean up the memory at a certain ratio. Asim Alp Educational Networks 55 Broad

RE: Context to path

2004-02-27 Thread Sjoerd van Leent
Actually, I already did this before but lost the solution. I remember that I also used JNDI (or should I say, abuse JNDI) to get the actual context path. Making a standard taglib and factory method for this seems to be not to much of an effort. Thanks again for this quick response.

Re: Tomcat heap vs. java.exe

2004-02-27 Thread Jeff Tulley
http://jakarta.apache.org/tomcat/faq/memory.html has some descriptions as to what to do with an OutOfMemroyError You need to realize that the JVM needs to know what memory it can and cannot free, and if it thinks something is unfreeable, that is as good as a leak, since the garbage collector

starting tomcat with custom propertys

2004-02-27 Thread Ukiah Smith
I am using an application that requires me to run it with a custom property (-Djava.awt.headless=true). I poked around in my tomcat 4.1.29 installation and found that in the catalina.sh file there was an CATALINA_OPTS variable. I tried to set it at a few different places in the catalina.sh file.

Re: starting tomcat with custom propertys

2004-02-27 Thread Asim Alp
I think you have to set the JAVA_OPTS environmental variable. Asim On Feb 27, 2004, at 5:48 PM, Ukiah Smith wrote: I am using an application that requires me to run it with a custom property (-Djava.awt.headless=true). I poked around in my tomcat 4.1.29 installation and found that in the

Re: Tomcat heap vs. java.exe

2004-02-27 Thread rsequeira
If I were you, I'd load test your site first before going to production. As you pointed out, you cannot afford to stop your production server or hang it with OutOfMemory errors. You can get jvm dumps on windows by turning on the -verbosegc. This will dump out stack traces repeatedly without

Upgrading Tomcat from 4.1.x to 5.0.x

2004-02-27 Thread Rhino
I've been using Tomcat 4.124 and now Tomcat 4.1.29 with good results but I'm thinking it might be time to upgrade to Tomcat 5.0.x. Are there any cautions/warnings/problems or just differences that I should expect between the two? For instance, will my servlets need to change in any way to

RE: Limit size of catalina.out ?

2004-02-27 Thread Norris Shelton
I searched the internet for it, but could not get a clear definition for it. Does it ignore System.out and System.err from the context? --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Is there any particular reason why this was never set-up to rotate like the other logs? It's not a

Re: Tomcat heap vs. java.exe

2004-02-27 Thread Christopher Schultz
Asim, kill doesn't work on Windows. Besides, I can't afford to stop the server right now. Many of our customers are using currently using the websites. In order to get a thread-dump, you can do a CRTL-BREAK (not CTRL-C) on win32. Unfortunately, you have to already have started the JVM on a

RE: Problems using Servlet with 4.1.29, Apache 2.0.40 and https

2004-02-27 Thread Wendy Smoak
From: Lutz Maibach [mailto:[EMAIL PROTECTED] I'm trying to get a servlet called rreport running with the Software shown above. Everything is working well as long as I use the http-address When I add a new context in Tomcat, I have to add a section to ssl.conf (an Apache config file, not

Re: starting tomcat with custom propertys

2004-02-27 Thread Ukiah Smith
I just used JAVA_OPTS = -Djava.awt.headless=true as the first non commented line in catalina.sh. I also tried it in my init.d/tomcat41 directory. When it was in my catalina.sh file I got and error, JAVA_OPTS: command not found. What am I doing wrong? Where do I set JAVA_OPTS or CATALINA_OPTS?

Cross context c:import not working?

2004-02-27 Thread Aadi Deshpande
Hi, I'm not sure if this or the taglibs-user is the right place for posting this, but it looks to be a Tomcat error. When trying to use a c:import in the vein of : c:import url=/test.jsp context=/profile/ Hi, Not sure if this is the right place or taglibs-user for this issue ( it seems to be

RE: Limit size of catalina.out ?

2004-02-27 Thread Wendy Smoak
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] It's not a catalina Logger, it's just the trap for System.out/System.err. one good way to get it to rotate is to add swallowOutput=true to your Context definition. Of course, patches/enhancements are always welcome as well. Thanks for that, it

Re: starting tomcat with custom propertys

2004-02-27 Thread Oswald Campesato
Hello, Ukiah: To see what's failing in the script you can try this: set -x catalina.sh You can then type set +x to switch off the display of executed commands or just open another command shell Oswald Ukiah Smith [EMAIL PROTECTED] wrote: I just used JAVA_OPTS =

Re: Tomcat heap vs. java.exe

2004-02-27 Thread Christopher Schultz
Hello, If I were you, I'd load test your site first before going to production. As you pointed out, you cannot afford to stop your production server or hang it with OutOfMemory errors. This is good advice. Load testing is generally easy to do in development, and hard to recover from if you don't

  1   2   >