java.util.logging and tomcat

2003-09-26 Thread Josh G
Just wondering if anybody here has any experience on using java.util.logging with tomcat? I was under the impression that logged lines (and System.out) would go to the tomcat_localhost log, but it seems I am mistaken. Is there something I should adjust in my web.xml or server.xml? Cheers,

Re: JRun - maybe off topic

2003-09-26 Thread Xavier Prélat
Steve, True. JRun features a web connector. It means you can plug any web server (Apache, IIS, Netscape, Zeussee Jrun doc for full list!) to jrun servers..see jrun cluster architecture too! For example you can have 10 apache as a front to 1or several jrun servers.Moreover Jrun

Authentication - based on request parameters

2003-09-26 Thread Morten Andersen
I've developed a authentication mechanism on my own because I could not figure out how to make authentication based on some request - parameters. This is what I've implemented: Whenever the user makes a request, the site parameter plus the path is used to figure out whether the user has the

Re: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-26 Thread Jean-Francois Arcand
Try org.apache.catalina.startup.Embedded.addValve(...) or use the JMX Embedded API. -- Jeanfrancois Mike Kellstrand wrote: OK, adding a Valve to server.xml worked great for a standalone Tomcat. Now Part II, how do I do this with an embedded Tomcat? I get the impression that embedded doesn't

Re: Configuring server.xml for SSL breaks Tomcat

2003-09-26 Thread Christopher Williams
Matt, 2 suggestions: 1. Upgrade your JDK to 1.4.x. JSSE is now integrated with the Java Runtime and, you never know, this step alone might fix your problem. 2. Create and configure the SSL connector using the Admin tool instead of manually editing server.xml.

Re: Authentication - based on request parameters

2003-09-26 Thread Christopher Williams
Morten, HttpServletRequest is simply an interface. If you wanted to subclass it, you would have to implement every member of the interface. However, you could do this easily enough by passing every method that you didn't want to implement to the original request object, for example: public

Re: Authentication - based on request parameters

2003-09-26 Thread kgsat
hi morten You can very well take the power of tomcat which helps you to authenticate in basic JDBC Realm or memory Reams or Userdatabase Realm. and you can use the request object's method called getremoteuser() to get the user name used for authentication by the user.Ensure the user name is

Re: Authentication - based on request parameters

2003-09-26 Thread Morten Andersen
Why is that a security-issue? I wan't the user to enter the site by cliking on a link or whatever, so that the user enters the site using that request. It should be OK, that the user tryes to go to a restricted page by writing blabla:8080/MyApp/restrictedRequest.action?site=JustAGuess But if

Re: Authentication - based on request parameters

2003-09-26 Thread Christopher Williams
The problem is that your model does not seem to be based on a secret and site names don't have a lot of entropy. I don't know enough about your model to give you examples of possible attacks, but it seems to be similar to an access control model where you ask to people to enter their user ID but

One or more tomcats ?

2003-09-26 Thread Laurent Michenaud
Hi, Before, we had one tomcat for our 10 applications. We have tried to have 5 tomcats in parallel and 2 applications per tomcat. Result : We've got the impression that the applications are faster than before. Anybody tried this ? What do u think about having only one tomcat or severals ?

Re: Authentication - based on request parameters

2003-09-26 Thread Morten Andersen
Here is my requirements for the security mechanism: The whole thing is about making secured rooms for groups of user. 1) It should be possible to make new sites / groups while the application is running. 2) The sites has members, and only these should be allowed to do some of the restricted

Re: One or more tomcats ?

2003-09-26 Thread Tim Funk
I prefer 1 tomcat. Please benchmark to prove otherwise. -Tim Laurent Michenaud wrote: Hi, Before, we had one tomcat for our 10 applications. We have tried to have 5 tomcats in parallel and 2 applications per tomcat. Result : We've got the impression that the applications are faster than

tomcat startup problem

2003-09-26 Thread Tich Mandivenga
i, i was wondering if you can help me.I am running tomcat on a Tru64 (v5.1a) box.When i atempt to start tomcat i get this message # ./tomcat start Starting Tomcat FastVM cannot allocate its internal data. Please check process stack size and virtual address space limit. Stack size may be too large,

