Re: Session tracking not working - POSTing FORMs

2001-03-23 Thread David Crooke
Use an encoded URL for the ACTION parameter of the FORM tag. David Wall wrote: > > The most likely explanation is that you are using instance variables in > > your servlets, instead of local variables, to represent the information > > for a particular request. These variables are shared across

Re: A very weird problem

2001-03-23 Thread Rajeev Jha
well we tried this on tomcat running on win9x box and it is getting added(!), in log file you can see adding context /at though docBase points to some bogus location. did u try to stop+start the server after adding these contexts ? Pradeep Kumar wrote: > I have got Tomcat 3.2.1 on the Solaris bo

RE: oracle JDBC doesn't work

2001-03-23 Thread Nester Dias
I agree with you, I checked up my database co nnections and it shoud be done in the same manner..i.e using "jdbc:oracle:thin:@abc.def.com:1521:SID" Nester -Original Message- From: George McKInney [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 10:58 PM To: [EMAIL PROTECTED] Subject

Re: Tomcat and Jsp files

2001-03-23 Thread nmlaney
You've answered your own question, Tomcat does not see JSP files in the Apache html root. You must put ALL JSP files in the Tomcat root directory and ALL Servlets in the WEB-INF\classes directory OR setup up an application context. To setup additional contexts you use the same convention as the

tomcat/apache/solaris - redirecting stdout/stderr

2001-03-23 Thread Anuj Agrawal
Tomcat archives surprisingly didn't answer this clearly. 8(( (Or maybe i'm blind cos i was sure this would have been addressed somewhere.) Using tomcat 3.2.1 with apache on solaris 8, starting tomcat using bin/startup.sh, how do i specify which files (rather than the console) the stdout and stde

Re: Session tracking not working - POSTing FORMs

2001-03-23 Thread Craig R. McClanahan
On Fri, 23 Mar 2001, David Wall wrote: > > The most likely explanation is that you are using instance variables in > > your servlets, instead of local variables, to represent the information > > for a particular request. These variables are shared across all of the > > simultaneous requests to

Re: Login Servlet

2001-03-23 Thread Martin Smith
public boolean next() throws SQLException Moves the cursor down one row from its current position. A ResultSet cursor is initially positioned before the first row; the first call to the method next makes the first row the current row; the second call makes the second

Fwd: uriworkermap.properties for remote tomcat

2001-03-23 Thread Mark Mynsted
Could somebody just help me with this a little? Please? :-) I have read the tomcat-iis howto, and the tomcat workers howto... I set-up the two servers, A and B. A has IIS and tomcat, B has only tomcat. I defined two workers that start ok so far as the log says. One is ajp12 the other ajp12rem

Re: Session tracking not working - POSTing FORMs

2001-03-23 Thread David Wall
> The most likely explanation is that you are using instance variables in > your servlets, instead of local variables, to represent the information > for a particular request. These variables are shared across all of the > simultaneous requests to the same servlet, so it's easy for one request to

Re: Checking for timed-out sessions

2001-03-23 Thread William Brogden
A Yang wrote: > > Hi, > > Can anyone tell me what the proper convention for > checking for invalidated sessions is? Do people really > write code checking for whether the session is valid > EVERY time they are about to refer to one? And if so, > do they just examine the LastAccessedTime and cr

RE: help: Tomcat & JDBC

