Re: serverside include

2002-11-26 Thread Kwok Peng Tuck
If you define a variable in a jsp page and then use the jsp:include tag to include it (let's say the middle) in another page, then the variables that you define in the included jsp page is only available after the include statement. If you wish for a variable to presist for the duration of a

Re: newbiw. mysql connector problems

2002-11-26 Thread Bill Barker
I'm guessing that you're using some 1.4.x JVM. The Tomcat 4.1.x startup scripts override $JAVA_HOME/jre/lib/ext, and set it to $CATALINA_HOME/common/endorsed. Copying your MySQL jars here should solve your problems, Evelin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: local WEB-INF/web.xml

2002-11-26 Thread Paul_Wallace
Thanks, And what about a path to the class? Is one necessary? Is any package declaration necessary? If I'm not mistaken you put the java source of the servlet into /WEB-INF/classes/, the directory takes class files not source files as per specification. So you will need to

path mapping

2002-11-26 Thread Matthew Hixson
I have a web application that is currently running under Resin. We may need to migrate our app to Tomcat/JBoss. I'm wondering if there is an equivalent feature in Tomcat that allows us to do the same thing as Resin's path-mapping directive.

Re: ldap authenitcation

2002-11-26 Thread Charlene Mitchell
Hi, Is it just not possible to authenticate against LDAP? If not can someone help explain how to set the debugging mode of TomCat to verbose because I'm seeing nothing relevant in the logs. sigh please help! Charlene --- Charlene Mitchell [EMAIL PROTECTED] wrote: Hi, No success so far

App Initialization question

2002-11-26 Thread Thomas . Gaudin
Hi, I need to store an object in the application context and this object has to be instatiated when the application is deployed. I am thinking about a solution but I would like confirmation that it is a good practice to do : - declare a servlet that would have a load-on-startup element in

Re: local WEB-INF/web.xml

2002-11-26 Thread Kwok Peng Tuck
Classes are looked for in /WEB-INF/classes and lib so you do not need to provide one. Again, take a look at the specification if you still have some doubts about this. [EMAIL PROTECTED] wrote: Thanks, And what about a path to the class? Is one necessary? Is any package declaration

Re: local WEB-INF/web.xml

2002-11-26 Thread Paul_Wallace
I tried debugging the source through, my IDE and it threw a java.lang.NoSuchMethodError: main I tried compiling the source through the command prompt and got a load of 'cannot resolve symobol' errors (useful). Below is the entire servlet, any ideas where the problem is? The first 2 of 5

Re: local WEB-INF/web.xml

2002-11-26 Thread Andreas Probst
Hi Paul, at compile time you need to have servlet.jar inside your classpath. See the Application Developers' Guide at pathToTomcat/webapps/tomcat-docs/appdev/index.html Andreas On 26 Nov 2002 at 16:36, [EMAIL PROTECTED] wrote: I tried debugging the source through, my IDE and it threw a

Re: serverside include

2002-11-26 Thread Paul_Wallace
Hi Kwok, To retrieve a variable defined in another page is all I wish to do. In my main file I include: jsp:include page=inc.jsp /. In inc.jsp is a String. After the include, it simply executes the page and any reference to the variable in the inlcude file is illegal. How may I include

RE: Discrepancies between servlets and JSP on tomcat in handling UTF-8?

2002-11-26 Thread Bodycombe, Andrew
Thanks. That's cleared this one up. The ?xml version=1.0 encoding=UTF-8? just needs to be ignored when reading the response. I should use the charset attribute from the Content-Type header. The bug is in the application I connect to. The encoding attribute is incorrectly set in the response I

RE: Does web.xml inherit?

2002-11-26 Thread Roberts, Eric
As far as I know the sequence is: Default Context App Context /conf/web.xml /WEB-INF/web.xml So your /WEB-INF/web.xml has the final say, provided that overrides to the previous settings have been allowed. -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]] Sent: Montag, 25.

Embedded Tomcat Problem

2002-11-26 Thread Lee Peik Feng
Hi all, I am running on WinMe platform with jdk1.3.1_04, tomcat 4.1.12 I try to embed tomcat into my Java application but I am facing some difficulties. I can't start tomcat as the classpath has included a lot of tomcat's jar files, if i take away some jars, I'll get NoClassDefFoundError I have

