sevlets and applets

2002-07-17 Thread Serdar BOZDA
hi, i have a question about servlets. in my applet I use showdocument method to open a servlet in a new browser window. this servlet reads the contents of a file that user choose. this servlet needs the send the content of the file to the applet but since showdocument is used out.println()

which minimal changes are required

2002-07-17 Thread Atif Munir
Hi, I have installed tomcat successfully. and i can check it by domainname.com:8080 Now what minimal changes are required for httpd.conf. Regards, -- M.Atif Munir Linux System Administrator Nologics (Pvt.) Limited 137-Kareem Block Iqbal Town Lahore (Pakistan) -- To unsubscribe, e-mail:

load-on-startup in web.xml

2002-07-17 Thread staginfo-ar
Hi, What's the use of the load-on-startup element in web.xml? Thanks. Jc -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

JapserException

2002-07-17 Thread Jonathan Zhang
can someone provide some insight on the following exception? thanks I look on PostMessage_2.java which was generated dynamically by jsp, on the line where the exception occured: org.apache.jasper.runtime.JspRuntimeLibrary.introspect(pageContext.findAttribute(messageBean), request); what's

RE: load-on-startup in web.xml

2002-07-17 Thread Jacob Hookom
Usually servlets are lazy-loaded, meaning, the init() method of the servlet is not called until a user makes a request to it for the first time. By putting the load-on-startup with an integer as a value, then you force the servlet to call init() on startup. This may be advantageous as you may

Tomcat Manager Application and Apache

2002-07-17 Thread Nikolas A. Rathert
Hi, is it possible, that the Tomcat Manager Application only works for Tomcat Standalone? I connected Tomcat and Apache and worked with the manager application. I was not able to access the installed web applications without explicitly directing the browser to port 8080. If I want to work with

File Download and then Reloading a page

2002-07-17 Thread Laurent Michenaud
Hi, I would like to be able within a servlet to launch a file download and just after reloading a jsp page( =The servlet generates two response ). Is it possible ? Thanks Michenaud Laurent - Adeuza - [ Développeur Web - Administrateur Réseau ] -- To unsubscribe, e-mail: mailto:[EMAIL

RE: sevlets and applets

2002-07-17 Thread John Burgess
showDocument will simply show the content at the URL you pass to it and doesn't care whether it is a static html file, dynamic content from a jsp or servlet or even some other mime type such as a pdf file. Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600

Someone was asking about a read-only tomcat etc

2002-07-17 Thread Ben Walding
A few days ago someone was asking about a read-only distro for tomcat java etc. Note, this isn't an endorsement, just something I came across and thought others might be interested in... http://www.enteract.com/~cks/distributopia/mintc/ Description MinTC is a special-purpose

Problem with servlet (download response) under NT 4

2002-07-17 Thread Laurent Michenaud
Hi, I've got a servlet that launches a download with : response.setContentType(application/csv); response.setHeader(Content-Disposition, attachment;filename=downloadbookings.csv); It works perfectly with windows 2000 but not with NT4. In NT4 IE 5.5, the browser asks me for downloading or

File Download and then Reloading a page

2002-07-17 Thread Laurent Michenaud
Hi, I would like to be able within a servlet to launch a file download and just after reloading a jsp page( =The servlet generates two response ). Is it possible ? Thanks Michenaud Laurent - Adeuza - [ Développeur Web - Administrateur Réseau ] -- To unsubscribe, e-mail: mailto:[EMAIL

Re: File Download and then Reloading a page

2002-07-17 Thread Nikola Milutinovic
I would like to be able within a servlet to launch a file download and just after reloading a jsp page( =The servlet generates two response ). Is it possible ? No, but you can give a JSP/HTML page in response that will have JScript function that opens another page that will be

2 ip, 2 virtual host over SSL

2002-07-17 Thread Piotr Woliski
Hi all, I have linux box with 2 network interfaces (2 ip addresses and 2 hostnames: host1.domain, host2.domain) with tomcat 3.2 standalone. I'd like to have the same application (working over SSL) on 2 different URLs. server.xml: Host name=host1.domain Context path=

X509 Certificate

2002-07-17 Thread Johnny
To all Tomcat users , Do you know how to get request attribute containing the X509 certificate by redirect from Apache to Tomcat, using AJP13??? Currently, my machine is running Tomcat 4.0.3 with Apache 1.3.4 and mod_ssl, and I facing the problem to get the request attribute X509

client authorization.

2002-07-17 Thread Anthony Geoghegan
Is it possible to use client certificate authorization without a password and its associated dialog? Best Regards, Anthony Geoghegan. J2EE Developer CPS Ireland Ltd. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Detecting browser encryption level

2002-07-17 Thread Andy Taylor
Hi All, I am in the process of writing a site which will have a Verisign 128-bit key size certificate installed, and want to run a check that all browsers using the site is able to use 128-bit keys. I am planning on using the new javax.servlet.request.key_size request attribute, but I understand

Resourses not visible behind secure contexts

2002-07-17 Thread Sefton, Adam
Hi, I have an SVG file I would like to display through Tomcat. However, if I place it inside a context that is secure (that is running on HTTPS and is behind tomcat FORM authentication), I cannot see the file - instead I get an Download this file to disk dialog box pop up. However, if I

Session Tracking with a Database

2002-07-17 Thread The Kelley's
Please HELP! JDK1.3 Win 2000 Mysql Tomcat 4.0.3 I'm getting an exception in Tomcat 4.0.3 that I don't know what to do with. I'm reading James Goodwill's book Apache Jakarta-Tomcat and I'm trying to run the example on page page 128. You are suppose to be able to track sessions automatically

How to do stop-start fast?

2002-07-17 Thread Aleksi Kallio
I have a script that stops Tomcat (shutdown.sh), does stuff and then restarts it (startup.sh). Doing stuff doesn't take long enough and Tomcat refuses to restart because the port is still reserved. Removing the restart from script and waiting a few secs after running the script, then restarting

Re: How to do stop-start fast?

2002-07-17 Thread Tim Funk
You have a few alternatives: 1) Kill the java process and then you can run startup.sh immediatetly 2) Write a wrapper script which calls shutdown.sh, then does one of the following to verify tomcat is shutdown before calling startup.sh a) The process is non-existent b) The port is no taken

