Installing in Redhat 7.0

2001-02-05 Thread Peter B. West
I seem to have successfully installed tomcat and cocoon in a Redhat 7.0 system. I used Henri Gomez' rpms. One comment on the contents of /etc/httpd/conf/workers.properties file. It contained # # The JVM that we are about to use # # This is for Java2 #

Session MaxInactiveInterval Problem....;-(

2001-02-05 Thread John Clark L. Naldoza
I've been banging my head for the last couple of days on this one... doPost() called [Mon Feb 05 16:47:34 CST 2001] Connection == [Keep-Alive] Content-Length == [50] From == [null] Host == [penguin:8080] processLogin() called [Mon Feb 05 16:47:34 CST 2001]

servlet security

2001-02-05 Thread shlomi sarfati
can tomcat give authentication to a servlet ? I want to add a user name and password requirements to a particular servlet how can I do it ?? thanks ahead shlomi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Is the server.xml using server.dtd?

2001-02-05 Thread joeri
Hi, I'm (still) using TOMCAT Version 3.1. I'd like to change the port for my servlets and JSP-pages from 8080 to 80. Now, I assume you have to change these settings in the file "server.xml". I have two questions regarding this file: 1. Why isn't the "server.dtd" used in the "server.xml"? The

Where is mod_jk.so for WIN32?

2001-02-05 Thread R N Mukherjee
SUB:Where is mod_jk.so for WIN32?(required for apache-tomcat connectin in win 98) URL address will be most helpful. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

SERVELET ClasspathWOES

2001-02-05 Thread R N Mukherjee
SUB: How should the CLASSPATH be set for compiling a servlet file containing BOTH USERDEFINED packages BUILT-IN java packages. (presently gives compile error with javax.http.servlet not found) My servelet code is /*user defined html package saved in c:mypackage*/ import mypackage.html.*;

mod_jk: build problem OpenBSD 2.8

2001-02-05 Thread Tobias Oberstein
Hi there, I'm having a hard time trying to get the mod_jk.so properly built. My environment is as follows: * OpenBSD 2.8 Rel. / i386 * JDK 1.1.8 (actually, the FreeBSD port of SUNs JDK) Please help - after reading through all the dox and mailing lists I'm still lost. My only guess is,

User Authentication using the Windows NT Authentication

2001-02-05 Thread Rahul Desai
Hi, I am building a system for the Intranet. We have a NT network. I wanted to know if by any means I can use the username and password that is registered in the NT Server as the mode of authentication for my site built on Tomcat? This is possible with the IIS.But I am not sure how it

Solaris 8, apache and mod_jk - problem

2001-02-05 Thread Eoin McCarthy
Hi, I'm trying to configure apache 1.3.9 and tomcat 3.2 with mod_jk under Solaris 8. I'm using the example contexts supplied with the tomcat. A standalone configuration of tomcat serves the contexts OK as does tomcat with apache using mod_jserv. However, I can't get jsps to run using

Datasources?

2001-02-05 Thread Robert Keith
Hi Guys, In the EJB Specification there is a way of specifying a global datasource for all applications. This can be looked up using JNI. Is there something similar in tomcat, can I define a datasource that all applications can use, or do I need to write my own property file or something?

AW: Solaris 8, apache and mod_jk - problem

2001-02-05 Thread Thomas Bezdicek
Hi, We had the same problem and solved it by copying the tools.jar into $TOMCAT_HOME/lib. BTW: dont use the Hotspot-Engine with -server Parameter it would crash at sometime with signal 11, it is a bug, use -client Parameter. regards, tom -Ursprngliche Nachricht- Von: Eoin McCarthy

Re: simple question about servlet development

2001-02-05 Thread Robuschi \(Delfi\)
I developed some servlets and I didn't restarted Tomcat each time. I thing you can simply put the new servlets over the oldest ones and then try them. Hope this helps. Robuschi Roberto Delfi srl P.za Ravenet 1/b - 43100 PARMA Tel. 0521/932474 Fax 0521/989045 [EMAIL

Logging errors on Tomcat Startup

2001-02-05 Thread Dusan Petrovic
Hi, I have problem during the start of TomCat server tomcat start After few seccond, TomCut write some errors on the screen and then that window desappear. I can not see what is the problem. My question is: Can I see log of those errors??? Thanks!!!

RE: Logging errors on Tomcat Startup

2001-02-05 Thread Xavier
It is very often due to the fact you forgot to set the environement variables TOMCAT_HOME ant JAVA_HOME in the startup.bat file. Or maybe if you use Apache as a static page web server, the line used to include the Tomcat.conf file is not well written. -Original Message-From:

Re: Logging errors on Tomcat Startup

2001-02-05 Thread Robuschi \(Delfi\)
I already had this problem. are you using version 3.1 or 3.0 ? If you're, you can try restarting the PC if it is the same, reinstall Java Bye Robuschi Roberto Delfi srl P.za Ravenet 1/b - 43100 PARMA Tel. 0521/932474 Fax 0521/989045 [EMAIL PROTECTED] ---

Re: Logging errors on Tomcat Startup

2001-02-05 Thread Dusan Petrovic
Tomcat is working OK. The problem is in deploying some my application. I want to se error log file, to corect errors in my application. - Original Message - From: Xavier To: [EMAIL PROTECTED] Sent: Monday, February 05, 2001 12:27 Subject: RE: Logging errors on

Re: Logging errors on Tomcat Startup

2001-02-05 Thread Dusan Petrovic
v3.2 Tomcat is working OK. The problem is in deploying some my application. I want to se error log file, to corect errors in my application. Thanks !!! - Original Message - From: "Robuschi (Delfi)" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 05, 2001 12:26 Subject:

RE: Logging errors on Tomcat Startup

2001-02-05 Thread Alistair Hopkins
Use tomcat run instead. That way, it will execute in your local window instead of spaawning a new one, and you will see the messages in your window after java exits. -Original Message-From: Xavier [mailto:[EMAIL PROTECTED]]Sent: Monday, February 05, 2001 11:28 AMTo:

SERVLET TIMEOUT

2001-02-05 Thread schalk
My servlet won't stay loaded. Is there a default time limit for unused servlets? If so, how can I override it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: Solaris 8, apache and mod_jk - problem

2001-02-05 Thread Eoin McCarthy
Hi, Just tried this. Unfortunately, it didn't work - java/lib/tools.jar was already on the classpath on startup and copying it to $TOMCAT_HOME/lib didn't have any effect. Thanks, EOin -Original Message- From: Thomas Bezdicek [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001

RE: User Authentication using the Windows NT Authentication

2001-02-05 Thread Michael Percy
Actually, this month's Linux magazine talks about using PAM for user authentication (article on PAM and Samba for Win integration). It basically is aa Apache module that lets you authenticate users against a PDC (I believe), you'll need to look into it as I don't know enough about it to give

SSL Help

2001-02-05 Thread venkatesan
Hi All, I am developing web applications using servlets, Rmi, Sql-server and Tomcat in Apache web server under Linux platform. I would like to use SSL. Can any body tell that where can i get SSL for tomcat. How can i do it using Tomcat.. Thanks in advance... cheers Venkateh

Re: quick Tomcat question

2001-02-05 Thread William Brogden
R N Mukherjee wrote: SUB: is TOMCAT is a JSP ENGINE + SERVELET ENGINE or ONLY A JSP ENGINE.?? If it is JSP + Servelets then why we have to run JSDK for testing the JSP files.? You should totally remove all traces of JSDK library from your system because the jsdk.jar library

Re: Logging errors on Tomcat Startup

2001-02-05 Thread gerd trautner
see server.xml in tomcat/conf :add path="logs/tomcat.log" to Logger name="tc_log"... Dusan Petrovic wrote: Hi,I have problem during the start of TomCat servertomcat start After few seccond, TomCut write some errors on the screen and then that window desappear. I can not see what is the

A lot of params equals in web.xml

2001-02-05 Thread Alberto
Hi everyone. I've a question: in my web.xml I have a lot of servlets that use the same set of parameters (same param name, same param value). The value of these parameters could change a lot of time in a month so: there's a way to write only one set of param name / param value and call it in all

Re: Logging errors on Tomcat Startup

2001-02-05 Thread Gallicus
Hi,I have problem during the start of TomCat servertomcat start After few seccond, TomCut write some errors on the screen and then that window desappear. I can not see what is the problem. My question is: Can I see log of those errors??? Thanks!!! If you are using NT or 2000 Windows Os try

RE: SSL Help

2001-02-05 Thread Coetmeur, Alain
browse the archive those recent days/weeks the secret are: it is advised to use apache with openssl (mod_ssl or apache+ssl) as the SSL processor and just configure it to delegate servlet and JSP to tomcat... look at http://www.modssl.org/ or http://www.apache-ssl.org/ for explanations,

RE: Logging errors on Tomcat Startup

2001-02-05 Thread Etienne Baert \(SPS Office\)
Or you simply add the "pause" command at the end of the .bat file ... -Original Message- From: Gallicus [mailto:[EMAIL PROTECTED]] Sent: lundi 5 fvrier 2001 13:25 To: [EMAIL PROTECTED] Subject: Re: Logging errors on Tomcat Startup Hi,I have problem during the start of TomCat

Re: A lot of params equals in web.xml

2001-02-05 Thread David Nyakundi
Try this for each of your servlets: servlet . param-nameproperties/param-name param-valueWEB-INF/servlet.properties/param-value /servlet where servlet.properties contains all the params required by your servlets. - Original Message - From: "Alberto" [EMAIL

Newbie Question

2001-02-05 Thread Mike S. Avelar
I just installed Tomcat 3.2 on Apache 1.3.14. Installed like a charm, all I had to do was restart both services and Apcahe was feeding up the static stuff and Tomcat the JSP/JavaServlets. For the last few days I've been thrying to comprehend the "User's Guide"... Maybe its just me...

Re: A lot of params equals in web.xml

2001-02-05 Thread William Brogden
Alberto wrote: Hi everyone. I've a question: in my web.xml I have a lot of servlets that use the same set of parameters (same param name, same param value). The value of these parameters could change a lot of time in a month so: there's a way to write only one set of param name / param

RE: SERVLET TIMEOUT

2001-02-05 Thread Michael Wentzel
My servlet won't stay loaded. Is there a default time limit for unused servlets? If so, how can I override it. Are you sure that's what's happening? Try putting a debug output line in your servlets init() method to make sure that it is actually getting reloaded. --- Michael Wentzel

configurable params in server.xml and/or web.xml

2001-02-05 Thread Vijay Prabhakar
Title: configurable params in server.xml and/or web.xml I'd like to add some configurable parameters for an interceptor in server.xml. Do you just have to write get/set methods for that variable and add the parameters as is done with JDBCRealm (below)? RequestInterceptor

SERVELET ClasspathWOES

2001-02-05 Thread R N Mukherjee
SUB: How should the CLASSPATH be set for compiling a servlet file containing BOTH USERDEFINED packages BUILT-IN java packages. (presently gives compile error with javax.http.servlet not found) My servelet code is /*user defined html package saved in c:mypackage*/ import mypackage.html.*;

Where is mod_jk.so for WIN32?

2001-02-05 Thread R N Mukherjee
SUB:Where is mod_jk.so for WIN32?(required for apache-tomcat connectin in win 98) URL address will be most helpful. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: Where is mod_jk.so for WIN32?

2001-02-05 Thread Michael Wentzel
SUB:Where is mod_jk.so for WIN32?(required for apache-tomcat connectin in win 98) URL address will be most helpful. There is no mod_jk.so for win32. A .so is a static library in linux. Should be a dll you're looking for. --- Michael Wentzel Software Developer A

What do these messages mean?

2001-02-05 Thread Rogério Meneguelli Gatto
I'm experiencing some stability problems with my Tomcat setup: Linux 2.2.18 IBM JDK 1.3 Tomcat 3.2.1 What do these messages mean in tomcat.log, verbosity=INFORMATION: 2001-01-31 08:45:55 - Ctx( ): 400 R( /) null This one is pretty common, and there are also some of

RE: A lot of params equals in web.xml

2001-02-05 Thread niv the tool
better use ?xml version="1.0" encoding="ISO-8859-1"? !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd" web-app context-param param-nameproxy_server/param-name

Re: SERVLET TIMEOUT

2001-02-05 Thread schalk
Michael: I have a database connection pool servlet which loads on startup. It works fine, but if I don't give it a workout on my test site often enough, it disappears. I suspect Tomcat destroys idle servlets after a certain time has elapsed, but I can't find documentation on this. I

Re: Logging errors on Tomcat Startup

2001-02-05 Thread RK
If you are on Windows, try the following. See the log files Start tomcat from the DOS window with the following command that saves the output to a file tomcat run tomcat.out 21 tomcat.out contains the error log. Use your favorite editor (emacs! :-)) to look at the log. - Original

Re: Problems with mod_jk.so, RH7.0, binary/compiled

2001-02-05 Thread Ed Mooney
Use the -S switch to apxs: -S CFLAGS=-DSTDAPI You probably will also need to specify: -S CFLAGS=-DMOD_PERL -S CFLAGS=-DUSE_EXPAT -S CFLAGS=-O (which apxs otherwise would set by default). Regards, -- Ed Mooney |Sun Microsystems, Inc.|Time flies like XML Technology Center

RE: Where is mod_jk.so for WIN32?

2001-02-05 Thread Steve Smale
In the standard downloads directory, ie: http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i386/mod_jk.dll Hope this helps, Steve On Mon, 5 Feb 2001, Michael Wentzel wrote: SUB:Where is mod_jk.so for WIN32?(required for apache-tomcat connectin in win 98) URL

RE: quick Tomcat question

2001-02-05 Thread Xavier
Tomcat is Jsp engine + Servlet engine + light Web server. Jsp/Servlet engine for dynamic pages publishing. light Web Server for static pages publishing as a Apache replacement for test purpose. Forget all about Jsdk and replace/add servlet.jar to your Classpath. -Original Message-

new user please correct me................

2001-02-05 Thread mathew
Hi I read thru the tomcat documentation and this is what i understood. Please correct me if there is any problem. we are running OS -R H LINUX 6.2 WebServer - Apache 1.3.14 Tomcat -3.2.1 and I 1. Copied the tomcat directory to /usr/ 2. Since libexec directory was not there for apache

What means HTTP 400?

2001-02-05 Thread Rogério Meneguelli Gatto
Hi, guys, What is a HTTP 400 status/error? I'm seeing a lot of these in my tomcat.log: 2001-02-05 01:27:17 - Ctx( ): 400 R( /) null Regards, -- Rogrio Meneguelli Gatto | ICQ# 25775025 Analista de Sistemas Pleno | +55 19 3254-6518 ext 223 Software Design Informtica |

RE: What means HTTP 400?

2001-02-05 Thread shlomi sarfati
Error Message: HTTP/1.1 Error 400 - Bad Request The information in this article applies to: Microsoft Internet Information Services version 5.0

Re: performance

2001-02-05 Thread John Golubenko
It's true. Original Message On 2/2/01, 5:45:09 PM, "Geoff Lane" [EMAIL PROTECTED] wrote regarding Re: performance: I think it's only for Linux (and AIX) - good reason to switch. :) More info is available at: http://www.alphaworks.ibm.com/tech Todd Carmichael wrote: Running Windows

Mail Notification

2001-02-05 Thread Administrator
The attached message has had some or all attachments deleted because of the following reason: Message contains attachments: Q148942.url Additional Information: none Error Message: HTTP/1.1 Error 400 - Bad Request

Couple quick questions.

2001-02-05 Thread Jody Brownell
Hello, Where can I get a list of configuration options for mod_jk.so? Is there any documentation on the ajp12 and ajp13? Jody Brownell Product Development Core Networks Inc. P: (902) 481-5750, ext. 2132 F: (902) 481-5799 [EMAIL PROTECTED] CoreOS - Broadband Provisioning System -

Re: What means HTTP 400?

2001-02-05 Thread William Brogden
Rogrio Meneguelli Gatto wrote: Hi, guys, What is a HTTP 400 status/error? I'm seeing a lot of these in my tomcat.log: 2001-02-05 01:27:17 - Ctx( ): 400 R( /) null Look in the Tomcat \webapps\ROOT\docs\api Javadocs for the HttpServletResponse class documentation - there you will

RE: SSL Help

2001-02-05 Thread John Golubenko
Hello, I have configured with OpenSSL (to Tomcat directly), made a key, etc. Now I can have a secure connections to my server, but browsers complains that my certificate isn't good, not signed, not knows, etc. Seems that browsers have to problems with Verisign or RSA (?) certificates, which

Re: SSL Help

2001-02-05 Thread John Golubenko
Look on OpenSSL.org or Apache-SSL.org, or do search for SSL on apache.org web server. Original Message On 2/5/01, 3:49:47 AM, venkatesan [EMAIL PROTECTED] wrote regarding SSL Help: Hi All, I am developing web applications using servlets, Rmi, Sql-server and Tomcat in Apache

RE: SSL Help

2001-02-05 Thread GOMEZ Henri
Take a look at www.modssl.org. There is allready done RPM for Redhat On ne peut rsoudre les problmes les plus graves avec le mme esprit qui les a cres. -- Albert Einstein -Original Message- From: John Golubenko [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 5:17 PM To:

JDBC Realm

2001-02-05 Thread Vegard Skjefstad
Hi, I'm working on a project where I'm going to use a MySQL JDBC connection. I noticed in the server.xml something called a JDBCRealm. I was unable to find any any documentation about the JDBCRealm. Is this something I should use? How will I access the database if I use it? Is there any

Re: JDBC Realm

2001-02-05 Thread hische
A JDBC Realm baiscally is your tomcat-users.xml file in a database. Look in: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/JDBCRealm.howto Tomcat4 and tomcat 3.x allow realms per Context. Wilko Vegard Skjefstad [EMAIL PROTECTED] on 05-02-2001 17:07:35 Please respond to

linking a static mod_jk with Apache

2001-02-05 Thread Rouiller Samuel
Hi, I want to use Apache and Tomcat together. However, I need to build Apache statically due to a thread problem with the OCI library. Hence my question: Is it possible to compile mod_jk and link it statically with Apache instead of using DSO's. I am particularily interested in mod_jk because it

Re: linking a static mod_jk with Apache

2001-02-05 Thread Jan Labanowski
http://w6.metronet.com/~wjm/tomcat/2000/Sep/msg00794.html On Mon, 5 Feb 2001, Rouiller Samuel wrote: Hi, I want to use Apache and Tomcat together. However, I need to build Apache statically due to a thread problem with the OCI library. Hence my question: Is it possible to compile mod_jk

Servlet destruction ploicy

2001-02-05 Thread Tony Montgomery Smith
Is there a policy in Tomcat/Apache for destroying servlets when resources are tight? And, if so, can the installer control the policy? Regards Tony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email:

how to USE differnet contexts

2001-02-05 Thread Chris Ward
I have set up two contexts. One runs from webapps/ROOT, the other from webapps/test. The contexts appear to be set up correctly. My application runs fine from webapps/ROOT. The problem is running from webapps/test. The main servlet calls JSP pages, which redirect to the main servlet again. The

Off topic - HTTP POST example?

2001-02-05 Thread David Wall
Not exactly a Tomcat issue, but it's in the web world of Java servlets: Does anybody have any code samples that would demonstrate an HTTP POST (I'll use JSSE and really do an HTTPS POST, but I suspect the code will be the same or very similar)? I've seen URL class code that does a GET, but

Re: Off topic - HTTP POST example?

2001-02-05 Thread John Golubenko
Well, do you mean POST from web-form? Then it would be: form name="posttest" action="http://server/servlet/ServletName" method="POST" Name: input type="text" name="name" input type="submit" /form If you asking how to handle POST's from a servlet, it would be: import javax.servlet.*; import

Re: JDBC Realm

2001-02-05 Thread Scott Sanders
The JDBCRealm is used only for authentication of users. If you want to access the database for you rown purposes, this will not help you ;-) Scott Sanders - Original Message - From: "Vegard Skjefstad" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 05, 2001 8:07 AM

