RE: Tomcat losing session

2003-01-14 Thread Ralph Einfeldt
Typically this happens when the session with ID x is invalidated, then each request with the same sessionid will create a new session. One typical scenario for that is a framed site, where there is one navigation frame and (at least) one content frame. If the user has diabled cookies all links

org.xml.sax.SAXParseException

2003-01-14 Thread David Durst
I am getting a Exception printed out to catalina.out. org.xml.sax.SAXParseException it is complaining about the format of my web.xml from what I can gather, but I see nothing wrong. So here it is postgreSQL Datasource example jdbc/larco javax.sql.DataSource Container

tomcat in production mode

2003-01-14 Thread Manavendra Gupta
Hi, What are the steps/precautions that should be taken to run tomcat 4.1.x in production on windows (apart from running it as a service, and turning auto-compilation of JSP pages off)? Is there a checklist of standard practices out there? Regards, Manav. -- To unsubscribe, e-mail:

RE: Why included pages fills with '????????' ?

2003-01-14 Thread Prashanth Gane
try to use encoding iso-8859-1 inside u r jsp pages.. ;-)prash -Original Message- From: Veniamin Fichin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 12:51 PM To: Tomcat Users List Subject: Re: Why included pages fills with '' ? Andrew Guts wrote: > When I inclu

Re: Why included pages fills with '????????' ?

2003-01-14 Thread Veniamin Fichin
Andrew Guts wrote: > When I include templates using <%@ include %> i see a lot of '?' > instead of text. When using all seems as expected. > Why so? Maybe you should use <%@ page pageEncoding="..." %> ? -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Start tomcat before apache on RedHat7.3

2003-01-14 Thread Bill Lunnon
-Original Message- From: news [mailto:[EMAIL PROTECTED]]On Behalf Of Arcadius A. Sent: Wednesday, 15 January 2003 1:13 AM To: [EMAIL PROTECTED] Subject: Re: Start tomcat before apache on RedHat7.3 "Turner, John" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTEC

RE: WARP (Apache<->Tomcat)

2003-01-14 Thread neal
For anyone interested I just confirmed via a book I bought from Borders that WARP does not support Load balancing. So, for the archives ... WARP (Via the WebApp module) does not support: 1. Load balancing 2. Apache 2.0 (at least with Windows) And contrary to the Apache's own WebApp module site,

RE: Another port 80 problem

2003-01-14 Thread Noel J. Bergman
> I have apache running on port 80 with no problem. Tomcat running on port > 8080 with no problem. I also have apache serving the static content from > webapps/examples directory just fine. > Anyway, when I try and access a JSP on port 80 I get a '500 Internal > Server Error'. Apache doesn't seem

Another port 80 problem

2003-01-14 Thread Kevin Kovach
Hello, I've read through several of the threads concerning getting Apache to hand off calls for JSPs/Servlets to Tomcat on port 80 and I'm still having a problem. :-/ My setup is as follows: Linux 2.4.18 Apache 2.0.43 JDK 1.4.1_01 Tomcat 4.1.18 LE mod_jk-2.0.42 I have apache running on port 80

RE: jsp versus xml syntax

2003-01-14 Thread Craig R. McClanahan
On Tue, 14 Jan 2003, Tolles, James wrote: > Date: Tue, 14 Jan 2003 18:37:46 -0800 > From: "Tolles, James" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: jsp versus xml syntax > > I've just completed a long grueli

Tomcat LE

2003-01-14 Thread Steve Vanspall
Hi there, I have noticed that there is a Tomcat LE for JDK 1.4 What is the difference between that and the standard Tomcat. I have been having a logging problem where Tomcat throws a org.apache.commons.logging.impl.Jdk14Logger does not implement log exception. Will this tomcat help? Are ther

RE: WARP (Apache<->Tomcat)

2003-01-14 Thread neal
Well, I re-installed an older version of Apache (1.3.27) and WARP via mod_webApp seems to work fine nowand that was on Windows! So, I guess the compatability issue was with Apache 2.0. Hmm. That sucks. By the way, it was mentioned on this thread that mod_jk supports load balancing. Is that

RE: saving and opening files