Re: Embedded Tomcat Problem

2002-11-26 Thread Andreas Probst
Hi, try to set the complete path like CLASSPATH=.;c:\path\to\lib\bootstrap.jar etc. Maybe also without quotes. In a message today it was suggested not to mix forward and back slashes as you did. Subject was: Re: Problems running Tomcat from command line I hope this helps. I can't help you with

Virtual host problem

2002-11-26 Thread xyber
I have a HP-UX server with Tomcat 4.0.4, and I want to host 30+ virtual host. I fill up the server.xml, start catalina, and the Tomcat's java process allocate gigabytes(1+) of memory!!! When i remove virtual hosts from server.xml, the memory usage go lower. Is the 1g+ allocation normal, or a

IllegalStateException??? Please help!

2002-11-26 Thread Steve Beech
I've set up a SSL socket in Tomcat and everything appears to work okay. I can connect to the port, install the cert and access the site. However, when I access the HTTPS port with my browser and get the 'Security Alert' prompt telling me about the certificate and asking me if I want to continue,

Session Handling in Tomcat 3.2.4

2002-11-26 Thread Vaibhav Kulkarni
Hi all, Can i persist the session id generated from the server request.getSession(); I am having one class which connects to the server with url object and receives a session id as response from the server. Now the same session id is used by other programs to communicate with the server. Now if

Re: App Initialization question

2002-11-26 Thread Martin Jacobson
[EMAIL PROTECTED] wrote: Hi, I need to store an object in the application context and this object has to be instatiated when the application is deployed. I am thinking about a solution but I would like confirmation that it is a good practice to do : - declare a servlet that would have a

WAR files not expanding.

2002-11-26 Thread Andoni
When I put a .war file over to my tomcat server it doesn't work. - It only creates an empty directory in webapps. If I put over the war and unzip the file, it works fine. If I put over the .war file and set unpackWARs=false it does not work. - The unpack command is understood though as it does

Netscape 6.2.x problem

2002-11-26 Thread Richard Heath
I am developing a servlet on Apache Tomcat 4.0. On Netscape 6.2.x occasionally it displays the raw http, rather than the html. See this image for an example. http://www.c-o-g-s.org.uk/work/netscape623.jpg Any idea why this is? It doesn't do it on any other browsers that I have found or on earlier

workers.properties

2002-11-26 Thread Yossi Lev
I am working with apache 1.3.26 with tomcat 4.1.12 . I need help to config the file workers.properties . And how I can do that I will use jk and put jk2 in disable thanks Yossi Lev MobileSpear

workers.properties

2002-11-26 Thread Kristján Bjarni Guðmundsson
Return Receipt Your workers.properties document :

RE: Tomcat 4.1.12 Logs??

2002-11-26 Thread Shapira, Yoav
Hi, In 4.1.x the AccessLogValve in server.xml is commented out by default. Comment it in if you'd like those access logs. You can also move it under a specific Context element to only log accesses to that Context. Yoav Shapira Millennium ChemInformatics -Original Message- From:

Re: Netscape 6.2.x problem

2002-11-26 Thread Nikola Milutinovic
Richard Heath wrote: I am developing a servlet on Apache Tomcat 4.0. On Netscape 6.2.x occasionally it displays the raw http, rather than the html. See this image for an example. http://www.c-o-g-s.org.uk/work/netscape623.jpg Any idea why this is? It doesn't do it on any other browsers that I

verifyError with tomcat and xerces 2.2.1

2002-11-26 Thread villardml
Hi, I created a very small servlet and when I try to run it I got a VerifyError exception (see below). The servlet try to create a instance of JAXP DocumentBuilder. I use xerces 2.2.1, that work with previous versions. That work also on the client side (xerces 2.2.1 and without tomcat). The JDK

Re: Netscape 6.2.x problem

2002-11-26 Thread Nikola Milutinovic
Richard Heath wrote: I wondered about that chunked header myself, but don't really know what that means. It means that the object being transfered isn't... ?raw, but compressed? I'm not sure... I've been doing some more investigation. It appears to only happen when Tomcat is running on our

