Re: Tag object reuse (pooling) in jsp 2.0?

2003-01-26 Thread Joe Tomcat
On Thu, 2003-01-23 at 04:02, Felipe Schnack wrote: > I don't know, to me seems a good idea to pool tag instances. For people > like me, that don't write a single line os scriptlet code, millions of tags > are created and destroyed... seems to me that we are freeing a lot of > work from gc... gc

Fw: Help for integration between Tomcat 4.1 and Apache 2.0

2003-01-26 Thread Tang Dong
- Original Message - From: Tang Dong To: [EMAIL PROTECTED] Sent: Sunday, January 26, 2003 11:42 PM Subject: Help for integration between Tomcat 4.1 and Apache 2.0 Hi, I get problem when try to integrate tomcat 4.1 with apache 2.0. The log file says: [Sun Jan 26 23:33:07 200

mod webapp

2003-01-26 Thread Bryan A. Zimmer
Hello, I am trying to configure Tomcat to work with Apache on a Linux box running Redhat 8.0. Tomcat itself seemed fine, as does httpd (Apache) by itself, but when I add the mod_webapp.so lines to the httpd.conf file, I keep getting messages like: "undefined symbol: ap_table_get". Can anyone sh

Re: Tomcat 4.1.19 java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer

2003-01-26 Thread alexj
No isn't running as a nt service. <-- Alexandre Jaquet -> -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d+ s: a-- C U*+ P L--- E--- W+++ N+++ o K w+ O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D G++ e* h++ r% y* --END GEEK CODE BLOCK-- - Orig

Class Loading problem on Tomcat 4.0.4, JDK 1.4.1, Debian

2003-01-26 Thread Robert Kent
Hi - I'm having trouble getting classes loaded properly. I have a workaround, but I think the problem is more endemic and is (at least potentially) preventing other resources from loading properly. I'm running Tomcat 4.0.4 on Debian, with JDK 1.4.1 underneath. I have gotten all the tomcat examp

Re: Tomcat 5 dist: servlet/* -> 404

2003-01-26 Thread Jacob Kjome
I haven't checked with the latest Tomcat-5 and can't verify your findings, but there is a bug out where the admin app has no class files. Maybe something like that is happening with the examples. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14975 Jake At 10:05 PM 1/25/2003 +0100, you wr

Re: Connection pooling for MS Sql server

2003-01-26 Thread Peng Tuck Kwok
My problem is i have to specify username and password for MS Sql server. Password i can specify Here password But Where to specify the user name? You can specify the username as another parameter. username -- To unsubscribe, e-mail: Fo

Connection pooling for MS Sql server

2003-01-26 Thread Venkat
Hi, I am able to create a connection poll for ms acess and itz working fine.Now i want to create a connection poll for MsSql server. For MS access the server.xml looks like this. factory org.apache.commons.dbcp.BasicDataS

Re: TC HTTP Connector

2003-01-26 Thread Jacob Kjome
You really need to check the Tomcat docs before posting questions like this. It is pretty well spelled out there. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssi-howto.html Jake At 07:07 PM 1/26/2003 -0600, you wrote: Does the HTTP connector for Tomcat 4.1.x support server-side includes?

Re: Tomcat 4.1.19 java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer

2003-01-26 Thread Jacob Kjome
Are you running Tomcat as a Service? If so, you need to uninstall the service and reinstall it in order to update the service with the new path to JAVA_HOME and any other paths that might have changed. http://www.mattkelli.com/tech/tomcat/ntservice.htm Jake At 10:07 PM 1/26/2003 +0100, you w

Re: JNDI jdbc resources

2003-01-26 Thread shawn
What about server.xml? try{ > > Context ctx2 = new InitialContext(); > > out.print("Connecting1 : "); > > Context envCtx2 = (Context) > > ctx2.lookup("java:/comp/env/"); > > out.print("Connecting2 : "); > > DataSourc

using ajp without tomcat

2003-01-26 Thread James Chang
Hi: I am trying to get ajp to work for other jsp/servlet engines other then tomcat. Right now I am working on IIS with isapi_redirector2.dll and listening on port 8009 with my own ajp listener. I downloaded isapi_redirector2.dll from: http://jakarta.apache.org/builds/jakarta-tomcat-conn

Re: Error: 500 / Internal Servlet Error:

2003-01-26 Thread Pierre-Philipp Braun
oh there is a little difference with the error message on server-side trace though, especially at the beginning. Here is the server-side message: 2003-01-27 02:16:42 - Ctx( ): Exception in: R( + /helloworld.jsp + null) - javax.servlet.ServletException: try to access method org/apache/tomcat/l

TC HTTP Connector

2003-01-26 Thread Jason Jonas - ATTBI
Does the HTTP connector for Tomcat 4.1.x support server-side includes? If so, where can I find the documentation regarding configuration? Thanks a bunch. Jason -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: JNDI jdbc resources

2003-01-26 Thread Peng Tuck Kwok
Let's have a look at your web.xml as well. Might be helpful. Paul Carpenter wrote: Hi All I've scoured the list and got so close, yet so far from making the jdbc stuff work. With some help from Manav and other postings, this is what i see. can anyone solve the riddle? Please see the cut'n'p

Re: web.xml and ip-based virtual hosts

2003-01-26 Thread Craig R. McClanahan
On Sun, 26 Jan 2003, Marcin Gryszkalis wrote: > Date: Sun, 26 Jan 2003 20:32:04 +0100 > From: Marcin Gryszkalis <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: web.xml and ip-based virtual hosts > > Hi > I have Tomcat 4.1.x > in configurat

Re: JWSDP and Tomcat

2003-01-26 Thread Craig R. McClanahan
On Sun, 26 Jan 2003, Paul Carpenter wrote: > Date: Sun, 26 Jan 2003 19:15:49 +0900 > From: Paul Carpenter <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: JWSDP and Tomcat > > HI all > > I've been playing with the downloads of the Java Web

Re: How to get IP address Tomcat bound to.

2003-01-26 Thread Craig R. McClanahan
On Sun, 26 Jan 2003, Kirill Maximov wrote: > Date: Sun, 26 Jan 2003 16:57:17 +0300 > From: Kirill Maximov <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: How to get IP address Tomcat bound to. > > I have a progr

Re: URL alias

2003-01-26 Thread Craig R. McClanahan
On Sun, 26 Jan 2003, Paul Phillips wrote: > Date: Sun, 26 Jan 2003 12:08:32 -0600 > From: Paul Phillips <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: URL alias > > I have a web application that I have written that use

RE: How to get IP address Tomcat bound to.

2003-01-26 Thread Mark
Good question...and I don't know the answer. I've never deployed on a host with more than one IP address. Out of curiousity, any idea what IP address might be returned? At 1/26/2003 02:31 PM, you wrote: How does this help if there are multiple IP addresses on a single host? John -Origi

Re: hi,I need your hand to get rid of my question

2003-01-26 Thread Paul Yunusov
On Saturday 25 January 2003 10:45 pm, zhaoyw wrote: > Dear: > I am a programer ,my web Container is tomcat 4.1.12,when i develope my > project,i usually change my class,these classes are used by some jsp > pages,so when i launch my web application,i look the jsp page result in the > IE explore,

Tomcat 4.1.19 java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer

2003-01-26 Thread alexj
Hi, After I upgrade my jdk to be 1.4.1 and update my JAVA_HOME I could not anymore connect to Tomcat. I got the following error message : Using CATALINA_BASE: c:\tomcat Using CATALINA_HOME: c:\tomcat Using CATALINA_TMPDIR: c:tomcat\temp Using JAVA_HOME: C:\j2sdk1.4.1 Begin event threw ex

RE: A follow-up of my last post

2003-01-26 Thread Mark Liu
OK, thanks, I'll just try to follow the examples applications' web.xml and give it a shot. Mark --- "Turner, John" <[EMAIL PROTECTED]> wrote: > > Depends on your definition of "grave", I guess. It > was important enough > that it was changed and included in future releases. > > Yes, if the Inv

hi,I need your hand to get rid of my question

2003-01-26 Thread zhaoyw
Dear: I am a programer ,my web Container is tomcat 4.1.12,when i develope my project,i usually change my class,these classes are used by some jsp pages,so when i launch my web application,i look the jsp page result in the IE explore,but now i need to change my class to meet my new need,i wa

Jakarta Tomcat "ready to serve"

2003-01-26 Thread Dan Koren
Dear all; I do not know if this is a proper way to send a question about Jakarta Tomcat usage, and if it is not, please accept my apologies and guide me. I am running an application that uses the Jakarta Tomcat server. Right now I need to start the Jakarta Tomcat (JT) server, wait a few seconds

RE: How to get IP address Tomcat bound to.

2003-01-26 Thread Turner, John
How does this help if there are multiple IP addresses on a single host? John -Original Message- From: Kirill Maximov [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 26, 2003 2:04 PM To: Tomcat Users List Subject: Re: How to get IP address Tomcat bound to. On 0, Mark <[EMAIL PROTECT

RE: A follow-up of my last post

2003-01-26 Thread Turner, John
Depends on your definition of "grave", I guess. It was important enough that it was changed and included in future releases. Yes, if the Invoker servlet is disabled, you have to map your servlet in web.xml. For information, check $CATALINA_HOME/conf/web.xml, or check the archives, this is a FAQ

web.xml and ip-based virtual hosts

2003-01-26 Thread Marcin Gryszkalis
Hi I have Tomcat 4.1.x in configuration there's block that contains two blocks (I have 2 ip/port-based virtual hosts). 1. How can I specify in application's web.xml which should it be deployed to? 2. Can I have ip-based virtual hosts with one serice and multiple ? I guess it's not possible bec

Re: How to get IP address Tomcat bound to.

2003-01-26 Thread Kirill Maximov
On 0, Mark <[EMAIL PROTECTED]> wrote: > At 1/26/2003 04:57 PM, you wrote: > > I have a programming question - how can I get > > the IP address the TomCat is bound to ? Is this possible? > > > > I suppose, I have to use some internal TomCat API here .. > > > > With kind regards, > > Kirill Max

URL alias

2003-01-26 Thread Paul Phillips
I have a web application that I have written that uses a controller servlet. The controller fires off event handlers that process the various forms submitted by the user in various parts of the webapp. I am also using container managed security (forms based). A typical URL will look like this:

RE: A follow-up of my last post

2003-01-26 Thread Mark Liu
What if I am the server administrator? In fact I am. Then I'll risk leaving a grave security hole, right? But anyway, I would like to learn servlet mapping. Where do we have some documents about servlet mapping? Suppose the invoker is disable, you said that have to map each and every servlet I

Re: How to get IP address Tomcat bound to.

2003-01-26 Thread Mark
At 1/26/2003 04:57 PM, you wrote: I have a programming question - how can I get the IP address the TomCat is bound to ? Is this possible? I suppose, I have to use some internal TomCat API here .. With kind regards, Kirill Maximov Not sure if I understand your question, but will this

Catalina 4.1.12 and 4.1.18 can't start w/ JPDA activated

2003-01-26 Thread Manuel Soto
I cant activate the JPDA service in catalina. I tried using: catalina.sh jpda start catalina.sh jpda run I works in catalina 4.0.x. Does I need an special option? ENV: Linux MDK 9.0 java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Cl

JNDI jdbc resources

2003-01-26 Thread Paul Carpenter
Hi All I've scoured the list and got so close, yet so far from making the jdbc stuff work. With some help from Manav and other postings, this is what i see. can anyone solve the riddle? Please see the cut'n'pastes below. I draw you attention to the fact that the connection looks good right

RE: Apache 2 + mod_jk - webapp appending extraneous characters to server name?

2003-01-26 Thread Turner, John
Something in your configuration is messing up the HTTP Response headers, probably Struts in some way. That string is a mangled version of "Content-Type: text/html". I guess it could also be mod_jk with Apache .44 (.44 being brand new) that's doing it, but if the Tomcat examples work OK, I would

RE: A follow-up of my last post

2003-01-26 Thread Turner, John
Not only is it not safe, it's not portable. If your webapp counts on this, but then is deployed to a machine you don't control, there is a 99.99% chance that server admin has the Invoker disabled and won't enable it. Then what will you do? Mapping your servlet in web.xml will work all the time,

RE: A follow-up of my last post

2003-01-26 Thread Turner, John
Correct. Search the archives for more info, or the BUGTRAQ database. John -Original Message- From: Mark Liu [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 25, 2003 11:29 PM To: Tomcat Users List Subject: RE: A follow-up of my last post I put the following segment of code in my x

RE: A follow-up of my last post

2003-01-26 Thread Turner, John
Only if the Invoker is enabled, which it isn't by default. John -Original Message- From: Mark Liu [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 25, 2003 5:59 PM To: Tomcat Users List Subject: RE: A follow-up of my last post Thanks, Vim. I read that page. However, the web.xml y

How to get IP address Tomcat bound to.

2003-01-26 Thread Kirill Maximov
I have a programming question - how can I get the IP address the TomCat is bound to ? Is this possible? I suppose, I have to use some internal TomCat API here .. With kind regards, Kirill Maximov -- Kirill Maximov aka KIR [EMAIL PROTECTED] | http://www.maxkir.com/ -- To unsubscrib

Re: find out why the loading of the driver fails

2003-01-26 Thread p niemandt
1. I would put the db driver jar under $TOMCAT/common/lib This directory is shared by all your web applications: any libraries under this directory should be visible to your app. 2. Set your debug to 100: There are a few places you can / should do this (for developing / debugging): Basically, any

RE: Tomcat 4.1.18/19 - How to activate gzip support?

2003-01-26 Thread mech
Maybe let's go back to the more interesting original question, although it might be possible to use a filter for gzip,too. That was "how to enable gzip for Tomcat 4.1.19" Release notes say: [4.1.19] CoyoteConnector: Add HTTP/1.1 GZIP compression support. http://jakarta.apache.org/builds

RE: Tomcat 4.1.18/19 - How to activate gzip support?

2003-01-26 Thread Reynir Hübner
No I was not telling you to use orion server, just to use the Tutorial, and it's code examples to implement the GZIP filter. I think that should be allright.. you should not have any license problems. -r > -Original Message- > From: Madhava Reddy [mailto:[EMAIL PROTECTED]] > Sent: 25.

find out why the loading of the driver fails

2003-01-26 Thread joe udder
Hello. Does anyone have any good hints on how to tweak tomcat to output more information about errors? When I am trying to load a JDBC-driver it fails, but it doesn't give me a clue on why it fails. I checked the web for similar errors, so I started by adding the .JAR-file to the classpath,

JWSDP and Tomcat

2003-01-26 Thread Paul Carpenter
HI all I've been playing with the downloads of the Java Web Services Developer Pack. This package has lots of stuff in it, but older than the current individual release of Tomcat...or so it seems. The documentation I've downloaded and installed JWSDP-1_0_01 - it would appear to have Tomcat 4.1