RE: IIS and Tomcat basic configuration questions

2003-01-23 Thread Wagoner, Mark
No, Tomcat and IIS can be on different machines (the redirector is on the IIS server, but it is simply a DLL). One of the entries in the properties file used to configure the redirector is the name of the machine where Tomcat is running. This is how the redirector knows where to redirect the

[OT] Charting Libraries

2003-01-10 Thread Wagoner, Mark
I am looking into the ability to add charting capabilities to our intranet app and was wondering if anyone else has experience with any of the available packages. One of the requirements is, of course, that I can create the graphs in Tomcat and send the results to a browser, and I would prefer

RE: HP-UX 10.20 + Oracle

2003-01-08 Thread Wagoner, Mark
As far as I know you should use ojdbc14.jar for Oracle9: Though previous ones should work, the ojdbc14.jar is recommended / needed for Oracle9. {The classnames are different between classes12.jar and the new ojdbc14.jar} On Tue, 2003-01-07 at 17:57, Wagoner, Mark wrote: I think classes12.jar

RE: HP-UX 10.20 + Oracle

2003-01-07 Thread Wagoner, Mark
I think classes12.jar is for JDK 1.2. You want classes111.jar (if you can find it). -Original Message- From: John Clark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 12:54 PM To: 'Tomcat Users List' Subject: HP-UX 10.20 + Oracle Hi there, The story so far: I have an

RE: HP-UX 10.20 + Oracle

2003-01-07 Thread Wagoner, Mark
and the new ojdbc14.jar} On Tue, 2003-01-07 at 17:57, Wagoner, Mark wrote: I think classes12.jar is for JDK 1.2. You want classes111.jar (if you can find it). -Original Message- From: John Clark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 12:54 PM To: 'Tomcat Users List

RE: Easy question - Java Beans

2003-01-03 Thread Wagoner, Mark
If I may jump in...I like to use the Iterator pattern for building select lists. While this may not be the best application for a situation where the list of values is predetermined (such as with states), it works well when reading from a variable list of values such as from a database. In my

RE: tomcat as service

2002-12-30 Thread Wagoner, Mark
That's funny, I have had it running as a service on Win2K for nearly 3 weeks. Guess I better tell the user's its not working. To answer the original question; no, there are no known issues. I don't use the wrapper, I simply select the Run as service option when I install Tomcat. -Original

RE: tomcat as service