Re: Off topic - HTTP POST example?

2001-02-05 Thread John Golubenko
Oh... PrintWriter out = response.getWriter() not res.getWriter(), also it's not tested :) Original Message On 2/5/01, 9:46:50 AM, "John Golubenko" [EMAIL PROTECTED] wrote regarding Re: Off topic - HTTP POST example?: Well, do you mean POST from web-form? Then it would be: form

A JSP/Jasper question

2001-02-05 Thread Hammon, Sean
Title: A JSP/Jasper question The servlet spec defines that request.getParameter() returns null if the parameter wasn't passed to the page. However, it would appear that Jasper chokes on this case. Since JSPs are an extension to servlets shouldn't the behavior be the same? If I hacked the URL

RE: A JSP/Jasper question

2001-02-05 Thread Randy Layman
This error message is about a badly formatted JSP page at line 13, column 51 (or is it line 51, column 13 - I never can remember). Apparently Jasper doesn't like your variable firstname. Without seeing your code its difficult to guess the cause of this, but its probably because you

Re: Off topic - HTTP POST example?

2001-02-05 Thread David Wall
Well, do you mean POST from web-form? Then it would be: form name="posttest" action="http://server/servlet/ServletName" method="POST" Name: input type="text" name="name" input type="submit" /form Not, that was not my question. I understand how to do a regular POST from a web browser and