RE: Tomcat connector for Apache 2.0.47 ... Please Help

2003-09-26 Thread Jeremy Nix
I'd like to see your pdf, and I'm sure other members of this list wouldn't mind seeing it as well. Who knows, maybe we can add it to the slim documentation on the jakarta site. _ Jeremy Nix Senior Application Developer Southwest Financial Ltd. [EMAIL PROTECTED] (513) 621-6699 ext

RE: Tomcat5, SSL, IBM JDK 1.4 and Linux

2003-09-26 Thread Halstead, Chris
Thanks Bill. I actually stumbled across that nugget on a Resin discussion list around 1AM and got it working. Thank the gods for Google. The interesting thing is that while IE, Netscape and Opera all fail to work with the setting sslProtocol=TLS I had no problems at all connecting with

Personalized Tomcat Manager

2003-09-26 Thread Grzegorz Malinka
I have to give access permission to Tomcat Manager for several users, which should manage just its application (not all). Is it possible? -- Regards Grzegorz Malinka RDB-Admin @ DEMO 2B|!2B - To unsubscribe, e-mail: [EMAIL

RE: Authentication - based on request parameters

2003-09-26 Thread Murray
Morten, I missed the orginal post but noticed in a later message you rejected the Tomcat role-based model as too coarse grained. If you use a JDBC based security model you can assign more than one role to a user. I have used this to good effect with the following header code in controlled

HOW INCREASE URL length size ?

2003-09-26 Thread Philippe Couas
Hi, Url limit size is to 451 characters. How can increase it to 800 in Tomcat 4.1.24 ? Thanks Philipe Philippe COUAS Responsable Développement INFODEV S.A.

Re: performance article completed

2003-09-26 Thread Peter Lin
I've temporarily uploaded the article until Remy has time to post it on apache servers. http://webpages.charter.net/eleanorlin/article.zip peter lin Peter Lin [EMAIL PROTECTED] wrote: quick announcement. I've completed the article and emailed it to remy. the related source files are

RE: curiosity kills tomcat

2003-09-26 Thread Shapira, Yoav
Howdy, Good to know ;) ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 11:57 PM To: [EMAIL PROTECTED] Subject: Re: curiosity kills tomcat Actually, there is no need to contact the

RE: How much memory does Tomcat really use?

2003-09-26 Thread Shapira, Yoav
Howdy, You can run tomcat 4.x and 5.x with less than 8MB of RAM. It all depends on what webapps you have configured, connectors, min/maxProcessors, etc. The more general question of heap size vs. overall OS process size is far more difficult to answer. The answer is highly variable from one OS

RE: tomcat startup problem

2003-09-26 Thread Shapira, Yoav
Howdy, Get a JVM that works ;) I don't know what available for Tru64, but your FastVM isn't liking the startup arguments. Are you passing it any command-line options, especially a too big -Xmx setting? Yoav Shapira Millennium ChemInformatics -Original Message- From: Tich Mandivenga

Tomcat not showing any error report

2003-09-26 Thread tirloni
Hi, My problem is described in the following URL. Tomcat is running as 'tomcat' and it doesn't have permission to write to any context path. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20540 What should I check? - To

Re: HOW INCREASE URL length size ?

2003-09-26 Thread Tim Funk
Why do you think limit is 451? -Tim Philippe Couas wrote: Hi, Url limit size is to 451 characters. How can increase it to 800 in Tomcat 4.1.24 ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Tomcat not showing any error report

2003-09-26 Thread Shapira, Yoav
Howdy, Bugzilla is not a help desk support system, these issues are just a waste of time and space and a pain to close later. That said, two things come to mind right away: - docBase should not have a / at the beginning in your context definition. Take out the leading /. - User tomcat must

Form based login - unprotecting folders

2003-09-26 Thread Allan Lykke Christensen
Hi all, I've got a small problem and hope someone can point me in the right direction for a solution. I've built a web-application running from the root context (/) that requires the users to log-in through a form. I set-up Tomcat to protect the application like so (web.xml): -- Snippet from

Re: Tomcat not showing any error report

2003-09-26 Thread Giovanni P. Tirloni
* Shapira, Yoav ([EMAIL PROTECTED]) wrote: Howdy, Bugzilla is not a help desk support system, these issues are just a waste of time and space and a pain to close later. Like I said google and the archives didn't help and my previous post with the same information got no reply. I proceeded