Redireceting HTTP - HTTPS

2002-07-17 Thread
Hello all, Have any of you experienced Tomcat changing the *domain name* of the request to localhost when you're trying to automatically redirect from HTTP to HTTPS? We know that it's supposed to change the protocol and the port, but the domain as well? Here's the situation: I have a

RE: Redireceting HTTP - HTTPS

2002-07-17 Thread Reynir Hübner
This is strange, why are you sending requests with my name (in the from address of this email)? [EMAIL PROTECTED] -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: 17. júlí 2002 11:27 To: [EMAIL PROTECTED] Subject: Redireceting HTTP - HTTPS Hello

RE: Redireceting HTTP - HTTPS

2002-07-17 Thread
All, Apologies if any weirdness was observed in regards to my original post. Despite sending it in plain text (not HTML formatted/stylized/etc.), I'm not too confident that it was sent correctly. Hopefully, the gist of my issue came through. -Steve p.s. note to self... from now on, don't

Segmentation Error SIGSEGV 11 * Segmentation Violation

2002-07-17 Thread Koteswara Rao P.
HI, I am using Red Hat 7.2, Tomcat 3.2.3, MySQL and JDK 1.2.2. I am getting the error: Segmentation Error SIGSEGV 11 * Segmentation Violation Can u pls provide some solution for this? Thanks in advance... Koti -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Redirecting HTTP - HTTPS? (second attempt)

2002-07-17 Thread Steve Baker
-- It appears that much of the code from my first post got wiped out. Trying the message again here a second time. Thanks. -SB -- Have any of you experienced Tomcat

RE: Redirecting HTTP - HTTPS? (second attempt)

2002-07-17 Thread Stuart Stephen
you could use javascript on your non secure http page? script language=javascript window.location = 'https://www.sitename.com' /script That would do the trick Stevie -Original Message- From: Steve Baker [mailto:[EMAIL PROTECTED]] Sent: 17 July 2002 13:02 To: [EMAIL PROTECTED]

