Tomcat Manager remember Authentication

2007-04-09 Thread Abo alnoor
when I enter the tomcat manager, the authentication dialoge opened and ask me to enter username & password, and I check the remember my password for the first time to remember me in the next time, then I clear all the cookies and histories and password form.. etc and all my private data from my I

Re: apache-tomcat-6.0.10 OutOfMemoryError

2007-04-09 Thread prakash shanmugam
hi acec, have u got the solution for outof Memory error. On 3/16/07, acec acec <[EMAIL PROTECTED]> wrote: 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 disa

Re: apache-tomcat-6.0.10 OutOfMemoryError

2007-04-09 Thread prakash shanmugam
hai christopher, What u said is correct running garbage collector is not a good practice because it will slow down the application, can you suggest any other alternative way to overcome the out of memory error. On 3/16/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED

Re: NullPointerException with Parameters.getParameterValues(String)

2007-04-09 Thread Rashmi Rubdi
From looking at the following snippet I assume that username, password and logout are initialized as in: String username ="username"; String password ="password"; String logout="logout"; If the above are not initialized then you would get NPE. On 4/9/07, Rahul Thakur <[EMAIL PROTECTED]> wrote:

Re: NullPointerException with Parameters.getParameterValues(String)

2007-04-09 Thread Rahul Thakur
Yes I noticed that bug report. Here's the relevant snippet for the login form. TIA, Rahul - snip   Login

Re: NullPointerException with Parameters.getParameterValues(String)

2007-04-09 Thread Rashmi Rubdi
Can you also post the HTML Form? May be it has some syntax errors. Someone has reported a bug that looks a bit similar but is not the same: http://mail-archives.apache.org/mod_mbox/tomcat-dev/200401.mbox/[EMAIL PROTECTED] -Rashmi On 4/9/07, Rahul Thakur <[EMAIL PROTECTED]> wrote: root cause j

NullPointerException with Parameters.getParameterValues(String)

2007-04-09 Thread Rahul Thakur
Hi, I am dropping this note after spending hours trying to figure out why my webapp encounters an NPE trying to obtain a param from request. Scenario: Moving an old web app from JRun to Tomcat 5.5.23. The app uses custom taglibs that provide for user authentication and login and this is where I

Re: OutOfMemory problem on Tomcat 5.5.20 and Java 1.5

2007-04-09 Thread Andreas Knecht
Just a quick addition. The memory dump is now available here: http://repository.atlassian.com/temp/java_pid27558.hprof.gz Cheers, Andreas Mark Thomas wrote: Andreas Knecht wrote: About a week ago, this test started failing with OutOfMemory errors. Obvious question. What changed b

Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-04-09 Thread Rashmi Rubdi
Incidentally IS_SECURITY_ENABLED is a field in Tomcat 6 http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/coyote/Constants.html I too migrated from TC5.x to TC6.x successfully. The only things I had change was the definition of CATALINA_HOME in system environment variables. -Rashmi --

Re: [Fwd: [Fwd: Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]]]

2007-04-09 Thread Filip Hanik - Dev Lists
this is the list that goes into Tomcat lib annotations-api.jar jasper-el.jartomcat-dbcp.jar catalina-ant.jar jasper-jdt.jar tomcat-i18n-es.jar catalina-ha.jar jasper.jar tomcat-i18n-fr.jar catalina-tribes.jar jsp-api.jar tomcat-i18n-ja.jar catalina.jar

Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-04-09 Thread Rashmi Rubdi
On 4/9/07, Rui Monteiro <[EMAIL PROTECTED]> wrote: java.lang.NoSuchFieldError: IS_SECURITY_ENABLED According to the APIs http://java.sun.com/javase/6/docs/api/ the reason for java.lang.NoSuchFieldError is : Signals that the class doesn't have a field of a specified name. So somewhere in your a

Re: my webapp is crashing the JVM intermittently