2002-12-30 Thread Wagoner, Mark
Tomcat 4.0.4 and Java 1.4.1_01-b01 in production. Tomcat 4.0.6 and Java 1.4.1_01-b01 for development. -Original Message- From: Becky Phaneuf [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 12:41 PM To: [EMAIL PROTECTED] Subject: RE: tomcat as service Please verify the exact

RE: reducing tomcat jasper memory footprint

2002-12-30 Thread Wagoner, Mark
I don't have an answer to your exact question, but given the numbers you cite I would try to come up with an alternative design. Perhaps you can create one JSP page that uses dynamic includes to incorporate the text of the article? Just a thought. -Original Message- From: Julian

RE: byte serving PDFs

2002-12-16 Thread Wagoner, Mark
There is really nothing special about serving a PDF document other than setting the correct MIME type. If you are using Tomcat to serve static PDF files, just make sure the file extension is .PDF and the browser should recognize it properly. If you are dynamically generating the PDF and sending

RE: What do these errors mean?

2002-12-11 Thread Wagoner, Mark
The connection reset by peer error simply means the client closed the connection before all of the output was written. This is usually because the user hit the Stop button or navigated to a different page before the first one was fully loaded. This can also happen if a user double-clicks on a

RE: Tomcat 4.x as NT service

2002-11-12 Thread Wagoner, Mark
It is even easier to run 4.x as a service. It is one of the options when you run the Tomcat installer. -Original Message- From: Richard Hartley [mailto:r.hartley;umist.ac.uk] Sent: Tuesday, November 12, 2002 10:53 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.x as NT service Hi Is it

RE: JDBC Error with Tomcat 4.0.6

2002-11-05 Thread Wagoner, Mark
I'm by no means a SQL Server expert, but based on the error I would guess the driver is not communicating with the server. Can you connect to the database from the Tomcat server but outside of Tomcat (using some query tool)? -Original Message- From: John Mattos [mailto:mattosj;yahoo.com]

RE: How to Capture Error Msgs/Exceptions when Tomcat Die.

2002-11-04 Thread Wagoner, Mark
I think it is called stderr.log. You may also want to check the Window's Event Log. If the OS experienced a problem with the service and had to kill it, it should have recorded an event. I would check both the Application Log and the System Log. -Original Message- From: CHAO,KENT

RE: Warning running startup.bat

2002-10-30 Thread Wagoner, Mark
Sounds like the executable is corrupt. If you run java -version do you get an error? You may need to reinstall the JDK. -Original Message- From: Paul Abrilla [mailto:APCXU;CUNYVM.CUNY.EDU] Sent: Wednesday, October 30, 2002 11:15 AM To: [EMAIL PROTECTED] Subject: Warning running

RE: Tomcat Scalability - Long

2002-10-24 Thread Wagoner, Mark
We have a similar hardware setup (PIII 1GHz 512M) but running Tomcat 4.0.4 on Win2k/IIS and accessing a DB2 database on a separate iSeries server. The system is used by our sales reps in the US and Canada (about 30) over a VPN, so it can see activity at any time. It never really gets hammered

RE: Digested Passwords and Oracle 8.1.7

2002-10-22 Thread Wagoner, Mark
I don't think you are supposed to be able decrypt the passwords. In fact, I would hope that you can't or Oracle would have a big problem. -Original Message- From: Graham Lounder [mailto:lounder;caris.com] Sent: Tuesday, October 22, 2002 8:28 AM To: [EMAIL PROTECTED] Subject: Digested

RE: Oracle jdbc driver not found

2002-10-18 Thread Wagoner, Mark
Tomcat does not use the classpath and, since you are using JDK 1.4, you only need ojdbc14.jar (the zip files are for older versions of Java). Put the jar file in the WEB-INF/lib directory of your web app. Tomcat will automatically load it from there. -Original Message- From: Eddie Liang

RE: Oracle jdbc driver not found

2002-10-18 Thread Wagoner, Mark
subdirectory under %catalina_home%\webapps\ROOT\WEB-INF\, could I create one and put ojdbc14.jar in it? Thank you Eddie Liang Database Architect Phone: 630-810-9669 x253 -Original Message- From: Wagoner, Mark [mailto:MWagoner;wild-flavors.com] Sent: Friday, October 18, 2002 11:03 AM To: 'Tomcat

RE: Java Question

2002-10-15 Thread Wagoner, Mark
A service will start without a user logged in (if the startup mode is set to Auto) and continue to run after they log out. Anything in the startup folder doesn't start until the user logs in and is terminated when the log out. -Original Message- From: Gaull, Kathy [mailto:[EMAIL

RE: jdbc ClassNotFound error

2002-10-03 Thread Wagoner, Mark
Put your class file in /usr/local/tomcat/webapps/ROOT/WEB-INF/classes Put classes.jar in /usr/local/tomcat/webapps/ROOT/WEB-INF/lib Tomcat will look in WEB-INF/lib for your jar files, not on the classpath (in fact, you can remove the reference from you classpath). -Original Message-

RE: Tomcat as service - space in path in wrapper.properties - workaround

2002-10-01 Thread Wagoner, Mark
An even easier solution is to select the NT Service option when installing Tomcat. Then you don't even need jk_nt_service. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 1:02 PM To: [EMAIL PROTECTED] Subject: Tomcat as service -

RE: JDBCRealm question

2002-09-19 Thread Wagoner, Mark
The UnsatisfiedLinkError is usually an indication that LD_LIBRARY_PATH is not set properly (if on *nix) and/or ORACLE_HOME is not set correctly. If you are on Windows, also add %ORACLE_HOME%\bin to your path. -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED]] Sent:

RE: Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-05 Thread Wagoner, Mark
I got this same error when I moved from 1.3.1 to 1.4.0, so I don't think it is something in the JDK. Unfortunately, I can't remember exactly how I fixed it. I *think* it was because I still had an old version of the JRE floating around on the machine. But like I said, I'm not sure anymore. I

RE: REPOST:Connection refused problem

2002-08-30 Thread Wagoner, Mark
Well, it sounds like you have several problems but it is hard to diagnose with the information supplied. What is an 'X' database? Are you using a JDBC driver to connect to it? The IOException about the LOG/BAN files is not a Tomcat message. Is your servlet trying to do some sort of logging?

RE: Simple WAR files