Re: Problems running Tomcat from command line

2002-11-26 Thread Steve Russell
You are right. The issue is memory. I know this because I tried: command /e:2861 then startup.bat It got going. Unfortunatley it opens up a new dos window, which I don't want as the whole point in doing this for me was to be able to use my shell emulator/tool ( either eshell or cygwin )

RE: Problems running Tomcat from command line

2002-11-26 Thread Stephen . Thompson
Hello, If you are using NT/W2K then use the command cmd and not command. cmd has more capabilities than command. Regards, Stephen. -Original Message- From: Steve Russell [mailto:[EMAIL PROTECTED]] Sent: 26 November 2002 14:32 To: Tomcat Users List Subject: Re: Problems running Tomcat

RE: Problems running Tomcat from command line

2002-11-26 Thread Steve Russell
I am using windows 2000 and there is no difference I can see between cmd vs command. Both lack the option to encrease dos environment memory under properties Steve At 02:43 PM 11/26/2002 +, you wrote: Hello, If you are using NT/W2K then use the command cmd and not command. cmd has more

RE: Does web.xml inherit?

2002-11-26 Thread Ben Ricker
On Tue, 2002-11-26 at 04:19, Roberts, Eric wrote: As far as I know the sequence is: Default Context App Context /conf/web.xml /WEB-INF/web.xml So your /WEB-INF/web.xml has the final say, provided that overrides to the previous settings have been allowed. Actually, we found that this is

RE: virtual machine option

2002-11-26 Thread Dave Roberts
I used: c:\Tomcat4\bin\tomcat jvm_option -server -Xss800m -Xmx200m -Dave -Original Message- From: srinath narasimhan [mailto:[EMAIL PROTECTED]] Sent: Mon 11/25/2002 5:45 PM To: Tomcat Users List Cc: Subject: RE: virtual

RE: Does web.xml inherit?

2002-11-26 Thread Arshad . Hussain
hey i am facing they same problem sometime we are facing session time outs in spite of me setting session to never expire on first jsp page session.setMaxInactiveInterval (-1); DO U THINK I SHOULD CHANGE THIS Conf/web.xml -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]]

Re: Problems running Tomcat from command line

2002-11-26 Thread Steve Russell
Hi; These are all of the things I have tried to increase the default environment space Windows 2000 gives to shell applications: It used to be with Windows 98 that if you right clicked the icon in a shell window, then properties, you got an option to increase default memory size. This option

RE: Does web.xml inherit?

2002-11-26 Thread Ben Ricker
On Tue, 2002-11-26 at 09:01, [EMAIL PROTECTED] wrote: hey i am facing they same problem sometime we are facing session time outs in spite of me setting session to never expire on first jsp page session.setMaxInactiveInterval (-1); DO U THINK I SHOULD CHANGE THIS Conf/web.xml Possibly.

Re-deploying webapps from war files

2002-11-26 Thread Mark D . Porter
Hello All, I'm working with the latest builds of tomcat (4.1.15) in hopes of moving from tomcat 3.3. One thing that seems to be missing in the 4.x line is a 'redeploy' feature for war files. In tomcat 3.3 I can setup my 'webapp' directory to 'look' for changes in a .war file and on a change

Re: verifyError with tomcat and xerces 2.2.1

2002-11-26 Thread Jeanfrancois Arcand
Have you try with the SUN JDK 1.3.1? Which version of Tomcat are you using? -- Jeanfrancois [EMAIL PROTECTED] wrote: Hi, I created a very small servlet and when I try to run it I got a VerifyError exception (see below). The servlet try to create a instance of JAXP DocumentBuilder. I use

Pb with HEAD request

2002-11-26 Thread Cédric Viaud
Hi, I have Tomcat server 4.0.4 on NT 4 that contains a servlets in charge to create SVG content. The client is Internet Explorer 5.5. It loads the following simple HTML page : html body embed width=200 height=200 src=http://localhost:8080/myContext/MyServlet /body /html The problem is that my

Tomcat servlet recieves no posts from JSP - but code works in JBuilder?