2003-01-14 Thread Denise Mangano
This is a really dumb suggestion, but I thought I would throw it out there. Is it possible that for some reason this file is 'hidden' and your folder options are not set to view hidden files?? I tried something similar on my machine, and the file was not hidden, but its a stab in the dark so I fig

Re: jsp versus xml syntax

2003-01-14 Thread Kris Schneider
Personally, I'm not convinced, but we all have our preferences. See inline comments on a couple of the technical issues. Tolles, James wrote: I've just completed a long grueling year of jsp projects ( 3 total ), and frankly, I'm fed up with tags. I love struts - the action dispatcher, and the tem

RE: WebMail 0.7.10 - immediate exception

2003-01-14 Thread Nicole Hibbard
I'm still a beginner...but, I think that you need a standard version of tomcat instead of the LE in order to use WebMail. -Original Message- From: crussell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 2:01 PM To: [EMAIL PROTECTED] Subject: WebMail 0.7.10 - immediate exception

Tomcat Session Question

2003-01-14 Thread Lee Peik Feng
Hi, Is it possible to set the session expiration to infinite? So that Tomcat session will never die. -- To unsubscribe, e-mail: For additional commands, e-mail:

Problem with tomcat logging

2003-01-14 Thread Steve Vanspall
Hi there, I have a problem with Tomcat 4.1.18 basically I am getting the following message org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Jdk14

RE: jsp versus xml syntax

2003-01-14 Thread Tolles, James
I've just completed a long grueling year of jsp projects ( 3 total ), and frankly, I'm fed up with tags. I love struts - the action dispatcher, and the templates; but you can throw the custom tag libraries in the dumpster. As it is now, if I have to go to some code to do maintenance, I'm reliev

WebMail 0.7.10 - immediate exception

2003-01-14 Thread crussell
Hello, On a Solaris 8 host running: jakarta-tomcat-4.1.12-LE-jdk14 with java1.4 installed, the jakarta 'jsp' samples work. But going to http://localhost:8080/webmail/WebMail fails with the error below. WebMail is version: 0.7.10 and located at /opt/tomcat/jakarta-tomcat-4.1.12-LE-

Re: jsp versus xml syntax

2003-01-14 Thread Peter Harrison
On Wed, 15 Jan 2003 10:45, Erik Price wrote: > But in that JSP, there is a conditional test to determine whether or not > certain links should be displayed. Namely, administrative functions > should not be displayed to users who don't have administrative access. > The way I have it right now is a

Re: servlet with Tomcat

2003-01-14 Thread Peter Harrison
On Wed, 15 Jan 2003 09:57, Steve R Burrus wrote: > Nicole, that's really fine and good that you bothered to send me a web > page that purportedly offers me some free advice on how the hell I go about > seeing/viewing a compiled servlet, BUT I really thought that you could, if > you would please, d

Re: WARP (Apache<->Tomcat)

2003-01-14 Thread Peter Harrison
On Wed, 15 Jan 2003 10:58, enLogica wrote: > I am attempting to setup Tomcat 4.1 with Apache 2.0.4. Per the > instructions in my book I am suppose to download the "Web Application > Module" for Apache in order to allow these two to talk, but it is not > listed on > http://modules.apache.org/search

Jasper error

2003-01-14 Thread Peng Tuck Kwok
Has anyone encountered an error like this? org.apache.jasper.JasperException: connect: Address is invalid on local machine, or port is not valid on remote machine at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248) at org.apache.jasper.servlet.JspServlet.serviceJ

Realms

2003-01-14 Thread Nathan McMinn
I have JDBC realms configured connecting to an ODBC database. This works in most cases. However, many times, the server rejects the first login attempt with the following exception. Has anyone seen this before? 2003-01-13 07:38:44 JDBCRealm[Standalone]: Exception performing authentication java.

Re: Name jdbc:comp is not bound in this context

2003-01-14 Thread Peng Tuck Kwok
I think the LE version just omits the xml parsers and just uses the one that the jdk 1.4 has. There is no mention of omitting key features like that in the LE versions. Can someone else comment? Nicole Hibbard wrote: I was using the LE version and needed to use the standard which supports JNDI r

RE: Name jdbc:comp is not bound in this context

