RE: Tomcat netbeans/forte

2002-01-25 Thread Ilya Khandamirov
Well, the information is here: http://www.netbeans.org/servlets/ReadMsg?msgId=191036listName=nbusers http://www.netbeans.org/servlets/ReadMsg?msgId=196042listName=nbusers http://www.netbeans.org/servlets/ReadMsg?msgId=170222listName=nbusers

Re: Recall: BLOB FROM JSP PAGE

2002-01-25 Thread David Cassidy
Mehmet, I think you missed my message : you could try something like %@page contentType=image/gif %%@page import=java.io.BufferedInputStream, java.io.ObjectOutputStream,java.io.OutputStream,java.io.File %% OutputStream f = response.getOutputStream(); File logo= new File(tester.gif);

Re: Tomcat 4.0 JDK1.4 Up then DOWN

2002-01-25 Thread Micael Padraig Og mac Grene
At 08:33 AM 1/23/02 -0500, you wrote: Is there no info in either the catalina_log or the application's log (assuming you have logging turned on in server.xml for the app) that shows what might be going on? I had something similar happen recently with JDK 1.3 where the main catalina window would

Development URLs

2002-01-25 Thread Micael Padraig Og mac Grene
FIRST If I want several development urls, e.g. app1.mycompany.com app2.mycompany.com app3.mycompany.com to be accessed through one registered url, e.g. www.mycompany.com can I do this with server.xml alone or do I have to also configrue the dns server to

Includes Tomcat Apache

2002-01-25 Thread Javier Alonso
Hello everyone. I´m using Apache Tomcat together, and i want apache to recognize the --!#include thing in htm pages. I´ve tried loading the Include Mod and using the include file and teh include relative options. But it doesnt work Could anybody help me? Thanks JJ -- To

RE: Development URLs

2002-01-25 Thread Mehmet Ugur Kuzu (LinkPlus)
you must firstly configure your DNS , all this URLs you typed represents same or different ip s in the Internet network world all URL names must changed to ip address by client with help of DNS in your case all URL represents same IP like this app1.mycompany.com 212.155.55.55

RE: Pooling database connections: best practices?

2002-01-25 Thread Alexandre Victoor
I have used DbConnectionPool for a few months with a postgresql server without any problem. Regards Alex -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: canno startup Tomcat 4.0.1

2002-01-25 Thread David Hewlett
On Friday 25 January 2002 7:57 am, you wrote: I downloaded a new copy of Tomcat and the problems disappeared. Thanks, I will try the same. At 11:40 AM 1/22/02 +, you wrote: Despite the good advice to carefully go through the documentation again the 'problem' still persists : It

Tomcat 4.0.1 / 4.0.2b2 + IIS + security-constraint

2002-01-25 Thread Joakim Ahlén
Hi, I've done some extensive testing of the above environment with no success. The basic idea is to restrict the url http://localhost:8080/1/admin by a security-constraint (form or basic auth), and have it forwarded to IIS as the url: http://localhost/1/admin, preserving tomcat's form or basic

RE: Sources for Tomcat 4.0.1 Win32 Service

2002-01-25 Thread Tom Bednarz
Hello Anton, Name of start class for me is org.apache.catalina.startup.BootstrapService, it also a stop class too. Here is me inst.bat for installing Tomcat as a service: (all at one line) @tomcat.exe -install Tom C:\jdk1.3\jre\bin\hotspot\jvm.dll -jvm_option

RE: Problem in shutting down TOMCAT 4.0

2002-01-25 Thread PELOQUIN,JEFFREY (Non-HP-Boise,ex1)
Jeff add these lines to the catalina.sh script as appropriate if [ -z $CATALINA_OPTS ] ; then CATALINA_OPTS=-XdoCloseWithReadPending fi the problem is the httpconnector running on 8080. If you watch the catalina.log file (i think this is the right one) you will that when you start tomcat

RE: worker.tomcat_home etc in mod_jk's workers.properties

