Re: Performance problem with Tomcat?

2007-02-15 Thread Zack Grafton
Michal, This is the link to precompiling your JSP files. http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html You might need to live with it while you're developing the application, but when you are ready to put it in to production, it might be wise to precompiling the JSP files. Zack

Re: Performance problem with Tomcat?

2007-02-15 Thread Michal Glowacki
That is right, only for the first time, even 10-12 secs, but later maximum 2. Thanks for all help, Michal - Original Message - From: "Zack Grafton" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, February 15, 2007 5:43 PM Subject: Re: Performance problem with Tomcat? M

Re: [OT] A Howto for Tomcat 6.0.9, mod_jk, apache 2.2 load balancing + session replication

2007-02-15 Thread Babu Satasiya
Hi, Thanks, Do you think application needs to take care of new session replication or not, if not then try cart in example and you will find error message, You need to do some serialization of objects unless its not possible. Regarding multicast address setup on that cluster option, do we need

Re: [OT] A Howto for Tomcat 6.0.9, mod_jk, apache 2.2 load balancing + session replication

2007-02-15 Thread Sriram Narayanan
On 2/14/07, Babu Satasiya <[EMAIL PROTECTED]> wrote: Hi, Please update about cluster option in server.xml, without that how does it work. If you can post all the steps will help others, otherwise it may even confuse to others. I just looked over my previous post, and I see the following stat

Re: Performance tuning parameters

2007-02-15 Thread j r
The focus should be on the tomcat tweaking. We get errors in the tomcat error logs that say tomcat has reached its connection limits. I never said that it was serving slow. It hits connection limits which means that the app will not serve any more traffic until connections clear. If a box defi

HOW TO turn on client Certificate with pop "choose a digital certificate" window

2007-02-15 Thread Zhan, Jimmy
Hi, I have set up HTTPS for tomcat without client certificate, and it is running good. Now I want to turn on the client certificate. How can to config the tomcat, let pop a "Choose a digital certificate" window, allow clients pick Choose a digital certificate, If failed , pop

Re: Performance tuning parameters

2007-02-15 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear J' What do you mean you are hitting connection limits?! Are you getting errors? What are you seeing that makes you think that is slow? Is there a database involved in this application? I assume you are running linux on your server, with a 2.

RE: help configuring tomcat to debug my application

2007-02-15 Thread Marini, Joseph
Got it to work, had some other definitions before that where causing some issues thank you Joseph J Marini Software Consultant Engineer Telcordia Technologies Manchester, NH -Original Message- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 4:29 PM To: 'Tomc

Re: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread Daniel Gresh
Daniel Gresh wrote: APliszka-Public wrote: Google for "compilerSourceVM", and you should find examples of enabling 1.5. Andrew Pliszka - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PR

RE: help configuring tomcat to debug my application

2007-02-15 Thread Tim Lucia
On the Java tab, I have: -Xdebug -Xrunjdwp:transport=dt_socket,address=9876,server=y,suspend=n I then set eclipse to launch a remote application attach. It works flawlessly. Be sure to put one option per line as that is what delineates the arguments. WinXP, Eclipse 3.0/3.1. HTH, Tim > -

Re: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread Daniel Gresh
APliszka-Public wrote: Google for "compilerSourceVM", and you should find examples of enabling 1.5. Andrew Pliszka - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

RE: help configuring tomcat to debug my application