2003-01-14 Thread Nicole Hibbard
I was using the LE version and needed to use the standard which supports JNDI resources.:) -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 4:18 PM To: Tomcat Users List Subject: Re: Name jdbc:comp is not bound in this context Nicole Hibb

Re: Name jdbc:comp is not bound in this context

2003-01-14 Thread Peng Tuck Kwok
Nicole Hibbard wrote: I resolved my own problem, and should have caught it along time ago. I needed to install the standard 4.1.18 to access JNDI resources. Hope that this might help someone else in the future. I'm using 4.1.12 and jndi resources work fine :) . -Original Message- Fro

RE: WARP (Apache<->Tomcat)

2003-01-14 Thread neal
Really?!?! But I downloaded it from the win32 archives on the apache site (http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.0.1/bin/win 32/). It even came with the libapr.dll - the library file compile as a windows DLL. Perhaps its just not compatible with Apache 2? -Orig

RE: WARP (Apache<->Tomcat)

2003-01-14 Thread Craig R. McClanahan
On Tue, 14 Jan 2003, neal wrote: > Date: Tue, 14 Jan 2003 15:38:55 -0800 > From: neal <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: WARP (Apache<->Tomcat) > > This is totally screwey! > > Does WARP work on Windows

Re: jsp versus xml syntax

2003-01-14 Thread Craig R. McClanahan
On Tue, 14 Jan 2003, Erik Price wrote: > Date: Tue, 14 Jan 2003 16:45:43 -0500 > From: Erik Price <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: jsp versus xml syntax > > > > Craig R. McClanahan wrote: > > > I feel

RE: WARP (Apache<->Tomcat)

2003-01-14 Thread neal
This is totally screwey! Does WARP work on Windows or not?!?! On one hand I've read a tutorial wherein the user claims to have setup warp using windos, but on the other I just read the website for webApp module (http://jakarta.apache.org/~jfclere/webapp_docs/index.html) and it states that it is c

Re: Tomcat losing session

2003-01-14 Thread Tim Funk
Could the problem be this? http://marc.theaimsgroup.com/?l=tomcat-dev&m=104246720928753&w=2 Charlie Toohey wrote: Thanks. However, I am writing the cookie value to the log, and the cookie value is identical for subsequent requests, yet Tomcat creates a new session on each request. So it looks

Garbage Collection - Settings

2003-01-14 Thread Hari Venkatesan
I know somebody answered this question before but could not find it in the archives. Is there any difference between -Xms64m and -Xms64M Similarly is there a difference between -Xms1G and -Xms1g Hari

Re: You used to make your servlet work, but what about a JSP page with a bean?

2003-01-14 Thread Wilson Snook
Thanks for taking an interest, Ron. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Session experation questions

2003-01-14 Thread Charlie Toohey
Yes. Entirely normal. Read the Servlet Specification. Specifically the sections on Sessions and the Deployment Descriptor --- the web.xml you can set the default session timeout value for your webapp. This can be modified at run-time using a servlet API method. On Tuesday 14 January 2003 03:3

Re: Session experation questions

2003-01-14 Thread David Hemingway
Yes there is, session.setMaxInactiveInterval(900); The above for example will make an inactive session invalidate after 900 seconds (15 minutes) regards, Dave - Original Message - From: "David Durst" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 10:33 AM

RE: servlet with Tomcat

2003-01-14 Thread Noel J. Bergman
> Be careful what you wish for Mr. Burrus, you just may get it. Now, now, guys ... play nice. Actually, I sent him his entire sample app in a .ZIP file after making sure that it worked in tomcat for me. --- Noel -- To unsubscribe, e-mail: For additional com

RE: WARP (Apache<->Tomcat)

2003-01-14 Thread neal
Hmm ... sounds like we have two seperate (possible) issues here. 1. webApp.so compatability with with Tomcat 2 2. Flakiness on Windows I'm just trying to model the setup on my Windows workstation so I'm not too worried about the second one ... we will eventually deploy to a linux machine Does an

RE: You used to make your servlet work, but what about a JSP page with a bean?

