RE: Help: Jakarta as a service

2002-10-18 Thread Durham David Cntr 805CSS/SCBE
do the logs indicate any errors? -Original Message- From: Ing. Fernando Zapata [mailto:fzapata;icsa.com.ar] Sent: Friday, October 18, 2002 1:31 PM To: [EMAIL PROTECTED] Subject: Help: Jakarta as a service I have installed Jakarta Tomcat as a Service on W2K, the configuration

Tomcat 4.1 and IIS 5

2002-11-07 Thread Durham David Cntr 805CSS/SCBE
Wazzup, Problem is that IIS is not serving up JSPs via Tomcat. Tomcat runs perfectly standalone. IIS is up and running. Jakarta filter shows a green light. The isapi redirect log shows, all is good. Found the mapping, etc. The error message reported to the browser is Unable to load

RE: Using IIS with Tomcat

2002-12-02 Thread Durham David Cntr 805CSS/SCBE
You don't need to make any changes to either server to get them running on the same machine. However, if you want to run them both out of port 80 then you need to look at configuring the Isapi redirector, which you can read all about in the docs under ajp connector (scroll down to the IIS

RE: Not getting CSS with XML

2002-12-02 Thread Durham David Cntr 805CSS/SCBE
Is it possible that you made a change to the xml file that is not showing up in the jsp? The include that you are using is a compile time include meaning that if you change the included xml file without changing the including jsp file then those changes will not be reflected. Dave

ISAPI Redirector for Tomcat 4

2002-07-09 Thread Durham David Cntr 805CSS/SCBE
I'm looking for a binary of the ISAPI_Redirector.dll for Tomcat 4.0.4, I did not see it with jakarta-tomcat-4.0.4.zip, I did see it in with the tomcat 3.3 binaries. Is that the redirector that I need? Also, I didn't see any documentation on the site for how to set this up with 4.0.4, is it

ISAPI and Tomcat 4

2002-07-09 Thread Durham David Cntr 805CSS/SCBE
What kind of connector do I need to setup for the isapi redirector, and can anyone show me an example configuration? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Where to place .jars

2002-07-09 Thread Durham David Cntr 805CSS/SCBE
put in %CATALINA_HOME%\common\lib or WEB-INF\lib of your app -Original Message- From: Makota, Tarik [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 4:46 PM To: '[EMAIL PROTECTED]' Subject: Where to place .jars Hi, I'm runing Tomcat 4.0.4 and have a problem once I place 3-rd

RE: Where to place .jars

2002-07-09 Thread Durham David Cntr 805CSS/SCBE
Sorry didn't read the whole thing. Unjar the 3rd party stuff and remove the offending packages/classes. -Original Message- From: Durham David Cntr 805CSS/SCBE Sent: Tuesday, July 09, 2002 4:48 PM To: Tomcat Users List Subject: RE: Where to place .jars put in %CATALINA_HOME%\common

Context lifecycle Listener configuration

2002-07-10 Thread Durham David Cntr 805CSS/SCBE
Can anyone tell me the syntax for adding an on-start listener to a context in tomcat 4 The manual doesn't have much on it other than Listener className=blah.blah .../ What's the ... Thanks, Dave -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: Context lifecycle Listener configuration

2002-07-10 Thread Durham David Cntr 805CSS/SCBE
create a class that implements the lifecycle listener interface, and put listener className=your.class.name / in the deployment descriptors. C'est tout. Yoav Shapira Millennium ChemInformatics -Original Message- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Sent: Wednesday

RE: Context lifecycle Listener configuration

2002-07-10 Thread Durham David Cntr 805CSS/SCBE
is on destroy ;) Are you missing the JavaDoc for some reason? Yoav Shapira Millennium ChemInformatics -Original Message- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 3:35 PM To: Tomcat Users List Subject: RE: Context lifecycle Listener

RE: JDBC OCI driver + Tomcat 4.04

