Does your tomcat installation run fine? i.e. in a standalone mode?
Wade
-Original Message-
From: Tony [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 12:20 AM
To: [EMAIL PROTECTED]
Subject: tomcat jni configuration...
hi,
all
i have a problem trying to configurate my
It was a lazy way to set environment variables in unix.
Here is a simple way in ant: (just the relevant snippets, not a lesson in ant)
...
path id=classpath
pathelement location=${catalina.home}/common/classes/
fileset dir=${catalina.home}/common/lib
include name=**/*.jar/
/fileset
in the JSP..
-Original Message-
From: Duncan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 11:50 AM
To: Tomcat Users List
Subject: Re: Global Variables
Thanks for the replies, but what do I define servletContext as?
Many thanks
Duncan
Jardin Xavier wrote:
use
Sorry, if you are trying to define servletContext , please refer any JSP
book.
-Original Message-
From: Duncan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 11:50 AM
To: Tomcat Users List
Subject: Re: Global Variables
Thanks for the replies, but what do I define
Todd,
SQLUtils.executeQuery(a SQL statement);
SQLUtils.executeUpdate(another one);
Just out of curiosity, what do these methods return? If the former
returns a ResultSet object, then you're in for a world of trouble. The
ResultSet will never get closed, or you'll close the connection over
Is there anybody from Israel in this list,
I wish to find someone to consult us with pay in order to
configure the tomcat to work better with no errors and with load balance.
Please contact me directly at:
[EMAIL PROTECTED]
Regards,
Yuval
Duncan,
and String param = servletContext.getInitParameter(param);
Thanks for the replies, but what do I define servletContext as?
In every JSP, the ServletContext object is implicitly declared with the
identifier application.
So, you should just be able to do something like this in your JSP:
I am making several test and installing mod_jk on apache 1.3.
I change to directory:
/software/jakarta-tomcat-connectors-4.1.29-src/jk/native#
#./configure --with-apxs=/usr/local/apach13/bin/apxs --with-java-home=/usr/java131
--with-tomcat41=/software/jakarta-tomcat-4.1.29
#/usr/linux/bin/make
Does -server work now? What version of Linux distro did -server cause
problems, if any?
Thanks,
Oscar
On Wed, 3 Dec 2003, Shapira, Yoav wrote:
Howdy,
I use Sun's latest on various platforms (Solaris 8, 9, SuSe, Intel)
without a problem for both tomcat 4 and 5. The only caveat is the
-Original Message-
From: Duncan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 11:50 AM
To: Tomcat Users List
Subject: Re: Global Variables
Thanks for the replies, but what do I define servletContext as?
An easy way to get the ServletContext from JSP-page is to
Howdy,
I don't use -server on linux now, haven't tried it as I had problems
with it on the Solaris platform. Perhaps someone else could shed more
light...
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Oscar Carrillo [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
Also, are you using the latest mod_jk? We had some thread hangs (never
saw what you are seeing), that cleared up by moving to 1.2.5 mod_jk.
[EMAIL PROTECTED] 12/3/03 7:05:52 AM
Howdy,
I've never seen something like this with tomcat, and I don't know
enough
about mod_jk to comment
Hi,
We use the -server option on all our live Linux machines and have not had
any problems at all.
JRE 1.4.1_03 on RedHat 9.
Ryan.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 03 December 2003 17:46
To: Tomcat Users List
Subject: RE: Best JVM for Tomcat
If you notice even in 4.x the section is commented out. Also, the
StandardManager is used by default unless you specify it. So, if you
want different settings than the defaults, then you need to add in a
Manager section with the StandardManager as the class specified. Look
at the docs for
I have Tomcat 4.1.24 + IIS 5 + JK2. After Tomcat had been running for about
22 hours, Tomcat stop responding to HTTP request. Even when I type
http://localhost:8080/, it is not responding. The only log error is in
stderr log file:
org.apache.tomcat.util.threads.ThreadPool logFull
SEVERE: All
Why must someone from Israel?
--
De: yuval[SMTP:[EMAIL PROTECTED]
Responder:Tomcat Users List
Enviada: quarta-feira, 3 de dezembro de 2003 14:32
Para: Tomcat Users List
Assunto: Help needed
Is there anybody from Israel in this list,
I wish to
Howdy,
I have an idea or two: don't cross-post (this was on the dev list
earlier), and if you do cross-post at least read what people are saying
in their responses (the response said to try 4.1.29 and the latest JK2
connector).
Yoav Shapira
Millennium ChemInformatics
-Original Message-
-Original Message-
From: L.Karam [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 10:53 AM
To: Tomcat Users List
Subject: ThreadPool logFull
I have Tomcat 4.1.24 + IIS 5 + JK2. After Tomcat had been
running for about
22 hours, Tomcat stop responding to HTTP request.
First I want to apologize for another of these mails what is better
jetty vs tomcat' but most of the available resources compare both
containers in the environment where they are serving multiple concurrent
requests. What I am interested is the container that utilizes as little
resources as
On further investigation it would appear that this is not a Tomcat
issue. It seems to be something to do with mod_jk. When a
response.sendRedirect occurs it does not apply it properly. Or at
least something is not executing properly.
The setup we have is Apache 2.0.48, Tomcat 4.1.29, and
I reported a JVM bug to sun yesterday. They mentioned that the problem has
been fixed. Coincidently the work around is to increase the memory size that
is used to store class objects and related metadata. So I thought, hey, I
should try increasing and decreasing this and then reloading my
My workers2.propertiesdon't show me nothing about max_connections.
-Original Message-
From: L.Karam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 04, 2003 10:53 AM
To: Tomcat Users List
Subject: ThreadPool logFull
I have Tomcat 4.1.24 + IIS 5 + JK2. After Tomcat had
-Original Message-
From: L.Karam [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 11:18 AM
To: Tomcat Users List
Subject: RE: ThreadPool logFull
My workers2.properties don't show me nothing about max_connections.
Howdy,
Thanks for posting the follow-up.
In my opinion, the class loader for tomcat should keep track of all the
classes it's loading. When the context gets reloaded, it should then
Great. Now that you have the specs, why don't you submit a patch? ;)
discarded. Maybe that's why someone
Howdy,
You want to take out everything you don't need from server.xml. That
includes Connectors, Loggers, Realms, Valves, JNDI entries, etc. Do you
expect to use the Manager webapp? If not, you can remove it as well as
it's not required for tomcat to work properly.
For your (hopefully just
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: December 3, 2003 11:21 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.0.x memory leak (not javac)
Howdy,
Thanks for posting the follow-up.
In my opinion, the class loader for tomcat should keep track
of
You can probably delete the following from server/lib
servlets-invoker.jar ( And remove from web.xml)
servlets-manager.jar (Unless you *need* the manager)
servlets-webdav.jar
# Only keep the connectors that you plan on using
tomcat-coyote.jar
tomcat-http11.jar
tomcat-jk.jar
tomcat-jk2.jar
Hi all,
I tried to load a module but I got the following error.
I think I need the ap_pstrcat? If so, how do I install it?
Thanks in advance,
--
Syntax error on line 72 of /webpages/conf/httpd.conf:
Cannot load
Hello!
I am using Apache 2.40 built in RedHat Linux 9.0 with tomcat 2.1.24
and mod_jk2
Here are configuration see below after error message.
I use 2 tomcats with 2 load balancer.
I think I have also sticky sessions.
Where Can I configure session length in uPortal?
I think it does not wok, here
Hello,
I'm trying to sort my webapps so I want just to put the
Context-snipplets into the docBase-dir, as it is done with admin.xml and
manager.xml. When I startup tomcat it's finding all webapps. But when
I'm changing e.g. manager.xml tomcat doesn't seem to take notice of this
changes?
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: December 3, 2003 11:21 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.0.x memory leak (not javac)
Howdy,
Thanks for posting the follow-up.
In my opinion, the class loader for tomcat should keep track
of
Thank you.
What a educational ride.
I did the compilation of the jdbcrealm.java
Now I am getting the http status 403 !!!
again, without this realm setup in server.xml, by just using the DD
file, I don't have any restriction problem.
any suggestion?
thanks,
James
-Original Message-
Ok, I just checked and I have been using -server with no problems. So
that makes RH7.3 and RH9.
Oscar
On Wed, 3 Dec 2003,
Ryan Lissack wrote:
Hi,
We use the -server option on all our live Linux machines and have not had
any problems at all.
JRE 1.4.1_03 on RedHat 9.
Ryan.
Hi All,
I am using Tomcat 4.1.29 and DB2 8.1. I try to use the servlet
below to see if it can find DB2 jdbc driver:
public class Test extends HttpServlet {
public void init(ServletConfig config) throws ServletException
{ super.init(config); }
public void service(HttpServletRequest request,
I noticed in the log file that after authentication of admin user,
another line indicates that the user admin does not have the role admin.
I am checking database to make sure that the role and user have
relationship.
any suggestion?
thanks,
james
-Original Message-
From: Ostad, James
Forgive me, I'm new at this...
I am using: Java v 1.4.2_02-b03
: Tomcat v 4.1.29
Im having trouble getting an HttpsURLConnection to work as expected. I suspect I am
missing something (possibly a great many things) and would appreciate any insight
anyone could provide. I've not been
ke, 2003-12-03 kello 22:09, Sarah Zou wrote:
Hi All,
I am using Tomcat 4.1.29 and DB2 8.1. I try to use the servlet
below to see if it can find DB2 jdbc driver:
...
I have tried to put db2java.zip in Tomcat common\lib or
webapp\web-inf\lib. Also I tried to add db2java.zip to set
I was running Sun 1.4.3 on Linux Redhat 7.3 with the -server line and we
had mucho stability problems. Removed the -server and the problems
disappeared. May depend on the particular app running (the developers
thought it was related to the swing code.
Ben Ricker
On Wed, 2003-12-03 at 12:40,
An update and a correction...
I was able to get the HttpsURLConnection to work by replacing:
import javax.net.ssl.*;
with:
import com.sun.net.ssl.*;
Contrary to what I had said below there is an java.lang.ClassCastException being
thrown when making the call :
I removed pretty much everything I could from server.xml.
Removing JMX listeners improved the initial startup time but Tomcat
still uses significant more memory and memory usage grows faster when
performing similar tests comparing to Jetty (to a certain point after
each it is no growing so
Can you tell us more about issues using -server mode?
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
Howdy,
I use Sun's latest on various platforms (Solaris 8, 9, SuSe, Intel)
without a problem for both tomcat 4 and 5. The only caveat is the
-server mode, which used to reduce stability.
I
Hello Sarah,
See:
http://www.cs.wisc.edu/~dbbook/openAccess/thirdEdition/DB2/Database%20Web%20Server%20Software%20Install%20Guide.htm
It works also with DB2 UDB 8.1
Greetings,
Freek.
- Original Message -
From: Sarah Zou [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December
We are running Tomcat under Solaris 8 and tried to use the '-server'
option.The option improved greatly the performances, but unfortunately
load testing showed that the JVM would crash systematically under heavy
load. No problem running with the '-client' option.
Aymeric.
[EMAIL PROTECTED]
-Original Message-
From: Trenton D. Adams [mailto:[EMAIL PROTECTED]
Sent: December 3, 2003 12:45 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 4.0.x memory leak (not javac)
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: December 3, 2003
Hi,
A thousand thanks to everyone for the help! I have made it work!
Cheers,
Sarah
Freek Woerts [EMAIL PROTECTED] wrote:
Hello Sarah,
See:
http://www.cs.wisc.edu/~dbbook/openAccess/thirdEdition/DB2/Database%20Web%20Server%20Software%20Install%20Guide.htm
It works also with DB2 UDB 8.1
I just came across a similar problem today.
I have working code in a Swing app that uses import javax.net.ssl.*;
I copied the ssl connection code over to another app
that happens to be a servlet, and I get the ClassCastException as seen
below,
at the line of code:
connection =
Hi
Since I saw a lot of references on this list to Borlands Optimizeit, I just
got the trial and started testing. Everything fine, except that I cannot use
it.
I have Windows XP as client running the UI and I want to profile my tomcat
4.1.29 server on debian 3.1 sarge running on sun jvm 1.4.2.
I don't think this subject is really on topic for the tomcat list...
import javax.net.ssl.*;
import java.net.*;
public class HTTPTest
{
public static void main (String args[])
{
try
{
URLConnection myConnection =
(new
Hi
Since I saw a lot of references on this list to Borlands Optimizeit, I just
got the trial and started testing. Everything fine, except that I cannot use
it.
I have Windows XP as client running the UI and I want to profile my tomcat
4.1.29 server on debian 3.1 sarge running on sun jvm 1.4.2.
Steffen,
I have Windows XP as client running the UI and I want to profile my tomcat
4.1.29 server on debian 3.1 sarge running on sun jvm 1.4.2.
I have basically the same environment, and mine has worked.
The profiler attaches to the server and I do get very few information, but
the list of
Dear All,
We want to use the suffix .jnc for our jsp include files. However, if we do
something like this:
jsp:include page=productionHdr.jnc flush=false
jsp:param name=ph.pageName value=Scrub Reports/
/jsp:include
The .jnc file is not compiled -- you can see all the jsp directives when
I am having trouble getting jk installed correctly. It seems no matter what I do I
always get the red arrow in the isapi-filters tab. I am using tomcat 4.1, iis 5 and
jk 2.0.2.
Can someone please help me? Is thre any way I can find out more information on why
it's not working. It doesn't
Chris,
I found your post at
http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/
msg111700.html and I'm cc'ing the list in case anyone else is
interested in this info (I'm not subscribed).
I've actually improved the Remember Me feature a fair amount since I
posted to the Tomcat
Hi
Are you sure that it connects? How are you starting Tomcat?
I'm starting it just as told in the tutorial.
But I found the problem. I activated the Profiler API.
(It is not in the documentation that if the API is enabled then everything
else is invisible by default.)
Got it. Works very well
Robin Rigby wrote:
Thanks. I tried to to find the 4.1.24 RPM under
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/
but this redirects me to
http://jakarta.apache.org/site/binindex.cgi
which offers 4.1.29 and no RPM.
Where should I really be looking?
Robin,
I don't think you
See the following, among others:
http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb
/mde/
just my two cents . . . .
__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
C:\Inetpub\wwwroot\tomcat\webapps\myDirectory\WEB-INF\classes\myDirectory\resBean.java:Line6:
package util does not exist
import util.*;
The util package is in my web-inf/classes folder. Why would I get this compile error
in a bean?
-
Do you Yahoo!?
Hi Chris,
I don't know whether that solution would ever work. I'm sure you can't
post straight to j_security_check. Tomcat has to be aware that someone
is trying to access a protected resource before it will invoke the login
procedure.
Adam
On 12/03/2003 04:15 PM Chris Ward wrote:
Dear all,
Richard,
Does anyone know how to configure tomcat to compile .jnc files in this
circumstance?
Is there a standard convention for naming jsp include files?
Yeah, .jsp :)
Seriously, though. Check out CATALINA_HOME/conf/web.xml for how they
configure the .jsp file trnaslator/compiler. You could
Matt,
are you really managing to post a form to j_security_check without
invoking it first, or is that some sort of black magic you've cooked up?
Or have I just misunderstood what Chris said?
Adam
On 12/03/2003 09:24 PM Matt Raible wrote:
Chris,
I found your post at
On 12/03/2003 11:24 PM Remy Maucherat wrote:
The Tomcat Team announces the immediate availability of Apache Tomcat
5.0.16 Stable.
Please refer to the changelog for the list of changes.
Downloads:
Binaries: http://jakarta.apache.org/site/binindex.cgi
Sources:
Well my head is really a bloody mess now but after seeing that other
IOException: CreateProcess errors for other applications often referred to
both path and pathext environmental variables I decided to add .pl and .cgi
to pathext. Path was already corrected and I tinkered with it endlessly.
That
There seems to be a problem with the .exe installer. Even when pointed
directly to the jre (j2sdk1.4.2/lib/tools.jar) I still get the message, No
virtual machine found.
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
Turn debugging up to 99.
-Tim
Ostad, James wrote:
I noticed in the log file that after authentication of admin user,
another line indicates that the user admin does not have the role admin.
I am checking database to make sure that the role and user have
relationship.
any suggestion?
thanks,
Actually I think its much easier. In the local web.xml, I think you can add
the mapping for the other extension.
-Tim
Christopher Schultz wrote:
Richard,
Does anyone know how to configure tomcat to compile .jnc files in this
circumstance?
Is there a standard convention for naming jsp
It's standard container managed security stuff - I first invoke a
protected URL - in index.jsp - I redirect to mainMenu.do - and *.do is
protected. Based on security constraints in web.xml, I'm presented
with a form-login-page login.jsp - rather than having
action=j_security_check in this
But this means I still have to get a connection, create a statement,
and execute a query or update on the statement in every servlet where I
want to use the connection. Yes, it locates the connection details
(i.e., the JDBC connection method, the database name, user and
password) somewhere
Hint below:
On Wed, December 3, 2003 at 9:41 am, Jose Perez wrote:
/usr/bin/libtool[338]: /usr/linux/bin/echo: no hallado.
/usr/bin/libtool[401]: /usr/linux/bin/echo: not found
/usr/bin/libtool[676]: /usr/linux/bin/echo: not found
/usr/bin/libtool[676]: /usr/linux/bin/echo: not found
Silly mistake. I created a User DSN instead of a
System DSN.
Regards,
Will Nguyen
--- William Nguyen [EMAIL PROTECTED] wrote:
I'm having the most difficult time trying to get my
web app to connect to a database (MS Access via
sun.jdbc.odbc.JdbcOdbcDriver). I've registered an
odbc
Hello,
I've got a question about integrating TOmcat and Eclipse together. Has
anyone done it?
What I want to do is debug my Servlets as Tomcat is running. I know the
command line to start Tomcat but I can't figure out what the parameters
are to start the JVM in debug mode and then attach to
Sure.
There's a plugin available for eclipse that allows you to run Tomcat within
eclipse.
You can find it here:
http://www.sysdeo.com/eclipse/tomcatPlugin.html
Regards,
Pete.
On Wed, 03 Dec 2003 22:28:05 -0400
Atreya Basu [EMAIL PROTECTED] wrote:
Hello,
I've got a question about
Here is a batch file I use. The key part is the CATALINA_OPTS.
REM @ECHO OFF
SET CATALINA_VER=4.1.29
SET CATALINA_BASE=M:\cdaily
SET CATALINA_HOME=C:\SERVLET\Jakarta-Tomcat-%CATALINA_VER%
SET CATALINA_OPTS=-Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7100
I have Apache and Tomcat setup so that I can call upon the /examples directory of
Tomcat. However, when I try to drill into the jsp directory I get get a 404 error
from apache. The error_log indicates that it could not find the
/usr/local/apache2/htdocs/examples, which indicates is pull
No. This is not the problem. This is occurring at the testing stage and no
stop button is being pressed.
Regards,
Susan Hoddinott
http://www.hexworx.com
- Original Message -
From: Bill Barker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 2:32 PM
Subject:
In your httpd.conf (usually under your vhost), you need something like:
Alias /examples /path/to/tomcat/webapps/examples
Also make sure that the Apache userid has rx rights to every segment of
the path above.
Steven Dahlin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have Apache
The Tomcat Team announces the immediate availability of Apache Tomcat
5.0.16 Stable.
Please refer to the changelog for the list of changes.
Downloads:
Binaries: http://jakarta.apache.org/site/binindex.cgi
Sources: http://jakarta.apache.org/site/sourceindex.cgi
The Apache Tomcat Team
101 - 176 of 176 matches
Mail list logo