RE: Tomcat on Win2k

2001-04-10 Thread Randy Layman
No. If you want to run Tomcat out-of process with IIS as a service you need to: 1. Install Tomcat to work with IIS (which it seems that you have accomplished) 2. Install it as a service (which it also seems that you have accomplished) And remember to now use

RE: servlet mapping question

2001-04-09 Thread Randy Layman
I appears that your context name is bill and I would assume that its url is something like localhost/bill. Therefore, your servlet needs to be referenced as /bill.faqtool. All of this can/should be done in the AppName/WEB-INF/web.xml file and not in the /conf/web.xml file.

RE: Another Servlet Exception

2001-04-05 Thread Randy Layman
The root cause is a NullPointerException in your Request.jsp file. Check your code. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 05, 2001 9:17 AM To: [EMAIL PROTECTED] Subject: Another Servlet Exception

RE: IIS 5 and Win200000

2001-04-05 Thread Randy Layman
Yes. -Original Message- From: Carlos Gustavo Verbel Martelo [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 05, 2001 9:33 AM To: [EMAIL PROTECTED] Subject: IIS 5 and Win20 Hello, Tomcat work with IIS5 and Windows 2000? Thanks for your help. Best Regards. Carlos

RE: Problem starting Tomcat

2001-04-05 Thread Randy Layman
The problem is most likely one of two things: You already have something running on the ports that Tomcat wants to use (8080 and 8007 by default) or you haven't properly set JAVA_HOME and TOMCAT_HOME. To find the actual error message, instead of running startup.bat, run

RE: question about uploading files and multipart/form-data FORMS

2001-04-04 Thread Randy Layman
Actually, this is a know problem with mod_jk using ajp13 - if it sees a particular byte string the process stops reading prematurely. I believe that this has been fixed for the upcoming 3.2.2 and 3.3 releases and you might want to try one of their betas to pickup this fix.

RE: Finding index.jsp on IIS

2001-04-03 Thread Randy Layman
Your problem is happening because of the order in which IIS processes requests. Here's the steps (as I've been able to determine): 1. Check Filters, if found send the response 2. Check Actual files/virtual directories, if found send the file (interpreted if its asp)

RE: Error 500

2001-04-03 Thread Randy Layman
This may come as a surprise, but the error message means that Tomcat can't find javac - the Java Compiler. Check your JAVA_HOME environment variable - you need to set JAVA_HOME so that JAVA_HOME/lib/tools.jar is the valid path to the file. If you are using IBM's Jikes for your Java

RE: unexistant webapp problem