AW: Redireceting HTTP - HTTPS

2002-07-17 Thread Ralph Einfeldt
This is a problem between your mail reader (Outlook I guess) and the original post. Look at the option of the mail there is something like From: [EMAIL PROTECTED]. Your mailer just displays your name instead that of the original poster in the from field. -Ursprüngliche Nachricht-

Re: Redirecting HTTP - HTTPS? (second attempt)

2002-07-17 Thread Nikolas A. Rathert
Hi, I think you left somewhere in your conf-files a localhost. I had the same error working on Apache and Tomcat and after some searching I found out that I forgot to modify httpd.conf in a way that my server no longer was the localhost but had a real name. I suggest, that you scan your

RE: How to do stop-start fast?

2002-07-17 Thread Turner, John
-Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 7:27 AM To: Tomcat Users List Subject: Re: How to do stop-start fast? You have a few alternatives: 1) Kill the java process and then you can run startup.sh immediatetly 2) Write a wrapper

RE: which minimal changes are required

2002-07-17 Thread Turner, John
We can't answer your question until you tell us which apache-tomcat connector you have chosen. There are several: mod_jk, mod_jk2, mod_webapp, and I even saw posts earlier this week where someone was using mod_proxy to do it. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/index.html

RE: tomcat+jdbc

2002-07-17 Thread Turner, John
Looks like something in your own code: Quote: root cause java.lang.NullPointerException at IEEMBeans.DBABean.createStatement(DBABean.java:71) IEEMBeans.DBABean is yours, no? John Turner [EMAIL PROTECTED] -Original Message- From: Mario Henley Becerril Geldis

Re: Redirecting HTTP - HTTPS? (second attempt)

2002-07-17 Thread Nikolas A. Rathert
Sorry, I just answered on a mail where some of the original text was missing. I just saw that you searched for the string in every part. Then I do not have any idea. Could this problem be a result of src-compilation? I have no idea. Cheers, Nick Nikolas A. Rathert wrote: Hi, I think

RE: Stability problems under Tomcat 4.0.4, Solaris 2.7, JdK 1.3.1_02-b02

2002-07-17 Thread Shapira, Yoav
Howdy, Very strange that you are experiencing this. I use tomcat 4.0.4 on Solaris 2.7, JDK 1.3.1_01. I have no stability problems at all, I leave my machine up for days if not weeks. For starters: why using a beta JDK? And are you sure you have the Solaris OS patches for the JDK? I had to

4.1.7b admin application

2002-07-17 Thread Martin Grebac
Hi, I just installed the 4.1.7b, and was keen to see the admin application. Everything except admin app works ok, but I can't log into the application. I always get HTTP Status 403 - Access to the requested resource has been denied I didn't know what's wrong, so I tried to look for some

Re: Redirecting HTTP - HTTPS? (second attempt)

2002-07-17 Thread Steve Baker
I think you left somewhere in your conf-files a localhost. I had the same error working on Apache and Tomcat and after some searching I found out that I forgot to modify httpd.conf in a way that my server no longer was the localhost but had a real name. Right. In all of the information I

mod_jk for Apache2

2002-07-17 Thread Billingham, Walter 475
All, I was wondering if anybody has the mod_jk or is it mod_jk2 in binary format for AIX 5.1 and Apache 2 or similar? Can anyone explain to me the difference between the 1.3.xx mod_jk and this new 2.0.xx mod_jk2? Can you still use the old mod_jk for Tomcat 4.x.x Thank You for all

Defining in which servlet method the jsp code will be converted

2002-07-17 Thread Laurent Michenaud
Hi, I'm reading the Oreilly Java Servlet Programming Guide and it speaks about a directive for jsp : %@ method = doPost % This allows to tell that the jsp code will be converted and inserted in the servlet method doPost instead of the method service. Tomcat doesnot reconize this command and i

Re: How to do stop-start fast?

