Re: Objects in Vector are loosing type

2001-05-01 Thread Endre Stølsvik
On Mon, 30 Apr 2001, Joel Parramore wrote: | | Can or has or will someone work up a slightly more technical explanation | than | | > It's because tomcat's reloading are totally fucked. Well, Joel, it's because tomcat3x doesn't do this: a) stop the webapp b) destroys all servlets c) serializes a

RE: [ERROR] OutputStream is already being used for this request

2001-05-01 Thread Matthew O'Haire
I agree, it's much safer to do this in a servlet. If someone accidentially adds whitespace to your JSP it can break! I have an example of this (using Struts) if it helps... -Original Message- From: CPC Livelink Admin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 May 2001 15:36 To: [EMA

RE: [ERROR] OutputStream is already being used for this request

2001-05-01 Thread Mark Howell
Yeah, you will have to also make sure to set the content-type to image/GIF in your <%@ page ...%> tag (I forget exact syntax right now). Otherwise, there will be a problem when content-type headers are sent twice: once from the JSP page, and then again from the servlet. -Mark [EMAIL PROTECTED]

RE: [ERROR] OutputStream is already being used for this request

2001-05-01 Thread CPC Livelink Admin
Why do you need to use a JSP - The JSP is designed to product HTML output, and as such will always grab the writer and set the content type to text/html. What is wrong with just using the servlet, perhaps with an extention mapping . . . -Original Message- From: Tali Ambar [mailto:[EMAIL

Re: GZIP, JSP and servlet

2001-05-01 Thread John Clark L. Naldoza
Cécile QUERAN wrote: > > Is there a way to gzip the output of a JSP ? > > Based on the HTTP Accept-Encoding header field, I open a GZIPOutputStream if > supported by the client browser, and I send the response.getOutputStream in > it. This is within a servlet. > > When I just write directly in

FW: [ERROR] OutputStream is already being used for this request

2001-05-01 Thread Tali Ambar
> Hi > > 1. I'm trying to pass a stream to an html in order to see GIF files in a > stream form on the browser. > > 2. I wrote (in a servlet) the following lines > > IStream stream = ...; // stream of a file in a GIF format > > response.setContentType ("image/GIF"); > ServletOutputStream ou

Re: FW: [ERROR] OutputStream is already being used for this request

2001-05-01 Thread Mark Howell
You might need to make sure that no output is being sent to the browser prior to your attempting to open the outputStream. ANY spaces before the pageContext.forward(..) or .include(..) call may be sent to the browser and will create a JspWriter output stream that will conflict with your getOutput

Re: FW: [ERROR] OutputStream is already being used for this request

2001-05-01 Thread John Clark L. Naldoza
Hi, How did you go about this? did you use the include() or forward() method? It seems to me that a much simpler procedure would work for you...;-) 1. write the data as a temporary file in a location, using the session id as the filename and data type as the extension...;-) 2. use the imag

GZIP, JSP and servlet

2001-05-01 Thread Cécile QUERAN
Is there a way to gzip the output of a JSP ? Based on the HTTP Accept-Encoding header field, I open a GZIPOutputStream if supported by the client browser, and I send the response.getOutputStream in it. This is within a servlet. When I just write directly in the GZIPOutputStream, it works fine.

Re: [ERROR] OutputStream is already being used for this request

2001-05-01 Thread Cécile QUERAN
That is probably the same kind of problem as the one I mentioned yesterday ("GZIPOutputStream, JSP, servlets") : Your " response.setContentType ("image/GIF");ServletOutputStream outStream = response.getOutputStream();" sets "useStream" to true in the HttpResponseAdapter class. When your JSP is c

Re: session timeout

2001-05-01 Thread John Clark L. Naldoza
Boris Niyazov wrote: > > you probably can find in your web.xml: > > > > 30 > > > > units seconds > hth > * > * Boris NiyazovPh: 212-854-4094 Fax: 212-854-1749 * > * Systems Manager

Re: session timeout

