Hi,
I am running TC 4.1.29 on Linux with jdk 1.4.2. I have two machines that are set up to
be quite similar.
Occasionally when I start tomcat my log contains such things as:
java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener (from one machine)
or
IIRC there is a bug in the coyote connector in TC 4.1.10.
You have to use the org.apache.ajp.tomcat4.Ajp13Connector connector and set
an attribute
tomcatAuthentication=false to achieve the result you desire.
-Original Message-
From: George Hart [mailto:[EMAIL PROTECTED]]
Sent:
and mod_jk works.
Can anyone tell me where this is documented?
HTH
-Original Message-
From: Brett Knights [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 12, 2002 9:53 AM
To: 'Tomcat Users List'
Subject: Building mod_jk.so for Linux
Hi,
I have a RH Linux 7.2 system with Apache
That's pretty strange. Mod_jk is the last module loaded for
me, at the very
end of httpd.conf, and it works perfectly.
John
-Original Message-
From: Brett Knights [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 2:22 PM
To: 'Tomcat Users List'
Subject
Hi,
I have a RH Linux 7.2 system with Apache 2.0.42 installed.
I am trying to compile mod_jk.so for this system.
I have the jakarta-tomcat-connectors-4.0.6-src files and run the following
to make the .so
from jk/native
./configure --with-apxs=/usr/local/apache2/bin/apxs
make
this process runs
Hi,
I am attempting to transition to Apache2 under Windows NT.
I have two servers. Server1 is running Apache with several virtual hosts.
Server2 is running Apache2 and Tomcat 4.0.4 final.
One of the virtual hosts on Server1 needs to forward some requests to a
webapp on Server2.
Under Apache
/contact.html.var'
[Thu Jul 25 14:07:27 2002] [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
-Original Message-
From: Brett Knights [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 2:27 PM
To: 'Tomcat Users List'
Subject: Apache 2
Actually the enum is on the attribute names which is always an enum of
String:
Enumeration enum = context.getAttributeNames();
while(enum.hasMoreElements()){
String name = (String) enum.nextElement();
Object attribute = context.getAttribute(name);
...
}
Enumeration enum =
This sounds intriguing as I am currently screwing around with trying to get
TC 4.04 working with Apache 2.039 under Win32.
What happens when a web app needs authentication? Do 401 responses work
through a proxy?
Can requests still be authenticated by Apache and if so does the current
user pass
references to my mod_jk.conf file
or not.
My apache machine has neither java nor tomcat installation.
TIA
^^^
Brett KnightsTanner Research, Inc.
MIS Analyst 2650 E
Check out the long running servlet example in the Jason Hunter book.
Wrap the result holder/processor in a Session listener.
If the browser requests the result then get it from the session and return
it. If they eventually log off or their session expires you can reclaim the
result memory.
HTH
(terse response)
for each tomcat create a different worker (listening on different ports or
from different servers). Map the urls to workers as appropriate.
remember to modify server.xml to listen on the correct ports.
HTH
-Original Message-
From: David Wilson [mailto:[EMAIL
setting those parameters.
^^^
Brett KnightsTanner Research, Inc.
MIS Analyst 2650 E. Foothill Blvd.
[EMAIL PROTECTED] Pasadena, CA 91107
voice 626-432
Are all the sql related class files for each webapp in the respective
webapps lib or classes directories?
If not you might try that. (And if it works please report back.)
HTH
-Original Message-
From: Brian Richards [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 03, 2001 9:54 PM
that it tries to load for each getConnection
request. That may help.
-Original Message-
From: Brett Knights [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 6:13 AM
To: [EMAIL PROTECTED]
Subject: RE: Driver fails to load on two webapps
Are all the sql related class files
Might i try moving the jar to WEB-INF\classes instead of WEB-INF\lib ?
Wouldn't work. Jars are only loaded from the lib directory.
As you did I ended up with my driver jar file in a common directory
(lib/common for tc3.3)
I have a connection pool manager (bitmechanic) and I keep its jar in
I'm not quite sure what a redirector is but I had better success with ajp13
than ajp12 wrt non-tomcat managed authorization credentials.
HTH
-Original Message-
From: Crane, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 8:15 AM
To: '[EMAIL PROTECTED]'
Subject:
Go to the jakarta.apache.org website and follow the documentation links for
TC3.3 with respect to integrating Tomcat with Apache.
For building and installing the ajp connector for TC4 go to
http://jakarta.apache.org/site/cvsindex.html
and follow the instructions for checking out the cvs module
/servlet.jar/
property name=junit.jar location=${env.JUNIT_HOME}/junit.jar/
and to the target build-main's javac task I added
exclude name=org/apache/ajp/tomcat33/** if=tomcat3.skip/
HTH
***
Brett Knights
This way lies madness. The web is not a VB App. :-)
Try having the second form submitted by an onload javascript function in the
page returned by the first servlet call.
HTH
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 6:32
The web is not that complicated a paradigm and trying to shoehorn it into a
rich GUI environment can be a real headache. (At least that's my experience)
Furthermore people using a web app aren't necessarily used to having to
navigate that rich GUI. IMO part of the web's success is that it has a
There are instructions in the readme.txt file that you will find in the jk directory
under the connectors module.
you can then configure IIS the same as described in the docs for Tomcat 3.3.
HTH
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday,
This way lies madness. The web is not a VB App. :-)
I know! I did not choose this application but was given it.
Try having the second form submitted by an onload
javascript function in
the
page returned by the first servlet call.
Tried this. We are using Netscape 4.x and the unload
-Original Message-
From: Jeff Annable [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 5:22 PM
To: [EMAIL PROTECTED]
Subject: IIS4 with Tomcat 4.0
I have seen a few reports that you can configure Tomcat 4.0 with the
redirects used in 3.3? Has anyone successfully
Tomcat is running as a service and seems to be o.k. but I want to
integrate with IIS.
Surely you mean you need to integrate with IIS? :-)
^^^
Brett KnightsTanner Research, Inc.
MIS Analyst 2650 E. Foothill Blvd.
[EMAIL PROTECTED] Pasadena, CA 91107
voice 626-432-5767 fax 626-792-0300
^^^
Message-
From: Brett Knights [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 23, 2001 1:22 PM
To: '[EMAIL PROTECTED]'
Subject: TC4 and Send Error
I have installed TC4 and have it working.
I am moving an app that worked fine under TC3.3.
My problem is that when I call
in
your InsertIntoDB method and would no longer need to worry about synchronization. The
pool should manage re-getting the connection
after an access restart.
HTH
***
Brett Knights 250-338-3509 work
[EMAIL PROTECTED
I just use mod_ntlm and let apache handle it.
http://members.ozemail.com.au/~timcostello/mod_ntlm/
v 1.2 has been rock solid.
There's another one (that I haven't used) at sourceforge:
http://modntlm.sourceforge.net/
Date: Mon, 9 Jul 2001 09:25:16 +0100
To: [EMAIL PROTECTED]
From: [EMAIL
You can use jdk 1.3.1 to overcome this problem. I am running TC as a service on NT4 no
problem.
Note you have to add -Xrs on the command line (in the wrapper.properties file) to
overcome the stop on logout problem.
See
Is development on TC 3.3 proceeding or is most effort going into TC 4.0?
Is there still a plan to have a release build of TC 3.3?
TIA
***
Brett Knights 250-338-3509 work
[EMAIL PROTECTED] 250
as wrapper.class_path properties.
In order to make TC work like it does from the startup scripts I needed to change the
startup class to be:
wrapper.startup_class=org.apache.tomcat.startup.Main
HTH
***
Brett Knights
Barry,
Tomcat 3.3 resolves this issue by letting you isolate a web-app's jar files from the
container's jar files. I don't know if the
change is available in 3.2.2 but you might save yourself some work if it is.
The issue in general seems to be an ugly one. From a development point of view it
***
Brett Knights 250-338-3509 work
[EMAIL PROTECTED] 250-334-8309 home
***
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Sunday
file not found error.
If I request http://localhost/reports/servlet/SnoopServlet I get the same.
Any insight or suggestions would be appreciated.
I believe I once had this working with Tomcat 3.2 (on another machine)
***
Brett Knights
Sh*t!!!
Thanks very much.
-Original Message-
From: Boris Niyazov [mailto:[EMAIL PROTECTED]]
I put SnoopServlet.class in webapps/reports/classes
It should be in webapps/reports/WEB-INF/classes
There isn't much else I can tell you besides to check the notes on the sun website so
you understand what the problem is and can
figure out how you might go about fixing it.
You might find the attached class useful in identifying which jar files have potential
conflicts though I haven't made
sealing violation is new in jdk 1.3 and addresses a potential security problem. The
java web site has notes on this.
What I found is that certain xml related jar files each includes the class files for
dom, sax, jaxp etc.
You can mess with the order of the jar files on your class path to work
support for NTLM than MS's own product.
HTH
***
Brett Knights 250-338-3509 work
[EMAIL PROTECTED] 250-334-8309 home
***
Re ... Apache has cleaner support for NTLM than MS's own
product ...:
Cleaner how? Disallowing Anonymous is all it takes in IIS.
To get the user name passed through for use with a Basic Authentication scheme managed
from your server app yes I have done that
many times. Probably you can
?
***
Brett Knights 250-338-3509 work
[EMAIL PROTECTED] 250-334-8309 home
***
I had a similar error recently when I compiled a servlet with the jsdk2.0 classes on
my classpath.
Recompiling with the current servlet classes fixed it.
Hi, I try to run Servlet from TOMCAT, but it has error.
Please give me
some help! The Servlet is to access Oracle DB. V8i. from the
What I have to do (in the configuration files) when I want to start my
servlets with the URL:
http://localhost/servlet/TestServlet
and not with a WEPAPP-Directory like
http://localhost/example/servlet/TestServlet
Which settings I have to do in the configuration-files and in which
\uriworkermap.properties-auto
HTH
BTW In my example below it looks like Tomcat is serving my static content. :-(
-Original Message-
From: Brett Knights [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 10:16 AM
To: '[EMAIL PROTECTED]'
Subject: RE: simple question for servlet-configuration
I have done the following:
Using Log4J
create a singleton ServletAppender that pipes output to Log4J
all my servlets check to see if this is initialized and if not they init it with the
ServletContext.
Servlet logging works normally.
Log4J logging methods (called from my non-servlet
I use the una driver from www.inetsoftware.de
They have a range of drivers, responsive tech support and decent prices.
I can't comment on your problems really. The failure to reload servlets may be
configuration related or NT related. One of my
clients uses ServletExec which sometimes reflects
I think that the caching settings on IE only affect files
written to disk.
You might try including something like this in the head section of the page's html:
meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT"
meta http-equiv="pragma" content="no-cache"
It shouldn't make any
Try FreeTDS (www.freetds.org, I think). I've used their straight TDS
driver with excellent results. They also have a Type 4 JDBC
driver as
well. I haven't had occasion to use it, but if it performs as well as
the straight TDS driver, I'm sure you'll be pleased.
Unfortunately it looks
I am doing some servlet programming and I would like
to setup a Database pool. Can someone please email me
back any help [EMAIL PROTECTED]
I have been using the bitmechanic pool for a couple of years.
For an easy way to set this up I have a wrapper for it at
r or not to cache a page (aside from
get vs post, presence of cookies etc etc)
I believe that pragma and cache-control are only used by the browser.
hth
*******
Brett Knights 250-338-3509 work
[EMAIL PROT
Date: Fri, 09 Mar 2001 16:21:43
To: [EMAIL PROTECTED]
From: "Thomas O' Connor" [EMAIL PROTECTED]
Subject: Tomcat security.
Message-ID: [EMAIL PROTECTED]
Does anyone know a simple way to encrypt information sent
from a jsp page
hosted on tomcat and then decrypt the info when it reaches
for that.
OTOH you should be able to use that with Apache and use Location tags in the .conf
file to achieve your aims. Restricted users can
be shut out and req.getRemoteUser() can be used to see who has been authenticated.
(note username will be "domain\user")
HTH
Brett Knights
-Origin
oamFileProps.load(config.getInitParameter("bw.client.configDir") +
System.getProperty("file.separator") +
"SystemPref.properties");
Context.getInitParameter for globals
-
To
And IE5
and Mozilla6 are supposed to support digest authentication so you
mightonly need to implement something as a fallback (or if it is an
intranet/extranet project specify only those browsers)
Reading
the rfc (rfc 2617) on digest authentication is a good idea if you are thinking
of
-Original Message-
My work aroudn was to url-map jsps to a particular
folder in this web application, for example a
url-mapping of /templates/* so a call to
localhost/content/templates/test.jsp will process the
jsp at that location.
It's not working. I'm forced to url-map my
What about CLASSPATH?
--- ")ason" [EMAIL PROTECTED] wrote:
In my c:\autoexec.bat I have
SET JAVA_HOME=c:\jdk1.3
SET TOMCAT_HOME=c:\tomcat2
SET PATH=c:\jdk1.3\bin;%PATH%
and in my tomcat.bat I also have
set JAVA_HOME=c:\jdk1.3
set PATH=c:\jdk1.3\bin;%PATH%
In the command
You can target any frame for the result to go to in your form tag
e.g.
form target="frameName"..
then for any other frames that need refreshing have a javascript function that
refreshes them when the form's target frame is done
loading.
e.g. in the html returned to "frameName"
body
If you don't HAVE to, I would recommend:
1. Use FreeBSD, not linux.
2. Use mSQL or mySQL, there's less processing
overhead.
3. Tomcat 3.2.1 has performance improvements over
3.1. (3.3 is cleaner still, but I'm guesing you won't want
to use a milestone build)
Mike,
I don't want to start
You might want to check this out:
http://www.javaworld.com/javaworld/jw-11-2000/jw-1122-servlets.html
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 7:53 AM
To: [EMAIL PROTECTED]
Subject: Load balancing for Tomcat with mod_jk
Make the output path a parameter.
It would then be configured by whoever is setting up the web application.
ServletContext.getResourceAsStream() is perfect for reading a
file. But what
about writing a file ?
-
To
I can't help with the performance measurement but I'd say just go ahead and develop :-)
The servlet API is meant to be portable. You can develop, test with Apache JMeter
(http://java.apache.org) and if Tomcat won't work
for you then you should be able to re-deploy to Resin with very little
61 matches
Mail list logo