polish charset on tomcat server on linux system

2008-02-14 Thread Raghuveer
Hi christopher, Thnks for your interest on this thread…. Is there anything to be done in linux system where tomcat installed to get the polish fonts properly displayed? Actaul Message from SAP Nr potwierdzenia nie został znaleziony (proszę sprawdzić wpis) Tomcat On lin

RE: Performance of Native library

2008-02-14 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker > Subject: Re: Performance of Native library Thanks for the insight (not just the snippet below). > If you serve a lot of large static files, then it is likely to > be faster on most OSs (due to being able to use sendfile). How doe

Re: Performance of Native library

2008-02-14 Thread Bill Barker
"Jacob Rhoden" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Are there any web sites that show/compare the performance of a plain > install vs adding the native libraries for tomcat? How many of you guys > actually use the native libraries in production, ie is this commo

Re: naming-factory-dbcp.jar nonsense

2008-02-14 Thread Bill Barker
"Dan Armbrust" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> Did it occur to you that no-one would go to all this trouble unless >> there >> was a good reason for the re-factoring? Apparently not. If your tone had >> been more reasonable I would have taken the time to explain

Re: Performance of Native library

2008-02-14 Thread brien colwell
Yes, sorry for the phrasing. On Thu, Feb 14, 2008 at 5:26 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: brien colwell [mailto:[EMAIL PROTECTED] > > Subject: Re: Performance of Native library > > > > > You have to use native to use non blocking sockets & the Comet > > architectur

RE: Performance of Native library

2008-02-14 Thread Caldarale, Charles R
> From: brien colwell [mailto:[EMAIL PROTECTED] > Subject: Re: Performance of Native library > > You have to use native to use non blocking sockets & the Comet > architecture Not true - the pure Java NIO connector in Tomcat 6 also does the above: http://tomcat.apache.org/tomcat-6.0-doc/aio.html

Re: Remote ip Address

2008-02-14 Thread brien colwell
I think what you're asking with setRemoteAddr() also doesn't make sense from a protocol point of view ... what is a response without a request? On Thu, Feb 14, 2008 at 3:10 PM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Ksh, > > > [EMAIL

Re: Performance of Native library

2008-02-14 Thread brien colwell
hi Jacob, You have to use native to use non blocking sockets & the Comet architecture, which lets the number of active HTTP connections scale up beyond what blocking sockets would allow. I use the native lib for Comet ... Maybe this is a start ... http://www.mail-archive.com/users@tomcat.apache.o

Performance of Native library

2008-02-14 Thread Jacob Rhoden
Hi, Are there any web sites that show/compare the performance of a plain install vs adding the native libraries for tomcat? How many of you guys actually use the native libraries in production, ie is this common or uncommon? Best Regards, Jacob --

RE: Undeployment problem

2008-02-14 Thread Caldarale, Charles R
> From: Oleg Lyashko [mailto:[EMAIL PROTECTED] > Subject: Re: Undeployment problem > > What is your "Thread-1"? >From the stack trace, it looks like Thread-1 is the one waiting for the shutdown command, but the shutdown script didn't seem to be able to connect to it. Odd that it's called "Threa

RE: tomcat cant start in windows xp 64bits

2008-02-14 Thread dr_pompeii
god bless you Chuck it works C:\java\jre1.5.0_12\bin\server\jvm.dll instead of C:\java\jre1.5.0_12\bin\client\jvm.dll but really wondered why appear C:\java\jre1.5.0_12\bin\client\jvm.dll, i dont know and i didnt see yet if this value appear in my other pc machine of 32 bits in the same tomca

Re: Undeployment problem

2008-02-14 Thread Oleg Lyashko
Hi Sébastien, What is your "Thread-1"? It is not a daemon, if not terminated "manually", it will continue to run after "main" thread stop. Regards, Oleg On Thu, Feb 14, 2008 at 5:02 PM, Sébastien Piller <[EMAIL PROTECTED]> wrote: > Hello guys, > > I have a little problem with Tomcat. I have an

Re: naming-factory-dbcp.jar nonsense

2008-02-14 Thread Dan Armbrust
> Did it occur to you that no-one would go to all this trouble unless there > was a good reason for the re-factoring? Apparently not. If your tone had > been more reasonable I would have taken the time to explain the reasoning. > Since it wasn't - STFW. It was a sarcastic rant, because I was f

Re: tomcat cant start in windows xp 64bits

2008-02-14 Thread Len Popp
That error usually means that it can't find some Microsoft C runtime libs. See http://issues.apache.org/bugzilla/show_bug.cgi?id=41538 -- Len On Thu, Feb 14, 2008 at 6:52 PM, dr_pompeii <[EMAIL PROTECTED]> wrote: > > thanks so much for your reply > > i did a copy of the originals .exe(32 bits)

RE: tomcat cant start in windows xp 64bits

2008-02-14 Thread Caldarale, Charles R
> From: dr_pompeii [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat cant start in windows xp 64bits > > [2008-02-14 18:41:14] [986 prunsrv.c] [error] Failed creating java > C:\java\jre1.5.0_12\bin\client\jvm.dll It's likely that you don't even have a client JVM installed on a 64-bit platform (yo

Re: tomcat cant start in windows xp 64bits

2008-02-14 Thread dr_pompeii
thanks so much for your reply i did a copy of the originals .exe(32 bits) into other folder C:\bck for instance and then replace by the new suggested by you in the bin folder for tomcat, i saw that some fields are empty in the tomcat5w.exe (already resolved, a simple copy of the missing values

Re: Tomcat 6; getting logging to work

2008-02-14 Thread Mark Thomas
Peter Hawkins wrote: Basically, I would like to enable logging for my JSP app. How do I do it? Take a look at http://tomcat.apache.org/tomcat-6.0-doc/logging.html You want the java.util.logging section. Replace the examples web app with your own and then just use java.util.logging as per norma

Tomcat 6; getting logging to work

2008-02-14 Thread Peter Hawkins
Hello, I am working to upgrade my installation from tomcat 5 to tomcat 6. I am using tomcat 6 via netbeans. I want to view/enable logging for my jsp web app. However, I am confused by what I have read so far in the instructions and FAQ. Via Google I have found several people with tomcat 6

Re: Remote ip Address

2008-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ksh, [EMAIL PROTECTED] wrote: | Is it possible to programatically direct a servlet response somewhere | other than the remote ip address. Not using the servlet container in any usual way. You could email the response somewhere or something like that

Re: naming-factory-dbcp.jar nonsense

2008-02-14 Thread Mark Thomas
Dan Armbrust wrote: So, my real question, is why the heck would anyone do this? What possible purpose could all of this obfuscation serve? All you have done is make debugging and trouble shooting 10 times more difficult than it needs to be. If you insist on refactoring the code for dubious rea

questions about JNDIRealm and Active Directory

2008-02-14 Thread Maffitt, David
I've been reading the tomcat 5.5 doc and searching MARC but still have questions about making this work. This seems to come up frequently but I have not been able to puzzle out a solution. Has anyone actually gotten tomcat to authenticate with Active Directory (AD)? I'm worried that the config

naming-factory-dbcp.jar nonsense

2008-02-14 Thread Dan Armbrust
So, I have an issue with tomcat's database connection pool. Namely, my connections keep getting closed, instead of reused. I figured that the easiest way to figure out what was going wrong was to put this in my debugger, so I could follow the close() call which should release the db connection ba

Re: Sporadic Errors in catalina log

2008-02-14 Thread Mark Thomas
Caldarale, Charles R wrote: From: Steven [mailto:[EMAIL PROTECTED] Subject: Re: Sporadic Errors in catalina log Ok so I've caputured a large amount of data and I always see something like POST ?data=blah... its never blank but its not going to a specific webpage or anything, just to the ho

RE: Sporadic Errors in catalina log

2008-02-14 Thread Caldarale, Charles R
> From: Steven [mailto:[EMAIL PROTECTED] > Subject: Re: Sporadic Errors in catalina log > > Ok so I've caputured a large amount of data and I always see > something like > > POST ?data=blah... its never blank but its not going to a > specific webpage or anything, just to the host itself. Tha

Re: Sporadic Errors in catalina log

2008-02-14 Thread Steven
Ok so I've caputured a large amount of data and I always see something like POST ?data=blah... its never blank but its not going to a specific webpage or anything, just to the host itself. On Wed, Feb 13, 2008 at 5:50 PM, Len Popp <[EMAIL PROTECTED]> wrote: > Chuck is referring to the part of t

Re: Tomcat Cluster

2008-02-14 Thread Juha Laiho
Andrew Hole wrote: I have both tomcat instances on the same machine, and tcpListenPort are different on both server.xml: instance 1 setuped with 9016 and instance 2 with 9017. When I stop one of tomcats, the other is notified properly with the following message: 12-Feb-2008 11:19:57 org.apache.

Re: tomcat cant start in windows xp 64bits

2008-02-14 Thread Mladen Turk
dr_pompeii wrote: Dear members i have windows xp, processor and mainboard of 64 bits now Code: C:\Documents and Settings\Administrator>java -version java version "1.5.0_12" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_12-b

tomcat cant start in windows xp 64bits

2008-02-14 Thread dr_pompeii
Dear members i have windows xp, processor and mainboard of 64 bits now Code: C:\Documents and Settings\Administrator>java -version java version "1.5.0_12" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_12-b04, mixed mode) C:

Remote ip Address

2008-02-14 Thread ksh95
Is it possible to programatically direct a servlet response somewhere other than the remote ip address. For instance, Is there a response.setRemoteAddr() or something similar. My ultimate goal would be to, under certain conditions, direct the servlet response to a null ip 0.0.0.0 Thanks

Re: using a class from jar file

2008-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, polock wrote: | I just put a jar file in my webapps folder That's not the place to put it. | now I would like to write | some java files with classes that are available within jar file that will be | also part of a web appli

Re: Logging in separate Thread

2008-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan and Matthias, Reich, Matthias wrote: | I think it is better to start one background worker thread and pass | the log requests to that thread with the help of a queue. Definitely. Otherwise, you could have threads piling up on one another if ever

using a class from jar file

2008-02-14 Thread polock
Dear all, I just put a jar file in my webapps folder and now I would like to write some java files with classes that are available within jar file that will be also part of a web applications. Where should I place this new java files? Shouldf they be compiled? Thank you in advance PS. Also I woul

Re: DataSource binding for JSP

2008-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, Jason Ling wrote: | the JDBC driver could not be found. I made sure the the jdbc jar | file was in place and rebooted the computer, and the same jsp file | worked. I'm glad you have solved your problem (though rebooting should not have been

Tomcat 5.5 log files

2008-02-14 Thread Chad Kellerman
Hello everyone, I have been searching around but can not find an explanation of what each log file is suppose to hold. I see that Catalina.out holds STDERR and STDOUT, but what about catalina.[date].log? Thanks, Chad

RE: Logging in separate Thread

2008-02-14 Thread Reich, Matthias
I think it is better to start one background worker thread and pass the log requests to that thread with the help of a queue. You can also consider to let the worker cache the DNS lookup results. (Usually you will see requests from the same clients lots of times.) - Matthias -Original Messag

RE: DataSource binding for JSP

2008-02-14 Thread Propes, Barry L
ok, very good! -Original Message- From: Jason Ling [mailto:[EMAIL PROTECTED] Sent: Thursday, February 14, 2008 9:47 AM To: Tomcat Users List Subject: Re: DataSource binding for JSP Barry, Thanks for your response. As you see in Chris' notes, it is safer to move the declaration to loc

Logging in separate Thread

2008-02-14 Thread Jan Mönnich
Hi folks, we want to log just the domain name a user comes from. As the required DNS reverse lookup can take some time, we would like to do the lookup and the logging in a separate thread. Is it a good idea to just start a new thread for that from a servlets doPost() method? Thanks in advance! J

Re: DataSource binding for JSP

2008-02-14 Thread Jason Ling
Barry, Thanks for your response. As you see in Chris' notes, it is safer to move the declaration to local. So instead of <%! DataSource ds; %> <% try { Context initCtx = new InitialContext(); I tried changing it to <% DataSource ds = null; try { Context initCtx = new Init

RE: DataSource binding for JSP

2008-02-14 Thread Propes, Barry L
but you should heed what Chris said, regardless of whether this happened to work or not, because you're asking for further problems down the road with that configuration -- the try/catch block and everything else, too! -Original Message- From: Jason Ling [mailto:[EMAIL PROTECTED] Sent: T

Re: DataSource binding for JSP

2008-02-14 Thread Jason Ling
Chris, Thanks for the notes. It turned out the problem (data not retrieved from the database) was not caused by the code, but by the tomcat server. I invoked the same jsp file and there was one more problem that the JDBC driver could not be found. I made sure the the jdbc jar file was in place

RE: apache-tomcat-5.5.23\common\i18n

2008-02-14 Thread Caldarale, Charles R
> From: Raghuveer [mailto:[EMAIL PROTECTED] > Subject: apache-tomcat-5.5.23\common\i18n > > I found some jars in > apache-tomcat-5.5.23\common\i18n > > Since I am using Polish for my application,does there will be > any file I need to place in this directory? The jars in the i18n directory co

deploy jsp using IDE, except netbean

2008-02-14 Thread rachmat
i'm trying jython jsp using tomcat, deploy until finished using tomcat any reference to deploy jsp using IDE, except netbean ?(use tomcat realy) and any reference to deploy jsp and servlet step by step in tomcat ? thanks before email : [EMAIL PROTECTED] ym : radis_chat

RE: in server.xml and JSP - classloader problem?

2008-02-14 Thread Pavel Janoušek
Filip Hanik - Dev Lists wrote: > I'd probably try to set >> useSystemClassLoaderAsParent="false" > >> http://tomcat.apache.org/tomcat-5.5-doc/config/loader.html Thanks, this resolve my problem. Ing. Pavel Janoušek technická podpora E-mail: [EMAIL PROTECTED] Fo

Undeployment problem

2008-02-14 Thread Sébastien Piller
Hello guys, I have a little problem with Tomcat. I have an application that can not undeploy hitself, I always need to manually restart Tomcat. There is no exception message neither any indications. On the log, I just can read that lines INFO: Jk running ID=0 time=0/16 config=null 14

Re: in server.xml and JSP - classloader problem?

2008-02-14 Thread Filip Hanik - Dev Lists
I'd probably try to set |useSystemClassLoaderAsParent="false" |http://tomcat.apache.org/tomcat-5.5-doc/config/loader.html Filip Pavel Janoušek wrote: Hello, I discovered some terrible situation yesterday... When my server.xml consists of:

in server.xml and JSP - classloader problem?

2008-02-14 Thread Pavel Janoušek
Hello, I discovered some terrible situation yesterday... When my server.xml consists of: ---

apache-tomcat-5.5.23\common\i18n

2008-02-14 Thread Raghuveer
I found some jars in apache-tomcat-5.5.23\common\i18n tomcat-i18n-en tomcat-i18n-fr tomcat-i18n-ja Since I am using Polish for my application,does there will be any file I need to place in this directory? What is the use of these files in this directory ? ---