RE: Help on error?

2001-03-19 Thread Randy Layman
rs.close(); stmt.close(); I'll warn you now, the JDBC-ODBC bridge will cause you lots of problems and you should avoid it. You can search on Sun's BugParade to find out more about its flaws. If you need to access MS Access, I believe that there are a few other drivers

Closing ResultSet and Statement?

2001-03-19 Thread Mick Sullivan
Hi Does anyone know how to close a ResultSet? Heres my code: public String getName() throws Exception { Statement statement = connection.createStatement(); int myInt = 1; ResultSet rs = statement.executeQuery("SELECT Name"+ " FROM

Re: Super Newbie...

2001-03-19 Thread Bo Xu
"Joel R. Cochran" wrote: Sorry for the super newbie question, but where can I get download/install instructions??? I downloaded all of the files in the V3.2.1/bin, but there is no text file...no instructions. How do I get started? Joel Hi :-) when I installed TC3.2.1 in winnt40: -

RE: Super Newbie...

2001-03-19 Thread Joel R. Cochran
Thanks Bo, I tried to install it...but. 1. I've extracted both .zip files 2. Set TOMCAT_HOME to my directory 3. Tried to execute "bin\startup" 4. Received the following: C:\Tomcat\jakarta-tomcat-3.2.1bin\startup Out of environment space Out of environment space

RE: Super Newbie...

2001-03-19 Thread Tagunov Anthony
On Mon, 19 Mar 2001 15:57:56 -0500, Joel R. Cochran wrote: Thanks Bo, I tried to install it...but. 1. I've extracted both .zip files 2. Set TOMCAT_HOME to my directory 3. Tried to execute "bin\startup" 4. Received the following: C:\Tomcat\jakarta-tomcat-3.2.1bin\startup Out

Re: Super Newbie...

2001-03-19 Thread Bo Xu
"Joel R. Cochran" wrote: Thanks Bo, I tried to install it...but. 1. I've extracted both .zip files 2. Set TOMCAT_HOME to my directory 3. Tried to execute "bin\startup" 4. Received the following: C:\Tomcat\jakarta-tomcat-3.2.1bin\startup Out of environment space

RE: Closing ResultSet and Statement?

2001-03-19 Thread William Kaufman
Does anyone know how to close a ResultSet? Note that this isn't a Tomcat question: there are newsgroups and mailing lists specifically for JDBC. Heres my code: public String getName() throws Exception { Statement statement = connection.createStatement(); int

Can Tomcat3.2 run with IIS on Windows2000 Professional?

2001-03-19 Thread John Chen
Title: Can Tomcat3.2 run with IIS on Windows2000 Professional? Hi, recently I have tried to run Tomcat3.2 on windows 2000 with IIS, I have configured the Tomcat but It seems don't run on windows2000, Can the Tomcat run on the windows2000 with IIS5.0? Thanks John Chen Software Engineer

Re: welcome-file problem

2001-03-19 Thread Milt Epstein
On Mon, 19 Mar 2001, Arnaud Vandyck wrote: Martin Mauri wrote: Here's a guess (an educated one, since I had similar problems :-): You're not specifying appropriate directives in the tomcat/apache conf file to tell apache to pass that URL to tomcat. Hence, apache is handling that

RE: Super Newbie...

2001-03-19 Thread Joel R. Cochran
okokokok... 1. I renamed my directory structure "c:\jsp\tomcat" 2. I set TOMCAT_HOME to this directory 3. I set JAVA_HOME to "c:\jdk1.3" 4. I ran the "COMMAND.COM..." over my C: as Bo suggested. 5. I tried startup again and got: Out of environment space Out of environment space

RE: Windows 2000 and Tomcat

2001-03-19 Thread Dianne Cree
I had that happen once and I'm not sure why. I went back and basically rehooked it up. I went through all the steps again and looked for mistakes and then removed my isapi filter and then added it again. Mine's green now and usually stays that way (thank God). -Original Message- From:

Running Tomcat on port 80 under non root?

2001-03-19 Thread Alec Bau
On Solaris 2.7 we need Tomcat process to use port 80 but to run under id other than root. Is there a trick or conf option to do this, i.e. grab port 80 under root and then set user id to something else? Or the only way is to modify source and to call setuid via JNI after socket is bound? Thanks,

RE: Super Newbie...

2001-03-19 Thread Jon Barber
Hi Joel, Are you using Win95 or similar ? These tend to have small environment spaces command line lengths, which is what you are seeing. You can get around these (a bit) by setting more environment space in your DOS box. However, a better solution is to use a generic solution where a Win32

RE: Super Newbie...

2001-03-19 Thread Joel R. Cochran
Hi Jon, This box is a Win98 I was just playing around with trying to get an understanding of Tomcat. Eventually it will be implemented on an NT4.0 workstation. I'll take a look at JBuilder, but I guess I still don't really understand what it does. Should I wait until I can install this on NT? I

Tags and Sendredirect

2001-03-19 Thread Scott Walter
Is this even possible: I have a JSP page called (page1.jsp), that uses jsp:include to include page2.jsp. Page2.jsp has a custom tag on it. Inside my custom tag based on a condition I want to send the user to another page, let's say page3.jsp. The way I attempted to do this is within my custom

RE: Super Newbie...

2001-03-19 Thread Jon Barber
Hi Joel, Under NT you shouldn't get the same problem - it's a bit more civilized :-). The problem is that Java programs tend to have long command lines and environment variables. Each process has a fixed amount of environment space, and you're seeing all yours consumed by the batch file.

