Re: How to get Tomcat to send proper charset?

2007-06-12 Thread Eva Allen
Allen,Eva oclc.org> writes: * snip * > > But even though that response header is explicitly set in the code, > somehow, somewhere it's changed again, because I've determined that the > content type response header looks like this: > > Content-Type: text/html;charset=ISO-8859-1 > Bad form to

How to get Tomcat to send proper charset?

2007-06-12 Thread Allen,Eva
We just recently switched our platform from tomcat 4.124 to Tomcat 5.5.23 and now languages Japanese, Chinese (traditional) and Chinese (simplified) are not displaying properly. Here's a little background. We use servlets to build HTML code to be output (please no comments on how bad an idea thi

RE: Using log4J and getting rid of default logs in Tomcat 6

2007-06-12 Thread Mark Claassen
Yep. And, as I said, it is working to some degree. I just want to get info from the other "canned" webapps in there. As well as have some certainty that I am getting what I am supposed to. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Tuesday,

Re: Using log4J and getting rid of default logs in Tomcat 6

2007-06-12 Thread Bill Barker
"Mark Claassen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Thanks for the reply. > > I did get some logging to work already, so I am assuming that I have it > configured correctly. I did the compile of the "extras" and log4j 1.2. > > By removing the logging.properties, I got

Re: hi,problem when shutdown tomcat!

2007-06-12 Thread Peter
hi all; I just found out that in linux under the /proc generate a fold 26337 does it the place which the information stores? any idea? thanks On 6/13/07, Peter <[EMAIL PROTECTED]> wrote: hi all; i try to use SIGQUIT but can not see the stack trace. [EMAIL PROTECTED] root]# ps -ef|grep tomcat r

RE: Using log4J and getting rid of default logs in Tomcat 6

2007-06-12 Thread Mark Claassen
Thanks for the reply. I did get some logging to work already, so I am assuming that I have it configured correctly. I did the compile of the "extras" and log4j 1.2. By removing the logging.properties, I got rid of the default logs, but I am not getting all the same output. I interpreted the d

Can not see the stack trace?

2007-06-12 Thread Peter
hi all; i try to use SIGQUIT but can not see the stack trace. [EMAIL PROTECTED] root]# ps -ef|grep tomcat root 26337 1 5 09:45 pts/000:00:11 /usr/java/jre1.5.0_08/bin/java -Xms256m -Xmx512m - Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager - Djava.util.logging.config

Re: hi,problem when shutdown tomcat!

2007-06-12 Thread Peter
hi all; i try to use SIGQUIT but can not see the stack trace. [EMAIL PROTECTED] root]# ps -ef|grep tomcat root 26337 1 5 09:45 pts/000:00:11 /usr/java/jre1.5.0_08/bin/java -Xms256m -Xmx512m - Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager - Djava.util.logging.config

Re: Using log4J and getting rid of default logs in Tomcat 6

2007-06-12 Thread Bill Barker
See the note at the top of http://tomcat.apache.org/tomcat-6.0-doc/logging.html. By default, TC 6 only uses Juli for it's internal logging. "Mark Claassen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > As it turns out, getting rid of the old logging.properties file I had > sol

Problem with XSL stylesheet not being applied when XML served through Tomcat

2007-06-12 Thread Garey
Here are two URLs http://library11.berkeley.edu/~gmills/binds_result.xml http://library11.berkeley.edu:8080/...inds_result.xml In Firefox 2, the first URL results in th

Re: maximum length of form parameter

2007-06-12 Thread Mark Thomas
kaustubh shinde wrote: > Thanks for the response Hassan, > I am already using POST. http://tomcat.apache.org/tomcat-6.0-doc/config/http.html You want maxPostSize Mark - To start a new topic, e-mail: users@tomcat.apache.org To u

Re: maximum length of form parameter

2007-06-12 Thread Hassan Schroeder
> When a certain parameter, say "genelists", has a huge number of genes OK, how big is "huge", and how are you trying to process this? And what *exactly* is the log message associated with "wouldn't work"? -- Hassan Schroeder [EMAIL PROTECTED] ---

Re: global/separate classloader for each web-app

2007-06-12 Thread David Delbecq
Hamster a écrit : > On 12/06/07, David Delbecq <[EMAIL PROTECTED]> wrote: >> What's the point? Saving 2 Megs of hard disk space and, at the same >> time, risk to break deployed apps that sudeently get additionnal libs >> that can conflit in version with vendor supplied one? > > Don't ask me! > It i

RE: maximum length of form parameter

