Re: Can I read file resources from a .WAR file at runtime ?

2003-10-14 Thread Bill Barker
Justin's suggestion works, but personally I prefer using: InputStream is = getServletContext().getResourceAsStream(/WEB-INF/myresource); Steph Richardson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a web-app that uses several xml, xsd, and other configuration files at

Re: Constant strukle with connecting to firebird/interbase

2003-10-14 Thread Bill Barker
You have neglected to mention your Tomcat version. At a guess, (from the stack-trace), you are using a 3.2.x version. Richard Drent [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Guyzzz Im trying to connect my tomcat to a firebird database server. The first time after a restart of

Re: Why should I use Tomcat vs .NET?

2003-10-14 Thread Bill Barker
Yup. Pretty much what Dov says. Unless you are a one-man-shop, then a MSDN subscription is pretty expensive. And even then, your clients will still have to purchase licenses for any MS components that are required (since you can't (legally) redistribute what you've got from MSDN). Dov

Re: Remove from user group

2003-10-14 Thread Bill Barker
Urm, see the funny little messages attached to the bottom of this message (and every other message sent from this list :). Matthew Do [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Any body know how to remove one's name for TOMCAT USER GROUP. I got too many e-mails Please HELP

Re: manager.xml: cannot configure SSL for form-based authentication

2003-10-14 Thread Bill Barker
Adam Hardy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sorry if this comes through twice. I think it got eaten by my email software the first time. I have tried putting the following in $CATALINA_HOME/server/webapps/manager/WEB-INF/web.xml but the SSL config is ignored:

Re: redirect port 8080 to 443

2003-10-14 Thread Twan Munster
I got it working, thnx now i have to get my client authentication working. Its very difficult under tomcat. - Original Message - From: Steph Richardson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Twan Munster [EMAIL PROTECTED] Sent: Monday, October 13, 2003 10:56 PM

RE: HttpsURLConnection, Tomcat 4.1.27, and jsse.jar

2003-10-14 Thread Yuriy Stul
May be problem is that Tomcat 4.1.27 was compiled under Java 1.4... and JSSE under Java 1.3? Yuriy. -Original Message- From: Nathan Christiansen [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 7:32 PM To: Tomcat Users List Subject: RE: HttpsURLConnection, Tomcat 4.1.27, and

Change Logs Format.

2003-10-14 Thread Jordi Mateu
Hi everyone: There's any way to change the log format generated by the tomcat server? Thnks...

How I can share sessions between applications?

2003-10-14 Thread Veselin Kovacevic
How I can share sessions between applications on same server? Veso

ssl client authentication drives me crazy

2003-10-14 Thread Twan Munster
Hello, With apache client authentication was so simple. Now my boss wants to use it for smartcard login and I have to use tomcat with cocoon. Thats why I need the client authentication with ssl to work. But I just can't fix it can anyone please help me. All examples wont work I always get

Re: ssl client authentication drives me crazy

2003-10-14 Thread Kenneth Westelinck
This article solved everything for me: http://ws.apache.org/soap/docs/install/FAQ_Tomcat_SOAP_SSL.html Follow it to the letter and you will get it to work. Trust me. From: Twan Munster [EMAIL PROTECTED] Reply-To: Twan Munster [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: ssl

RE:

2003-10-14 Thread Iain Kerr
-Original Message- From: Iain Kerr Sent: 13 October 2003 11:38 To: '[EMAIL PROTECTED]' Subject: Brent - did you ever resolve this problem as I am having the same difficulty Regards Iain Kerr. I saw some posts in the mailing list archives about this but haven't really found

Constant strukle with connecting to firebird/interbase

2003-10-14 Thread Richard Drent
Guyzzz Im trying to connect my tomcat to a firebird database server. The first time after a restart of the httpd/tomcat he gifs as an error start Root cause: java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied

RE: Constant strukle with connecting to firebird/interbase

2003-10-14 Thread Richard Drent \(Drent IT BV\)
Tomcat version = 3.2.3 Sdk = 1.3 Met vriendelijke groeten Richard Drent Guyzzz Im trying to connect my tomcat to a firebird database server. The first time after a restart of the httpd/tomcat he gifs as an error start Root cause:

Re: ssl client authentication drives me crazy

2003-10-14 Thread Twan Munster
Hi, And also when i use that self signed certificates, it won't work alwasy the same errors: Unsupported SSL v2.0 ClientHello, no cipher suites in common and handshake error. what can it be???something wrong configured? this is my server.xml Connector

Re: manager.xml: cannot configure SSL for form-based authentication

2003-10-14 Thread Adam Hardy
On 10/14/2003 08:41 AM Bill Barker wrote: Adam Hardy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Basically it always stays in non-SSL protocol. I posted this in bugzilla, being confident that tomcat was not doing what it was supposed to, but apparently it is. I got the following

RE: Why should I use Tomcat vs .NET?

2003-10-14 Thread Walker Chris
Chuck, I agree with most of what you say except for your point about software purchase costs. While $450 is a lot for an individual to find, for a company the purchase cost of software is trivial compared to the cost of learning to use it. I don't know what contract rates are like in San Diego,

Probelm with the jsp:setProperty / tag.

2003-10-14 Thread anunay ashish
Hi, I am facing difficulty while using setProperty tag in JSP. My JSP page is: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTML HEAD TITLE Page ranges /TITLE META NAME=Generator CONTENT=EditPlus META NAME=Author CONTENT= META NAME=Keywords CONTENT= META NAME=Description

mod_jk2: mod_jk child workerEnv in error state 46

2003-10-14 Thread Bernhard Erdmann
Hi, I've got Apache 2.0.47, two Tomcats 4.1.24 and mod_jk2 2.0.2 running on Linux. There are lots of lines containing mod_jk child workerEnv in error state 46. Does it harm? [Tue Oct 14 11:11:37 2003] [error] mod_jk child workerEnv in error state 46 [Tue Oct 14 11:11:38 2003] [error] mod_jk

Re: [ANN] Updated Apache + Tomcat RH HOWTO

2003-10-14 Thread Jacob Kjome
At 12:09 PM 10/14/2003 +0800, you wrote: Hi John, You may want to correct the URL -- it says localhost in your email. :) Regards, pascal chong Should be: http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html Jake John Turner wrote: Apache 2 HTTP + Tomcat + JK. Updated with the

RE: Probelm with the jsp:setProperty / tag.

2003-10-14 Thread CUCKSON, Nick, FM
Anunay, you need to add accessor methods to your bean for the property bookId. ie public void setBookId(String bookId) { this.bookId = bookId; } public String getBookId() { return bookId; } and set the property from the jsp page. eg jsp:setProperty name=rangePage property=* / Nick

Re: Probelm with the jsp:setProperty / tag.

2003-10-14 Thread anunay ashish
Nick, Can I also use the variable name in property attribute instead of *? Regards, Anunay. - Original Message - From: CUCKSON, Nick, FM [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 3:20 PM Subject: RE: Probelm with the jsp:setProperty / tag.

hebrew in a request parameter

2003-10-14 Thread Yair Ben-meir
hey i call a link like tmp.jsp?yair= (yairs value is an hebrew letter). in tmp.jsp, i use request.getParameter(yair) and get a string which is - ? (i looked at the bytes and confirmed that it is not a miss in the encoding, but a real ?). how do i tell the tomcat how to deal with the

INVOKER fails after webapp recompile

2003-10-14 Thread Niklas Saers Mailinglistaccount
Hi all, every time I recompile my servlet (targetted at the deployment directory), org.apache.catalina.INVOKER lists it as unavailable. This is fixed by stopping and starting the tomcat server, but this is far from ideal. Can someone tell me why this happens and what can be done so that it will

Re: INVOKER fails after webapp recompile

2003-10-14 Thread anunay ashish
I faced the same problem. I think by starting the web application from Tomcat manager can bypass the need to restart the tomcat. - Original Message - From: Niklas Saers Mailinglistaccount [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 3:53 PM Subject: INVOKER fails

Re: INVOKER fails after webapp recompile

2003-10-14 Thread Antony Paul
If you are using Tomcat 4.1.27 you have to install a patch available in Tomcat download directory. Antony Paul - Original Message - From: Niklas Saers Mailinglistaccount [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 3:53 PM Subject: INVOKER fails after webapp

Can any one tell where is a simple Tomcat + IIS how to using Coyote/JK2 AJP 1.3?

2003-10-14 Thread Antony Paul
Hi all, I tried configuring Tomcat 4.1.27 + IIS 5.0 using JK connector(isapi_redirector.dll) as per the documentation on the onjava.com (http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html). But failed. Thinking that it may be a problem with DLL I went to download it again. But no bianry

Re: Anyway to disable timstamping log files???

2003-10-14 Thread Tim Funk
The Loggers automatically rotate nightly. You'll need to extend LoggerBase or FileLogger to have it not rotate. -Tim Rhugga wrote: Here is my logs/ directory: catalina2003-10-13.log localhost2003-10-13.log localhost_access2003-10-13.log localhost_admin_log.2003-10-13.txt

Re: service unavailable

2003-10-14 Thread Tim Funk
If your using 4.1.27 - you need the hotfix from the same place where you downloaded tomcat. -Tim Niklas Saers Mailinglistaccount wrote: Hi, lately my servlets have started generating 503 ERRORS with the following in my logs. Can anyone explain to me what this is so I can hunt down the problem?

RE: Probelm with the jsp:setProperty / tag.

2003-10-14 Thread CUCKSON, Nick, FM
Anunay, yes you can. heres a link to sun's syntax reference for setting properties in jsp... http://java.sun.com/products/jsp/tags/12/syntaxref1216.html#8856 Nick -Original Message- From: anunay ashish [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 11:12 To: Tomcat Users List Subject:

Re: Change Logs Format.

2003-10-14 Thread Tim Funk
The AccessLogs can be changed by changing the pattern property. The docs have more details. -Tim Jordi Mateu wrote: Hi everyone: There's any way to change the log format generated by the tomcat server? Thnks... - To

Re: How I can share sessions between applications?

2003-10-14 Thread Tim Funk
You can't, it violates the spec. You'll need another data sharing mechanism. For example, EJBs, database, or static class at the common classloader. -Tim Veselin Kovacevic wrote: How I can share sessions between applications on same server? Veso

Problem using realm to connect to a database

2003-10-14 Thread Peter Ivarsson
Hi, I have problem with connecting to a Realm database. I get this error. Catalina.start: LifecycleException: Exception opening database connection: java.sql.SQLException: twz1.jdbc.mysql.jdbcMysqlDriver LifecycleException: Exception opening database connection: java.sql.SQLException:

Re: Can any one tell where is a simple Tomcat + IIS how to using Coyote/JK2 AJP 1.3?

2003-10-14 Thread Thorsten Westmeier
Hi, I can help you only with Tomcat, IIS + JK1 1.2.4 By the way, if anyone knows, what to change to use 1.2.5, please help!!! Simply replacing the dll is not enough, but what else is to do? 1. Make sure, that Tomcat and IIS run correct as standalone Versions . Try http:/localhost/ and an

RE: Can I read file resources from a .WAR file at runtime ?

2003-10-14 Thread Shapira, Yoav
Howdy, Yeah, I usually prefer ServletContext#getResource or getResourceAsStream over the Class loader approach (Justin's suggestion) as well. Yoav Shapira Millennium ChemInformatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Tuesday, October

RE: Declaring resources - web.xml vs. server.xml

2003-10-14 Thread Shapira, Yoav
Howdy, Senor Shneyderman's answer was fully correct. So, according to the Servlet spec, I need to declare my resource needs in web.xml; then it's up to the container to provide those resources, and the Yes. spec says that is configured via ResourceParams/ in the server's configuration? Or is

RE: How to use jar files from CLASSPATH

2003-10-14 Thread Shapira, Yoav
Howdy, What you should really do is get a DB2 JDBC pure java driver -- they're out there (multiple vendors, some free some not) and perform just as well as type 1 or type 2 drivers. Then put this driver's jar file in WEB-INF/lib. But if you can't do the above, hack tomcat's startup scripts to

RE: Jav.util.logging URGENT

2003-10-14 Thread Shapira, Yoav
Howdy, You're doing far too much. Why are you wrapping java.util.logging.Logger? JDK 1.4 logging, like any serious logging package, will format the logs and timestamps as you specify in the logging configuration file. Yoav Shapira Millennium ChemInformatics -Original Message- From:

RE: Object not found

2003-10-14 Thread Shapira, Yoav
Howdy, Is the tomcat on port 8011 starting up OK, can you run all its examples? If not, debug that first. Perhaps do a clean installation of tomcat, changing just the port numbers. Comment out all unneeded connectors, and make sure you're changing the server port (Server in server.xml) as well

RE: Page context.

2003-10-14 Thread Shapira, Yoav
Howdy, http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ Yoav Shapira Millennium ChemInformatics -Original Message- From: anunay ashish [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 6:12 AM To: Tomcat Users List Subject: Page context. Hi, What is meant by page context in

RE: Question

2003-10-14 Thread Shapira, Yoav
Howdy, Yes, use a clickstream-type filter: http://orionsupport.com/archive/clickstream/ Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, October 11, 2003 1:01 PM To: [EMAIL PROTECTED] Subject: Question Hi,

Re: I post a text XML with Microsoft.XMLHTTP to servlet

2003-10-14 Thread Blackmore, John
Hi, I have the same problem. Can you elaborate on the ..., ie how to extract the XML string from the request? I've tried a few different methods without success. I'm running Tomcat 4.1.24-LE-jdk14 on Solaris. I have a servlet that clients post XML to. One client uses XMLHTTP object to do the post,

RE: Tomcat 5 failing on my Solaris 9 box, help!!!

2003-10-14 Thread Shapira, Yoav
Howdy, So if you just put the image URL into the browser directly, it doesn't load? Are you sure your image links in the HTML files are correct? Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003

RE: I post a text XML with Microsoft.XMLHTTP to servlet

2003-10-14 Thread Shapira, Yoav
Howdy, Second, I tried to forcibly retrieve characters from the input stream, one by one. String xmlDocString = getXMLString((InputStream) req.getInputStream()); Document document = builder.parse(new StringBufferInputStream(xmlDocString)); Note: the getXMLString() function is not

RE: Tomcat and JBoss

2003-10-14 Thread Shapira, Yoav
Howdy, Tomcat should not be installed on J2EE but it can be done with hacks. If you want the two separate installations, tomcat and JBoss, it's easy to do as you described: set a different JAVA_HOME for each one in their startup scripts. Yoav Shapira Millennium ChemInformatics -Original

RE: I post a text XML with Microsoft.XMLHTTP to servlet

2003-10-14 Thread erlis
Try to call your XML in the internet explorer and see if that xml have no errors.. It seems like the xml isn't well formed... Sincerely Erlis Vidal Santos -Original Message- From: Blackmore, John [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 9:22 AM To: '[EMAIL

RE: Tomcat and multiple processors

2003-10-14 Thread Shapira, Yoav
Howdy, afaik, one java + tomcat instance consumes a lot of memory. i.e. i set it It depends on your setup: how many webapps, how much memory they need, how many connectors, how many processing threads, etc. Tomcat can run with a small (8MB) memory footprint with a small webapp and one coyote

RE: Tomcat hangs after a few days!

2003-10-14 Thread Shapira, Yoav
Howdy, Shapira, Yoav schrieb: Cool verb ;) maybe following hint could be important for you: Nearly ALL persons that make use of FreeBSD do NOT use the - in your words - normal configuration or normal jvms because you get trouble with it under FreeBSD. And whose problem is that? ;) Certainly

Re: JSP import command

2003-10-14 Thread Stephan Melchior
Hi Jock, afaik, the class attribute always requires a FULL qualified classname of the bean to construct. This is independent of the import directive. This is the same behavior as the standard Java Class.forName(...) method. In fact this is exact the way how the jsp:useBean tag is compiled!

Dynamic Authenticator

2003-10-14 Thread Ron Andersen
Does anyone know of a good authentictor plugin for Tomcat. I reviewed the sample(XML based) authentcator from Tomcat, but this authenicator is only used at startup. I need onw that will able to add and delete users on the fly - not just at start up. - Do you

RE: Unable to locate JSP page from Servlet.

2003-10-14 Thread Shapira, Yoav
Howdy, You're getting the error because you're using the wrong argument into the getRequestDispatcher call. All arguments to it are relative to your docBase, so don't include the webapp name. Change /Tracking_system/pageFormat.jsp to just /pageFormat.jsp. Yoav Shapira Millennium

Re: tomcat jitters, then hangs - please help

2003-10-14 Thread Noam Camiel
Hi, On Friday, October 10, 2003 11:09 AM Ryan Lissack [EMAIL PROTECTED] wrote: Remy pointed out to me previously that RH9 uses a new form of threading and based on this we have done some investigation. RH9 uses NTPL (Native POSIX Thread Library)

RE: Web-app setup

2003-10-14 Thread Shapira, Yoav
Howdy, Do my webapp name, servlet name, and directory name have to be the same name, is this the issue here? No, they don't have to be the same. You have your servlet class, e.g. com.yourcompany.yourservlet, in the WEB-INF/classes/com/yourcompany directory of your webapp. In your web.xml, you

Re: [ANN] Updated Apache + Tomcat RH HOWTO

2003-10-14 Thread Thorsten Westmeier
Hi Pascal and others, The correct URL is: http://www.johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html Bye, Thorsten At 12:09 14.10.2003 +0800, you wrote: Hi John, You may want to correct the URL -- it says localhost in your email. :) Regards, pascal chong

Re: INVOKER fails after webapp recompile

2003-10-14 Thread Niklas Saers Mailinglistaccount
If you are using Tomcat 4.1.27 you have to install a patch available in Tomcat download directory. I do. Thanks a bunch! :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problem with Tomcat SSL Port

2003-10-14 Thread Manty, George
I am having a problem with embedded Tomcat 4.1.18. The problem is that after some unspecified period of time Tomcat is continually opening http processor threads that are then stuck in the CLOSE_WAIT state. I am seeing this intermittently in Windows, HP-UX and Linux. I am using the

session replication in tomcat5, invalidate()

2003-10-14 Thread Mats Andersson
I can't destroy my sessions when I have multiple tomcat instances in a cluster. This is what I do HttpSession session = request.getSession(); // something session.invalidate(); When I have one tomcat server running (clustering is enabled) the session is invalidated, but if I start two instances

Receiving Transfer-coding: chunked

2003-10-14 Thread William Bondy
If a client sends content (via a POST) using chunked transfer-coding, how is the content retreived via a servlet? Does the user need to be concerned with getting the inputstream and handling the content directly in chunked format since the length may not be known at processing time? I.e. the

RE: Receiving Transfer-coding: chunked

2003-10-14 Thread Manty, George
To make things easier use something like the Jakarta commons projects FileUpload API in your servlet to parse the request: http://jakarta.apache.org/commons/fileupload/ Hope that helps, George -Original Message- From: William Bondy [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14,

RE: Object not found

2003-10-14 Thread Christian Fredrickson
I don't believe it does start correctly. Any ideas why I receive this error? Here is the error I receive when shutting that instance down: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused at

RE: Tomcat and multiple processors

2003-10-14 Thread sun zheng
RE: Tomcat and multiple processors - max 512MB and startup 256MB.. as previous people of the thread said, you always install many tomcat so that one instance for one java application, because

RE: Object not found

2003-10-14 Thread Shapira, Yoav
Howdy, So it wasn't running, OR you had a server port conflict. You most likely have two tomcats configured to use the same shutdown port (8005 by default). You need to change this so there are no port conflicts. Yoav Shapira Millennium ChemInformatics -Original Message- From:

Tomcat not shutting down correctly

2003-10-14 Thread Peter Guyatt
Hi There, I was hoping someone will be able to shed some light on a problem I am having with stopping tomcat. I use the attached shell script to start/stop tomcat, the problem is that when I use the stop argument Tomcat just seems to hang. The Catalina socket is closed, however the HTTP

RE: Tomcat and multiple processors

2003-10-14 Thread Shapira, Yoav
Howdy, I hope the problem was from memory leak.. however, I do feel it really needs such much memory. OK, some apps do need a lot of memory ;) That's legitimate. what I am intending to do is to create more and more environment for testing. As we get new release of our application once a week,

RE: Tomcat not shutting down correctly

2003-10-14 Thread Shapira, Yoav
Howdy, Could it be that your app or a library it uses spawns non-daemon threads and doesn't shut them down properly? This is a well-known issue. What happens if you add a System.exit(0) call to the contextDestroyed method of a ServletContextListener in your webapp? ;) Finally, without looking

Valve implementation examples

2003-10-14 Thread Simha, Kailas
Where can I find Valve implementation examples and documentation? How can I define my own valve and what is needed to do so? Thanks ! Kailas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Object not found

2003-10-14 Thread Christian Fredrickson
Where is the shutdown port configured? I have never noticed that option in the server.xml file. I have fixed this error now and I know that Tomcat is starting. I still get the Object not found error in Apache while attempting to connect to the webapp. Chris -Original Message- From:

RE: Tomcat and multiple processors

2003-10-14 Thread sun zheng
- Have one tomcat/JBoss instance. - Deploy multiple webapps to it, using the release number as part of the webapp name, e.g. myapp-1.0, myapp-1.1, myapp-1.2. - Have the testers use the tomcat

RE: Object not found

2003-10-14 Thread Christian Fredrickson
Here is what is listed in the catalina.out file when I attempt a connection: 439 [main] INFO scheduler.Engine - type: Java 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 00 00 00 00

RE: Receiving Transfer-coding: chunked

2003-10-14 Thread William Bondy
Does your answer imply that the servlet getReader() method returns the content in chunked format? Ie. the servlet engine does not interpret or aggregate the chunks ? The servlet API is very unclear in this area, I just want to make sure that my thread reading the socket can read the exact number

RE: Object not found

2003-10-14 Thread Shapira, Yoav
Howdy, So now you have a JK error, which I can't help with as I don't use it ;) However, to answer your previous question: the shutdown port is an attribute of the Server element in $CATALINA_HOME/conf/server.xml. It's right near the beginning of the file. Yoav Shapira Millennium

RE: Tomcat and multiple processors

2003-10-14 Thread Shapira, Yoav
Howdy, Sorry my typo: I meant a small data set, not a result data set ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: sun zheng [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:03 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat and multiple processors

RE: Valve implementation examples

2003-10-14 Thread Shapira, Yoav
Howdy, It is the beginning of a short week and already my patience is wearing thin ;) http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html Yoav Shapira Millennium ChemInformatics -Original Message- From: Simha, Kailas [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14,

RE: [ANN] Updated Apache + Tomcat RH HOWTO

2003-10-14 Thread Angus Mezick
John, You have a bad link in there. The link JK2 HOWTO goes to http://www.johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html and not http://www.johnturner.com/howto/apache2-tomcat4127-jk2-rh9-howto.html -Original Message- From: Thorsten Westmeier [mailto:[EMAIL PROTECTED]

Newbie needs help with frame and tag library

2003-10-14 Thread Ben Doku
Hi, I've created a frameste with 2 frames. I use the left frame to display a list of tables, and the right frame to display the records in the table that the user selects in the left frame. It worked until I moved the code into tag libraries. Now I can't even display the contents of the right

RE: Valve implementation examples

2003-10-14 Thread Simha, Kailas
I am sorry if I was the cause :) I have seen this, but where can I find any examples ? Kailas Enterprise Web Infrastructure -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:18 AM To: Tomcat Users List Subject: RE: Valve implementation

RE: Tomcat and multiple processors

2003-10-14 Thread sun zheng
# Sorry my typo: I meant a small data set, not a result data set ;) : wellwell, it can not help us.. with best wishes Zheng Sun _ The new MSN 8: smart spam protection and 2 months FREE*

RE: Tomcat not shutting down correctly

2003-10-14 Thread Peter Guyatt
Hi There, Thanks that sorted it. Thanks Pete -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 15:48 To: Tomcat Users List Subject: RE: Tomcat not shutting down correctly Howdy, Could it be that your app or a library it uses spawns

RE: Receiving Transfer-coding: chunked

2003-10-14 Thread Manty, George
I am not sure how it is handled, I have successfully used the fileupload project to upload files in a tomcat servlet, but I have not looked at the source to see what it is doing. You could probably look at the source to figure out the answer to your questions. Here is an example of the usage of

RE: Valve implementation examples

2003-10-14 Thread Shapira, Yoav
Howdy, You mean examples in source code? http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/catalina/src/share /org/apache/catalina/valves/ Yoav Shapira Millennium ChemInformatics -Original Message- From: Simha, Kailas [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:30

jk or jk2

2003-10-14 Thread Cory 'G' Watson
If starting a new _production_ setup, should I be using jk or jk2? I've seen conflicting information in my searches. Cory 'G' Watson http://www.loggerithim.org The universal aptitude for ineptitude makes any human accomplishment an incredible miracle. - Dr. John Paul Stapp

Re: Valve implementation examples

2003-10-14 Thread Jon Wingfield
They are the examples ;) If you need to see the code look in the tomcat CVS repositories on the jakarta site. The catalina javadocs are here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/index.html Simha, Kailas wrote: I am sorry if I was the cause :) I have seen this, but

basic jdbc realm authentication

2003-10-14 Thread Koes, Derrick
I'm using tomcat 4.1.18 with Microsoft Internet Explorer 6.0 sp1 as the browser and oracle as the database to which I authenticate users. Oddly, the colon character cannot be used in user names, but can be used in passwords. I'm assuming my code is at fault, but I cannot see how. Perhaps there

TC5 ssl form-based authentication mozilla

2003-10-14 Thread Adam Hardy
I have set this up with the minimum configuration possible to try to find the problem. 1 JSP, one Struts action mapping, 1 servlet mapping, and the tomcat realm - no SSO, no filters, no templates, no SSL-redirection. With this security: web-resource-collection web-resource-nameSSL 4

Re: basic jdbc realm authentication

2003-10-14 Thread [EMAIL PROTECTED]
In the basic authentication approach the userid and password are concatenated with a ':' between them, base64 encoded, then placed in an HTTP header to send to the server. Obviously, the server will have trouble differentiating between the ':' in the username and the one separating the user name

shared/classes folder

2003-10-14 Thread Carlos Pereira
I'm developing a set of applications which need to exchange objects and are to be deployed in different servers. During development, i use just one server, and put all the common packages under the tomcat/shared/classes folder. All applications have their own memory space, so if i use an

RE: shared/classes folder

2003-10-14 Thread Shapira, Yoav
Howdy, This is a fairly common catch-22 situation. In order to share objects between webapps, you need a common repository. This is what shared/classes or shared/lib is for in tomcat, and that's why there's only one copy there. This is correct behavior. If you want separate objects, put the

graceful setting in workers2.properties

2003-10-14 Thread Kelly Kleinfelder
I'm using Tomcat 4.1.27 and Apache 2.0.47 built with the worker mpm and mod_jk2 build from the 2.0.2 connectors source. I'm trying to use the graceful setting in workers2.properties to take one of the workers out of service, but it doesn't seem to be working. I'm not sure if the lb_value should

RE: I post a text XML with Microsoft.XMLHTTP to servlet

2003-10-14 Thread Blackmore, John
Sorry, I was mistaken - what little content was there was actually another form element which didn't belong. Looks like my XMLHTTP test app was the problem. I think I have it working with my second approach below, however I won't know for sure until the client tests it. Needless to say, they

RE: Can I read file resources from a .WAR file at runtime ?

2003-10-14 Thread Justin Ruthenbeck
At 05:45 AM 10/14/2003, you wrote: Howdy, Yeah, I usually prefer ServletContext#getResource or getResourceAsStream over the Class loader approach (Justin's suggestion) as well. Yoav Shapira Millennium ChemInformatics Both are definitely good options ... I prefer to go directly to the Classloader

Re: Log4j debugging of Coyote HTTP/1.1 connector

2003-10-14 Thread Mike Dillon
On Mon, Oct 13, 2003 at 11:07:32PM -0700, Bill Barker wrote: Should work fine as long as your log4j jar file is in common/lib. This is my usual configuration for debugging Tomcat problems. Actually, I was simply wrong to think that these messages were going through commons-logging or log4j.

Jkstatus, What does it mean?

2003-10-14 Thread Angus Mezick
I have this on my jkStatus page when using jk2. id namelb_factor lb_valueroute errorState gracefulepCount errorTime 2 web02WWW:8019 1 43 web02WWW:8019 N N 10 0 What do lb_factor, lb_value, graceful, epCount, and errorTime actually

setting up the tomcat server for struts applications - HTTP 500 e rror

2003-10-14 Thread Bajaj, Aparna
Has anyone used the book, Struts in Action by Manning Publications? I am reading that book, and just tried the first sample application from Chapter 1. The server seems to come up alright, but if I want to run my sample application, I get the following error:- HTTP Status 500

Re: OT How to maintain a version number

2003-10-14 Thread Jim Lynch
Thanks to all who made suggestions. I'm still sorting through the options. Jim. Jim Lynch wrote: I've written an application where I need to keep up with the version number. I'm trying to figure out an elegant way to maintain that in the simplest and perhaps the most automated way. My

mod_jk binary for Solaris 9

2003-10-14 Thread Kellam, Jeannie K Priest
Hi, Does anyone have a Solaris 9 (sparc) binary for mod_jk available to share? If not, can anyone provide instructions from their experience building mod_jk for Solaris 9? That's for apache-1.3. Thanks, Jeannie - To

servlets and cookies

2003-10-14 Thread Randy Paries
Hello i assume this is more of a servlet programming problem that tomcat, but i hope someone has some insight? Please tell me i can do this: 1)i go to a jsp page and if it does not find the exist of a cookie it forwards to a login screen 2) the login screen submits to a servlet, and then set

RE: Problem with Tomcat SSL Port

2003-10-14 Thread Manty, George
I found the source code for v4.1.27 and the same problem exists in the threadpool code. Thanks, George -Original Message- From: Manty, George [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 9:03 AM To: [EMAIL PROTECTED] Subject: Problem with Tomcat SSL Port I am having a

RE: servlets and cookies

2003-10-14 Thread Steph Richardson
Randy, Because you are doing an RequestDispatcher.include() the my.jsp page is served up in the same HTTP Response that is setting the cookies. my.jsp then looks in the Request for the cookies and doesn't find them there, because it's looking at the same HTTP Request that was originally sent to

Re: servlets and cookies

2003-10-14 Thread Robert Weeks
Hello - Hello i assume this is more of a servlet programming problem that tomcat, but i hope someone has some insight? Please tell me i can do this: 1)i go to a jsp page and if it does not find the exist of a cookie it forwards to a login screen 2) the login screen submits to a servlet, and then

Re: Dynamic Authenticator

2003-10-14 Thread Lawence
The authenticator itself is fixed. But the user role tables can be modified on the fly. Ron Andersen [EMAIL PROTECTED] wrote:Does anyone know of a good authentictor plugin for Tomcat. I reviewed the sample(XML based) authentcator from Tomcat, but this authenicator is only used at startup. I

  1   2   >