Re: Form based login - unprotecting folders

2003-09-26 Thread Tim Funk
That is a common complaint. But the solution is to move the images to an unprotected area. [easier way] You can also protect by file extension or name of servlet. -Tim Allan Lykke Christensen wrote: Hi all, I've got a small problem and hope someone can point me in the right direction for a

RE: Tomcat not showing any error report

2003-09-26 Thread Shapira, Yoav
Howdy, - User tomcat must have write permission to at least the temp and work directories under $CATALINA_HOME. It owns everything except bin and conf. If you're using a UserDatabase realm for authentication (which is the default), the tomcat user also needs to be able to write

Re: Tomcat not showing any error report

2003-09-26 Thread Tim Funk
1) Check permissions and user ids 2) Are you running with the security manager turned on? If so, I never do so I can't be of help. 3) Do you get the same problems with a default install? 4) If you delete logs/* and work/*, then restart are the logs helpful or do you get the same error? 5) Is

mod_jk Errors

2003-09-26 Thread Rhugga
I get the following errors in the Apache error.log: [Thu Sep 25 17:39:27 2003] [notice] Apache/2.0.47 (Unix) mod_jk2/2.0.2 PHP/4.3.2 DAV/2 configured -- resuming normal operations [Thu Sep 25 17:39:27 2003] [info] Server built: Aug 29 2003 13:33:03 [Thu Sep 25 17:39:37 2003] [error] jk2_init()

Re: Tomcat not showing any error report

2003-09-26 Thread Giovanni P. Tirloni
* Shapira, Yoav ([EMAIL PROTECTED]) wrote: If you're using a UserDatabase realm for authentication (which is the default), the tomcat user also needs to be able to write $CATALINA_HOME/conf/tomcat-users.xml. Ok, thanks for the hint. It had only read permissions. -- Giovanni P. Tirloni

Re: HOW INCREASE URL length size ?

2003-09-26 Thread Christopher Williams
Philippe, I suspect that the underlying question is I want to stick loads of GET parameters in a URL, more than 451 characters' worth. How?. The answer is: don't. Do something else instead: 1. Use HTTP POST 2. Store stuff in the Session. Kind regards, Chris Williams.

mod_webapp incorrectly determining SERVER_PORT

2003-09-26 Thread Phil Radden
I am trying to make use of apache and tomcat behind a load-balancer which causes requests to hit the individual servers on a different port from the user-visible port. Unfortunately, whenever issuing a redirection, tomcat would include the 'behind the scenes' port, instead of the public one.

Serving other files as JSPs

2003-09-26 Thread Duncan Smith
Is it possible to serve other files extentions as JSPs? ie. if I had a file hello.bob, would I be able to run JSP code in it. I have tried adding and extra servlet entry in the web.xml identical to the JSP one but with a differant name and have also tried ading an extra servlet-mapping for both

Re: Personalized Tomcat Manager