2002-11-26 Thread Sarah Grimley
Please can you explain to me why the servlet is not getting any parameters from the JSP, when I run it in TOMCAT 4.1. The code works fine in JBuilder/Tomcat IDE. It also works fine in TOMCAT 4.1, when I call it from an HTML page. However, I want to call it from a JSP. NOTE: the form names and

Re:How to specify path when executing CGI in Tomcat?

2002-11-26 Thread B W
Does anyone know how to include the system property path(win2000) when executing CGI in Tomcat? Just like the way apache http server did for CGI. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com

Re: path mapping

2002-11-26 Thread Jeanfrancois Arcand
See section 11 of the Servlet Specification: http://jcp.org/aboutJava/communityprocess/first/jsr154/ -- Jeanfrancois Matthew Hixson wrote: I have a web application that is currently running under Resin. We may need to migrate our app to Tomcat/JBoss. I'm wondering if there is an

Re: Pb with HEAD request

2002-11-26 Thread Kristján Bjarni Guðmundsson
You really should look into the servlet specification. I think if you override doHead for your servlet doHead(HttpServletRequest req, HttpServletResponse resp) Receives an HTTP HEAD request from the protected service method and handles the request. Default action for doHead is to simply call

RE: tomcat 4.1.12 Incompatible type for getting or setting field error