Re: A JSP/Jasper question

2001-02-05 Thread John Golubenko
Title: Re: A JSP/Jasper question I guess it's depends how you do it. I've lots of interesting things going on when I check for params in JSP pages. But if you pass 'request' object to JavaBean || Servlet for confirmation || testing || reading || etc, it seemsworks nicely. Original Message

max threads

2001-02-05 Thread Carlos
can anybody say me how limit the tomcat process number to 15 in a linux? in my linux tehere are a lot of threads thanks Carlos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: max threads

2001-02-05 Thread Kevin Sangeelee
On Mon, 5 Feb 2001, Carlos wrote: can anybody say me how limit the tomcat process number to 15 in a linux? in my linux tehere are a lot of threads thanks Carlos The processes you see are in fact just threads, and are apparently just an annoying side-effect of the (current?) Linux threads

RE: Newbie Question

2001-02-05 Thread Stefan Langer
For the password you need to go into the tomcat-user.xml file and create a password and user for the admin role. it's pretty straight forward but just in case put in a line like user name="tomcat" password="tomcat" roles="admin" / roles corresponds to the realm . BTW tomcat-user.xml

Help please :)

2001-02-05 Thread Jody Brownell
Hello, I tried to post the following to the soap.apache list with no luck, You are my last hope :) When using tomcat(3.2.1) to serve soap requests everything works fine. When apache(1.3.17) is added to the picture I get the follwing stack dump. Is it possible that mod_jk.so is stripping

