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
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
"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:
-
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
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
"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
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
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
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
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
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:
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,
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
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
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
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.
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.
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
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
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
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
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
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-
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 !
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
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:
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
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
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
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
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,
(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:
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
Please refer C:\tomcat\src\catalina\docs\JDBCRealm-howto.html
Enjoy being an Indyan at http://www.indya.com
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:
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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]
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
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
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
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 !
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,
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
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
101 - 158 of 158 matches
Mail list logo