my question: how to make tomcat6 and java1.6 more effect

2007-03-15 Thread James liu
i use windows。 -- regards jl

Re: Installing Tomcat as a Windows Service - JvmOptions & semicolons

2007-03-15 Thread Mladen Turk
Peter Lombardo wrote: I'm having a bit of trouble configuring the jvm options as I'm installing Tomcat as a Windows Service. I need to set: java.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3 Use the: ++JvmOptions "-Djava.library.path=C:\example\dir1';'C:\example\dir2';'C:\exam

Same session for one IP

2007-03-15 Thread kz
Hi, Is there any option in Tomcat which can assign a new session ID only if the IP address is changed and not a browser window? Actually right now a new session ID comes in request for every new browser window (even if the IP address is same). Is there any option to make Tomcat assign new session

Re: class file has wrong version 49.0, should be 48.0

2007-03-15 Thread Raghuveer
hi the problem resolved. Thanks to forums... > Hi Experts, > Ciuld anyn one help me what is meaning of this.. > When a jsp is called i am getting 500 error with this message > > > C:\Program Files\Apache Group\Tomcat > 4.1\work\Standalone\localhost\edrsystem\jsp > \EDR\EDRSel

RE: Differences When Starting Tomcat (5.5) as a Windows Service vs UserPgm?

2007-03-15 Thread Caldarale, Charles R
> From: Rick Strong [mailto:[EMAIL PROTECTED] > Subject: Differences When Starting Tomcat (5.5) as a Windows > Service vs UserPgm? > > Does the default directory change when running as > a service? Yes, but you can set the current directory to whatever you want using tomcat5w.exe under the Sta

Differences When Starting Tomcat (5.5) as a Windows Service vs User Pgm?

2007-03-15 Thread Rick Strong
Greetings, I have a servlet running happily in Tomcat 5.5 on a Windows 2003 Server when Tomcat is started as a user program. However, when I start it as a Windows service it seems to miss values from a properties file I keep in Tomcat/bin, and the servlet dies the death of a thousand NullPoin

Re: OutOfMemoryError

2007-03-15 Thread Kevan Miller
Rahul, There's an inverse relationship between your maximum heap size and the number of threads that can be allocated within your process. Your OS (and Java) will allocate memory for each Thread you create. By increasing your max heap, you're actually reducing the amount of memory availab

Re: Installing Tomcat as a Windows Service - JvmOptions & semicolons

2007-03-15 Thread Peter Lombardo
Although those packages look impressive and seem very helpful - introducing new software into a live managed hosting environment to solve a semicolon issue is hard to justify. I'll look into those some more for the future, but for the time being it's not an option. ;-). I've found that if I man

RE: class file has wrong version 49.0, should be 48.0