Re: Tags and Sendredirect

2001-03-19 Thread Craig R. McClanahan
On Mon, 19 Mar 2001, Scott Walter wrote: Is this even possible: I have a JSP page called (page1.jsp), that uses jsp:include to include page2.jsp. Page2.jsp has a custom tag on it. Inside my custom tag based on a condition I want to send the user to another page, let's say page3.jsp.

RE: Closing ResultSet and Statement?

2001-03-19 Thread Dianne Cree
rs.close, isn't it? -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 12:49 PM To: [EMAIL PROTECTED] Subject: Closing ResultSet and Statement? Hi Does anyone know how to close a ResultSet? Heres my code: public String getName() throws

RE: Can Tomcat3.2 run with IIS on Windows2000 Professional?

2001-03-19 Thread Dianne Cree
Title: Can Tomcat3.2 run with IIS on Windows2000 Professional? yes -Original Message-From: John Chen [mailto:[EMAIL PROTECTED]]Sent: Monday, March 19, 2001 1:11 PMTo: [EMAIL PROTECTED]Subject: Can Tomcat3.2 run with IIS on Windows2000 Professional? Hi, recently I have

mod_rewrite.so / mod_rewrite.dll / difference

2001-03-19 Thread brian luk
Hi, can any one tell me what's the difference between .so file and .dll files inside the module directory (Win32 )? what i think is .so is module file for unix and dll is for win32 is that right? But when i install the apache web server, inside module dir is all .so files. any where i can

adding Context Administration

2001-03-19 Thread Batsheva Raviv
Hello When I try to add context Admin, I get the following error: Error: 500 Location /admin/contextAdmin/contextAdmin.jsp you must mark the administration application as trusted Can anyone help me understand what did I missed? Batsheva

RE: Can Tomcat3.2 run with IIS on Windows2000 Professional?