2007-04-09 Thread Filip Hanik - Dev Lists
I would take a hint from this line Current thread (0x099aedf8): GCTaskThread [id=18292] My guess is that you have enabled parallel and concurrent GC/mark/sweep, remove all the GC options from your command line and try again I've seen this error before Filip Randy Paries wrote: Hello, I am not

[Fwd: [Fwd: Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]]]

2007-04-09 Thread Rui Monteiro
I put the same instalation (the same jars on lib) on a tomcat6.0.10 installed in my windows xp machine and everything goes fine. The problem only occurs on the Centos 4 machine and only for jsp. If anyone knows the inner subtleties of jasper jsp compiler tell me what could be going wrong. -

Re: [Fwd: Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]]

2007-04-09 Thread Hassan Schroeder
On 4/9/07, Rui Monteiro <[EMAIL PROTECTED]> wrote: Ok that wasn't exactly true. The examples which work ok are only the servlets examples (and by the way a pure zk application uses only servlets thats why the other app goes ok too). If I were you, I'd reinstall Tomcat and test the examples and

[Fwd: Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]]

2007-04-09 Thread Rui Monteiro
Ok that wasn't exactly true. The examples which work ok are only the servlets examples (and by the way a pure zk application uses only servlets thats why the other app goes ok too). The jsp examples don't go ok. In fact they present the same error as the empty webapp. So I am left with a proble

Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-04-09 Thread Rui Monteiro
Right now I get the problem in an empty webapp! A folder with a jsp inside an empty jsp!!! The funny thing is that I have another ZK aplication (it was supposed to be more complicated than a webapp that it is an empy jspat least from the deployment point of view ;) ) that runs fine. And

Re: OutOfMemory problem on Tomcat 5.5.20 and Java 1.5

2007-04-09 Thread Andreas Knecht
Hi Mark, Sorry about the attachment, I wasn't aware that they get stripped out when e-mailing this list. I've opened an issue on http://jira.atlassian.com now for this: http://jira.atlassian.com/browse/JRA-12524 Mark Thomas wrote: Andreas Knecht wrote: About a week ago, this test start

Re: OutOfMemory problem on Tomcat 5.5.20 and Java 1.5

2007-04-09 Thread Mark Thomas
Andreas Knecht wrote: > About a week ago, this test started failing with OutOfMemory errors. Obvious question. What changed before it started failing? > I've attached a screenshot of the JspRuntimeContext in YourKit. The attachement didn't come through. Can you make it availalbe via a URL? > Th

Re: OutOfMemory problem on Tomcat 5.5.20 and Java 1.5

2007-04-09 Thread Mark Thomas
Mark Thomas wrote: > Andreas Knecht wrote: >> Hi all, >> >> I'm one of the developers working on JIRA > > This really belongs on the users list. Sorry got confused in my mail client. My bad. Mark - To start a new topic, e-mail

Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-04-09 Thread Hassan Schroeder
On 4/9/07, Rui Monteiro <[EMAIL PROTECTED]> wrote: Nobody says nothing so i admit it it's something new as i feared. And probably nobody is using tomcat 6 (wise people). Hardly :-) Am i the only one who thinks the migration between tomcat versions is too much of a headache? Possibly -- I sw

Re: OutOfMemory problem on Tomcat 5.5.20 and Java 1.5

2007-04-09 Thread Mark Thomas
Andreas Knecht wrote: > Hi all, > > I'm one of the developers working on JIRA This really belongs on the users list. Also, attachments tend to get stripped out so you might want to consider providing a url to the screenshot. Mark

OutOfMemory problem on Tomcat 5.5.20 and Java 1.5

2007-04-09 Thread Andreas Knecht
Hi all, I'm one of the developers working on JIRA . We've currently got a problem, where Tomcat seems to be running out of heap space, when running JIRAs functional tests. Here are all the relevant system properties: *JDK: *java version "1.5.0_09"

[Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-04-09 Thread Rui Monteiro
Nobody says nothing so i admit it it's something new as i feared. And probably nobody is using tomcat 6 (wise people). Well i removed every .jar from my lib for testing it out. And reduced my web.xml for minimal (welcome file list stuff). The error HTTP 500 is the same but it presents now a "

Re: my webapp is crashing the JVM intermittently

2007-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Randy, Randy Paries wrote: > I am running this same app one 3 different boxes on two of them it > has crashed the JVM. The only reason i say this, is because it > probably rules out hardware Why? It sounds to me like you've ruled-out /software/ inste

Can't run jsp pages on tomcat 6.0.10

2007-04-09 Thread Rui Monteiro
For any of my jsp pages i get: java.lang.NoSuchFieldError: IS_SECURITY_ENABLED org.apache.jasper.compiler.JspRuntimeContext.(JspRuntimeContext.java:136) org.apache.jasper.servlet.JspServlet.init(JspServlet.java:101) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

Re: Questions about ROOT context

2007-04-09 Thread Rashmi Rubdi
On 4/9/07, Johnny Kewl <[EMAIL PROTECTED]> wrote: just got remember that now there is no cool page that lets you click on the manager, and so you have to type http://localhost:8080/manager/html to get to the manager. In the development environment if you create a virtual host then you can st

Re: Questions about ROOT context

2007-04-09 Thread Johnny Kewl
No, all that happens if you write your webapp as ROOT make the path=""/> in context.xml and dump it into web-apps is that your jsp pages will now show instead of the default tomcat page http://localhost:8080 In fact I think that somewhere on that page it tells you , you can do precisely this. A

Re: Lots of JspRuntimeContext threads

2007-04-09 Thread Mark Thomas
Adam Rabung wrote: > I _know_ I'll eventually discover this is some configuration problem > on my end, I'm just trying to understand the life-cycle of the > JspRuntimeContext to help me track it down. I'm still stumped. I should have looked at the code rather than relying on my dodgy memory. This

Re: sharing same session across multiple webapp

2007-04-09 Thread Johnny Kewl
OK I understand I think you looking for an application server or maybe a shared resource Have a look at yet another approach JNDI Resources... Resource Factories http://tomcat.apache.org/tomcat-4.1-doc/jndi-resources-howto.html You may be able to bring the unique apps in thru a custom

Re: my webapp is crashing the JVM intermittently

2007-04-09 Thread Rashmi Rubdi
The FAQ http://tomcat.apache.org/faq/memory.html offers a few solutions too. -Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: my webapp is crashing the JVM intermittently

2007-04-09 Thread Randy Paries
Actually that was the first thing i did I upgraded from jdk1.5.0_02 to jdk1.5.0_06 Randy On 4/9/07, Srinivas Visvanathan <[EMAIL PROTECTED]> wrote: Perhaps you should try a different JVM version. I've seen cases where eclipse would crash repeatedly (every 10 min) with one JVM version. Updating t

Re: my webapp is crashing the JVM intermittently

2007-04-09 Thread Srinivas Visvanathan
Perhaps you should try a different JVM version. I've seen cases where eclipse would crash repeatedly (every 10 min) with one JVM version. Updating to a different version fixed the problem. Also I see that you aren't on a very recent Sun JVM (1.5.0_06-b05). I'm using 1.5.0_11 myself and 1.6 is also

my webapp is crashing the JVM intermittently

2007-04-09 Thread Randy Paries
Hello, I am not sure if this is the right place to post this , but if not maybe someone can point me in a correct direction. I have just pushed a new version of my web app to production. which is apache-tomcat-5.5.15 with apache and fedora core 4 I am running this same app one 3 different boxes

Re: Questions about ROOT context

2007-04-09 Thread Rashmi Rubdi
There's no problem with using ROOT , it just means that your application will be accessible from the ROOT context , instead of another context. ROOT context means you can access the app at http://localhost:8080/ < the slash is root. If you deploy your app at another context then you wold acc

Questions about ROOT context

2007-04-09 Thread Srinivas V.
Hello tomcat experts I'm working on a new tomcat based website. I will be manager the server entirely and so will be the only person deploying html/jsp/servlets to it. I've been reading a few books and they suggest using custom webapps instead of the ROOT one. But I haven't seen any hard reasons

RE: assistance with logon error

2007-04-09 Thread Steve Ingraham
> -Original Message- > From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] > Sent: Monday, April 09, 2007 3:04 PM > To: Tomcat Users List > Subject: Re: assistance with logon error > > > But wait, the error you have is referring to this package: > org.keel.services.authentication.mad.* which do