2007-03-15 Thread Raghuveer
Yes, I am using 1.4.2.13 JDK installed from j2re-1_4_2_13-windows-i586-p.exe and tomcat version is Apache Tomcat/4.1.31 (http://tomcat.apache.org/download-41.cgi) -- C:\Documents and Settings\FSCA569>java -version java version "1.4.2_13" Java(TM) 2 Runtime Environ

RE: class file has wrong version 49.0, should be 48.0

2007-03-15 Thread Caldarale, Charles R
> From: Raghuveer [mailto:[EMAIL PROTECTED] > Subject: class file has wrong version 49.0, should be 48.0 > > Ciuld anyn one help me what is meaning of this.. A little Googling or search of the archives would show that your're trying to use a .class file compiled with JDK 1.5 on a 1.4 JVM. Your

Re: Installing Tomcat as a Windows Service - JvmOptions & semicolons

2007-03-15 Thread Filip Hanik - Dev Lists
you are better off using Java Service Wrapper, from http://wrapper.tanukisoftware.org/doc/english/introduction.html I've created a Tomcat specific install that lets you do thread dumps to the service, you can find that one here http://people.apache.org/~fhanik/wrapper.html This lets you confi

class file has wrong version 49.0, should be 48.0

2007-03-15 Thread Raghuveer
Hi Experts, Ciuld anyn one help me what is meaning of this.. When a jsp is called i am getting 500 error with this message C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\edrsystem\jsp \EDR\EDRSelection_jsp.java:123: cannot access pwDashUtil.EDRUtil.EDRUtil

Re: Installing Tomcat as a Windows Service - JvmOptions & semicolons

2007-03-15 Thread Peter Lombardo
I have to install this from a script for the time being. I'm automating the process of adding and removing tomcat instances onto various servers. Peter On 3/15/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Peter Lombardo [mailto:[EMAIL PROTECTED] > Subject: Installing Tomcat as a

Re: org.apache.jasper.compiler.DefaultErrorHandler.javacError

2007-03-15 Thread Raghuveer
Hi David, Please find complete stacktrace, C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\edrsystem\jsp \EDR\EDRSelection_jsp.java:123: cannot access pwDashUtil.EDRUtil.EDRUtil bad class file: C:\Program Files\Apache Group\Tomcat 4.1\webapps\edrsystem\WEB-I NF\classes\pwDashUt

RE: Installing Tomcat as a Windows Service - JvmOptions & semicolons

2007-03-15 Thread Caldarale, Charles R
> From: Peter Lombardo [mailto:[EMAIL PROTECTED] > Subject: Installing Tomcat as a Windows Service - JvmOptions > & semicolons > > I need to set: > java.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3 Do you have to use the script, or can you do this with the GUI (tomcat5w.exe or t

Re: WebDAV with Tomcat 6

2007-03-15 Thread Mark Thomas
Konstantin Breu wrote: > Hello, > former versions of Tomcat had a WebDAV servlet/filter as example how to use > WebDAV with tomcat. It does not seem to be part of Tomcat 6. Why was it > removed? Was it moved to some other installation package/project? The servlet is still there but there is no lon

Re: apache-tomcat-6.0.10 OutOfMemoryError

2007-03-15 Thread acec acec
Hi, Prakash I just tested tomcat example jsp page, there is not any object to assign null. Thanks. Arden --- prakash shanmugam <[EMAIL PROTECTED]> wrote: > hi > i personally fell disabling the session in tomcat is > not the correct > solution to overcome the memory out of error. just > try to asig

Installing Tomcat as a Windows Service - JvmOptions & semicolons

2007-03-15 Thread Peter Lombardo
I'm having a bit of trouble configuring the jvm options as I'm installing Tomcat as a Windows Service. I need to set: java.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3 I pass this to the update service command (below) but the JvmOptions command line option is parsing the semicolo

RE: tomcat 5.5

2007-03-15 Thread Caldarale, Charles R
> From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat 5.5 > > I just came accross this too, in case it helps the OP in > anyway : > http://developers.sun.com/sunstudio/articles/perfoptions.html > (Jan 2007) The above is specific to Solaris; don't know if there are Red Hat equiv

Re: Question on EAR files

2007-03-15 Thread David Delbecq
And how about JONAS? The object web's LGPL enterprise application server Filip Hanik - Dev Lists a écrit : > You have two, our own Geronimo and Sun's Glassfish > > Filip > > Savoy, Melinda wrote: >> Thanks for the response. We're trying to find an alternative to Jboss. >> >> >> Regards. >> >> >>

Re: Question on EAR files

2007-03-15 Thread Filip Hanik - Dev Lists
You have two, our own Geronimo and Sun's Glassfish Filip Savoy, Melinda wrote: Thanks for the response. We're trying to find an alternative to Jboss. Regards. -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 12:00 PM To:

Re: tomcat 5.5

2007-03-15 Thread Rashmi Rubdi
ok, you know better :-) I just came accross this too, in case it helps the OP in anyway : http://developers.sun.com/sunstudio/articles/perfoptions.html (Jan 2007) Also, it helps to check the code to see if there any circular object references. Pre-compiling JSPs either with Jasper of HttpUnit

RE: tomcat 5.5

2007-03-15 Thread Caldarale, Charles R
> From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat 5.5 > > "...For instance, running gc might take extremely long time. > In such case, it is advisable to reduce the heap size" Urban myth, possibly true in the very early days of Java, when GC was not terribly sophisticated

Re: JNDIRealm over SSL to OpenLDAP

2007-03-15 Thread Nicholas Sushkin
Nathan, Judging from the exception, perhaps the problem is that the SSL certificate used by OpenLDAP could not be validated by Java. It could be that you're using a self signed certificate and Java does not trust it. If you are using a certificate signed by a third party, check that the root c

RE: Question on EAR files

2007-03-15 Thread Savoy, Melinda
Thanks for the response. We're trying to find an alternative to Jboss. Regards. -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 12:00 PM To: Tomcat Users List Subject: Re: Question on EAR files Savoy, Melinda wrote: > I unde

Re: Question on EAR files

2007-03-15 Thread Filip Hanik - Dev Lists
Savoy, Melinda wrote: I understand that Apache Tomcat 6 now supports the EAR file. Is that correct? Incorrect, Geronimo with Tomcat 6 does Filip Melinda Savoy Sr. Programmer Analyst Financial Applications - Enterprise Systems The information contained in this message and any attachments

Re: tomcat 5.5

2007-03-15 Thread Rashmi Rubdi
Hmm.., I came accross these documents while trying to increase memory for my IDE... and that's why I thought having a very large heap size doesn't always improve performance of a Java based app. http://support.jetbrains.com/kb/entry.jspa?externalID=33&categoryID=5 "...For instance, running gc mi

RE: Quick Question for TomCat Gurus

2007-03-15 Thread Propes, Barry L [GCG-NAOT]
ok, sorry about that. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 11:22 AM To: Tomcat Users List Subject: Re: Quick Question for TomCat Gurus Barry -- what you suggest only works on Windows boxes and only if using the *.bat files. The O

Re: Quick Question for TomCat Gurus

2007-03-15 Thread David Smith
Barry -- what you suggest only works on Windows boxes and only if using the *.bat files. The OP has already stated this is a linux box: "Suse Linux Enterprise Server" Not knowing how the OP starts tomcat, it's hard to give solid advice on the best method for switching JDKs. --David Propes

RE: [OT] java.util.MissingResourceException: Can't find bundle for basename

2007-03-15 Thread Caldarale, Charles R
> From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED] > Subject: Re: java.util.MissingResourceException: Can't find > bundle for basename > > Chuck (Or Charles ?). It's Charles on the birth certificate, Chuck in the rest of the world. Alps or Pyrenees? - Chuck THIS COMMUNICATION MAY CONTA

RE: tomcat 5.5

2007-03-15 Thread Caldarale, Charles R
> From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat 5.5 > > So, having a lower heap size limit (lower max memory > setting), ensures that the garbage collector releases as much > memory as possible in a shorter interval and having a higher > memory setting significantly delays

RE: JSP page not updated on each request

2007-03-15 Thread Propes, Barry L [GCG-NAOT]
I've also noticed in my apps sometimes that items with javascript references either get so deeply cached or are not recognized until I stop and restart Tomcat. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 8:14 AM To: Tomcat Users Lis

Re: java.util.MissingResourceException: Can't find bundle for basename

2007-03-15 Thread Ronald van Raaphorst
Hmm. you're right. But I saw it only once or twice in the eclipse console view. Anyway, I'll have to deal with this later (Maybe start with a fresh Eclipse 3.2 or 3.3 build) and try again, as next week I'll be on ski holiday in France. Thanks again for helping me out so far Chuck (Or Charles ?)

RE: Quick Question for TomCat Gurus

2007-03-15 Thread Propes, Barry L [GCG-NAOT]
change up your catalina.bat or.sh file to point to the JDK 1.6 version set JAVA_HOME=C:\j2sdk1.4.0 I'm using an older version here. This is from my catalina.bat file although not sure if TC 4.1 will work well with that JDK or not. -Original Message- From: David Smith [mailto:[EMAIL PROT

RE: tomcat 5.5

2007-03-15 Thread Caldarale, Charles R
> From: Rahul Tandon [mailto:[EMAIL PROTECTED] > Subject: RE: tomcat 5.5 > > The Apache Tomcat Native library which allows optimal performance in > production environments was not found That has no bearing on your OOME; it's displayed when the APR .dll or .so file isn't installed. For Linux pla

Re: Quick Question for TomCat Gurus

2007-03-15 Thread David Smith
Somewhere in the execution path you still have java 1.4.2. Check your PATH environment variable -- the first folder that contains java.exe will be the one that returns. As to what jdk tomcat 4.1 is running with, check the manager webapp (http://localhost:8080/manager/html) and adjust the star

RE: how to configure the tomcat to automatically update class instances when a class file changed

2007-03-15 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: how to configure the tomcat to automatically > update class instances when a class file changed > > The autoDeploy="true" means the sevlet will reload if > anything is changed under WEB-INF That's not quite true. The autoDeplo

RE: java.util.MissingResourceException: Can't find bundle for basename

2007-03-15 Thread Caldarale, Charles R
> From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED] > Subject: Re: java.util.MissingResourceException: Can't find > bundle for basename > > eclipse '/opt/eclipse/eclipse' -vm > /usr/java/jdk1.5.0/bin/java -vmargs > -Xmx256M > where jdk1.5.0 is a symlink to the 1.5.0_11 dir. > > So Tomcat a

Re: HSE_REQ_SEND_RESPONSE_HEADER failed

2007-03-15 Thread Mladen Turk
Use the file I send link to (1.2.22-dev) [Thu Mar 15 09:52:57 2007] [error] start_response::jk_isapi_plugin.c (475): HSE_REQ_SEND_RESPONSE_HEADER failed Here you should see HSE_REQ_SEND_RESPONSE_HEADER failed with error=x The error will give us a clue what's going on. Use the latest .dll

RE: tomcat 5.5

2007-03-15 Thread Rahul Tandon
Thanks rashmi. After trial and error I found out that 704m is fine but 768 is giving me trouble. I would check the link that you send. Thanks again. Rahul Tandon 516-627-8993 Xtn 208 [EMAIL PROTECTED] 111 Great Neck Rd.,Suite #314 Great Neck, NY 11021 This communication is for informat

Question on EAR files

2007-03-15 Thread Savoy, Melinda
I understand that Apache Tomcat 6 now supports the EAR file. Is that correct? Melinda Savoy Sr. Programmer Analyst Financial Applications - Enterprise Systems The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is

Re: tomcat 5.5

2007-03-15 Thread Rashmi Rubdi
I think you do have the Native library, but since you're getting OutOfMemoryError the garbage collector is unable to free additional memory for further work, and this is why the application hangs. This article http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_17470 explains it well. O

Re: open a window in a new session

2007-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave wrote: > If I open an IE from windows desktop, and then access the link, it > will start a new session. Is there any control on cookie, like do not > use cookie for this new window? By default, I believe that Tomcat creates browser-session

Re: open a window in a new session

2007-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave wrote: > Hi Chris, Thanks for your reply. > > How to configure server(Tomcat, I am using JBoss) to use URL-encoded > session id tracking? I did not do anything. Is cookie used for > session tracking by default? IIRC, Tomcat uses cookies

Re: java.util.MissingResourceException: Can't find bundle for basename

2007-03-15 Thread Ronald van Raaphorst
Hmmm. Starting Eclipse all the time with eclipse '/opt/eclipse/eclipse' -vm /usr/java/jdk1.5.0/bin/java -vmargs -Xmx256M where jdk1.5.0 is a symlink to the 1.5.0_11 dir. So Tomcat and Eclipse are using the same jvm. Ronald Caldarale, Charles R wrote: From: Ronald van Raaphorst [mailto:[EMAIL

Re: open a window in a new session

2007-03-15 Thread Dave
If I open an IE from windows desktop, and then access the link, it will start a new session. Is there any control on cookie, like do not use cookie for this new window? Thanks! Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave wrote: > I a

Re: HSE_REQ_SEND_RESPONSE_HEADER failed

2007-03-15 Thread Cristiane de Carvalho
When I try to run my application, before access that, I´m getting the following entries in the log: [Thu Mar 15 09:52:57 2007] [error] start_response::jk_isapi_plugin.c (475): HSE_REQ_SEND_RESPONSE_HEADER failed [Thu Mar 15 09:52:57 2007] [error] write::jk_isapi_plugin.c (565): WriteClient

RE: tomcat 5.5

2007-03-15 Thread Rahul Tandon
Thanks Rashmi for the suggestion. My application is using (some time) quite a big memory (I need 1GB once in a while!!!), that's why I wanted to have this setting. One other thing I notice(which I am not sure of), will this error would have any effect: The Apache Tomcat Native library which allow

Quick Question for TomCat Gurus

2007-03-15 Thread Bruno Vilardo
Hello All, Tomcat 4.1 Suse Linux Enterprise Server Java 1.6.0 Is there any issue using Tomcat 4.1 with Java 1.6.0? Our System Admin has installed the Java 1.6.0 but when running the "java -version" it shows a different java version as below: $java -version java version "1.4.2_13" Java(TM) 2 Ru

Re: open a window in a new session

2007-03-15 Thread Dave
Hi Chris, Thanks for your reply. How to configure server(Tomcat, I am using JBoss) to use URL-encoded session id tracking? I did not do anything. Is cookie used for session tracking by default? Thanks! David Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED

Re: tomcat 5.5

2007-03-15 Thread Rashmi Rubdi
I think trying to increase the memory configuration in any application doesn't necessarily contribute to it's speed because the garbage collector does not perform serious attempts to release memory until the heap size limit is reached. So, having a lower heap size limit (lower max memory setti

Re: how to configure the tomcat to automatically update class instances when a class file changed

2007-03-15 Thread org
Hello again SANGAMESHWAR In the servlet.xml config file you will see the The autoDeploy="true" means the sevlet will reload if anything is changed under WEB-INF So if you drop another library class in, or say change web.xml, that servlet will restart WHEN IT IS IDLE. If you have a thread runnin

Re: JK 1.2.21 DLL does not work with IIS 6?

2007-03-15 Thread Mladen Turk
[EMAIL PROTECTED] wrote: I just deployed it and everything appears to be working for us with internet explorer now. Great. We'll release 1.2.22 probably early next week. Regards, Mladen. - To start a new topic, e-mail: users

RE: java.util.MissingResourceException: Can't find bundle for basename

2007-03-15 Thread Caldarale, Charles R
> From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED] > Subject: Re: java.util.MissingResourceException: Can't find > bundle for basename > > java version "1.5.0_11" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) > Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed m

Re: java.util.MissingResourceException: Can't find bundle for basename

2007-03-15 Thread Ronald van Raaphorst
java -version gives: java version "1.5.0_11" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode) You mean this isn't a 'real' JVM? Ronald Caldarale, Charles R wrote: From: Ronald van Raaphorst [mailto:[EMAIL PROTECTE

guarantee code matches the design

2007-03-15 Thread Dean Hiller2
There is a pretty interesting article on a tool that guarantees your design/dependencies is up to date located here... http://www.devx.com/opensource/Article/33729 Just thought you might be interested in using for tomcat(or for any other project). You can actually enforce that components ONLY t

Re: JK 1.2.21 DLL does not work with IIS 6?

2007-03-15 Thread Cory . Bestgen
I just deployed it and everything appears to be working for us with internet explorer now. Thanks, Cory Mladen Turk <[EMAIL PROTECTED]

RE: java.util.MissingResourceException: Can't find bundle for basename

2007-03-15 Thread Caldarale, Charles R
> From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED] > Subject: Re: java.util.MissingResourceException: Can't find > bundle for basename > > Somehow, on starting tomcat from eclipse, the following > debug info appeared shortly in the eclipse console: > > Caused by: java.lang.ClassNotFoundExc

Re: java.util.MissingResourceException: Can't find bundle for base name

2007-03-15 Thread Ronald van Raaphorst
Hi, Thanks for the reply. Unfortunately, I have only one Tomcat on this machine, (I moved the other ones), so that can't be it. But Somehow, on starting tomcat from eclipse, the following debug info appeared shortly in the eclipse console: Exception in thread "main" java.lang.NoClassDefFoundE

Re: JK 1.2.21 DLL does not work with IIS 6?

2007-03-15 Thread Mladen Turk
[EMAIL PROTECTED] wrote: I have noticed some funny behavior with 1.2.21 also... We have tomcat hosting jira and jira is using the ntlm plugin for sso authentication. Can you guys check the 1.2.22-dev binary from: http://people.apache.org/~mturk/jk-1.2.22-dev/win32/isapi_redirect.dll There wa

Re: Strange characters appear in my compiled JSP files

2007-03-15 Thread Rashmi Rubdi
The hex characters corresponding to  characters are EF BB BF , which are the the BOM characters. They're not just in the compiled JSP but also in the uncompiled JSP source, but because they usually appear at the start of the document the browser doesn't render them. I was able to see it in

WebDAV with Tomcat 6

2007-03-15 Thread Konstantin Breu
Hello, former versions of Tomcat had a WebDAV servlet/filter as example how to use WebDAV with tomcat. It does not seem to be part of Tomcat 6. Why was it removed? Was it moved to some other installation package/project? I'm asking also because I have problems when using the webDAV function (of to

RE: OutOfMemoryError

2007-03-15 Thread Rahul Tandon
Any clue? Thanks, Rahul Tandon 516-627-8993 Xtn 208 [EMAIL PROTECTED] 111 Great Neck Rd.,Suite #314 Great Neck, NY 11021 This communication is for informational purposes only. The contents of this transmission are confidential and are intended solely for the use of the individual or en

Re: Strange characters appear in my compiled JSP files

2007-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Langas, Langas de los Langas wrote: > I have developed a JSP application in Tomcat 5.5, and everything is OK > with it when you use Microsoft Internet Explorer; but, in a couple of > pages, with Mozilla Firefox and Netscape, these characters appeared

RE: java.util.MissingResourceException: Can't find bundle for base name

2007-03-15 Thread Caldarale, Charles R
> From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED] > Subject: java.util.MissingResourceException: Can't find > bundle for base name > > I just got tomcat 5.5.23. If I start tomcat from the command > line using ./startup.sh, it works fine. > If I start it from Eclipse using the sysdeo plugin

Re: Strange characters appear in my compiled JSP files

2007-03-15 Thread Rashmi Rubdi
I had a similar problem with one of the JSPs, the only way I could solve it was, copy the original JSP's source code into another plain-text editor like jEdit (or any editor that doesn't alter text, or has unusual encoding) then, delete the JSP file , and re-create a new JSP with the same name

RE: apache-tomcat-6.0.10 OutOfMemoryError

2007-03-15 Thread Caldarale, Charles R
> From: Vinu Varghese [mailto:[EMAIL PROTECTED] > Subject: Re: apache-tomcat-6.0.10 OutOfMemoryError > > Please check this > http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-p > ermgen-outofmemoryerror Unfortunately, the blogger is simply wrong in his premise that the default GC me

Re: open a window in a new session

2007-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave wrote: > I am using servlet. How to open a window in a new session? > > I tried javascript > > onclick="window.open(...)" > > but the opened window belongs to the same servlet session (see from > user login name). If you are using cook

Re: JSP page not updated on each request

2007-03-15 Thread org
Mmmm, dont know I think the browser should be picking up file changes, but if you want to make sure the browser doesnt cache, then if I remember correctly search for NO-CACHE and set the headers returned, the browser will reload every time. Note that headers are different for different browsers

Specifying Location of log4j.properties independent of App?

2007-03-15 Thread Kurt Overberg
Gang, I have a webapp that is deployed to directory X (which is not under tomcat/webapps). My log4j.properties is located in webapp/WEB-INF/ classes/log4j.properties. My log4j contains a few hardcoded paths to the log files. Due to traffic size, I would really like to simply point anoth

Strange characters appear in my compiled JSP files

2007-03-15 Thread Langas de los Langas
Hello to everyone. Sorry if my English isn't perfect. I have a problem with Tomcat for which I have found explanation neither in the FAQ, nor searching the web, nor asking other programmers... So, I guess you're my only hope. I have developed a JSP application in Tomcat 5.5, and everything is O

Re: org.apache.jasper.compiler.DefaultErrorHandler.javacError

2007-03-15 Thread David Smith
This is a partial stack taken out of the middle. Please post a COMPLETE stack from the start and including the the root cause (if available). Also we well need to know OS, JDK version, tomcat version. --David Raghuveer wrote: Could anyone suggest me what is the following error related to.

how to configure the tomcat to automatically update class instances when a class file changed

2007-03-15 Thread SANGAMESHWAR ALLADI
hi, my class files of beans regularly changes. So,everytime i change a class file, i need to restart the tomcat server. how can i configure Tomcat to watch the changes in the class files of beans? Thanks in Advance, Sangmaeshwar.A

Re: apache-tomcat-6.0.10 OutOfMemoryError

2007-03-15 Thread Vinu Varghese
Hi all Please check this http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-permgen-outofmemoryerror regards vinu prakash shanmugam wrote: hi i personally fell disabling the session in tomcat is not the correct solution to overcome the memory out of error. just try to asign null fo

Set caseSensitive="false" for "NOT case sensitive" BUT security problems?

2007-03-15 Thread Giuseppe Santamaria
Hi I know which to set tomcat for the NOT case sensitive, necessity to use the of the web application. but this documentation (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html ) say "NOTE: This flag MUST NOT be set to false on the Windows platform (or any other OS which does no

Re: apache-tomcat-6.0.10 OutOfMemoryError

2007-03-15 Thread prakash shanmugam
hi i personally fell disabling the session in tomcat is not the correct solution to overcome the memory out of error. just try to asign null for unused objects. hope it resolve your issue. bye with regards prakash.s On 3/13/07, acec acec <[EMAIL PROTECTED]> wrote: Hi, Remy After I added <%@ p

java.util.MissingResourceException: Can't find bundle for base name

2007-03-15 Thread Ronald van Raaphorst
Hi all, I just got tomcat 5.5.23. If I start tomcat from the command line using ./startup.sh, it works fine. If I start it from Eclipse using the sysdeo plugin, I get the following message (over and over again) 2007-03-15 11:47:17,277 [main] ERROR org.apache.catalina.startup.HostConfig - Er

Re: getRemoteAddr() returns IPv6 instead of IPv4

2007-03-15 Thread jt
> | When I make a request.getRemoteAddr() I receive an IPv6 address while I > | want the IPv4. > > Is the request coming across an IPv6 interface? If so, I don't know that > you can get an IPv4 address (without calling getRemoteHost() and doing a > reverse DNS lookup, anyway). OK, I figured it o

Re: Multilevel webapp WAR won't start when packed

2007-03-15 Thread Pid
Pid wrote: Caldarale, Charles R wrote: From: Pid [mailto:[EMAIL PROTECTED] Subject: Multilevel webapp WAR won't start when packed TC v6.0.10 I have a 'multi-level' path webapp that I'm deploying via a WAR. The WAR is named "download#file.war". If I instruct it to stay packed it will not d

Invalid chunk ignored.

2007-03-15 Thread kz
Hi, what kind of parameters are considered as invalid to tomcat??? Mar 15, 2007 3:10:39 PM org.apache.tomcat.util.http.ParametersprocessParameters WARNING: Parameters: Invalid chunk ignored. Thanks, Khurram

Re: SSO ID in the first request

2007-03-15 Thread Gregor Schneider
Hi Fredrik, > > HttpSession session = .; > session.setAttribute(String nameOfYourObject, Object yourObject); > Object yourObject = session.getAttribute(String nameOfYourObject); Surely, this cannot be correct? It would take me some effort to try sharing attributes between webapps, so I can'