2003-01-14 Thread Ron Day
No, your syntax is correct. Must be another problem. sorry -Original Message- From: Wilson Snook [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 4:56 PM To: Tomcat Users List Subject: Re: You used to make your servlet work, but what about a JSP page with a bean? Thanks Ron,

Session experation questions

2003-01-14 Thread David Durst
I have been encountering something that I am not sure if it is normal. I am logged into my Web App and I just let it sit there for about a hour not making any request, then I attempt to start using it again and my session has DISSAPEARED. Is this normal?? If so is there anyway to adjust the expir

RE: WARP (Apache<->Tomcat)

2003-01-14 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
there is a good chance that the warp module is not Apache2 compatiable. Also if I recall the original author never provided any sort of guarantee that it would work under windows. We have used it successfully on HP-UX for over a year without any problems but for windows you should look into using

Re: You used to make your servlet work, but what about a JSP page with a bean?

2003-01-14 Thread Wilson Snook
Thanks Ron, but please note bean is declared to be in: package coreBeans; and directory structure is %TOMCAT_HOME%/webapps/core/WEB-INF/classes/coreBeans/FormBean.class AFAIK that is the correct form, unless you are saying that it has to be: package com.coreBeans; and %TOMCAT

RE: WARP (Apache<->Tomcat)

2003-01-14 Thread neal
Actually, I found the mod_webApp module for Apache<->Tomcat warp connection. But Apache won't restart now! Grrr. Per the instructions I tooks the webApp.so and the dll and put the in the modules dir (I'm on windows) and added the necesary lines to the config. BUT, in the doc that came with the

RE: You used to make your servlet work, but what about a JSP page with a bean?