2007-02-15 Thread Marini, Joseph
That is the service rapper gui I refer to. I have tried To add them to the java tab java options did not work. Joseph J Marini Software Consultant Engineer Telcordia Technologies Manchester, NH -Original Message- From: Nelson, Tracy M. [mailto:[EMAIL PROTECTED] Sent: Thursday, Februa

RE: help configuring tomcat to debug my application

2007-02-15 Thread Nelson, Tracy M.
| From: Marini, Joseph [mailto:[EMAIL PROTECTED] | Sent: Thursday, 15 February, 2007 13:07 | | I have installed tomcat 5.5.20 on an XP system. It has installed as a | service. | | I am trying to configure tomcat so I can remote debug my app via IDEA. In your Tomcat bin directory there should be

RE: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread Propes, Barry L [GCG-NAOT]
might require updated jar files for the servlets and jsps? -Original Message- From: Daniel Gresh [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 1:34 PM To: Tomcat Users List Subject: Tomcat 5.5.9 on Sun Solaris: JSP compilation error Hi list, Recently I upgraded Tomcat from

Re: Performance tuning parameters

2007-02-15 Thread j r
The reason it is hitting its limits is easy: traffic. We easily get enough website traffic to overflow the connection limits unless I have many boxes available to serve. I know these can be configured to handle more connections. I know that we should be able to do this in the tomcat server. Th

RE: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread Larry Isaacs
Take a look at the jasper-howto.html in the tomcat-docs webapp (the "JSPs" link in the tomcat-docs home page). It describes how to "turn off" the Eclipse JDT compiler, which is old enough in Tomcat 5.5.9 that it doesn't include Java 5.0 support. You could also try a newer version of Tomcat 5.5.x an

Re: Performance tuning parameters

2007-02-15 Thread Leon Rosenberg
First you should investigate why tomcat is hitting its limits. Why do you think it does? Which resource is the limit? Do you have/use any monitoring software? moskito? lambdaprobe? tomcat-manager? regards Leon On 2/15/07, j r <[EMAIL PROTECTED]> wrote: I have searched for exact documentation on

Re: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread APliszka-Public
Google for "compilerSourceVM", and you should find examples of enabling 1.5. Andrew Pliszka Daniel Gresh wrote: APliszka-Public wrote: Try using code that is not 1.5 specific [like for(String x: s)] if it is going to work then your pages are compiled as Java 1.4 source code, you will have c

Performance tuning parameters

2007-02-15 Thread j r
I have searched for exact documentation on this, and I always find conflicting info. Therefore I am reaching out to this list. I have the following info and questions: - we are running tomcat 5.5.20 - we have the following configs in server.xml:

Re: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread Daniel Gresh
APliszka-Public wrote: Try using code that is not 1.5 specific [like for(String x: s)] if it is going to work then your pages are compiled as Java 1.4 source code, you will have change tomcat config to so jsp compiler is compailing Java 1.5 source. Andrew Pliszka Daniel Gresh wrote: Hi lis

Re: Tomcat mysteriously shuts down

2007-02-15 Thread delbd
raine king a écrit : > Hmm this may actually be working--I changed the port and so far it > hasn't shutdown--I'll leave it over the weekend and see what happens... > > How do I check if another app is sending Tomcat messages? Does tomcat > log somewhere who it got SHUTDOWN commands from? > Unfortu

Re: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread APliszka-Public
Try using code that is not 1.5 specific [like for(String x: s)] if it is going to work then your pages are compiled as Java 1.4 source code, you will have change tomcat config to so jsp compiler is compailing Java 1.5 source. Andrew Pliszka Daniel Gresh wrote: Hi list, Recently I upgraded

Re: tomcat /shared/lib jars

2007-02-15 Thread delbd
David Kerber a écrit : > delbd wrote: > >> Caldarale, Charles R a écrit : >> >> From: sudip shrestha [mailto:[EMAIL PROTECTED] Subject: Re: tomcat /shared/lib jars once again the version is: 5.5.20. >>> Interesting use of the clause "once again", since you haven't

Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread Daniel Gresh
Hi list, Recently I upgraded Tomcat from 4.0.5 to 5.5.9, due to some unusual problems I was experiencing with Tomcat 4.0.5. I was getting some Java compilation errors when I used JDK1.5 features, and neither I nor the two who replied to my message could figure out why. Upgrading was suggested

Re: tomcat /shared/lib jars

2007-02-15 Thread David Kerber
delbd wrote: Caldarale, Charles R a écrit : From: sudip shrestha [mailto:[EMAIL PROTECTED] Subject: Re: tomcat /shared/lib jars once again the version is: 5.5.20. Interesting use of the clause "once again", since you haven't provided that bit of information before in this threa

Re: tomcat /shared/lib jars

2007-02-15 Thread delbd
Caldarale, Charles R a écrit : >> From: sudip shrestha [mailto:[EMAIL PROTECTED] >> Subject: Re: tomcat /shared/lib jars >> >> once again the version is: 5.5.20. >> > > Interesting use of the clause "once again", since you haven't provided > that bit of information before in this thread. >

help configuring tomcat to debug my application

2007-02-15 Thread Marini, Joseph
I have installed tomcat 5.5.20 on an XP system. It has installed as a service. I am trying to configure tomcat so I can remote debug my app via IDEA. I have obtained the following information via the web which does explain how to Configure tomcat so I can remote attach to a port and debug

startup error

2007-02-15 Thread Propes, Barry L [GCG-NAOT]
Hi folks, I was trying to get DBCP working and tried adding the Resource param info per the TC 4.1 documentation: factory org.apache.commons.dbcp.BasicDataSourceFactory driverClassName oracle.jdbc.OracleDriver url jdbc:oracle:thin:@169.xxx.xx.xxx:1521:SID username usernameval pas

Re: Weird Exception thrown on startup (how to resolve?)

2007-02-15 Thread Markus Schönhaber
Lisa wrote: > What is throwing the following Exception? How to fix? > > --- > INFO: Filter 'sessionFilter' configured successfully > Feb 15, 2007 10:15:18 AM org.apache.catalina.session.StandardManager doLoad > SEVERE: IOException while loading persisted sessions: java.io.EOFException To me, thi

RE: Jsp gest 404 error

2007-02-15 Thread Coelho.Joao
Good point about case. I will check once again. Thanks all for the trouble. I will let you all know what transpires. Probably a bonehead mistake. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 9:29 AM To: Tomcat Users List Su

RE: Weird Exception thrown on startup (how to resolve?)

2007-02-15 Thread Propes, Barry L [GCG-NAOT]
looks like the Persistent Manager Sessions area got uncommented, and maybe shouldn't have been? Or has something wrong within the reference? -Original Message- From: Lisa [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 11:19 AM To: users@tomcat.apache.org Subject: Weird Except

RE: Jsp gest 404 error

2007-02-15 Thread Coelho.Joao
Sort of kidding, I thought you were serious about a manual named "Fine". But I had looked at the log files and had not found anything. Started now looking at the documentation on setting up the logs, hopefully I will get more information about my problem and at the same time learn something new. T

RE: Jsp gest 404 error

2007-02-15 Thread Caldarale, Charles R
> From: Coelho.Joao [mailto:[EMAIL PROTECTED] > Subject: RE: Jsp gest 404 error > > The only difference is that unders windows it works but > not under slackware. Besides the potential permissions issue someone already mentioned, you may have a use of incorrect case somewhere. The Windows file

RE: Jsp gest 404 error

2007-02-15 Thread Caldarale, Charles R
> From: Zack Grafton [mailto:[EMAIL PROTECTED] > Subject: Re: Jsp gest 404 error > > Every web application requires a WEB-INF/web.xml file. If that file > isn't there, Tomcat won't treat the directory you created as a web > application. Not true. Tomcat (at least the current versions) will d

Re: Jsp gest 404 error

2007-02-15 Thread Hassan Schroeder
On 2/15/07, Coelho.Joao <[EMAIL PROTECTED]> wrote: What Fine manual ? ?! You're joking, right? If not, speaking to your immediate question, that'd be Or use the local copy included in your standard Tomcat installation as $CATALINA_HO

Weird Exception thrown on startup (how to resolve?)

2007-02-15 Thread Lisa
What is throwing the following Exception? How to fix? --- INFO: Filter 'sessionFilter' configured successfully Feb 15, 2007 10:15:18 AM org.apache.catalina.session.StandardManager doLoad SEVERE: IOException while loading persisted sessions: java.io.EOFException java.io.EOFException at ja

RE: tomcat /shared/lib jars

2007-02-15 Thread Caldarale, Charles R
> From: sudip shrestha [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat /shared/lib jars > > once again the version is: 5.5.20. Interesting use of the clause "once again", since you haven't provided that bit of information before in this thread. > the only errors I get are missing jar files type

RE: Jsp gest 404 error

2007-02-15 Thread Coelho.Joao
What Fine manual ? -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 8:56 AM To: Tomcat Users List Subject: Re: Jsp gest 404 error On 2/15/07, Coelho.Joao <[EMAIL PROTECTED]> wrote: > Is there a way to get some logs going? Absolutely

Re: Jsp gest 404 error

2007-02-15 Thread Hassan Schroeder
On 2/15/07, Coelho.Joao <[EMAIL PROTECTED]> wrote: Is there a way to get some logs going? Absolutely, and it's covered in the Fine Manual :-) Might be a good next stop... FWIW, -- Hassan Schroeder [EMAIL PROTECTED] ---

RE: Jsp gest 404 error

2007-02-15 Thread Coelho.Joao
You know you may be onto something. I don't have my laptop with me today at work, but I will check. Thanks much. I will let you know what happens. joao -Original Message- From: Zack Grafton [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 8:46 AM To: Tomcat Users List Subject

getting absolute path to web application and making syntetic ServletRequest & ServletResponse

2007-02-15 Thread sed
Hi, Is it possible to get path to web-application of the servlet in servlet's init method? The path should be in form http://[host]:8080/[context]/. When I invoke context.getResource("/"), I have "jndi:/localhost/mat/", but I need "http://localhost:8080/mat/";. In fact I need make http request f

Re: Jsp gest 404 error

2007-02-15 Thread Zack Grafton
Joao, There should be logs under the logs directory. It should be at the same level in the filesystem as your webapps directory. Have you checked the file permissions? Zack Coelho.Joao wrote: Thanks Zack. I do have the web.xml file in the WEB-INF directory. I am not sure what the heck is

Re: Performance problem with Tomcat?

2007-02-15 Thread Zack Grafton
Michal, Your JSP files will be compiled regardless the first time they are accessed. If you try refreshing the page, or loading it in a different browser, you might notice a speed up. You can also precompile your JSP files and that should also speed up the first access. Please let us know

RE: multiple versions of TC

2007-02-15 Thread Propes, Barry L [GCG-NAOT]
I've noticed now that occasionally the users and I will get a page not found error. It's almost as if one version of tomcat is trying to be accessed while another one's running, even though I'm not running both at the same time. Maybe I need to go individually look for a process and kill it? -

Re: tomcat /shared/lib jars

2007-02-15 Thread David Delbecq
Stack trace please... En l'instant précis du 02/15/07 17:15, sudip shrestha s'exprimait en ces termes: > once again the version is: 5.5.20. > the only errors I get are missing jar files type of errors. > > On 2/15/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: >> >> > From: sudip shrestha [ma

Re: Cannot save file to Apache Tomcat server

2007-02-15 Thread Zack Grafton
Hello Your problem might stem from two issues that I can see. One, in ServletIdea.java you're output stream is trying to open C://. I'm no expert, but you might want to try a single forward slash. Java should convert the single forward slashes to single backslashes for you. The other issu

RE: Jsp gest 404 error

2007-02-15 Thread Coelho.Joao
Thanks Zack. I do have the web.xml file in the WEB-INF directory. I am not sure what the heck is going on, becausee what happens is that the same tomcat version is being used in windowsxp and linux slackware, and I am using the same sample application. The only difference is that unders windows i

Re: Jsp gest 404 error

2007-02-15 Thread Zack Grafton
Hello Again, Every web application requires a WEB-INF/web.xml file. If that file isn't there, Tomcat won't treat the directory you created as a web application. As long as you have WEB-INF/web.xml file, you can place the JSP files in subdirectories and Tomcat will find them. Hope that hel

RE: How to install tomcat 4.1.34 as a service ?

2007-02-15 Thread PATTUS, Jean-Philippe
I've had a similar problem. First Try to do this, you have to indicate the detailed path for the parameters -params stop -out "C:/Temp/stdout.log" -err "C:/Temp/stderr.log". Second Point : You ahve to check the existence of these paths. If they don't exist, create them. -Message d'origi

Re: Tomcat mysteriously shuts down

2007-02-15 Thread Hassan Schroeder
On 2/15/07, raine king <[EMAIL PROTECTED]> wrote: How do I check if another app is sending Tomcat messages? You could try the --log option in iptables. Or write a simple listener daemon to log the event if that doesn't provide enough data. FWIW, -- Hassan Schroeder [E

Re: tomcat /shared/lib jars

2007-02-15 Thread sudip shrestha
once again the version is: 5.5.20. the only errors I get are missing jar files type of errors. On 2/15/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: sudip shrestha [mailto:[EMAIL PROTECTED] > Subject: tomcat /shared/lib jars > > I have gone thru' docs and the mailing list, still c

RE: tomcat /shared/lib jars

2007-02-15 Thread Caldarale, Charles R
> From: sudip shrestha [mailto:[EMAIL PROTECTED] > Subject: tomcat /shared/lib jars > > I have gone thru' docs and the mailing list, still can't seem > to find how to make tomcat recognize /shared/lib/ jars. Any > suggestions? Provide some real information: Tomcat version, exact error you're g

Fwd: tomcat /shared/lib jars

2007-02-15 Thread sudip shrestha
using tomcat 5.5.20: -- Forwarded message -- From: sudip shrestha <[EMAIL PROTECTED]> Date: Feb 15, 2007 9:35 AM Subject: tomcat /shared/lib jars To: users@tomcat.apache.org Hi, I have gone thru' docs and the mailing list, still can't seem to find how to make tomcat recognize /sh

tomcat /shared/lib jars

2007-02-15 Thread sudip shrestha
Hi, I have gone thru' docs and the mailing list, still can't seem to find how to make tomcat recognize /shared/lib/ jars. Any suggestions? Thanks.

RE: using JNDI to share object reference between two apps

2007-02-15 Thread Caldarale, Charles R
> From: David Delbecq [mailto:[EMAIL PROTECTED] > Subject: Re: using JNDI to share object reference between two apps > > My experience have shown that, if you only use interfaces and the > interfaces are in the same class loader, the actual classes > do no matter. Definitely true, because the c

Re: using JNDI to share object reference between two apps

2007-02-15 Thread Angel Todorov
Hi, Yes only the interfaces should share the common classloader, What i meant is that the implementation can come from any service provider impl. Best, Angel On 2/15/07, David Delbecq <[EMAIL PROTECTED]> wrote: En l'instant précis du 02/15/07 15:39, Caldarale, Charles R s'exprimait en ces term

Re: using JNDI to share object reference between two apps

2007-02-15 Thread David Delbecq
En l'instant précis du 02/15/07 15:39, Caldarale, Charles R s'exprimait en ces termes: >> From: Angel Todorov [mailto:[EMAIL PROTECTED] >> Subject: Re: using JNDI to share object reference between two apps >> >> Does tomcat perform explicit serialization of everything, even if JNDI >> is used loca

RE: using JNDI to share object reference between two apps

2007-02-15 Thread Caldarale, Charles R
> From: Angel Todorov [mailto:[EMAIL PROTECTED] > Subject: Re: using JNDI to share object reference between two apps > > Does tomcat perform explicit serialization of everything, even if JNDI > is used locally on the same JVM ? This has nothing to do with serialization; no serialization is occur

RE: Jsp gest 404 error

2007-02-15 Thread Coelho.Joao
What is strange is that the very same applications that did not work in Slackware 10.1 using tomcat 4.1 do work in windowsxp using tomcat 5.5 . I was trying to run examples from a book on JSP "The complete Reference" and I placed the sample code in slackware under the webapps directory, something

Re: Tomcat mysteriously shuts down

2007-02-15 Thread raine king
Hmm this may actually be working--I changed the port and so far it hasn't shutdown--I'll leave it over the weekend and see what happens... How do I check if another app is sending Tomcat messages? Does tomcat log somewhere who it got SHUTDOWN commands from? As for the second bit--I installed

Re: Cleanup of tempdir in tomcat

2007-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aparna, Aparna Pratap wrote: > I am using Tomcat 5.0.25. In my application images are getting stored > permenantly inside tempdir of Tomcat. This is happening when the request is > not processed completely. I want to clean the tempdir either with ever

Re: Tomcat mysteriously shuts down

2007-02-15 Thread David Delbecq
Normally, tomcat shutsdown is a localhost running application sends a shutdown command to the localhost server command port (8005). You can try to change this port, in case another app is doing this. (replace element in server.xml by for example. You can also try to change to change the shutdown

Re: ampersand (&) handling in jspx - any workaround?

2007-02-15 Thread David Smith
Pid wrote: > Stefan wrote: > >> Christopher Schultz schrieb: >> > Stefan, > > Stefan wrote: > > > Christopher Schultz schrieb: > > > > Compare this to XSLT. If you want a stylesheet to emit an '&', > don't you > > use &? And if you want to emit '&' you have to double i

Re: [OT] AW: Re: AW: RE: Re: AW: RE: Error instantiating servlet class

2007-02-15 Thread ravi kumar
thankyou Even i have these problem in my project.. These conservation help me to troubleshot the problem... Thanks a lot once again [EMAIL PROTECTED] wrote: > > Thanks. It is working now. > > Ursprüngliche Nachricht > Von: [EMAIL PROTECTED] > Datum: 12.02.2007 11:33 > An: "Tomc

Re: Tomcat mysteriously shuts down

2007-02-15 Thread Nadav Steindler
That's just it--there's nothing wierd in the catalina.out it just has: 1) The lines for starting up tomcat 2) The log messages for my servlet 3) The bit I showed you where the servlet shuts down when I stopped sending it messages for a few minutes There's no errors or anything in the log.

Re: Inicialization of an UnsignedByte variable

2007-02-15 Thread David Delbecq
En l'instant précis du 02/15/07 13:23, Alicia Sánchez-Mora s'exprimait en ces termes: > > > What happens here is that you cannot convert a string to long and this > cause tomcat to throw a NumberFormatException. No, tomcat does not throw a NumberFormatException, The library does it and you do not

Re: using JNDI to share object reference between two apps

2007-02-15 Thread Angel Todorov
Hi David, Does tomcat perform explicit serialization of everything, even if JNDI is used locally on the same JVM ? I wouldn't want to serialize anything. Sure the producer (bind) and the consumer (lookup) will use the same interface, but the producer doesn't have to care about the classes used "b

Re: using JNDI to share object reference between two apps

2007-02-15 Thread David Delbecq
En l'instant précis du 02/15/07 13:14, Angel Todorov s'exprimait en ces termes: > Hi all, > > I am new to tomcat's JNDI in general, and would like to achieve this > very simple task: I have two webapps webapp1.war and webapp2.war. I > would like to use a global JNDI context and bind an object refer

Re: Inicialization of an UnsignedByte variable

2007-02-15 Thread Alicia Sánchez-Mora
This is the contrctor: *UnsignedByte* (java.lang.String sValue) of course, if you do some research on this and I found that internally when you pass a string as parameter to the constru

Re: Tomcat mysteriously shuts down

2007-02-15 Thread Nadav Steindler
I don't know if that's it--the public doesn't have access to our network. From: albrecht andrzejewski <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: users@tomcat.apache.org Subject: Re: Tomcat mysteriously shuts down Date: Thu, 15 Feb 2007 12:09:33 +0100 There is a port used to shutdow

Re: Inicialization of an UnsignedByte variable

2007-02-15 Thread David Delbecq
En l'instant précis du 02/15/07 13:10, Alicia Sánchez-Mora s'exprimait en ces termes: > Hello again, > final UnsignedByte ptr = new UnsignedByte("this is a test") ; "this is a test" <-- How do you expect any implementation of anything to convert this string to a number

using JNDI to share object reference between two apps

2007-02-15 Thread Angel Todorov
Hi all, I am new to tomcat's JNDI in general, and would like to achieve this very simple task: I have two webapps webapp1.war and webapp2.war. I would like to use a global JNDI context and bind an object reference from some servlet in webapp1 , and then look this up from some servlet in webapp2.

Re: Performance problem with Tomcat?

2007-02-15 Thread David Delbecq
En l'instant précis du 02/15/07 13:02, Michal Glowacki s'exprimait en ces termes: > Thank you for your fast response! > >> Which version of EJB. Local EJB of remote EJB? With or without security? >> EJBs have the bad reputation to be slow, and cubersome to develop >> (probably improved in version 3

Re: Inicialization of an UnsignedByte variable

2007-02-15 Thread Alicia Sánchez-Mora
Hello again, ok, maybe I am not in the appropiate mailing list, but maybe you have a clue. I have exposed my problem in other mailing lists, the axis one, but I got no answer. I tried waht you propoused but nothing works. I explain here my problem in more detail and maybe you can help me. I have

Re: Performance problem with Tomcat?

2007-02-15 Thread Michal Glowacki
Thank you for your fast response! Which version of EJB. Local EJB of remote EJB? With or without security? EJBs have the bad reputation to be slow, and cubersome to develop (probably improved in version 3, this was an aim at sun) It's EJB 2.1 (JBoss 4). I'm using remote interfaces everywhere,

Re: Performance problem with Tomcat?

2007-02-15 Thread David Delbecq
En l'instant précis du 02/15/07 12:40, Michal Glowacki s'exprimait en ces termes: > Hi > > I'm quite new to Jboss/Tomcat, so please forgive me if my questions are > without sense... > > I have created a JSF application that uses EJB. It deploys successfully, but > the thing that concerns me is:

Performance problem with Tomcat?

2007-02-15 Thread Michal Glowacki
Hi I'm quite new to Jboss/Tomcat, so please forgive me if my questions are without sense... I have created a JSF application that uses EJB. It deploys successfully, but the thing that concerns me is: When I go to any page (locally, e.g. localhost:8080/Test/faces/Page1.jsp) I can see in jbo

Re: Tomcat restart and data session

2007-02-15 Thread Markus Schönhaber
David Rodríguez Fernández wrote: > Exists some way to to restart tomcat without loosing the session data? > Thanks At least current versions of Tomcat will automatically save session data on shutdown and re-load it on the follwing startup. This is done by serializing the session data. So yo

Re: Tomcat mysteriously shuts down

2007-02-15 Thread albrecht andrzejewski
There is a port used to shutdown the server... This kind line in server.xml: Perhaps someone is using this ? Quoting Nadav Steindler <[EMAIL PROTECTED]>: When my servlet isn't sent any requests for about 15 minutes, tomcat shuts down. In particular: 1) The Tomcat process no longer appears

Tomcat restart and data session

2007-02-15 Thread David Rodríguez Fernández
Hi, Exists some way to to restart tomcat without loosing the session data? Thanks -- La Información incluida en el presente correo electrónico es SECRETO PROFESIONAL Y CONFIDENCIAL, siendo para el uso exclusivo del destina

How to install tomcat 4.1.34 as a service ?

2007-02-15 Thread Sriram Saroop
I tried using the following script to install tomcat 4.1.34 as a service : set JAVA_OPTS=-Xmx128m -Xss1024k -Xms24m -Djava.class.path="%CATALINA_HOME%\bin\bootstrap.jar";"%CATALINA_HOME%\bin\servlet.jar";"%JAVA_HOME%\lib\tools.jar" -Dcatalina.home="%CATALINA_HOME%" set JAVA_OPTS=%JAVA_OPTS% -Di

Re: Tomcat mysteriously shuts down

2007-02-15 Thread Andre Prasetya
why dont you post the catalina.out entry before pausing coyote ? the one that you post is the regular log for shutting down tomcat On 2/15/07, Nadav Steindler <[EMAIL PROTECTED]> wrote: When my servlet isn't sent any requests for about 15 minutes, tomcat shuts down. In particular: 1) The Tomc

Tomcat mysteriously shuts down

2007-02-15 Thread Nadav Steindler
When my servlet isn't sent any requests for about 15 minutes, tomcat shuts down. In particular: 1) The Tomcat process no longer appears when I do "ps" 2) The catalina.out ends with: Feb 14, 2007 2:12:38 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-9007

Pragma, no-cache headers for SSL connections

2007-02-15 Thread Rutger Heijmerikx
Hi list members, I'm running a web application under Tomcat 5.5.17 using SSL. (No mod_jk) The issue i experience is that i want to remove the header elements: Pragma No-cache Cache-Control no-cache I've seen a post mentioning a configuration change at server.xml but it didn't solve my issue.

Cannot save file to Apache Tomcat server

2007-02-15 Thread Teh Noranis Mohd Aris
Dear all, I really hope that someone can help me out. I have an error-free applet and servlet. When I type http://localhost:8080/examples/servlet/ServletIdea, an applet is loaded. From the applet, I type the file name in a text field and the file content in a text area. I want the file con