2007-06-12 Thread Robert Harper
What if you were to assign some form of record ID that associated with a gene name so you could pass the ID's and not a descriptive name. This would reduce the number of characters in the stream. You might look at some other way to pass the information. You might be trying to bite off more than is

Re: maximum length of form parameter

2007-06-12 Thread kaustubh shinde
Thanks for the response Hassan, I am already using POST. Kaustubh On 6/12/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 6/12/07, kaustubh shinde <[EMAIL PROTECTED]> wrote: > I submit a form from a jsp to another. Some parameters of the form can get > really big. > When a certain paramete

Re: maximum length of form parameter

2007-06-12 Thread Hassan Schroeder
On 6/12/07, kaustubh shinde <[EMAIL PROTECTED]> wrote: I submit a form from a jsp to another. Some parameters of the form can get really big. When a certain parameter, say "genelists", has a huge number of genes, it wouldn't work. There isn't a consistent limit on URL length across different

Help with tomcat 5.0.28 loadbalancing

2007-06-12 Thread Dwayne A. Ghant
Almost got it loadbalancing almost wokring need minor help finishing off. Things have chang since I havn't did this in about 3 years. I keep getting error messages in my "mod_jk.log" file below every time apache initializes. The connector seems to acting strange!! Can someone please look over

maximum length of form parameter

2007-06-12 Thread kaustubh shinde
Hi, I have a problem I am not even sure if it's related to tomcat or not. I submit a form from a jsp to another. Some parameters of the form can get really big. When a certain parameter, say "genelists", has a huge number of genes, it wouldn't work. For smaller number it still works. so the que

Re: Invalid Content-Length error for the size greater than

2007-06-12 Thread Daniel Dang
Bill, I believe I am using mod_proxy_ajp connector because this is what I have on my httpd.conf: ProxyPass /axis ajp://192.168.11.10:8009/axis ProxyPassReverse /axis ajp://192.168.11.10:8009/axis The version of mod_proxy_ajp is Apache/2.2.3 Thanks On Tue, 2007-06-12 at 12:59 -0400, Christopher S

Re: Invalid Content-Length error for the size greater than

2007-06-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, Bill Barker wrote: > This would let us > see what mod_proxy_ajp is sending to Tomcat (which I very strongly suspect > is wrong). Tomcat should still accept any valid numeric Content-Length header, even if it exceeds Integer.MAX_VALUE. The Jav

Re: global/separate classloader for each web-app

2007-06-12 Thread Hamster
On 12/06/07, David Delbecq <[EMAIL PROTECTED]> wrote: What's the point? Saving 2 Megs of hard disk space and, at the same time, risk to break deployed apps that sudeently get additionnal libs that can conflit in version with vendor supplied one? Don't ask me! It is their request, they said some

Re: global/separate classloader for each web-app

2007-06-12 Thread David Delbecq
What's the point? Saving 2 Megs of hard disk space and, at the same time, risk to break deployed apps that sudeently get additionnal libs that can conflit in version with vendor supplied one? Hamster a écrit : > Hi, > In resin, there is a possibility to configure it with following: > > >

isapi redirector

2007-06-12 Thread Michael Angelo
I check my isapi.log file and it says “/jsp-examples/ is a servlet ULR and should redirect to ajp13….” but I continue to get the error page 404. I have tried everything and cannot get this connect to work with Tomcat 5.5. Very frustrated and lost!! Can anyone help? Mike.

RE: Tomcat 6 jsp compilation

2007-06-12 Thread Lakshmi Venkataraman
One of the things to do is to ensure that you have app specific web.xml placed in an appropriate location. This web.xml must have and defined for every precompiled jsp file as follows: ImageImport jsp.imageupload ImageImport /jsp/imageupload.jsp --Lakshmi ---

RE: Using log4J and getting rid of default logs in Tomcat 6

2007-06-12 Thread Mark Claassen
As it turns out, getting rid of the old logging.properties file I had solved the problem. However, how I am not sure I am getting all the information used to be. Looking at some other examples, this seems to be the list of loggers to define. Is this correct? log4j.rootLogger=INFO, ROOT log4j.lo

Tomcat 6 jsp compilation

2007-06-12 Thread Manca Davide
Hello, how can I say to Tomcat 6 to NOT compile jsp into .class files? This because we have more machines with a Tomcat 6 each one and they should read a read-only nfs file system in which we have precompiled .class files. Thank you. -

Using log4J and getting rid of default logs in Tomcat 6

2007-06-12 Thread Mark Claassen
I would like to have all my logging go through log4J and not have the default XXX.date.log files created. Is there a way to do this? I got log4j working, as it says in the docs, but the localhost.date.log is still created and written to. From what I understand, I will need to put a log4j.propert