2003-09-26 Thread [EMAIL PROTECTED]
Grzegorz Malinka, You might want to edit tomcat-users.xml configuration file. Or use Likha DevCentre. It simplifies your development life cycle in Tomcat. Download it from www.downloads.com or www.javashareware.com. Cheers Bern - Original Message - From: Grzegorz Malinka [EMAIL

RE: Serving other files as JSPs

2003-09-26 Thread Shapira, Yoav
Howdy, All you should add is another servlet-mapping tag for the JSP servlet with the extension of the files you want (e.g. *.bob). Yoav Shapira Millennium ChemInformatics -Original Message- From: Duncan Smith [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 10:43 AM To:

Re: Serving other files as JSPs

2003-09-26 Thread Duncan Smith
thanks. I was sure that I had tried that before, but I just tried it again and it worked. Probably made a spelling mistake before. Cheers, Duncan. Shapira, Yoav wrote: Howdy, All you should add is another servlet-mapping tag for the JSP servlet with the extension of the files you want

Re: JRun - maybe off topic

2003-09-26 Thread Steve Harris
Thanks - that's great - explains everything I need to know. Cheers - Steve On Fri, 26 Sep 2003, Kok Wei, Koh wrote: Hi Steve, Yes you can. Say you have machine A and B, with A running Apache (w/ mod_jrun) and B with JRun. You have to first configure JRun to disable the JRun web server (in

Error Finding config file: workers2.properties

2003-09-26 Thread Rhugga
I get this error during tomcat 4.2.27 startup: INFO: Starting Coyote HTTP/1.1 on port 8443 [Fri Sep 26 07:54:52 2003] (error ) [jk_config_file.c (279)] config.update(): Can't find config file ${serverRoot}/conf/workers2.pr operties [Fri Sep 26 07:54:52 2003] ( info ) [jk_config.c (251)]

Re: HOW INCREASE URL length size ?

2003-09-26 Thread Larry Meadors
You can't. :-D That is a browser limitation. Most are in the range of 2000 chars, but at any rate that is out of your control. You will need to POST if you have a form sending more data than that. If you have urls that are longer than that, then you are in a bad place. ;-) Larry [EMAIL

Re: HOW INCREASE URL length size ?

2003-09-26 Thread Rhino
Viagra maybe? ;-) Rhino - Original Message - From: Philippe Couas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 26, 2003 8:43 AM Subject: HOW INCREASE URL length size ? Hi, Url limit size is to 451 characters. How can increase it to 800 in Tomcat 4.1.24 ?

Directory Listing

2003-09-26 Thread Scott Purcell
Hello, I am running Tomcat 4.0.6 on Win 2000, and I have three web apps running. I would like to turn off directory listing, but cannot figure out how. I have searched google, but have came up empty. Could someone please let me know how to turn 'directory listing' off. [eg http://site/webapp

RE: Directory Listing

2003-09-26 Thread Shapira, Yoav
http://jakarta.apache.org/tomcat/faq/misc.html#listing Yoav Shapira Millennium ChemInformatics -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 12:24 PM To: [EMAIL PROTECTED] Subject: Directory Listing Hello, I am running Tomcat 4.0.6

Re: Tomcat not showing any error report

2003-09-26 Thread Giovanni P. Tirloni
* Tim Funk ([EMAIL PROTECTED]) wrote: 1) Check permissions and user ids Ok, running as user 'tomcat' and group 'tomcat'. It now owns the whole CATALINA_HOME directory. 2) Are you running with the security manager turned on? If so, I never do so I can't be of help. I'm running with it

Jasper Pre-Compiling JSPs with the same name

2003-09-26 Thread Niall Lennon
Hi, I have JSPs in seperate folders with the same name and when i try to precompile them (Using ANT) i get a duplicate class name error... as you'd expect when i pass in one class package name e.g. jasper package=com.mycompany.servlets uriroot=jsps

Re: Error Finding config file: workers2.properties