2002-08-30 Thread Wagoner, Mark
I would use an IDE like Netbeans or Forte to get started. It will do most of this for you, including packaging the entire app into a WAR file. Once you go through the process within the IDE it starts to make much more sense. -Original Message- From: James [mailto:[EMAIL PROTECTED]]

RE: Simple WAR files

2002-08-30 Thread Wagoner, Mark
To: 'Tomcat Users List' Subject: Re: Simple WAR files -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Aug 30, 2002 at 11:41:19AM -0400, Wagoner, Mark wrote: I would use an IDE like Netbeans or Forte to get started. It will do most of this for you, including packaging the entire app

RE: DistributedManager Qustion

2002-08-30 Thread Wagoner, Mark
Server A has a catastrophic failure and dies (or some idiot unplugs it). ROTFL - I was doing a customer install once and left for the night. When the cleaning lady came in she needed to plug in her vacuum cleaner. Guess where she found the outlet. Oddly enough, this was at a hospital. Sorry

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread Wagoner, Mark
When you say it returns a status, do you mean it is a function (I work primarily with Oracle, so if this does not apply to MS I apologize)? If so, you need to make the call something like: CallableStatement stmt = conn.prepareCall({call ? = proc(?,?, ... )}); -Original Message- From:

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread Wagoner, Mark
Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 12:31 PM To: 'Tomcat Users List' Subject: RE: OFF-TOPIC: Pointers to CallableStatement docs? When you say it returns a status, do you mean it is a function (I work primarily with Oracle, so if this does not apply

RE: DB2 and servlet ??? Help !!!

2002-08-01 Thread Wagoner, Mark
I think you are attempting to output the value if there is nothing in the result set. if(!rs.next()) The .next() method will return true if it was able to fetch a row. You are saying, if there is no row then... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

RE: Newbie Question about logging

2002-06-11 Thread Wagoner, Mark
Take a look at Log4j http://jakarta.apache.org/log4j/docs/index.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 7:15 AM To: [EMAIL PROTECTED] Subject: Newbie Question about logging Hi All, I have just started using 1.4 and

RE: jk_nt_service.exe with Tomcat V4.0.3

2002-06-11 Thread Wagoner, Mark
I don't know if it is compatible or not, but it is not necessary. The Tomcat 4.x installer includes a run as service option during installation. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 7:14 AM To: [EMAIL PROTECTED] Cc: [EMAIL

RE: Auto Start Tomcat

2002-06-11 Thread Wagoner, Mark
CRON is to run jobs at a scheduled time. The init scripts are what starts processes at boot up. Just a word of warning; being a fairly recent Windows-to-Linux convert myself, be prepared to read and reread the docs before you get it working. ;-) -Original Message- From: Wynn Ricks

RE: I really need help.

2002-06-11 Thread Wagoner, Mark
You might check to make sure IIS is NOT trying to perform authentication. On the properties sheet for the site, allow anonymous access and disable IIS authentication. HTH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 2:50 PM To:

RE: I really need help.

2002-06-11 Thread Wagoner, Mark
disable IIS authentication? I already allowed anonymous access. Thanks. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 1:53 PM To: 'Tomcat Users List' Subject: RE: I

RE: Details on IIS/Tomcat Question

2002-06-07 Thread Wagoner, Mark
I couldn't help noticing that the extension_uri in the Registry entry has isapi_redirect.dll instead of isapi_redirectOR.dll. I finally noticed that the instructions say to download the Tomcat 3.3 isapi_redirect.dll! Then why is there a file with a different name in the Tomcat 4.0.3 area,

RE: Problems in redirecting requests from IIS to Tomcat 4

2002-06-07 Thread Wagoner, Mark
If I recall... Go to the Properties page of the web server and select the Directory Security tab. Click the Edit button for Anonymous Access and Authentication Control. Select Anonymous Access and un-select everything under Authenticated Access. HTH -Original Message- From: Luca

RE: access to HttpHeader

