Re: SPAM Same thread for calls to Native methods

2007-03-21 Thread Peter . Henningsen
Hi Khurram, As a Pure Java workaround, I would use a Singleton to collect work orders from various servlet-threads. That singleton would create one worker thread and feed it sequentially with work for the native code. Regards, Peter Henningsen Senior Consultant Is it possible to configure

mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-03-21 Thread Erik Melkersson
Hi! I've got an apache (1.3.33) with mod_jk (1.2.21) connecting to two tomcats (5.5.17) on other servers using a load balacer. (All running debian.) I also have mounted a jkstatus on a directory. My problem is that the jkstatus is never displaying the runtime state of the workers. I always

JSPs in JAR

2007-03-21 Thread sputnik
is there a way to include JSP files which are located in a JAR? i.e %@ import file=\/pathToJar.jar!include.jsp\% afaik the jasper compiler can load taglibs out of JARs, might be that there\'s already a solution to do this with JARs? thank you

Re: JSPs in JAR

2007-03-21 Thread Mikolaj Rydzewski
sputnik wrote: is there a way to include JSP files which are located in a JAR? i.e %@ import file=\/pathToJar.jar!include.jsp\% afaik the jasper compiler can load taglibs out of JARs, might be that there\'s already a solution to do this with JARs? You can precompile JSPs before deploying,

Re: Same thread for calls to Native methods

2007-03-21 Thread Leon Rosenberg
You can easily avoid this problem by introducing an abstraction layer which is called by the servlet and which maps the calls to the one internal thread, which is associated with native libs. You can use a queue to synchronize the calls. regards Leon On 3/21/07, kz [EMAIL PROTECTED] wrote: Hi,

Log4j problems in Tomcat 5.x

2007-03-21 Thread Gaurav Kushwaha
I am trying to use log4j with Tomcat. I created a log4j.properties file and dumped it in WEB-INF/classes. I believe its still not being picked up by Tomcat. Any ideas ? Regards, Gaurav Singh Kushwahahttp://www.chakpak.com/MovieDetailAction-Dhoom-2-.do?movieId=18183 Ph: +91-9880110695

Re: Log4j problems in Tomcat 5.x