2003-09-26 Thread Duncan Smith
I had same problem. I found that if the workers2.properties file was supposed to be in {apache-home}/conf/ Good luck :-) Duncan Smith Decker Telecom Ltd Rhugga wrote: I get this error during tomcat 4.2.27 startup: INFO: Starting Coyote HTTP/1.1 on port 8443 [Fri Sep 26 07:54:52 2003] (error

Re: Tomcat not showing any error report

2003-09-26 Thread Giovanni P. Tirloni
* Giovanni P. Tirloni ([EMAIL PROTECTED]) wrote: I played for 2 hours with the configuration and found one thing. When I have the lines below from the server.xml of the default install it stops working (the error report): That should read: When I take the lines below OUT of server.xml of

RE: Directory Listing

2003-09-26 Thread Scott Purcell
Thank you very much, That has a ton of information I can use down the road. Sincerely Scott -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 11:25 AM To: Tomcat Users List Subject: RE: Directory Listing

How do I specify a different workDir for each user accessing the same Tomcat 4.1.27 implementation

2003-09-26 Thread Biswas, Goutam_Kumar
Hi, I am trying to manage a development team wherein each user uses the same instance of Tomcat for development. I do this by having a different server.xml file for each user and having the context docBase point to the build/webapps directory of each user, like shown below: Context

RE: How do I specify a different workDir for each user accessing the same Tomcat 4.1.27 implementation

2003-09-26 Thread Shapira, Yoav
Howdy, If you want to use the same tomcat instance (bad idea IMHO), use a different CATALINA_HOME for each user with the same CATALINA_BASE. Take the rest of your configurations, especially the Loader, out of server.xml. A better alternative is to have a completely separate tomcat instance for

RE: How do I specify a different workDir for each user accessing the same Tomcat 4.1.27 implementation

2003-09-26 Thread Biswas, Goutam_Kumar
Shapira, If I'm not too demanding :-) can you please explain why it is a bad idea to use the same Tomcat instance for more than one user. Is it performance related or is it something else ? Regards, Goutam -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday,

Mail Session oddity

2003-09-26 Thread Cord Awtry
Everyone, I encountered something odd when setting up a new Tomcat server. I have a mail session in the server.xml and when I run my app I get the following error: javax.servlet.ServletException: javax/mail/Session at

RE: How do I specify a different workDir for each user accessing the same Tomcat 4.1.27 implementation

2003-09-26 Thread Shapira, Yoav
Howdy, If I'm not too demanding :-) can you please explain why it is a bad idea to use the same Tomcat instance for more than one user. Is it performance related or is it something else ? Your users above are developers, not normal client users. It's legitimate for developers to experiment

RE: Mail Session oddity

2003-09-26 Thread Shapira, Yoav
Howdy, rest truncated for space You truncated the wrong part: don't truncate the Root Cause part of the stack trace, post it ;) The oddness comes into play in that it works just fine if I run tomcat through my IDE (CodeGuide). It has to be some sort of classpath problem but I can't for

RE: How do I specify a different workDir for each user accessing the same Tomcat 4.1.27 implementation

2003-09-26 Thread Biswas, Goutam_Kumar
Thanks Shapira ... for the feedback and for making me more knowledgeable :-) -Goutam -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 10:31 PM To: Tomcat Users List Subject: RE: How do I specify a different workDir for each user

Re: Mail Session oddity

2003-09-26 Thread Cord Awtry
Yo Yaov, Actually, I didn't truncate the wrong part... that IS the root cause, I left off the beginning and truncated the lowerhalf of the root cause stacktrace. As for the mail.jar and activation.jar those already are in the WEB-INF/lib directory. So now you see where the oddity is :)

Re: Mail Session oddity

2003-09-26 Thread Jon Wingfield
But mail.jar and activation.jar are also in the common/lib directory. I'll bet it's a ClassLoader issue and the exception is really a wrapped ClassCastException. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html Jon Cord Awtry wrote: Yo Yaov, Actually, I didn't

RE: Mail Session oddity

2003-09-26 Thread Phillip Qin
Should your IDE include mail and activation into its classpath? -Original Message- From: Cord Awtry [mailto:[EMAIL PROTECTED] Sent: September 26, 2003 12:53 PM To: Tomcat Users List Subject: Mail Session oddity Everyone, I encountered something odd when setting up a new Tomcat

RE: Mail Session oddity

2003-09-26 Thread Shapira, Yoav
Howdy, Actually, I didn't truncate the wrong part... that IS the root cause, I left off the beginning and truncated the lowerhalf of the root cause stacktrace. As for the mail.jar and activation.jar those already are in the WEB-INF/lib directory. So now you see where the oddity is :)

Re: Mail Session oddity

2003-09-26 Thread Cord Awtry
Jon, Actually, there isn't a mail.jar or activation.jar in common/lib or anywhere in the tomcat directory structure for that matter. But your comment got me thinking... I moved the mail.jar and activation.jar from the WEB-INF/lib directory of my application to the common/lib folder and lo and

Irregular error dumped to stderr without a stack trace.

2003-09-26 Thread SMcGarrity
Hi there, I have spent a bit of time trying to figure out why this problem is happening with no luck - so I decided to email the mailing list. The issue is this: We have a PDF reporting engine running from Tomcat 4.1.24 - in a Production environment. I have a particular report that is erroring

RE: Irregular error dumped to stderr without a stack trace.

2003-09-26 Thread Shapira, Yoav
Howdy, Do you use System.out/System.err to log in your app? Could it simply be an uncaught null pointer exception in your report generation code due to some bad data contents in the report? Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED]

Re: Tomcat not showing any error report (FIXED?)

