Jasper don't know getElementsByTagNameNS!?

2010-08-24 Thread Anton Ryazantsev
Hi! My platform is windows xp 32 bit, and right now I'm using Tomcat 7.0.2 I found a strange bug, using dom objects in JSP. Since Tomcat 6 and higher JSP page compiler throws Exception: The method getElementsByTagNameNS(String, String) is undefined for the type Element. How can it be? Method

Re: How to spwan child processes.

2010-08-24 Thread Peter Crowther
On 23 August 2010 21:56, André Warnier a...@ice-sa.com wrote: and can someone finally explain what spwaning child processes means ? It's a UNIXism - a fork() call spawns a child process from a parent process. Not sure how much further back it goes into the deep, dark and slightly dank dungeon

Own Logging Handler not closing correctly

2010-08-24 Thread pue85
Tomcat: 6.0.29 OS: Mac OS Java: 1.5 I wrote an own java.util.logging.Handler to get the logs over the network. The handler is configured via myWebapp/WEB-INF/classes/logging.properties and is working very well. The handler uses some threads to do his job. I used the close()-Method to

Re: [OT] How to spwan child processes.

2010-08-24 Thread André Warnier
Peter Crowther wrote: On 23 August 2010 21:56, André Warnier a...@ice-sa.com wrote: and can someone finally explain what spwaning child processes means ? It's a UNIXism - a fork() call spawns a child process from a parent process. Not sure how much further back it goes into the deep, dark

Re: Own Logging Handler not closing correctly

2010-08-24 Thread Mark Thomas
On 24/08/2010 10:20, pu...@web.de wrote: Tomcat: 6.0.29 OS: Mac OS Java: 1.5 I wrote an own java.util.logging.Handler to get the logs over the network. The handler is configured via myWebapp/WEB-INF/classes/logging.properties and is working very well. The handler uses some threads to

Re: Own Logging Handler not closing correctly

2010-08-24 Thread pue85
On 24/08/2010 10:20, pu...@web.de wrote: Tomcat: 6.0.29 OS: Mac OS Java: 1.5 I wrote an own java.util.logging.Handler to get the logs over the network. The handler is configured via myWebapp/WEB-INF/classes/logging.properties and is working very well. The handler uses some threads to do

another UTF-8 problem

2010-08-24 Thread Tim-Christian Mundt
Hi, I've encountered a UTF-8 problem and yes, URIEncoding=UTF-8 is set. I'm connecting to a web service which returns UTF-8 encoded data. If I do so from a plain, regular, self-contained Java application everything is fine. However, if I run the same classes in tomcat (and trigger the action

RE: Own Logging Handler not closing correctly

2010-08-24 Thread Caldarale, Charles R
From: pu...@web.de [mailto:pu...@web.de] Subject: Re: Own Logging Handler not closing correctly Do you have any idea how to do better? Can you stop the threads with the contextDestroyed() method of a SevletContextListener? That's where auxiliary thread management is expected to be done.

RE: another UTF-8 problem

2010-08-24 Thread Caldarale, Charles R
From: Tim-Christian Mundt [mailto:d...@tim-erwin.de] Subject: another UTF-8 problem I've encountered a UTF-8 problem and yes, URIEncoding=UTF-8 is set. Tomcat version? Using APR or not? JVM version? Platform? Default locale setting? - Chuck THIS COMMUNICATION MAY CONTAIN

RE: Own Logging Handler not closing correctly

2010-08-24 Thread pue85
Can you stop the threads with the contextDestroyed() method of a SevletContextListener?  That's where auxiliary thread management is expected to be done. - Chuck I was thinking about that. But that's not really what I want. Anybody should be able to use the handler without doing extra things

RE: Own Logging Handler not closing correctly

2010-08-24 Thread Caldarale, Charles R
From: pu...@web.de [mailto:pu...@web.de] Subject: RE: Own Logging Handler not closing correctly Anybody should be able to use the handler without doing extra things in their webapps... I'm not sure that's a reasonable assumption, since you have the log handler established within a single

Re: another UTF-8 problem

2010-08-24 Thread Tim-Christian Mundt
Caldarale, Charles R schrieb: From: Tim-Christian Mundt [mailto:d...@tim-erwin.de] Subject: another UTF-8 problem I've encountered a UTF-8 problem and yes, URIEncoding=UTF-8 is set. Tomcat version? Using APR or not? JVM version? Platform? Default locale setting? - Chuck THIS

Re: Jasper don't know getElementsByTagNameNS!?

2010-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anton, On 8/24/2010 3:52 AM, Anton Ryazantsev wrote: Hi! My platform is windows xp 32 bit, and right now I'm using Tomcat 7.0.2 I found a strange bug, using dom objects in JSP. Since Tomcat 6 and higher JSP page compiler throws Exception: The

Apache 5.x issue - SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads

2010-08-24 Thread White, Federico (Federico)
I have an issue where my Tomcat server is going down quite often with the following message: Aug 19, 2010 12:03:21 PM org.apache.tomcat.util.threads.ThreadPool logFull SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads (200) or check the servlet status Aug 20, 2010 4:47:20

RE: Deploying a war to the root URL path

2010-08-24 Thread Jeffrey Janner
I'm not positive, but I think Chuck neglected to mention that the docbase needs to contain the war in exploded format. If I'm wrong, please slap my wrist Chuck. Also, I'm surprised no one offered the obvious tuckey redirector solution, which usually gets brought up a lot on this list. You can

RE: Apache 5.x issue - SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads

2010-08-24 Thread Caldarale, Charles R
From: White, Federico (Federico) [mailto:whi...@avaya.com] Subject: Apache 5.x issue - SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads First off, it's not Apache 5.x, it's Tomcat 5.x. The term Apache refers to the Apache Software Foundation, for which Tomcat is

RE: Deploying a war to the root URL path

2010-08-24 Thread David Smiley @MITRE.org
It's true I can host the app at /jira but that feel very redundant when the host is dedicated to jira as it is (it's DNS name is even jira). Perhaps I'll just do this. Thanks Jeff. ~ David Jeffrey Janner wrote: I'm not positive, but I think Chuck neglected to mention that the docbase