Re: global/separate classloader for each web-app

2007-06-12 Thread Hamster
On 12/06/07, Jon Wingfield <[EMAIL PROTECTED]> wrote: You can supply a custom loader for a webapp to do this sort of thing: http://tomcat.apache.org/tomcat-5.5-doc/config/loader.html Each webapp would require a context.xml to enable the custom loader. Thank you Jon for this tip, so according to

Re: global/separate classloader for each web-app

2007-06-12 Thread Jon Wingfield
You can supply a custom loader for a webapp to do this sort of thing: http://tomcat.apache.org/tomcat-5.5-doc/config/loader.html Each webapp would require a context.xml to enable the custom loader. Regards, Jon Hamster wrote: Hi, In resin, there is a possibility to configure it with following:

global/separate classloader for each web-app

2007-06-12 Thread Hamster
Hi, In resin, there is a possibility to configure it with following: When above configuration is used then each jar placed in ext-webapp directory is loaded for each web-app X1, X2, ... just like it would be placed in X1/WEB-INF/lib, X2/WEB-INF/lib, ... Our custome

Re: hi,problem when shutdown tomcat!

2007-06-12 Thread Jon Wingfield
Good question. I don't know. The last time I used JBuilder was way back in 2000. The Borland site suggests an OptimizeIt profiler is present in JBuilder for the Developer and Enterprise editions: http://info.borland.com/techpubs/jbuilder/ Jon Peter wrote: thank you for ideas i current using

RE: .htaccess + Tomcat