Tomcat load-balancing (via mod_jk)

2001-02-05 Thread Wei Wu
I understand tomcat3.2.1 supports the Apache JServ style load-balancing via mod_jserv. Does anyone know if the same is true when using mod_jk instead of mod_jserv? Any advice on how to setup load balancing with Tomcat3.2.1 and Apache (mod_jk) is appreciated. Thanks, Wei Wu WRLC

re: problems with servlet init parameters tomcat 3.2.1

2001-02-05 Thread Karina Anderson
Thanks for answering my question. My web.xml file is in Web-inf directory or at the same level as my classes and lib directory. I posted another message with more information. Do you see any problems? thanks a million.

Re: Newbie Question

2001-02-05 Thread Mike S. Avelar
Thank you, I'll give that a go. Stefan Langer wrote: For the password you need to go into the tomcat-user.xml file and create a password and user for the admin role. it's pretty straight forward but just in case put in a line like user name="tomcat" password="tomcat" roles="admin" /

Questions

2001-02-05 Thread Phillip Kuzma
I'm currently running apache + mod_jk + tomcat. I put all my servlets in /usr/java/tomcat/webapps/ROOT/web-inf/classes/ I put all my jsp files in /usr/java/tomcat/webapps/ROOT/ When i goto my domain I goto www.domain.com/servlet and it reads the servlets dir When I goto my domain I goto

