security constraints in tomcat 4.1.30

2005-06-03 Thread Angela Stempfel
Hello all I have a problem concerning Tomcat 4.1.30. In web.xml i defined several security constraint. First of all I protected the whole application and then I excluded the directories with images and css files. Furthermore I defined some roles. pre security-constraint

Multiple source directories for one webapp

2005-06-03 Thread Laurent Brucher
Hi all, I guess this is not really new, but I haven't seen any concrete solution nor much discussion about it. So here's the problem: one webapp composed of multiple pieces (jsp, html, css, etc.) located at various locations on the filesystem. I know, this goes against the servlet spec. but

OT Friday - Random sorting

2005-06-03 Thread Mark Benussi
Hello. I am trying to write a comparator that randomly sorts a collection. I have something like this: new Comparator() { /** * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object) */ public int compare(Object object1, Object

Re: OT Friday - Random sorting

2005-06-03 Thread Rafał Krupiński
Mark Benussi wrote: Hello. I am trying to write a comparator that randomly sorts a collection. I have something like this: new Comparator() { /** * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object) */ public int compare(Object object1, Object

Logging the HTTP headers

2005-06-03 Thread cristi
Hello all Is there any posibility of logging the HTTP headers ? Thx. Cristi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: OT Friday - Random sorting

2005-06-03 Thread Mark Benussi
Thanks very much -Original Message- From: Rafal Krupinski [mailto:[EMAIL PROTECTED] Sent: 03 June 2005 09:06 To: Tomcat Users List Subject: Re: OT Friday - Random sorting Mark Benussi wrote: Hello. I am trying to write a comparator that randomly sorts a collection. I have something

AW: Logging the HTTP headers

2005-06-03 Thread Bernhard Slominski
Hi Cristi, they are in the Apache Logfile anyway, why do you want to log them again? Bernhard -Ursprüngliche Nachricht- Von: cristi [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 2. Juni 2005 10:04 An: Tomcat Users List Betreff: Logging the HTTP headers Hello all Is there

NotifyUtil::java.net.ConnectException: Connection refused: connect

2005-06-03 Thread Otgonbayar
My application works fine but following log is streaming. I don't know the reason, what should I do? Thanks Otgo NotifyUtil::java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at

NotifyUtil::java.net.ConnectException: Connection refused: connect

2005-06-03 Thread Otgonbayar
My application works fine but following log is streaming. I don't know the reason, what should I do? Thanks Otgo NotifyUtil::java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at

Re: Logging the HTTP headers

2005-06-03 Thread Markus Schönhaber
Am Donnerstag, 2. Juni 2005 10:03 schrieb cristi: Hello all Is there any posibility of logging the HTTP headers ? http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/valve.html#Request%20Dumper%20Valve Regards mks - To

Re: Context at Host Level

2005-06-03 Thread Andrés Glez.
Exactly what i was looking for. Thanks! - Original Message - From: Mark Thomas [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, June 02, 2005 9:03 PM Subject: Re: Context at Host Level Andrés Glez. wrote: there is no ContainerListener or

Re: OT Friday - Random sorting

2005-06-03 Thread Holger Klawitter
Mark Benussi wrote: Hello. I am trying to write a comparator that randomly sorts a collection. I have something like this: new Comparator() { /** * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object) */

Re: Logging the HTTP headers

2005-06-03 Thread Anto Paul
On 6/3/05, Markus Schönhaber [EMAIL PROTECTED] wrote: Am Donnerstag, 2. Juni 2005 10:03 schrieb cristi: Hello all Is there any posibility of logging the HTTP headers ? http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/valve.html#Request%20Dumper%20Valve What about a Filter ? --

Re: AW: Logging the HTTP headers

2005-06-03 Thread Jon Wingfield
You can also just watch these on the fly with browser plug-ins: IE: google for ieHTTPHeaders Mozilla/FireFox: http://livehttpheaders.mozdev.org/index.html Both have been very useful to us. Jon Bernhard Slominski wrote: Hi Cristi, they are in the Apache Logfile anyway, why do you want to log

Re: Logging the HTTP headers

2005-06-03 Thread Markus Schönhaber
Am Freitag, 3. Juni 2005 11:46 schrieb Anto Paul: On 6/3/05, Markus Schönhaber [EMAIL PROTECTED] wrote: Am Donnerstag, 2. Juni 2005 10:03 schrieb cristi: Hello all Is there any posibility of logging the HTTP headers ?

Re: AW: Logging the HTTP headers

2005-06-03 Thread cristi
thank you all of you. cristi You can also just watch these on the fly with browser plug-ins: IE: google for ieHTTPHeaders Mozilla/FireFox: http://livehttpheaders.mozdev.org/index.html Hello all Is there any posibility of logging the HTTP headers ? Thx. Cristi

RE: OT Friday - Random sorting

2005-06-03 Thread Mark Benussi
Even better, thank you! -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Holger Klawitter Sent: 03 June 2005 09:06 To: tomcat-user@jakarta.apache.org Cc: user@excalibur.apache.org Subject: Re: OT Friday - Random sorting Mark Benussi wrote: Hello. I am trying

Re: Tomcat service terminated unexpectedly

2005-06-03 Thread Ivy Chen
which log file I can check the error message? I had check all files in %TOMCAT_HOME%\logs ,but can't any helpful message. The another process --pc Anywhere host Service on the machine have same issue. Ivy - Original Message - From: Parsons Technical Services [EMAIL PROTECTED] To: Tomcat

RE: Number of running threads

2005-06-03 Thread neil.shadrach
Caldarale, Charles R [mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Why only two rather than maxThreads? How many separate clients are you using to test this with? Browsers typically honor the HTTP RFC recommendation of no more that two concurrent requests to a given

Tomcat 5.5 in dos window

2005-06-03 Thread Søren Blidorf
Hi. Is it possible to start tomcat 5.5 i a dos window instead of as a service? I need it to monitor System.err.println() Soren, DK Nolas Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Tomcat 5.0 Windows NSI Build with custom webapps

2005-06-03 Thread Jean-Philippe Encausse
Hi, How can I make a Windows Tomcat 5.0 Installer with custom configuration and webapp bundled ? Best Regards -- Jean-Philippe Encausse - RD Jalios SA [EMAIL PROTECTED] - http://www.encausse.com - http://www.jalias.com ICQ: 109796741 - AOL: NextOne - MSN: [EMAIL PROTECTED] Mob: +33 6 80 75

Re: Tomcat 5.5 in dos window

2005-06-03 Thread Jason Bainbridge
On 6/3/05, Søren Blidorf [EMAIL PROTECTED] wrote: Hi. Is it possible to start tomcat 5.5 i a dos window instead of as a service? Download the Zip archive instead of the installer and that will have a startup.bat that you can use just for that purpose, no idea why they stopped including the

Tomcat 5.5.x EL (Expression Language) issue

2005-06-03 Thread Woodchuck
hihi all, i am upgrading a webapp from TC 4.1.24 to TC 5.5.9 and discovered what seems to be an EL related issue. my webapp uses: - JSTL 1.0 - web.xml with version 2.3 dtd (ie. EL turned OFF by default) - Struts 1.1 the piece of code with the issue is with the logic:iterate tag basically

Re: Multiple source directories for one webapp

2005-06-03 Thread Marius Scurtescu
Laurent Brucher wrote: Hi all, I guess this is not really new, but I haven't seen any concrete solution nor much discussion about it. So here's the problem: one webapp composed of multiple pieces (jsp, html, css, etc.) located at various locations on the filesystem. I know, this goes against

RE: servlet request time out ?!

2005-06-03 Thread Angelov, Rossen
I tried adding it to my .../WEB-INF/web.xml web-app session-config session-timeout45/session-timeout /session-config ... /web-app but I started getting errors when tomcat is deploying the context: Jun 3, 2005 11:51:20 AM org.apache.commons.digester.Digester error SEVERE: Parse

Tomcat 5.X Cocoon

2005-06-03 Thread Omar Adobati
Good Morning to all, I need to know if anyone can run cocoon on Tomcat 5.x. Reading on the official site of cocoon it seems to not be possible to run cocoon on Tomcat 5.x. This came from the fact that I cant find an help in how to do this on the site. Does anyone can help me? -- Omar Adobati

tomcat-error

2005-06-03 Thread Christian Stalp
Hello together, I have a problem, concerning the normal call of the Tomcat-Startpage. Each time I call the localhost:8180 ( 8180 is my port for tomcat, debian-tomcat ) I get this weired output on my Browser. I don't understand this, the servelt were not compiled in runtime like a PHP or

Eclipse/Error listenerStart problem need Class Loader Configuration Dumper

2005-06-03 Thread tomcat-users . list
I would like to dump the configuration of a specific instance of a class loader form within tomcat. For some reason when I run TC standalone my listener works no problem, the class loader can find my class from within my webapp directory. However when its run under Eclipse it can not, I notice

Re: Tomcat 5.X Cocoon

2005-06-03 Thread Jason Bainbridge
On 6/3/05, Omar Adobati [EMAIL PROTECTED] wrote: Good Morning to all, I need to know if anyone can run cocoon on Tomcat 5.x. Reading on the official site of cocoon it seems to not be possible to run cocoon on Tomcat 5.x. This came from the fact that I cant find an help in how to do this on

RE: Tomcat service terminated unexpectedly

2005-06-03 Thread Sir John Nueva
How much memory do you have in w2k. One time this thing happen to my tomcat but my guess is the ODBC driver. I have a shared foxpro table in use by other application and i have a webapp that access the foxpro table - suddenly shutdown my tomcat service. If you can not find any information in the

Re: Tomcat + HP-UX = NoSuchMethodError java.lang.String.contains(Ljava/lang/String;)

2005-06-03 Thread Wendy Smoak
From: QM [EMAIL PROTECTED] On Thu, Jun 02, 2005 at 05:37:23PM -0700, Wendy Smoak wrote: : Any idea why String.contains(String) wouldn't work within Tomcat 4.1 on : HP-UX and Java 1.5? Doesn't Tomcat 4.1 even support JDK 1.5? Tomcat 4.1 works fine under JDK 1.5 on Windows 2000... I see

why is hostnameverifier() necessary?

2005-06-03 Thread joelsherriff
This is an SSL HostnameVerifier() question. I _believe_ I have my client and server certificates configured properly and, up to now, I have been accessing my server via ip address and using the ip address as the CN in the server cert. So I assumed that the problems I was having on the client

RE: WebappClassLoader - don't understand what's happening

2005-06-03 Thread Herrmann, Sascha \(GE Healthcare\)
Well, it seems that the shared classes in shared\lib really are responsible for this. I tried to move those in the WEB-INF\lib directories. There are a couple of new problems to work out, nothing serious, but the problem with the shared classes vanished. Thanks again for your assistance. did

What is wrong with my TC cofiguration?

2005-06-03 Thread Vernon
I keep getting the following repeating error message in my log file: 2005-06-03 09:54:54,500 DEBUG [org.apache.catalina.session.ManagerBase] - Start expire sessions StandardManager at 1117817694500 sessioncount 4 2005-06-03 09:54:54,500 DEBUG [org.apache.catalina.session.ManagerBase] - End expire

Re: servlet request time out ?!

2005-06-03 Thread Jason Bainbridge
On 6/3/05, Angelov, Rossen [EMAIL PROTECTED] wrote: I tried adding it to my .../WEB-INF/web.xml web-app session-config session-timeout45/session-timeout /session-config ... /web-app but I started getting errors when tomcat is deploying the context: Jun 3, 2005

Could not find a worker error

2005-06-03 Thread Michael Thompson
I am trying to configure mod_jk 1.2.11 to work with apache httpd 2.0.54 and tomcat 5.5 and having difficulties. It seems the worker is not configured correctly. The jk_mod log shows the following error: [Fri Jun 03 10:33:37 2005] [info] jk_handler::mod_jk.c (1976): Could not find a worker for

RE: servlet request time out ?!

2005-06-03 Thread Angelov, Rossen
Jason, thanks for pointing out the order in web.xml matters. Placing the session-config lines after the mappings resolved the problem with the XML exception, but another exception started appearing in the log: Jun 3, 2005 2:17:59 PM org.apache.coyote.tomcat5.CoyoteAdapter service SEVERE: An

Confusion Land

2005-06-03 Thread Thomas Polliard
So I am running Tomcat 5.5.9 I have a jsp page that imports com.polliard.db.RaidDB; It also has a line that invokes a new instance of this class RaidDB rdb = new RaidDB(); The code works on Jetty but when used with Tomcat I am getting the error RaidDB cannot be resolved or is not a type. Any

Re: Confusion Land

2005-06-03 Thread Scott Dudley
Unless I misunderstood, RaidDB.class should be located in directory WEB-INF/classes/com/polliard/db and not WEB-INF/classes/com/polliard/db/RaidDB. Thomas Polliard wrote: So I am running Tomcat 5.5.9 I have a jsp page that imports com.polliard.db.RaidDB; It also has a line that invokes a

RE: Confusion Land

2005-06-03 Thread Thomas Polliard
It is located there. Sorry the location is as you wrote. I was unclear. WEB-INF/classes/com/polliard/db/ Contains RaidDB.class Thanks -- Thomas Polliard Sr. Systems Administrator, AOL [EMAIL PROTECTED] -Original Message- From: Scott Dudley [mailto:[EMAIL PROTECTED] Sent: Friday,

RE: Confusion Land

2005-06-03 Thread Thomas Polliard
From the deployed location of Raid ./login.jsp ./menu.jsp ./index.jsp.old ./WEB-INF ./WEB-INF/classes ./WEB-INF/classes/com ./WEB-INF/classes/com/polliard ./WEB-INF/classes/com/polliard/db ./WEB-INF/classes/com/polliard/db/RaidDB.class ./WEB-INF/lib ./WEB-INF/lib/postgresql-jdbc.jar ./index.jsp

Re: Confusion Land

2005-06-03 Thread Mark Thomas
Thomas Polliard wrote: So I am running Tomcat 5.5.9 I have a jsp page that imports com.polliard.db.RaidDB; It also has a line that invokes a new instance of this class RaidDB rdb = new RaidDB(); The code works on Jetty but when used with Tomcat I am getting the error RaidDB cannot be resolved

Re: Confusion Land

2005-06-03 Thread Tim Diggins
Have you tried reloading the webapp / restarting tomcat? If you're new to tomcat, then I suggest you give a few more details of where the webapp is, and where the jsp page is, and/or how you deployed the web-app, just in case these give a clue. Thomas Polliard wrote: It is located there.

Re: security constraints in tomcat 4.1.30

2005-06-03 Thread Mark Thomas
Angela Stempfel wrote: Hello all I have a problem concerning Tomcat 4.1.30. In web.xml i defined several security constraint. First of all I protected the whole application and then I excluded the directories with images and css files. Furthermore I defined some roles. snip So my problem

Problem posting a large request that requires authentication and is forwarded through the NSAPI redirector

2005-06-03 Thread Kevin Convy \(Contractor\)
For the following configuration: Sun ONE / iPlanet 6.0sp5 NSAPI redirector from jakarta-tomcat-connectors-1.2.8 Tomcat 5.5 (embedded in JBoss 4.0.2) All of the requests that get forwarded over the redirector require authentication. The configuration works fine if the request body is less than

help for ClassNotFoundException

2005-06-03 Thread MEHMOOD, QAISER
Hi , Under tomcat I am integrating the uPortal and running one portlet application in a web context. I put my own classes under the WEB-INF/classes directory and also put jar files in WEB-INF/lib directory , but I am getting the error : ClassNotFoundException ,

JSP too big to compile?

2005-06-03 Thread David Wall
We have a web page that contains many business documents laid out one after the other so a user can just click print and have all of them print together (with a stylesheet that starts each contract on its own printed page). But we seem to be having an error that the generated servlet code is

RE: JSP too big to compile?

2005-06-03 Thread Pascal Gehl
It's a global java limitation. You'are limited to around 10 000 lines of code in a try catch block. Try to use dynamic includes instead of static includes. Pascal Gehl -Original Message- From: David Wall [mailto:[EMAIL PROTECTED] Sent: Friday, June 03, 2005 16:31 To:

Re: JSP too big to compile?

2005-06-03 Thread Joe Plautz
You are actually limited by Java. I can't recall the actual size off hand, but a method can only be so big. From what I remember, it has something to do with server side includes vs jsp includes. We ended up doing some pretty nasty stuff by conditionally doing a server side include. I can't

Re: JSP too big to compile?

2005-06-03 Thread David Wall
The jsp:include is coming very close for us, but we're doing some tricks on these JSP pages that are causing us a problem with this approach. In the main JSP, we are creating a class inside that has the data elements for that page as well as a bunch of custom routines that act on the bean

Re: tomcat 5.5.9 does not read context.xml

2005-06-03 Thread teknokrat
Steve Kirk wrote: yes context.xml is fine in META-INF. in fact it is preferred over having it in server.xml. your alternative is to put it in conf/enginename/hostname/yourwebappname.xml (which is in fact what TC will do for you when it unpacks the war). I don't know that you can have the

RE: Multiple source directories for one webapp

2005-06-03 Thread Laurent Brucher
It all depends on what OS and what editor you use. Under Unix using symbolic links could be a solution. I am not familiar with rsync, but you could use a tool like that to keep two folders in sync. It should be possible to setup a process that is watching your working folder and every

RE: JSP too big to compile?

2005-06-03 Thread Maarten Janssen
you can us includes and then delete the compiled file in the work directory. So split page up by using %@ include file=checklogin.jsp % for each block of general code coded in a include jsp. After upload delete the file in the work directory, so compilation is done at runtime of tomcat. And its

What is wrong with my TC cofiguration?

2005-06-03 Thread Vernon
I keep getting the following repeating error message in my log file: 2005-06-03 09:54:54,500 DEBUG [org.apache.catalina.session.ManagerBase] - Start expire sessions StandardManager at 1117817694500 sessioncount 4 2005-06-03 09:54:54,500 DEBUG [org.apache.catalina.session.ManagerBase] - End expire

(Windows) Tomcat process is using 100% CPU when running a SQL command

2005-06-03 Thread Robson dos Santos Franca
Hello We're using Tomcat 5.5.9 + Sun Java 1.5.0_03 + Oracle 9i in our Intranet application. Everything looks fine... unless we run a SELECT statement into Tomcat. Without the 'ORDER BY' clause, no problem. With 'ORDER BY', Tomcat runs at 100%. JDBC library file: ojdbc14.jar JDBC URL :

RE: (Windows) Tomcat process is using 100% CPU when running a SQL command

2005-06-03 Thread Sir John Nueva
Hi Rodson, Check your JDBC Driver documentation may be it has a bug when use in Sun Java 1.5.0_03. Check for the latest version. This look like a problem in the translation of SQL statement. Cheers, John -Original Message- From: Robson dos Santos Franca [mailto:[EMAIL PROTECTED]

Re: (Windows) Tomcat process is using 100% CPU when running a SQL command

2005-06-03 Thread Robson dos Santos Franca
Hi Sir John, We updated JDBC drivers (at Oracle Website) and it just have worked! Thanks a lot! Robson Sir John Nueva wrote: Hi Rodson, Check your JDBC Driver documentation may be it has a bug when use in Sun Java 1.5.0_03. Check for the latest version. This look like a problem in

Tomcat/mod_jk rpm for FC3

2005-06-03 Thread mbneto
Hi, I am looking for rpms for tomcat/mod_jk that work with FC3. Any tips ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: security constraints in tomcat 4.1.30

2005-06-03 Thread Bill Barker
Along with what Mark said, you should know that TC 4.1.30 stops checking after the *first* matching constraint (so in your case, the '/*' always wins). Try reversing the order of your constraints in web.xml. As Mark mentioned, this has changed in TC 5.x, and your web.xml should work as

RE: Tomcat/mod_jk rpm for FC3

2005-06-03 Thread faisal
believe me man u'd much rather build it for fc3 instead of looking for rpm. i looked for rpm myself for a day or two without much luck and then built it. it only took one and half hour for me to figure out how to build it. -Original Message- From: mbneto [mailto:[EMAIL PROTECTED] Sent: