Re: tomcat Data Base Realm

2007-05-21 Thread Johnny Kewl
I dont think you can, easily, here are some idea's You could use something like embedded db Derby... and pre-configure that with the web service users... and then just use tomcats db realm. You could write your own "programatic" security in tomcat and call into the web service. You c

Re: Session IDs & XMLHttpRequests

2007-05-21 Thread Frank W. Zammetti
Let's start with this: http://www.omnytex.com/test.zip Just unzip into ${Tomcat}/webapps and try it... the first time you click the button you should see an alert saying testAttribute is null, the second time it should say "Test attribute has been set". Now, do this in Firefox and check each

Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Peter
hi all; only get problem when put 0 into the list, put 1 or any number is ok, put new Integer(0) is ok as well; i think it may be a bug. does anyone has a idea? regards On 5/21/07, Peter <[EMAIL PROTECTED]> wrote: hi all, I have come into a very wired problem. here it is. my project using J

Re: Cannot get SingleonLoader (from jar) to find classes outside JAR

2007-05-21 Thread Mike Peremsky
I have resolved this issue, but am wondering if the way I did it is the "correct" way to resolve this issue. I modified the catalina.properties file entry common.loader by adding the path to the applications WEB-INF/classes directory, this seems to have resolved the issue with finding the

Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Peter
hi all thanks for the reply; things getting a litter clear. when i remove the jar file 'antlr-2.7.5H3.jar' , it work fine, put 0 in and get 0 out. but when i put the jar file back, it still put 0 in and get 1 out. the jar is in the \tomcat\webapps\'myproject'\WEB-INF\lib\ it seems like the ther

Re: Configure Tomcat 6 for php 5.2.2

2007-05-21 Thread James liu
Do u mean tomcat6 support php? i only know resin support php, and not tomcat. does it true? 2007/5/22, Pierluigi Fabbris <[EMAIL PROTECTED]>: Hi, I've problem to configuring Tomcat 6. The problem is: I use saxon b, java and php how can I configure the last one? In Tomcat 5 and php 5.0 is poss

Re: transaction manager cannot load in Tomcat 6

2007-05-21 Thread Rashmi Rubdi
On 5/21/07, tmo256 <[EMAIL PROTECTED]> wrote: Thanks so much for trying to help, though. Any further suggestions would be welcome. Sorry I couldn't be of help here, the only other thing I can think of is that the CLASSPATH may be partially correct or incorrect. It is better to not set the sys

Re: Configure Tomcat 6 for php 5.2.2

2007-05-21 Thread Tim Funk
Look at quercus (if I spelled that right). http://www.caucho.com/resin-3.0/quercus/ People have been able to install it on tomcat 6. -Tim Pierluigi Fabbris wrote: Hi, I've problem to configuring Tomcat 6. The problem is: I use saxon b, java and php how can I configure the last one? In Tomcat

Re: AW: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Tim Funk
I don't think tomcat(explicitly) is doing this. It could be any of the following: 1) When the file is found a full path check is done to prevent sneaky people from trying ../../ tricks - so I you might see the JVM and how it implments File.getAbsolutePath) on a file 2) It could be IIS doing the

AW: Finding isapi_redirector2.dll

2007-05-21 Thread speed4trade
Hi, redirector2 is not developed any more as far as I know. Look at http://tomcat.apache.org/download-connectors.cgi There is JK1.2 to download for several plattforms. -Ursprüngliche Nachricht- Von: Al Sparks [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 22. Mai 2007 00:25 An: Tomcat Us

Re: Session IDs & XMLHttpRequests

2007-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Allen, Williams, Allen wrote: > 2. What is the difference in the servlet invocation between a regular > URL invocation & an XMLHttpInvocation? I'll be there isn't a difference, actually. I had a problem in the past where something went wrong and I e

Finding isapi_redirector2.dll

2007-05-21 Thread Al Sparks
I'm new to Tomcat. I successfully installed version 6.0 on a Windows 2000 server also running IIS. Now I'm trying to install the Jakarta redirector plugin. Everything I've read says that I'm supposed to download isapi_redirector2.dll, or build it. I've been trying to find a download, and can't

Re: Encoding in Tomcat 6

2007-05-21 Thread hkml
Georg Sauer-Limbach wrote: the question is: How do you create the output of the servlet, that is, with which Writer or OutputStream. yes you're right: I simply used the output stream. But if you just obtain the output byte stream of the servlet, ie by calling OutputStream outputStream = res

Re: Encoding in Tomcat 6

2007-05-21 Thread hkml
Markus Schönhaber wrote: ... ServletOutputStream is "suitable for writing binary data in the response" as the docs say. If you want to transmit textual data, use HttpServletResponse#getWriter() (see my question above). yes, this really is a point, Georg's answer already pointed me to the right d

Re: AW: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, Thomas Hoffmann (Speed4Trade) wrote: > when i request e.g. test.jsp from browser my file-monitor show > the following harddisc-accesses: > d:\ > d:\inetpub > d:\inetpub\wwwroot > d:\inetpub\wwwroot\tyres4trade > d:\inetpub\wwwroot\tyres4trade\

Re: [OT] hi, [weird] problem? add 0 into [a list] but get 1 as a result!

2007-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, Peter wrote: > I have come into a very [weird] problem. [snip] > List alist =new ArrayList(); > alist.add(0); put 0 into it > alist.get(0); get 1 as result. > > it occurs when i using JBuilder2006 to complie it and run under tomcat > 5.5.

Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, Felix Schumacher wrote: > Am Montag, den 21.05.2007, 13:54 +0800 schrieb Peter: >> hi all, >> >> I have come into a very wired problem. >> >> here it is. >> my project using JBuilder 2006 and tomcat 5.5.20. >> when i put a 0 into a list and get

Re: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Martin Gainty
Thomas-- I see this thread from http://forum.java.sun.com/thread.jspa?threadID=571322&messageID=2827943 here's what sonny says to do...keep in mind this is a TOMCAT group and not IIS group You could use the free installer, it seems to work for some people. heres the link... http://www.shifto

RE: mod_jk problem

2007-05-21 Thread Yifan (Eric) Jiang
Hi Rainer, Yeah, I've look at the link that you sent to me in the last post. But again, it is in a production server; I don't really have the authority to make this change. According to your email, I've realized it is a very bad idea to this kind of log rotating, so I will suggest the system admi

Re: mod_jk problem

2007-05-21 Thread Rainer Jung
You really should totally drop the idea of rotating an open logfile from the outside. The file descriptor is open in the writing process and it will proceed to use the file descriptor, which will point to the rotated file and after compression will be deleted. Really a very bad idea. Usually i

RE: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread David Short
Yes. It declares that the List is going to hold integers. See http://www.onjava.com/lpt/a/6014. -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2007 1:10 PM To: Tomcat Users List Subject: Re: hi,wired problem? add 0 into alist but get 1 as a resu

Re: Session IDs & XMLHttpRequests

2007-05-21 Thread Hassan Schroeder
On 5/21/07, Williams, Allen <[EMAIL PROTECTED]> wrote: As I said in my earlier post, the session being returned by getSession() is a new one; Can you create a simple test case WAR to demonstrate the failure? I have seen no such problems using Prototype, YUI, or DWR, which I'm currently incorpo

Re: Encoding in Tomcat 6

2007-05-21 Thread Markus Schönhaber
[EMAIL PROTECTED] wrote: > Markus Schönhaber wrote: > > Works fine for me. > Well, that is really a surprise for me. I tried this in 3 different > operating systems and it was consequently wrong. That, in turn, doesn't surprise me, since... > > You do call response#setContentType before respo

Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Pid
David Short wrote: Try creating your List like this and see what happens. List alist =new ArrayList(); Won't work, you can't use primitives, instead do: List alist = new ArrayList(); -Original Message- From: Peter [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2007 2:29 AM To

RE: mod_jk problem

2007-05-21 Thread Yifan (Eric) Jiang
Hi Rainer, Thanks for all your helps. I know that is a very outdated version of httpd, But since it is in a production server, and the server for the authentication of the whole university, so it is unlikely, or it is impossible for me to do any big change on it. And it is weird, because it is run

Re: Session IDs & XMLHttpRequests

2007-05-21 Thread Pid
Williams, Allen wrote: Thanks, Dave & Frank. I've followed both your suggestions. The very first lines in the servlet print out the various parameter, attributes, & cookies. Here's what I get: Have you used a standard JS framework of some sort, or is it in-house code? Testing with Firebug i

Re: Encoding in Tomcat 6

2007-05-21 Thread Georg Sauer-Limbach
Hi, the question is: How do you create the output of the servlet, that is, with which Writer or OutputStream. If you do this: public void doGet( HttpServletRequest request, HttpServletResponse response ) throws IOException { response.setCharacterEncoding( "UTF-8" ); Writ

Re: Encoding in Tomcat 6

2007-05-21 Thread hkml
Markus Schönhaber wrote: > Works fine for me. Well, that is really a surprise for me. I tried this in 3 different operating systems and it was consequently wrong. > You do call response#setContentType before response#getWriter, don't you? > There's no filter changing things? Well, the code is m

Re: questions about the classloader in tomcat 6

2007-05-21 Thread Rainer Jung
Thanks. I saw that in catalina.properties. If I fill those values in (for the appropriate classloader) I can duplicate the behavior of the older systems. That will help in migrating large installations that are running tomcat 5 to tomcat 6. Is there a need to move to the "newer" common classloa

RE: Session IDs & XMLHttpRequests

2007-05-21 Thread Williams, Allen
Thanks, Dave & Frank. I've followed both your suggestions. The very first lines in the servlet print out the various parameter, attributes, & cookies. Here's what I get: -- QUOTE -- ** doPost entering May 21 16:16:23: Session Attributes Session Attributes May 21 16:16:23: Sessio

Re: Session IDs & XMLHttpRequests

2007-05-21 Thread David Wall
Frank W. Zammetti wrote: I can say with 100% certainty that a servlet invoked with XMLHttpRequest **DOES** have the same access to server-side objects as a non-AJAX request. I say this based on two applications in production that do this all day long, one Struts-based, one not. I also say it b

Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Leon Rosenberg
On 5/21/07, Felix Schumacher <[EMAIL PROTECTED]> wrote: Have you tried to put an Object into ArrayList? Like alist.add(Integer.valueOf(0)); System.out.println((Integer)alist.get(0)); I don't think it is possible to store an int into an ArrayList. Autoboxing is the magic word here. The compiler

Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Leon Rosenberg
On 5/21/07, David Short <[EMAIL PROTECTED]> wrote: Try creating your List like this and see what happens. List alist =new ArrayList(); and you get this compiled? -Original Message- From: Peter [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2007 2:29 AM To: Tomcat Users List Subject

RE: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread David Short
Try creating your List like this and see what happens. List alist =new ArrayList(); -Original Message- From: Peter [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2007 2:29 AM To: Tomcat Users List Subject: Re: hi,wired problem? add 0 into alist but get 1 as a result! thanks i am sure

Re: Session IDs & XMLHttpRequests

2007-05-21 Thread Frank W. Zammetti
I can say with 100% certainty that a servlet invoked with XMLHttpRequest **DOES** have the same access to server-side objects as a non-AJAX request. I say this based on two applications in production that do this all day long, one Struts-based, one not. I also say it based on a number of other ap

Re: Tomcat uriworkermap exclusions issue

2007-05-21 Thread Mladen Turk
oblongman wrote: Hi, I am having problems implementing my uriworkermap file. I want to exclude all '.js' files from hitting tomcat, i do this with the line !/*.js=tomcat But i do want to send all '.js' files that live under "dwr/" to tomcat so i use /dwr/*=tomcat The issue is that tomcat de

AW: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Thomas Hoffmann \(Speed4Trade\)
Hi, Tomcat is running with iis, thats right. Tomcat is installed on c:\Programme\ websites are under d:\inetpub thats why i cant use relative paths. -Ursprüngliche Nachricht- Von: Propes, Barry L [mailto:[EMAIL PROTECTED] Gesendet: Montag, 21. Mai 2007 20:56 An: Tomcat Users List Betr

RE: Session IDs & XMLHttpRequests

2007-05-21 Thread Williams, Allen
> I'd say if there are differences, it's in the javascript of > the client. Yeah, the problem is that the guts of the client JS are pretty opaque. > Have you used any sort of monitoring tool to find out if > XMLHttpRequest > is sending the session cookie? No, but I was going to modify t

RE: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Propes, Barry L
your docBase shouldn't include the absolute path should it? Just the relative path? Besides, that looks totally configured for running files on IIS' server, not (thru) Tomcat's servlet engine. -Original Message- From: Thomas Hoffmann (Speed4Trade) [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: Session IDs & XMLHttpRequests

2007-05-21 Thread David Smith
I'd say if there are differences, it's in the javascript of the client. Have you used any sort of monitoring tool to find out if XMLHttpRequest is sending the session cookie? Have you tried encoding the JSESSIONID in the XMLHttpRequest via javascript? --David Williams, Allen wrote: I had

Re: Configure php 5.2.2. on tomcat 6.0

2007-05-21 Thread Pid
Rashmi Rubdi wrote: Sorry p I didn't see your reply before hitting the Send button. no worries. (OP has emailed 3x in 2 hours, which is a tad impatient given that it's after work hours in Europe now.) As an additional answer to the persistent OP: You can integrate Apache and Tomcat using

Session IDs & XMLHttpRequests

2007-05-21 Thread Williams, Allen
I had posted this question to four different Java fora over four days and gotten zero replies, when it occurred to me how stupid not to ask the community that wrote Tomcat. I was just going to post this, which is a summary that describes what I've found so far: -- QUOTE -- In the interest of inf

Re: Cannot get SingleonLoader (from jar) to find classes outside JAR

2007-05-21 Thread Mike Peremsky
I tried the modification you suggested (with the correct method name on the end) but still with the same results. I also printed out a debug message just to see what class loader was being used (not that I know what to do with it :-P ) log.debug("this class loader: " + this

AW: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Thomas Hoffmann \(Speed4Trade\)
Hi, my contect-configuratation looks like: when i request e.g. test.jsp from browser my file-monitor show the following harddisc-accesses: d:\ d:\inetpub d:\inetpub\wwwroot d:\inetpub\wwwroot\tyres4trade d:\inetpub\wwwroot\tyres4trade\test.jsp d:\inetpub\wwwroot\tyres4trade\localhost\test.jsp (no

Tomcat 5.5 destroys $TOMCAT_HOME/Catalina/[host]/[app].xml on reload

2007-05-21 Thread Mark H. Wood
I'm trying to maintain a testing environment for several developers who either upload .war files directly or ship them to me for installation. These applications need a context parameter defined as a path on the server. Rather than have the developers hassle with swapping paths between developmen

Re: Configure php 5.2.2. on tomcat 6.0

2007-05-21 Thread Rashmi Rubdi
Sorry p I didn't see your reply before hitting the Send button. -Rashmi On 5/21/07, Pid <[EMAIL PROTECTED]> wrote: Pierluigi Fabbris wrote: > Hi > I use saxon b, java and php how can I configure the last one? In Tomcat 5 > and php 5.0 is possible. Is possible in Tomcat 6 and php 5.2.2, too? > H

Re: Configure php 5.2.2. on tomcat 6.0

2007-05-21 Thread Rashmi Rubdi
On 5/21/07, Pierluigi Fabbris <[EMAIL PROTECTED]> wrote: Hi I use saxon b, java and php how can I configure the last one? In Tomcat 5 and php 5.0 is possible. Is possible in Tomcat 6 and php 5.2.2, too? As far as I know, Tomcat does not directly support PHP. Try http://httpd.apache.org/ http

Re: Configure php 5.2.2. on tomcat 6.0

2007-05-21 Thread Pid
Pierluigi Fabbris wrote: Hi I use saxon b, java and php how can I configure the last one? In Tomcat 5 and php 5.0 is possible. Is possible in Tomcat 6 and php 5.2.2, too? Hoping in a reply. Sincerally yours, Fabbris Pierluigi If you want to use PHP I'd recommend using the Apache HTTPD server,

Configure Tomcat 6 for php 5.2.2

2007-05-21 Thread Pierluigi Fabbris
Hi, I've problem to configuring Tomcat 6. The problem is: I use saxon b, java and php how can I configure the last one? In Tomcat 5 and php 5.0 is possible. Is possible in Tomcat 6 and php 5.2.2, too? Hoping in a reply. Sincerally yours, Fabbris Pierluigi

Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Felix Schumacher
Am Montag, den 21.05.2007, 13:54 +0800 schrieb Peter: > hi all, > > I have come into a very wired problem. > > here it is. > my project using JBuilder 2006 and tomcat 5.5.20. > when i put a 0 into a list and get 1 as a result. > simple code for testing! > > List alist =new ArrayList(); > alist.a

Re: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Rashmi Rubdi
On 5/21/07, Thomas Hoffmann (Speed4Trade) <[EMAIL PROTECTED]> wrote: Hello, i am using Tomcat 5.5.23. When i request a simple jsp-file my file-monitor shows me, that tomcat is searching from root. This is a problem for website with a lot of traffic. A screenshot is attached to this mail. All at

Configure php 5.2.2. on tomcat 6.0

2007-05-21 Thread Pierluigi Fabbris
Hi I use saxon b, java and php how can I configure the last one? In Tomcat 5 and php 5.0 is possible. Is possible in Tomcat 6 and php 5.2.2, too? Hoping in a reply. Sincerally yours, Fabbris Pierluigi - To start a new topic, e-ma

RE: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread David Short
Try creating your List like this and see what happens. List alist =new ArrayList(); -Original Message- From: Peter [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2007 2:29 AM To: Tomcat Users List Subject: Re: hi,wired problem? add 0 into alist but get 1 as a result! thanks i am sure

Re: Connection:close request returns a response without any content-length or Transfer-Encoding: chunked

2007-05-21 Thread Eric Deshayes
Hi Johnny, I am just retrieving the default root page of tomcat: GET / HTTP/1.1 I understand what you mean, but that's the default tomcat page. So, I do not really see what's difficult in getting the content-length. I am not using any servlet... It's when I am accessing http://127.0.0.1:8080 . R

Tomcat 6 configure for php 5.2.2.

2007-05-21 Thread Pierluigi Fabbris
Hi, I use saxon b, java and php how can I configure the last one? In Tomcat 5 and php 5.0 is possible. Is possible in Tomcat 6 and php 5.2.2, too? Hoping in a reply. Sincerally yours, Fabbris Pierluigi - To start a new topic, e-m

RE: Encoding in Tomcat 6

2007-05-21 Thread Fargusson.Alan
Is it valid to say "charset=UTF-8"? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2007 7:51 AM To: users@tomcat.apache.org Subject: Encoding in Tomcat 6 Hi all, I noticed some encoding problems inside servlets, when switching from Tomcat 5.5.

Tomcat 5.5.23 undeploy file locking problem

2007-05-21 Thread Jiang, Jane (NIH/NCI) [C]
Hi, I am having problem undeploying my web application. I added antiJARLocking="true" to the context.xml file and found 5 jar files still left in the web-inf/lib directory. Then I added antiResourceLocking="true", now I have one jar file, aopalliance-1.0.jar, left after I undeployed the appli

RE: questions about the classloader in tomcat 6

2007-05-21 Thread Caldarale, Charles R
> From: Brian Millett [mailto:[EMAIL PROTECTED] > Subject: Re: questions about the classloader in tomcat 6 > > Is there a need to move to the "newer" common classloader? There may not be a need, but performance is certainly improved with fewer class loaders and shorter classpaths for each loader

Re: questions about the classloader in tomcat 6

2007-05-21 Thread Brian Millett
Rainer Jung escribío: > The catalina.properties file is the one that defines the classloader > search order. So you are free to make the order fit your own needs. > > For instance if you really like to share product installations and want > to add instance specific things to the common loader, you

Re: Cannot get SingleonLoader (from jar) to find classes outside JAR

2007-05-21 Thread Filip Hanik - Dev Lists
did you try Class singletongClassObj = this.getClass().getClassLoader().loadName(singletonClassName); Filip Mike Peremsky wrote: I think this may be a class loader issue, but am not sure as I have never really worked with them before. I am putting together a JAR file that contains a set of c

Re: Encoding in Tomcat 6

2007-05-21 Thread Markus Schönhaber
[EMAIL PROTECTED] wrote: > Scenario: > An own servlet (that is: a class derived from HttpServlet) is creating > very simple HTML output, containing (beside the necessary HTML tags > , etc.) just some German special characters (ä ö ü). > > The java source code is UTF-8, the response instance is

Re: AW: AW: logging log4j of my application

2007-05-21 Thread Rainer Jung
Your config looks OK to me. Sometimes such a thing happens, if one starts the process unintended as root, who then owns the log file and after starting again as non-root, the process user can not write to the file... You can add "-Dlog4j.debug" to the startup options of your Tomcat. Then cat

Re: How to increase timeout while deploying war via the manager webapp

2007-05-21 Thread ben short
I myself dont have the problem as im sat about 2 feet away from the box running the tomcat instance. The person getting the problem is connected by a really naff lease line and was a bit fuzzy about what is going on. I'll suggest the scp approch as they can use a client that supports resuming. Man

Re: questions about the classloader in tomcat 6

2007-05-21 Thread Rainer Jung
The catalina.properties file is the one that defines the classloader search order. So you are free to make the order fit your own needs. For instance if you really like to share product installations and want to add instance specific things to the common loader, you would add a folder of your

Re: questions about the classloader in tomcat 6

2007-05-21 Thread Brian Millett
Filip Hanik - Dev Lists escribío: > Brian Millett wrote: >> Filip Hanik - Dev Lists escribío: >> >>> $CATALINA_HOME/lib >>> >> >> Doesn't that defeat the CATALINA_BASE setup for multiple instances of >> tomcat? >> > I always get the BASE and HOME mixed up. but I believe HOME is the > inst

Re: Mod_jk question

2007-05-21 Thread Rainer Jung
And another comment: you can add/remove nodes also by simply switching their activation attribute to disabled (no new sessions) or stopped (no more requests at all). Again you can't factor those out (onyl by mixing workers.properties and JkWorkerProperty), but the status is concentrated in o

Cannot get SingleonLoader (from jar) to find classes outside JAR

2007-05-21 Thread Mike Peremsky
I think this may be a class loader issue, but am not sure as I have never really worked with them before. I am putting together a JAR file that contains a set of classes to be used throughout a suite of applications. I have a class called SingletonLoader that was working when it was within the m

Re: questions about the classloader in tomcat 6

2007-05-21 Thread Filip Hanik - Dev Lists
Brian Millett wrote: Filip Hanik - Dev Lists escribío: $CATALINA_HOME/lib Doesn't that defeat the CATALINA_BASE setup for multiple instances of tomcat? I always get the BASE and HOME mixed up. but I believe HOME is the installation of all the shared binaries, hence all common libr

Re: Mod_jk question

2007-05-21 Thread Rainer Jung
Only 1 worker file is possible and it must be defined in the global section of the httpd configuration. You can think about using three things to make configs easier to maintain (depending on your taste) - Using the "reference" feature (see jk reference guide for workers.properties), which a

Re: Encoding in Tomcat 6

2007-05-21 Thread hkml
[EMAIL PROTECTED] wrote: > , etc.) just some German special characters (ä ö ü). sorry for that encoding problem, it should read ä ö ü. I first sent the message using a different mail address. Then I got a response from the list server, that I'm not allowed to send messages to this list and afte

Tomcat uriworkermap exclusions issue

2007-05-21 Thread oblongman
Hi, I am having problems implementing my uriworkermap file. I want to exclude all '.js' files from hitting tomcat, i do this with the line !/*.js=tomcat But i do want to send all '.js' files that live under "dwr/" to tomcat so i use /dwr/*=tomcat The issue is that tomcat deals with exclusion

Tomcat uriworkermap exlcuions issue

2007-05-21 Thread oblongman
Hi, I am having problems implementing my uriworkermap file. I want to exclude all '.js' files from hitting tomcat, i do this with the line !/*.js=tomcat But i do want to send all '.js' files that live under "dwr/" to tomcat so i use /dwr/*=tomcat The issue is that tomcat deals with exclusion

Re: questions about the classloader in tomcat 6

2007-05-21 Thread Brian Millett
Filip Hanik - Dev Lists escribío: > $CATALINA_HOME/lib Doesn't that defeat the CATALINA_BASE setup for multiple instances of tomcat? > > Brian Millett wrote: >> Hello, I've setup my tomcat 6.0.13 with the CATALINA_HOME=/opt/tomcat and >> CATALINA_BASE=/opt/webBaseDir on a FC6 system. >> >> I rea

Re: questions about the classloader in tomcat 6

2007-05-21 Thread Filip Hanik - Dev Lists
$CATALINA_HOME/lib Filip Brian Millett wrote: Hello, I've setup my tomcat 6.0.13 with the CATALINA_HOME=/opt/tomcat and CATALINA_BASE=/opt/webBaseDir on a FC6 system. I read in http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html "Common - This class loader contains additional class

Encoding in Tomcat 6

2007-05-21 Thread hkml
Hi all, I noticed some encoding problems inside servlets, when switching from Tomcat 5.5.20 to Tomcat 6.0.10. I looked for it in the mailing lists, but didn't find something appropriate. Scenario: An own servlet (that is: a class derived from HttpServlet) is creating very simple HTML output, con

Mod_jk question

2007-05-21 Thread Kotla, Satya S (Contractor)
Hi, We are running JBoss 4.2.0/Apache 2.2.3/Mod_jk 1.2.22 on Suse Linux 10. We are trying to implement an Apache Farm with three Apache instances reverse-proxying to multiple JBoss cluster nodes using mod_jk connector with load-balancing and sticky session configuration. As per the Tomcat conne

RE: Oracle JDBC connection Tomcat 5.5

2007-05-21 Thread Propes, Barry L
well, I had to actually switch jars for my Oracle driver to work properly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Zdenek Vráblík Sent: Wednesday, May 16, 2007 7:19 AM To: Tomcat Users List Subject: Re: Oracle JDBC connection Tomcat 5.5 Hi all thank

Re: transaction manager cannot load in Tomcat 6

2007-05-21 Thread tmo256
Hi: Thanks for trying to help out. Let me clarify a couple of points. The main thing is that my problem is very specifically with the transaction manager factory; I have successfully set up other dhcp connection pools (non-transactional). >>With the failure to initialize, I moved >>all needed ja

Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Thomas Hoffmann \(Speed4Trade\)
Hello, i am using Tomcat 5.5.23. When i request a simple jsp-file my file-monitor shows me, that tomcat is searching from root. This is a problem for website with a lot of traffic. A screenshot is attached to this mail. The Context-Entry looks like Thanks for suggestions, Thomas --

pluto 1.1.3 & tomcat 6

2007-05-21 Thread Brian Millett
Anyone get pluto (or jetspeed2) working with tomcat 6? I have not figured out all of the classloading issues yet. -- Brian Millett - [] "Why are you here?" 'We were never away. For the first time, your mind is quiet enough to hear me.' "Why am I here?" 'You have always been here.' --

questions about the classloader in tomcat 6

2007-05-21 Thread Brian Millett
Hello, I've setup my tomcat 6.0.13 with the CATALINA_HOME=/opt/tomcat and CATALINA_BASE=/opt/webBaseDir on a FC6 system. I read in http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html "Common - This class loader contains additional classes that are made visible to both Tomcat internal c

Re: How to increase timeout while deploying war via the manager webapp

2007-05-21 Thread Filip Hanik - Dev Lists
there is a disableUploadTimeout flag on the element, are you sure tomcat is timing out the connection? Filip ben short wrote: Hi, I am trying to deploy a large war via the manager webapp over a slow connection. After about 10 mins the connection times out. Is it possible to increase this time

Re: How to increase timeout while deploying war via the manager webapp

2007-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben, ben short wrote: > I am trying to deploy a large war via the manager webapp over a slow > connection. After about 10 mins the connection times out. Is it > possible to increase this timeout period? Is it possible to do an scp + local deploy? I t

How to increase timeout while deploying war via the manager webapp

2007-05-21 Thread ben short
Hi, I am trying to deploy a large war via the manager webapp over a slow connection. After about 10 mins the connection times out. Is it possible to increase this timeout period? Regards Ben Short - To start a new topic, e-mai

RES: Question about jar file name.

2007-05-21 Thread Rodrigo Pimenta Carvalho
Ops, Excuse-me. I saw the name. I'm using the TomCat for JWSDP version, which has the Catalina.jar too. But I guess such version doesn't have the connector class into Catalina.jar. Rodrigo. == -Mensagem original- De: Edoardo Panfili [mailto:[EMAIL PROTECTED] Enviada em: domi

RES: Question about jar file name.

2007-05-21 Thread Rodrigo Pimenta Carvalho
Hi Edoardo. Thank you for reply. Do you know what is the jar file name in this case? Regards, Rodrigo Pimenta Carvalho. -Mensagem original- De: Edoardo Panfili [mailto:[EMAIL PROTECTED] Enviada em: domingo, 20 de maio de 2007 17:48 Para: Tomcat Users List As

AW: AW: logging log4j of my application

2007-05-21 Thread Marc Rameder
The output of the log file should be information about hibernate, spring and my development in the net.thefource package. I have used this log4j.properties for a GUI application where it is working fine and also by testing the server with JUnit all debug information are displayed. I am starting th

tomcat Data Base Realm

2007-05-21 Thread lmk
hii, I'd like to use tomcat for authentification management, the server can not bind directly the data base server, i must get the user name and the password with a web service request. I can't set the DB properties into a tomcat configuration file. How can I use tomcat security management ? -

Re: AW: logging log4j of my application

2007-05-21 Thread Rainer Jung
All right, so we assume, there are no log4j things lying around in your Tomcat apart from your webapp. Also please check, that the running Tomcat process has no -Dlog4j.configuration in its commandline. It could be, that you have a servlet initialization, that configures log4j via its API, bu

AW: logging log4j of my application

2007-05-21 Thread Marc Rameder
I deploy a war file with the following content. WEB-INF: classes: contains the log4j.properties file in the root directory. Only oneexists. lib: contains the log4j-1.2.9.jar not in any other directory my web.xml contains log4jConfigLocation c

Configuring Tomcat 6 problem

2007-05-21 Thread Pierluigi Fabbris
Hi, I've problems to configuring Tomcat 6. The problems is: 1. If I assign a password for the admin, must I have another account to use http://localhost:8080?I don't see result if I assign admin and password. 2. I use saxon b, java

Handling ClientAbortException

2007-05-21 Thread Subscriber
Hi, I'm getting a ClientAbortException in my logs, when a browser cancels a dialog with the server. This is OK, but in Internet Explorer (6+7) I'm not able to show a customized error page to the user. I've tried with this tag - both in my own web.xml and Tomcat's web.xml: java.net.Socket

Re: logging log4j of my application

2007-05-21 Thread Rainer Jung
How do you deploy the log4j Jar? Which place? Several places? Where do you keep your log4j configuration file? One file, several ones? Which mechanism did you choose to publish the files to log4j? The questions concerning "several" always mean: are those things only in your webapp, or also add

logging log4j of my application

2007-05-21 Thread Marc Rameder
Hi I have a problem with tomcat 5.5.20. My application uses log4j 1.2.9 and I am sure that all my implementation is correct because I uses JUnit and the logging works fine with it. However, Tomcat loads my log4j.properties so the configuration of the web.xml should be right. I know that because t

RES: Prevent unwanted requests

2007-05-21 Thread Milanez, Marcus
Thanks everybody for your ideas and responses. Just to make things clear to everyone, I'm *NOT* storing .java files inside my web folder. What happens is DWR servlet accepts requests for addresses that ends with .java extensions, giving the impression that these files exists. Worst still, autom

Manage Client Certificates

2007-05-21 Thread Samuel Scheidegger
I configured my tomcat to work with SSL an client-certification. Together with a JDBC Realm the user is "looked up" in the database and everything works fine. My question now is how can I manage it on my own if there is more than one client certificate? Is there something like an interceptor? The i

Re: Cannot Access Tomcat Server Using IP Address

2007-05-21 Thread domenico di leo
When you try to acces to your web application form another PC, you need the ip address of server where your application is runnign but also the tcp port(in your case is 8080). the coorect web address is: http://ip_address:8080/login.html On 21/05/07, Teh Noranis Mohd Aris <[EMAIL PROTECTED]> wro

Re: tomcat-dbcp from Maven

2007-05-21 Thread Filip Hanik - Dev Lists
the maven jars/upload is still in process, if you want to contribute help, take a look at res/maven in the tomcat 6 tree Filip lightbulb432 wrote: The tomcat-dbcp library doesn't seem to be available from the Maven repository for Tomcat at http://tomcat.apache.org/dev/dist/m2-repository or rep

Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Peter
hi all i try to do like List alist =new ArrayList(); alist.add(0L); alist.get(0); and it is fine. donot know why? On 5/21/07, Peter <[EMAIL PROTECTED]> wrote: hi all, I have come into a very wired problem. here it is. my project using JBuilder 2006 and tomcat 5.5.20. when i put a 0 into a

Re: Connection:close request returns a response without any content-length or Transfer-Encoding: chunked

2007-05-21 Thread Johnny Kewl
Hi Eric... again...I dont think its a bug... Have you checked that the Servlet is setting the content length. ie response.setContentLength(theByteLength); This is the Javadoc comments from the actual Tomcat src code... * The servlet container must write the headers before * committ

  1   2   >