Re: mod_jk changes url?

2007-04-09 Thread Rainer Jung
Hi Peter, have a look at the online docs, especially the apache page inside the refrence guide. There are a couple of JkOptions of type ForwardURIxxx, with which you can configure URI encoding behaviour. Regards, Rainer Peter Coppens schrieb: > Gentlepeople, > > I have a weird problem where I

Re: assistance with logon error

2007-04-09 Thread Rashmi Rubdi
But wait, the error you have is referring to this package: org.keel.services.authentication.mad.* which doesn't seem to exist on their API site anymore. You could also check with Keel's mailing list, may be they can help you locate the configuration information: http://www.keelframework.org/mail

Tomcat chunked reponse problem with Tiles and JSPISAPI

2007-04-09 Thread Oleg Tim
Running Struts with Tiles under Tomcat 5.5.9, IIS6, Windows 2003 with JSPISAPI While using Older browsers or some parsers for every Tile I get a length of the next buffer spit out straight into html page. Running same applications without Tiles has no issues in the same environment. Running same

Re: assistance with logon error

2007-04-09 Thread Rashmi Rubdi
On 4/9/07, Steve Ingraham <[EMAIL PROTECTED]> wrote: org.keel.services.authentication.mad.LoginHelper: singraham:Unable to access LDAP server at occadb Reason: occadb:389 It could be possible that the login credentials are hard-coded in a Java file, instead of reading them from a properties fil

RE: assistance with logon error