2001-03-19 Thread Dianne Cree
Title: Can Tomcat3.2 run with IIS on Windows2000 Professional? oh, wait rs.close is asp. sorry bout that. I think the correct answer was a few mails ago. -Original Message-From: Dianne Cree [mailto:[EMAIL PROTECTED]]Sent: Monday, March 19, 2001 2:25 PMTo: [EMAIL

RE: Closing ResultSet and Statement?

2001-03-19 Thread Dianne Cree
sorry, rs.close is asp. the correct java code came a few mails ago -Original Message- From: Dianne Cree [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 2:25 PM To: [EMAIL PROTECTED] Subject: RE: Closing ResultSet and Statement? rs.close, isn't it? -Original Message-

Qs on Load Balancing and JkMount

2001-03-19 Thread Amir Nuri
All the examples and archive messages that I have seen so far talk about load balancing using either multiple JVM's or Multiple Connector Directives with different port numbers and corrosponding workers in the workers.properties file. But they all use different Mount Moints for each worker !

RE: Closing ResultSet and Statement?

2001-03-19 Thread Grewal, Gary
Title: RE: Closing ResultSet and Statement? You close the statement Object by calling .close() on it. === Gary Grewal -Original Message- From: Dianne Cree [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 4:33 PM To: [EMAIL PROTECTED] Subject: RE: Closing ResultSet and

RE: Closing ResultSet and Statement?

2001-03-19 Thread Grewal, Gary
Title: RE: Closing ResultSet and Statement? or you can even close the Connection object by calling .close() on it. this will close all the underlying statement and ResultSet Object. I hope this is what you meant by close. === Gary Grewal Contractor NEC America Phone: 214-262-5911 E-Mail:

Re: Off topic - Object Relational design

2001-03-19 Thread Alex Fernández
Hi Manmeet! Manmeet Anand wrote: Dear all, can anyone recommend books or papers discussing object relational design. If you mean 'Object-Oriented Design': The subject, as you will know, is a very broad one. I'd suggest - 'Object-Oriented Programming and the Objective-C Language', an

RE: How can I access tomcat's admin pages?

2001-03-19 Thread Bob Cullen
I'm new as well. It doesn't seem to be documented anywhere easy to find and should be I've wasted about three hours finding the answer Make an addition to the tomcat-users.xml. See the admin line. It appears that the roles="admin" is the important bit. You can now logon with user admin

Is launching threads okay in a web app?

2001-03-19 Thread David Wall
I know that in the EJB model, it's not correct that beans launch their own threads. Is that also true for webapps in tomcat? Is there a portability issue if I have a servlet launch it's own thread for doing application-based housekeeping chores, such as listening for new messages via JMS and

Re: Is launching threads okay in a web app?

2001-03-19 Thread David Bullock
David, this should be fine, as per the init() and destroy() methods. regards, David. On Mon, 19 Mar 2001, David Wall wrote: I know that in the EJB model, it's not correct that beans launch their own threads. Is that also true for webapps in tomcat? Is there a portability issue if I

Re: Is launching threads okay in a web app?

2001-03-19 Thread Craig R. McClanahan
On Mon, 19 Mar 2001, David Wall wrote: I know that in the EJB model, it's not correct that beans launch their own threads. Is that also true for webapps in tomcat? Is there a portability issue if I have a servlet launch it's own thread for doing application-based housekeeping chores,

Using JDBCRealms

2001-03-19 Thread William Kaufman
(I posted this before, but I haven't seen any responses. I've added some more information.) (Tomcat version 3.2.1.) I'm trying to use JDBCRealm to manage access to some static files. Is there any documentation for that? I've successfully configured authorization in web.xml:

RE: org.apache.tomcat libraries

2001-03-19 Thread Batsheva Raviv
Thank you very much Anthony. Can you please refer me to documentation. I tried to download the source jakarta-tomcat-3.2.1-src.zip from http://jakarta.apache.org/site/sourceindex.html and I couldn't find the documentation about the package org.apache.tomcat* Thank you, Batsheva -Original

Re: Can't get Tomcat to support JDBC 2.x API

2001-03-19 Thread java4dinman
Please refer C:\tomcat\src\catalina\docs\JDBCRealm-howto.html Enjoy being an Indyan at http://www.indya.com

Need help identifying the browser a user is using

2001-03-19 Thread Gerard Monsen
I'd like my servlet to return content based on the browser the user is using. I know that at least Netscape and IE identify themselves using the "user-agent" field. However, their syntax between them and at least between two different versions of Netscape are very different. For example:

how can I get site wideSSL only

2001-03-19 Thread Mark W . Webb
What do I do in order to get SSL only for the tomcat contexts? I have set up a SSL virtual host in apache, and my context points to the same directory for tomcat. The servlets and JSP load fine, but they load fine in http and https. I only want to be able to run the servlets and JSP in

Re: Need help identifying the browser a user is using

2001-03-19 Thread Shawn
I dk if this answers your question but one suggestion I've seen suggests testing for IE first and the netscape afterward. (from JAVAServer pages H.Bergsten) For example... %@ page language="java" contentType="text/html" % html body bgcolor="white" % if

Re: include problem

2001-03-19 Thread Kishor K
Title: RE: include problem i want to include a.jsp in b.jsp, c.jsp and d.jsp - Original Message - From: Grewal, Gary To: '[EMAIL PROTECTED]' Sent: Monday, March 19, 2001 9:57 PM Subject: RE: include problem instead of ../ just do level21/b.jsp === Gary

Re: include problem

2001-03-19 Thread John Clark L. Naldoza
Hi, Just try to use the full path name, relative you your server's root... And include the files...;-) Cheers, John Clark -- /) John Clark Naldoza y Lopez (\ / )Software Design Engineer II ( \ _( (__ Web-Application

Re: Is launching threads okay in a web app?

2001-03-19 Thread David Wall
Yes, I read that too and decided that starting threads may be problematic if I have to deploy later in some other container. * Some servlet containers (such as Tomcat as an option) can run webapps under a Java security manager, and they may have been configured to not allow webapps to

unable to load javabean with jspc

2001-03-19 Thread Shawn
I'm trying to precompile a jsp with a bean so that I can use it like a servlet, but get a "bean can't be loaded error". How can I adjust things so that jspc can find the bean. Note, if I use the exact same packages and files under Forte it works fine and runs. Also, I've gotten some

TOMCAT + APACHE + WINNT = PAIN

2001-03-19 Thread Arif Tayebali
Follow programmers - Whats up? BTW, im on NT4, Apache1.3, Tomcat3.2 I had a question regarding the Tomcat config files...are you familiar with these files? If so, do i need to keep all my jsp files within the webapps dir or can i place the jsp files anywhere I

Re: Need help identifying the browser a user is using

2001-03-19 Thread Remy Maucherat
I'd like my servlet to return content based on the browser the user is using. I know that at least Netscape and IE identify themselves using the "user-agent" field. However, their syntax between them and at least between two different versions of Netscape are very different. For

RE: TOMCAT + APACHE + WINNT = PAIN

2001-03-19 Thread Mike Braden
Your .jsp files need to be in a webapp or context (not necessarily TOMCAT_HOME/webapps) for Tomcat to process/serve them. On a Unix box, this directory could be anywhere and symbolically linked within TOMCAT_HOME/webapps You can also identify your context with an absolute path. Refer to:

Statically Linking mod_jk

2001-03-19 Thread Goh Chong Leng
All I want is to set up a simple statically linked mod_jk and yet it is absurb to know that neither the documentation nor anyway in the web site such instruction/help is given. I meant it is just ridiculous to expect everyone to use tomcat with DSO option in apache, especially so when every web

RE: Need help identifying the browser a user is using

2001-03-19 Thread thebridgeproductions
Sounds like what you are looking for is browscap.ini. This lists literally hundreds of user-agents. A seriously ridiculous amount. You can get it at cyscape.com. It is a free download somewhere on their site. There may be a version at Microsoft as well. If you have an NT server around it

Re: how can I get site wideSSL only

2001-03-19 Thread Milt Epstein
On Mon, 19 Mar 2001, Mark W. Webb wrote: What do I do in order to get SSL only for the tomcat contexts? I have set up a SSL virtual host in apache, and my context points to the same directory for tomcat. The servlets and JSP load fine, but they load fine in http and https. I only want to

Re: Is launching threads okay in a web app?

2001-03-19 Thread Craig R. McClanahan
On Mon, 19 Mar 2001, David Wall wrote: Yes, I read that too and decided that starting threads may be problematic if I have to deploy later in some other container. * Some servlet containers (such as Tomcat as an option) can run webapps under a Java security manager, and they may have

Re: TOMCAT + APACHE + WINNT = PAIN

2001-03-19 Thread Miles Poindexter
Tomcat + Apache + RedHat Linux = 5 minute painless install and configure :^) (Mac OS X was 5 minutes too . . .) hee hee . . . . - miles On Monday, March 19, 2001, at 10:28 PM, Arif Tayebali wrote: 28L;56L;84L;112L;140L;168L;196L;224L;252L;280L;308L;336L; Follow programmers 

Re: Running Tomcat on port 80 under non root?

2001-03-19 Thread David Crooke
For any serious application, you should use Apache in front of Tomcat, and it has this capability built in. Alec Bau wrote: On Solaris 2.7 we need Tomcat process to use port 80 but to run under id other than root. Is there a trick or conf option to do this, i.e. grab port 80 under root and

tomcat-jakarta and Solaris 2.7?

2001-03-19 Thread C.M. Rahman (jr.)
Anybody here using tomcat-jakarta with Solaris 2.7? Thanks C.M. Rahman Network Engineer CCS Internet 13740 Research Blvd. Suite O-4 Austin, TX 78758 [EMAIL PROTECTED]

Help required

2001-03-19 Thread Rajesh Jumde
Hello there, In the document Tomcat IIs How To has a statement called The IIS redirector is not part of the "official" build of Jakarta, You can obtain the code and binaries needed for it by accessing http://jakarta.apache.org/builds/tomcat/release/v3.1_beta_1/bin/win32/i386/. The redirector

error loading ResourceBundle in servlet

2001-03-19 Thread Mark W . Webb
I have placed a .properties file in my TOMCAT_HOME/lib directory, and I get and error saying that it cannot find the .properties file. Is this the right place to put it? I have modified the SnoopServlet servlet to print out the claspath and that looks fine. The property file is in the

Re: Running Tomcat on port 80 under non root?

2001-03-19 Thread C.M. Rahman (jr.)
I have tried to make mod_jk.so on solaris 2.7 for apache but no luck. Anybody were able to make one? Thanks C.M. Rahman Network Engineer CCS Internet 13740 Research Blvd. Suite O-4 Austin, TX 78758 [EMAIL PROTECTED] - Original Message - From: David Crooke [EMAIL PROTECTED] To: [EMAIL

Load Balancing and JkMount

2001-03-19 Thread Amir Nuri
All the examples and archive messages that I have seen so far talk about load balancing using either multiple JVM's or Multiple Connector Directives with different port numbers and corrosponding workers in the workers.properties file. But they all use different Mount Points for each worker !

tomcat 4 and class.ForName(...)

2001-03-19 Thread cgokey
Hi, I'm trying to figure out why Tomcat won't find my JDBC driver. When it runs, it gives me an exception: sys-package-mgr*: processing new jar, '/home/mddevel/MD8/packages/jakarta-tomcat-4.0/webapps/servlets/WEB-INF/lib/md8.jar' *sys-package-mgr*: processing new jar,

Tomcat encoding

2001-03-19 Thread Pavel Sigarteu
Hello, My name is Pavel Sigarteu, I work for Infopulse Romania. We want to create a site that supports local character set ( ISO-8859-2 ). and we have a problem. We have tested with 2 pages and a database. The first page displays a form and the second page inserts the

Re: Redirecting IIS to TomCat server

2001-03-19 Thread christophe deniard
hi, thank you for your answer. Actually we do the opposite the doGet method call the doPost - Original Message - From: "Dianne Cree" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; "christophe deniard" [EMAIL PROTECTED] Sent: Friday, March 16, 2001 8:17 PM Subject: RE: Redirecting IIS to

<    1   2