Apache Tomcat 5.5.0 issue - SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads

2010-08-24 Thread White, Federico (Federico)
Hi again, Since my first email might have not be that clear I'll re phrase it, I'm currently running a Tomcat webserver for an application that my company uses. It run's on windows server 2003, and the startup command was customized for our application and is the following

Re: another UTF-8 problem

2010-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, On 8/24/2010 9:06 AM, Tim-Christian Mundt wrote: I've encountered a UTF-8 problem and yes, URIEncoding=UTF-8 is set. If you're connecting-out to a SOAP service, then the URIEncoding setting doesn't matter. I'm connecting to a web service

Re: Jasper don't know getElementsByTagNameNS!?

2010-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anton, Please keep messages on the list for the benefit of others. Glad you were able to fix the problem. - -chris On 8/24/2010 11:39 AM, Anton Ryazantsev wrote: Christopher, I've got your way and found that bad jar (in attach). It's sad, that

RE: Apache Tomcat 5.5.0 issue - SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads

2010-08-24 Thread Scott Hamilton
You've got two connectors in that server.xml, and one of them is AJP without any real other configuration parameters. If memory serves the thread limit when not specified for a connector is 200... Can we assume you're using apache as a web server connecting to tomcat? What are you using there -

java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory

2010-08-24 Thread Brochu, John
I am trying to use a simple EL expression on a JSP ala... ${user.firstName} Netbeans reports the following error: java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory; I've confirmed that the el-api-jar that came with Tomcat is in the Tomcat

Re: Own Logging Handler not closing correctly

2010-08-24 Thread Pid
On 24/08/2010 14:35, Caldarale, Charles R wrote: From: pu...@web.de [mailto:pu...@web.de] Subject: RE: Own Logging Handler not closing correctly Anybody should be able to use the handler without doing extra things in their webapps... I'm not sure that's a reasonable assumption, since you

Re: Apache Tomcat 5.5.0 issue - SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads

2010-08-24 Thread Pid
On 24/08/2010 17:12, Scott Hamilton wrote: Host name=localhost appBase=../comp autoDeploy=false Context docBase=C:\Program Files\Avaya\IC71/comp/website path=/website reloadable=false crossContext=true /