2003-01-14 Thread Ron Day
Is your bean in a package? If not Tomcat will not find it in the default package. just add "package com.mypackage" to bean source, and put class file in classes/com/mypackage ron -Original Message- From: Wilson Snook [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 4:31 PM To:

Servlet Mapping Bug?

2003-01-14 Thread Andy Eastham
Hi, I've just upgraded from Tomcat 4.0.4b1 and apache 1.3 using warp to Tomcat 4.1.18 and Apache 2.0.43 using mod_jk2. I use a feature of servlet mapping in web.xml, where I map any request under a particular directory to a single servlet. My application is mapped from Apache under the url "/con

Re: Webdav new directory refresh problem with tc-4.1.18

2003-01-14 Thread Zsolt Koppany
I forgot to notice, that the bug happens only when tomcat-4.1.18 under Windows-2000 runs and NOT under Linux. On Tue, 2003-01-14 at 12:37, Zsolt Koppany wrote: > Hi, > > when I create a new directory from a webdav client (MS explorer), the > new directory will be created but the client shows the

RE: jsp versus xml syntax

2003-01-14 Thread Noel J. Bergman
> Since all of my JSPs in my site will need a navigation bar, I have > sectioned the navigation bar off into its own JSP file ... Basically, you are creating an "HTML widget", a hopefully common practice. > But in that JSP, there is a conditional test to determine whether or not > certain links s

Re: saving and opening files

2003-01-14 Thread Clive De Silva
Hi - just tried your suggestion and it returns: I'm file2 and I am at C:\Program Files\Apache Group\Tomcat 4.1\states.gip - and guess what, it is not there!Any other ideas? ;-) Clive - Original Message - From: "Julius Davies" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>

RE: Tomcat 4.1.18 Configuration with UNIX

2003-01-14 Thread Andy Eastham
Neginder, I'm not sure if you sorted this. If not, the problem looks like the system is trying to create /opt/jakarta-tomcat-4.1.18/work/Standalone/localhost/examples/jsp/jsptoserv/ jsptoservlet_jsp.java. Check that /opt/jakarta-tomcat-4.1.18/work/ exists and that the unix user running Tomcat ha

accessing web.xml data from a bean

2003-01-14 Thread Erik Price
Is there a way to access a Context-Parameter from the web.xml file from within a bean class? I have stored my JDBC connection URL in web.xml thinking I could always access it, but I had forgotten that beans dont automatically have a handle on the request object. :( Erik -- To unsubscribe,

You used to make your servlet work, but what about a JSP page with a bean?

2003-01-14 Thread Wilson Snook
I am a newbie experiencing a very frustrating problem. I have a web application that uses a packaged javabean. When I create a web application with the correct directory structure under the 'webapps' directory (see below), having created a context in 'server.xml', going to the localhost page prod

RE: jsp versus xml syntax

2003-01-14 Thread Noel J. Bergman
> I wonder if we agree on something else as well :-). > I feel that users who use variable declarations, function declarations, > and scriptlets in JSP pages *at all* (no matter what syntax) are probably > making a mistake. It is however, useful for rapid prototyping, and in JSP v2 you can *and w

Re: servlet with Tomcat

2003-01-14 Thread Will Hartung
> From: "Steve R Burrus" <[EMAIL PROTECTED]> > Sent: Tuesday, January 14, 2003 12:57 PM > Subject: RE: servlet with Tomcat > Nicole, that's really fine and good that you bothered to send me a web page that > purportedly offers me some free advice on how the hell I go about seeing/viewing a > comp

RE: jsp versus xml syntax

2003-01-14 Thread Wendy Smoak
> My best guess is that you're referring to creating a custom tag of > some sort that displays the navigation, and the logic for what to > display should be tucked away into the tag definition? I'm only > guessing here. If you could expound a bit that would be helpful for a > lot of us, I'm s

RE: servlet with Tomcat

2003-01-14 Thread jeff . guttadauro
These are extremely clear and detailed instructions - nice, Denise... Hopefully, this will help Steve emerge victorious from his year-long battle against Tomcat. One thing though I wanted to point out is that the values should match, so use the same thing ("greeting", "Startup", or whatever)

WARP (Apache<->Tomcat)

2003-01-14 Thread enLogica
I am attempting to setup Tomcat 4.1 with Apache 2.0.4. Per the instructions in my book I am suppose to download the "Web Application Module" for Apache in order to allow these two to talk, but it is not listed on http://modules.apache.org/search. With v.2.0 do I still need to download this mod?

WARP

2003-01-14 Thread enLogica
I am attempting to setup Tomcat 4.1 with Apache 2.0.4. Per the instructions in my book I am suppose to download the "Web Application Module" for Apache in order to allow these two to talk, but it is not listed on http://modules.apache.org/search. With v.2.0 do I still need to download this mod?

RE: servlet with Tomcat

2003-01-14 Thread Noel J. Bergman
Steve, > Are you able to view any of the supplied examples successfully > that came with the Tomcat installation of yours'???! I can see > the code easily enough, BUT I cannot seem to see the actual > servlets at all! Are you saying that Tomcat is running standalone, but if you go to the sample s

Re: Tomcat losing session

2003-01-14 Thread Andy Meadows
I had a problem with session values and name resolution. It turns out that an underscore in one of the machine names was messing up the session lookup. My "guess" was that it has something to do with some name mangling way down inside the Java internals (problem existed with other containers, not

RE: servlet with Tomcat

2003-01-14 Thread Denise Mangano
Perhaps if you posted your specific problem minus the rants and nasty remarks, people on the list would be a little more inclined to assist you. Now I don't recall your exact situation because to be honest I have simply deleted most of the emails you send because the have not made much sense, and

Re: jsp versus xml syntax

2003-01-14 Thread Erik Price
Craig R. McClanahan wrote: I feel that users who use variable declarations, function declarations, and scriptlets in JSP pages *at all* (no matter what syntax) are probably making a mistake. Mixing Java code with JSP code is likely to lead to a morass of spaghetti that mixes business logic and

RE: jsp versus xml syntax

2003-01-14 Thread Craig R. McClanahan
On Tue, 14 Jan 2003, Noel J. Bergman wrote: > [snip] > I happen to agree with Craig that it is a waste of time for a newbie to > learn both syntaxes. But it should be clear from my argument which syntax I > consider appropriate for teaching. I wonder if we agree on something else as well :-).

Re: Tomcat losing session

2003-01-14 Thread Charlie Toohey
Thanks. However, I am writing the cookie value to the log, and the cookie value is identical for subsequent requests, yet Tomcat creates a new session on each request. So it looks like it is parsing the headers correctly. > I had a problem recently with a browser not setting Content-type correc

RE: How to avoid load af a context at startup of Tomcat

2003-01-14 Thread Dan Payne
Marco, here's how I do it (I'm on a windows dev machine): 1.> Place all documentation and example .war files in C:\jakarta-tomcat-4.1\webapps\ Mine contains the following applications: examples standard-doc (JSTL documentation) standard-exmplas (JSTL examples) str