2007-03-21 Thread Леонитьев И . Б .
You may add servlet, something like this: public class init extends HttpServlet implements ServletContextListener{ public void contextInitialized(ServletContextEvent event) { //File propertiesFile - your log4j.properties PropertyConfigurator.configure(propertiesFile.toString()); } } ..and add to

Re: Log4j problems in Tomcat 5.x

2007-03-21 Thread sputnik
Gaurav Kushwaha wrote: I am trying to use log4j with Tomcat. I created a log4j.properties file and dumped it in WEB-INF/classes. I believe its still not being picked up by Tomcat. Any ideas ? Regards, Gaurav Singh Kushwahahttp://www.chakpak.com/MovieDetailAction-Dhoom-2-.do?movieId=18183

Re: Log4j problems in Tomcat 5.x

2007-03-21 Thread Foo Shyn
Are ur tomcat started manually or by services? if it's started manually then ur path is correct, otherwise u'll need to put the properties file into the system folder. HTH Thanx. Regards, FooShyn - Original Message - From: sputnik [EMAIL PROTECTED] To: users@tomcat.apache.org Sent:

Tomcat 6.0.10/Tomcat Native 1.1.8/Apache2 .0.59/Apache APR 1.2.8/Solaris 10

2007-03-21 Thread John Minson
Please be patient this is not my area of expertise (I am a JOATMON) I installed Apache2 2.0.59 Tomcat 6.0.10 mod_jk on Solaris 10. It all seems to work. Looking at the catalina.out log file I see 'INFO: The Apache Tomcat Native library which allows optimal performance in

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt, Matthew wrote: ...get an answer to the following: For Tomcat 5.5.20, how do I configure virtual hosts using a context.xml file in the META-INF directory (of each domain's .war file) as opposed to having to do the following in

Re: JSPs in JAR

2007-03-21 Thread sputnik
Mikolaj Rydzewski wrote: sputnik wrote: is there a way to include JSP files which are located in a JAR? i.e %@ import file=\\\/pathToJar.jar!include.jsp\\\% afaik the jasper compiler can load taglibs out of JARs, might be that there\\\'s already a solution to do this with JARs?

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread EDMOND KEMOKAI
You can use mod_jk (Tomcat connector) with apache to do virtual hosting. As for who to pay? Well the mailing list is for technical help not solicitations. On 3/21/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt, Matthew wrote: ...get an

A disk directory context without cache

2007-03-21 Thread Artur Rataj
Hello. How to configure a context that displays the contents of a given disk directory, but without it being cached? I tried this, but it does not work at all, i. e. I get an error message from tomcat when trying to access /disk. Context path=/disk docBase=/home/lib/disk/

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread David Delbecq
You don't have to pay anyone, most people on this mailing list are helping each other for free. However, if you really want to waste money, i can send you my bank account number :) En l'instant précis du 21/03/07 06:53, Matthew s'exprimait en ces termes: ...get an answer to the following: For

Re: JSPs in JAR

2007-03-21 Thread Mikolaj Rydzewski
sputnik wrote: I think this would work for standalone JSP scripts but not if just using them as includes like %@ import file=\checkLogin.jsp\ % That's correct. or .. c:if test=\${page.header=\'true\'}\ jsp:import url=\/header.jsp\/ c/:if This one should work, because jsp:import /

Re: A disk directory context without cache

2007-03-21 Thread Mikolaj Rydzewski
Artur Rataj wrote: Context path=/disk docBase=/home/lib/disk/ reloadable=true Logger className=org.apache.catalina.logger.FileLogger Source code of org.apache.catalina.logger.FileLogger prefix=localhost_examples_log. suffix=.txt

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Martin Gainty
use Apache VirtualHosts ..a fairly lightweight HTTP server OR but if you want to use only tomcat if your URLs will always map to TomcatServer:TomcatPort and if you configure the default catalina connector port for 80 you will only need the TomcatServer then map your webapp relative path for

Re: Log4j problems in Tomcat 5.x

2007-03-21 Thread reno
Le mercredi 21 mars 2007 à 14:36 +0530, Gaurav Kushwaha a écrit : I am trying to use log4j with Tomcat. I created a log4j.properties file and dumped it in WEB-INF/classes. I believe its still not being picked up by Tomcat. Any ideas ? could you please precise your problem... is your log4j

requiring multiple roles for access

2007-03-21 Thread Ryan
Hi All, I would like to require a user to belong to two roles to access a certain application (i.e. user must belong to role1 AND role2 to access). I've tried the following in my web.xml auth-constraint role-namerole1/role-name role-namerole2/role-name

Tomcat5 and jndi context using fscontext from Sun

2007-03-21 Thread Francesco Pretto
Hi! I use tomcat 5.0.30 with java 1.4 for my app (constrained to them, unfortunately). My os is Gnu/Linux Ubuntu 6.10. I use hibernate plus Sun fscontext (class com.sun.jndi.fscontext.RefFSContextFactory ) to create a jndi context ( stored in the filesystem) for my application, so hibernate can

RE: [Deployment] Tomcat 5.5, Single war into multiple apps

2007-03-21 Thread Caldarale, Charles R
From: Eugene Wong [mailto:[EMAIL PROTECTED] Subject: Re: [Deployment] Tomcat 5.5, Single war into multiple apps Where should I put context if not in seperate xml under conf/Catalina/localhost? Where you have them is fine, just take out the path attribute. Do not put Context elements in

Re: A disk directory context without cache

2007-03-21 Thread Artur Rataj
I have just copied the context from another one in the default configuration file. On 3/21/07, Mikolaj Rydzewski [EMAIL PROTECTED] wrote: Artur Rataj wrote: Context path=/disk docBase=/home/lib/disk/ reloadable=true Logger

Re: A disk directory context without cache

2007-03-21 Thread Artur Rataj
Please help me. I tried this: Context path=/disk docBase=/home/lib/disk debug=0 reloadable=true /Context with various combinations of slashes, with a symlink etc. it all gives 404 when trying http://address/disk

Re: Tomcat 6.0.10/Tomcat Native 1.1.8/Apache2 .0.59/Apache APR 1.2.8/Solaris 10

2007-03-21 Thread Filip Hanik - Dev Lists
John Minson wrote: Please be patient this is not my area of expertise (I am a JOATMON) I installed Apache2 2.0.59 Tomcat 6.0.10 mod_jk on Solaris 10. It all seems to work. Looking at the catalina.out log file I see 'INFO: The Apache Tomcat Native library which allows optimal

RE: A disk directory context without cache

2007-03-21 Thread Propes, Barry L [GCG-NAOT]
all of mine look like this, with no slashes on docBase Context path=/examples docBase=examples debug=0 in fact...I had a problem before when I did put slashes in the docBase attribute. -Original Message- From: Artur Rataj [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 9:23

Re: A disk directory context without cache

2007-03-21 Thread Hassan Schroeder
On 3/21/07, Artur Rataj [EMAIL PROTECTED] wrote: it all gives 404 when trying http://address/disk Do you have a valid welcome file, or are you specifically trying a file that you *know* is there? e.g. either http://address/disk/index.jsp or http://address/disk/foo.html Directory

Re: A disk directory context without cache

2007-03-21 Thread sputnik
Artur Rataj wrote: Please help me. I tried this: Context path=\/disk\ docBase=\/home/lib/disk\ debug=\0\ reloadable=\true\ /Context with various combinations of slashes, with a symlink etc. it all gives 404 when trying http://address/disk

Problem help: how iterate arraylist included in a object with c:for

2007-03-21 Thread dr_pompeii
Hello guys i have this case: for payments each object (a debt) can has more details about part of payment (Set object) of the object so, in the next part of code jsp, the first for represents the list of the objects and the nested for (second) represents the details or the Set objects for each

RE: requiring multiple roles for access

2007-03-21 Thread Caldarale, Charles R
From: Ryan [mailto:[EMAIL PROTECTED] Subject: requiring multiple roles for access I would like to require a user to belong to two roles to access a certain application (i.e. user must belong to role1 AND role2 to access). I've tried the following in my web.xml auth-constraint

Re: A disk directory context without cache

2007-03-21 Thread Artur Rataj
Thank you for help, it was indeed the listings setting in web.xml that needed to be changed. Now it works ok. Artur - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

AW: Unable to compile class for JSP

2007-03-21 Thread Peter.Matthias
Hi everybody, thanks for your help, which I really appreciate! I still don't know exactly what it was, but I fixed it by doing the following: - uninstall tomcat - reinstall it, not having it run as a windows service - installing it in a directory tomcat_4_1 rather then the suggested tomcat 4.1

RE: SSL set expiration date

2007-03-21 Thread Zhan, Jimmy
Hi, I don't you can or not to set none/never expire, but you can set a longer days. If you use keytool, using -validith days(say 10) If you use openssl using -day days(say 10) Hope it help you. Jimmy -Original Message- From: Hoa Doan [mailto:[EMAIL PROTECTED] Sent:

RE: SSL set expiration date

2007-03-21 Thread Hoa Doan
Yup it helped thanks, its better than the default one. Zhan, Jimmy [EMAIL PROTECTED] wrote: Hi, I don't you can or not to set none/never expire, but you can set a longer days. If you use keytool, using -validith days(say 10) If you use openssl using -day days(say 10) Hope it help

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Matthew
Hello, Thanks for all the replies to my plea. I should point out that I am not trying to do all the configuring of virtual hosts in the context.xml file. I realize I still need the Host entries in server.xml, however, I believe there is a way of specifying the context information in

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Matthew
Hello David, If you care to send me the solution along with that bank account number.. ;-) David Delbecq wrote: You don't have to pay anyone, most people on this mailing list are helping each other for free. However, if you really want to waste money, i can send you my bank account

RE: Who do I have to pay (and how much) to...

2007-03-21 Thread Caldarale, Charles R
From: Matthew [mailto:[EMAIL PROTECTED] Subject: Re: Who do I have to pay (and how much) to... I believe there is a way of specifying the context information in context.xml that resides in the META-INF directory of the hosts .war file. That is the preferred mechanism. Read the doc:

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Matthew
Hello Chuck, Actually, I'm getting a 400. I have read many pages (including the link you've provided) and agree that the consensus is that the context tag (in META-INF) should be empty if there at all. However, regardless of how I populate the Host tag in server.xml, I always get a 400 (so

RE: deploying problem

2007-03-21 Thread Deano!!
21-Mar-07 4:20:42 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet Faces Servlet threw exception com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: Exception in JSP: /Page1.jsp:7 4: f:view 5: ui:page

Can I get your 2 cents?

2007-03-21 Thread Nathan Aaron
I sent this yesterday. I am hoping someone can let me know as why this is occurring or maybe give me some ideas of things to look at. Any help would be greatly appreciated! I am running Apache 2.0.52, jk2 2.0.4, and Tomcat 5.0.28. Recently I changed the version of Java that Tomcat is using

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Rashmi Rubdi
Not sure if you read this: http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html I've configured according to Approach #2 , as it makes it easy to switch off projects in the development environment. I was able to set up virtual hosts simply by following the above How-to.** On

Can JMX proxy invoke operations on Mbeans?

2007-03-21 Thread Nicholas Sushkin
Hi, Can I invoke mbean operations using JMX Proxy? I am reading Using JMX Proxy Servlet Section of http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html, but it only mentions reading and setting mbean attributes. Thank you -- Nicholas Sushkin, Senior Software Engineer Open Finance

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Hassan Schroeder
On 3/21/07, Matthew [EMAIL PROTECTED] wrote: Here's the set up I imagine (a fixed size font may be needed to view the directory structures below)... In server.xml... Host name=domain1.com appBase=? /Host Host name=domain2.com appBase=? /Host This is just not that difficult. Specify

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Matthew
Hello Hassan, I quite agree, it should be easy. As it turns out, whilst I saw the link mentioned by Rashmi and tried it a while ago, my configuration must have been compromised elsewhere, as it did not work. Now, retrying the same thing, it comes up fine and, as you said, with hindsight, it

RE: Who do I have to pay (and how much) to...

2007-03-21 Thread Caldarale, Charles R
From: Matthew [mailto:[EMAIL PROTECTED] Subject: Re: Who do I have to pay (and how much) to... Actually, I'm getting a 400. I should point out that the whole set up works when I add a Context tag within the Host tag (in server.xml) and set the docBase. I should not need (nor do I want)

Re: JK ISAPI Filter and Keep-Alive/Chunked Encoding (a.k.a. Is 1.2.21 broken?)

2007-03-21 Thread Mladen Turk
Brandon Knitter wrote: Attached and below. Let me know if this is considered large and I should move this to a bugzilla issue. Only took us about 30 minutes to apply it. Again, this is against 1.2.21! It would be the best if you could open bugzilla issue, because the patch is more the a

RE: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
From: Nelson, Tracy M. [mailto:[EMAIL PROTECTED] Subject: RE: apache-tomcat on an ia64 rhel4? Sun shows a 1.5 JDK for RHAS3.0 on Itanium2 at http://java.sun.com/j2se/1.5.0/system-configurations.html. Yup - but there's no IA64 entries on the actual download page. Bait and switch? -

IIS 7.0

2007-03-21 Thread Stefan Wachter
Hi all, has anyone already managed to integrate Tomcat into an IIS 7.0 using the isapi_redirect.dll? I tried for several hours but did not succeed. --Stefan - To start a new topic, e-mail: users@tomcat.apache.org To

Re: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
I couldn't find the binary to download either like Charles. Thanks for the link though On 3/21/07, Nelson, Tracy M. [EMAIL PROTECTED] wrote: | From: Jeff Sadowski [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 20 March, 2007 16:44 | | I would like to run apache-tomcat on an dual Itanium server I

Re: can a web app discover its Service?

2007-03-21 Thread Paul Singleton
Raghupathy, Gurumoorthy wrote: How about Setting up jndi variables ? I've had a closer look at Tomcat Configuration Reference, which says you can set per-Server JNDI variables (GlobalNamingResources), and per-Context ones, but there's no mention of per-Service variables. Any idea whether/how

Re: can a web app discover its Service?

2007-03-21 Thread Paul Singleton
Mikolaj Rydzewski wrote: Paul Singleton wrote: I want to deploy the same war into different (5.5) Services (e.g. test and live), and want it to discover where it is and behave differently. Is there a Tomcat-specific way to do this? JMX and MBeans come to mind. Is there a

RE: can a web app discover its Service?

2007-03-21 Thread Caldarale, Charles R
From: Paul Singleton [mailto:[EMAIL PROTECTED] Subject: Re: can a web app discover its Service? I've had a closer look at Tomcat Configuration Reference, which says you can set per-Server JNDI variables (GlobalNamingResources), and per-Context ones, but there's no mention of per-Service

Re: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
I'm still really unclear about what tomcat is. I have never used it I play mostly with php and html. I have another engineer that would like to use it. Is there a fully open source alternative? I guess tomcat itself is open source but it depends on java development kit? is that right? I'm more

Re: requiring multiple roles for access

2007-03-21 Thread Ryan
Barry, I'm looking for a way to disable the user by taking them out of one role, but leaving them in the roles they were in before they were disabled (for informational purposes). I didn't think it would be possible, but I wanted to throw it out there in case I missed something. What you are

Re: can a web app discover its Service?

2007-03-21 Thread Paul Singleton
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, Paul Singleton wrote: I want to deploy the same war into different (5.5) Services (e.g. test and live), and want it to discover where it is and behave differently. Is there a Tomcat-specific way to do this? Is

Re: requiring multiple roles for access

2007-03-21 Thread Ryan
Chuck, I think you and Barry are correct, I will probably to define another role for this purpose and segregate different parts of the application. Thanks, Ryan On 3/21/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Ryan [mailto:[EMAIL PROTECTED] Subject: requiring multiple roles

RE: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
From: Jeff Sadowski [mailto:[EMAIL PROTECTED] Subject: Re: apache-tomcat on an ia64 rhel4? I'm still really unclear about what tomcat is. Many books and tutorials are available, most of them freely available on the web. I guess tomcat itself is open source but it depends on java

RE: requiring multiple roles for access

2007-03-21 Thread Propes, Barry L [GCG-NAOT]
yeah and you might even add another table to tie it in, too. I've done that as well. Tomcat requires the users and user_roles tables, but that doesn't inhibit you from customizing it further if needed. -Original Message- From: Ryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21,

Re: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread David Smith
Tomcat is really a whole service environment for running java servlets and jsp. Don't think if it in terms of CGIs that just run for the request and close down. Tomcat is more akin to Apache's httpd, listening ports and responding to client requests on the http or https protocol. It can be

Re: can a web app discover its Service?

2007-03-21 Thread Bob Hall
--- Paul Singleton [EMAIL PROTECTED] wrote: I want to deploy the same war into different (5.5) Services (e.g. test and live), and want it to discover where it is and behave differently. I didn't explain *why* we want to do this, because I don't want to spend time debating it with

high CPU usage

2007-03-21 Thread Gurdeep Kaur \(gurdeep\)
I am going to add some more information to the question I asked yesterday. I am running a TLS test case to do a TLS handshake on port 8443 of our server that is running Tomcat 5.5. I noticed in the log file that there are two threads currently running on the invocation of this test( there should

Re: can a web app discover its Service?

2007-03-21 Thread Paul Singleton
Bob Hall wrote: --- Paul Singleton [EMAIL PROTECTED] wrote: I want to deploy the same war into different (5.5) Services (e.g. test and live), and want it to discover where it is and behave differently. I didn't explain *why* we want to do this, because I don't want to spend time

RE: JK ISAPI Filter and Keep-Alive/Chunked Encoding (a.k.a. Is 1.2.21 broken?)

2007-03-21 Thread Brandon Knitter
Will do, please give me a day. -- -bk -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 11:27 AM To: Brandon Knitter Cc: Tomcat Users List Subject: Re: JK ISAPI Filter and Keep-Alive/Chunked Encoding (a.k.a. Is 1.2.21 broken?) Brandon

Re: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread vamsee movva
How about installing everything from source ?? On 3/21/07, David Smith [EMAIL PROTECTED] wrote: Tomcat is really a whole service environment for running java servlets and jsp. Don't think if it in terms of CGIs that just run for the request and close down. Tomcat is more akin to Apache's

RE: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
From: vamsee movva [mailto:[EMAIL PROTECTED] Subject: Re: apache-tomcat on an ia64 rhel4? How about installing everything from source ?? Are you talking about building a JVM from the Sun source? That's a decidedly non-trivial exercise, and still doesn't resolve the problem of not having a

Re: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread vamsee movva
Hi Chuck, I am talking about bulding JAVA SE from source. I thought it won't be a problem. My project supervisor told me , he built Java SE on IA64 bit machine. I don't know whether Java SE comes with JRE or not. I know we need not build java application again if we change the platform. Excuse

RE: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
From: vamsee movva [mailto:[EMAIL PROTECTED] Subject: Re: apache-tomcat on an ia64 rhel4? My project supervisor told me , he built Java SE on IA64 bit machine. Yes, it can be done, but that still doesn't address the lack of a JIT to convert byte codes into IA64 instructions. (The HotSpot

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread vamsee movva
Ok, I got it. Thanks On 3/21/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: vamsee movva [mailto:[EMAIL PROTECTED] Subject: Re: apache-tomcat on an ia64 rhel4? My project supervisor told me , he built Java SE on IA64 bit machine. Yes, it can be done, but that still doesn't

Re: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
What is the difference between Java Runtime Environment and having the java binary to run? Is there one? If I have the java binary do I not have the JRE? rpm -qa|grep java java-1.4.2-gcj-compat-1.4.2.0-27jpp gcc-java-3.4.6-3.1 I know swing is not implemeted yet but do servlets use guis? IA64

Re: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
IBM's JRE is jikes I think I'll look into it it might also be an opensource project. Might I'll check it out. Thanks On 3/21/07, David Smith [EMAIL PROTECTED] wrote: Tomcat is really a whole service environment for running java servlets and jsp. Don't think if it in terms of CGIs that just run

Re: Re: Requesting files with non-English/international characters in their names

2007-03-21 Thread Thomas Peter Berntsen
-- Forwarded message -- From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Date: Mon, 19 Mar 2007 12:55:30 -0400 Subject: Re: Requesting files with non-English/international characters in their names -BEGIN PGP SIGNED MESSAGE- Hash:

RE: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
From: Jeff Sadowski [mailto:[EMAIL PROTECTED] Subject: Re: apache-tomcat on an ia64 rhel4? What is the difference between Java Runtime Environment and having the java binary to run? A myriad of library API implementations provided with a proper JRE but not supported by gcj. I know swing

Re: OutOfMemoryError

2007-03-21 Thread Haroon Rafique
On Yesterday at 2:54pm, FHDL=Filip Hanik - Dev Lists [EMAIL PROTECTED]...: FHDL java.lang.OutOfMemoryError: unable to create new native thread FHDL FHDL There is not enough space to create a new thread. Threads(stacks). FHDL if -Xmx solves your problem, then set it and be happy :) FHDL FHDL

Problem in MySQL JNDI Resource..

2007-03-21 Thread prt
Hi to all, I have in webapps web application name test1. In server.xml i define Resource for MySQL db, Host name=localhost appBase=webapps ... Context path=/test1 debug=0 reloadable=true crossContext=true Resource name=jdbc/mydb auth=Container type=javax.sql.DataSource

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
What about jikes will that work? On 3/21/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Jeff Sadowski [mailto:[EMAIL PROTECTED] Subject: Re: apache-tomcat on an ia64 rhel4? What is the difference between Java Runtime Environment and having the java binary to run? A myriad of

RE: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
From: Jeff Sadowski [mailto:[EMAIL PROTECTED] Subject: Re: [OT] apache-tomcat on an ia64 rhel4? What about jikes will that work? Jikes is just a Java compiler - not a runtime system. You still need a JRE to load and execute the generated class files and provide the APIs. Class files

Re: Problem in MySQL JNDI Resource..

2007-03-21 Thread Rashmi Rubdi
The closing host tag's case doesn't match the opening Host tags case, I don't know if it matters but just wanted to point it out. It should be Host /Host and not Host /host -Rashmi On 3/21/07, prt [EMAIL PROTECTED] wrote: Host name=localhost appBase=webapps ... Context path=/ debug=0

RE: Problem in MySQL JNDI Resource..

2007-03-21 Thread Caldarale, Charles R
From: prt [mailto:[EMAIL PROTECTED] Subject: Problem in MySQL JNDI Resource.. Host name=localhost appBase=webapps ... Context path=/test1 debug=0 reloadable=true The Context element should not be placed in server.xml, since changing it requires restarting Tomcat. Put it in your webapp's

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
Yeah I was reading about this on the jikes sight I guess I need jdk? I should be able to get this from any platform's binary distribution and copy the classpath files they should be compiled into bite code right? Is this what you meant Charles by getting the x86 version? and then compile jikes

RE: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
From: Jeff Sadowski [mailto:[EMAIL PROTECTED] Subject: Re: [OT] apache-tomcat on an ia64 rhel4? Yeah I was reading about this on the jikes sight I guess I need jdk? Actually, just a JRE for the current versions of Tomcat. 5.0 and below required a JDK. I should be able to get this from

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
Is there an open source JRE? On 3/21/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Jeff Sadowski [mailto:[EMAIL PROTECTED] Subject: Re: [OT] apache-tomcat on an ia64 rhel4? Yeah I was reading about this on the jikes sight I guess I need jdk? Actually, just a JRE for the current

request hangs

2007-03-21 Thread Chris Eldredge
I'm working on a web application which sometimes has several daemon threads doing I/O processing in the background. The application seems to be fine except when several tasks are running, sometimes Tomcat gets a request and doesn't seem to process it. The request seems to time out without

Re: Requesting files with non-English/international characters in their names

2007-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, Thomas Peter Berntsen wrote: Are you serving your pages in UTF-8 encoding? Usually, the browser uses the response encoding from the previous request to submit the next request's URI. If you are using ISO-8859-1 for your web pages, then

RE: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
From: Jeff Sadowski [mailto:[EMAIL PROTECTED] Subject: Re: [OT] apache-tomcat on an ia64 rhel4? Is there an open source JRE? The Sun JRE is at least partially open source as of sometime last year (maybe all of it is by now - it's not really a concern); why are you hung up about that? -

Re: can a web app discover its Service?

2007-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, Paul Singleton wrote: For now, I'm using ServletRequest.getLocalAddr() on the first request and inferring deploy mode from that. That seems pretty fragile, although I must admit that I can't immediately think of a way to subvert it. I mean,

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
Because I am not finding the stuff I need to install as far as I know there is no ia32 support on rhel4 running on my ia64 thus the ia32 jre's will not work. All my other servers are windows platforms which I can not run anything other than what is running on them already. Windows machines are

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
If all else fails I could run bochs and run linux on top of that boy that would be ugly. On 3/21/07, Jeff Sadowski [EMAIL PROTECTED] wrote: Because I am not finding the stuff I need to install as far as I know there is no ia32 support on rhel4 running on my ia64 thus the ia32 jre's will not

Re: request hangs

2007-03-21 Thread Martin Gainty
Hi Chris- what happens when you log these events? start of UDP loop Accepting UDP packets on the loopback address. log the buffer from UDP accept goto start of UDP loop start of loop to write to temp file Reading standard out from a child process log the buffer which is read from standard out

Re: Connections in tomcat resource in busy state forever

2007-03-21 Thread Mark Thomas
Drazen Nikolic wrote: Is there a possibility to remove those connection, or to threat them somehow not be become busy forever? Configuring a time-out (to close them if they are open too long) and a validation query (to fix any connections broken when the db goes down) should help. Mark

question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread James liu
i use freebsd 6.2 , tomcat 6(gz file which not installed). java 1.5_07 anyone know how to solve? Error information: Mar 22, 2007 9:03:40 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet jsp threw exception java.net.UnknownHostException:

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread Rashmi Rubdi
java.net.UnknownHostException Thrown to indicate that the IP address of a host could not be determined. Could you post the snippet of code that throws this error? -Rashmi On 3/21/07, James liu [EMAIL PROTECTED] wrote: SEVERE: Servlet.service() for servlet jsp threw exception

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread James liu
I don't know where error happen from this information. It work well when i use winxp+tomcat6(same zip file)+java 1.6 It is index.jsp. %@ page contentType=text/html; charset=utf-8 pageEncoding=UTF-8% %-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread James liu
Maybe header.jsp output host cause it happen Am i right? i m jsp newbie. %@ page contentType=text/html; charset=utf-8 pageEncoding=UTF-8% %-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work

Re: high CPU usage

2007-03-21 Thread Mark Thomas
Gurdeep Kaur (gurdeep) wrote: Any pointers, inputs will be greatly appreciated. The handshake is handled by JSSE / the JDK. This looks like a JSSE / JDK issue rather than a Tomcat one. Mark - To start a new topic, e-mail:

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread James liu
i fix itjust modify my host name Thk u,Rashmi

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread Filip Hanik - Dev Lists
your system returns .chemease.local as a hostname, and naturally that doesn't resolve to anything two options 1. fix your hostname 2. possibly add .chemease.local into /etc/hosts to trick the server, not sure how that is gonna work with the . prefix, but it just might Filip James liu wrote:

How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread James liu
It work well when i use it in winxp+tomcat6+java1.6 Now i use freebsd6, use same tomcat6, my customer jar is put under $TOMCAT_HOME/lib/,,,and set classpath to it. but tomcat 6 seems not know it. How to can i fix it? -- regards jl

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread Rashmi Rubdi
Instead of setting CLASSPATH , I set JAVA_HOME to the JDK home folder , CATALINA_HOME to Tomcat home folder in system environment variables. You can try the above and see if Tomcat 6 identifies the JAR files in tomcat's lib folder. -Rashmi On 3/21/07, James liu [EMAIL PROTECTED] wrote: Now i

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread James liu
This is some informat in my ~/.cshrc file . I set all what u said. setenv JAVA_HOME /usr/local/diablo-jdk1.5.0 setenv TOMCAT_HOME /tmp/apache-tomcat-6.0.10 setenv CATALINA_HOME /tmp/apache-tomcat-6.0.10 setenv CATALINA_BASE /tmp/apache-tomcat-6.0.10 setenv CATALINA_TMPIR

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread Rashmi Rubdi
There's a file called RUNNING.txt , which is located under Tomcat's root folder, which gives Tomcat configuration instructions. The RUNNING.txt file mentions setting JAVA_HOME , and doesn't mention any of the other environment variables like TOMCAT_HOME , CATALINA_HOME, CATALINA_BASE, CLASSPATH

  1   2   >