2002-07-17 Thread Tim Funk
Something like this may work (just a quick hack so there may be typos) --start cut here for script #!/bin/sh ### # restart.sh # restarts tomcat # usage: restart.sh ip port #ip - The ip address (or *) #port - Which tomcat listens on shutdown # # eg:

RE: How to do stop-start fast?

2002-07-17 Thread Turner, John
Pretty cool...but wouldn't a sleep 15 work just as well? Though you wouldn't be sure tomcat was really down, I guess. #!/bin/sh shutdown.sh sleep 15 startup.sh John Turner [EMAIL PROTECTED] -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002

Re: error on startup

2002-07-17 Thread Alexandre
hi NIkolas i put this in my /etc/profile JAVA_HOME=/usr/local/j2sdk1.4.0_01 but when i try start i get this error: [root@dtiso /]# /usr/local/jakarta-tomcat-4/bin/catalina.sh start The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this

RE: Running SSL on IIS/Tomcat 3.3.1

2002-07-17 Thread Jose Aguilera
Christopher, Thanks for your response. Can you please elaborate or direct me to a link where I could get more details on the setting up IIS as the SSL host while running the application through Tomcat. I already installed the certificate in the keystore using keytool. Jose. -Original

RE: Moving from 4.0.1 to 4.0.4 breaks log4j?

2002-07-17 Thread Shapira, Yoav
Howdy, I just forgot to update web.xml for my new tomcat installation to point to a different log file. It was writing to the old log directory. So nothing is wrong with tomcat itself, just my misconfiguration. Thanks for your help though ;) Yoav Shapira Millennium ChemInformatics

How do I determine the error code

2002-07-17 Thread Mark O'Driscoll
Using the error-pageerror-code directive in my web.xml, I am redirecting errors exceptions to one error page. I know I can query the exception but how do I query the error that may have caused the page to be invoked. e.g. if I call response.sendError(234), how do I tell in CheckError.jsp that

Re: error on startup

2002-07-17 Thread Nikolas A. Rathert
Hi, try this: export JAVA_HOME=/usr/local/j2sdk1.4.0_01 export PATH=${PATH}:${JAVA_HOME}/bin This should set JAVA_HOME and add it to the systems $PATH. Cheers, Nick Alexandre wrote: hi NIkolas i put this in my /etc/profile JAVA_HOME=/usr/local/j2sdk1.4.0_01 but when i try start i get this

Antwort: 4.1.7b admin application

2002-07-17 Thread Joern . Karthaus
Martin Grebac [EMAIL PROTECTED] am 17.07.2002 15:13:40 Bitte antworten an Tomcat Users List [EMAIL PROTECTED] An: [EMAIL PROTECTED] Kopie: Thema:4.1.7b admin application Hi, I just installed the 4.1.7b, and was keen to see the admin application. Everything except admin app works

HELP! - Modifying Catalina.bat for RMI

2002-07-17 Thread James Milks
Hi all, I searched the archives on this one, but couldn't find any answers, sorry if it is basic. I rebuilt my laptop and decided to upgrade from TOMCAT 3 to TOMCAT 4 (on Win2k pro with JDK 1.4). I managed to get everything working except RMI. I suspect that I simply need to add a configuration

Re: Antwort: 4.1.7b admin application

