No, Tomcat and IIS can be on different machines (the redirector is on the
IIS server, but it is simply a DLL). One of the entries in the properties
file used to configure the redirector is the name of the machine where
Tomcat is running. This is how the redirector knows where to redirect the
I am looking into the ability to add charting capabilities to our intranet
app and was wondering if anyone else has experience with any of the
available packages.
One of the requirements is, of course, that I can create the graphs in
Tomcat and send the results to a browser, and I would prefer
As far as I know you should use ojdbc14.jar for Oracle9: Though previous
ones should work, the ojdbc14.jar is recommended / needed for Oracle9.
{The classnames are different between classes12.jar and the new
ojdbc14.jar}
On Tue, 2003-01-07 at 17:57, Wagoner, Mark wrote:
I think classes12.jar
I think classes12.jar is for JDK 1.2. You want classes111.jar (if you can
find it).
-Original Message-
From: John Clark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 12:54 PM
To: 'Tomcat Users List'
Subject: HP-UX 10.20 + Oracle
Hi there,
The story so far: I have an
and the new
ojdbc14.jar}
On Tue, 2003-01-07 at 17:57, Wagoner, Mark wrote:
I think classes12.jar is for JDK 1.2. You want classes111.jar (if you can
find it).
-Original Message-
From: John Clark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 12:54 PM
To: 'Tomcat Users List
If I may jump in...I like to use the Iterator pattern for building select
lists. While this may not be the best application for a situation where the
list of values is predetermined (such as with states), it works well when
reading from a variable list of values such as from a database.
In my
That's funny, I have had it running as a service on Win2K for nearly 3
weeks. Guess I better tell the user's its not working.
To answer the original question; no, there are no known issues. I don't use
the wrapper, I simply select the Run as service option when I install
Tomcat.
-Original
Tomcat 4.0.4 and Java 1.4.1_01-b01 in production.
Tomcat 4.0.6 and Java 1.4.1_01-b01 for development.
-Original Message-
From: Becky Phaneuf [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 12:41 PM
To: [EMAIL PROTECTED]
Subject: RE: tomcat as service
Please verify the exact
I don't have an answer to your exact question, but given the numbers you
cite I would try to come up with an alternative design.
Perhaps you can create one JSP page that uses dynamic includes to
incorporate the text of the article?
Just a thought.
-Original Message-
From: Julian
There is really nothing special about serving a PDF document other than
setting the correct MIME type. If you are using Tomcat to serve static PDF
files, just make sure the file extension is .PDF and the browser should
recognize it properly. If you are dynamically generating the PDF and
sending
The connection reset by peer error simply means the client closed the
connection before all of the output was written. This is usually because
the user hit the Stop button or navigated to a different page before the
first one was fully loaded. This can also happen if a user double-clicks on
a
It is even easier to run 4.x as a service. It is one of the options when
you run the Tomcat installer.
-Original Message-
From: Richard Hartley [mailto:r.hartley;umist.ac.uk]
Sent: Tuesday, November 12, 2002 10:53 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.x as NT service
Hi
Is it
I'm by no means a SQL Server expert, but based on the error I would guess
the driver is not communicating with the server.
Can you connect to the database from the Tomcat server but outside of Tomcat
(using some query tool)?
-Original Message-
From: John Mattos [mailto:mattosj;yahoo.com]
I think it is called stderr.log.
You may also want to check the Window's Event Log. If the OS experienced a
problem with the service and had to kill it, it should have recorded an
event. I would check both the Application Log and the System Log.
-Original Message-
From: CHAO,KENT
Sounds like the executable is corrupt. If you run java -version do you
get an error? You may need to reinstall the JDK.
-Original Message-
From: Paul Abrilla [mailto:APCXU;CUNYVM.CUNY.EDU]
Sent: Wednesday, October 30, 2002 11:15 AM
To: [EMAIL PROTECTED]
Subject: Warning running
We have a similar hardware setup (PIII 1GHz 512M) but running Tomcat 4.0.4
on Win2k/IIS and accessing a DB2 database on a separate iSeries server.
The system is used by our sales reps in the US and Canada (about 30) over a
VPN, so it can see activity at any time. It never really gets hammered
I don't think you are supposed to be able decrypt the passwords. In fact, I
would hope that you can't or Oracle would have a big problem.
-Original Message-
From: Graham Lounder [mailto:lounder;caris.com]
Sent: Tuesday, October 22, 2002 8:28 AM
To: [EMAIL PROTECTED]
Subject: Digested
Tomcat does not use the classpath and, since you are using JDK 1.4, you only
need ojdbc14.jar (the zip files are for older versions of Java). Put the
jar file in the WEB-INF/lib directory of your web app. Tomcat will
automatically load it from there.
-Original Message-
From: Eddie Liang
subdirectory under %catalina_home%\webapps\ROOT\WEB-INF\, could I create
one and put ojdbc14.jar in it?
Thank you
Eddie Liang
Database Architect
Phone: 630-810-9669 x253
-Original Message-
From: Wagoner, Mark [mailto:MWagoner;wild-flavors.com]
Sent: Friday, October 18, 2002 11:03 AM
To: 'Tomcat
A service will start without a user logged in (if the startup mode is set to
Auto) and continue to run after they log out. Anything in the startup
folder doesn't start until the user logs in and is terminated when the log
out.
-Original Message-
From: Gaull, Kathy [mailto:[EMAIL
Put your class file in /usr/local/tomcat/webapps/ROOT/WEB-INF/classes
Put classes.jar in /usr/local/tomcat/webapps/ROOT/WEB-INF/lib
Tomcat will look in WEB-INF/lib for your jar files, not on the classpath (in
fact, you can remove the reference from you classpath).
-Original Message-
An even easier solution is to select the NT Service option when installing
Tomcat. Then you don't even need jk_nt_service.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 1:02 PM
To: [EMAIL PROTECTED]
Subject: Tomcat as service -
The UnsatisfiedLinkError is usually an indication that LD_LIBRARY_PATH is
not set properly (if on *nix) and/or ORACLE_HOME is not set correctly. If
you are on Windows, also add %ORACLE_HOME%\bin to your path.
-Original Message-
From: Koes, Derrick [mailto:[EMAIL PROTECTED]]
Sent:
I got this same error when I moved from 1.3.1 to 1.4.0, so I don't think it
is something in the JDK.
Unfortunately, I can't remember exactly how I fixed it. I *think* it was
because I still had an old version of the JRE floating around on the
machine. But like I said, I'm not sure anymore.
I
Well, it sounds like you have several problems but it is hard to diagnose
with the information supplied.
What is an 'X' database? Are you using a JDBC driver to connect to it?
The IOException about the LOG/BAN files is not a Tomcat message. Is your
servlet trying to do some sort of logging?
I would use an IDE like Netbeans or Forte to get started. It will do most
of this for you, including packaging the entire app into a WAR file.
Once you go through the process within the IDE it starts to make much more
sense.
-Original Message-
From: James [mailto:[EMAIL PROTECTED]]
To: 'Tomcat Users List'
Subject: Re: Simple WAR files
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Fri, Aug 30, 2002 at 11:41:19AM -0400, Wagoner, Mark wrote:
I would use an IDE like Netbeans or Forte to get started. It will do most
of this for you, including packaging the entire app
Server A has a catastrophic failure and dies (or some idiot unplugs it).
ROTFL - I was doing a customer install once and left for the night. When
the cleaning lady came in she needed to plug in her vacuum cleaner. Guess
where she found the outlet. Oddly enough, this was at a hospital.
Sorry
When you say it returns a status, do you mean it is a function (I work
primarily with Oracle, so if this does not apply to MS I apologize)?
If so, you need to make the call something like:
CallableStatement stmt = conn.prepareCall({call ? = proc(?,?, ... )});
-Original Message-
From:
Message-
From: Wagoner, Mark [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 12:31 PM
To: 'Tomcat Users List'
Subject: RE: OFF-TOPIC: Pointers to CallableStatement docs?
When you say it returns a status, do you mean it is a function (I work
primarily with Oracle, so if this does not apply
I think you are attempting to output the value if there is nothing in the
result set.
if(!rs.next())
The .next() method will return true if it was able to fetch a row. You are
saying, if there is no row then...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Take a look at Log4j
http://jakarta.apache.org/log4j/docs/index.html
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 7:15 AM
To: [EMAIL PROTECTED]
Subject: Newbie Question about logging
Hi All,
I have just started using 1.4 and
I don't know if it is compatible or not, but it is not necessary. The
Tomcat 4.x installer includes a run as service option during installation.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 7:14 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL
CRON is to run jobs at a scheduled time. The init scripts are what starts
processes at boot up.
Just a word of warning; being a fairly recent Windows-to-Linux convert
myself, be prepared to read and reread the docs before you get it working.
;-)
-Original Message-
From: Wynn Ricks
You might check to make sure IIS is NOT trying to perform authentication.
On the properties sheet for the site, allow anonymous access and disable IIS
authentication.
HTH
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 2:50 PM
To:
disable IIS authentication? I already allowed anonymous access.
Thanks.
Bao-Ha Dam Bui
[EMAIL PROTECTED]
S. Jude Medical, Inc
651.765.1018
-Original Message-
From: Wagoner, Mark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 1:53 PM
To: 'Tomcat Users List'
Subject: RE: I
I couldn't help noticing that the extension_uri in the Registry entry
has isapi_redirect.dll instead of isapi_redirectOR.dll. I finally
noticed that the instructions say to download the Tomcat 3.3
isapi_redirect.dll! Then why is there a file with a different name in
the Tomcat 4.0.3 area,
If I recall...
Go to the Properties page of the web server and select the Directory
Security tab. Click the Edit button for Anonymous Access and Authentication
Control. Select Anonymous Access and un-select everything under
Authenticated Access.
HTH
-Original Message-
From: Luca
request.getHeader()
response.setHeader()
-Original Message-
From: Ekkehard Gentz [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 9:01 AM
To: Tomcat Users List
Subject: access to HttpHeader
hi,
is there a way to have access to the HttpHeader from Tomcat ?
I want to set
Since you are using WARP exclusively, you can remove the Tomcat-Standalone
service from your server.xml file. After you restart Tomcat, it will no
longer be listening for HTTP requests.
-Original Message-
From: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06,
]
_
-Ursprüngliche Nachricht-
Von: Wagoner, Mark [SMTP:[EMAIL PROTECTED]]
Gesendet am: Donnerstag, 6. Juni 2002 18:13
An: 'Tomcat Users List'
Betreff: RE: Access-Control for Tomcat-Webserver (Version 4.0.1)
Since you are using WARP exclusively, you can remove
]
_
-Ursprüngliche Nachricht-
Von: Wagoner, Mark [SMTP:[EMAIL PROTECTED]]
Gesendet am: Donnerstag, 6. Juni 2002 19:17
An: 'Tomcat Users List'
Betreff: RE: Access-Control for Tomcat-Webserver (Version 4.0.1)
Sorry
There are documents on the Apache website:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html
Although if you are new to Tomcat I would suggest you work with it in
stand-alone mode for a while. Several people have reported that Tomcat by
itself is a fairly robust web server. You
If at all possible, I would move to Tomcat 4. The installation program has
a run as service option. That way it is configured for you.
-Original Message-
From: Evans, Sean [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 3:23 PM
To: '[EMAIL PROTECTED]'
Subject: [REPOST] Tomcat
Did you verify your ORACLE_HOME environment variable? If this is not set,
the Oracle client cannot find the necessary files.
-Original Message-
From: Mark Schmeets [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 4:09 PM
To: [EMAIL PROTECTED]
Subject: Unsatisfied link error with
The default registry entries have a typo. Check the value for:
HKEY_LOCALMACHINE\Software\Apache Software Foundation\Jakarta Isapi
Redirector\1.0\extension_uri
The default value is isapi_redirect.dll, but the DLL name is
isapi_redirector.dll.
Also check the name of your worker.properties
Your browser cannot view files under the WEB-INF directory. Create one
under ROOT (e.g., scripts) and point the source attribute at that
(src=/scripts/code_lib.js). Just make sure you put your file there, too.
;0)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
/howto/tomcat/iisnt/#4
-Original Message-
From: Wagoner, Mark [mailto:[EMAIL PROTECTED]]
Sent: May 14, 2002 15:39
To: Tomcat User List (E-mail)
Subject: Yet Another IIS/Tomcat Problem
I have Tomcat 4.0.3/isapi_redirect.dll mostly working on a
Win2k server but
get the following
I have Tomcat 4.0.3/isapi_redirect.dll mostly working on a Win2k server but
get the following in the log file:
[...]
[jk_isapi_plugin.c (439)]: HttpFilterProc [/home] is a servlet url - should
redirect to ajp13
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/home] is points to the
web-inf
I doubt Win98 can handle it. I know NT workstation places a limit on 10
simultaneous network connections (this is one of the differences between
workstation and server). My guess is 98 is the same if not less.
-Original Message-
From: Marc Chamberlin [mailto:[EMAIL PROTECTED]]
Sent:
If you are using the default server.xml file, the entries are being written
using the common pattern. This is defined as:
%h %l %u %t %r %s %b
where %b is the number of bytes sent in the reponse, excluding headers.
According to the docs, there is no pattern attribute to record the total
time
On the Tomcat site:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/valve.html
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 12:58 PM
To: [EMAIL PROTECTED]
Subject: RE: Log the amount of time taken to complete a request...
Where
You can't do it directly, but using a loop and JavaScript's literal
initializer you can create the JS code to do it.
(Note: this is not the most efficient way to do it, you should use a
StringBuffer to build the variable.)
String jsVar = [ + array[0];
for (int i = 1; i
This is more a general Java question than a Tomcat question.
Perhaps you should do a search for enumerating printers through JNI.
-Original Message-
From: Jack Li [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 10:47 AM
To: 'Tomcat Users List'
Subject: RE: How select a
If the database is Oracle there is a system table called V$SQLAREA that
holds this information.
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 10:17 AM
To: [EMAIL PROTECTED]
Subject: Want to grab SQL stmt from executing servlet
Hello,
I
You can put these as init-param entries in web.xml. If I have a large
number of them and/or the administrator may need to edit them, I put them in
a properties file and create an init-param entry that points to this file.
I trust someone editing the properties file more than the deployment
Typically, my servlets read these values and pass them to the various beans
when they use them. This is usually passed to the constructor but it
depends on the situation.
-Original Message-
From: Danilo Luiz Rheinheimer [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 10:57 AM
Can you use request.getRemoteAddr() and use the machine's IP address?
-Original Message-
From: Iain Darroch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 11:22 AM
To: Tomcat Users List
Subject: RE: Restricting access by machine
I dont think that would work as I want other
Do you have flush=true? I have to include this attribute in the code
while I am developing it in Forte (since it is still using the old JSP spec)
but found if I don't remove it in production (since Tomcat 4 uses the new
spec), I will occasionally have the same problem.
-Original
I place my properties files in the WEB-INF directory and do the following to
find them -
String webInfFolder = getServletContext().getRealPath(/WEB-INF)
-Original Message-
From: Sanjay Bahal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 11:34 AM
To: tomcat
Subject: Working
Actually, the default on Linux is 8180 for some reason.
You should still check your server.xml file to make sure that is what it is
set to, however.
-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 3:46 PM
To: 'Tomcat Users List'
If you do a ps -aux, does it show a Java process running?
-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 3:50 PM
To: 'Tomcat Users List'
Subject: RE: Newbie installation question
Tried localhost:8080, but still get the same message.
In
Are you sure you really want independent instances of the bean, or just the
ability to keep the variable values separate by user? If it is the latter,
then just use local variables in your bean methods.
-Original Message-
From: Chenming Zhao [mailto:[EMAIL PROTECTED]]
Sent: Tuesday,
: AW: Multiple users share java bean?
- Original Message -
From: Wagoner, Mark [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, March 26, 2002 2:12 PM
Subject: RE: AW: Multiple users share java bean?
Are you sure you really want independent instances
Did you add a Census context to your server.xml file?
-Original Message-
From: Jim Cobban [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 9:51 AM
To: Tomcat Users List
Subject: Urgent Re: Newbie: Servlet under Windows does not run
I am really desperate. I need to be able to
What URL are you using to get to the servlet?
-Original Message-
From: Jim Cobban [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 12:47 PM
To: Tomcat Users List
Subject: Re: Urgent Re: Newbie: Servlet under Windows does not run
- Original Message -
From: Wagoner, Mark
if the servlet is actually being located or not.
-Original Message-
From: Jim Cobban [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 1:34 PM
To: Tomcat Users List
Subject: Re: Urgent Re: Newbie: Servlet under Windows does not run
- Original Message -
From: Wagoner, Mark
Is it possible to change the Create servlet to a simple class that accepts
the request as a parameter? Since it does not manipulate the response
object, there is no need to pass it. Also, you can then call Create using a
regular method invocation, rather than using forward.
It may require some
, NC 27514
(919) 967-2399 ext: 251
[EMAIL PROTECTED]
http://www.healthdec.com
-Original Message-
From: Wagoner, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 8:58 AM
To: 'Tomcat Users List'
Subject: RE: How can I resolve this IllegalStateException: Response has
a lrea dy
Actually, the way forward works came as a surprise to me as well. And I
only figured it out after a few days of testing and head-scratching. :)
Since the session is held in the request object, changes made to it should
be available to the original Home servlet by calling request.getSession
-Original Message-
From: Wagoner, Mark [mailto:[EMAIL PROTECTED]]
Sent: 08 March 2002 14:52
To: 'Tomcat Users List'
Subject:RE: How can I resolve this IllegalStateException: Response
has a lrea dy been committed problem?
Actually, the way forward works came as a surprise
I have been developing an app that needs to send large amounts (~kilobytes)
of structured data between the server and the client. I have been working
on a framework to facilitate this by using JavaScript's object notation.
Essentially, I have a JavaScript function that converts a JavaScript
I would use a servlet rather than a JSP, since it will not have a UI. You
then point all of your servlet-mappings in the web.xml file to this servlet.
-Original Message-
From: Gurmeet [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 9:32 AM
To: Tomcat Users List
Subject: NEED
I don't think this is exactly true. I have an app using the mediator design
pattern, in which there is only one servlet handling all requests (all of my
servlet mappings point to the same servlet). It in turn hands the requests
off to various classes and/or JSP pages for actual processing.
Take a look at Log4j http://jakarta.apache.org/log4j/docs/index.html
It has been the greatest debugging tool I have found.
-Original Message-
From: Nitin Vira [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 12:47 PM
To: Tomcat Users List
Subject: Debugging JSPs and
You don't have to touch all the files. Just the JSP that contains the
include directive. Tomcat uses the date of the JSP file to determine if it
needs to be recompiled. If it does, then it will re-read any included
files.
-Original Message-
From: Guillermo Payet [mailto:[EMAIL
You really want to use the dynamic directive if the file being included is
another JSP file. Otherwise you will get the source of the included JSP in
the output, not the output of the included JSP.
That came out pretty clear. :-)
-Original Message-
From: Clay Mitchell [mailto:[EMAIL
Do you happen to have include directives with flush=true. If so, take the
flush attribute out. This helped me, anyway.
-Original Message-
From: Robert Winningham [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 9:46 AM
To: [EMAIL PROTECTED]
Subject: IllegalStateException in
Log4j will do both of these. You essentially replace your println() calls
with log4j calls.
-Original Message-
From: Brown Bay [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 2:09 PM
To: Tomcat Users List
Subject: Re: Log messages
With respect to logging, I have a program
The problem is due to NT (or 2000) not allowing the Tomcat service to
interact with the desktop. If you bring up Task Manager, you will probably
see your invoked process running, but it can't create window. In fact, the
only way you will now be able to get rid of it will be to kill it in Task
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 22, 2002 11:08 AM
To: Tomcat Users List
Subject: Re: Invoking a process on the server from a servlet
- Original Message -
From: Wagoner, Mark [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, January 22, 2002 3:45 PM
I am trying to move an app from Tomcat 3.3 to 4.01 and am running into a
really strange problem.
Everything works fine except for my error page, which won't compile. I get
the following:
2002-01-18 09:08:18 ApplicationDispatcher[] Servlet.service() for servlet
jsp threw exception
I'm not importing it because I am not using directly. Tomcat is throwing
the error when it is invoking its internal JSP compiler.
To be honest, I don't even know which JAR file the org.apache.jsp package is
in.
-Original Message-
From: Justin Rowles [mailto:[EMAIL PROTECTED]]
Sent:
Well, that helped. Although just importing the package wasn't enough. I
had to change the scriptlet in the JSP to specifically say
java.io.PrintWriter.
Now I am getting an IllegalStateException, but at least one hurdle is over.
I still can't understand why none of this was necessary under
Unfortunately, I think the answer to your question is it depends.
You could code the controller servlet to handle all of the requests, in
which case you would want to make it as small and fast as possible.
Possibly get the session info, request a login if there is no session (if
that is a
85 matches
Mail list logo