2007-04-09 Thread Steve Ingraham
> -Original Message- > From: Hassan Schroeder [mailto:[EMAIL PROTECTED] > Sent: Monday, April 09, 2007 2:01 PM > To: Tomcat Users List > Subject: Re: assistance with logon error > > > On 4/9/07, Steve Ingraham <[EMAIL PROTECTED]> wrote: > > > Yes, that is true. I am looking in every fi

Re: Lots of JspRuntimeContext threads

2007-04-09 Thread Adam Rabung
Adam Rabung wrote: Any advice would be much appreciated. Had the contexts been reloaded at any point? If so, is there a rough correlation between the number of threads per context and the number of reloads? Mark Hi, Thanks for the follow-up. If we do a "fresh" start (ie service restart rath

Re: assistance with logon error

2007-04-09 Thread Hassan Schroeder
On 4/9/07, Steve Ingraham <[EMAIL PROTECTED]> wrote: Yes, that is true. I am looking in every file I can find for the name (it is 'occadb' by the way) for that server. find -type f -print0 | xargs -r0 grep -F 'occadb' Given the case-insensitive nature of Windows, you might make that grep -

RE: assistance with logon error

2007-04-09 Thread Steve Ingraham
> -Original Message- > From: Hassan Schroeder [mailto:[EMAIL PROTECTED] > Sent: Monday, April 09, 2007 1:23 PM > To: Tomcat Users List > Subject: Re: assistance with logon error > > > On 4/9/07, Steve Ingraham <[EMAIL PROTECTED]> wrote: > > > There are at least 4 or 5 different "web.xml

Re: Configuration problem: IntelliJ 6.0.5 and Tomcat6.0.10

2007-04-09 Thread Rashmi Rubdi
Sorry, I couldn't pinpoint to that specific config -- because I don't know about it yet. I'm glad your problem's fixed. -Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: assistance with logon error

2007-04-09 Thread Hassan Schroeder
On 4/9/07, Steve Ingraham <[EMAIL PROTECTED]> wrote: There are at least 4 or 5 different "web.xml" files in various locations on this server. I have looked through most all of them to this point. Is there something specific in the content of the file I should be looking for that would be direct

RE: Configuration problem: IntelliJ 6.0.5 and Tomcat6.0.10

2007-04-09 Thread Mark Plutowski
Apparently this solved by modifying the section just below: ... to provide the absolute path to keystoreFile, instead of the relative address it was providing (this was the missing devcerts file mentioned the build trace). Also, I gather that this issue is not specific to IDEA, and has been s

RE: assistance with logon error

2007-04-09 Thread Steve Ingraham
> -Original Message- > From: Hassan Schroeder [mailto:[EMAIL PROTECTED] > Sent: Monday, April 09, 2007 12:02 PM > To: Tomcat Users List > Subject: Re: assistance with logon error > > > On 4/9/07, Steve Ingraham <[EMAIL PROTECTED]> wrote: > > > I have been searching for any configuration

Re: Configuration problem: IntelliJ 6.0.5 and Tomcat6.0.10

2007-04-09 Thread Rashmi Rubdi
On 4/9/07, Mark Plutowski <[EMAIL PROTECTED]> wrote: I never needed to set CLASSPATH before, and the only thing it points to now is QTJava.zip. Unset the classpath temporarily to see if it solves anything. My Tomcat6 settings in IDEA are exactly as they were for Tomcat5. Something else must

RE: Configuration problem: IntelliJ 6.0.5 and Tomcat6.0.10

2007-04-09 Thread Mark Plutowski
Thanks Rashmi. I have JAVA_HOME and CATALINE_HOME set appropriately. The Tomcat I use was installed by another team, and it is being used by Eclipse developers with no apparent issues. C:\p4\javaNT1.5.0 is indeed a JDK and JAVA_HOME does point to it. The Path environment variable includes "%TOMCA

Re: Tomcat 5.0.28 w/ JDK 1.5 Memory Leak

2007-04-09 Thread Rashmi Rubdi
This faq http://tomcat.apache.org/faq/memory.html covers a few things about memory issues. It is best to fine tune the application itself to see if there's anything in the application that is over-using the memory, before attempting memory adjustments. Also the performance.pdf here: http://tomca

Re: assistance with logon error

2007-04-09 Thread Hassan Schroeder
On 4/9/07, Steve Ingraham <[EMAIL PROTECTED]> wrote: I have been searching for any configuration files in our web application that would have the specific line directing to the "now incorrect" DC. Can anyone provide me with information on where this configuration file may reside? What its name,

assistance with logon error

2007-04-09 Thread Steve Ingraham
We have a MySQL database backend that is accessed through our website using Apache Tomcat that was set up before I came on board here. I am just familiar enough with this setup to be dangerous. Our problem is that whenever our users attempt to logon to the database this morning they get this err

Re: sharing same session across multiple webapp

2007-04-09 Thread Dominique Jocal
Thank you to you both, I understand now at what think at when you indicate using a "shared context"; it can help to exchange data between 2 webapps, and so, after some implementation, to have this session sharing. It's however requiring some implementation, to "map" the 2 sessions and to manage

Re: Tomcat 6 NIO connector/CometProcessor goes to 100% CPU usage

2007-04-09 Thread Filip Hanik - Dev Lists
Elias Naur wrote: On 4/9/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: Elias Naur wrote: > On 4/8/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: >> Elias Naur wrote: >> > On 4/7/07, Rémy Maucherat <[EMAIL PROTECTED]> wrote: >> >> On 4/6/07, Elias Naur <[EMAIL PROTECTED]> wrote:

Tomcat 5.0.28 w/ JDK 1.5 Memory Leak

2007-04-09 Thread Jayson Enriquez
Memory leak resolved. For the Java experts. I just read tons of information regarding Java 1.5 (now known as 5.0) garbage collection, throughput collectors, heap sizes, and so on. And its still not 'sinking' in just right. For example ,"In the J2SE platform version 1.4.2 there were four gar

How to recognize real webapps?

2007-04-09 Thread Corobitsyn Roman
Hello list! I have one little trouble I have two equal webapps under different virtual hosts. These webapps work fine. Sometimes I need obtain thread dump, and I make kill -3 for this. Here is fragment of dump. Is there the way to recognize, which of webapps running? Thank you in advance

RE: How to recognize real webapps?

2007-04-09 Thread Robert Harper
Why not use the Tomcat manager app? It will show you what apps are running and how many instances. You could also put status logging in your apps as well. I don't like killing things that are running because you can cause corruption of data in files and loose important data. Some apps aren't as de

Session Replication not working in Tomcat 5.5 clustered mode.

2007-04-09 Thread Savita Narang
We are running 2 tomcat 5.5.20 instances in a Cluster & using Apache 2.2.4 as the load-balancer in the front using mod_jk connectors 1.2.21. We have implemented the HttpSession to have a Serializable attribute. As of now the mod_jk connectors are not configured to be Sticky. So requests from client

Re: sharing same session across multiple webapp

2007-04-09 Thread Johnny Kewl
Always a big question... search the web and you find many different approaches Here is an article how to do it using servlet contexts... http://www.fwd.at/tomcat/sharing-session-data-howto.html But maybe clustering is what you looking for Have a look at tomcat clustering and session replication

help with configuring tomcat.

2007-04-09 Thread Abhinay Kartik Reddyreddy
Hi I am using Tomcat for developing web services. Could anyone please help with teh following. I am trying to set up tomcat so that at any time the server only accepts a limited amount of concurrent requests. if the number of requests at a given time increases the limit the client request

help with tomcat configuration.

2007-04-09 Thread Abhinay Kartik Reddyreddy
Hi I am using Tomcat for developing web services. Could anyone please help with teh following. I am trying to set up tomcat so that at any time the server only accepts a limited amount of concurrent requests. if the number of requests at a given time increases the limit the client request should

Re: Tomcat 6 NIO connector/CometProcessor goes to 100% CPU usage

2007-04-09 Thread Elias Naur
On 4/9/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: Elias Naur wrote: > On 4/8/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: >> Elias Naur wrote: >> > On 4/7/07, Rémy Maucherat <[EMAIL PROTECTED]> wrote: >> >> On 4/6/07, Elias Naur <[EMAIL PROTECTED]> wrote: >> >> > I'm aware t

Re: Tomcat Manager Authentication

2007-04-09 Thread Abo alnoor
sorry, I erase all the data, you can try that. if your talks correct, what is the choice "remember my password" in the tomcat manager authentication dialoge and who it remember my username and password next time Abo alnoor wrote: > > when I enter the tomcat manager, the authentication dialoge o

Re: Tomcat Manager Authentication

2007-04-09 Thread Abo alnoor
sorry, I erase all the data, you can try that. if your talks correct, what is the choice "remember my password" in the tomcat manager authentication dialoge and who it remember my username and password next time Abo alnoor wrote: > > when I enter the tomcat manager, the authentication dialoge

RE: Tomcat Manager Authentication

2007-04-09 Thread David Rodríguez Fernández
Tomcat don't save the password, the password is sent by IE in every connection. Maybe you don't has erased all data. -Mensaje original- De: Abo alnoor [mailto:[EMAIL PROTECTED] Enviado el: lunes, 09 de abril de 2007 11:45 Para: users@tomcat.apache.org Asunto: Tomcat Manager Authenticatio

Tomcat Manager Authentication

2007-04-09 Thread Abo alnoor
when I enter the tomcat manager, the authentication dialoge opened and ask me to enter username & password, and I check the remember my password for the first time to remember me in the next time, then I clear all the cookies and histories and password form.. etc and all my private data from my In