2002-06-07 Thread Wagoner, Mark
request.getHeader() response.setHeader() -Original Message- From: Ekkehard Gentz [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 9:01 AM To: Tomcat Users List Subject: access to HttpHeader hi, is there a way to have access to the HttpHeader from Tomcat ? I want to set

RE: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Wagoner, Mark
Since you are using WARP exclusively, you can remove the Tomcat-Standalone service from your server.xml file. After you restart Tomcat, it will no longer be listening for HTTP requests. -Original Message- From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06,

RE: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Wagoner, Mark
] _ -Ursprüngliche Nachricht- Von: Wagoner, Mark [SMTP:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 6. Juni 2002 18:13 An: 'Tomcat Users List' Betreff: RE: Access-Control for Tomcat-Webserver (Version 4.0.1) Since you are using WARP exclusively, you can remove

RE: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Wagoner, Mark
] _ -Ursprüngliche Nachricht- Von: Wagoner, Mark [SMTP:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 6. Juni 2002 19:17 An: 'Tomcat Users List' Betreff: RE: Access-Control for Tomcat-Webserver (Version 4.0.1) Sorry

RE: Tomcat 4 install / config

2002-05-29 Thread Wagoner, Mark
There are documents on the Apache website: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html Although if you are new to Tomcat I would suggest you work with it in stand-alone mode for a while. Several people have reported that Tomcat by itself is a fairly robust web server. You

RE: [REPOST] Tomcat 3.2.3 running as a service in Win2k

2002-05-24 Thread Wagoner, Mark
If at all possible, I would move to Tomcat 4. The installation program has a run as service option. That way it is configured for you. -Original Message- From: Evans, Sean [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 3:23 PM To: '[EMAIL PROTECTED]' Subject: [REPOST] Tomcat

RE: Unsatisfied link error with Oracle OCI on Solaris

2002-05-24 Thread Wagoner, Mark
Did you verify your ORACLE_HOME environment variable? If this is not set, the Oracle client cannot find the necessary files. -Original Message- From: Mark Schmeets [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 4:09 PM To: [EMAIL PROTECTED] Subject: Unsatisfied link error with

RE: IIS and Tomcat: I am stuck with this for last two days : Can somebody help

2002-05-23 Thread Wagoner, Mark
The default registry entries have a typo. Check the value for: HKEY_LOCALMACHINE\Software\Apache Software Foundation\Jakarta Isapi Redirector\1.0\extension_uri The default value is isapi_redirect.dll, but the DLL name is isapi_redirector.dll. Also check the name of your worker.properties

RE: Newbie Alert! - including a a JavaScript src file in a servlet

2002-05-16 Thread Wagoner, Mark
Your browser cannot view files under the WEB-INF directory. Create one under ROOT (e.g., scripts) and point the source attribute at that (src=/scripts/code_lib.js). Just make sure you put your file there, too. ;0) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

RE: Yet Another IIS/Tomcat Problem

2002-05-15 Thread Wagoner, Mark
/howto/tomcat/iisnt/#4 -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: May 14, 2002 15:39 To: Tomcat User List (E-mail) Subject: Yet Another IIS/Tomcat Problem I have Tomcat 4.0.3/isapi_redirect.dll mostly working on a Win2k server but get the following

Yet Another IIS/Tomcat Problem

2002-05-14 Thread Wagoner, Mark
I have Tomcat 4.0.3/isapi_redirect.dll mostly working on a Win2k server but get the following in the log file: [...] [jk_isapi_plugin.c (439)]: HttpFilterProc [/home] is a servlet url - should redirect to ajp13 [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/home] is points to the web-inf

RE: Tomcat on Win98

2002-05-09 Thread Wagoner, Mark
I doubt Win98 can handle it. I know NT workstation places a limit on 10 simultaneous network connections (this is one of the differences between workstation and server). My guess is 98 is the same if not less. -Original Message- From: Marc Chamberlin [mailto:[EMAIL PROTECTED]] Sent:

RE: Log the amount of time taken to complete a request...

2002-05-03 Thread Wagoner, Mark
If you are using the default server.xml file, the entries are being written using the common pattern. This is defined as: %h %l %u %t %r %s %b where %b is the number of bytes sent in the reponse, excluding headers. According to the docs, there is no pattern attribute to record the total time

RE: Log the amount of time taken to complete a request...

2002-05-03 Thread Wagoner, Mark
On the Tomcat site: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/valve.html -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 12:58 PM To: [EMAIL PROTECTED] Subject: RE: Log the amount of time taken to complete a request... Where

RE: A bit off topic

2002-05-02 Thread Wagoner, Mark
You can't do it directly, but using a loop and JavaScript's literal initializer you can create the JS code to do it. (Note: this is not the most efficient way to do it, you should use a StringBuffer to build the variable.) String jsVar = [ + array[0]; for (int i = 1; i

RE: How select a printer to print

2002-04-24 Thread Wagoner, Mark
This is more a general Java question than a Tomcat question. Perhaps you should do a search for enumerating printers through JNI. -Original Message- From: Jack Li [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 10:47 AM To: 'Tomcat Users List' Subject: RE: How select a

RE: Want to grab SQL stmt from executing servlet

2002-04-12 Thread Wagoner, Mark
If the database is Oracle there is a system table called V$SQLAREA that holds this information. -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 10:17 AM To: [EMAIL PROTECTED] Subject: Want to grab SQL stmt from executing servlet Hello, I

RE: Configuration information

2002-04-12 Thread Wagoner, Mark
You can put these as init-param entries in web.xml. If I have a large number of them and/or the administrator may need to edit them, I put them in a properties file and create an init-param entry that points to this file. I trust someone editing the properties file more than the deployment

RE: Configuration information

2002-04-12 Thread Wagoner, Mark
Typically, my servlets read these values and pass them to the various beans when they use them. This is usually passed to the constructor but it depends on the situation. -Original Message- From: Danilo Luiz Rheinheimer [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 10:57 AM

RE: Restricting access by machine

2002-04-11 Thread Wagoner, Mark
Can you use request.getRemoteAddr() and use the machine's IP address? -Original Message- From: Iain Darroch [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 11:22 AM To: Tomcat Users List Subject: RE: Restricting access by machine I dont think that would work as I want other

RE: Includes disappearing

2002-04-11 Thread Wagoner, Mark
Do you have flush=true? I have to include this attribute in the code while I am developing it in Forte (since it is still using the old JSP spec) but found if I don't remove it in production (since Tomcat 4 uses the new spec), I will occasionally have the same problem. -Original

RE: Working Directory

2002-04-03 Thread Wagoner, Mark
I place my properties files in the WEB-INF directory and do the following to find them - String webInfFolder = getServletContext().getRealPath(/WEB-INF) -Original Message- From: Sanjay Bahal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 11:34 AM To: tomcat Subject: Working

RE: Newbie installation question

2002-03-27 Thread Wagoner, Mark
Actually, the default on Linux is 8180 for some reason. You should still check your server.xml file to make sure that is what it is set to, however. -Original Message- From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 3:46 PM To: 'Tomcat Users List'

RE: Newbie installation question

2002-03-27 Thread Wagoner, Mark
If you do a ps -aux, does it show a Java process running? -Original Message- From: Zoe Adams [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 3:50 PM To: 'Tomcat Users List' Subject: RE: Newbie installation question Tried localhost:8080, but still get the same message. In

RE: AW: Multiple users share java bean?

2002-03-26 Thread Wagoner, Mark
Are you sure you really want independent instances of the bean, or just the ability to keep the variable values separate by user? If it is the latter, then just use local variables in your bean methods. -Original Message- From: Chenming Zhao [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

RE: AW: Multiple users share java bean?

2002-03-26 Thread Wagoner, Mark
: AW: Multiple users share java bean? - Original Message - From: Wagoner, Mark [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, March 26, 2002 2:12 PM Subject: RE: AW: Multiple users share java bean? Are you sure you really want independent instances

RE: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Wagoner, Mark
Did you add a Census context to your server.xml file? -Original Message- From: Jim Cobban [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 9:51 AM To: Tomcat Users List Subject: Urgent Re: Newbie: Servlet under Windows does not run I am really desperate. I need to be able to

RE: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Wagoner, Mark
What URL are you using to get to the servlet? -Original Message- From: Jim Cobban [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 12:47 PM To: Tomcat Users List Subject: Re: Urgent Re: Newbie: Servlet under Windows does not run - Original Message - From: Wagoner, Mark

RE: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread Wagoner, Mark
if the servlet is actually being located or not. -Original Message- From: Jim Cobban [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 1:34 PM To: Tomcat Users List Subject: Re: Urgent Re: Newbie: Servlet under Windows does not run - Original Message - From: Wagoner, Mark

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Wagoner, Mark
Is it possible to change the Create servlet to a simple class that accepts the request as a parameter? Since it does not manipulate the response object, there is no need to pass it. Also, you can then call Create using a regular method invocation, rather than using forward. It may require some

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Wagoner, Mark
, NC 27514 (919) 967-2399 ext: 251 [EMAIL PROTECTED] http://www.healthdec.com -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 8:58 AM To: 'Tomcat Users List' Subject: RE: How can I resolve this IllegalStateException: Response has a lrea dy

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Wagoner, Mark
Actually, the way forward works came as a surprise to me as well. And I only figured it out after a few days of testing and head-scratching. :) Since the session is held in the request object, changes made to it should be available to the original Home servlet by calling request.getSession

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Wagoner, Mark
-Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: 08 March 2002 14:52 To: 'Tomcat Users List' Subject:RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem? Actually, the way forward works came as a surprise

RE: client side object to server side

2002-03-07 Thread Wagoner, Mark
I have been developing an app that needs to send large amounts (~kilobytes) of structured data between the server and the client. I have been working on a framework to facilitate this by using JavaScript's object notation. Essentially, I have a JavaScript function that converts a JavaScript

RE: NEED HELP TO DEFINE ENTRY POINT FOR MY APPLICATION

2002-03-06 Thread Wagoner, Mark
I would use a servlet rather than a JSP, since it will not have a UI. You then point all of your servlet-mappings in the web.xml file to this servlet. -Original Message- From: Gurmeet [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 9:32 AM To: Tomcat Users List Subject: NEED

RE: Getting multiple instances of my servlet, although it doesn't implement SingleThreadModel

2002-03-01 Thread Wagoner, Mark
I don't think this is exactly true. I have an app using the mediator design pattern, in which there is only one servlet handling all requests (all of my servlet mappings point to the same servlet). It in turn hands the requests off to various classes and/or JSP pages for actual processing.

RE: Debugging JSPs and Servlets

2002-02-27 Thread Wagoner, Mark
Take a look at Log4j http://jakarta.apache.org/log4j/docs/index.html It has been the greatest debugging tool I have found. -Original Message- From: Nitin Vira [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 12:47 PM To: Tomcat Users List Subject: Debugging JSPs and

RE: triggering JSP page recompilation

2002-02-01 Thread Wagoner, Mark
You don't have to touch all the files. Just the JSP that contains the include directive. Tomcat uses the date of the JSP file to determine if it needs to be recompiled. If it does, then it will re-read any included files. -Original Message- From: Guillermo Payet [mailto:[EMAIL

RE: triggering JSP page recompilation

2002-02-01 Thread Wagoner, Mark
You really want to use the dynamic directive if the file being included is another JSP file. Otherwise you will get the source of the included JSP in the output, not the output of the included JSP. That came out pretty clear. :-) -Original Message- From: Clay Mitchell [mailto:[EMAIL

RE: IllegalStateException in releasePageContext

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

RE: Log messages

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

RE: Invoking a process on the server from a servlet

2002-01-22 Thread Wagoner, Mark
The problem is due to NT (or 2000) not allowing the Tomcat service to interact with the desktop. If you bring up Task Manager, you will probably see your invoked process running, but it can't create window. In fact, the only way you will now be able to get rid of it will be to kill it in Task

RE: Invoking a process on the server from a servlet

2002-01-22 Thread Wagoner, Mark
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 11:08 AM To: Tomcat Users List Subject: Re: Invoking a process on the server from a servlet - Original Message - From: Wagoner, Mark [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, January 22, 2002 3:45 PM

JSP Won't Compile Under Tomcat 4

2002-01-18 Thread Wagoner, Mark
I am trying to move an app from Tomcat 3.3 to 4.01 and am running into a really strange problem. Everything works fine except for my error page, which won't compile. I get the following: 2002-01-18 09:08:18 ApplicationDispatcher[] Servlet.service() for servlet jsp threw exception

RE: JSP Won't Compile Under Tomcat 4

2002-01-18 Thread Wagoner, Mark
I'm not importing it because I am not using directly. Tomcat is throwing the error when it is invoking its internal JSP compiler. To be honest, I don't even know which JAR file the org.apache.jsp package is in. -Original Message- From: Justin Rowles [mailto:[EMAIL PROTECTED]] Sent:

RE: JSP Won't Compile Under Tomcat 4

2002-01-18 Thread Wagoner, Mark
Well, that helped. Although just importing the package wasn't enough. I had to change the scriptlet in the JSP to specifically say java.io.PrintWriter. Now I am getting an IllegalStateException, but at least one hurdle is over. I still can't understand why none of this was necessary under

RE: Session Tracking throughout apps

2002-01-18 Thread Wagoner, Mark
Unfortunately, I think the answer to your question is it depends. You could code the controller servlet to handle all of the requests, in which case you would want to make it as small and fast as possible. Possibly get the session info, request a login if there is no session (if that is a