RE: performance

2001-02-05 Thread Todd Carmichael
IBM does have a 1.3 for Intel and it is quite fast (faster than sun's hotspot in my tests). (You need to register with IBM to get in. http://www6.software.ibm.com/dl/wspt/priv/wspt-h?S_PKG=pretechww -Original Message- From: John Golubenko [mailto:[EMAIL PROTECTED]] Sent: Monday,

small error in the Tomcat 3.2 (Win32) jsp sample application

2001-02-05 Thread Andrey Stepantsov
A small error in the Tomcat 3.2 (Win32) jsp sample application. This note relates to the Tomcat 3.2 sample application, Which is shiped with Tomcat 3.2 (win32) and placed at %TOMCAT_HOME%\doc\appdev\sample\ If someone will try to use the sample as a base for his own project he can

Apache Tomcat Configuration

2001-02-05 Thread Mike Glose
Hello, Do you have a list of companies who are using the Apache/Tomcat configuration in their production environment? I would like to find some references at the technical and executive level. Thank you, --- Mike Glose Unix System Administration Requisite Technology 303-474-8146 Cell

Mail Notification

2001-02-05 Thread Administrator
The attached message has had some or all attachments deleted because of the following reason: Message contains attachments: build.bat Additional Information: none A small error in the Tomcat 3.2 (Win32) jsp sample application. This note relates to the Tomcat 3.2 sample application, Which

Re: Questions

2001-02-05 Thread John Golubenko
Easy. Edit 2 files. First under %TOMCAT_HOME%/conf/server.xml In ContextManager (you'll see similar stuff) put this: Context path="/path_after_domain" docBase="/www/world" crossContext="false" debug = "0" !-- 0 to 9 --

Rules regarding opening files in JSP pages served by Tomcat

2001-02-05 Thread Hawkins, Keith (Keith)
Hello, I have a JSP based application for which the JSP files reside in directory C:\tomcat\jakarta-tomcat\webapps\myapp. One of the JSP files is trying to open a config file configs.xml which also is present that directory. The JSP code is using request.getRealPath("configs.xml") which

JBulder 4 with Tomcat

2001-02-05 Thread Hamdy Schumann
I have Apache 1.3.12 web server, ApacheJserv 1.1 running through NT server 4.0. I did installed the trial CD JBuilder 4 Enterprise (to use it as a JAVA development tool). I have been told that "Tomcat" is used as the web server in JBuilder. I Do not know which specific

JDBCRealm authentication with interbase interclient

2001-02-05 Thread Erik LaBianca
This may be more of a developer question, but the guidelines seem to discourage non-developers from posting to the developer list, so I apologize if this is the wrong place. I don't know if any of you out there are using interbase with Tomcat 3.2.1, but I'm attempting to do so. I'm curious

Speeding up database accesses

2001-02-05 Thread John Coonrod
I would like to leave my oracle database connection open from one page to another within a session - is that possible? Is it possible to pool one connection for the entire webserver? If so, how? Thanks. - To unsubscribe,

RE: Speeding up database accesses

2001-02-05 Thread Wang, Jianming
Write a connectionpool as a bean and give it the scope of application. -Original Message- From: John Coonrod [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 4:19 PM To: [EMAIL PROTECTED] Subject: Speeding up database accesses I would like to leave my oracle database

RE: Speeding up database accesses

2001-02-05 Thread Randy Layman
One possibility (altough a bad idea) is to stick it into your session. Another possibility is to create an object that has a static variable for the Connection. Then provide methods to access it. Remember that you need to make sure only one thing at a time is using the

RE: Speeding up database accesses

2001-02-05 Thread CPC Livelink Admin
While there are connection pools (I have not used them but others on the list can point you to them), I find the easiest solution is a session variable. Then make a function you can call with the session and db connection info. The function checks the session for the DB varaible. If it's not

RE: Speeding up database accesses

2001-02-05 Thread John Coonrod
Whoops! Over my head! Where would I learn more about how to do this? = Original Message from [EMAIL PROTECTED] at 2/05/01 4:27 pm Write a connectionpool as a bean and give it the scope of application. - To unsubscribe,

Re: Questions

2001-02-05 Thread Phillip Kuzma
Ok I did you said and it worked great thanks, but now how about. i have www.domain1.com:8080 and www.domain2.com:8080 and I want domain1.com:8080 servlets to be in /www/domain1/servlets/Hello.class (www.domain1.com:8080/servlets/Hello) domain2.com:8080 servlets to be in

RE: Speeding up database accesses

2001-02-05 Thread Wang, Jianming
The following book helps, I think. http://www.amazon.com/exec/obidos/ASIN/1884777996/qid=981408589/sr=2-2/ref=s c_b_2/107-2595562-5791743 -Original Message- From: John Coonrod [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 4:27 PM To: [EMAIL PROTECTED] Subject: RE: Speeding

Re: Speeding up database accesses

2001-02-05 Thread John Golubenko
Sure it possible. For the page for example, at least you can do is use --- %@ page import="java.sql.*" % %! Connection conn; PreparedStatement stmt; % %! public void jspInit() { try { String url

No path info for include page

2001-02-05 Thread Dmitry Rogatkin
Is that normal for Tomcat? I expect to get something from getPathInfo when I have a servlet called as a page include. BTW can I expect a session sharing for such servlet and wrapper JSP? Thanks, Dmitry R., [EMAIL PROTECTED] Chief Architect, MetricStream.COM Santa Clara, CA

RE: Speeding up database accesses

2001-02-05 Thread CPC Livelink Admin
Why is it a bad idea to use a session variable? -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 3:52 PM To: [EMAIL PROTECTED] Subject: RE: Speeding up database accesses One possibility (altough a bad idea) is to stick it into

AW: Speeding up database accesses

2001-02-05 Thread Ralph Bobrik
Doing this way you have a large amount of open connection. They stay opened until timeout because you don't know, when the user closes his browser. So I think it's better having a connection-pool managing the DB-connection. You could implement that using a singleton-pattern. Ralph

RE: No path info for include page

2001-02-05 Thread Erik LaBianca
I think tomcat's getPathInfo is a little wierd. The behavior when you have bound a servlet to a url is to move what you would expect to be in getPathInfo() into getServletPath() . Included pages might be getting handled the same as "mapped" ones, in which case you could be experiencing the same

Re: Speeding up database accesses

2001-02-05 Thread Steve Ruby
For one reason you are going to have a connection dedicated to that session even if it isn't using it, so you will have one connection per session when you really only need one connection per use which is likely to be MUCH smaller, especially considering the session doesn't die until

RE: Speeding up database accesses

2001-02-05 Thread Randy Layman
I hate it when other people beat me to the responses Basically, yes. Another reason is that some of the JDBC drivers taht I have worked with don't behave properly when garbage collected. Therefore, when the session dies, the Connection would die a garbage-collected death,

java.lang.ClassCastException from Tomcat/Appache

2001-02-05 Thread Lifeng Xu
Hi, I am migrating a tested working project from window platform onto our new Linux environment. Apache/Tomcat/Iprise appServer are the same on both platforms. Now I am getting the following error from inside Appache/Tomcat when running the app on Linux, which I didn't get when I run it on

XML as Servlet Init Params

2001-02-05 Thread Shahed Ali
Hi, I would like to pass an xml string as a parameter to a servlet. I tried init-param param-namefoo/param-name param-value xml param /param /xml /param-value but this does not

JBoss-Tomcat-Apache

2001-02-05 Thread Affe Egnell
Hi, I'm trying to connect my Apache from one machine to my JBoss-Tomcat Applicationserver on another machine, both under Windows 2000. How do I do it? They are both running by them self but when I try to call the login.jsp site I cant connect... I've been trying to configure Apache and

  1   2   >