Re: separating deployment of classes/lib/config from web content (jsp's/html)

2010-08-24 Thread Pid
On 24/08/2010 18:14, Jason Britton wrote: I'm trying to configure a tomcat context that I could deploy the classes, libs, web.xml using a .war file but the actual jsp's, html, web content would not be packed up in the .war file and would live in a directory outside of the exploded war

Re: separating deployment of classes/lib/config from web content (jsp's/html)

2010-08-24 Thread Mark Thomas
On 24/08/2010 18:14, Jason Britton wrote: I'm trying to configure a tomcat context that I could deploy the classes, libs, web.xml using a .war file but the actual jsp's, html, web content would not be packed up in the .war file and would live in a directory outside of the exploded war

Re: separating deployment of classes/lib/config from web content (jsp's/html)

2010-08-24 Thread Jason Britton
The short answer is: you can't separate the components of a webapp out into separate locations. Thanks for the response P. Understood and agreed as to the function and purpose of .war file. The reasoning for the separation is that in our current environment we have users from 3 or so

Re: separating deployment of classes/lib/config from web content (jsp's/html)

2010-08-24 Thread Jason Britton
In Tomcat 7 you could use an alias. Mark Definitely interested. Is there a time frame on when 7 will have a non-beta release? Thanks for the heads up. Jason

Re: java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory

2010-08-24 Thread Pid *
On 24 Aug 2010, at 18:31, Brochu, John jbro...@arqule.com wrote: I am trying to use a simple EL expression on a JSP ala... ${user.firstName} Netbeans reports the following error: java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory; For what

Re: separating deployment of classes/lib/config from web content (jsp's/html)

2010-08-24 Thread Mark Thomas
On 24/08/2010 20:00, Jason Britton wrote: In Tomcat 7 you could use an alias. Mark Definitely interested. Is there a time frame on when 7 will have a non-beta release? Thanks for the heads up. The more people that test it and report problems, the sooner it will be out of beta. Hint, hint

Re: java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory

2010-08-24 Thread Mark Thomas
On 24/08/2010 18:31, Brochu, John wrote: java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory; I've confirmed that the el-api-jar that came with Tomcat is in the Tomcat 6.0.29 lib folder and also in my JDK's jre\lib\ext directory. Putting it in

Session problem

2010-08-24 Thread Hisham
Hello all, I have a problem that is driving me crazy. I don't even know if its a Tomcat issue but maybe someone out there can help me out. I have a webapp that I first developed locally. I tested this on my local environment (windows) and had no issues. I then deployed the same app to our QA

RE: Deploying a war to the root URL path

2010-08-24 Thread Jeffrey Janner
All that having been said, it's still easiest to just rename jira.war as ROOT.war and deploy that. That really is the simplest method and well documented to boot. -Original Message- From: David Smiley @MITRE.org [mailto:dsmi...@mitre.org] Sent: Tuesday, August 24, 2010 10:43 AM To:

RE: Deploying a war to the root URL path

2010-08-24 Thread Jeffrey Janner
Ouch -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, August 24, 2010 10:18 AM To: Tomcat Users List Subject: RE: Deploying a war to the root URL path From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE:

Re: separating deployment of classes/lib/config from web content (jsp's/html)

2010-08-24 Thread Jason Britton
I'll put tomcat 7 on our dev environment and have a go at it.  I'm excited about the alias functionality, thanks so much for pointing it out Mark, from the 7.0 docs: aliases attribute of the context element: This attribute provides a list of external locations from which to load resources for

Re: Session problem

2010-08-24 Thread Stephen Caine
Jason, As each window shares the same session, a change to the session value in one window will effect the session value in the others. Stephen Caine On Aug 24, 2010, at 5:21 PM, Jason Britton wrote: I would make sure that the link for your Messages tab is going to the same domain as that

Re: Session problem

2010-08-24 Thread Jason Britton
Stephen - your statement doesn't really make sense in context to the problem he described or how I replied. From Hisham's first post I believe he's describing tabs within the context of a single web page interface, when he clicks on any of the three tabs a request is made (asynchronous or

Re: Session problem

2010-08-24 Thread Hisham
Jason, you're right in that the tabs i was referring to were tabs within my application. I will verify tomorrow whether the domain is different, but i seriously doubt it. Thanks for you reply. -h On Tue, Aug 24, 2010 at 8:06 PM, Jason Britton jbritto...@gmail.com wrote: Stephen - your