Re: Another JSP precompile question (KMM140684V88743L0KM)

2005-09-06 Thread eBay Deutschland Customer Support
Hallo, unter Ihrer E-Mail-Absenderadresse tomcat-user@jakarta.apache.org liegt uns leider keine Anmeldung vor. Ich bitte Sie, uns Ihre Anfrage noch einmal von der E-Mail-Adresse zu senden, die bei uns registriert ist. Aus datenschutzrechtlichen Gruenden duerfen wir nur dann persoenliche

Tomcat DB Connection Pooling

2005-09-06 Thread Dhiren Bhatia
Hi I'm having a problem reclaiming connections in my database connection pool. I'm using the standard db conn pooling with Tomcat 5.5.9 with MySQL. I release the connection as well as close the PreparedStatement in the code after use. However, I still get errors with logEnabled set to true

out of the office

2005-09-06 Thread Thierry Jurado
I will be out of the office starting 06/09/2005 and will not return until 07/09/2005. Please call me on my mobile in case of urgency: +33 6 84 75 80 58 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: how tomcat not run .EXE as CGI

2005-09-06 Thread Mark Thomas
gjl wrote: Thanks very much to read my question. I have tomcat5.0 for Win32 installed locally on Windows 2k, SP4. I'm trying to run a namazu.cgi.exe (a Full-Text Search Engine. that's not Perl scripts ,but a binary file) . the file is in Tomcat 5.0\webapps\XXX\WEB-INF\cgi ,and I set the

HttpServletResponse's getOutputStream() methtod.

2005-09-06 Thread Saminda Abeyruwan
Hi all, I'm using tomcat 5.0.28 in Linux environment. In doPost(...) method i'm asking HttpServletResponse's output stream. Tomcat provide me with *org.apache.coyote.tomcat5.CoyoteResponseFacade *getOutputStream(), which gives me a chunked output stream. Providing a chunked output stream

use php in servlet engine.

2005-09-06 Thread David Delbecq
Hello, We are facing a question here. How to integrate an old existing php site inside a tomcat container. I think about 2 possible solutions: 1) run apache+php on a specific port and have tomcat do some proxying on a url. (like http://server/php/* - apache-php) 2) create a webapplication

RE: getRealPath() returns real path plus context path

2005-09-06 Thread Raghupathy,Gurumoorthy
servletContext.getRealPath() is real path to the context path + the argument ... So if you say servletContext.getRealPath(hithere) .. It will return C:\path\to\tomcat\webapps\tool\hithere Regards Guru -Original Message- From: Franz-Josef Herpers [mailto:[EMAIL PROTECTED] Sent: 05

Re: use php in servlet engine.

2005-09-06 Thread Viorel Dragomir
Choose 1. But with some modifications apache + php + mod_jk - tomcat Viorel Dragomir . .. --- - Original Message - From: David Delbecq To: Tomcat Users List Sent: Tuesday, September 06, 2005 10:00 Subject: use php

Re: getRealPath() returns real path plus context path

2005-09-06 Thread Edmund Urbani
Franz-Josef Herpers wrote: Hi, I've a problem when using ServletContext#getRealPath() with Tomcat 5.5.9. My web application resides under the name tool in the webapps directory. When I call servletContext.getRealPath(request.getContextPath() I get the real path but always with the context

Re: use php in servlet engine.

2005-09-06 Thread David Delbecq
Le Mardi 6 Septembre 2005 11:07, Viorel Dragomir a écrit : Choose 1. But with some modifications apache + php + mod_jk - tomcat am not used to apache configuration, and have read several mails related to mod_jk problem since am watching this mailing list (well , so guess what, am a bit

Re: Do URL query strings with semi-colons work with TC ?

2005-09-06 Thread Darryl L. Miles
http://www.faqs.org/rfcs/rfc2396.html section 3.3 seems to be the best reference so far. This RFC only specifies correct URI syntax, it does not mandate how that URI is used under any scheme (like http:) is to be used. Darryl L. Miles wrote: The reference you cite

Re: getRealPath() returns real path plus context path

2005-09-06 Thread Franz-Josef Herpers
Hi, Edmund Urbani wrote: the getRealPath method simply returns a path inside the webapp's directory. eg. you can do getRealPath(images/someimg.jpg) and get the actual filesystem path for that file, so you can access it using java.io.File and do something with it. getRealPath(/) should give

AllowSymlink not working

2005-09-06 Thread Francois JEANMOUGIN
Hi all, Using tomcat 5.0.28 embedded in an application server. In this tomcat, I have an application in which classes and libs are symlinks to other parts of the FileSystem. I tried several AllowSymlink configurations (inside contetx, outside context, etc.) and several catalina.policy

Re: Do URL query strings with semi-colons work with TC ?

2005-09-06 Thread Jon Wingfield
Aye. It just states for that, amongst others, amphersand and semi-colon are reserved characters within the query string. This got me looking coz I assumed that the structure of the http get query string was defined somewhere in rfc rather than just a convention. I found a few resources

Re: AllowSymlink not working

2005-09-06 Thread Giacomino Raccuia
On 06/09/2005 11:12, Francois JEANMOUGIN wrote: Hi all, Using tomcat 5.0.28 embedded in an application server. In this tomcat, I have an application in which classes and libs are symlinks to other parts of the FileSystem. I tried several AllowSymlink configurations (inside contetx, outside

RE: AllowSymlink not working

2005-09-06 Thread Francois JEANMOUGIN
Hi! I simple add this lines (in bold) to server.xml Ok, as ususal, the problem was that the application server used an API that do not restart tomcat but simply restart the Catalina Engine, so it was not reading the conf files. Your hellp helped me to search somewhere else for the problem.

What's better, having one large servlet or many small ones?

2005-09-06 Thread Raueber Hotzenplotz
Hello Should I have one handler with many methods or more handlers with less methods (1-2)? Thanks! ___ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.

RE: What's better, having one large servlet or many small ones?

2005-09-06 Thread Mark Benussi
Many small ones. -Original Message- From: Raueber Hotzenplotz [mailto:[EMAIL PROTECTED] Sent: 06 September 2005 10:50 To: tomcat-user@jakarta.apache.org Subject: What's better, having one large servlet or many small ones? Hello Should I have one handler with many methods or more

Re: how tomcat not run .EXE as CGI (KMM147972V1081L0KM)

2005-09-06 Thread eBay Deutschland Customer Support
Hallo, leider koennen wir den genauen Sachverhalt Ihres Anliegens nicht nachvollziehen. Bitte schildern Sie uns Ihr Anliegen noch etwas ausfuehrlicher, damit wir Ihnen weiterhelfen koennen. Unser Tipp: Nennen Sie bei Ihren Anfragen auch immer Ihren Mitgliedsnamen, die der Beteiligten und die

Re: Do URL query strings with semi-colons work with TC ?

2005-09-06 Thread Darryl L. Miles
http://ppewww.ph.gla.ac.uk/~flavell/www/formgetbyurl.html Not sure what authorative basis this has, but it did turn up from NCSA based CGI specifications of yesteryear. Maybe the MIME specification for application/x-www-form-urlencoded wherever that is (cant find it either). It must be

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
Hi Nicolas, Thanks for your reply, I really appreciate your help. I'm not sure I fully understand your solution. I see now that the webXmlFragment provides a convenient way to generate the XML needed for the Servlets but that have bizarre names. Let's say I have a jsp:

Re: HttpServletResponse's getOutputStream() methtod.

2005-09-06 Thread Tim Funk
If you want to disable chunked encoding - you need to determine how much data you will send so setContentLength can be called. -Tim Saminda Abeyruwan wrote: Hi all, I'm using tomcat 5.0.28 in Linux environment. In doPost(...) method i'm asking HttpServletResponse's output stream. Tomcat

Re: Pre-compiled JSPs?

2005-09-06 Thread Darryl L. Miles
What you see looks like normal jasper name mangling of generated pages. You use: http://myserver:8080/RichardsApp/DoSomething.jsp I presume there is also a generated mapping entry, that you may have overlooked: servlet-mapping servlet-nameRichardsApp.DoSomething_jsp/servlet-name

Re: HttpServletResponse's getOutputStream() methtod.

2005-09-06 Thread Saminda Abeyruwan
Tim Funk wrote: If you want to disable chunked encoding - you need to determine how much data you will send so setContentLength can be called. -Tim Hi Tim, Thanks for the reply, Is it something like, response.setContentLength(1000); OutputStream out = response.getOutputStream(); Yet, i

Re: HttpServletResponse's getOutputStream() methtod.

2005-09-06 Thread Tim Funk
I thought if setContentLength() is used, then chunked encoding is not used. Is that not the case? -Tim Saminda Abeyruwan wrote: Tim Funk wrote: If you want to disable chunked encoding - you need to determine how much data you will send so setContentLength can be called. -Tim Hi Tim,

Loss of Subject/AccessControlContext in JSTL

2005-09-06 Thread Michiel Toneman
We've been tracking a nasty issue in our web application when using Tomcat 5.0.28 and JSTL. If we call a method from JSTL, any code that tries to access the AccessControlContext behaves differently than it would if called directly in a JSP using plain java. e.g. If we have a utility

Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Leon Rosenberg
Hi, This is quite ugly but we are running out of ideas. We are currently experiencing stange behaviour of tomcat (or the VM). Our tomcat hangs (not reproduceable, but probably on parallel requests to similar methods) in session.getAttibute(): We checked the source code of the HashMap,

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Larry Isaacs
I have seen instances of a HashMap whose entries got circularly linked, I assume, due to updates which where not thread safe. Any thread using a get() on such a HashMap will spin forever chasing its tail. Cheers, Larry -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED]

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
Eureka! I get it now. :) Indeed, I hadn't noticed the servlet-mapping section down the bottom. I looked at the xml and foolishly assumed that it merely repeated all the way to the bottom. Now that you've pointed out that, it all makes sense. Thanks for all your help, I shall have a play and

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Leon Rosenberg
On Tue, 2005-09-06 at 08:47 -0400, Larry Isaacs wrote: I have seen instances of a HashMap whose entries got circularly linked, I assume, due to updates which where not thread safe. Any thread using a get() on such a HashMap will spin forever chasing its tail. Cheers, Larry Could be

RE: JK-1.2.14 for Apache WebServer 2.0.x

2005-09-06 Thread Guernsey, Byron \(GE Consumer Industrial\)
It might be because 1.2.14 crashes on Apache 2 + Solaris? (from my observations and tests) See my thread which, so far, has no responses outside of my own: JK 1.2.14.1 SIG BUS Error on Solaris 9 Byron -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday,

RE: What's better, having one large servlet or many small ones?

2005-09-06 Thread Jason Bell
Raueber Keep in mind that one day it could be many people reading your code, so I would suggest you have many servlets doing specific things. Regardless of whether it's a servlet, jsp or Java application think of future prospects of your code. Ideally you could hand it to anyone and they

IIS with tomcat

2005-09-06 Thread Gilbert, Antoine
Hi I am using IIS 5.0 with Tomcat 4.0.6 My web application is working fine except at one place I have a single page, and within this page there is an IFRAME which source referring to another page. And somehow the session in the IFRAME is never the same than in the main page. I am using

RE: What's better, having one large servlet or many small ones?

2005-09-06 Thread Guernsey, Byron \(GE Consumer Industrial\)
Solely my opinion based on experience with 100's of servlets- it doesn't matter. If the application is complex enough to worry about this, get a MVC framework like struts for better organization inside the servlet and let it draw the distinctions between pieces of the application. Byron

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Larry Isaacs
-Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 06, 2005 9:03 AM To: Tomcat Users List Subject: RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get() On Tue, 2005-09-06 at 08:47 -0400, Larry Isaacs wrote: I have seen instances

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
Ah, I thought it was all too good to be true. Now that I have an understanding of how to put it all together, I have given it a go but hit another snag. Remember the use of the 'errorOnUseBeanInvalidClassAttribute' flag? Well, of course, that means that when the JSPs were turned into Java

Get user name from request.something()

2005-09-06 Thread 梁炳場
When JDBCRealm is implemented, 1. after login, can the HttpServletRequest of Struts Action get the username? 2. after login, if user ever bookmarked a page or something, can Tomcat force the user go back to the beginning page? Thanks

RE: Why does tomcat redirect to welcome files

2005-09-06 Thread Jim Kennedy
Thanks Mark, found some good info. Another question: Is is possible to force a forwards for welcome pages with Tomcat. Is there an engine setting for that? Or would I be forced to change the Tomcat source. I notice with other web servers (i.e. IIS) I can specify a default page which returns

How to stop Tomcat supplying HTML for statues

2005-09-06 Thread David Goodenough
I have a server which is being used only for XML servlets. I would like to send back error responses either as an XML error or, in the case of a non-200 status code just to send back the status code and a single line text message. I set the status (which seems to work) and the text, which again

Re: Pre-compiled JSPs?

2005-09-06 Thread Tim Funk
errorOnUseBeanInvalidClassAttribute (IIRC) is a test when jsp:useBean is used without a default constructor being available. If you are using include files which were as meant as compile time include fragments, rename them (the include files) to jspf and they will be ignored by the jsp

Re: How to stop Tomcat supplying HTML for statues

2005-09-06 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#error -Tim David Goodenough wrote: I have a server which is being used only for XML servlets. I would like to send back error responses either as an XML error or, in the case of a non-200 status code just to send back the status code and a

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Leon Rosenberg
If I understand you correctly your scenario is: HashMap Entry has a linked list of X entries at one position and entry[Y] is poiting to the first entry instead of next or null? Correct. But how can that happen? a JVM / Core Api bug? The error is likely in webapp code, since the

RE: With tomcat 5 redirects to a secure port the connection fails

2005-09-06 Thread Julie Moore
Does anyone have a site that is running through a proxy? Could there be something I am missing because of that? -Original Message- From: Julie Moore [mailto:[EMAIL PROTECTED] Sent: Monday, August 29, 2005 1:50 PM To: tomcat-user@jakarta.apache.org Subject: With tomcat 5 redirects to a

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
Sorry, I don't understand. How will my JSP compile at all if a section (fragment) is ignored and, presumably, omitted from the resulting java file? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 06 September 2005 15:05 To: Tomcat Users List Subject: Re: Pre-compiled

compile precompile jsps at runtime

2005-09-06 Thread Zachi Hazan
Hi all, Is there a way to compile precompiled jsp at runtime? i.e., I want to precompiled my jsp before deployment, but after they are deployed I still want to make changes to the jsps that will take effect immediately. I want to be able to change jsp and see the changes immediately although

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get() and replace all req.getSession().setAttribute(beanName, beanValue) in code with the call to this method (same for remove) and I've solved my problem? Unfortunately, you

tomcat war expansion fails on .cvsignore file

2005-09-06 Thread Ben Wong
Hi, I have a .cvsignore file at the top level of my war file. does anyone has any idea what this error message is about? This errors occurs when Tomcat is started up, expanding the war file under webapps. Thanks! Sep 6, 2005 5:09:30 AM org.apache.catalina.startup.HostConfig deployWARs

Re: Pre-compiled JSPs?

2005-09-06 Thread Tim Funk
For example: File a.jsp % String worldVar = null; % [EMAIL PROTECTED] file='b.jsp'% Hello %=worldVar% File b.jsp %worldVar = world% Notice b.jsp will not precompile. But then again - no one should be calling b.jsp since its not a jsp - its a jsp fragment. It should be calld b.jspf. I am

Re: compile precompile jsps at runtime

2005-09-06 Thread Tim Funk
Can't with tomcat out of the box. -Tim Zachi Hazan wrote: Hi all, Is there a way to compile precompiled jsp at runtime? i.e., I want to precompiled my jsp before deployment, but after they are deployed I still want to make changes to the jsps that will take effect immediately. I want to be

RE: tomcat war expansion fails on .cvsignore file

2005-09-06 Thread Arup Vidyerthy
I think you can't have that file there as the war files have to follow a certain structure. -Original Message- From: Ben Wong [mailto:[EMAIL PROTECTED] Sent: 06 September 2005 15:56 To: tomcat-user@jakarta.apache.org Subject: tomcat war expansion fails on .cvsignore file Hi, I have a

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
Hi Tim, Yeah, that's my exact issue, except the pages somewhat more complicated than your example. ;o) I've tried renaming one of them to jspf and, unsurprisingly, it has been ignored by the JSP compiler. I'll have to take your word that it would still work in the parent (once the reference had

Re: compile precompile jsps at runtime

2005-09-06 Thread Zachi Hazan
So, how can I do it with tomcat not out of the box? Tim Funk wrote: Can't with tomcat out of the box. -Tim Zachi Hazan wrote: Hi all, Is there a way to compile precompiled jsp at runtime? i.e., I want to precompiled my jsp before deployment, but after they are deployed I still want to

Re: Pre-compiled JSPs?

2005-09-06 Thread Tim Funk
From the jasper task all the [valid] jsp's are turned into java files and compiled into class files. Those class files need to be a jar file in WEB-INF/lib or inside WEB-INF/classes. The jasper task can also rewrite web.xml so that all the mappings from the JSP -- class file are taken care of.

Re: compile precompile jsps at runtime

2005-09-06 Thread Tim Funk
A lot of custom coding on your own. You'd need a filter which traps all your precompiled servlet mappings and then checks to see of the jsp the file was mapped to has changed. Then you'd need to somehow manage compiling the JSP and loading the class file while ignoring the existing mapping.

Source code for naming-factory-dbcp.jar ?

2005-09-06 Thread Darryl L. Miles
Where is the source code that makes up the JAR naming-factory-dbcp.jar it does not appear to be inside: jakarta-tomcat-5.5.9-src.tar.gz -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[SOLVED] Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Leon Rosenberg
Chuck, Larry thanx. regards Leon On Tue, 2005-09-06 at 09:53 -0500, Caldarale, Charles R wrote: From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get() and replace all req.getSession().setAttribute(beanName, beanValue) in

RE: compile precompile jsps at runtime

2005-09-06 Thread Peter Crowther
From: Zachi Hazan [mailto:[EMAIL PROTECTED] Subject: Re: compile precompile jsps at runtime So, how can I do it with tomcat not out of the box? One approach would be to cheat! Tomcat compiles the page when the page is first invoked. So, you could for example define a special parameter as

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Arup Vidyerthy
Guys, I have been watching this thread with interest. Does this mean that all session.setAttribute() and session.getAttribute() should always be synchronised (for instance, inside a servlet or struts action) provided the same hashmap is accessed by say more than one servlet/struts action? Kind

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
Tim, Is there no way of turning the fragment (jspf) file into .class files or do they need to remain as JSPs? Cheers, Richard. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 06 September 2005 16:14 To: Tomcat Users List Subject: Re: Pre-compiled JSPs? From the

Re: Tomcat 5.5 classloader log4j vs JCL issue

2005-09-06 Thread Woodchuck
hihi Paul, i tried your suggestion but it still did not work. however, i finally found out why. the problem web application had the following code: try { System.setProperty(org.apache.commons.logging.Log, org.apache.commons.logging.impl.Log4JCategoryLog);

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Leon Rosenberg
seems so:-) I just wrote an util class, you may use it if you need :-) HTH Leon package xxx-omitted-xxx; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import javax.servlet.jsp.PageContext; import org.apache.log4j.Logger; public class BeanUtil {

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Caldarale, Charles R
From: Arup Vidyerthy [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get() Does this mean that all session.setAttribute() and session.getAttribute() should always be synchronised That's the conclusion I'm reluctantly coming to, if there is the

Re: Pre-compiled JSPs?

2005-09-06 Thread Tim Funk
There is no need to turn jspf into classes. The jspf are included by real jsp files. Those jsp files are turned into the class files. -Tim Richard Burman wrote: Tim, Is there no way of turning the fragment (jspf) file into .class files or do they need to remain as JSPs? Cheers, Richard.

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Leon Rosenberg
On Tue, 2005-09-06 at 11:00 -0500, Caldarale, Charles R wrote: From: Arup Vidyerthy [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get() Does this mean that all session.setAttribute() and session.getAttribute() should always be synchronised

Re: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Darryl L. Miles
It seems possible to be that one user simply pressing the reload button a few times quickly while the same page is not yet loaded can cause sync problems to his own session; and you can't control the user. Err... does anybody have a replacement class for HttpServlet ? A simple access

RE: isapi_redirect dll location

2005-09-06 Thread Tracy Spratt
Yes, the install creates the folders, copies the configuration files and the dll, modifies the registry and adds the isapi filter to IIS. It does NOT add the dll to the Windows 2003 / IIS6 Web Extensions, though. I am not sure whether this is necessary. Tracy -Original Message- From:

JAAS Configuration Issue

2005-09-06 Thread A. Alonso Dominguez
Hi there! I'm using Tomcat 5.5.9 and JDK 1.5.0 and I was probbing to implement a JAAS Authentication mechanism for may webapps. I followed some tutorials and the Tomcat 5.5 JAASRealm configuration and I did it in that way. I updated the java.policy file with the next lines: grant codeBase

Re: How to stop Tomcat supplying HTML for statues

2005-09-06 Thread David Goodenough
No, this is the reverse of what I want. I want to STOP it sending an HTML page, rather than the error-page tag to set it. David On Tuesday 06 September 2005 15:06, Tim Funk wrote: http://jakarta.apache.org/tomcat/faq/misc.html#error -Tim David Goodenough wrote: I have a server which is

Re: How to stop Tomcat supplying HTML for statues

2005-09-06 Thread Tim Funk
Then make the error page a jsp which clears the stream and prints what you want. If your servlet already prints what you need, then force the buffer to be flushed so that the response is committed and an error page is not shown. -Tim David Goodenough wrote: No, this is the reverse of what

RE: Tomcat 5.5 classloader log4j vs JCL issue

2005-09-06 Thread Woodchuck
hihi Seva, yes, your suggestion also works. i tried it to confirm, and it was my backup plan to do in case i couldn't figure out how to *not* place log4j.jar and commons-logging.jar into the ${Tomcat}/common/lib folder. just fyi, it's also possible to centralize logging for the entire servlet

Re: JK 1.2.14.1 SIG BUS Error on Solaris 9

2005-09-06 Thread David Rees
On 9/2/05, Guernsey, Byron (GE Consumer Industrial) [EMAIL PROTECTED] wrote: I apoligize for adding to this, but I'm hoping to jar someones memory. I gdb'ed the process now and the BUS error occurs in: snip Program received signal SIGBUS, Bus error. 0xfdfb4208 in service (e=0xf7c90,

Re: JK 1.2.14.1 SIG BUS Error on Solaris 9

2005-09-06 Thread David Rees
On 9/6/05, David Rees [EMAIL PROTECTED] wrote: That is the exact same core dump and back trace that I reported a while back when running on SGI Irix. Could be a 64bit or big endian problem? http://marc.theaimsgroup.com/?l=tomcat-devm=112501659012202w=2 I've opened a bug for this issue:

Apache httpd Tomcat 5 and SSL

2005-09-06 Thread James R. Marcus
I'm using mod_jk to connect httpd and two Tomcat servers running on different ports. Apache httpd is acting as the front end and mod_jk is setup to failover to the second tomcat instance in the event that the first one goes down. Tomcat is running our own application servlet. Before I post all

list

2005-09-06 Thread Marquez, Omar
list The information contained in this communication may be CONFIDENTIAL and is intended only for the use of the recipient(s) named above. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its

RE: Tomcat 5.5 classloader log4j vs JCL issue

2005-09-06 Thread Seva Popov
Yes it it possible to centralize the logging for the entire container including all web apps. However, this seems to be a bad practice. The better approach is to separate the container internal logging and the web apps logging. But I guess you know this for yourself. -Original Message-

Connectiong tomcat to IIS - no luck and conflicting info

2005-09-06 Thread David Thielen
Hi; I am trying to connect Tomcat 5.5 to IIS 5.1 and having zero luck. Here is what I did: 1. Went to http://apache.towardex.com/jakarta/tomcat-connectors/jk/binaries/win32/jk-1. 2.14 2. Downloaded ran isapi_redirect-1.2.14.exe 3. Added isapi_redirect as an ISAPI filter to

Tomcat Deploy issue with v 5.0.30

2005-09-06 Thread Aaron Pederson
Hello - I'm running into an autodeploy issue with Tomcat 5.0.30. In our tomcat install we are running two applications both of which are .war archives and reside in $TOMCAT_HOME/webapps/. The issue I'm seeing is when I run a fresh install of tomcat and drop in our application .war

RE: Source code for naming-factory-dbcp.jar ?

2005-09-06 Thread Jason Bell
naming-factory-dbcp.jar Have a look at Commons DBCP. http://jakarta.apache.org/commons/dbcp/ Hope this helps. Regards Jason -- Jason Bell Lead Architect, SpikeSource Europe e: [EMAIL PROTECTED] w: http://www.spikesource.com b: http://jasonbell.blog-city.com m: +44 (0)787 529 2693

Re: How to stop Tomcat supplying HTML for statues

2005-09-06 Thread David Goodenough
Maybe we are talking at cross purposes. I will try to explain what I am trying to achieve. When I have a non-200 response ALL I want to send back is the status code and the message inserted with the sendError. Nothing else. Currently I just do a sendError, should I also write a zero length

jasper jsp precompilation error

2005-09-06 Thread Aaron Phillips
Hi I am trying to do JSP precompilation as described at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html. I can run the application fine if I do not precompile, but when I do attempt to precompile the JSP, I get the message: BUILD FAILED

RE: Connectiong tomcat to IIS - no luck and conflicting info

2005-09-06 Thread Tracy Spratt
I am exceedingly ignorant in the J2EE universe, but I did manage to get TC5.5 talking to IIS 6 effectively (3 times, so it wasn't a fluke!). Have you seen this doc: http://jakarta.apache.org/tomcat/connectors-doc/howto/iis.html It has some troubleshooting info. Be sure to at least restart the

[OT] Java Web Parts .9 is out

2005-09-06 Thread Frank W. Zammetti
I know there are a number of folks in both the Struts and Tomcat communities using Java Web Parts now, so it might not be all *that* off-topic... v.9 was just released. There is one new piece in the mix that, I think, might be of interest to some... it's called the DependencyFilter. It's

IIS6 - ASP.Net - JK - TC5 - tomcatAuthentication=false: user auth not getting passed?

2005-09-06 Thread Tracy Spratt
I want to pass authorization from my dot.Net app to the Tomcat app. Unsecured, everything is working fine: IIS runs the asp.net app, which in turn loads the Tomcat app (a Macromedia Flex app to be specific). But the asp.net app is secured, and the JK - isapi_redirect allows users to directly

Question on cluster recognition

2005-09-06 Thread John MccLain
When our application starts up, it removes admin information about old user sessions from our database; We store information such as locks and session state in our DB. BUT, if we are running in a cluster and Tomcat stars up, we do NOT want this to occur EXCEPT for on the first server in the

Re: How to stop Tomcat supplying HTML for statues

2005-09-06 Thread Tim Funk
Don't use sendError. - Call response.setStatus(int). - Calculate the size of your body text - Call setContentLength(value from previous step) - Send the message in the output stream - Profit! ;) -Tim David Goodenough wrote: Maybe we are talking at cross purposes. I will try to explain what I