2001-03-23 Thread Ciot, Thierry
Also, take a look at the jdbc tag library. You can probably get most of your database access without doing any scriplet or beans programming. Thierry -Original Message- From: Rob Tanner [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 8:18 PM To: [EMAIL PROTECTED] Subject: Re: he

Re: Configuring mod_jk

2001-03-23 Thread nmlaney
It may just be a typo, but in the first JkMount directive, it should be: JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 whereas, you have: JkMount .*.jsp ajp13 JkMount /servlet/* ajp13 this might explain why you are not getting a root context Neill Laney http://home.nc.rr.com/nlaney -- Web De

Re: help: Tomcat & JDBC

2001-03-23 Thread Rob Tanner
1. You will need to create a context for your application in server.xml. 2. You can put the database anywhere you want 3. You will need an MS Access driver, JDBC is just the API 4. You will need to put the servlet path in web.xml You also need to read the Tomcat documentation on server.xml as wel

Re: Tomcat startup problem

2001-03-23 Thread Vladimir Grishchenko
It might be that you don't set $TOMCAT_HOME. The following script works on Linux, set vars to your values: #!/bin/sh TOMCAT_HOME=/usr/local/tomcat export TOMCAT_HOME JAVA_HOME=/opt/IBMJava2-13 export JAVA_HOME case "$1" in start) echo -n "Starting Tomcat: " $TOMCAT_HOME/bin/s

Tomcat startup problem

2001-03-23 Thread Jon Small
O/S: HP-UX 11.0Apache: 1.3.12Tomcat: 3.1Anyone have/had the same problem? I can start Tomcat manually just fine, butnot successfully with an init script. It seems that the "java" processstarts initially, but at some point dies. I think that it dies when the initscript exits. We have it runni

Re: Session tracking not working

2001-03-23 Thread Craig R. McClanahan
On Fri, 23 Mar 2001, Neil Aggarwal wrote: > Hello: > > I have tried tomcat 3.2.1 and 3.2.2 (4.0 bombed so I could not > try it) and I am getting this problem: > > I am creating a member-based site. Each tiem a member > logs in, I create a User object for them and store it > as a session attr

Re: JSP Interaction Problem - Access Denied

2001-03-23 Thread Craig R. McClanahan
On Fri, 23 Mar 2001, Darrell Porter wrote: > > --- > | A | > --- > | | | > | B |C| > | | | > --- > > I have an application in which within one browser window I wish to display, > within 3 frames, 3 separate JSPs. > > F

Session tracking not working

2001-03-23 Thread Neil Aggarwal
Hello: I have tried tomcat 3.2.1 and 3.2.2 (4.0 bombed so I could not try it) and I am getting this problem: I am creating a member-based site. Each tiem a member logs in, I create a User object for them and store it as a session attribute. Each page (In its header) checks for the presence of

RE: Tomcat + IPv6

2001-03-23 Thread Nael Mohammad
Apache 2.0 does, so if you use that in conjunction with tomcat then yes. -Original Message- From: Ibrahim Haddad (LMC) [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 3:53 PM To: '[EMAIL PROTECTED]' Subject: Tomcat + IPv6 Hello, My name is Ibrahim Haddad and I work for the Sys

Servlet problems

2001-03-23 Thread ntran
Need help in getting servlets to work reliably... I get it to run once, and then when I need to make a change to the servlet, I shut down tomcat, compile, and start tomcat back up and get this error message : Internal Servlet Error: java.lang.NullPointerException at java.lang.ClassLoader

JSP Interaction Problem - Access Denied

2001-03-23 Thread Darrell Porter
--- | A | --- | | | | B |C| | | | --- I have an application in which within one browser window I wish to display, within 3 frames, 3 separate JSPs. Frames A and B are JSPs sourced from server 1 Frame C is a JSP sourced fr

Re: Tomcat + IPv6

2001-03-23 Thread Craig R. McClanahan
On Fri, 23 Mar 2001, Ibrahim Haddad (LMC) wrote: > Hello, > > My name is Ibrahim Haddad and I work for the Systems Research > Department at Ericsson. I have a question regarding Tomcat: > "Does Tomcat support IPv6?" > > If so then that's great news! we can test our clusters with it! > If no

Tomcat + IPv6

2001-03-23 Thread Ibrahim Haddad (LMC)
Hello, My name is Ibrahim Haddad and I work for the Systems Research Department at Ericsson. I have a question regarding Tomcat: "Does Tomcat support IPv6?" If so then that's great news! we can test our clusters with it! If not, is there any plan to support IPv6? I would really appreciate yo

Checking for timed-out sessions

2001-03-23 Thread A Yang
Hi, Can anyone tell me what the proper convention for checking for invalidated sessions is? Do people really write code checking for whether the session is valid EVERY time they are about to refer to one? And if so, do they just examine the LastAccessedTime and create a new session accordingly?

Re: Login Servlet

2001-03-23 Thread Stijn Geukens
> > ps I'm surprised "boolean found = rs.next()" works if result set is empty. > I'd kind of expect a null pointer exception. I always do > if (rs != null && rs.next()) { > // assign something > } > if i'm expecting a single row. I guess there's a difference between an empty ResultSet

Configuring mod_jk

2001-03-23 Thread A Yang
Hello Everyone, I was just wondering if anyone could help make sure I've got mod_jk configured properly. Assuming my host name is www.myhost.com and I have a servlet context called /tomcat. In my httpd.conf, I have my DocumentRoot set to the /tomcat document root (for the sake of testing). I al

Re: Is Apache web server 1.3.x multithreaded

2001-03-23 Thread Craig R. McClanahan
On Fri, 23 Mar 2001, brian luk wrote: > Hi, > Is Apache web server 1.3.x multithreaded? that's each > request and handle by a thread. OR each request is > handle by a child process fork by parent? > Depends on the platform. On Unix systems, 1.3.x runs as multiple processes, while on Windows

Double Request received.

2001-03-23 Thread Reto Badertscher
When generating and sending a rtf file from a servlet, the browser ask for - display from current location - saving the document When "display from current location" is chosen by the user, the servlet receives a second request (that means the file will be generated a second time), when "saving t

limit servlet access to user

2001-03-23 Thread brian luk
Hi, I have a web application running on tomcat. there are 2 httpServlet in that web app. how can i limit user access to one of the httpServlet? I read the example application in tomcat under \tomcat\webapps\examples\jsp\security which demo form base authentication. I looked through all the prop

Re: Login Servlet

2001-03-23 Thread Vladimir Grishchenko
> > ps I'm surprised "boolean found = rs.next()" works if result set is empty. > I'd kind of expect a null pointer exception. I always do > if (rs != null && rs.next()) { > // assign something > } > if i'm expecting a single row. I guess there's a difference between an empty ResultSet and no R

RE: IF UR ON APACHE + WINNT + TOMCAT...LISTEN UP!

2001-03-23 Thread Shun-Luoi Daniel Fong
Hi, I'm using Tomcat 3.2, Apache 1.3 on Linux and i followed your directions. Here is what i put in my server.xml but got these errors as follows: 1. In Netscape browser Not Found(404) Original request: /~sdfong/rubyfong/gamezone/testex.jsp Not found request: /~sdfong/rubyfong/gamezone/t

jsp -> servlet -> jsp

2001-03-23 Thread Stijn Geukens
Hi all, I have a jsp (testservlet.jsp) in following directory: C:\JAKARTA-TOMCAT\webapps\examples\jsp and it contains: and a servlet (Servlet1.class) in following directory: C:\JAKARTA-TOMCAT\webapps\examples\WEB-INF\classes\jsp which contains: package jsp; import

Is Apache web server 1.3.x multithreaded

2001-03-23 Thread brian luk
Hi, Is Apache web server 1.3.x multithreaded? that's each request and handle by a thread. OR each request is handle by a child process fork by parent? thanks. __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.y

HTTP redirection with tomcat and apache?

2001-03-23 Thread Nael Mohammad
How do you setup host redirection from http to https site? (Tomcat 4 and apache 2.0)

Re: Login Servlet

2001-03-23 Thread Andrew Robson
Hi, Tomcat has authentication via database built in which means you should be able to accomplish everything without need to write any code. Read http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/JDBCRealm.howto Look at server.xml for the examples of setting up a JDBCRealm with various data

Handler Thread Problem

2001-03-23 Thread Ben Sifuentes
Anybody know why I'm getting this? The access thru Apache works fine. but, when trying to access directly thru Tomcat I get th following exception on the server side: Redirecting to /recruiting/jsp/Login.jsp... Redirecting to /recruiting/jsp/Login.jsp?showLoginError=true... HANDLER THREAD PROBLE

Re: Servlet question

2001-03-23 Thread Craig R. McClanahan
On Fri, 23 Mar 2001, c cw288 wrote: > Hi, > > When a client make a request to a server and a servlet get call, > the servlet then create an instance for that client. That is not what really happens. Instead, a single instance of your servlet is called multiple times simultaneously, on multip

Transparent restarts

2001-03-23 Thread Jan Ploski
Hello, At http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html I found the following joke: > Q. Whenever I restart Tomcat, Apache locks up! > > A. The Ajp13 protocol keeps an open socket between Tomcat and Apache. >When you restart Tomcat, you need to restart Apache a

RE: Running my first servlet...doesn't display

2001-03-23 Thread Joel R. Cochran
No, I'm not familiar with that...sorry :( Joel -Original Message- From: Batsheva Raviv [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 3:55 PM To: [EMAIL PROTECTED] Subject: RE: Running my first servlet...doesn't display Hello Joel, if I may ask for your help. Did you try "Sho

Re: AW: java.lang.OutOfMemoryError

2001-03-23 Thread brian luk
Hi, there is no session for each client. It's only HTTP POST request/response, then it's over. --- Ralph Einfeldt <[EMAIL PROTECTED]> wrote: > Are you working with cookies or url rewriting? > > You have to keep some facts in mind: > - each session needs some memory > - each session will be

Re: Running my first servlet...doesn't display

2001-03-23 Thread T. Park
Joel, It may have been my mail server - I'm having lots of problems with newsgroup submissions I recently ended up submitting the same request twice because my mail server reported a "Couldn't deliver" message when it actually did. bummer. glad you got it working on your own! The port # hasn't go

Servlet question

2001-03-23 Thread c cw288
Hi, When a client make a request to a server and a servlet get call, the servlet then create an instance for that client. My question is, how many clients can a servlet handle. Thanks, Kathy. _ Get your FREE download of MSN Explorer

ISS 5.0 doersn't pass form data

2001-03-23 Thread Jack Li
Hello, Now I found out that my IIS 5.0 doesn't pass session variable. I wrote two small asp pages to pass form data and it didn't work. I went into IIS manager to check web site properties. Session time out is 30 second. Now what is the problem? Thanks, Jack Li

RE: Running my first servlet...doesn't display

2001-03-23 Thread Batsheva Raviv
Hello Joel, if I may ask for your help. Did you try "ShowMessage Servlet"? I couldn't make it read the web.xml page and I wonder if you had the same problem and how did you solve it? Batsheva -Original Message- From: Joel R. Cochran [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001

Re: Win service logout problem

2001-03-23 Thread Nick Holloway
[EMAIL PROTECTED] (Peterson, Lance) writes: > Has anyone heard whether/when Sun will release an update to JDK 1.3 that > will keep jk_nt_service.exe from dying at logout? Or is this something to > be fixed in tomcat? The bug is claimed to be fixed in JDK 1.3.1, of which there is a beta available

RE: Win service logout problem

2001-03-23 Thread Randy Layman
It will be fixed in the next release of java (1.3.1) as listed here http://developer.java.sun.com/developer/bugParade/bugs/4323062.html. I don't know when the final release will be, but Sun has a beta version for Solaris and NT available on the Developer Connection section (see Early Acc

tomcat apache Internal Server Error

2001-03-23 Thread Florian Richter
Hi, I have a Problem with Tomcat and mod_jk. I have installed Tomcat with an RPM and all works fine when I call the examples servlets at server:8080. After this I have installed tomcat-mod-3.2.1-1.i386.rpm. The Problem is whenn I call now a .jsp page the server request me an Internal Server E

RE: Running my first servlet...doesn't display

2001-03-23 Thread Joel R. Cochran
Thanks T. Park!  That was exactly what I did...wonder why there is such a lag in the list mail delivery today?   Joel [jrc]   -Original Message-From: T. Park [mailto:[EMAIL PROTECTED]]Sent: Friday, March 23, 2001 1:59 PMTo: [EMAIL PROTECTED]Subject: Re: Running my first servlet...do

MIME Types

2001-03-23 Thread Olaf Petersen
Hi there I'm developing a JSP page that shall be able to show wbmp files. But whatever i try to dog, i wont get anything else but the "alt" text. I need to add a mimetype to the server or to the JSP file. The mime type has the following indication : image/vnd.wap.wbmp I hope that you can help m

Session doesn't work with IIS/Tomcat

2001-03-23 Thread Jack Li
Hello, I still have the problem to make IIS 5.0/Tomcat 3.2.1 passing session variables. Even I can't pass the form input to next page. I guess something wrong with my settings, but I don't know where it is. I tried following: 1. I tried to use two simple jsp pages to pass session variables. it di

Login Servlet?

2001-03-23 Thread Mick Sullivan
Does anyone know where I could find code for a login servlet using JDBC. I have a login tested, it checks the database and it outputs whether the username and password are correct to the jsp page, but I need to use a servlet for redirecting the user. Here is the code i have for the login procedu

Problem running jsp files

2001-03-23 Thread MARobertson
I'm running JBoss with embedded Tomcat on NT 4.0. I'm having a problem running the sample jsp's provided with Tomcat. When I try to select one, the response that comes back indicates an exception( java.lang.NoClassDefFoundError: sun/tools/javac/Main ) was thrown. My first thought was that the c

Compiler Options

2001-03-23 Thread Sergio Tauffer Padilha
Please, help me. Where can I change TomCat's compiler's command line? Thanks. Sergio.

RE: Running my first servlet...doesn't display

2001-03-23 Thread Joel R. Cochran
Hey! I get to answer my own question! I found the problem (although I didn't see anything in the doc or the CORE Servlets book about this)...I had to specify the port on my localhost, like so: http://localhost:8080/servlet/MyFirstServlet and it worked fine. Now I'm trying to field test my first

RE: Compatibility with different flavors of UNIX

2001-03-23 Thread Mike Braden
mod_jk in TC3.2 has most of the build stuff for Linux, Win, and sort of Solaris. The scripts are not written for easy support of multiple platforms. You may want to look at TC3.3m2 or get the mod_jk from the TC3.3 nightly builds. Much has been added for better support of mod_jk in TC3.3, includi

Re: Compatibility with different flavors of UNIX

2001-03-23 Thread DONNIE HALE
Simon, I've had to build mod_jserv for AIX (haven't tried mod_jk). As "shipped", it wouldn't build. As I recall, the link step failed miserably. I was able to find instructions (the actual linker command line) by doing some strange search in Google. I did put the command line in a shell script

RE: oracle JDBC doesn't work

2001-03-23 Thread Jack Li
George McKinney, Thank you. Your reply realy helped me. Now the jdbc works fine. Thanks again, Jack Li -Original Message- From: George McKInney [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 12:28 PM To: [EMAIL PROTECTED] Subject: RE: oracle JDBC doesn't work I think that (not

Tomcat and Jsp files

2001-03-23 Thread Chris Andreou
Hi I am using Tomcat 3.2.1 and Apache on an Nt platform. My confusion is this: In http.conf file I have : JkMount /*.jsp ajp12 JkMount /servlet/* ajp12 Should all the .jsp files be under the webapps directory? I have a jsp file under my webroot Apache directory but Tomcat does not see it? Tha

Re: Running my first servlet...doesn't display

2001-03-23 Thread T. Park
have you tried:  http://localhost:8080/servlet/MyFirstServlet     "Joel R. Cochran" wrote: Hello again from Super Newbie... I (finally) got Tomcat installed on my Win98 machine: 1.  I have Tomcat started. 2.  I have my CLASSPATH set to include servlet.jar and jasper.jar 3.  I have a compiled clas

Win service logout problem

2001-03-23 Thread Peterson, Lance
Title: Win service logout problem Has anyone heard whether/when Sun will release an update to JDK 1.3 that will keep jk_nt_service.exe from dying at logout?  Or is this something to be fixed in tomcat? Thanks, Lance Peterson Verticore Technologies Inc. (801) 453 9111 www.verticore.com

Re: Linux IBM JDK + Tomcat + SMP hangs

2001-03-23 Thread Bill Graham
hi Edward, I've been having similar problems doing load testing with standalone Tomcat 3.2.1 with the 2.2.16 kernal with glibc2.1.3-15. I downloaded the most recent build of IBM's VM, cx130-20010207 and have been having much better results as far as VM stability is concerned. I ran my test on a

RE: Pay for a script

2001-03-23 Thread Darrell Porter
LDAP = light-weight directory access protocol. LDAP defines a relatively simple protocol for updating and searching X.500 directories running over TCP/IP. -Original Message- From: Kulkarni, Narayana [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 5:44 AM To: '[EMAIL PROTECTED]' S

RE: Tomcat-Startup in windows

2001-03-23 Thread Darrell Porter
The only way I have gotten this to successfully work is to install TweakUI on the NT/2000 box and set it to login automatically as a non-Administrator user that has appropriate rights. On startup, NT/2000 logs in and the Startup folder contains the script which starts Tomcat, pauses for stabiliza

RE: Why is my init method run twice?

2001-03-23 Thread Craig R. McClanahan
On Fri, 23 Mar 2001, Pradeep Kumar wrote: > The Servlet specification says that, that the container should guarantee only > one instance of the servlet. However some of the container do maintain a > small of pool of servlet instances and manage them. For example there are 3 > instances of a ser

Re: Possible bug: welcome files and parameters

2001-03-23 Thread S. Schmidt
> > That way the image data gets corrupted. Isn't this information supposed > > to be in the HTTP Headers, and not in my output? > > This corruption is produced by an HTTP/1.1 transfer encoding called > chunking. Its support is mandatory in HTTP/1.1. Which HTTP client are you > using ? > If you'r

Re: context for home directories?

2001-03-23 Thread Shun-Luoi Daniel Fong
I want to do the same thing Jon wants to do. When I type in my url, http://agent.eng.uiowa.edu/~sdfong/rubyfong/gamezone/testex.jsp I get a 404 File not Found. I also get this message in my jasper.log 2001-03-23 11:47:09 - JspEngine --> /~sdfong/rubyfong/gamezone/testex.jsp 2001-03-23 11:47:09 -

oracle JDBC doesn't work

2001-03-23 Thread Brett Knights
We had to have a dburl like the following: jdbc:oracle:thin:@server:port:owner did it come with docs? > try{ > DriverManager.registerDriver(new > oracle.jdbc.driver.OracleDriver()); > Connection con = > DriverManager.getConnection("jdbc:oracle:thin:storedb", > "username", "pa

Re: Compatibility with different flavors of UNIX

2001-03-23 Thread John P. Dodge
I don't know about AIX but building mod_jk on HPUX is problematic to the point of being unworkable. On HPUX apache, mod_ssl, tomcat build fine. As a side note HP is bundling Apache->mod_ssl->mod_jserv->Tomcat with HPUX11.11. On Fri, 23 Mar 2001, Simon McMenzie wrote: > Will the components above

RE: running tomcat on Visual age

2001-03-23 Thread Kirill Vasiliev
Hi! Did you import _resources_ (org.apache.tomcat.resources) too? They aren't classes, they are .properties and .dtd. This may be done in import window in VA. You also need to copy "conf" directory from Tomcat installation to /ide/project_resources/. You also need to setup property "tomcat.home"

RE: oracle JDBC doesn't work

2001-03-23 Thread George McKInney
I think that (not being a DB guru): > Connection con = > DriverManager.getConnection("jdbc:oracle:thin:storedb", > "username", "password"); > } should be more like: ... DriverManager.getConnection("jdbc:oracle:thin:@storedb", ... note the '@' between "thin:" and "storedb" (and

Re: Possible bug: welcome files and parameters

2001-03-23 Thread Remy Maucherat
> Remy Maucherat wrote: > > > Tomcat 4 will return a 302 (temporary redirect) pointing to > > > /news/path_of_the_welcome_file. > > > The thing is I don't know if I should include the query parameters in the > > > Location header (which is not something I'm doing right now). > > > > Ok, it's a bug

RE: Why is my init method run twice?

2001-03-23 Thread Milt Epstein
On Fri, 23 Mar 2001, Pradeep Kumar wrote: > The Servlet specification says that, that the container should > guarantee only one instance of the servlet. However some of the > container do maintain a small of pool of servlet instances and > manage them. For example there are 3 instances of a servl

Running my first servlet...doesn't display

2001-03-23 Thread Joel R. Cochran
Hello again from Super Newbie... I (finally) got Tomcat installed on my Win98 machine: 1. I have Tomcat started. 2. I have my CLASSPATH set to include servlet.jar and jasper.jar 3. I have a compiled class called MyFirstServlet.class in c:/jsp/tomcat/webapps/ROOT/INF-WEB/classes (This i

RE: oracle JDBC doesn't work

2001-03-23 Thread William Kaufman
Note that this probably isn't a Tomcat question. Can you create the connection outside Tomcat, in your own application? If not, you've got a JDBC problem that JDBC people could help you with. (Or really, Oracle people: Do a search on Deja in comp.databases.oracle.* for "Connection refused" to s

RE: Tomcat-Startup in windows

2001-03-23 Thread Dianne Cree
I just have a shortcut to the startup.bat file in my C:\Documents and Settings\shlomi\Start Menu\Programs\Startup. It works fine for me. I don't have it running as an nt service. -Original Message- From: Elizabeth Riley [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 6:17 AM To

RE: "iPlanet How To" = "Netscape How-To" ???

2001-03-23 Thread Dianne Cree
Title: "iPlanet How To" = "Netscape How-To" ??? Doesn't the latest iPlanet support jsp and servlets by itself.  I think it does.  Why would you need Tomcat if that's the case? -Original Message-From: Hawkins, Keith (Keith) [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 22, 2001

RE: Problem consulting database

2001-03-23 Thread William Kaufman
(Note that this is a JDBC question, or even a Microsoft Access question, not a Tomcat question. You should find an appropriate mailing list or discussion group to ask these questions in.) Any time you use Access, it creates an *.ldb file: it keeps track of locks on database objects. You can pro

Re: Apache/Tomcat sendRedirect rpoblem

2001-03-23 Thread David Wall
> I've also had similar problems. I found that in nested if statements and > if...else iterations, if you don't put a return after the sendredirect > or forward it tries to execute the rest of the code... > Matt Goss As far as I know, servlet containers are not supposed to break the rules of Java

Re: Problem consulting database

2001-03-23 Thread Steve Ruby
João Folha wrote: > > Hi there. > > In my very simple web application where i consult a ms access database db.mdb. >Somehow a new file is created db.ldb. > Why this happen can i control that? > > jfolha That is just microsofts external lock file so other programs accessing the file do so in

A very weird problem

2001-03-23 Thread Pradeep Kumar
I have got Tomcat 3.2.1 on the Solaris box. I have got a directory called "at" under webapps directory. The problem is that when I start the tomcat server, my context "at" doesn't get loaded (I don't see the message "Adding context Ctx( /at )"). The examples and test context does get loaded. I eve

RE: Problem consulting database

2001-03-23 Thread CAJIGA,JAVIER (Non-HP-USA,ex1)
You could find the explanation of this in Article Q136128 at http://search.support.microsoft.com/kb/c.asp?FR=0 &SA=GN&LNG=ENG select your criteria as : ACCESS ldb -Original Message- From: João Folha [mailto:[EMAIL PRO

RE: Why is my init method run twice?

2001-03-23 Thread Pradeep Kumar
The Servlet specification says that, that the container should guarantee only one instance of the servlet. However some of the container do maintain a small of pool of servlet instances and manage them. For example there are 3 instances of a servlet in the pool, and if there are 300 requests, each

oracle JDBC doesn't work

2001-03-23 Thread Jack Li
I got message "Connection refused: no further information". Here are the settings: 1. We are using Oracle 7.3. The database server name is storedb. 2. I downloaded oracle jdbc driver from Oracle.com. The downloaded driver is Oracle 7 driver for NT. It has classes102.zip and classes111.zip and tw

FW: Tomcat setup questions

2001-03-23 Thread Ben Sifuentes
I don't think this made the list trying the again. -Ben -Original Message- From: Ben Sifuentes [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 4:09 PM To: Tomcat-User Subject: Tomcat setup questions Currently, I have both Apache and Tomcat installed and have configured Tomca

Re: running tomcat on Visual age

2001-03-23 Thread Martin Mauri
It would be useful for us that you send that error... > I'can't run tomcat on VA. > I've imported all the tomcat ressources (servlet.jar, jasper.jar, > parser.jar, webserver.jar,.) in VA. > When i'm trying to run the tomcat.class in the webserver package i receive > an error > someone could h

Re: tomcat

2001-03-23 Thread Arnaud Vandyck
baumans pascal wrote: > > I use Tomcat-standalone But My problem is : I don't know how/where to create > a alias directive :) There is a file named : my_tomcat_apache.conf, there > are some alias but the alias I declare on this file don't work... ??? Well, this file is only if you plan to run to

Problem consulting database

2001-03-23 Thread João Folha
Hi there.   In my very simple web application where i consult a ms access database  db.mdb. Somehow a new file is created db.ldb.  Why this happen can i control that?   jfolha

RE: Tomcat dies on OS X

2001-03-23 Thread Steve Fyfe
It runs fine for me when I start it from a Terminal window using the Tomcat.sh script. I did make sure to define the TOMCAT_HOME and JAVA_HOME environment variables first. And I am using it with Apache, not standalone. How did you get it started? What exactly did you get for a stack trace? You

Re: Logging in tomcat

2001-03-23 Thread Mark Mynsted
I think the simplest way is to just use application.log("This is a message to be logged"); This goes to the Servlet.log. A little better maybe would be to define something like: String logHeader = request.getServletPath() + ": "; Then use application.log(logHeader + "This is a message to be log

Re: Why is my init method run twice?

2001-03-23 Thread Milt Epstein
On Fri, 23 Mar 2001, [iso-8859-1] Helgesen Hans Jørgen wrote: > I'm new to this list, so please forgive me if this question has been raised > before > > I'm running Tomcat 3.2.1, Apache 1.3.12, java 1.2.2 and Redhat 6.2. > > I have a servlet to which I want to pass a single parameter via t

RE: Java application as service

2001-03-23 Thread Mark Mynsted
Yeah, but I was bitten by the issue where the classpath may only be 256 characters or less. It fails with "operation completed successfully". Anybody found a good fix for that? >>> "David Baum" <[EMAIL PROTECTED]> 3/23/2001 7:41:17 AM >>> Hei Rajesh, Don't know if Andy gave you an answere, s

running tomcat on Visual age

2001-03-23 Thread Patrick . Pierra
I'can't run tomcat on VA. I've imported all the tomcat ressources (servlet.jar, jasper.jar, parser.jar, webserver.jar,.) in VA. When i'm trying to run the tomcat.class in the webserver package i receive an error someone could help me PP

Embedded Tomcat

2001-03-23 Thread Klaus Sonnenleiter
I've been using Tomcat for quite a while now and so far everything was working fine. That is, until I tried to embed Tomcat in one of my applications... Is there any documentation that could tell me how to do that? I followed the examples in the files EmbededTomcat (3.2.1) and Embedded (4.0

RE: jdbc

2001-03-23 Thread William Kaufman
Actually, you've already got it: it's part of the standard JRE. If you want JDBC implementations specific to your database (and you probably do--the JDBC-ODBC bridge is pretty bad), check with your database vendor. -- Bill K. -Or

Re: Tomcat-Startup in windows

2001-03-23 Thread Ying Ho
Hi Shlomi, I tried as you suggested but the nt service does not seems to work. I have changed the tomcat and jave home to the appropriate path and can setup the NT Service but it does want to start. I have tried to remove the Nt service using jk_nt_service and add the NT Service but it still won'

Re: Apache/Tomcat sendRedirect rpoblem

2001-03-23 Thread Matt Goss
I've also had similar problems. I found that in nested if statements and if...else iterations, if you don't put a return after the sendredirect or forward it tries to execute the rest of the code... Matt Goss [EMAIL PROTECTED] wrote: > > I've been having the same problem sporadically for

Re: calling RequestDispatcher.forward() after RequestDispatcher.include()

2001-03-23 Thread William Au
This seems to be caused by a bug in Tomcat 3.2.1. I looked at the java code generated for my JSP. It call out.flush() at the end. I think that's why the forward() failed. I then converted example1.jsp from JSPs to servlets but I am still getting the same Exception. Moving my code below from a

Re: context for home directories?

2001-03-23 Thread baumans pascal
You can use an Alias ... ps: how to declare an alias with tomcat :) ? >From: Jon August <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: context for home directories? >Date: Fri, 23 Mar 2001 08:35:38 -0500 (EST) > > >How do I allow users to run jsp or servlets o

RE: Pay for a script

2001-03-23 Thread Kulkarni, Narayana
What is it? A type of conversion from an Old System to a new system, which implements writing ti the ldap database? IS ldap a RDBMS or what? What is it really need to be done in brief? Perl seems to be a good bet though! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

RE: Java application as service

2001-03-23 Thread David Baum
Hei Rajesh, Don't know if Andy gave you an answere, so here's mine. I've used JavaService (http://www.alexandriasc.com/software/JavaService/index.html). It's easy us install and configure. and it's free :) "JavaService is a Win32 executable that allows any Java class to be run as an NT service.

  1   2   >