2002-07-11 Thread Durham David Cntr 805CSS/SCBE
Do you have to install the oracle tnsclient software or something like that to use OCI? -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 9:31 AM To: [EMAIL PROTECTED] Subject: Re: JDBC OCI driver + Tomcat 4.04 The OCI driver is *at least*

RE: JDBC Drivers

2002-07-11 Thread Durham David Cntr 805CSS/SCBE
http://mmmysql.sourceforge.net/ -Original Message- From: Stuart Stephen [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 10:52 AM To: [EMAIL PROTECTED] Subject: JDBC Drivers Hi guys and gals, Could someone give me advice on the best (and free if possible) sql server drivers

RE: PATH issue

2002-07-11 Thread Durham David Cntr 805CSS/SCBE
How did you install the service? Chances are you need to add that to your service installation. -Original Message- From: Andrew Conrad [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 11:36 AM To: 'Tomcat Users List' Subject: RE: PATH issue In Windows NT, just go into your

RE: tomcat 4.0 and IIS Socket Exception

2002-07-11 Thread Durham David Cntr 805CSS/SCBE
SHouldn't you be using the AJP13 connector? -Original Message- From: Diana McLean [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 12:07 PM To: [EMAIL PROTECTED] Subject: tomcat 4.0 and IIS Socket Exception The green arrow is there but I can not access any servlet or JSP as

RE: tomcat 4.0 and IIS Socket Exception

2002-07-11 Thread Durham David Cntr 805CSS/SCBE
that's the apache log or IIS log? -Original Message- From: Diana McLean [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 12:07 PM To: [EMAIL PROTECTED] Subject: tomcat 4.0 and IIS Socket Exception The green arrow is there but I can not access any servlet or JSP as follows:

RE: tomcat 4.0 and IIS Socket Exception

2002-07-11 Thread Durham David Cntr 805CSS/SCBE
- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 1:53 PM To: Tomcat Users List Subject: RE: tomcat 4.0 and IIS Socket Exception that's the apache log or IIS log? -Original Message- From: Diana McLean [mailto:[EMAIL PROTECTED]] Sent: Thursday

RE: newbie

2002-07-11 Thread Durham David Cntr 805CSS/SCBE
Did you read http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html -Original Message- From: Brian Wolf [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 1:15 PM To: Tomcat Users List Subject: newbie Hi, Was wondering about classpath's for servlets?Location:

RE: tomcat 4.0 and IIS Socket Exception

2002-07-11 Thread Durham David Cntr 805CSS/SCBE
Message- From: Durham David Cntr 805CSS/SCBE Sent: Thursday, July 11, 2002 1:36 PM To: Tomcat Users List Subject: RE: tomcat 4.0 and IIS Socket Exception Did you try using the AJP13 connector as described here: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html -Original

RE: Cannot use bean from jsp, but servlet ok. I'm dying!

2002-07-11 Thread Durham David Cntr 805CSS/SCBE
Seems to me that you should give it an id that is different from the class name, FormBean.getUsername() could be confused for a static method call when it is not. -Original Message- From: Ron Day [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 2:04 PM To: Tomcat Users List

RE: Cannot use bean from jsp, but servlet ok. I'm dying!

2002-07-11 Thread Durham David Cntr 805CSS/SCBE
That's not nessecary when referencing the package and the class (class=beans.FormBean) will work regardless of imports as long as it's in the classpath. -Original Message- From: Jackson, Stephen [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 2:15 PM To: 'Tomcat Users List'

getRealPath problem

2002-07-11 Thread Durham David Cntr 805CSS/SCBE
Anyone know why getServletContext().getRealPath(/myApp) would return something like 'c:\webapps\myApp\myApp'? -- note the extra myApp at the end Thanks Dave -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: jsp client to server text file uploads

2002-07-16 Thread Durham David Cntr 805CSS/SCBE
Here's another way, not open source but still free. www.jspsmart.com -- jspSmartUpload -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 10:35 AM To: Tomcat Users List Subject: Re: jsp client to server text file uploads

RE: tomcat+jdbc

2002-07-16 Thread Durham David Cntr 805CSS/SCBE
This is not a JDBC or Tomcat problem. Your jsp is not compiling, probably because IEEMBeans.DBABean is not the classpath for your app. Is this class in web-inf/lib or web-inf/classes? -Original Message- From: Mario Henley Becerril Geldis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July

RE: How to close a response?

2002-07-18 Thread Durham David Cntr 805CSS/SCBE
Need more detail about your problem. Are you having a problem with JSP? -Original Message- From: Jenya Strokin [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 9:17 AM To: [EMAIL PROTECTED] Subject: How to close a response? Hi, I need to close the response completely. In some

RE: How to close a response?

2002-07-18 Thread Durham David Cntr 805CSS/SCBE
, I'll provide more. Thanks for any help. -Original Message- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 10:18 AM To: Tomcat Users List Subject: RE: How to close a response? Need more detail about your problem. Are you having a problem

RE: Tomcat and ASP

2002-07-23 Thread Durham David Cntr 805CSS/SCBE
There's a unix compatible server (http://www.chilisoft.com/) for running asp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 10:25 AM To: Tomcat Users List Subject: Re: Tomcat and ASP

RE: Is the a way to recompile classes....

2002-07-23 Thread Durham David Cntr 805CSS/SCBE
reloadable=true handles classes in /web-inf/classes and jsp's I think. It does not cover jars, so if your uploading a jar to web-inf/lib, then yes, you have to restart tomcat. Does this help? Dave -Original Message- From: Anthony Diodato [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

RE: Tomcat Caching after uploading new files

2002-07-23 Thread Durham David Cntr 805CSS/SCBE
Executing .java files?? Do you have reloadable=true in the Context / element for the app? -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 1:26 PM To: [EMAIL PROTECTED] Subject: Tomcat Caching after uploading new files Hi Everyone, I am

RE: determining URL selected prior to redirection for j_security_check?

2002-07-24 Thread Durham David Cntr 805CSS/SCBE
Yeah, there's a lot of ways to do that. do something like: if (!loggedIn) { response.sendRedirect(login.jsp?redirect= + request.getRequestURI()); return; } then on the login form: input type=hidden name=redirect value=%=

RE: determining URL selected prior to redirection for j_security_check?

2002-07-24 Thread Durham David Cntr 805CSS/SCBE
err... my bad, this is not relevant -Original Message- From: Durham David Cntr 805CSS/SCBE Sent: Wednesday, July 24, 2002 5:09 PM To: Tomcat Users List Subject: RE: determining URL selected prior to redirection for j_security_check? Yeah, there's a lot of ways to do that. do

RE: determining URL selected prior to redirection for j_security_check?

2002-07-24 Thread Durham David Cntr 805CSS/SCBE
-Original Message- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 3:10 PM To: Tomcat Users List Subject: RE: determining URL selected prior to redirection for j_security_check? err... my bad, this is not relevant -Original Message

RE: Tomcato4.0.4 and included jsp compilation problem

2002-07-25 Thread Durham David Cntr 805CSS/SCBE
There are 2 kinds of includes, one is compile time, one is runtime. If you're using a compile time include, i.e. %@ include file=include.jsp% then you need to update the file that is calling the include. For example, 'touch file_that_includes_something.jsp'. This is not a bug.

RE: Tomcat does not pick the modified servlet

2002-07-25 Thread Durham David Cntr 805CSS/SCBE
In %CATALINA_HOME%/conf/server.xml make sure that reloadable=true is in the Context / element for the apps that need to reload modified servlets. reloadable=false will give better performance in a production environment because Tomcat does not have to check for a modified servlet on every

RE: Tomcat 4.03 Classpath

2002-07-25 Thread Durham David Cntr 805CSS/SCBE
I had the same thing(I think). It was something like can't find class org.apache.catalina.PrintWriter or org.apache.catalina.Vector solution was to import java.io.PrintWriter I was going from 3.2.4 to 4.0.4 Hope this helps, Dave -Original Message- From: Ron Day

RE: Tomcat 4.03 Classpath

2002-07-25 Thread Durham David Cntr 805CSS/SCBE
Optionally you can try to import YourClass if you don't want it inside a package, but you're probably better off putting the class into a package. Dave -Original Message- From: Ron Day [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 4:51 PM To: Tomcat Users List Subject:

RE: Tomcat 4.03 Classpath

2002-07-25 Thread Durham David Cntr 805CSS/SCBE
... -Original Message- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 4:52 PM To: Tomcat Users List Subject: RE: Tomcat 4.03 Classpath Optionally you can try to import YourClass if you don't want it inside a package, but you're probably better

tomcat and netscape

2002-07-29 Thread Durham David Cntr 805CSS/SCBE
Anyone know if jakarta entries in netscape's obj.conf file is equivalent to entries in the uriworkermap.properties file when integrating with IIS and Apache? Thanks, Dave -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Problem with IIS Win2K + Tomcat

2002-07-29 Thread Durham David Cntr 805CSS/SCBE
How do you know that Tomcat is intercepting these requests? It sounds to me like it is not. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 1:23 PM To: [EMAIL PROTECTED] Subject: Problem with IIS Win2K + Tomcat I am running

RE: Problem with IIS Win2K + Tomcat

2002-07-29 Thread Durham David Cntr 805CSS/SCBE
isapi_redirector is what you want. You can get it from the tomcat 3.3 distribution Here are possible problems (use the ajp connector docs for IIS as reference) http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html (bottom half of page) Check your registry entries, typos can be a

RE: tomcat and netscape

2002-07-30 Thread Durham David Cntr 805CSS/SCBE
a fair amount about the iPlanet integration. If you have a more specific question then just forward it. I hope that I can help. emmett --- Durham David Cntr 805CSS/SCBE [EMAIL PROTECTED] wrote: Anyone know if jakarta entries in netscape's obj.conf file is equivalent to entries

RE: no-cache where to set?

2002-07-31 Thread Durham David Cntr 805CSS/SCBE
this should work with all http1.1 compatible browsers: response.setHeader(Cache-Control, no-cache); Dave -Original Message- From: slickdev [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 4:27 PM To: Tomcat Users List Subject: no-cache where to set? pardon my

RE: howto avoid overuse of session object?

2002-08-01 Thread Durham David Cntr 805CSS/SCBE
try forums.java.sun.com there's a jsp/servlet forum -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 11:14 AM To: [EMAIL PROTECTED] Subject: OT: howto avoid overuse of session object? This is sort of off-topic, but I don't

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

2002-08-01 Thread Durham David Cntr 805CSS/SCBE
brings nothing?? There is no SQLException, or nullpointer or something like that?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 1:08 PM To: Tomcat Users List Subject: RE: DB2 and servlet ??? Help !!! Hello Mark,

RE: Please help me... URGENT

2002-08-01 Thread Durham David Cntr 805CSS/SCBE
One option is to use IIS + SSL + Tomcat -Original Message- From: Sujith Mathew [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Please help me... URGENT Please help me . My requirements are to serve JSP, Servlets, static

RE: Please help me... URGENT

2002-08-01 Thread Durham David Cntr 805CSS/SCBE
I wouldn't use IIS, especially if you're interested in having a secure server. IIS is historically unsecure. SSL won't mean much if someone can break into your system via your web server. On Thu, 1 Aug 2002, Durham David Cntr 805CSS/SCBE wrote: One option is to use IIS + SSL + Tomcat

RE: JDBC Connection Pools

2002-08-02 Thread Durham David Cntr 805CSS/SCBE
some drivers ship with support for connection pooling. e.g. Oracles latest jdbc drivers -Original Message- From: Peter Mutsaers [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 10:39 AM To: Tomcat Users List Subject: Re: JDBC Connection Pools Chris == Chris Ruegger

RE: Trying to work with JDBC

2002-08-08 Thread Durham David Cntr 805CSS/SCBE
No exceptions being thrown? Dave -Original Message- From: Nagpal, Vikas [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 08, 2002 3:22 PM To: '[EMAIL PROTECTED]' Subject: Trying to work with JDBC Hi everybody, I was trying to connect to the ORACLE database thru the

RE: Trying to work with JDBC

2002-08-08 Thread Durham David Cntr 805CSS/SCBE
Ok, so there are no exceptions being thrown. Is there any data in the database? This is the time to come clean if you're hiding something from us.Why don't you post the code you're using to connect and query the data. -Original Message- From: Durham David Cntr 805CSS/SCBE

RE: Trying to work with JDBC

2002-08-08 Thread Durham David Cntr 805CSS/SCBE
He's not using oracle's jdbc drivers, although maybe that is something to try. I recommend getting the newest drivers from oracle because it has been reduced to a single jar file, is much smaller (I think the old drivers were like 8MBs the new ones are around 2MB), and there is support for

RE: SSL just for a login page

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
Why don't you just build your redirect after they log in. response.sendRedirect(http://; + request.getHostName() + /myApp/home.jsp); -Original Message- From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 8:52 AM To: 'Tomcat Users List'

RE: SSL just for a login page

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
Well, obviously the only thing being protected here is the login and password, user activity after the login will be open to snooping, hijacking, etc. So here's what I think you should do. 1) User logs in through ssl. 2) After a successful login, (still ssl, don't put anything session yet)

RE: SSL just for a login page

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
no solution, as now the oneway hash can be snooped and hijacked. You win absolutly nothing but wasted efford. -Ursprüngliche Nachricht- Von: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 9. August 2002 16:30 An: Tomcat Users List Betreff: RE: SSL just

RE: SSL just for a login page

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
jmeter, available from jakarta.apache.org -Original Message- From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 9:59 AM To: 'Tomcat Users List' Subject: RE: SSL just for a login page Yes, you are probably right, I will have to use ssl. Does

RE: SSL just for a login page

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
post this on the jmeter-user list -Original Message- From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 10:26 AM To: 'Tomcat Users List' Subject: RE: SSL just for a login page just downloaded it version 1.7 using it with java 1.4 beta

RE: Configuration for High TPS

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
You can set up an event listener to cache this data when the context is initialized. That's probably better than making the initial unlucky users wait. -Original Message- From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 12:43 PM To: 'Tomcat Users List'

RE: Configuration for High TPS

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
Have you integrated Tomcat with another webserver for the static content, assuming you have some. That would more than likely improve performance. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 12:52 PM To: 'Tomcat Users List'

RE: tomcat jsse help!

2002-08-12 Thread Durham David Cntr 805CSS/SCBE
create your own keystore: keytool -genkey -alias tomcat -keyalg RSA -keystore tomcatCerts -Original Message- From: Truong Hieu C Sent: Monday, August 12, 2002 10:43 AM To: Tomcat Users List Subject: tomcat jsse help! Hi All, I wanted to turn on https support for tomcat.

RE: tomcat jsse help!

2002-08-12 Thread Durham David Cntr 805CSS/SCBE
succesfully but I still get same error when I startup tomcat. Do I need to do anything else? -Hoang Durham David Cntr 805CSS/SCBE wrote: create your own keystore: keytool -genkey -alias tomcat -keyalg RSA -keystore tomcatCerts -Original Message- From: Truong Hieu C

RE: Quick Question

2002-08-12 Thread Durham David Cntr 805CSS/SCBE
getServletContext.getRealPath(/config.txt) will return the path to config.txt in the root of your apps directory. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 5:00 PM To: Tomcat Users List Subject: Quick Question Hi

RE: Quick Question

2002-08-14 Thread Durham David Cntr 805CSS/SCBE
(getServletContext()) % -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 5:21 PM To: Durham David Cntr 805CSS/SCBE Subject: RE: Quick Question the getServletContext.getRealPath will work in a java bean?? I'm trying to read a txt

RE: Quick Question

2002-08-14 Thread Durham David Cntr 805CSS/SCBE
good point, although if you need to write to the file, getResourceAsStream doesn't work. Is there something else along the same lines that will? -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 10:11 AM To: [EMAIL PROTECTED]

RE: Trying to work with JDBC OCI

2002-08-14 Thread Durham David Cntr 805CSS/SCBE
Ack!! Turn off your mailing list spammer. -Original Message- From: Nagpal, Vikas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 2:57 PM To: '[EMAIL PROTECTED]' Subject: Trying to work with JDBC OCI Hi Everybody, I have been trying to work with JDBC OCI

RE: Errors Compiling a JSP

2002-08-15 Thread Durham David Cntr 805CSS/SCBE
get rid of that bang. The bang is for declaring class level stuff. i.e. % String [] colorValues = ... instead of %! String -Original Message- From: Sharples, Brian [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 10:15 AM To: '[EMAIL PROTECTED]' Subject: Errors

RE: Errors Compiling a JSP

2002-08-15 Thread Durham David Cntr 805CSS/SCBE
Remove the bang. It's that simple. The request object reference does not exist outside of doService. If you don't believe me go to the $CATALINA_HOME\work directory and look at the generated servlet. -Original Message- From: Capr1ce [mailto:[EMAIL PROTECTED]] Sent: Thursday,

RE: new install - JSP failed.

2002-08-16 Thread Durham David Cntr 805CSS/SCBE
Did you install the j2sdk ?? Is java_home set? -Original Message- From: Lihn, Steve [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 12:18 PM To: 'Tomcat Users List' Subject: new install - JSP failed. Hi, I am new to this mailing list and new to Tomcat. I just

RE: Design question

2002-08-19 Thread Durham David Cntr 805CSS/SCBE
Another option might be to use LDAP to query a windows active directory, if you're using that. This would provide a way for you to deal with a users permissions within your app. I haven't done this, and don't ever want to, but I think it's doable. -Dave -Original Message- From:

Tomcat Crash

2002-08-20 Thread Durham David Cntr 805CSS/SCBE
I'll try to make the circumstances of the crash as brief as possible. What I'm doing: Importing data to my app from a comma delimited file. The data is parsed out of the file (one pass through the file only) put into objects and stored as static members of an ImportManager class. The app

RE: Tomcat Crash

2002-08-21 Thread Durham David Cntr 805CSS/SCBE
d -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 8:15 AM To: Tomcat Users List Subject: RE: Tomcat Crash Hi, I suppose you can't post code for confidentiality reasons, so I won't even ask for that. But I have a couple of

RE: Tomcat Crash

2002-08-21 Thread Durham David Cntr 805CSS/SCBE
-Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Did you try to get a new connection each time and not go through the pool? That would degrade performance significantly (although you could just get one connection at the beginning and use it until you're

RE: problems with Connections

2002-08-21 Thread Durham David Cntr 805CSS/SCBE
You need a connection pooler. The Oracle Drivers come with support for connection pooling. -Original Message- From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 1:01 PM To: [EMAIL PROTECTED] Subject: problems with Connections I have this

RE: problems with Connections

2002-08-21 Thread Durham David Cntr 805CSS/SCBE
Every method will have to get it's own connection and close it too. -Original Message- From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 2:56 PM To: [EMAIL PROTECTED] Subject: Re: problems with Connections That's exactly the problem... we

RE: Does closing a Connection variable and setting it to null close all of the ResultSet and Statements?

2002-08-27 Thread Durham David Cntr 805CSS/SCBE
Closing the resultsets, statements and connections frees up database resources. In the case of connection pooling, a call to the close() method may actually be releasing the connection back into the pool. -Original Message- From: Michael Nicholson [mailto:[EMAIL PROTECTED]] Sent:

Repost: Can't upload binaries with JSPSmartUpload, Tomcat and Netscape Server

2002-02-04 Thread Durham David Cntr 805CSS/SCBE
Can upload text files, binary files fail and stderr.log says: IOException: Connection aborted by peer: socket write error I don't know if that means that the connection to the client's browser failed or possibly the connection to Netscape Server failed. Like I said, this only happens

uploading non-ascii files

2002-02-06 Thread Durham David Cntr 805CSS/SCBE
I have a serlvet that accepts a multipart form submission. Inside the request is a file that is to be decoded and stored on the server. My problem is that it doesn't work with binary (non-ascii) data but does work with ascii data. I'm using JSPSmartUpload, which works fine on IIS, but with

work dir corruption

2001-11-26 Thread Durham David Cntr 805CSS/SCBE
Having a problem with pages not loading or throwing a null pointer exception for seamingly no reason at all. However, if I delete the files from jakarta's work directory. The pages will then run properly. I'm using Tomcat-3.2.3 on Windows NT with an ISAPI redirector for IIS. The JSP

RE: url relative to directory path?

2001-11-26 Thread Durham David Cntr 805CSS/SCBE
One idea is to make the application your root context. You will still need to use http://www.qbus.co.nz/servlet/servletName or else do the mappings. If you don't like maintaining the list, write a script to maintain it for you. Should be no problem removing and adding mappings considering

RE: Tomcat is very slow when used with Netscape browser

2001-11-27 Thread Durham David Cntr 805CSS/SCBE
It's not Tomcat that is slow, it's netscapes rendering engine. In other words, the wait is probably for netscape to figure out how to draw the page. I have seen this with large tables, or deeply nested elements. -Dave -Original Message- From: Kiran Kumar [mailto:[EMAIL PROTECTED]]

class cast exception

2001-12-12 Thread Durham David Cntr 805CSS/SCBE
I receive a class cast exception pulling something out of a session after I recompile a servlet. The object I'm pulling out of the session is of a class that has not changed. i.e. I changed a servlet not the class of an object in the session. Restarting Tomcat fixes the problem. This seems

RE: class cast exception

2001-12-12 Thread Durham David Cntr 805CSS/SCBE
- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 1:55 PM To: Tomcat Users List Subject: Re: class cast exception On Wed, 12 Dec 2001, Durham David Cntr 805CSS/SCBE wrote: Date: Wed, 12 Dec 2001 13:48:19 -0600 From: Durham David Cntr 805CSS/SCBE

RE: AccessControlException with Applet

2002-01-14 Thread Durham David Cntr 805CSS/SCBE
I think its the applets security settings you should be looking at. You should know that applets are not by default allowed to make socket connections to computers other than the server the applet came from. Hope this helps, Dave -Original Message- From: Olivier BILLIARD

Can't upload binaries with JSPSmartUpload, Tomcat and Netscape Server

2002-02-01 Thread Durham David Cntr 805CSS/SCBE
I'm locked into Netscape Server for the moment. I can upload text-files fine with jspsmartupload, but when I try to upload binaries it fails. Exact same code works on Tomcat/IIS server, but does not work on Netscape Server. Thought it might have something to do with a proxy, but it didn't.

RE: Question about WAR and application deployment

2001-10-04 Thread Durham David Cntr 805CSS/SCBE
If you use a file URL then it assumes that you are pointing to the file or directory on the machine (server). That means you have to put the application on the server first, FTP, or some other means. If you're working locally it's much easier. If you use some other url for the war parameter as

RE: Urgent: Tomcat-3.2.3 doesn't compile pages jsp

2001-10-04 Thread Durham David Cntr 805CSS/SCBE
Do you have your workers file configured properly? -Original Message- From: Mapoteca Rio [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 1:32 PM To: [EMAIL PROTECTED] Subject: Re: Urgent: Tomcat-3.2.3 doesn't compile pages jsp Thanks, Sriram. I execute o apachectl status

setting default pages for Tomcat

2001-10-18 Thread Durham David Cntr 805CSS/SCBE
I'm using jakarta-tomcat-3.2.3 and I'm trying to setup an application so that index.jsp is the default page for requests to a directory, e.g. http://localhost/context/ I need this request to return http://localhost/context/index.jsp. I know that I could put an index.html file with a

RE: Update JSP

2001-10-25 Thread Durham David Cntr 805CSS/SCBE
If you want to change a JSP page, just modify the file. That's all you have to do. -Original Message- From: Claudia Sarmiento [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 7:43 PM To: '[EMAIL PROTECTED]' Subject: Update JSP Hello: I'm using tomcat 3.2.1, and i want to

RE: problems with browser cache

2002-09-04 Thread Durham David Cntr 805CSS/SCBE
Try using response.setHeader(Cache-control, no-cache) and response.setHeader(expires, -1); That should work. -Original Message- From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 9:28 AM To: [EMAIL PROTECTED] Subject: problems with browser

RE: Managing a Listener

2002-09-10 Thread Durham David Cntr 805CSS/SCBE
-Original Message- From: Milt Epstein [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 2:14 PM To: Tomcat Users List Subject: RE: Managing a Listener On Tue, 10 Sep 2002, Turner, John wrote: From the 4.0 docs: If you have implemented a Java object that needs

RE: How to execute a command line program in jsp or servlet?

2002-09-10 Thread Durham David Cntr 805CSS/SCBE
Executing System.getProperty(user.dir) will tell you what directory you are working out of. -Dave -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 2:46 PM To: Tomcat Users List Subject: RE: How to execute a command line program

RE: one servlet question

2002-09-10 Thread Durham David Cntr 805CSS/SCBE
If this is in regards to DB Connection Pooling, there are other options available. Poolman can be found at sourceforge.com. You are correct to be concerned about creating multiple instances of this GetConnection class. You can correct this by making a call to a static method called

RE: Tomcat 4.1.10 starting problems under WIN2000!

2002-09-12 Thread Durham David Cntr 805CSS/SCBE
set JAVA_HOME to c:\jdsk1.4.0 not c:\jdsk1.4.0\bin -Original Message- From: Alexander Schmidt [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 10:27 AM To: Tomcat Users List Subject: Tomcat 4.1.10 starting problems under WIN2000! Hi! When I want to start Tomcat

multiple mappings to the same context

2002-09-20 Thread Durham David Cntr 805CSS/SCBE
I'm using Tomcat 4.0.4 and need to have multiple mappings (i.e. /MyAPP and /myapp) to the same context. Does anyone know how to do this? THanks, Dave -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

manager app permissions issue

2003-01-10 Thread Durham David Cntr 805CSS/SCBE
Hello, I'm trying to use the manager app but recieve the following error: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.ManagerServlet is privileged and cannot be loaded by this web application Did some looking around and the only thing I can come up with is

RE: Status 404 - resource not available

2003-02-07 Thread Durham David Cntr 805CSS/SCBE
I don't think you have to have one. Here's a minimal one: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app/ -Original Message- From: Kenny G. Dubuisson, Jr.

RE: How do i create a new session ?

2003-02-14 Thread Durham David Cntr 805CSS/SCBE
HttpSession getSession(boolean create) Returns the current HttpSession associated with this request or, if if there is no current session and create is true, returns a new session. This is from the J2EE javadocs which can be found at:

RE: How do i create a new session ?

2003-02-14 Thread Durham David Cntr 805CSS/SCBE
Forgot to include that it is in the HttpServletRequest class. -Dave -Original Message- From: Durham David Cntr 805CSS/SCBE Sent: Friday, February 14, 2003 2:52 PM To: Tomcat Users List Subject: RE: How do i create a new session ? HttpSession getSession(boolean create