2007-06-12 Thread Caldarale, Charles R
> From: reym [mailto:[EMAIL PROTECTED] > Subject: Re: .htaccess + Tomcat > > So do i define the redirect attrbute in the SSL part or in > the non-SSL part of the server.xml document? Please advise. Read the doc for redirectPort at: http://tomcat.apache.org/tomcat-5.5-doc/config/http.html "If t

RE: ClassCastException..probably a classpath pb

2007-06-12 Thread Caldarale, Charles R
> From: lmk [mailto:[EMAIL PROTECTED] > Subject: Re: ClassCastException..probably a classpath pb > > Im using tomcat 5.5. You most likely need to put your specialized jars in common/lib rather than server/lib. Those in server/lib are not accessible to webapps. - Chuck THIS COMMUNICATION MAY

Re: hi,problem when shutdown tomcat!

2007-06-12 Thread Peter
thank you for ideas i current using JBuider2006, what profiler can used in JBuider2006? thanks peter On 6/12/07, Jon Wingfield <[EMAIL PROTECTED]> wrote: Chuck answered a similar query recently: http://marc.info/?l=tomcat-user&m=118113828210257&w=2 Your servlets are serving long-running requ

RE: jk_mod 'Service Temporarily Unavailable'

2007-06-12 Thread Raghupathy, Gurumoorthy
Welcome one thing I always suggest is look at the logs it says cannot connect you can set the log level to debug and also see more information using ip address is the worst way to configure systems -Original Message- From: Dean Pullen [mailto:[EMAIL PROTECTED]

Re: swallowOutput attribute in tomcat 6

2007-06-12 Thread Mark Thomas
Prabhu wrote: > Do we have this attribute in tomcat 6. I was using tomcat 5 earlier and > had this entry. > Yes but in slightly different manner. See http://tomcat.apache.org/tomcat-6.0-doc/config/context.html Mark - To start

RE: jk_mod 'Service Temporarily Unavailable'

2007-06-12 Thread Dean Pullen
I've found out the problem - took a long google session though. Seems to be due to me putting my ip in the workers file instead of a dns name. I used localhost and it worked fine... Thanks a lot for your help Gurumoorthy -Original Message- From: Raghupathy, Gurumoorthy [mailto:[EMAIL PROT

RE: jk_mod 'Service Temporarily Unavailable'

2007-06-12 Thread Dean Pullen
It might be useful to include the jk_mod.log... [Tue Jun 12 13:17:14 2007][5928:3532] [info] mod_jk.c (2743): mod_jk/1.2.23 initialized [Tue Jun 12 13:17:15 2007][5928:3532] [info] mod_jk.c (2743): mod_jk/1.2.23 initialized [Tue Jun 12 13:17:15 2007][2604:3204] [info] mod_jk.c (2743): mod_jk/1.

RE: jk_mod 'Service Temporarily Unavailable'

2007-06-12 Thread Dean Pullen
Well it's literally what is in that example...but am doing so anyway... -Original Message- From: Raghupathy, Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: 12 June 2007 13:10 To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: RE: jk_mod 'Service Temporarily Unavailable' Send me your mod_j

RE: jk_mod 'Service Temporarily Unavailable'

2007-06-12 Thread Raghupathy, Gurumoorthy
Send me your mod_jk.conf and workers.properties and mod_jk.log to my personal emailed I have cced her with -Original Message- From: Dean Pullen [mailto:[EMAIL PROTECTED] Sent: 12 June 2007 12:55 To: Tomcat Users List Subject: RE: jk_mod 'Service Temporarily Unavailable' I'm afraid t

RE: jk_mod 'Service Temporarily Unavailable'

2007-06-12 Thread Dean Pullen
I'm afraid that didn't do the trick. I was hoping it would be as simple as that though! -Original Message- From: Raghupathy, Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: 12 June 2007 12:51 To: Tomcat Users List Subject: RE: jk_mod 'Service Temporarily Unavailable' Shutdown jboss Shutdown

RE: jk_mod 'Service Temporarily Unavailable'

2007-06-12 Thread Raghupathy, Gurumoorthy
Shutdown jboss Shutdown apache Start jboss ( wait till it starts fully ) Start apache Let me know how it goes -Original Message- From: Dean Pullen [mailto:[EMAIL PROTECTED] Sent: 12 June 2007 12:44 To: users@tomcat.apache.org Subject: jk_mod 'Service Temporarily Unavailable'

jk_mod 'Service Temporarily Unavailable'

2007-06-12 Thread Dean Pullen
Hi, I've followed the mod_jk instructions perfectly from the Jboss wiki here: http://www.jboss.org/wiki/Wiki.jsp?page=3DUsingMod_jk1.2WithJBoss Yet when I go to localhost/jmx-console I get 'Service Temporarily Unavailable' Going to Jboss directly (localhost:8080/jmx-console) provides t

Re: .htaccess + Tomcat

2007-06-12 Thread reym
Thanks for the response. Yes, the redirectPort attribute needs to match the port for the SSL Connector (in your case, 443). And it's a good thing, since IE has issues on 4.1.x when you try and use a non-default port for the SSL Connector. So do i define the redirect attrbute in the SSL part

Re: hi,problem when shutdown tomcat!

2007-06-12 Thread Jon Wingfield
Chuck answered a similar query recently: http://marc.info/?l=tomcat-user&m=118113828210257&w=2 Your servlets are serving long-running requests (or are in infinite loops, dead-locked etc) when you are trying to shutdown tomcat. The first thing I'd do in this situation is SIGQUIT tomcat to get a

hi,problem when shutdown tomcat!

2007-06-12 Thread Peter
hi all; when i shutdown tomcat, i found following message in the catalina.out; 2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper unload * Waiting for 6 instance(s) to be deallocated* 2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper unload *Waiting for 6 instance(s) to be dea

swallowOutput attribute in tomcat 6

2007-06-12 Thread Prabhu
Do we have this attribute in tomcat 6. I was using tomcat 5 earlier and had this entry. Now after upgrading to tomcat 6, this option doesn't seem to work. Also the url http://tomcat.apache.org/tomcat-6.0-doc/config/defaultcontext.html is non-existent! Kindly send your reply to [EMAIL PR

Re: [OT] RE: Embed license to tomcat

2007-06-12 Thread Li
Hi Peter, Thanks for your reply. I did few hack, the major problem is I need instantiate classloader, but WebappClassLoader is not instantiated by itself, it always failed so far. Do you know any recommendable resource so that I can read up? On 6/12/07, Peter Crowther <[EMAIL PROTECTED]> wrote

RE: [OT] RE: Embed license to tomcat

2007-06-12 Thread Peter Crowther
> From: Li [mailto:[EMAIL PROTECTED] > Path 1. Make an independent classloader which extends URLClassLoader > Path 2. Modify WebappClassLoader > Path 3. As the classloading doc mentioned, configure > customized loader which > is located in shared folder > > I had tried Path 3 and it never gets m

Re: [OT] RE: Embed license to tomcat

2007-06-12 Thread Li
Hi all, Thanks for you guys last time regarding my boss 'funky' idea for software protection. Since I am still his employee and a responsible developer, I am still planning to finish up this task. Now i am at in the forest which got a bit lost. Let me clarify again what I am going to achieve: 1.

Re: ClassCastException..probably a classpath pb

2007-06-12 Thread lmk
Im using tomcat 5.5. message sent to axis users.. http://www.nabble.com/ClassCastException..probably-a-classpath-pb-tf3906084.html here best regards! mgainty wrote: > > Please post this question to axis users group > [EMAIL PROTECTED] > > Bon Chance/ > Martin-- > This email message and