2003-09-26 Thread Giovanni P. Tirloni
This was my old entry (no error page, nothing): Host name=mydomain.com Alias name=www.mydomain.com Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true/ Context path= docBase=/var/www/mydomain/ Context path=/_webapp privileged=true

RE: Irregular error dumped to stderr without a stack trace.

2003-09-26 Thread SMcGarrity
Yoav, If that were the case the report should bomb out every time it was ran on the same set of data - which its not :( There is a catch in the base servlet that should throw a stack trace for ANY error. After some more debugging, the exception is being caught by this base Exception catch

Re: Irregular error dumped to stderr without a stack trace.

2003-09-26 Thread Tim Funk
Are you sure this isn't being done: System.out.println(e.getMessage()); Which (I think) will print java.lang.NullPointer and nothing else similar to the behavior your getting. -Tim [EMAIL PROTECTED] wrote: Yoav, If that were the case the report should bomb out every time it was ran on the

RE: Irregular error dumped to stderr without a stack trace.

2003-09-26 Thread SMcGarrity
No - its a printStackTrace() that is being used - we dont use getMessage() at that point at all - if we had it would be in the stdout log though - we only use System.out for debugging messages. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003

RE: Irregular error dumped to stderr without a stack trace.

2003-09-26 Thread Shapira, Yoav
Howdy, If that were the case the report should bomb out every time it was ran on the same set of data - which its not :( The above suggests a thread contention or race condition type issue. There is a catch in the base servlet that should throw a stack trace for ANY error. So it does try {

Session Affinity

2003-09-26 Thread Ho, Raymond
Hi, I am trying to load balance between 2 Tomcat servers. But I cannot get session affinity to work. The first time I get a page from the browser, I would receive a page from one server. Then when I refresh (reload from browser) the page, I would get a page from the other tomcat server. I have

Re: Session Affinity

2003-09-26 Thread Filip Hanik
did you set up jvmRoute in server.xml ? Filip - Original Message - From: Ho, Raymond [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 26, 2003 11:57 AM Subject: Session Affinity Hi, I am trying to load balance between 2 Tomcat servers. But I cannot get session affinity

When does tomcat call the garbage collector?

2003-09-26 Thread Bruce W. Marriner
Hello I am working on a crm web app in jsp. I am pre-compiling everything with ant and serving them as servlets though tomcat. I am curious when tomcat does garbage collection on the servlets. For instance, if a servlet opens stuff up I would imagen when that page has finished

Re: When does tomcat call the garbage collector?

2003-09-26 Thread Filip Hanik
it is your own responsibility to close connections from a pool. Tomcat doesn't do garbage collection, the Java VM does. Also, if you kill your VM and the connections are still open on the AS400 box, tough luck, (I would imagine they should timeout shortly) that is out of reach from the VM/Tomcat

Pleas help (Custom Authenticator Reaml Problem)

2003-09-26 Thread Lawence
Dear all, I wrote my own authenticator (extends FormAuthenticator) realm (extends JDBCRealm). What I need is to check one more field in the database besides password for authentication. Only minor modifications are made on the original codes so I think it should be fine. What I also did

RE: Irregular error dumped to stderr without a stack trace. (SOLV ED)

2003-09-26 Thread SMcGarrity
Just an FYI. I appear to have solved this problem - a variable was 'magically' nulling itself when I did NOT null it at random intervals (I am suspicious of our Garbage Collection settings right now but we shall see...) Still doesnt explain why there was no stacktrace attached with the

[ot] Re: Irregular error dumped to stderr without a stack trace. (SOLVED)

2003-09-26 Thread Filip Hanik
I love how things in a world with only 0/1 (zeros and ones) can be magic and random :)) Filip - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 26, 2003 12:26 PM Subject: RE: Irregular error dumped to stderr without a stack trace. (SOLVED) Just

RE: When does tomcat call the garbage collector?

2003-09-26 Thread Bruce W. Marriner
For some reason I figured when tomcat shutdown, along with the JVM -- it would finalize any open classes. And with that action it would close the open connections. Yes the open connections will die after a set value, some x odd hours. It is rather easy to control the number of

Re: Session Affinity

2003-09-26 Thread David Rees
Filip Hanik said: did you set up jvmRoute in server.xml ? - Original Message - From: Ho, Raymond [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 26, 2003 11:57 AM Subject: Session Affinity My configuration is Solaris 2.9, Apache 2.0.47, Tomcat 4.1.27 and JK2

new build of isapi_redirector2.dll

2003-09-26 Thread David Boyer
The current Jakarta release version is 2.0.2 which is from Fall 2002. If anyone is interested in trying something newer, I've posted a build on my web site: http://web.bvu.edu/staff/david/tcservcfg/isapi_redirector2.zip This based on the Tomcat 4.1.27 source code with the current Apache httpd

addendum: new build of isapi_redirector2.dll

2003-09-26 Thread David Boyer
I have also gotten the latest cvs snapshot to build fine so long as I use the 1.52 version of jk_channel_socket.c. Both this and the 4.1.27-based isapi_redirector2.dll are available at the link below. If they work, this should give us access to most of the latest bug fixes until the next

Re: new build of isapi_redirector2.dll

2003-09-26 Thread John Turner
Thanks! John David Boyer wrote: The current Jakarta release version is 2.0.2 which is from Fall 2002. If anyone is interested in trying something newer, I've posted a build on my web site: http://web.bvu.edu/staff/david/tcservcfg/isapi_redirector2.zip This based on the Tomcat 4.1.27 source

RE: Mail Session oddity

2003-09-26 Thread Phillip Qin
Maybe you are using Tomcat's mail session resource. That particularly looks for mail.jar and activation.jar in common/lib -Original Message- From: Cord Awtry [mailto:[EMAIL PROTECTED] Sent: September 26, 2003 1:34 PM To: Tomcat Users List Subject: Re: Mail Session oddity Jon,

RE: Session Affinity

2003-09-26 Thread Ho, Raymond
Yes I did. After your email I checked again. But this time, I found the problem. The jvmRoute was misspelled; it had jmvRoute. This is misspelled in the original server.xml file. I corrected the spelling and it works fine now. Thanks for your help. Ray -Original Message- From: Filip

Resource Questions

2003-09-26 Thread justin
Hi. I have recently begun using Tomcat and I am trying to gain a better understanding of its configuration. Currently, I am most confused with the relationship between Resources, GlobalNamingResources, and resource-refs. I have configured a JDBC datasource Resource within a context in the

RE: Tomcat connector for Apache 2.0.47 ... Please Help

2003-09-26 Thread Bhaskar Marthi
dean, As said by lot of members, it would be great if you can post your document in the mailing list. BTW, did anyone try resin? How does it compare to tomcat? Thanks, Bhaskar The information contained in this communication may be confidential or legally privileged and is intended only for

Re: Configuring server.xml for SSL breaks Tomcat

2003-09-26 Thread Matt Morgan
Thanks. I tried both suggestions exhaustively but don't any much better success. I have apache running SSL on this same server. Should I be working on the jk2 connector instead, to use Apache's SSL? That looked more complicated at first. Thanks, Matt Matt, 2 suggestions: 1. Upgrade your JDK

Re: Tomcat connector for Apache 2.0.47 ... Please Help

2003-09-26 Thread John Turner
20 pages? What else is in there besides connector configuration? Just curious John Bhaskar Marthi wrote: dean, As said by lot of members, it would be great if you can post your document in the mailing list. BTW, did anyone try resin? How does it compare to tomcat? Thanks, Bhaskar

Re: Error Finding config file: workers2.properties

2003-09-26 Thread Nikola Milutinovic
INFO: Starting Coyote HTTP/1.1 on port 8443 [Fri Sep 26 07:54:52 2003] (error ) [jk_config_file.c (279)] config.update(): Can't find config file ${serverRoot}/conf/workers2.pr operties [Fri Sep 26 07:54:52 2003] ( info ) [jk_config.c (251)] config.setAttribute() Error setting config: file

(Apache Tomcat) || (Tomcat with CGI Support)?

2003-09-26 Thread Lawence
Dear All, I need to accomondate some old cgi scripts on my website but primarily it uses java. I am wondering which comb is better in terms of simplicity and usability. By the way, I tried to enable CGI support with Tomcat, but since the installation path of Tomcat contains white space, it

Re: (Apache Tomcat) || (Tomcat with CGI Support)?

2003-09-26 Thread John Turner
I've never tried it, but change the path to c:\progra~1. John Lawence wrote: Dear All, I need to accomondate some old cgi scripts on my website but primarily it uses java. I am wondering which comb is better in terms of simplicity and usability. By the way, I tried to enable CGI support

RE: (Apache Tomcat) || (Tomcat with CGI Support)?

2003-09-26 Thread Wilson, Allen
I just finished configuring my Tomcat system to run CGI scripts but that was on a Solaris system. The main thing I can point out is make sure your JDK is up to date and if it is not be sure to read the compatibility issues on updating from an older version to a new one. Allen -Original

Servlets / Includes - not working

2003-09-26 Thread Keith O'Brien
Hello, Current working environment: RedHat 7.3 jakarta-tomcat-4.1.24 apache_1.3.27 j2sdk1.4.1_02 I setup tomcat to use multiply workers so each apache server would have its own worker and catalina base. This setup works for serving jsp pages and the examples page works (except Include and

Regression? Tomcat 4.1.27 spiraling out of control!

2003-09-26 Thread Jeff Larsen
I just upgraded my production server to tomcat 4.1.27 running on Solaris 7 with java 1.4.2_01. I am using Ajp13 connections to Apache 1.3.23 with mod_jk 1.2.0. I was running 4.0.4 on java 1.3.0 without incident. It ran fine for a day and a half, but then over a period of about 10 minutes I got a

Re: Session Affinity

2003-09-26 Thread Filip Hanik
He said he did, see above. -Dave He said he did, but he didn't LOL :) Filip - Original Message - From: David Rees [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 26, 2003 12:44 PM Subject: Re: Session Affinity Filip Hanik said: did you set up

Difference between path-mapped and servlet-mapped filters

2003-09-26 Thread Julien Martin
Hello, Can anyone please explain to me what the difference is between path-mapped and servlet-mapped filters. Thanks in advance, Julien. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Error Finding config file: workers2.properties

2003-09-26 Thread Rhugga
Duncan Smith wrote: I had same problem. I found that if the workers2.properties file was supposed to be in {apache-home}/conf/ Good luck :-) Duncan Smith Decker Telecom Ltd Rhugga wrote: I get this error during tomcat 4.2.27 startup: INFO: Starting Coyote HTTP/1.1 on port 8443 [Fri Sep 26

Question Regarding AJP Connectors

2003-09-26 Thread Rhugga
If I am only using Tomcat as a JSP/Servlet engine using mod_jk2, and I am using a Unix socket for communication, I do not need these connectors correct? !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -- !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- !-- Define an

Data corruption with large messages

2003-09-26 Thread Stewart, Daniel J
Vitals: Tomcat version: 4.1.27 Tomcat configuration: Out-of-the-box (except for my app's WEB-INF) OS: solaris 2.9 My servlet skill level: medium-low Problem: When receiving a HTTP 1.0 POST with a 10kbyte payload, my doPost() method writes the message body to a file. The file is the right size,

Re: Pleas help (Custom Authenticator Reaml Problem)

2003-09-26 Thread Tim Funk
To save you lots of headaches, can you just use a filter to perform authorization and let JDBCRealm do the authentication? (IIRC) The authenticators do authentication and authorization by delegating some of those tasks to the Realm. But all the bookkeeping needs to be done by the authenticator

Re: Regression? Tomcat 4.1.27 spiraling out of control!

2003-09-26 Thread Tim Funk
IIRC when 4.1.28 comes out, (see the FAQ for a release date), I'm pretty sure it has some connector fixes which may help some people in your condition. (Of course, I might be thinking of something different too) -Tim Jeff Larsen wrote: I just upgraded my production server to tomcat 4.1.27

Re: Difference between path-mapped and servlet-mapped filters

2003-09-26 Thread Tim Funk
A filter can be mapped against a URL. (path mapped) or A filter can be mapped against a servlet declaration(servlet mapped) -Tim Julien Martin wrote: Hello, Can anyone please explain to me what the difference is between path-mapped and servlet-mapped filters. Thanks in advance, Julien.

  1   2   >