2002-01-25 Thread Larry Isaacs
worker.tomcat_home is not used with the mod_jk connector. However, the IIS and Netscape connectors are mod_jk based and allow Tomcat to be run in-process. It is for the in-process worker that this setting is used. Cheers, Larry -Original Message- From: John Holman [mailto:[EMAIL

security with database login module

2002-01-25 Thread [EMAIL PROTECTED]
Hi I've a security problem in my web app. I'm using Jboss2.4.3 Tomcat4.0 When a user, for exemple with username 'vincini' connects to a protected area sometimes the login fails because you can see th HTTP- 403 error message. I said sometimes

Re: Problem in shutting down TOMCAT 4.0

2002-01-25 Thread grace
Try Tomcat 4.0.2 Beta 2. I was having the problem you describe with Tomcat 4.0.1 on Linux. Using Tomcat 4.0.2 Beta 2 solved the problem for me. Regards, Pascal Jeff Ong wrote: Hi all, I have installed Apache 1.3.3 and TOMCAT 4.0.1 in HPUX 11, with following JDK version ... Java(TM) 2

Using IIS with Tomcat

2002-01-25 Thread htay_san
Hi, I'd like to ask you a question about Tomcat Web Server.I used tomcat to run a jsp pages using the (http://localhost:8080/myFolder)address ,but now I want to use school web server address(http://proj6.ict.np.edu.sg/myFolder) . So how can I use the school address? Thanks a lot, Htay San

RE: Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO

2002-01-25 Thread Furmaniak Christophe
Good job! Except that you might specify that creating two instances of the tomcat installation is not needed as you can share the main binaries and libs by specifying 2 distinct CATALINA_BASE variables. Just maybe one more question, why does Craig R. McClanahan did first answer that load

RE: static gifs and tomcat

2002-01-25 Thread Larry Isaacs
Hi Mark, An earlier e-mail mentioned using Tomcat 3.2.2 standalone. I believe for Tomcat 3.x, the standalone HTTP service doesn't currently support virtual hosts. Requests on the HTTP port (8080 by default) always go to the default host. Virtual hosts are useful when connecting to an external

Re: Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO

2002-01-25 Thread Jean-Luc BEAUDET
Furmaniak Christophe a écrit : Good job! Except that you might specify that creating two instances of the tomcat installation is not needed as you can share the main binaries and libs by specifying 2 distinct CATALINA_BASE variables. Just maybe one more question, why does Craig R.

Sorry for being the six billionth person asking why running JSPs throws an exception

2002-01-25 Thread Michael Kastner
Please let me apologize first: I know from checking this list's database that the question why JSPs throw sometimes an exception has been an issue already (JDK1.4.0rc, tomcat 4.01, W2K). The stacktrace is appended at the end of the mail. However the solution which I found did not help so far.

UnsatisfiedLinkError...no ocijdbc8 in java.library.path

2002-01-25 Thread Abhishek Pamecha
UnsatisfiedLinkError...no ocijdbc8 in java.library.path I am developing a web application on tomcat 3.2.2 with Apache 1.2.22 on Solaris 2.8. I to make connections to Oracle database from this application using the oci driver. I am having this error whenever i use oci client for making a

Re: AW: Load balancer - no session affinity

2002-01-25 Thread Jean-Luc BEAUDET
Lauer, Oliver a écrit : Really keen on having that, too :-))) AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221 148 31277 Fax: +49 221 148 43963 Mobil: +49 179 59 064 59 e-Mail: [EMAIL PROTECTED]

server.xml example

2002-01-25 Thread Pablo Millet
Sorry for bringing up this basic problems! Could someone please, please privide me with an example of an server.xml file using the WAR deploying method. I'm deploying with a .war and TC4 doesn't want to unpack my WARs. I'm adding a context but it still doesn't want to be unpacked! Perhaps

Re: Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO

2002-01-25 Thread Remy Maucherat
Just maybe one more question, why does Craig R. McClanahan did first answer that load balancing was not working in TC4 and then Remy Maucherat answered it worked by specifying the jvmRoute param for the engine? Because Craig was probably not aware of all the details, since he didn't

AW: AW: Load balancer - no session affinity

2002-01-25 Thread Ralph Einfeldt
It's already there and has been posted hours ago. http://www.ubeans.com/tomcat -Ursprüngliche Nachricht- Von: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 25. Januar 2002 15:17 An: Tomcat Users List Betreff: Re: AW: Load balancer - no session affinity Could yu