2002-11-26 Thread Brandon Cruz
Did you ever find out what causes this error? We are getting the exact same thing when upgrading to Tomcat 4.1.12 from 3.2.4. Using Sun JDK 1.3.1_01. Anyone know? -Original Message- From: B W [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 12, 2002 3:20 PM To: [EMAIL PROTECTED]

Re: Re-deploying webapps from war files

2002-11-26 Thread David Brown
Mark D.Porter writes: Hello All, I'm working with the latest builds of tomcat (4.1.15) in hopes of moving from tomcat 3.3. One thing that seems to be missing in the 4.x line is a 'redeploy' feature for war files. In tomcat 3.3 I can setup my 'webapp' directory to 'look' for changes in a

Session Handling in Tomcat 3.2.4

2002-11-26 Thread Vaibhav Kulkarni
Hi all, Can i persist the session id generated from the server request.getSession(); I am having one class which connects to the server with url object and receives a session id as response from the server. Now the same session id is used by other programs to communicate with the server. Now if

RE: serverside include

2002-11-26 Thread David Howard
I don't know if this would help, but what about setting environment variable through the tomcat administration interface. David Howard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 12:25 AM To: Tomcat Users List Subject:

is it possible to authenticate from the form-error-page?

2002-11-26 Thread Quenten Van Egeren
Hi, I'm using form based authentication in Tomcat 4.1.12 with a JDBCRealm. I'm seeing the following problem : When I attempt to hit a secured resource, I am redirected to the form-login-page and can login just fine. However, if I fail a login I am sent to the form-error-page (which is the way

FW: Cookies translation problem on isapi connector using IIS5 + TOMCA T 4.0.1

2002-11-26 Thread Zaragoza, Carles
Sorry for post this message again, but I am struggling with this issue. Has somebody faced with this problem ? Thanks again. Carles. -Original Message- From: Zaragoza, Carles [mailto:[EMAIL PROTECTED]] Sent: viernes, 22 de noviembre de 2002 9:50 To: Tomcat Users List (E-mail) Subject:

Re: serverside include

2002-11-26 Thread David Brown
David Howard writes: I don't know if this would help, but what about setting environment variable through the tomcat administration interface. David Howard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 12:25 AM To: Tomcat

USING WRONG JSP COMPILER

2002-11-26 Thread JOAN INTERD4U
Hi, I'm working in a Linux platform. While I was using Tomcat 4.1.12 (with jdk1.4) to serve html and jsp, everything was OK. But when I linked Tomcat 4.1.12 with Apache 1.3 through mod_jk, I got the following error serving jsp pages (html is OK). oracle.jsp.parse.JspParseException: Line # 2,

Re: WAR files not expanding.

2002-11-26 Thread David Brown
Andoni writes: When I put a .war file over to my tomcat server it doesn't work. - It only creates an empty directory in webapps. If I put over the war and unzip the file, it works fine. If I put over the .war file and set unpackWARs=false it does not work. - The unpack command is understood

Re: Virtual host problem

2002-11-26 Thread David Brown
xyber writes: I have a HP-UX server with Tomcat 4.0.4, and I want to host 30+ virtual host. I fill up the server.xml, start catalina, and the Tomcat's java process allocate gigabytes(1+) of memory!!! When i remove virtual hosts from server.xml, the memory usage go lower. Is the 1g+ allocation

help for newbie?

2002-11-26 Thread jcarter
Greetings to all. I am new to JSP and Tomcat - but trying diligently to learn quickly. I have what are most probably basic questions. I am using the latest, so I assume, Tomcat 4.1.12. I am attempting to create a Webapp and Servlet. I get the Tomcat 404 error, The Requested resource is

RE: help for newbie?

2002-11-26 Thread Roberts, Eric
Jered, Do you have a web.xml file which describes and maps your servlet? This should be placed in $CATALINA_HOME/webapps/myapp/WEB-INF Have a look at the examples app for examples. Hope this helps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Dienstag,

Re: help for newbie?

2002-11-26 Thread David Brown
[EMAIL PROTECTED] writes: Greetings to all. I am new to JSP and Tomcat - but trying diligently to learn quickly. I have what are most probably basic questions. I am using the latest, so I assume, Tomcat 4.1.12. I am attempting to create a Webapp and Servlet. I get the Tomcat 404

Re[2]: Admin Webapp Problems (WAS: MBean server?)

2002-11-26 Thread Jacob Kjome
Hi Shawn, I'd recommend installing the full non-RPM version that includes all necessary jars. In that version, you will see the following files in common/endorsed: xercesImpl.jar xmlParserAPIs.jar What Bill says it correct, though. The Xerces version that come with Tomcat causes problems with

Re: Re-deploying webapps from war files

2002-11-26 Thread Mark D . Porter
Hi David! Thanks for your response - I've found that your second suggestion is automatable (is that a word?) via ant and as such is a good replacement for the functionality in Tomcat 3.3. However, it appears that these tasks rewrite server.xml and overwrite any ResourceParams elements that

Re: verifyError with tomcat and xerces 2.2.1

2002-11-26 Thread villardml
Yes I tried. I'm using tomcat 4.1.12. Actually if I replace the xercesImpl.jar but the latest version in the common/endorsed directory that work fine (this is normal). So I suppose that is not possible to use two differents version of xerces, one used by the server and the other one used by a

Re[2]: WAR files not expanding.

2002-11-26 Thread Jacob Kjome
Hello David, If you define a Context ... for a particular app where the path matches the name of the .war file, the .war will not be unpacked by Tomcat under any circumstances. I imagine you have something like this in server.xml or in a context configuration file: Context docBase=myapp

Re: Embedded Tomcat Problem

2002-11-26 Thread Craig R. McClanahan
On Tue, 26 Nov 2002, Lee Peik Feng wrote: Date: Tue, 26 Nov 2002 18:27:11 +0800 From: Lee Peik Feng [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Embedded Tomcat Problem Hi all, I am running on WinMe platform with

RE: help for newbie?

2002-11-26 Thread Kristján Bjarni Guðmundsson
Return Receipt Your RE: help for newbie? document :

RE: IllegalStateException??? Please help!

2002-11-26 Thread Steve Beech
Johan, Thanks for your reply. I've restarted Tomcat but that seems to be when the problem happens. (I say problem though it isn't affecting the program!) And I'm not using servlets. Thanks anyway, Let me know if you have anymore thoughts. Cheers, Steve -Original Message- From:

checkError with Coyote

2002-11-26 Thread Elisabeth Julg
Hi, I have a lot of problem using the method PrintWriter.checkError when I use the connector Coyote. Can'you help me ? My servlet can be long (extraction), and if the user close the window, I want to stop my servlet. public class IndicateursDemandeSrvl extends HttpServlet { public void

Confused about listener for J2K

2002-11-26 Thread Jeffrey Hinchey
Using Apache 1.3, Tomcat 4.1 and mod_j2k, and I am really confused on what do. The install script for the rpm includes a mod_jk2.conf file, but this is not there. And the docs references a workers.properties, but a workers2.properties is included. So I am not ture the entries the script made

Re: ldap authenitcation

2002-11-26 Thread Charlene Mitchell
anyone? --- Charlene Mitchell [EMAIL PROTECTED] wrote: Hi, Is it just not possible to authenticate against LDAP? If not can someone help explain how to set the debugging mode of TomCat to verbose because I'm seeing nothing relevant in the logs. sigh please help! Charlene

4.1.x BodyTagSupport

2002-11-26 Thread Elisabeth Julg
Hi, I have problem using the same Tag with body and without body. In my application, I use BodyTagSupport : - Declaration : tag nameselect/name tag-classappli.jsp.HtmlSelectTag/tag-class body-contentJSP/body-content

RE: Tomcat 4.1.12 Logs??

2002-11-26 Thread Prashanth Pushpagiri
Yes, I uncommented the valve part out and tomcat logs access details now. There is however another problem. My logs are wierd. Instead of the remote IP address, the logs have parts of the data being sent out. Sam is the case for request URI. I get html data instead of request details. Could it be

Re: ldap authenitcation

2002-11-26 Thread Craig R. McClanahan
On Tue, 26 Nov 2002, Charlene Mitchell wrote: Date: Tue, 26 Nov 2002 18:07:57 + (GMT) From: Charlene Mitchell [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: ldap authenitcation anyone? This is discussed in the

RE: Tomcat 4.1.12 Logs??

2002-11-26 Thread Shapira, Yoav
Howdy, If you could perhaps provide examples... I usually set the log pattern to combined, rather than common, but that's for log analyzing and probably doesn't have to do with your problem. Yoav Shapira Millennium ChemInformatics -Original Message- From: Prashanth Pushpagiri

tomcat setup

2002-11-26 Thread Joseph Boccuzzi
to start I am new to Tomcat. I have installed 4.1.12 on my Mac and can get to the initial page. From here the links for the jsp examples and the servlet examples return a http status 404 not available. The link for the Tomcat Administrator and Tomcat Manager return a 403 access denied. I

NoSuchMethodError

2002-11-26 Thread Abhijat Thakur
Hi, When i am trying to access a servlet through tomcat it gives me a java.lang.NoSuchMethodError. From the stack trace at LoginServlet.java:238(which is my servlet) all i am doing is that i have a handle to HttpSession object and i call the setAttribute method to bind an object with the

Response.ContentType - not always setting contentType in Header

2002-11-26 Thread neal
Does anyone know of a reason why response.setContentType() would only sometimes set my content type? I have a single control servlet which sets content type explicitly response.setContentType(text/html); just before it opens an outputStream and writes an XSLT transformation to out. For 70% of

RE: mysql connector problems

2002-11-26 Thread Jason Jonas
Evelin, The first thing you did wrong was read the readme. :) I'm using the same driver with the same basic setup as you. Place the jar file in %CATALINA_HOME%\common\lib. This will make it available to Tomcat as well as any running web app. On a side note, you may want to have Tomcat create and

Re: Response.ContentType - not always setting contentType in Header

2002-11-26 Thread micael
Is it seemingly random or is it definitive classes Neal? At 11:17 AM 11/26/2002 -0800, you wrote: Does anyone know of a reason why response.setContentType() would only sometimes set my content type? I have a single control servlet which sets content type explicitly

RE: Response.ContentType - not always setting contentType in Header

2002-11-26 Thread neal
Definitive classes. And I have (and still am) going through the XSLT and the page classses (the classes that the control servlet calls specific to the requested page) with a fine tooth comb. The only thing that the 3 problem pages seem to have in common that I have not yet eliminated is that

RE: Response.ContentType - not always setting contentType in Header

2002-11-26 Thread Cox, Charlie
are you getting any errors in the error log? is it possible that you are throwing/catching an exception that is not allowing anything to be written to the output stream? Charlie -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 2:36 PM To:

RE: Response.ContentType - not always setting contentType in Header

2002-11-26 Thread micael
Can you provide the relevant code from one that does not work and one that does work? Or, would you have to kill me if you did that? At 11:35 AM 11/26/2002 -0800, you wrote: Definitive classes. And I have (and still am) going through the XSLT and the page classses (the classes that the control

Re: Response.ContentType - not always setting contentType in Header

2002-11-26 Thread Jacob Kjome
Hello neal, I've notice that in a filter I have that the content length is sometimes zero. This never happens the first time a browser requests a particular page but will happen each time after that if the user hits reload. The browser just seems to reload from its own cache. The browser sends

Re:How to specify path when executing CGI in Tomcat?

2002-11-26 Thread B W
If you are interested in this question, here is how to make cgi in tomcat to know the system property path. 1. download the tomcat source, find the CGIServlet.java 2. add the following line inside setCGIEnvironment method, compile it, create the servlet-cgi.jar file again. envp.put(PATH,

RE: Response.ContentType - not always setting contentType in Header

2002-11-26 Thread Shapira, Yoav
Howdy, I've notice that in a filter I have that the content length is sometimes zero. This never happens the first time a browser requests a particular page but will happen each time after that if the user hits reload. The browser just seems to reload from its own cache. The browser sends the

StackOverflowError when running java bean

2002-11-26 Thread Ming Zhao
Hi there, I met a problem when running java bean online. Please take a look and give some advice. It's a manufacturing-system simulation java bean. On the website, click one button to run the simulation. I can set the beginning simulation time (e.t., from 01/01/2000 to current clicking time). It

RE: verifyError with tomcat and xerces 2.2.1

2002-11-26 Thread Cox, Charlie
you are correct. Java 1.4 does not allow you to override classes already loaded by a parent classloader. Tomcat enforces this. You can replace the version that comes with tomcat if you need a newer version. Charlie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

Thread count growth, /manager/sessions, and persistence

2002-11-26 Thread Mark Walker
I am trying to port an application over to Tomcat v 4.1.12 which has worked fine for two years running in WebSphere on an iSeries. The JSPs were at the .91 level. I have updated them to the 1.2 level. In addition, I have installed the tomcat-util.jar from 4.1.14 to fix the erroneous ssl debug

RE: ldap authenitcation

2002-11-26 Thread Hari Venkatesan
Did you check Catalina_log in /logs directory Hari -Original Message- From: Charlene Mitchell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 3:46 AM To: Tomcat Users List Subject: Re: ldap authenitcation Hi, Is it just not possible to authenticate against LDAP? If not

Can't start tomcat

2002-11-26 Thread marsclifford
Hello, I have downloaded tomcat 4.1.12. When I try to startup the server a DOS Window appears and disappears immediately and I have no comment about what's going on. Can anybody help me? - NetCourrier, votre bureau virtuel sur

SSL Certificate common to apache and Tomcat.

2002-11-26 Thread Joseph Stephen
Hi , We need to run apache and tomcat standalone on the same host both with SSL. Is there any way to use the same SSL certificate for both these webservers ? Regards, Joseph Missed your favourite TV serial last night?

HTTP to HTTPS redirect

2002-11-26 Thread Joel Werginz
All, Been reading posts about this. Changed to HTTP port 80 and HTTPS to port 443. I am using Win2K, IE6. When I type in an http page that is supposed to redirect, I get the following: HTTP Status 500 - Configuration error: Cannot perform access control without an authenticated

Re: Can't start tomcat

2002-11-26 Thread Yandell Cacton
Hi, To see the error message, run the startup script using DOS Window and manually type the startup command, instead of double clicking the icon. My guess would be that the problem is that you haven't setup CATALINA_HOME environment variable. Cheers, Yandell. --- [EMAIL PROTECTED] wrote:

Re: path mapping

2002-11-26 Thread Matthew Hixson
Okay, so Tomcat implements the spec and nothing but the spec then, correct? Thanks, -M@ On Tuesday, November 26, 2002, at 07:39 AM, Jeanfrancois Arcand wrote: See section 11 of the Servlet Specification: http://jcp.org/aboutJava/communityprocess/first/jsr154/ -- Jeanfrancois Matthew

RE: Response.ContentType - not always setting contentType in Header

2002-11-26 Thread neal
Micael, yeah, here's the code I've written that I believe to be applicable. The controlServlet (the first snippet) sets the contentType, gets the out and writes to the writer, the output of the XSLT transformation. This is done by calling transformTOWriter (which is in a dff't class). Note,

How to define another WEBDAV directory to Tomcat 4.0.6 ?

2002-11-26 Thread jjnfg
The default WEBDAV directory that came with Tomcat points to webapps\webdav What are the things I have to define in server.xml and web.xml if i want another WEBDAv folder that points to say , \project\source\ ? Joseph Tan __ Do you Yahoo!?

[Announce] JK 1.2.1 released

2002-11-26 Thread Henri Gomez
Hi to all, mod_jk 1.2.1 has been released and is available at : http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1/ For now binaries are available for : - Linux i386 (Apache 1.3 with/without SSL, Apache 2.0 with SSL) - iSeries (Apache 2.0.39 for OS/400 V5R1/V5R2)

[ANNOUNCEMENT] Apache Tomcat 4.1.16 Alpha released

2002-11-26 Thread Remy Maucherat
Apache Tomcat 4.1.16 Alpha has just been released. Please help improve upcoming Tomcat releases by testing it. Note: This release is intended only for testing purposes, not for production use. Downloads: http://www.apache.org/dist/jakarta/jakarta-tomcat-4.0/release/v4.1.16-alpha/ Significant

Re: Can't start tomcat

2002-11-26 Thread Steve R Burrus
Hello there, you sound like you r definitely the newest of all of the various newbies out there!!! :) Have you yet made sure/certain that you have written all of the environmental variables in the System settings that you ought to have done?!!! These variables are: (1)JAVA_HOME [the main install

RE: Tomcat 4.1.12 Logs??

2002-11-26 Thread Prashanth Pushpagiri
Hi: Here is a portion of my log file...I currently have the pattern set to common. It seems to be printing out section of a jsp page!! Any suggestions? - [26/Nov/2002:15:45:48 -0600] POST /Upload.jsp 200 - font co - [26/Nov/2002:15:47:49 -0600] POST /SubmissionConfirmation.jsp 200 -

Re: tomcat setup

2002-11-26 Thread Mark Walker
I have 4.1.12 installed on a Wallstreet G3 Powerbook and it is running great! There's a document in Apple's Developer Forum (http://developer.apple.com/internet/java/tomcat1.html) that covers installing Tomcat on the Mac. It refers to 4.0.1 but should work fine for you. Actually, it sounds

load balancing tomcat3.3.1

2002-11-26 Thread Yandell Cacton
Hi, I have an application running on tomcat3.3.1 and it is being load balanced using F5 BigIP load balancer hardware. The F5 persistence type is set to Active Cookie persistence and we are experiencing page loading problem (browser keeps on loading the page, even though the server indicates that

looping through ResultSet...later in page

2002-11-26 Thread Adam Nowalsky
i am developing a web application using tomcat and mysql. the requirements of the current functionality on which i am working are such that i need to run a query against a table, and then as i am looping through the ResultSet from that query, i need to be able to execute additional queries and

Re: looping through ResultSet...later in page

2002-11-26 Thread Justin Ruthenbeck
Assuming you really can't do it in a single query, and assuming you don't want/can't use a stored procedure, it wouldn't be considered rudimentary to bring all the data from the first ResultSet locally and walk through it later ... this is what a disconnected RowSet does. Remember also that

Hi all .. licence issue ..

2002-11-26 Thread Eriam Schaffter
I would like to hack a little with tomcat .. I think it would be no problem but my question is if then I want to redistribute a product with tomcat stuff in it what are the requierements ? Does tomcat includes any sun proprietary code ? Is it GPL ? Can I just take tomcat sources, recompile it

RE: Hi all .. licence issue ..

2002-11-26 Thread Subir Sengupta
Have you looked here http://www.apache.org/foundation/licence-FAQ.html -Original Message- From: Eriam Schaffter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 5:54 PM To: [EMAIL PROTECTED] Subject: Hi all .. licence issue .. I would like to hack a little with tomcat .. I

  1   2   >