RE: servlet with Tomcat

2003-01-14 Thread Steve R Burrus
No, I am very definitely NOT a "newbie" to manners, whoever you are!! "Are you a newbie to tomcat or a newbie to manners, Steve?" I just simply wanted for someone to tell me how exactly I go about editing the web.xml file so I can then see/view a servlet in my browser! If that offends anyone (and

RE: servlet with Tomcat

2003-01-14 Thread mech
Are you a newbie to tomcat or a newbie to manners, Steve? Maybe start working on something else... I guess you'll find it difficult to get any help from anyone on this list after insulting posters. > -Original Message- > From: Steve R Burrus [mailto:[EMAIL PROTECTED]] > Sent: Dienstag, 14

RE: servlet with Tomcat

2003-01-14 Thread Steve R Burrus
Nicole, that's really fine and good that you bothered to send me a web page that purportedly offers me some free advice on how the hell I go about seeing/viewing a compiled servlet, BUT I really thought that you could, if you would please, directly give some help on editing that web.xml file! ___

Re: Tomcat losing session

2003-01-14 Thread Carl Walker
I had a problem recently with a browser not setting Content-type correctly. If the Content-type is note set correctly, Tomcat can't parse the HTTP headers (including the cookie), so it'll create a new one. Charlie Toohey wrote: > Infrequently, Tomcat is creating a new session on each request fro

RE: Log of JSP output

2003-01-14 Thread Noel J. Bergman
> I would like to log the HTML returned from JSP rendering. Write a filter. --- Noel -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: forcing a jsp page to reload/refresh when backend data changes

2003-01-14 Thread Justin Ruthenbeck
Don't know if Jeff's interested in this much depth, but adding to Nick's method ... :) At 04:20 AM 1/15/2003, you wrote: Adding to Justin's method, you can make this polling a more subtle event by placing a polling jsp page in a frameset with your jsp page, but have the polling page take up no

Log of JSP output

2003-01-14 Thread Leo Przybylski
Hello, Does anyone know of the best way to log the HTML output of a JSP page after it has been rendered? I would like to log the HTML returned from JSP rendering. -Leo Przybylski http://foopan.leosandbox.org http://grow.arizona.edu -- To unsubscribe, e-mail: For a

RE: forcing a jsp page to reload/refresh when backend data changes

2003-01-14 Thread Noel J. Bergman
Jeff, The refresh request has to come from the user-agent. There is a tag that you can emit into your section to cause the user-agent to refresh the page periodically. Alternatively, if you had an applet, you could have the applet communicate with the server, and the applet could force a refres

RE: TOMCAT Crashing down

2003-01-14 Thread David Durst
> Hi, > > we are using Windows 2000 professional edition and we are using JDK 1.3 > along with Tomcat 3.2.4. > We are using DB2 Enterprise edition version 7.1 and JDBC driver is > db2java.zip that resides in > > c:\program files\SQLLIB\java > > Regards, > Dheeraj I am not a Windows person but I wi

Re: forcing a jsp page to reload/refresh when backend data changes

2003-01-14 Thread Nick Sophinos
Adding to Justin's method, you can make this polling a more subtle event by placing a polling jsp page in a frameset with your jsp page, but have the polling page take up no visible space. So in effect you divide it into 2 pages: the original data diplay page and an invisible "polling" page that

Tomcat losing session

2003-01-14 Thread Charlie Toohey
Infrequently, Tomcat is creating a new session on each request from the same cookie, when all of the requests should be in the same session. I am logging the cookie and session ids to debug this. What I see is that a request comes in with cookie JSESSIONID=X. Tomcat creates a new session, with

RE: servlet with Tomcat

2003-01-14 Thread Nicole Hibbard
I am a newbie and used this page to help my in seeing examples and creating my own servlets. I hope that it helps. http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ -Original Message- From: Steve R Burrus [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 11:48 AM To: Tomcat

Re: forcing a jsp page to reload/refresh when backend data changes

2003-01-14 Thread Justin Ruthenbeck
Hi Jeff -- Once your jsp outputs its data, its job is done and there is no opportunity for it to update anything. The only way data can be updated is if the client requests it, which means you'll have to force the client to refresh. If it's a browser, set the appropriate header or include the co

RE: TOMCAT - MEMORY PROBLEM

2003-01-14 Thread Turoff, Steve
I too am having the same problem. I believe in my case, the problem may stem from the fact that Tomcat 4.1.x maintains a reference to every JSP page that has ever been requested. My site has hundreds of JSP pages, several of which I believe are "dynamic" (Can someone clarify what makes a JSP pag

Re: servlet with Tomcat

2003-01-14 Thread Steve R Burrus
Nicola, even though you seem to communicate in some "broken" English, I can still understand the "gist" of what you said in your post, that you are encountering some trouble/problems with trying to see either a servlet or a JSP in your web browser!! I wanna tell u that I am having the very same

Re: Precompiling JSP - setup

2003-01-14 Thread paul miller
you could start an ant build script before starting tomcat check out http://jakarta.apache.org/ant/manual/OptionalTasks/jspc.html --- Hari Venkatesan <[EMAIL PROTECTED]> wrote: > Is there any documentation that explains how to setup parameters for > precompiling JSP's when Tomcat Server starts

RE: Name jdbc:comp is not bound in this context

2003-01-14 Thread Nicole Hibbard
I resolved my own problem, and should have caught it along time ago. I needed to install the standard 4.1.18 to access JNDI resources. Hope that this might help someone else in the future. -Original Message- From: Nicole Hibbard [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 4

RE: jsp versus xml syntax

2003-01-14 Thread Noel J. Bergman
> So for the record, what is allowed and what isn't? Sorry that I am so > confused about this. JSP 1.0 and 1.1 were somewhat loose on the XML representation of JSP pages. JSP 1.2 introduced a fully formal representation known as a JSP Document, complete with jsp:root element, and explicitly says

forcing a jsp page to reload/refresh when backend data changes

2003-01-14 Thread Jeff Ousley
Hello! Forgive this very newbie-ish question. If someone could point me in the right direction I would appreciate it. Is it possible/feasible to have .jsp page refresh the data it's displaying when the data on the backend changes? For example if I have a .jsp page that queries and displays data f

Re: jsp versus xml syntax

2003-01-14 Thread Erik Price
Craig R. McClanahan wrote: To get the whole answer, you need to download and read the JSP spec. http://java.sun.com/products/jsp/download.html That's on my to-read list, after the HTTP spec and the servlet spec. I don't think it's going to happen overnight ;) . The short answer: In JSP

RE: Load balancing Tomcat 3.3 from Apache with mod_jk or mod_jser ve-- SOLVED

2003-01-14 Thread Abraham Kang
Hi John, My point in putting nothing in the server.xml was that you didn't have to. That is what I was trying to explain to everyone. Tomcat 3.3.1 doesn't require you to set the jvmroute in the server.xml it load balances for you. I was hoping to get some insight from one of the developers ab

Re: default DataSource for mySQL?

2003-01-14 Thread Normand McGuire
Hello Petter, javax.servlet.jsp.jstl.sql.dataSource jdbc:mysql://localhost/testDB,com.mysql.jdbc.Driver,USERNAME,PASSWORD replacing USERNAME and PASSWORD with appropriate values. Then, in your JSP code, There will be no need to specifiy the data sourc

Embedded Tomcat hangs

2003-01-14 Thread Sylvain Beaumont
Hi, We developped a GIS server, in which a embedded Tomcat serves JSP / Servlet requests. Since we upgraded Tomcat 3.x with 4.1.x (currently 4.1.12), Tomcat hangs without any error. Our demo server (Linux, 1.4.1), which in not under heavy loads (< 100 requests / day), hangs about every week. It

[Bonehead mistake of the week] web.xml issue?

2003-01-14 Thread Jason Pyeron
So I was about to put together a very big posting with conf files and then I realized after a week of debuging, Tomcat did not have read permission on the tld file. -jp I am trying to use the JSTL, but some where I have an error in my web.xml or tld file. When starting the context I get this:

RE: Load balancing Tomcat 3.3 from Apache with mod_jk or mod_jser ve -- SOLVED

2003-01-14 Thread Turner, John
My point was that the load balancing is done with mod_jk and workers.properties, not Tomcat. For example, there's nothing in your post having to do with server.xml. If you uncovered something different that needed to be done to server.xml for 3.3 over 4.x, please let us know so that others can b

RE: Load balancing Tomcat 3.3 from Apache with mod_jk or mod_jser ve-- SOLVED

2003-01-14 Thread Abraham Kang
I already looked at the ubeans site but it does not detail how to load balance Tomcat 3.3. Abraham -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 7:41 PM To: 'Tomcat Users List' Subject: RE: Load balancing Tomcat 3.3 from Apache with mod_jk

Re: jsp versus xml syntax

2003-01-14 Thread Craig R. McClanahan
On Tue, 14 Jan 2003, Erik Price wrote: > Date: Tue, 14 Jan 2003 10:11:32 -0500 > From: Erik Price <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: jsp versus xml syntax > > > > Noel J. Bergman wrote: > >>Do yourself

[getRequestURI() encoding]

2003-01-14 Thread Stéphane JANICAUD
Hi, I have an encoding problem using Tomcat 4.1.18 and coyote. The problem occurs when URIs contain encoded characters (like french language). original URI = http://server:8080/potalux/get/files/caf%E9.jpg Tomcat 4.1.18/Apache 2.0.43 with jk2 HttpServletRequest.getRequestURI() = http://server:8

Fw: REPOST 4.1.18 installation problems

2003-01-14 Thread Nathan McMinn
After some experimenting, I have discovered that it is a bean that is behind this problem. If I remove the bean reference, the error goes away (but then of course, other things in the application do not work). Does anybody have any idea what could be behind this? - Original Message - Fro

REPOST 4.1.18 installation problems

2003-01-14 Thread Nathan McMinn
> > After installing tomcat 4.1.18 on windows 2000, I get the following > > exception trying to access my web application. This app worked fine with > > 4.0.6. I have also included my web.xml file for this application. Thanks > > in advance. > > > > org.apache.jasper.JasperException: org/apache/

AW: Apache 2.0 + Tomcat 4.1.12 + Realms + Java WebStart don't work

2003-01-14 Thread Stratmann, Holger
I was using Tomcat 4.1 with JavaWebStart (JWS) and it worked fine! Does your realm work ok? IOW: Can you call html/jsp-pages which are access protected? Try calling a page that is in the same directory as the JNLP. Also: Which version of JavaWebStart are you using? If you say: "the system" is un

RE: TOMCAT - MEMORY PROBLEM

2003-01-14 Thread Brandon Cruz
Same problem here, no solution yet. I have checked and checked for leaks in our application using all kinds of tools, but can't find anything when running on a windowns development server. Haven't had the resources to try profiling the application running on the production linux server because we

JAAS and Catalina

2003-01-14 Thread S . M . A
Hi, Does anyone remember How the JAASRealm is configured? I did a search on the list archive and I gather its been some time since there has been talk of JAAS. I have modified server.xml to . I have also modified the catalina.sh (under start and -security) to use the following VM parameters;

Apache 2.0 + Tomcat 4.1.12 + Realms + Java WebStart don't work

2003-01-14 Thread Antonio Vázquez
I have a little problem with Apache 2.0 + Tomcat 4.1.2 using JDBC Realms and Java WebStart. If i configure the web application a call the JNLP file, all works, but when I include a REALM, the system is unable to load de JNLP file. I made several test and I am sure that the problem is when you us

RE: [OT] Question regarding payment processing

2003-01-14 Thread Jason Pyeron
Denise, I will be able to read the docs after lunch today. What Noel was talking about is the asynchronous web gateways, like authorize.net. That is one of the most common situations. Keep in mind, I have not read your docs yet, but I will write anyway. >From your descriptions it sounds like C

Precompiling JSP - setup

2003-01-14 Thread Hari Venkatesan
Is there any documentation that explains how to setup parameters for precompiling JSP's when Tomcat Server starts up or can somebody please explain how to do this? Hari

  1   2   >