Where is the source code of class org.apache.tomcat.util.threads.ThreadPool

2004-12-04 Thread zerol tib
Howdy, Feel free to slam me is if this mail should be posted on tomcat-dev mailing list :) Which project on CVS repository can I download the source code of clasess in tomcat-util.jar? In CVS project jakarta-tomcat, I just can not find source codes of class

Exception in RealmBase

2004-12-04 Thread Mike Duffy
Searching the archives, I found two similar issues from earlier this year that were unanswered: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg131837.html http://www.junlu.com/msg/44667.html Basically, there is an exception at startup when using a custom realm implementation (in

RE: Where is the source code of class org.apache.tomcat.util.threads.ThreadPool

2004-12-04 Thread Mark Thomas
jakarta-tomcat-connectors\util\java\org\apache\tomcat\util\threads Mark -Original Message- From: zerol tib [mailto:[EMAIL PROTECTED] Sent: Saturday, December 04, 2004 8:49 AM To: [EMAIL PROTECTED] Subject: Where is the source code of class

Re: logging swallow output

2004-12-04 Thread Roberto Cosenza
Yes, I'm using a ConsoleAppender. Are you telling me to use SimpleLog ? I don't think that the link you sent me clarifies my ideas... /rob David Stevenson wrote: Is your Log4j configured to use a ConsoleAppender? That might possibly explain it.

Re: mod_jk config on mac os x (Modifié par Cyri l Godefroy)

2004-12-04 Thread Cyril Godefroy
Didn't think this was possible but yes, you found the right article. The magic string you gooled was 'osx' Thanks a lot. eCOMPOSITE J2EE Multimedia [EMAIL PROTECTED] Le Dec 3, 2004, à 12:48 AM, Andrew Becherer a écrit : On Thu, 2 Dec 2004 19:15:06 +0100, Cyril Godefroy [EMAIL PROTECTED] wrote:

Re: mod_jk config on mac os x (Modifié par Cyri l Godefroy)

2004-12-04 Thread Mark Lowe
I wrote it a while ago, so if its doesn't work tell me and I'll update it. Mark On Sat, 4 Dec 2004 12:24:52 +0100, Cyril Godefroy [EMAIL PROTECTED] wrote: Didn't think this was possible but yes, you found the right article. The magic string you gooled was 'osx' Thanks a lot. eCOMPOSITE

Re: Tomcat 5.0.28 -- HTTP server dies

2004-12-04 Thread Jon Doe
From: Ben Souther [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat 5.0.28 -- HTTP server dies Date: Fri, 03 Dec 2004 20:37:35 -0500 I've set it to listen on port 80. Are you running tomcat as root? In Unix/Linux only the root user can bind

Filter/...

2004-12-04 Thread Brij Naald
Hi, I need to run a class everytime before a servlet is started. One option is to make a filter, the problem here is that a filter doesn't get called when a servlet is invoked via the requestDispatcher. Is there another solution for this problem?

RE: webapps ROOT folder significance

2004-12-04 Thread Allistair Crossley
In versions prior to 5.5, you could make your own webapp the root context by using an empty path attribute on the Context for your web application. However, in 5.5 you cannot do this and *must* use the ROOT folder for your web application *if* you want the web application accessible from

Chirag: Which Version is Stable 5.5.2 Is this Version Stable

2004-12-04 Thread Chirag
Which is the latest Version which is Stable I have 5.5.2 version it works properly but the problem is that when I try to access it with the IP Address http://160.160.160.160/ then it throws an SocketException and the server hangs I want that the server should be able to host the site as

RE: Filter/...

2004-12-04 Thread Freddy Villalba A.
Hi Brij, I am not sure I have fully understood your question. In any case, I believe that for accomplishing what you've stated you have 2 options: - Use a listener class (it's like a filter, but it's automatically invoked by the servlet container on the ocurrence of different kinds of events,

Re: webapps ROOT folder significance

2004-12-04 Thread Remy Maucherat
On Sat, 4 Dec 2004 16:25:59 -, Allistair Crossley [EMAIL PROTECTED] wrote: In versions prior to 5.5, you could make your own webapp the root context by using an empty path attribute on the Context for your web application. However, in 5.5 you cannot do this and *must* use the ROOT folder

Re: webapps ROOT folder significance

2004-12-04 Thread Savitha 'n' Narahari
Remy you really confused me. Can you elaborate a little more please ? What root.xml file in webapps\ROOT folder ? or jakarta-tomcat-5.5.3\conf\Catalina\localhost folder ? Do you mean a context.xml file in the catalnia\locahost folder ? Please clarify. -Narahari Remy Maucherat [EMAIL

RE: Filter/...

2004-12-04 Thread Brij Naald
Hi, you indeed didn't the question :-) (but still, thanks for answering!) The problem is as follows: I'm making a plugin which puts a wrapper around the request of a servlet. A servlet gets invoked by: doGet(HttpServletRequest request, HttpServletResponse response) What I want to do now is to put

Tomcat 5.0.27-r4 java.net.BindException

2004-12-04 Thread Chris Stratton
I am running Tomcat 5.0.27-r4(Gentoo package) with blackdown-jdk 1.4.2.01 I have been getting this ... StandardServer.await: create[8005]: java.net.BindException: Cannot assign requested address java.net.BindException: Cannot assign requested address at

RE: Chirag: Which Version is Stable 5.5.2 Is this Version Stable

2004-12-04 Thread Allistair Crossley
In terms of 5.5, 5.5.4 is the current stable version. In terms of 5.0, 5.0.29 is the current stable version with 5.0.30 coming soon. I have 5.5.2 version it works properly but the problem is that when I try to access it with the IP Address http://160.160.160.160/ http://160.160.160.160/

Re: webapps ROOT folder significance

2004-12-04 Thread Jacob Kjome
At 09:46 AM 12/4/2004 -0800, you wrote: Remy you really confused me. Can you elaborate a little more please ? What root.xml file in webapps\ROOT folder ? or jakarta-tomcat-5.5.3\conf\Catalina\localhost folder ? Do you mean a context.xml file in the catalnia\locahost folder ? Yep. But make

RE: Filter/...

2004-12-04 Thread Freddy Villalba A.
Interesting issue. Anyway, can't think of anything that solves it in a clean way. If you give me (if you can) further information about what your filter does, I could give it a try at thinking about an alternative solution. Cheers, F. -Mensaje original- De: Brij Naald [mailto:[EMAIL

RE: webapps ROOT folder significance

2004-12-04 Thread Allistair Crossley
lol, i wasn't having a dig Remy don't be so cynical, I am just interested, and you didn't answer my question either ;) I mean, it's not difficult of course to redeploy on another server and rename the WAR, I don't think this is anthing sinister at all, sorry you had to think that, I am merely

RE: webapps ROOT folder significance

2004-12-04 Thread Allistair Crossley
What Remy means is that you need to *create* a new file called ROOT.xml and place it in tomcat/conf/Catalina/localhost (it's not there by default) In that file, add Context docBase=ROOT / Also check out how you can further configure this Context at

more logging in tomcat 5.5

2004-12-04 Thread Jeff Ousley
hello! forgive the rambling nature of this message. my basic question is how do i get more detailed logging out of tomcat. i'm trying to set up a JNDIRealm to authenticate to an ldap server. in my realm config i've got the debug=99 name/value pair. my realm is included inside my host container. i

Re: more logging in tomcat 5.5

2004-12-04 Thread Bill Barker
Jeff Ousley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hello! forgive the rambling nature of this message. my basic question is how do i get more detailed logging out of tomcat. i'm trying to set up a JNDIRealm to authenticate to an ldap server. in my realm config i've got

Tomcat 5.0.28 - How to stop Jasper JSP compiler from evaluting JSTL expressions

2004-12-04 Thread Jerry Rodgers
Hi, I am having a problem where the parameter this is passed to my setItems() method of the jstl forEach tag is actually the .toString() version of my collection. This appears to be because the servlet code generated by Tomcat - Jasper actually evaluates the expression and then use the coerce

Re: Tomcat 5.0.28 - How to stop Jasper JSP compiler from evaluting JSTL expressions

2004-12-04 Thread Bill Barker
Try: [EMAIL PROTECTED] isELIgnored=true % Jerry Rodgers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am having a problem where the parameter this is passed to my setItems() method of the jstl forEach tag is actually the .toString() version of my collection. This appears

RE: Tomcat 5.0.28 - How to stop Jasper JSP compiler from evaluting JSTL expressions

2004-12-04 Thread Jerry Rodgers
Oh so close : I thought you had it. Now my Tomcat JSP generated code looks a bit more like I would expect: _jspx_th_core_forEach_0.setItems(new String(${topnav})); However by setting that variable now the jstl tags do not evaluate the expression either. The tags must key off that attribute

5.5.4 problems deploying with context descriptors

2004-12-04 Thread hanasaki
Just pulled down 5.5.4 to upgrade from 5.0.28 The xml descriptors and hostname directories have been copied from 5.0.28 to 5.5.4 but the contexts do not appear to be deployed. Everything ran fine on 5.0.28 ie: under/Catalina/myhost/descriptor1.xml Is this a known problem? Has the config

RE: 5.5.4 problems deploying with context descriptors

2004-12-04 Thread Allistair Crossley
yes there are some small changes to Context configuration. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html -Original Message- From: hanasaki [mailto:[EMAIL PROTECTED] Sent: Sat 04/12/2004 22:11 To: LIST - Tomcat Users

RE: 5.5.4 problems deploying with context descriptors

2004-12-04 Thread Allistair Crossley
yes for Context and Resource (e.g JDBC Datasource) configuration. read the tomcat configuration documentation online. -Original Message- From: hanasaki [mailto:[EMAIL PROTECTED] Sent: Sat 04/12/2004 22:11 To: LIST - Tomcat Users Cc:

Re: 5.5.4 problems deploying with context descriptors

2004-12-04 Thread hanasaki
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application%20Deployment both of the above pages are the same for auto deployment. What do you mean yes. Please

RE: 5.5.4 problems deploying with context descriptors

2004-12-04 Thread Allistair Crossley
Hi how about you explain a bit more about your problem Is this a known problem? Has the config process changed? yes it has. now it's your job to explain what is happening, including relevant error logging, behaviour, configuration files etc... start with your context's XML file ...

Re: 5.5.4 problems deploying with context descriptors

2004-12-04 Thread hanasaki
Well... I found what looks like an old post from Allistair with the same problem. I am glad someone helped him out with the answer! The path element has been taken out of the context snipet and the xml file for the root/default context hs been renamed root.xml but tomcat is still serving up

RE: 5.5.4 problems deploying with context descriptors

2004-12-04 Thread Allistair Crossley
the point is, you ask a basic question, you get a basic answer. i could have answered this in 1 reply if you had provided your config files. it could have been path, it could have been that you were not using the new Resource element, it could have been that you had not placed a ROOT.xml file

org.apache.ajp.tomcat4.config.ApacheConfig does not generate jkMount / worker

2004-12-04 Thread Thomas Charles Robinson
Hi, Does anyone know how to get an org.apache.ajp.tomcat4.config.ApacheConfig Listener to auto-generate the 'jkMount / worker' directive for apache's mod_jk.conf? More appropriately, what determines an auto-generated jkMount? Is it the context? How does this work? t.

Developing my First web app

2004-12-04 Thread Alessandro Ronchi
Hi to all. I must develop my first Tomcat web app (to make an olap system for datawarehousing queries with versioning support). I'm looking for a (LGPL or similar) gui library to use for my web app, a framework to make the result similar to a non-web app (like a vb one, but with the advantages of

Re: Tomcat 5.0.27-r4 java.net.BindException

2004-12-04 Thread Parsons Technical Services
I wonder if tomcat is loading on startup? Then port 8005 would be in use by tomcat. See what is running and what is using which ports prior to trying a tomcat start. Do this after a reboot. Got to ask the basics. Doug - Original Message - From: Chris Stratton [EMAIL PROTECTED] To:

Re: Tomcat 5 + hostname

2004-12-04 Thread QM
On Fri, Dec 03, 2004 at 12:17:14PM -0500, Lei Lin wrote: : I just want to use server's hostname, not a domain name of the server. : such as http://servername:8080/ accessed by other computer which is : connected in our company's network. Yes, this sounds like the one host has a misconfigured

Re: Filter/...

2004-12-04 Thread QM
On Sat, Dec 04, 2004 at 05:56:15PM +, Brij Naald wrote: : The filter I have now, always get called when there is an incoming request. : But when a servlet uses a requestdispatcher to include another servlet, the : filter doesn't get called. This makes sense: filters are for external

Re: Tomcat 5.0.27-r4 java.net.BindException

2004-12-04 Thread Chris Stratton
It is not. All tomcat shuts down. If I do a ps -ef after it gives me that error is shows all tomcat threads have shutdown. A netstat -a shows 8005 port not in use and no 8080 port in use. I am really stumped. I had a problem once like this and was able to correct it by deleting the work

Re: Tomcat 5.0.27-r4 java.net.BindException

2004-12-04 Thread Parsons Technical Services
Just did some testing on my box. You get a different exception if the port is already in use. Do you have Tomcat configured to only listen on certain IP(s) rather than all addresses. If so check that you don't have a typo and are trying to request an IP not on the box. Doug - Original