IllegalStateException in releasePageContext

2002-01-25 Thread Robert Winningham
I have upgraded from Tomcat 3.2.2 to Tomcat 4.0.1, and I am now receiving many errors in my error log (one for each time a user hits a .jsp page.) This is causing my logs to grow VERY quickly. I did not receive these types of errors in 3.2.x. The errors are all in the following format:

Re: Includes Tomcat Apache

2002-01-25 Thread RSEQUEIRA
There are two ways to include files (if you are using both Apache and Tomcat in tandem). If you wish for Apache to handle includes: 1) Make certain the following lines are present (and uncommented) in the httpd.conf LoadModule includes_modulelibexec/mod_include.so AddModule

RE: IllegalStateException in releasePageContext

2002-01-25 Thread Wagoner, Mark
Do you happen to have include directives with flush=true. If so, take the flush attribute out. This helped me, anyway. -Original Message- From: Robert Winningham [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 9:46 AM To: [EMAIL PROTECTED] Subject: IllegalStateException in

RE: Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO

2002-01-25 Thread Furmaniak Christophe
ok, thx. Does it work only for mod_jk? Christophe -Message d'origine- De : Remy Maucherat [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 25 janvier 2002 15:21 À : Tomcat Users List Objet : Re: Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO Just maybe one more question, why

Re: Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO

2002-01-25 Thread Pascal Forget
Andrew Logan wrote: A quick question, why did you choose to use the AJP13 connector rather than the WARP connector that is recommended? My understanding was the warp connector is used in conjunction with mod_webapp, which currently forwards all requests to Tomcat, not just JSP and servlets;

Is there a way to ...

2002-01-25 Thread Jean-Luc BEAUDET
Hi all, According i use SOLARIS 6 Apache 1.3.22 Tomcat 4.1-dev Warp Connector I made a connection via mod_webapp with a web application nested in $CATALINA_HOME/webapps/MyApp the declaration is well done in httpd.conf: WebAppDeploy FirstApp warpconn /FirstApp and runs good. When i

Re: Using IIS with Tomcat

2002-01-25 Thread Hessing Ingo
Hi, see this tutorial on integrating IIS and Tomcat 4: http://www.vacodi.com/howto/tomcat/iisnt/index.html There is also a howto for the Tomcat 3.2.X version: http://www.verysimple.com/scripts/support_tc_iis.html bestWISHES Ingo Hessing -Ursprüngliche Nachricht- Von: [EMAIL

Re: Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO

2002-01-25 Thread Pascal Forget
Salut Christophe, Furmaniak Christophe wrote: Good job! Thanks, I appreciate it. Except that you might specify that creating two instances of the tomcat installation is not needed as you can share the main binaries and libs by specifying 2 distinct CATALINA_BASE variables. True, but in

RE: Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO

2002-01-25 Thread Anton Brazhnyk
Hi, -Original Message- From: Pascal Forget [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 5:20 PM To: Tomcat Users List Subject: Re: Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO Andrew Logan wrote: My understanding was the warp connector is used in

RE: IllegalStateException in releasePageContext

2002-01-25 Thread Robert Winningham
Mark, Thank you for your advice. I tried your recommendation, but I am still receiving the errors. Any other thoughts? Any advice is much appreciated. //rob -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 8:56 AM To: 'Tomcat Users

tmocat + cgi

2002-01-25 Thread Shankar Ram Thyagarajan
Hi Iam trying to run cgi executable file in tomcat. I followed the instructions and uncommented the servlet declarations and associated servlet mappings in the web.xml file. i also renamed the servlet-cgi file. I guess i have the path info correctly. when i access the cgi file, i get an error

Re: worker.tomcat_home etc in mod_jk's workers.properties

2002-01-25 Thread Pascal Forget
John Holman wrote: Can anyone explain the purpose of the worker.tomcat_home, worker.java_home and ps entries in mod_jk's workers.properties file? My understanding is that workers.properties is used only to configure the mod_jk webserver plugin, and I'm at a loss to see why that would

Free Load Testing Tool

2002-01-25 Thread sumit . rajan
Hi, Can anyone please let me know some Load Testing Tools, to test a JSP application, which are there for Free. Also their reliability (if possible) as compared to Webload as 10. Thanks, Sumit. The information contained in this e-mail and any files transmitted with it may be privileged

Re: Free Load Testing Tool

2002-01-25 Thread Emerson
At 11:40 25/1/2002 -0500, you wrote: Hi, Can anyone please let me know some Load Testing Tools, to test a JSP application, which are there for Free. Also their reliability (if possible) as compared to Webload as 10. I don't know Webload, but i've used Jmeter, an open-source Tool from

RE: Free Load Testing Tool

2002-01-25 Thread Reynir Hübner
Check out Microsofts tool. search MSDN for : Microsoft Webapplication Stress tool (I recoment this tool). also you could check out JMeter (jakarta.apache.org). hope it helps [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 25. janúar

Re: BLOB FROM JSP PAGE

2002-01-25 Thread Dirk . Dinger
Hi ! your example has inspired me to try to return an ms-excel document as binary-result of a JSP. I adopted the code previously provided as follows: %@page import=java.io.BufferedInputStream, java.io.ObjectOutputStream,java.io.OutputStream,java.io.File% %

RE: BLOB FROM JSP PAGE

2002-01-25 Thread Randy Layman
Your problem stems from (A) you can't call response.getOutputStream after you call response.getWriter and (B) all JSPs call response.getWriter before they start executing your code. Move the code to a servlet and you will be fine. Randy -Original Message- From:

RE: IllegalStateException in releasePageContext

2002-01-25 Thread Robert Winningham
Here is an update to the issue that I am experiencing. Hopefully someone out there has experienced the same and knows a fix, maybe something in one of the .conf files. Here is a very simple test case: !-- First page forwards to a second -- %@ page % %

RE: BLOB FROM JSP PAGE

2002-01-25 Thread Michael Wentzel
Your problem stems from (A) you can't call response.getOutputStream after you call response.getWriter and (B) all JSPs call response.getWriter before they start executing your code. Move the code to a servlet and you will be fine. If you want to see more details about what Randy

Re: Free Load Testing Tool

2002-01-25 Thread Michael Molloy
Your best response will probably come from a search on google.com for free load testing tools --Michael On Friday 25 January 2002 11:40 am, you wrote: Hi, Can anyone please let me know some Load Testing Tools, to test a JSP application, which are there for Free. Also their reliability

Re: Free Load Testing Tool

2002-01-25 Thread Chris Faulkner
Hi I use siege which under some kind of Linux GPL and is at : http://www.joedog.org/siege/index.shtml It's a command-line based, multi-user, multi-threaded tool which means that you aren't simulating the same client using the same session. JMeter, from my experience with it, doesn't do that.

RE: Free Load Testing Tool

2002-01-25 Thread sumit . rajan
i am on windows platform ! -Original Message- From: Chris Faulkner [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 12:10 PM To: Tomcat Users List Subject: Re: Free Load Testing Tool Hi I use siege which under some kind of Linux GPL and is at :

RE: Free Load Testing Tool

2002-01-25 Thread sumit . rajan
yeah i did that and got a lot of them. just wanted to know which are the good ones from the experienced users... Sumit. -Original Message- From: Michael Molloy [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 11:08 AM To: Tomcat Users List Subject: Re: Free Load Testing Tool

Re: BLOB FROM JSP PAGE

2002-01-25 Thread Craig R. McClanahan
On Fri, 25 Jan 2002 [EMAIL PROTECTED] wrote: Date: Fri, 25 Jan 2002 17:57:05 +0100 From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: BLOB FROM JSP PAGE Hi ! your example has inspired me to try to return an

Tomcat 4.0.1 and ajp13 problem

2002-01-25 Thread Adriano Moreira
Hi, I'm trying to integrate Tomcat 4.0.1 with IIS 5.0 on a Windows 2000 Server. I followed the instructions on http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html. IIS works fine, Tomcat starts as a service and works fine (port 8080). However, when accessing applications on

Directory problem

2002-01-25 Thread JBrawner
I am running Tomcat 4 standalone. Currently, I have my website running with a base directory called Brawner. Therefore, to access my site you have to use the following URL... http://localhost/Brawner/ I need it to work off the root directory like the following... http://localhost/ Is there a

Re: Directory problem

2002-01-25 Thread Craig R. McClanahan
On Fri, 25 Jan 2002 [EMAIL PROTECTED] wrote: Date: Fri, 25 Jan 2002 12:52:13 -0500 From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Directory problem I am running Tomcat 4 standalone. Currently, I have my website running with a base

RE: Directory problem

2002-01-25 Thread Robert Winningham
You can remove (or rename) the $TOMCAT_HOME/webapps/ROOT directory, and then move the contents of Brawner into $TOMCAT_HOME/webapps/ROOT. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 11:52 AM To: [EMAIL PROTECTED] Subject: Directory

Log messages

2002-01-25 Thread James Adams
Is there a class I can use to write log messages to the Tomcat log files ? Can anyone explain how this is done ? Also I have looked a wee bit at java.util.logging - can this also be used, or is it a better solution ? Thanks for any suggestions. -James Adams -- To unsubscribe:

Re: static gifs and tomcat

2002-01-25 Thread Mark Biciunas
Hi Larry, I am running Tomcat 3.2.2 in standalone mode and it does support virtual hosts and the virtual hosting is working - I am able to specify different domains and have them sent to the proper servlets. I also have 4.x running on another set of servers and set up virtual hosts there as

Re: Log messages

2002-01-25 Thread Yoav Shapira
Hi, Look at log4j: http://jakarta.apache.org/log4j We've been using it for a while, both for development and production logging, and it's just great. Most of JSR47 (java.util.logging) is based on log4j, and it's also used by several commercial and/or big products like JBoss. Yoav James Adams

Re: Log messages

2002-01-25 Thread Brown Bay
With respect to logging, I have a program that has System.out.println that are definied in certain places. If I disable logging for that context, they goto catalina.out. Is there a way for me to 1. disable logging into catalina.out or for that matter anywhere at all, so that those System.out's

RE: Log messages

2002-01-25 Thread Wagoner, Mark
Log4j will do both of these. You essentially replace your println() calls with log4j calls. -Original Message- From: Brown Bay [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 2:09 PM To: Tomcat Users List Subject: Re: Log messages With respect to logging, I have a program

RE: static gifs and tomcat

2002-01-25 Thread Larry Isaacs
At this point I would be guessing at what you actually have as far as config files and web.xmls. If you can supply a simplified test case, I'll try to find the time to give it a try. Cheers, Larry -Original Message- From: Mark Biciunas [mailto:[EMAIL PROTECTED]] Sent: Friday,

Help with Apache connector

2002-01-25 Thread Rhugga
I have the mod_webapp.so module loaded into Apache and it appears to be correct. If I look at the http://localhost/server-info page it shows the mod_webapp module loaded and it's configuration. I want all *.jsp requires to be handled by the tomcat server, how is this done? Thanks, Chuck --

directory browsing

2002-01-25 Thread Charles N. Harvey III
I now that Ishould be able to find this out for myself but... I can't figure out how to turn off directory browsing. I a single app or in tomcat in general. I will keep searching the docs but if someone could help me out I would be greatful. Charlie -- To unsubscribe: mailto:[EMAIL

Tools for Building Web Services

2002-01-25 Thread Craig R. McClanahan
If your interest in Tomcat is for developing Web Services, you will be interested in the Java Web Services Developer Pack (version 1.0ea1) that was just released by Sun: http://java.sun.com/webservices The Java WSDP includes early releases of base XML technology: JAXP 1.2 (with schema

Problem with JDBC-Connection to DB2 from Tomcat4.0.1

2002-01-25 Thread Anja Falkner
Hello list, is there anyone, who has an idea or can explain me the following situation: My JSP-file imports a self-written class named 'Connect'. This class should connect to DB2 with using IBM-app-driver. If I start this application, I get a ClassNotFoundException because of the driver. I

RE: Problem with JDBC-Connection to DB2 from Tomcat4.0.1

2002-01-25 Thread sumit . rajan
set the driver name along with the path in the classpath eg is the driver name is abc.xyz in the folder d:\apache\...\web-inf then set the classpath to d:\apache\...\web-inf\abc.xyz this should work. Sumit. -Original Message- From: Anja Falkner [mailto:[EMAIL PROTECTED]] Sent: Friday,

RE: Problem with JDBC-Connection to DB2 from Tomcat4.0.1

2002-01-25 Thread Randy Layman
-Original Message- From: Anja Falkner [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 4:06 PM To: [EMAIL PROTECTED] Subject: Problem with JDBC-Connection to DB2 from Tomcat4.0.1 Hello list, is there anyone, who has an idea or can explain me the following

Re: Problem with JDBC-Connection to DB2 from Tomcat4.0.1

2002-01-25 Thread Ashish kulkarni
hi, COpy the jar file of the JDBC driver, into lib directory of your server or web-inf lib directory of your application, then restart it, tomcat does not look into the system classpath as far as i know, i always copy the jar files in the lib directory of tomcat and all the classes need into the

JSP code issue? Tomcat issue? DB connectivity issue?

2002-01-25 Thread Muhammad Akhtar
Hi, NOVICE IN NEED OF HELP! I am having serious probs with the dynamic side of a site. I have a number of forms on the site written in JSP, the contents of the form are submitted as an xml email to a third party, the contents are also sent to an oracle database, which can then be looked at by a

Re: static gifs and tomcat

2002-01-25 Thread Mark Biciunas
Hi Larry, Following is a section from my server.xml, used on Tomcat 3.2.2. Everything else in the file is untouched save that I am listening on port 80. Host name=localhost Context path=/ docbase=webapps/myservlet crossContext-false debug=9

RE: JSP code issue? Tomcat issue? DB connectivity issue?

2002-01-25 Thread Randy Layman
Without seeing your JSP file its hard to say, but at first glance I would guess that you are using a java.sql.Connection object that you are keeping in the session. After long periods of inactivity the problems start occurring because the connection has been closed. The real

tomcat/apache

2002-01-25 Thread Dean Hiller
Is it possible for apache and tomcat to BOTH work off port 80? From what I understand Apache can't do servlets so we need tomcat, but we need apache for file download or something that tomcat doesn't have. Can someone please send me a link to a document where I can help myself on setting up

bug?? linux7.1 tomcat4.0.1

2002-01-25 Thread Dean Hiller
I have redhat linux 7.1 jdk1.3.1_02 tomcat 4.0.1 tomcat works, BUT all images come across corrupted on IE and netscape. Is there a bugfix/work around to fix this problem. Also, why does the jdk have to be installed? Why can't we just use the JRE? One more thing is the DOCS should mention

RE: RE: Problem with JDBC-Connection to DB2 from Tomcat4.0.1

2002-01-25 Thread Anja Falkner
Hi Randy, I have decided to change catalina.bat and it works!!! Thank you very much for your fast help! Anja -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

RE: static gifs and tomcat

2002-01-25 Thread Larry Isaacs
Specifying '/' in a servlet mapping makes your servlet the default servlet. This overrides the default default servlet that Tomcat provides, which is the one that serves static content and directory listings. This means that it is up to your servlet to provide static file serving functionality.

Re: configure script in mod_webapp source

2002-01-25 Thread Thad Humphries
Yep! It was missing when I went looking. I used the configure script from the mod_webapp for Tomcat 4.0 (which I can send you if you cant find it). On Fri, 2002-01-25 at 15:38, Lars Andersen wrote: I have downloaded the mod_webapp source tarball. The README.txt mentions a ./configure

Re: Pooling database connections: best practices?

2002-01-25 Thread Sean LeBlanc
Is anyone here using it via a Singleton pattern? I'm trying to figure out the best way to use this... Currently, we have an object that gets a database connection (with no pooling), and I'm trying to snap DbConnectionPool in with it. I have two static variables within the object now, one for db

Re: configure script in mod_webapp source

2002-01-25 Thread Lars Andersen
Thad Humphries wrote: Yep! It was missing when I went looking. I used the configure script from the mod_webapp for Tomcat 4.0 (which I can send you if you cant find it). On Fri, 2002-01-25 at 15:38, Lars Andersen wrote: I have downloaded the mod_webapp source tarball. The README.txt mentions

LifecycleException

2002-01-25 Thread Bill Saur
Hello: I have just installed Tomcat 4.0.1 (Win2000 OS) and the program works one time and then once I shut it down and restart it I am getting the following message: Catalina.start: LifecycleException: null.open: java.net.BindException: Address In use: JVM_Bind - followed by a long list of

Re: static gifs and tomcat

2002-01-25 Thread Mark Biciunas
Hi Larry, I see what your saying and evidence is exactly that - debug code in my servlet shows the servlet trying to serve requests for the gifs. However, if I have the mapping set to / and no virtual hosting, then my servlet does not receive the gif requests everything works. This seems to

Starting/stopping tomcat 4.0

2002-01-25 Thread Kim Albee
I just installed Tomcat 4.0. In the doc it says to start tomcat, go to $CATALINA_HOME/bin/startup.sh but there is no startup.sh there -- /var/tomcat4/bin only contains bootstrap.jar. What do I need to do to start tomcat? Thanks, Kim :-) -- To unsubscribe: mailto:[EMAIL PROTECTED] For

Re: Starting/stopping tomcat 4.0

2002-01-25 Thread Shankar Ram Thyagarajan
%catalina_home%\bin\startup or go to home and then just bin\startup Thyagarajan Shankar Ram 61 Englewood Avenue buffalo, NY 14214 ph : 716-837-0715 [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional

JNDI TOMCAT (4.0.1)

2002-01-25 Thread Reinhard Ruiner
hello world, i have written my own REALM - class for authentication. authentication - verfication should be done by an EnterpriseJavaBean running on JONAS ApplicationServer . Within a method in my realm i set the environement for initial context as specified by JONAS: Hashtable jndiProps =

Is a jsp page compiled a SERVLET?

2002-01-25 Thread Monica Guerra
Please help me with that question: Is a jsp page compiled a SERVLET? The jsp page compiled, the .class is a SERVLET Thanks Monica _ Do You Yahoo!? Encuentra el coche de tus sueños en Yahoo! Autos http://autos.yahoo.com.mx -- To

RE: Starting/stopping tomcat 4.0

2002-01-25 Thread Kim Albee
Shankar, I tried that -- it says no such job I am running RH Linux 7.1, and tomcat4 is installed in /var/tomcat4 Any other suggestions? -Original Message- From: Shankar Ram Thyagarajan [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 3:42 PM To: Tomcat Users List Subject: Re:

Re: bug?? linux7.1 tomcat4.0.1

2002-01-25 Thread Tom Oinn
Dean Hiller wrote: I have redhat linux 7.1 jdk1.3.1_02 tomcat 4.0.1 tomcat works, BUT all images come across corrupted on IE and netscape. Is there a bugfix/work around to fix this problem. I believe this is covered elsewhere on the list, recently, and has something to do with the

Re: bug?? linux7.1 tomcat4.0.1

2002-01-25 Thread Dean Hiller
I figured out why the images are messed up. I viewed them directly and they are messed up to begin with for some reason. It appears that the post of the rpm on the website has bad images in it. Dean -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

More novice questions

2002-01-25 Thread Debby Dart
Does anybody know of another list which would be more suited for posting novice questions like the following: What's the difference between a servlet, a javabean and a scriptlet? What is the best use, advantages, and disadvantages for each? Where would each reside in the Tomcat directory

Re: Is a jsp page compiled a SERVLET?

2002-01-25 Thread Joaquín Sánchez Jiménez
Yes. - Original Message - From: Monica Guerra [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 25, 2002 10:42 PM Subject: Is a jsp page compiled a SERVLET? Please help me with that question: Is a jsp page compiled a SERVLET? The jsp page compiled, the .class is a

Re: Problem with JDBC-Connection to DB2 from Tomcat4.0.1

2002-01-25 Thread Micael Padraig Og mac Grene
The answer to this is always the same, the class is not where your application is looking. So, that is the correct answer. Without knowing more about your situation, it is hard to tell what that means. Find out where the application is looking for the driver. The driver is not there. Put

Re: Starting/stopping tomcat 4.0

2002-01-25 Thread Micael Padraig Og mac Grene
You need to download another copy. You copy is corrupted for some reason. At 03:40 PM 1/25/02 -0600, you wrote: I just installed Tomcat 4.0. In the doc it says to start tomcat, go to $CATALINA_HOME/bin/startup.sh but there is no startup.sh there -- /var/tomcat4/bin only contains

Re: More novice questions

2002-01-25 Thread Micael Padraig Og mac Grene
Try the tutorials at www.java.sun.com. They are excellent, and have a search feature. At 02:41 PM 1/25/02 -0800, you wrote: Does anybody know of another list which would be more suited for posting novice questions like the following: What's the difference between a servlet, a javabean and a

Jspc exception.

2002-01-25 Thread Sean Knox
I apologize if this has been covered before; I searched the archives and couldn't find an solution. I'm running Tomcat 3.2.4 on linux. When attempting to precompile JSPs with jspc.sh -webxml, I receive this exception: Exception in thread main java.lang.ArrayIndexOutOfBoundsException at

RE: mod_jk bug ?

2002-01-25 Thread Ignacio J. Ortega
De: Ching-Kuan Thum [mailto:[EMAIL PROTECTED]] Enviado el: jueves 24 de enero de 2002 15:35 Para: [EMAIL PROTECTED] Asunto: mod_jk bug ? Hi, I encountered the following error when accessing any java servlet(e.g.http://localhost/servlet/SnoopServlet) through Internet Explorer of

Re: Problem with JDBC-Connection to DB2 from Tomcat4.0.1

2002-01-25 Thread Remy Maucherat
The answer to this is always the same, the class is not where your application is looking. So, that is the correct answer. Without knowing more about your situation, it is hard to tell what that means. Find out where the application is looking for the driver. The driver is not there.

RE: mod_jk bug ?

2002-01-25 Thread Ching-Kuan Thum
Ascii.java is available in server\lib\tomcat-util.jar of TC4.0.x distribution. The exception could be due to mod_jk incorrectly passing of URL to the java code or a bug in Java code of Tomcat util. I have searched the mailing and seen few mails regarding Exception which is close to what I have

Re: More novice questions

2002-01-25 Thread Craig R. McClanahan
On Fri, 25 Jan 2002, Micael Padraig Og mac Grene wrote: Date: Fri, 25 Jan 2002 16:24:00 -0800 From: Micael Padraig Og mac Grene [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: More novice questions Try the tutorials at

Re: Starting/stopping tomcat 4.0

2002-01-25 Thread Jay Fox
Try this: $ find / -name startup.sh make sure that CATALINA_HOME is the same as the directory right above .../bin Hope that helps. I had the same problem yesterday. Jay - Original Message - From: Kim Albee [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 25, 2002 4:40 PM

Re: mod_jk bug ?

2002-01-25 Thread Remy Maucherat
Hi, I encountered the following error when accessing any java servlet(e.g.http://localhost/servlet/SnoopServlet) through Internet Explorer of PocketPC : Maybe IE for PocketPc is sending some kind of malformed HTTP Request? Or mod_jk native and/or Java part has bug? Please post a

[FAQ] jGuru FAQ Update

2002-01-25 Thread Alex Chaffee
jGuru maintains FAQs and Forums on Servlets, JSP, and Tomcat (as well as many other Java topics). Here is an automated update on recent postings to Tomcat-related FAQs. Please direct flames and feedback to [EMAIL PROTECTED] . - Alex ++ JavaServer Pages (JSP) FAQ:

Tomcat 4 Runtime.exec()?

2002-01-25 Thread Christian Cryder
Can anyone tell me why the Runtime.exec() call in the following piece of code runs fine standalone, but blows chunks in Tomcat 4? File path = new File(E:/WebProjects/lutris/cvs/Barracuda/src); String[] args = new String[] {ant.bat,admin.sample1}; try { Process p =

Tomcat 4.0.2

2002-01-25 Thread Asim Razzaq
Does anyone know the ETA for Tomcat 4.0.2? Thanks, Asim. __ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

Accessing Manager app through URLConnection

2002-01-25 Thread Christian Cryder
Ok, how can I go about accessing the Manager app through a URL connection? Its currently generating a 401 error code, and I know the reason is because of the role stuff...how can I programatically assign a role? Or is there a way I can pass the user/pwd info along with the url poarameters

  1   2   >