Some installers for Sun's 1.4.2 don't set the registry entries that
tomcat.exe is expecting for the version shipping with 5.0.19. You could try
the tomcat.exe from 5.0.21 or 5.0.22 (although I believe that you have to
reinstall the service for the 5.0.22 version).
Yoo, Joon [EMAIL PROTECTED]
The 'RESET' message is most likely somebody hitting the 'stop' button in the
browser. The 'connection timeout' is Tomcat hanging up the line when it
didn't get another request from Apache within 20sec of the last one (which
is what you told it to do :).
Kommineni, Sateesh (GE Consumer
Hi,
Thank you for your inputs.
I couldn't implement HttpSessionListener on tomcat3.2,hence I tried with
HttpSessionBindingListener before.
where I added an a listener object to the session and so that when
session becomes invalid then the unbound method will get called .
Now as suggested I
Hi,
some of my JSP pages take a few seconds to process.
When users get impatient and request them again,
without having waited for the initial request to complete,
load builds up rapidly, making everything even slower
and taking down tomcat completely quite soon.
Any ideas on how to prevent
Hi,
I'm implementing a chat application, which sends all the chatting
output for each user in just one long query (servlet), which last
for the entire chatting session.
On leaving the chatroom, the client simply closes the connection,
thus makeing the query fail, leaving the processor in an
We just did this for our application.
We do pretty much what you said, except with a little tweak.
If multiple requests come in for the same session, all but the first
request wait (literally: Object.wait()) until the first one has finished.
We also keep a track of which was the last thread to
On Mon, Apr 19, 2004 at 11:32:38PM +0200, C. Kukulies wrote:
Can someone give me an advice which way to go WRT to using a
tomcat/apache combo on a Unix (not Linux) system?
There are so many options, jk, jk2, tomcat 3-4-5, apache 1.3, apache2.
worker.properties worker2.properties,
Graham Lea wrote:
We do pretty much what you said, except with a little tweak.
If multiple requests come in for the same session, all but the first
request wait (literally: Object.wait()) until the first one has finished.
We also keep a track of which was the last thread to come in the door.
I wonder if it would be possible to write a filter that would implement
this functionality transparently to the JSP pages/servlets.
It could be done semi-transparently with a conditional
custom tag embracing all of an individual page's content.
That tag could check for concurrent request and
/spool/MailScanner/quarantine/20040421 (message i3L89Pbw002834).
--
Postmaster
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Do you have cvs.exe installed on your XP Box? The CreateProcess fails with
error code 2, which is a File not found error in windows.
The build is trying to fetch the latest CVS sources but can't execute
cvs.exe
Please have a look at the attached file.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have the following in my web.xml:
context-param
param-nameapplicationName/param-name
param-valuetestApp/param-value
/context-param
My servlet class extends HttpServlet and has the following method:
public void init(ServletConfig config) throws ServletException
{
On Wed, Apr 21, 2004 at 15:28 +0530, Keith Hankin wrote:
I have the following in my web.xml:
context-param
param-nameapplicationName/param-name
param-valuetestApp/param-value
/context-param
My servlet class extends HttpServlet and has the following method:
public void
Guess you are looking to access the context param init paramaters (as
specified in
context-param blocks).
The servelt config's getInitParameter corresponds to the *servlet's*
init parameters
So guess you need to use
getServletContext().getInitParameter(applicationName) rather than
Encrypted message is available.
Attachment: No Virus found
Norton AntiVirus - www.symantec.de
Norton AntiVirus Deleted1.txt
Description: plain/text
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
I have to create iViews which are basically servlets running on the SAP webportal.
The development environment is using Tomcat 3.3 and the SAP server Planet to execute
servlets.
My problem is now that my iView get's his information from a webservice based SDK, but
tomcat seems to be blocking
Hello,
i'm facing a problem with jsp pages. Seems to have a broken work dir
path and jasper doesn't prepare the jsp files to .java files for
compilation.
symptom:
java.io.FileNotFoundException:
/opt/tbone/server/tomcat/work/Catalina/localhost/tbone/org/apache/jsp/
topmenu_jsp.java
at
RM ScanMail v2.1.9
Copyright RM plc 2000
Your message to [EMAIL PROTECTED] has not been delivered.
This is because an attached file contains a virus.
Infected file: text01.zip
Found the W32/[EMAIL PROTECTED] virus !!!
Infected file: document.txt
When using jsvc it will not picking up the shell variables. Set the data
manually in the script header. Mine looks like this:
JAVA_HOME=/tomcat/java
CATALINA_HOME=/tomcat/tc
DAEMON_HOME=/tomcat/tc/bin
TOMCAT_USER=tomcat
TMP_DIR=/var/tmp
CATALINA_OPTS=
CLASSPATH=\
$JAVA_HOME/lib/tools.jar:\
I don't know anything about axis.
The message indicates for me that axis is reading from a http server.
The server answers (with 404).
The question is, which http server is it talking to ? May be
it's just talking with the wrong http server.
Are you using tomcat standalone or behind
I'm not sure if this is a bug of jsvc or newest jdk lack of backward
compatibility.
you running into problems if you try to use:
jsvc -jvm server
because jsvc doesn't find the server jvm without jvm.cfg.
This fix works for me:
cd /usr/java/j2re1.4.2_04/lib
ln -s i386/jvm.cfg
or
cd
The setup is this way:
Development setup:
1) browser requests content from servlet running on tomcat 3.3 on server (A)
2) servlet calls webservice running on IIS on server (B)
Production setup:
1) browser requests iView content from SAP portal server on
Return Receipt
Your JSP work dir problem running Tomcat 5 through jsvc
document:
Hi Tomcat-Users,
I found out, that my problem depends on the configuration of the security
providers in the java.security file.
(On my machine is installed jsse from IBM and Sun).
If the configuration is
security.provider.1=sun.security.provider.Sun
security.provider.2=com.ibm.jsse.JSSEProvider
Hi
I am using tomcat with ssl for the initial log into my application over ssl,
the problem is that if i send the application back to http (normal) the
session that i first created under ssl is different from the session that is
created going back to http. Is there any configuration that allows
Just to make shure that I understood everthing:
- The problem exists in the development setup
- Tomcat is running standalone in the development setup.
I just can think of the following causes:
- The servlet in tomcat is talking to the same tomcat
instance.
- The servlet in tomcat is
Ok, what project do we need to checkout to fix this in the
documentation? I'll fix the 4.1 docs if someone will point me at them.
--Angus
-Original Message-
From: Duane Winner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 6:15 PM
To: Tomcat Users List
Cc: Arend P. van der
Just to make shure that I understood everthing:
- The problem exists in the development setup [correct]
- Tomcat is running standalone in the development setup. [correct]
I just can think of the following causes:
- The servlet in tomcat is talking to the same tomcat
instance. [-?- The
Glen,
I found this a right pain, and currently I'm using SSL for the whole app.
But this is storing up performance problems as I'm sending fairly high rez
astronomical images over SSL and I know I'll have to fix it sometime.
The way I'm thinking of getting round it is to send back a one time key
Glen,
This was on the list a while ago. It is by design that this happens. It is
for security reasons as I understand it. It is considered safe to move from
http to https but not the other direction.
Doug
www.parsonstechnical.com
- Original Message -
From: Drinkwater, GJ (Glen) [EMAIL
I am also receiving these messages. However they do not seem to be causing a
problem and I have been too busy to research it.
-Original Message-
From: Matt Woodings [mailto:[EMAIL PROTECTED]
Sent: Monday, April 19, 2004 11:21 AM
To: Tomcat Users List
Subject: Re: ajp13.service()
That sort of works. The applicationName parameter is found now.
However the configDir parameter is not found. This parameter is specified
in
server.xml as follows:
Context path= docBase=ROOT debug=0
Parameter name=configDir value=C:\config
override=false/
- The servlet in tomcat is talking to the same tomcat
instance. [-?- The servlet running in tomcat will get it's
data from a physically different server -?-]
Unless the error message is heavily missleading the servlet/axis
is talking to a webserver. If it isn't the iis on server B it
Hello,
I'm stuck with the problem trying to get a way out for several hours:
I have a database resource declared in server.xml in
GlobalNamingResources part
Also I have a JAAS login module which is intended to use this JNDI
database resource.
And I can't get access to this resource my JAAS
I am trying to get apache 2.0.49, tomcat 4.1.30 (or 5.0.19), mod_jk2
2.0.4 and getRemoteUser() to work.
After going through the mail archives and bugzilla, I have tried the
following:
adding request.tomcatAuthentication=false to jk2.properties
adding tomcatAuthentication=false to my connector in
Hi,
Is it possible, to extract the value that is is the web.xml file for session
timeout into my JSP page
session-config
session-timeout
5
/session-timeout
/session-config
I want to get the 5 minutes into the JSP page so I can use it for some
information.
Thanks for your help!
Bernhard
Just follow your nose! ... I mean, the spec... It always knows!
session.getMaxInactiveInterval() is I believe the right thing to call...
look at the docs to be sure which method you should be calling.
Bernhard Slominski wrote:
Hi,
Is it possible, to extract the value that is is the web.xml
Ok, first I have no clue on JAAS as I have not used it. From the trace you
are missing the resource link in the context declaration. With a global you
have to provide a link in the context segment.
Doug
www.parsonstechnical.com
- Original Message -
From: Beloglazov Maksim [EMAIL
Thanks a lot, works!
-Ursprüngliche Nachricht-
Von: Daniel Gibby [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 21. April 2004 16:37
An: Tomcat Users List
Betreff: Re: session-config session-timout value from web.xml
Just follow your nose! ... I mean, the spec... It always knows!
On Wed, Apr 21, 2004 at 09:21:28AM +0200, Thomas Lange wrote:
: I'm implementing a chat application, which sends all the chatting
: output for each user in just one long query (servlet), which last
: for the entire chatting session.
:
: On leaving the chatroom, the client simply closes the
The web-application is based on a SingleThreadModel
servlet. It is accessed through Apache which uses
mod_jk to load-balance two Tomcats running the
web-application; versions are
Apache-1.3.27
Tomcat-4.1.24
Occasionally, numerous sockets in CLOSE_WAIT state get
built up between Apache and the
Hi list,
Can someone point me to a link with the complete catalina.sh startup options
and their descriptions? I'm trying to figure out some of the parameters I
have seen people using, but can't find any documentation for it.
Thanks,
Yang
Sorry, I found those are the java options, not Catalina.sh specific.
-Original Message-
From: Yang Xiao [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 11:14 AM
To: Tomcat Users List
Subject: Catalina.sh startup options
Hi list,
Can someone point me to a link with the
Does anyone have a simple examples of configuring the Hypersonic SQL
Database working with Tomcat-5.19 ?
I have looked at all the Documentation and set up the classpath
variables but still seem to get the error message:
java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
Thanks in
Hi i'm using tomcat 4103, when i'm typing this command ps -ef | grep
javai got many theses lines
/usr/java/j2sdk1.4.0/bin/java -s
What does this line mean and what is the difference between this line
and this /usr/java/j2sdk1.4.0/bin/java -X
This line affect the performance on the server
This a little explication about your question
http://www.jguru.com/faq/view.jsp?EID=416239
However i'm actually using theses options
JAVA_HOME=/usr/java/j2sdk1.4.0 ; export JAVA_HOME
CATALINA_HOME=/usr/local/tomcat1 ; export CATALINA_HOME
#JAVA_OPTS= -server -Xms256m -Xmx256m ; export JAVA_OPTS
I think it might be java -server got cut off to java -s
Try ps -elf see if that's the case, I don't see a -s option for java.
Yang
-Original Message-
From: Software [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 11:40 AM
To: Tomcat Users List
Subject: differences between java
I think the later part of the line is missing :
normal line would be something like
/usr/java/j2sdk1.4.0/bin/java -Xmx256m com.something.dot.javaclass
That means you have 256m maximum allowed heap memory usage for this JVM
(the whole runtime env. can take more though).
I'm not sure what the
Hello Tom,
a resource generate with the server Classloader. Please put your
hsqldb.jar also at
common/lib and all working well.
regards
Peter
http://tomcat.objektpark.org
Tom K schrieb:
Does anyone have a simple examples of configuring the Hypersonic SQL
Database working with Tomcat-5.19 ?
I
I hope you don't have the spelling mistake JAVA_OPST instead of
JAVA_OPTS in your file... that would mean the -Dfile.encoding param is
doing nothing.
Software wrote:
This a little explication about your question
http://www.jguru.com/faq/view.jsp?EID=416239
However i'm actually using theses
I vaguely recall that I did something on the policy settings of
either java, tomcat or apache when I was running my webapps under
an early tomcat 3. Now after a major disk crash desaster and gradually
recovering and resurrecting everything, some things do not yet work as
before.
One thing is
Hello,
your Login Module in the server env and you must access the
GlobalNamingContext
from server direct.
import java.sql.Connection;
import java.sql.SQLException;
import javax.naming.Context;
import javax.sql.DataSource;
import org.apache.naming.ContextBindings;
import
I am having a problem with Tomcat 4.1.30. I cannot seem to run any
class files. I can see them and execute them but they don't seem run. The
application ran fine with 4.0.4. Is there something I need to get clas files
to run? Thanks.
The SDK was installed under the C:\Program Files directory.
The space was not quoted and broke the command line install.
Mark Schmeets wrote:
I have set up a number of Tomcat installs to run as Windows Services,
but have come across one that I cannot get to work. The Windows Event
log shows
you can see them (on the file system?) and you can execute them (from
a system prompt?), but they don't seem to run
Can you confirm that you have the invoker servlet turned on.
After that, please provide the exact error message in the browser (if
any), any messages in the catalina.out
hi there,
i've written my own realm 'CrmJDBCRealm' which extends the 'JDBCRealm' one
of catalina.
this realm creates and returns a principal of type 'CrmPrincipalImpl' which
extends 'GenericPrincipal' and implements 'CrmPrincipal'.
'CrmPrincipal' has getter for an 'id' and getter and setter
Thanks Peter, I not longer get the java.lang.ClassNotFoundException:
org.hsqldb.jdbcDriver I don't get 'any' exception :-(
I suspect it is something in my server.xml file? Any idea/example.
TIA
Tom K.
Server.xml
!-- Example Server Configuration File --
!-- Note that component elements
I found a workaround to this problem thanks to a user on another forum.
I was doing auth in the Directory / directive, which is reasonable
since I want my entire site password protected. Doing auth this way,
getRemoteUser() returns a null. If I add auth to a Location /webapp
directive (which
Where can I get the sun.jdbc lib without install J2EE? Can I use
sun.jdbc.rowset.* program on j2se without install J2EE?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You'll find quite a bit of info about this in the archives. When this
has come up in the past, consensus seems to have been the setting of a
unique token within the page when generated such that each time a user
requests a submittable page, that page will contain a hidden attribute
with that
We have a Tomcat which is running with one servlet on https. This
application uses one certificate, for authentication purposes.
Now we are planning to develop another servlet to be placed on the same
engine. We envisage this also to use a certificate. But the one it would use
is a different
Thanks, you pointed me in the right direction.
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 12:48 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 4.1.30
you can see them (on the file system?) and you can execute them (from
a system
Before TLS extension server name indication is implemented in server and
browser (next year?), certificate is determined by which keystore is
used.
Keystore is determined by which connection is used, which means the
certificate selection is driven by the IP address port number.
A keystore is
Anybody else getting these messages or just me?
It looks like an infected attachment but I ain't gonna open it...
[EMAIL PROTECTED] wrote:
Please have a look at the attached file.
Using Tomcat 4.1.24. I know I can set override=true on a context to override
settings in my Default Context. This appears, however, to be an all-or-none
proposition.
Setup 1 (override = false):
default context
environment name=test value=ON .../
environment name=anothertest value=ON.../
Hello,
Using Tomcat 5.0.19 I cannot get EL to work in my webapp (It works
fine in jsp-examples). I checked the version of web.xml to make sure it is
2.4 and I added to be safe:
jsp-property-group
url-pattern*.jsp/url-pattern
Here's my very simple test jsp:
html
body
%
java.util.ResourceBundle locale_text =
java.util.ResourceBundle.getBundle(lang, new
java.util.Locale(user_locale));
%
%= locale_text.getString(hello) %
/body
/html
As it happens, I have no resource bundles yet... so this should throw a
Hey Everyone -
I've written a simple login module that I've configured to run from a
Struts Action class and it appears to be working wonderfully -
authentication takes place and principal/credentials are returned.
However, I can't get any of this information back when I call
isUserInRole and
Howdy,
I'm using Tomcat 5.0.19 on Linux. In an undoubtedly familiar scenario,
I've got some static content sitting in folders outside the web
application context. I'm using a symbolic link to access the files,
which is working fine. However, when I remove the context in order to
load a newer
Just a virus/worm spreading it's joy. If you look it say's it is from
Tomcat Users List (Or what ever you called the email address for the list)
rather than from a real user.
In the 14000 messages over the last five months, no one has
[EMAIL PROTECTED] in the from except for the virus junk.
Set
Norton AntiVirus gelöscht1.txt
Description: plain/text
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Using a Swing application to communicate with Tomcat 4.0.6 on JRE
1.4.2(client and server), this install uses the isapi redirecter to
provide HTTPS through IIS.
The problem is that I receive seeminly random Exception:
java.net.ConnectException: Connection timed out: connect errors.
This seems
As of April 19, 2004, our new contact information is as follows:
Schiff Hardin LLP
623 Fifth Avenue, 28th Floor
New York, New York 10022
Graham R. Hone, Esq.
Telephone:212-745-0811
Fax: 212-753-5044
Email:[EMAIL PROTECTED]
Urgent!
I am using Tomcat 4.1 for my application which is accessing data from =
the Access database through the ODBC connection. Everything was working =
fine until today. Suddenly when I tried to enter some records in the =
data base through the application, Tomcat is stopped. I got following
On 04/21/2004 10:27 PM Alan Weissman wrote:
I've written a simple login module that I've configured to run from a
Struts Action class and it appears to be working wonderfully -
authentication takes place and principal/credentials are returned.
However, I can't get any of this information back when
You've tried a reboot of the windows machine? Has there been patches to
the machine lately? Are there any viruses on it?
It says it is native code outside the VM, so this appears to be more a
problem with the windows server, not tomcat.
Like I know though... Don't take my word for it. I'm just
Hi All,
Being a newbie, I wanted to clarify that I am doing the right thing.
0. mod jk 1.2 is what I need, right? ( To connect Apache 1.3 and Tomcat 4.1)
1. I still need to use worker.properties not jk2.properties correct?
2. The module name is still jk_module right?
Are these instructions still
On 4/22/2004 4:10 AM, Chanan Braunstein wrote:
Hello,
Using Tomcat 5.0.19 I cannot get EL to work in my webapp (It works
fine in jsp-examples). I checked the version of web.xml to make sure it is
2.4 and I added to be safe:
jsp-property-group
On 4/22/2004 7:38 AM, Malathi Jivan wrote:
Hi All,
Being a newbie, I wanted to clarify that I am doing the right thing.
0. mod jk 1.2 is what I need, right? ( To connect Apache 1.3 and Tomcat 4.1)
1. I still need to use worker.properties not jk2.properties correct?
2. The module name is still
Well as for the code that is easy, nothing works, for example, I took this
from the examples page:
html
body
${header[user-agent]}
/body
/html
I attached my web.xml, I don't know what else can effect EL.
Chanan Braunstein
Knovel Corp.
Web Development Manager
607-773-1840 x672
Andreas Schildbach wrote:
I wonder if it would be possible to write a filter that would
implement this functionality transparently to the JSP pages/servlets.
The solution I explained was coded in a filter.
Justin Ruthenbeck wrote:
The problem with the solutions mentioned in this thread is that
Stop using the JDBC ODBC bridge immediately - it was never designed for a
production environment. Use a pure java jdbc driver or change databases.
Dov Rosenberg
Conviveon Corporation
On 4/21/04 7:01 PM, Daniel Gibby [EMAIL PROTECTED] wrote:
You've tried a reboot of the windows machine? Has
I had a similar problem which I overcame with lots of reading and some
guesswork. BTW Im using the Sun supplied JSTL... I'm running on Tomcat
5.0.19
In your JSP directives you will need to declare:
%@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %
Your web.xml for your web-app
On 4/22/2004 8:54 AM, Chanan Braunstein wrote:
Well as for the code that is easy, nothing works, for example, I took this
from the examples page:
html
body
${header[user-agent]}
/body
/html
I attached my web.xml, I don't know what else can effect EL.
Chanan Braunstein
Knovel Corp.
Web
Thank you very much. It works.
Peter Rossbach wrote:
Hello,
your Login Module in the server env and you must access the
GlobalNamingContext
from server direct.
import java.sql.Connection;
import java.sql.SQLException;
import javax.naming.Context;
import javax.sql.DataSource;
import
Do I need to specific some parameter to enable tomcat using Class Data Sharing in 1.5
JDK?
I try to add the parameter -Xshare:on then I get the following message:
An error has occured while processing the shared archive file.
A jar file is not the one used while building the shared archive
Dear Lists,
I'm interesting to integrating Apache Server and Tomcat so my
development team can host their jsp in my FreeBSD-4.9Stable machine.
But I have some difficulties, here goes the detail.
My httpd server is apache-2.0.47 (installed from FreeBSD-4.9Stable Port)
with
Here is the file.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Your file is attached.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
90 matches
Mail list logo