2002-07-17 Thread Martin Grebac
Yes, thanks, I already found the problem when I ran the .exe installer (previously I didn't). The installer creates admin user and assigns the 'admin' and 'manager' roles to him. Martin [EMAIL PROTECTED] wrote: Martin Grebac [EMAIL PROTECTED] am 17.07.2002 15:13:40 Bitte antworten an

Re: How do I determine the error code

2002-07-17 Thread Tim Funk
Section 9.8 of Java Servlet Specification Version 2.3: A web application may specify that when errors occur, other resources in the application are used. These resources are specified in the deployment descriptor. If the location of the error handler is a servlet or a JSP, the following

tomcat HTTP/1.1 Connector performance

2002-07-17 Thread David Butterworth
Hi, I am currently running tomcat 4.0.4 with sun jdk 1.4 and linux 2.4. java options: -server -Xms64m -Xmx512m I am currently running the org.apache.catalina.connector.http.HttpConnector with maxProcessors=400. I am looking to scale up my maxProcessors as it seems I have reached this limit

RE: tomcat HTTP/1.1 Connector performance

2002-07-17 Thread Shapira, Yoav
Howdy, Have your tried Coyote? Yoav Shapira Millennium ChemInformatics -Original Message- From: David Butterworth [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 10:27 AM To: 'Tomcat Users List' Subject: tomcat HTTP/1.1 Connector performance Hi, I am currently running tomcat

Re: Tomcat 4.1.7 Beta / jsp:include

2002-07-17 Thread Brian P. Millett
On Tue, 2002-07-16 at 10:56, James, Stuart wrote: I have a problem that has materialised after we upgraded our development web server to tomcat 4.1.7. the jsp:include tag is ignored no errors are generated and the page is simply not loaded/included. (works fine in version 4.0.x)

Re: tomcat HTTP/1.1 Connector performance

2002-07-17 Thread David Butterworth
Hi Yoav No I haven't. I gather coyote is more efficient than the standard connector. Will I be able to scale coyote to 1000 + connectors ? Thanks David Butterworth On Wed, 17 Jul 2002 14:27, Shapira, Yoav wrote: Howdy, Have your tried Coyote? Yoav Shapira Millennium ChemInformatics

Hide download file

2002-07-17 Thread Lars Nielsen Lind
Hi. We are using an Upload component to upload files to the server. The files are placed in /fileserver/files - a directory outside of webapps. Anyone that have example files on how to retrive the files (download) via JavaBean/JSP from a directory outside of webapps? Best regards, Lars

Newbie question

2002-07-17 Thread Eldridge, Michael
I am new to Tomcat and new to JDK. So please be gentle with me ... I installed JDK 1.3.1 on an NT server. I then installed Tomcat on the same server. Following the information in the document tomcat-ug.html, I set JAVA_HOME=c:/jdk1.3.1 set PATH=%JAVA_HOME%\BIN;%path% Then, through a DOS

Re: error on startup

2002-07-17 Thread Alexandre
hi Nikolas don`t way ... this is my profile: # The profile that all logins get before using their own .profile. PS1=[\u@\h \w]\\$ HISTFILESIZE=1

Re: HELP! - Modifying Catalina.bat for RMI

2002-07-17 Thread Simon Oldeboershuis
Hi James, I am using tomcat together with JOnAS EJB-Server, therefore I needed RMI as well. I changed one line to set the correct JNDI properties: set JAVA_OPTS=-Djava.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContextFactory -Djava.naming.provider.url=rmi://localhost:1099

RE: Newbie question

2002-07-17 Thread Turner, John
You might also need to set CATALINA_HOME to the directory where you installed tomcat. Try the examples URL: http://localhost:8080/examples or http://localhost:8080/examples/ There should be logs in CATALINA_HOME/logs. John Turner [EMAIL PROTECTED] -Original Message- From: Eldridge,

Re: Tomcat 4.1.7 Beta / jsp:include

2002-07-17 Thread Henner Zeller
Hi, I have a problem that has materialised after we upgraded our development web server to tomcat 4.1.7. the jsp:include tag is ignored no errors are generated and the page is simply not loaded/included. I had a similar problem when upgrading to jasper2 (which is the JSP compiler

Re: Failed JDBC connection hangs Tomcat

2002-07-17 Thread Christopher Mark Balz
Here is some sample init() method code that I use to test the db connection on context startup: try { /*- * The driver objects register themselves with the driver manager * at the time of loading,

Re: How do I determine the error code

2002-07-17 Thread Mark O'Driscoll
Great. Just what I wanted! Now is there anyway to specify a single error-pageerror-code set that works for all error codes. I can't just say error-pagelocation/error.jsp/location/error-page and hope that error.jsp gets caled for all error-code exception errors - Original Message -

Re: Running SSL on IIS/Tomcat 3.3.1

2002-07-17 Thread Christopher Mark Balz
Unfortunately, I don't know what the details would be for IIS. I would guess that it would not be easy to find info on integrating IIS with Tomcat as IIS is a Microsoft solution. You may be able to get some clues as to how to do this from the doc on integrating Apache with Tomcat. Have you

Re: client authorization.

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Anthony Geoghegan wrote: Date: Wed, 17 Jul 2002 11:18:33 +0100 From: Anthony Geoghegan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: client authorization. Is it possible to use client certificate

RE: Running SSL on IIS/Tomcat 3.3.1

2002-07-17 Thread Turner, John
IIS/Tomcat HOWTO http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm John Turner [EMAIL PROTECTED] -Original Message- From: Christopher Mark Balz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 10:57 AM To: Tomcat Users List Subject: Re: Running SSL on IIS/Tomcat 3.3.1

JDBCStore

2002-07-17 Thread The Kelley's
Does any of you use JDBCStore for session tracking Tim -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: 4.1.7b admin application

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Martin Grebac wrote: Date: Wed, 17 Jul 2002 15:13:40 +0200 From: Martin Grebac [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: 4.1.7b admin application Hi, I just installed the 4.1.7b, and was

Re: How do I determine the error code

2002-07-17 Thread Tim Funk
I believe you can say: error-page exception-typejava.lang.Throwable/exception-type location/error.jsp/location /error-page This would take care of any exceptions being thrown. As for error codes - you might need to hard code these (but it isn't very many). There could be a chance that

RE: client authorization.

2002-07-17 Thread Tathagat (London)
They only describe how to get a certificate on server side. I mean server can show a certificate to client, but it does not say how do the client sends a certificate to the server. I think we need to find this thing out., -Original Message- From: Craig R. McClanahan [mailto:[EMAIL

tomcat 4.0.2 iPlanet Web Server 4.1 sp9

2002-07-17 Thread Thierry Boucheny
Hello, I t seems like I am not the only one with this problem but I did not find any solution. I try to get iPlanet WebServer 4.1 and Tomcat 4.0.2 connected throught nsapi_redirector.so. Those applications runs on Red Hat Linux 7.2 on the same machine. I have compiled a new

Tomcat 4.0.x and JAXB

2002-07-17 Thread Shane_Ruman
Hi, I am trying to use JAXB 1.0 early-access with Tomcat 4.0.x Has anyone got this to work? My trouble began with a strange ClassNotFound exception on a class that was clearly there (javax.xml.bind.MarshallableRootElement) -- I could load other classes in the same jar but not that one. From

Tomcat and Session And jsp include

2002-07-17 Thread Ashish Kulkarni
Hi, I am developing an web application using tomcat4.0.4 and apache 2.0.39 on win2000 I want the user the login on the first page, so once the user logs in i create a session for the user, now in other jsp in applciation i have a header.jsp this jsp checks if the session is active or experied,

RE: Newbie question

2002-07-17 Thread Eldridge, Michael
Thank you John, I have no examples folder, and as far as I can tell, I have no Catalina_home/logs. Now I'm wondering if I downloaded the wrong file, or missed another download I needed. The file I downloaded was jakarta-tomcat-3.3.1.zip. Did I miss something as basic as an entire archive.

RE: tomcat+jdbc

2002-07-17 Thread Mario Henley Becerril Geldis
Quote: root cause java.lang.NullPointerException at IEEMBeans.DBABean.createStatement(DBABean.java:71) IEEMBeans.DBABean is yours, no? yes, ...and this exist under ../example/WEB-INF/classes/IEEMBeans/ , the named is DBABean.. why..??? -- To unsubscribe, e-mail:

Re: tomcat 4.0.2 iPlanet Web Server 4.1 sp9

2002-07-17 Thread Cunningham Emmett
I have been doing a lot of work with Tomcat 3.x and the Nsapi redirector. Yes, it works. Your problem is probably one of configuration in obj.conf. It is VERY sensitive to ordering. In the default object you need to define ALL of the items being redirected prior to the default Ns handler.

RE: Newbie question

2002-07-17 Thread Turner, John
Hmmm...I didn't realize we were talking about 3.3.x. It's been awhile since I had to setup a tomcat 3.x instance, I'm not even sure it looks for CATALINA_HOME. Is there a reason you chose 3.x over 4? I'm not advocating one or the other, but most of the traffic on this list seems to deal with

RE: tomcat+jdbc

2002-07-17 Thread Turner, John
I simply meant that NullPointerException in your bean is something only you can diagnose...the rest of us have no idea what your bean is doing. I don't think its a tomcat issue at all, though I could be wrong. John Turner [EMAIL PROTECTED] -Original Message- From: Mario Henley

RE: Newbie question

2002-07-17 Thread Eldridge, Michael
John, One of the advantages to being at square one is that starting over is no big thing. I'll delete version three and try version 4. Thanks again for your help. Michael -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 10:26 AM To:

RE: Tomcat 4.1.7 Beta / jsp:include

2002-07-17 Thread James, Stuart
Zeller, thanks for the response. I will wait for the next release and hope its fixed, although for your information changing the relative path to a fully qualified path still fails. only including a file/jsp from the same directory works. A workaround has been to use %@include % , although

Please read

2002-07-17 Thread The Kelley's
I have posted to this group three times with no response. Can anyone see this message. Please thanks Tim -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Please read

2002-07-17 Thread Jolet, John
yes, we can. -Original Message- From: The Kelley's [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 10:56 AM To: [EMAIL PROTECTED] Subject: Please read I have posted to this group three times with no response. Can anyone see this message. Please thanks Tim -- To

twice....

2002-07-17 Thread James, Stuart
anyone now why my messages appear in the list twice? ( apologies if its only me ). ___ Email Disclaimer This communication may contain confidential or privileged information and is for the attention of the named recipient only. It should not

Please recommend book or Other Help

2002-07-17 Thread The Kelley's
I'm having problems with JDBCRealms and JDBCStore in Tomcat. They seem buggy to me. Any expert help would be great. I good book would be even better. I already have James Goodwill's Apache Jakarta Tomcat book Thanks Tim -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Please recommend book or Other Help

2002-07-17 Thread James Milks
Sorry I can't offer help, but I am also looking for a good book. What is your opinion on James Goodwill's Apache Jakarta Tomcat? Does it discuss RMI at all? James -Original Message- From: The Kelley's [mailto:[EMAIL PROTECTED]] Sent: July 17, 2002 12:01 PM To: [EMAIL PROTECTED]

What to do to http.conf and/or server.xml

2002-07-17 Thread Koes, Derrick
I believe I have tomcat 4.0.4 and apache 2.0.39 working well together with mod_jk (ajp13 connector). I've put documentation files (static content) in my webapp that I'd like apache to serve. I can't seem to make this work. For example, my webapp is in example.war which gets expanded in the

Re: twice....

2002-07-17 Thread Eddie Bush
It happens to me all the time :-/ I'm not sure what it is. Since I have also seen this behavior exhibited from non-mailing-list mail (thought much less frequently), I tend to blame my provider. James, Stuart wrote: anyone now why my messages appear in the list twice? ( apologies if its

No suitable driver

2002-07-17 Thread Meichun Li
Hi, I am suing Oreilly books wrapper class for connection pool. It works fine in the servlet class while I created a datasource using ds = new DataSourceWrapper(jdbcDriverClassName, jdbcURL, dbUserName, dbUserPassword); But it doesn't work in the javabean class using the same code: ds = new

RE: Please recommend book or Other Help

2002-07-17 Thread The Kelley's
I just gave it three stars at amazon. I didn't see anything on RMI. It's basically on how to set up Tomcat and uses some of 4.0's features. Tomcat valves , filters, log4j and etc. It's not very detailed. The JDBCStore is a great idea but I'm almost convinced it's buggy. I'm new so that makes

AW: tomcat+jdbc

2002-07-17 Thread Ralph Einfeldt
Some variable that you use on line 71 in DBABean.java is null. -Ursprüngliche Nachricht- Von: Mario Henley Becerril Geldis [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 17. Juli 2002 03:41 An: [EMAIL PROTECTED] Betreff: tomcat+jdbc java.lang.NullPointerException at

Cobalt Raq 4/Tomcat 3.3.1

2002-07-17 Thread Simon Jenkinson
Hi, I am having a strange problem with a Cobalt Raq 4/Tomcat 3.3.1 installation. Every now and again i get problems with network connections being dropped. The Raq is also running another thrid party app which listens socket 15001. This third party app connects to an external web server, and

RE: No suitable driver

2002-07-17 Thread The Kelley's
I had a problem somewhat simular to that. Make sure you have access to the driver in the bean class. Maybe a required library or something. Tim -Original Message- From: Meichun Li [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 12:01 PM To: Tomcat Users List Subject: No

RE: client authorization.

2002-07-17 Thread Craig R. McClanahan
On Wed, 17 Jul 2002, Tathagat (London) wrote: Date: Wed, 17 Jul 2002 16:03:30 +0100 From: Tathagat (London) [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: client authorization. They only describe how to get a

RE: No suitable driver

2002-07-17 Thread Simon Jenkinson
have you tried: Class.forName(org.gjt.mm.mysql.Driver).newInstance(); Si -Original Message- From: The Kelley's [mailto:[EMAIL PROTECTED]] Sent: 17 July 2002 17:17 To: Tomcat Users List Subject: RE: No suitable driver I had a problem somewhat simular to that. Make sure you have

Caching

2002-07-17 Thread Max Z.
I have both tomcat 3 and tomcat 4 installed. I have an application running with a few jsp files. I am trying to make sure the browser does not cache the pages. So I use the following code: response.setHeader(Cache-Control,no-cache); response.setHeader(Pragma,no-cache);

web.xml DTD and welcome files

2002-07-17 Thread Turner, John
Hi - I just tried adding a welcome-file element to my web.xml, but I am getting an error message from the IDE (I am using Sun's Forte) that says element web-app does not allow welcome-file-list here. The DTD I have is http://java.sun.com/dtd/web-app_2_3.dtd It definitely does allow

Re: client authorization.

2002-07-17 Thread Anthony Geoghegan
What if the client isn't a browser but a Microsoft ASP based HTTPXML call? Best Regards, Anthony Geoghegan. J2EE Developer CPS Ireland Ltd. - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 17, 2002 5:09 PM

RE: web.xml DTD and welcome files

2002-07-17 Thread Keith Wannamaker
The elements are order-dependent. Be sure you have w-f-l in the order specified in the dtd. Keith | -Original Message- | From: Turner, John [mailto:[EMAIL PROTECTED]] | Sent: Wednesday, July 17, 2002 11:11 AM | To: '[EMAIL PROTECTED]' | Subject: web.xml DTD and welcome files | | | |

Re: web.xml DTD and welcome files

2002-07-17 Thread Eddie Bush
Forte will edit that for you. Are you having problems with the entry generated by Forte? My suggestion would be to remove the welcome-file-list section (assuming you put it there by hand) and then use Forte to re-enter it. How do I do that?, you may ask. Well, it's quite simple :-) Click

RE: No suitable driver

2002-07-17 Thread Meichun Li
On Wed, 17 Jul 2002, The Kelley's wrote: I had a problem somewhat simular to that. Make sure you have access to the driver in the bean class. Maybe a required library or something. Tim Thanks for the reply. Could you explain more detail about the access to the driver? In my bean class,

Re: Please recommend book or Other Help

2002-07-17 Thread Eddie Bush
What is your problem with the JDBCRealm? I have that going fine. One thing to note, you probably don't want to append your username/password to the url. Instead, use connectionName and connectionPassword to specify them. That was the only real issue I faced in getting it to work. Regards,

Documentation on the ROOT servlet

2002-07-17 Thread William Lee
I would like to find out more about how the ROOT servlet work. In particular, I would like to redirect the request from the ROOT to a certain servlet that I have installed in tomcat. I've tried to map the / context to a custom servlet that I have written but that doesn't seem to work. The

RE: web.xml DTD and welcome files

2002-07-17 Thread Turner, John
Ah. That was it. Many thanks! I'm still getting used to Forte, I was using JDeveloper but the JDeveloper internals don't support 2.3 of the servlet spec. Thanks again. John Turner [EMAIL PROTECTED] -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

  1   2   3   >