2001-05-01 Thread Boris Niyazov
you probably can find in your web.xml: 30 units seconds hth * * Boris NiyazovPh: 212-854-4094 Fax: 212-854-1749 * * Systems Manager Email: [EMAIL PROTECTED] * * C

RE: Tomcat Boot: Help!

2001-05-01 Thread Darrell Porter
What does your script look like? Where is it? -Original Message- From: Mike Gruber [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 10:17 AM To: [EMAIL PROTECTED] Subject: Tomcat Boot: Help! I am still desperately trying to get Tomcat 3.2.1 to start up at boot time. It starts,

RE: Can I serve up JSP without a web server?

2001-05-01 Thread Jann VanOver
http://localhost:8080/examples/source.jsp "examples" is a tomcat "context" -Original Message- From: Keith Miller [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 5:30 PM To: '[EMAIL PROTECTED]' Subject: RE: Can I serve up JSP without a web server? Wow, that is cool. However I am

Re: Can I serve up JSP without a web server?

2001-05-01 Thread Dmitry Rogatkin
Open file conf\server.xml in any text editor. Search for mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 3:33 PM To: '[EMAIL PROTECTED]' Subject: Re: Newbie : Help integrating Tomcat with PWS on NT Hi Keith Here is a previous post on the subject. It seems most errors with this occur beca

RE: Can I serve up JSP without a web server?

2001-05-01 Thread Filip Hanik
$TOMCAT_HOME/bin/startup is your startup script just point your browser to http://localhost:8080/ and the example apps will take you from there Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net > -Original Message- > From: Kei

RE: Can I serve up JSP without a web server?

2001-05-01 Thread Keith Miller
Wow, that is cool. However I am so clueless as not to know how to start. What is the address I plug into my browser? In other words, if I have a page at: "c:\tomcat3.2\webapps\examples\jsp\source.jsp" How do I point my browser via port 8080? localhost:8080/.. ../source.jsp ??? As you can see

RE: Can I serve up JSP without a web server?

2001-05-01 Thread Jann VanOver
Install tomcat as directed. Use Port 8080. That's it. No web server needed. -Original Message- From: Keith Miller [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 5:03 PM To: '[EMAIL PROTECTED]' Subject: Can I serve up JSP without a web server? Will Tomcat allow this? I keep se

RE: Can I serve up JSP without a web server?

2001-05-01 Thread Filip Hanik
yes, tomcat has a web server built in, it will work standalone Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net > -Original Message- > From: Keith Miller [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 01, 2001 5:03 PM > To: '

Can I serve up JSP without a web server?

2001-05-01 Thread Keith Miller
Will Tomcat allow this? I keep seeing references to using TOmcat w/o a web server. Can someone point me to the documentation on this? -Keith -Original Message- From: Tony Armstrong [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 3:33 PM To: '[EMAIL PROTECTED]' Subject: Re: Newbie :

RE: Precompiling the JSP pages?

2001-05-01 Thread Brandon Cruz
That's what I was thinking of... Thank you very much :-) Brandon -Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 6:14 PM To: '[EMAIL PROTECTED]' Subject: RE: Precompiling the JSP pages? use jspc.(sh|bat) command it produces a java fil

RE: Precompiling the JSP pages?

2001-05-01 Thread Ignacio J. Ortega
use jspc.(sh|bat) command it produces a java file and a web.xml fragment to include in the web.xml file of your webapp..compile the java file..and your are done.. Saludos , Ignacio J. Ortega -Mensaje original- De: Curtis Spencer [mailto:[EMAIL PROTECTED]] Enviado el: martes 1 de mayo de

RE: TOMCAT and ORACLE

2001-05-01 Thread Herrick, Chuck
Title: RE: TOMCAT and ORACLE It would also help to know if you've been able to connect to your Oracle using SQL+. And, the contents of your TNSNames.ora file. -Original Message- From:   John Towell [SMTP:[EMAIL PROTECTED]] Sent:   Tuesday, May 01, 2001 2:34 PM To: '[EMAIL PROTECTE

Re: TOMCAT and ORACLE

2001-05-01 Thread Lim SiewLing
Yup, I'm using oracle thin driver.. >From: "Paul Ramos" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: TOMCAT and ORACLE >Date: Tue, 01 May 2001 12:30:17 -0700 >MIME-Version: 1.0 >X-Originating-IP: [209.63.94.7] >Received: from [64.208.42.41] by hotmail.com

Duplicate calls to Servlets (have checked archive)

2001-05-01 Thread Ivan E. Markovic
This issue was raised before and I read the replies and managed to stop duplicate calls to a Servlet called on boot-up; but when an error is generated I see two error reports! And it seems that the first call to the code has a valid context but the second call does not! Interestingly enough th

Re: TOMCAT and ORACLE

2001-05-01 Thread Steve Ruby
Are you using the JDBCRealm stuff or just using Oracle via JDBC from your servlets? If the later is true then you don't need to do anything special in web.xml or server.xml. Just make sure that your oracle jdbc driver is somewhere Tomcat will see it (in your /WEB-INF/lib or in the tomcat lib d

RE: TOMCAT and ORACLE

2001-05-01 Thread John Towell
Hi Lim It would help to see the connection string you're using ... John -Original Message- From: Lim SiewLing To: [EMAIL PROTECTED] Sent: 5/1/01 2:22 PM Subject: TOMCAT and ORACLE Hi, I'm currently engaged on a school project which uses Tomcat3.2.1, ORACLE and Java to develop an intra

Precompiling the JSP pages?

2001-05-01 Thread Curtis Spencer
How do you pre compile the jsp pages so that Tomcat will not need to compile them the first time someone tries to retrieve it in their browser?   Thanks, Curtis

Re: Help getting beans working

2001-05-01 Thread GCS
Hi Jeremy, * Uronis, Jeremy <[EMAIL PROTECTED]> [010501 21:08]: > Thanks for the reply Matt. > I placed my bean in "c:\tomcat\webapps\examples\WEB-INF\classes" > and the error i get is: Please do not resend the unnecessary lines again, it is a bit annoying, and waste of bandwith + disk space.

Re: TOMCAT and ORACLE

2001-05-01 Thread Paul Ramos
You are using jdbc:oracle:thin drivers right? From: "Lim SiewLing" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: TOMCAT and ORACLE Date: Tue, 01 May 2001 19:22:50 Get your FREE download of MSN Explorer at http://explorer.msn.com Hi, I'm currently engaged on a

RE: Newbie problem starting web server.

2001-05-01 Thread Darrell Porter
The only output to the command window that appears are java specific in nature (disconnects from the database and the like) and there is not a non-programmatic way to change this that I am aware of... Darrell -Original Message- From: Peter B. West [mailto:[EMAIL PROTECTED]] Sent: Monday

TOMCAT and ORACLE

2001-05-01 Thread Lim SiewLing
Hi, I'm currently engaged on a school project which uses Tomcat3.2.1, ORACLE and Java to develop an intranet application. My program run smoothly when retrieving data in Access database but the data could not be retrieve using ORACLE. The error message that I get is "The Network adapter could not e

RE: Help getting beans working

2001-05-01 Thread Uronis, Jeremy
Yes! Thank you so much Francis , it works now. Jeremy -Original Message- From: Francis Callo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 3:04 PM To: [EMAIL PROTECTED] Subject: RE: Help getting beans working Hi, your "bean1.class" should be in "c:\tomcat\webapps\examples\WE

RE: Help getting beans working

2001-05-01 Thread Francis Callo
Hi, your "bean1.class" should be in "c:\tomcat\webapps\examples\WEB-INF\classes\rayexamples\" folder. Hope that works Good luck ;) Francis --- "Uronis, Jeremy" <[EMAIL PROTECTED]> wrote: > Thanks for the reply Matt. > I placed my bean in > "c:\tomcat\webapps\examples\WEB-INF\classes" > and th

Re: single login form for single sign on

2001-05-01 Thread Kevin Fonner
I am new to servlets and Tomcat and I was looking at how to authenticate users with my webapps. Is this JDBCRealm the best way to do this or is there a better way anybody suggest. If so where can I get info and samples on this. Thanks in advance, Kevin - Original Message - From: "Craig

RE: Help getting beans working

2001-05-01 Thread Uronis, Jeremy
Thanks for the reply Matt. I placed my bean in "c:\tomcat\webapps\examples\WEB-INF\classes" and the error i get is: Error: 500 Location: /examples/jsp/test/bean1.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to load class rayexamples.bean1 at org.apache.jasper.com

Re: Help getting beans working

2001-05-01 Thread Matt Goss
Try putting your beans in WEB-INF/classes folder instead. :) Matt "Uronis, Jeremy" wrote: > > hiya- > > i have a simple jsp which includes a bean. the file "bean1.jsp" is > located in "C:\tomcat\webapps\examples\jsp\test\bean1.jsp" > i did this following the faq on beans and jsp's. > >"To

Preventing Tomcat shutDown by ordinary users

2001-05-01 Thread Theodore Andreadis
*** In Linux: I run experimentally Tomcat my pc, under redHat7. I start Tomcat in rc5.d (only) with the script command: start() { daemon `cat /opt/tomcat/bin/start.txt`& where start.txt contains the line: java -cp /opt/tomcat/lib/ -Dtomcat.home=/opt/tomcat/ -Djava.home=/opt/j

URL rewriting ignored for "/whatever" context path; broken for "/" context path

2001-05-01 Thread Boopathi Subramanian
Hi Bill & others, I'm also stuck with the exact same situation. Do you have a solution or any work around for this? Thanks, Boopathi

How do I start TomCat on a NetWare box

2001-05-01 Thread Magnus Jansson
I have tried to modify the scripts that follows but with no success. I have searched apache.org with no success, I know it works on NetWare but I cant find any information Please help me or I'm going to search for another jsp "engine"

Tomcat authentication fails through apache

2001-05-01 Thread Michael Bogecho
Hi,  I am new to Tomcat.  I installed Tmocat for windows 3.2.1, as well as apache 1.3.9.  I followed the simple steps for setting up an Apache->Tomcat link.  When accessing the http://localhost/ address I get the default apache webpage, when I access the directory eg. http://localhost/exampl

Tomcat Boot: Help!

2001-05-01 Thread Mike Gruber
I am still desperately trying to get Tomcat 3.2.1 to start up at boot time. It starts, but then dies before the login. Running the exact same init script from the command line works no problem, so I am completely at a loss as to the cause of the problem. I am so desperate, I am even willing to c

Startup script doesn't work on reboot

2001-05-01 Thread Dave Simms
Hi All, I used both a script I created, and one I found when I searched through this mailing list (Neil's Aggarwal's script, 2/15/01). Both scripts worked fine when ran while our computer was on (running RedHat 7.0, tomcat 3.1). But when I reboot the machine, tomcat doesn't start (although

Context Logging with TC4b3

2001-05-01 Thread Anthony W . Marino
I would expect that the following context settings, within server.xml, would give me log specific (ie; localhost_xyz_log) entries when servlets running in that particular context (/xyz) are run, but it doesn't: It seemed to work fine with TC4b1.

still having problems

2001-05-01 Thread Steven Parks
I am still, apparently, having problems with my servlet.   I am invoking a servlet using a meta-data file with a specific extension.  I wish to pass content to be processsed against the meta-data, in the form of a XML-string. I am able to open an output-stream from my JSP to my connected UR

JDBC 2.0 connection pooling?

2001-05-01 Thread Dave Weis
Has anyone set up the connection pooling using tomcat 3.2.2? I would like to stick with the Sun JDBC stuff if possible. Thanks dave -- Dave Weis businessolver, Inc. [EMAIL PROTECTED] http://www.businessolver.com/

Tomcat and J2EE security

2001-05-01 Thread Jerome Jacobsen
I'm new to J2EE security, both servlet and EJB. From what little reading I've done it sounds like declarative security should be seamless between the servlet container and the EJB container (and that no programming should be necessary for declarative security). Here's an excerpt from a recent ar

JSP: Exception inside create-bean is not handled correctly

2001-05-01 Thread Peter Mutsaers
Using Tomcat 3.2: when an exception is raised in the constructor of a bean () the Exception is transformed by the JSP/Serlvet engine into a ServletException. What is lacking is that the RootCause is not set (constructor public ServletException(java.lang.Throwable rootCause) should be used). P

RE: Turn off JSP file date checking

2001-05-01 Thread Christian Hargraves
It seems that setting reloadable=false, only turns off dynamic loading for servlets, but not for JSP's. Maybe I'm wrong here, but once the JSP is compiled, shouldn't it be just as fast as a servlet? I turned off reloadable, and speed up a bit, but the JSP pages where still 1/2 the speed of a servl

Re: launching java beans at startup

2001-05-01 Thread Matt Dilley
sorry - typo here - or tomcat = "of tomcat" - Original Message - From: "Matt Dilley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 01, 2001 1:28 PM Subject: launching java beans at startup > hi > does anyone know how to make a javabean run at startup or tomcat. I've seen

launching java beans at startup

2001-05-01 Thread Matt Dilley
hi does anyone know how to make a javabean run at startup or tomcat. I've seen the notes on running a a javaservlet at startup, but doesn't seem to work for beans. regards Matt

RE: Apache and Tomcat integration

2001-05-01 Thread Craig O'Brien
You really need to build your own mod_jk for it to work. It will be different with nearly every system configuration. I use Mandrake 7.2 as well and the binary from Jakarta-Apache does not work with this system. Our friend Adam Fowler has built one for Mandrake 7.2 which works and you can get i

Apache and Tomcat integration

2001-05-01 Thread Tarwinder Dhak
Hi all, I'm trying to get apache and Tomcat 3.2.1 to talk to each other using mod_jk.so (downloaded from the internet, not compiled) with the ajp13 protocol (on Mandrake 7.2). I've got Tomcat running as a stand alone web server executing servlets and jsp files. I've also got Apache loading the

problem with tomcat 3.3m2 in HttpServletRequestFacade

2001-05-01 Thread matthew denner
Dear all, i've been using the apache SOAP distribution alongside tomcat 3.3 milestone 2 and believe i have found a problem within tomcat. after making several requests (3 actually) the 4th request fails and the SOAP code sits waiting to read the request even though the SOAP client has sent the d

running servlets on IIS

2001-05-01 Thread Robin Imrie
Hi, I am running tomcat 3.2 and IIS4 on NT Server 4. I am using IIS to deliver asp pages and want to use tomcat to run my servlets. I have set-up tomcat to run in process. My first servlet is used to process a form using the Post method, when I press the submit button I get the following error b

RE: Using mod_jk.so under OpenBSD

2001-05-01 Thread Laurence Mayer
  Wow...I am trying to compile in on Redhat 7.0 and keep on coming uo with errors. Would you mind telling me how you got it to compile (I have checked the documentation and still cannot get it working)   Thanks Laurence -Original Message-From: Onaras AG, S. Klein [mailto:[EMAIL

Using mod_jk.so under OpenBSD

2001-05-01 Thread Onaras AG, S. Klein
Hi,   I am trying to use tomcat 3.2.1 with apache 1.3.12 under OpenBSD 2.8. Compiling mod_jk works fine, however when I try to start apache i get the following error:   /usr/libexec/ld.so: Undefined symbol "_map_alloc" called from httpd:/var/www/libexec/mod_jk.so at 0x402170a4   can anybody h

AW: tomcat.policy Problem

2001-05-01 Thread Daniel Strobl
I tracked the problem down to the codeBase part of a grant Entry. If I add a grant without a codeBase it works fine. Do you now how to avoid the problem because I really need the codeBase entry because we have different grants for different users ( /home/user1, /home/user2 etc) Thanks for your he