2001-04-02 Thread Randy Layman
Add your root configuration back or upgrade to 3.2.2 or 3.3 - the problem is that when there is no context to handle a request then Tomcat gets into an infinite loop (mentioned in the docs\readme file, item number 6.11 - isn't documentation wonderful?). Randy -Original

RE: Singleton and multiple JVM

2001-03-30 Thread Randy Layman
You'll have to build the construct yourself as there is no pre-defined way to accomplish what you are trying to accomplish. Basically what you're going to want to do is to create an instance of the Singleton in each JVM. Then designate one of the instances as the master - the

RE: jk_nt_service.exe

2001-03-30 Thread Randy Layman
Solution: Stop using JDK 1.3. You can use either JDK 1.2.x or JDK1.3.1Beta. The documentation that I have states that there is a bug in Sun's 1.3 JVM that causes it to stop at NT user logout (even for services) Randy -Original Message- From: [EMAIL PROTECTED]

RE: Strange JSP problems with Tomcat

2001-03-30 Thread Randy Layman
This is not a storage error message at all. A little searching through the archives or reading of the installation guide would have saved you some time and trouble - your JAVA_HOME is not set correctly. Some people will probably tell you that tools.jar is not in your classpath, but

RE: archives

2001-03-30 Thread Randy Layman
unfortunate my short experience with this site wasn't so good. Any search returns only 20 emails that most of them are not relevant. can you post other url? Batsheva -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Friday, March 30, 2001 10:30 AM To: [EMAIL

RE: PLEASE fix mailing list bounces!

2001-03-28 Thread Randy Layman
The problem is that neither are directly subscribed to the list - they are the result of mail forwards (I've already asked Craig about this). The only way to find the bad addresses would be to send an email to every address separately and determine which outgoing message produced the

RE: Can't load JSP pages on IE5.5 with Tomcat

2001-03-28 Thread Randy Layman
Set your JAVA_HOME to point to your JDK. Its not an IE 5.5 problem, its how you configured Tomcat. Randy -Original Message- From: Enrica Giambruno [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 9:59 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]

RE: JDBC + Tomcat NT Service

2001-03-26 Thread Randy Layman
I always put the drivers into the web app's lib folder and don't have any problem - Tomcat loads them automatically (if they are .jar files) and this way you can replace the drivers for one webapp at a time without affecting the other webapps (this is useful when you are converting

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

RE: How to get Tomcat's session working with IIS

2001-03-22 Thread Randy Layman
I would beg to differ - I am using IIS 5 on Win2K with sessions (at times holding up to 30 or 40 objects for each user). Questions to help diagnose the problem: 1. Does it work in Tomcat directly (using port 8080)? 2. Are you doing anything that would be

RE: How to run JSP on Tomcat under windows?

2001-03-21 Thread Randy Layman
One thing you will quickly learn when reading stack traces from Tomcat is that the first exception mentioned is never useful - its almost always a Servlet exception wrapping an exception that something else threw (like your code with a NullPointer, for example). If you look through your

RE: Running Tomcat on Windows...

2001-03-20 Thread Randy Layman
Your problem is that you are starting Tomcat twice. The second time Tomcat starts something is already using the ports that it wants to use (namely the first instance of Tomcat). In short, you don't need to start it twice. Randy -Original Message- From: Jason

RE: Help on error?

2001-03-19 Thread Randy Layman
What database and JDBC driver are you using? If I had to guess I'd say that you are using the JDBC-ODBC bridge and you have encountered one of several problems that JDBC-ODBC bridge has. There is no fix, only workarounds. In your case the problem is because you haven't closed the

RE: Help on error?

2001-03-19 Thread Randy Layman
Original Message Follows From: Randy Layman [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Help on error? Date: Mon, 19 Mar 2001 14:11:29 -0500 What database and JDBC driver are you using? If I had to guess I'd say that you

RE: expire

2001-03-16 Thread Randy Layman
The only way that I have found to do this is to use some JavaScript to force the page to reload itself when the back button is pressed (use a combination of onLoad and onUnload event handlers - be careful, if you mess it up you will create an infinite reload loop). Randy

RE: tomcat as a stand alone server

2001-03-16 Thread Randy Layman
My client is currently in acceptance testing with a Tomcat installation. Their system is a Dell PowerEdge 6300 with 4 400MHz processors and lots of RAM and disk space. They are running WinNT 4.0 SP6a and SQL Server 7.0 and IIS 4.0. We configured IIS so that all of our resources are

RE: Excel to XML

2001-03-16 Thread Randy Layman
Whenever you install MS Office on a computer, an Excel ODBC Driver is also installed. You can then access the Excel file as a Database. Your table name is the name of the Sheet (Sheet1$, Sheet2$, etc are the default names, but the user can rename them) and your column names are the

RE: org.apache.jasper.JasperException: Unable to compile class fo r JSP

2001-03-15 Thread Randy Layman
THIS IS NOT CORRECT. Tomcat was looking for the class jsp.dates.DBWriter in its classpath - WEB-INF/classes, one of the JAR files in WEB-INF/lib, one of the JAR files in TOMCAT_HOME/lib, or somewhere in the classpath Tomcat was started with. TOMCAT WILL NEVER LOOK FOR CLASSES RELATIVE

RE: Start processes on the server

2001-03-15 Thread Randy Layman
Starting processes are easy - just use Runtime.exec. The problem might be detecting when to start them. My suggestion would be to not have them run as services, but have your servlet start them. Then when your sevlet detects they stop (there's a method in Process class to determine it

RE: Tomcat Threads

2001-03-15 Thread Randy Layman
No, each request is run in its own, separate thread. The reason that you are probably seeing this pool allocated multiple times is that you have multiple instances of the same servlet. Why has Tomcat created multiple instances of the same servlet, you ask? Well, Tomcat will create an

RE: what's with the socket write errors?

2001-03-14 Thread Randy Layman
To find out how many other people experience this problem I would suggest looking at the mailing list archives, since I personally have answered this question twice already this week. Sort answer, they're harmless. Long answer: read the mailing list archives. Randy

RE: Tomcat - can't load isapi_redirect.dll in IIS

2001-03-14 Thread Randy Layman
THIS SHOULD NOT BE NECESSRY! I have set up 5 different machines with IIS/Tomcat (2 with Win2k) and none of them have the DLL in the system directory. If this works it indicates that you didn't select the dll when you added the filter. As to the orginial problem, double check

RE: Is the path set correctly

2001-03-14 Thread Randy Layman
In short, no. If you consider a URI: protocol:port//path/to/resource?QueryString. The QueryString in the Jasper log is this same query string and doesn't have anything to do with compiling the JSP. Its possible to create a servlet that responds to all requests that contain it and take

RE: Set an application's working path

2001-03-14 Thread Randy Layman
The one major problem with what you ask is: What happens if the application is run out of a WAR file? As in, the JSP server does not expand the WAR to run it? This is a possiblity according to the spec, although I don't know of any JSP environment that works in this way. To

RE: My IIS isn't redirecting to Tomcat

2001-03-14 Thread Randy Layman
Have you followed the steps in the Tomcat-IIS How To (available from the Tomcat CVS in src/docs, a link to the web interface is on the Tomcat homepage)? The reason that you can't run some setup.exe I believe is because you can't automate a number of the steps involved. (I've tried but

RE: Error: 500 while compiling a JSP file

2001-03-13 Thread Randy Layman
I don't believe that the Java compilers import the classes from the default package (no package specified) when the class isn't in the default package itself. Tomcat automatically puts all its generated classes into packages as determined by your directory structure so that you can have

RE: Antwort:RE: TOMCAT-IIS 5.0

2001-03-13 Thread Randy Layman
I generally doesn't help you get any answers if you keep posting the same question over and over again. In most cases questions go unanswered because they don't make sense or the poster is not clear enough and no one feels like clarifying it. So, to get you to stop posting the

RE: Problem using ant to build a WAR file

2001-03-13 Thread Randy Layman
This problem is usually because you have ant.jar in your JRE's lib/ext directory. This causes problems because of how Ant invokes the JDK. Randy -Original Message- From: Vicky Yu [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 13, 2001 11:26 AM To: [EMAIL PROTECTED]

RE: Cache problem with IE

2001-03-13 Thread Randy Layman
Just to clarify, if your page is a.jsp, do you mean the users causes some request to the server that ends up going to a.jsp, or do you mean the user uses the back button (or JavaScript history.back method) to view the same page again? If its the second case, then IE is working

RE: Cache problem with IE

2001-03-13 Thread Randy Layman
case but with netscape I don't have any problems. Randy Layman wrote: Just to clarify, if your page is a.jsp, do you mean the users causes some request to the server that ends up going to a.jsp, or do you mean the user uses the back button (or JavaScript history.back method) to view

RE: Ctx( ): IOException in: R( + /tomcat-power.gif + null) socket write error

2001-03-12 Thread Randy Layman
Below is what I believe is the proper explanation. Every time this question comes up, I post a message with similar content and no one has sent me any messages indicating that I am wrong. The reason this occurs from two different facts: 1. In today's Net congested

RE: Problem with Tomcat 3.1 and JDK 1.2.2...

2001-03-12 Thread Randy Layman
: Problem with Tomcat 3.1 and JDK 1.2.2... Hi! I have the same error, so what's the problem ? Thanks Joel --- Randy Layman [EMAIL PROTECTED] a crit : Without seeing your page this is just a guess, but I would say that you are trying to reference one of the indexes of Value without first

RE: Maximum length HTTP Request

2001-03-12 Thread Randy Layman
If you are using parameters after the URL (i.e. page.jsp?param1=...param2=...) then you are not performing a POST but a GET. According to the HTTP spec, GET requests are limited to 2048 characters (not sure why, but they are). POST requests, on the other hand, are not limited.

RE: license for Tomcat

2001-03-12 Thread Randy Layman
In your root Tomcat directory (i.e. jakarta-tomcat-3.2.1) there is a file called license. Please read it (I'll wait). Now that you have read it, you shouldn't have any questions. If you do here is how I understand the license (as a non-lawyer): If you distribute Tomcat as part of

RE: Problems with Tomcat service on NT and W2K servers..

2001-03-12 Thread Randy Layman
This is an extremely well known problem with Sun's JDK 1.3. The most obvious workaround is to downgrade to JDK 1.2, or if you happen to be really friendly with Sun, get the alpha of the next JDK release. Alternatively, you could search the archive for this list and find the previous

RE: Example doesn't work - got 404 NOT FOUND

2001-03-09 Thread Randy Layman
(For those who didn't read the isapi.log file, the request was actually for index.html) What does Tomcat say for this request? Check either the console or the jvm.stderr/stdout to see what it sees the request as and maybe for some information about what is going wrong - perhaps

RE: CONNECTING TO MS ACCESS DB?

2001-03-08 Thread Randy Layman
I would strongly recommend that no one use the JDBC-ODBC bridge other than for development/light testing purposes. IT IS NOT THREAD SAFE. This causes large number of developers (both Tomcat and otherwise) large amount of headaches. If you use the JDBC-ODBC bridge and you attempt to use

RE: getSession(true) AND SecureRandom

2001-03-08 Thread Randy Layman
The best thing I can think of right now is create a servlet that you specify as a load-on-startup servlet. That servlet's init method then makes an http request to localhost for the correct webapp so that a session is generated. Randy -Original Message- From: Alfredo

RE: I am a new user

2001-03-08 Thread Randy Layman
First, it seems like Tomcat by itself is not yet working, so lets ignore IIS for now and concentrate on that. You can check on tomcat by going to http://localhost:8080. The error message that you indicate is generally becuase of a bad server.jar file (either missing, or there are two

RE: Qn about JBuilder/Tomcat implementation

2001-03-08 Thread Randy Layman
JBuilder uses Tomcat as an embedded server, I believe. But you could accomplish the same thing with a little ingunity. First, the hard part is finding an available port. Choose some number, probably around 4000 as a starting point. Try to create a socket connection to

RE: properties minor bug

2001-03-08 Thread Randy Layman
This is a well documented problem that stems from how Windows parses its command line. Randy -Original Message- From: Nicholas Katzakis [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 10:42 AM To: [EMAIL PROTECTED] Subject: properties minor bug don't know if

RE: what's mean wrong name. message?

2001-03-08 Thread Randy Layman
When a Java class is compiled the package that its part of is stored as part of the .class file. This is what Java uses to determine which classes can access package (default) methods and variables. Simply moving the class file to a different directory does not change the package - it

RE: Problem with Tomcat 3.1 and JDK 1.2.2...

2001-03-08 Thread Randy Layman
Without seeing your page this is just a guess, but I would say that you are trying to reference one of the indexes of Value without first checking if its null. (i.e. Value[0] or Value.length). I say this because the root cause is a NullPointerException. I know that this does

RE: getSession(true)

2001-03-07 Thread Randy Layman
It should only happen the first time you get a session. Its because initalizeing SecureRandom takes that long. If you search the archives there is a -D option that you can use to specify a different Random number generator that might work faster, but be careful. If someone can guess

RE: Form-Based Auth and tracking Login Attempts

2001-03-07 Thread Randy Layman
One suggestion might be to modify JDBCRealm so that on unsuccessful login it updates a database field (like NUM_BAD_LOGINS) to one more than it is. Then when the magic number is triggered, you don't allow them to login even with the correct password. When the administrator resets the

RE: Strange custom class behaviour with subdirs in 3.2.1

2001-03-07 Thread Randy Layman
At the top of your JSP file, be sure to import StatsBean (i.e. %@ page import="StatsBean" %). Tomcat assumes that all of your webapp is in one package structure, so creating a helpdesk directory causes the generated JSP to have a helpdesk package. I don't know if this is in the spec,

RE: Strange custom class behaviour with subdirs in 3.2.1

2001-03-07 Thread Randy Layman
a printout of the 2.2 servlet spec right here. I needed to read it anyway! Thanks again. -Scott Randy Layman wrote: At the top of your JSP file, be sure to import StatsBean (i.e. %@ page import="StatsBean" %). Tomcat assumes that all of your webapp is in one package structure, so

RE: Help with Configurationtomcat with IIS 4.0

2001-03-07 Thread Randy Layman
What is your problem? The most common issues are problems with regsitry settings and not reading the IIS HowTo throughly. Randy -Original Message- From: Umbe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 4:58 PM To: tomcat-mailing-list (E-mail)

RE: threading issues with tomcat

2001-03-06 Thread Randy Layman
Actually that's not quite right. Special resources (i.e. those that shouldn't/can't be used concurrently by multiple threads) need to be managed to control their usage. Generally a Singleton is used to control access (either by giving out multiple copies, like Database connections, or

RE: $TOMCAT_HOME/lib

2001-03-06 Thread Randy Layman
It depends upon your platform and how you are starting Tomcat. I know on Windows NT it automatically adds everything in the lib directory, and I believe so on Unix, but there's a comment in tomcat.bat that indicates that some Microsoft Operating systems (95/98/ME) don't have the command

RE: IIS and Tomcat integration on Windows 2000?

2001-03-06 Thread Randy Layman
I have installed it without any problems. I followed the IIS HowTo (available from the WebCVS) and didn't encounter any problems. (The docs say IIS 4/WinNT, but they work just fine with IIS 5/Win2000 and Win2000SP1) Randy -Original Message- From: Mike McFadden

RE: question

2001-03-06 Thread Randy Layman
You aren't using IIS, your using Personal Web Server (PWS). There are directions on adding filters to the registry for PWS in the IIS-HowTo and you need to follow those. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March

RE: Tomcat's class loader

2001-03-02 Thread Randy Layman
It is the expected behavior because the class loader for TOMCAT_HOME/lib can't know which context you are trying to load from. You really need to put your utility class into each webapp's class path (WEB-INF\classes or WEB-INF\lib) if you want it to access the classpath for a particular

RE: Tomcat Crashes

2001-03-01 Thread Randy Layman
Two common causes of crashes, in my experience, are using the JDBC-ODBC bridge (its not thread safe and when concurrent access occurs it crashes the JVM). The other is in the JIT complilation. I've had a lot less trouble with the newer JDKs (1.2.2_007) than the older ones (1.2.2_002

RE: no class def found sun.tools.javac.Main

2001-03-01 Thread Randy Layman
This comes from Tomcat not being able to find your JavaC compiler (imagine that, not found class sun.tools.javac.Main). You need to set your JAVA_HOME variable so that it points to your JDK root directory. And read the manual and/or mail list archives and/or the FAQ.

RE: no class def found sun.tools.javac.Main

2001-03-01 Thread Randy Layman
Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: 1. mars 2001 16:03 To: [EMAIL PROTECTED] Subject: RE: no class def found sun.tools.javac.Main This comes from Tomcat not being able to find your JavaC compiler (imagine that, not found class sun.tools.javac.Main). You need

RE: *** Please help me

2001-03-01 Thread Randy Layman
It would appear that your Tomcat is not working correctly (looking at the isapi log it determines it should redirect, however the the service() method indicates that its failing. Does Tomcat work on port 8080? I would guess that the Microsoft JVM is causing your problems. Try

RE: Log File isapi.log Too Big

2001-03-01 Thread Randy Layman
Sadly, no. You must stop IIS, remove the file, and restart IIS. Not to hard with a .bat file, however it causes outages in your availability. Batch file would be something like: net stop "World Wide Web Publishing Service" del isapi.log net start "World Wide Web Publishing Service"

RE: trouble in starting tomcat

2001-03-01 Thread Randy Layman
First, try starting tomcat with bin\tomcat run (note the parameter run) - this will start in the same window and will keep the error on screen. Second, the cause of your crashes is the JDBC-OBDC bridge. This component is not thread safe. As soon as the second concurrent access

RE: TomCat - IIS - Security

2001-02-28 Thread Randy Layman
ret" with permissions for user "bar", how could that be possible ? Bye Christian -Ursprngliche Nachricht- Von: Randy Layman [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 27. Februar 2001 13:57 An: [EMAIL PROTECTED] Betreff: RE: TomCat - IIS - Security

RE: Help with Cable Modem

2001-02-28 Thread Randy Layman
Tomcat in no way by itself will affect any of your network settings. To uninstall it remove its files. Tomcat also doesn't affect the registry, unless you have integrated it with IIS (and you would know the changes to the registry at that point). Basically, the tech was looking

RE: error in refreshing the servlet window

2001-02-28 Thread Randy Layman
For what its worth, I recently upgraded from JDK 1.2.2_002 to 1.2.2_007 (I upgraded because of the security alert). I have been having the VM crash on me two or three times a day during active development. In the past three days since I upgraded it hasn't crashed once. This is on Win

RE: error in refreshing the servlet window

2001-02-28 Thread Randy Layman
out.println("head"); The servlet works fine the first time. But gives a null pointer exception the next time when it is refreshed. the tablename is being collected as null during the refreshing. It works ok, if I do a manual refresh. Any pointers please, Thanks, L -Original Messag

RE: A few questions regarding file placement for projects

2001-02-28 Thread Randy Layman
See responses intermingled -Original Message- From: Adam Haberlach [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 3:05 PM To: [EMAIL PROTECTED] Subject: A few questions regarding file placement for projects As I mentioned before, I'm trying to set up seperate

RE: Help with Cable Modem

2001-02-28 Thread Randy Layman
Parkin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 3:13 PM To: '[EMAIL PROTECTED]' Subject: RE: Help with Cable Modem Thom, I think maybe that you're on to it. Environ - WinMe (poor me). ATT uses http://proxy:8080 I'll give it a try. By the way, thanks Randy Layman but I

RE: /servlet

2001-02-28 Thread Randy Layman
Yes. Read the manual and it will explain how the direcotry structure has to work. Read the Servlet and/or JSP specification (which Tomcat is the reference implementation of) and you will find out how the directory structure is supposed to work. Look at the sample WEBAPPs that come

RE: simple servlet setup question

2001-02-28 Thread Randy Layman
First, you need to move your .class file to webapps\extranet\WEB-INF\classes directory. Now you have two choices. You can either reference your servlet as /servlet/ExtranetServlet or you can add a mapping to your web.xml file (see the Servlet spec for more info, including an example)

RE: mm.mysql - getLastInsertID() question

2001-02-28 Thread Randy Layman
Never worked with this, but the directions seem to indicate: org.gjt.mm.mysql.Statement stmt = (org.gjt.mm.mysql.Statement)dbConnection.createStatement(); int count = stmt.executeUpdate("INSERT INTO ..."); // here i need to catch the ID that was just created // in the auto_increment

RE: TomCat - IIS - Security

2001-02-27 Thread Randy Layman
This seems perfectly reasonable to me - you told IIS to protect everything it serves our of outserver/secrectfolder and have apparently not told Tomcat to protect this webapp. If you want to protect all JSPs then you can protect the /jakarta directory, or you could configure Tomcat to

RE: IIS and Tomcat (3.2.1)

2001-02-26 Thread Randy Layman
That depends, did you tell IIS to redirect to Tomcat for /*.jsp? (Chcek the uriworkermap.properties file for your settings, read through the isapi.log file to find out what is currently happening) Randy -Original Message- From: Tin Ngoc Doan [mailto:[EMAIL PROTECTED]]

RE: Database connection pool scope

2001-02-26 Thread Randy Layman
First of all, there are several connection pools avaiable, so you might want to look at those before you decide that re-inventing the wheel is a good thing. Second, most connection pools work by using static classes. Your code would look something like: Connection conn

RE: deep web.xml problem

2001-02-26 Thread Randy Layman
Ok, let me take a slightly different approach. In your web.xml file you are specifying some init-params for a particular named servlet. Its Tomcat's job that everytime it sees this name that it passes the init-params from the web.xml file to the init method (this happens everytime the

RE: Case Sensitivity

2001-02-26 Thread Randy Layman
No. The Java platform is, generally, case sensitive. I believe that there were a number of hacks put into the Tomcat 3.1 code to allow this case insensitivity, however, case sensitive behavior is easier, and I believe its required by the JSP/Servlet spec. Randy -Original

RE: JDBC connecting to Oracle

2001-02-26 Thread Randy Layman
Perhaps you should consult the documentation that came with your Oracle JDBC drivers? I do know that there is an example of this in there. There is a method in DriverManager getConnection(url, username, password), so I believe it would be something like

RE: halcyonsoft iasp

2001-02-26 Thread Randy Layman
The whole concept behind web apps are that they are totally independent. You will heed to add the halcyonsoft stuff to each web app. Randy -Original Message- From: Jeremy Kusnetz [mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 10:21 AM To: '[EMAIL

RE: Connecting to a servlet from within an applet

2001-02-26 Thread Randy Layman
You simply need to make a request. It depends upon what you are trying to do. A GET or POST request can be made by URLConnection fairly easily. If you are looking for a session, you have to pass the session id back (the applet doesn't know about the cookies of the browser its running

RE: Installing Tomcat

2001-02-26 Thread Randy Layman
You need to install a JDK (from eitehr Sun or IBM) You need to download and un-tar/zip the Tomcat binaries (it is writtin in java, so there is only one package. The various binary directories are for the web server connectors) The Where to install is where ever you like.

RE: Connecting to a servlet from within an applet

2001-02-26 Thread Randy Layman
I've found it easire to simply pass the session ID as a parameter, and then in my servlet receive it back and use the HttpSessionContext.getSession(sessionID). I find it easier than messing with the cookies. Randy -Original Message- From: GOMEZ Henri [mailto:[EMAIL

RE: Connecting to a servlet from within an applet

2001-02-26 Thread Randy Layman
Never thought of that - its not been a problem with my configurations Randy -Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 5:53 PM To: [EMAIL PROTECTED] Subject: RE: Connecting to a servlet from within an applet

RE: servlet-zones

2001-02-23 Thread Randy Layman
Have you disabled the ServletInvoker request interceptor in your server.xml file? Basically, old versions of JServ and Tomcat supported a URL of /servlet/fully.qualified.classname as a method to call servlets without setting up explict aliases. This isn't part of the servlet spec, but

RE: fix for bug 535?

2001-02-23 Thread Randy Layman
This is a known bug (as you found) and the fix has reportedly been made in the nightly builds and will be in the upcoming Tomcat 3.2.2. and 3.3 releases. There is a work around for this - if you leave the ROOT context then everything should work. Randy -Original

RE: Slow upload speeds

2001-02-22 Thread Randy Layman
Actually it shouldn't be the browser upload mechanism. I can't say about IE (closed-source) but the Mozilla/Netscape 6.0 are smart in the way they upload. There was a problem with Jason's library and Tomcat in some of the older versions (i.e. the version that ships in his

RE: Tomcat service using JDBC-ODBC bridge

2001-02-22 Thread Randy Layman
1. Are the ODBC Data Sources User or System? (If user, then only the user that created them can see them) 2. The JDBC-ODBC bridge loads a dll in order to communicate. Is this DLL available to the service? Also, you should be aware that the JDBC-ODBC bridge is not

RE: Installing Tomcat and ISAPI_Redirect.dll on Win2K

2001-02-22 Thread Randy Layman
The same DLL works for NT and 2000, as well as the same directions. I have it running on 2000 with no problems. If you are getting the red arrow for the filter, download the dll in the zip file to prevent corruption Otherwise, really check the registry settings - they are

RE: tomcat memory

2001-02-22 Thread Randy Layman
I thought by default java would use all the available memory, but maybe not. In your script that starts Tomcat, add -XmxAM where A is the number of megabytes Tomcat should use as its maximum heap memory size. Randy -Original Message- From: Carlos [mailto:[EMAIL

RE: Broken pipe error

2001-02-22 Thread Randy Layman
The answer is no - Tomcat knows nothing about your socket connections and therefore can't close them. A couple of things come to mind - first the Oracle drivers might be releasing the connection, check their documentation about this. Also, what is the behavior if your servlet is

RE: Help:What type of a configuration Tomcat is more preferable t o industrial use

2001-02-22 Thread Randy Layman
If you configure everything correctly! One thing to be carefule of is how you tell Apache to give requests to Tomcat. If you specify that Tomcat should get all *.jsp and /servlet/* requests, then Apahce will serve the images if it can find them. This is preferable, but it is a little

RE: IIS 5.0+Tomcat

2001-02-22 Thread Randy Layman
200 is the success status code. What problem are you having? Have you checked the tocat logs? Randy -Original Message- From: Omar Diego Vera Ustariz [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 10:11 AM To: [EMAIL PROTECTED] Subject: IIS 5.0+Tomcat

RE: IIS5 - Missing something very simple

2001-02-22 Thread Randy Layman
Since you have IIS running on port 8080, I would be willing to be that you have turned on directory security for the directory that you are requesting. Either turn it off, or use a username/password that IIS knows about (i.e. machine logins) Randy -Original Message-

RE: IIS5 - Missing something very simple

2001-02-22 Thread Randy Layman
2) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) Press any key to continue . . . D:\app\tomcat\bin I do not see D:\app\tomcat\webapps\projsp\ch14\photos in the projsp.jar file although there are sub-directories for photos. index.jsp resides in photos\grand-teton. ---

RE: Tomcat deployment

2001-02-22 Thread Randy Layman
Yes. You start Tomcat with the -f path to server.xml. You must also use this when stopping Tomcat. Randy -Original Message- From: Amir Nuri [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 2:22 PM To: Tomcat-User Subject: FW: Tomcat deployment In order

RE: Tomcat, IIS and error 404

2001-02-21 Thread Randy Layman
: Tomcat, IIS and error 404 From: Randy Layman [EMAIL PROTECTED] To: Alberto Vezzoso [EMAIL PROTECTED] Subject: RE: Tomcat, IIS and error 404 Date: Mon, 19 Feb 2001 11:49:37 -0500 NULL parameters means that it either can't find your uriworkermap.properties file or that it doesn't

<    1   2   3   4   5   6   7   8   >