i am a student and we use Tomcat as our server. I have been trying to run a basic
servlet program but have been unsucessful as of yet. My tomact runs perfect, gives me
the index page and stuff.
Bu my servelt comiples with following errors
C:\Tomcat
You are missing the servlet.jar file, which contains the neccesary
classes for your servlet to compile.
Just make sure your compiler can find the jar file in your classpath. If
you have a IDE like netbeans
than you have it easy, just mount the jar file, and you will be able to
compile without
Hello Girish,
You have to set the CLASSPATH environment varaible to include the tomcat
install directory\common\lib\servlet.jar in order to compile servlets. Have
you run the example application available at
http://localhost/examples/servlets/index.html.
rgds
Antony Paul
- Original
hiya,
try renaming the driver to db2java.jar
hth
JasonG
-Original Message-
From: Sarah Zou [SMTP:[EMAIL PROTECTED]
Sent: Thursday,4 December 2003 7:09
To: [EMAIL PROTECTED]
Subject: PLEASE HELP! How can I make Tomcat see DB2 jdbc driver?
Hi All,
I am using Tomcat
This is how I handle mine modified for your application.
import java.sql.*;
public class DBUtil {
/** Retrieves results from query as a DBResults class.
*/
public static DBResults getQueryResults(String query, String dBase) {
Connection connection = Conn.getConn(dBase);
Statement statement =
OK, OK. I know 5.x is SUPPOSED to have this easy to use service installer, but it's
not working for me. The installation program doesn't even try to create the service
(at least I can't find any evidence of it), so I'm trying to create my own using the
tomcat.exe program, but when I go to
Hai
I am trying to start tomcat on kaffe virtual
machine.I made the following changes:
JAVA_HOME=/usr/local/kaffe/bin.In the conf/web.xml,i
added the code
init-param
param-namecompiler/param-name
param-valuekjc/param-value
/init-param
I am working on tomcat
hi,
i wanted to get an app developped under TDK2.1 to run under tomcat 4.0(
running as a service!).
I couldn't find tomcat 4.0 so i had to get 4.1.29, installed it then tryed
to copy everything from
tdk2.1\webapps\myapp_name\WEB-INF\ to tomcat4.1.29\webapps\myapp_name.
It didn't work, because
Hi,
Was browsing through some logfiles and found this, is this something I
should worrie about ?
SEVERE: Error in action code
java.net.SocketException: Connection reset
at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
at
Hi
I am using axis web services with the java cog kit, each web service is a
application under tomcat. But when two applications wish to use the cog
kit, ie the web service is invoked, the first web service works fine and the
the second throws this
stackTrace: java.lang.ClassCastException
Sorry for the silly question:
but is tomcat 5.0.x still in beta or was it declared ready for
production usage?
Simone
-
Simone Chiaretta
http://www.piyosailing.com/S www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
Hello,
On accessing an individual servers among five load balanced servers, I get session
expired error for my web based application.
For ex: I have 5 servers as a1, a2, a3, a4, a5
So when I access the URL a1.appname.com, on accessing the web application, I get
session expired message.
Hi,
We have two tomcat servers.
One is located at our enterprise.
The other is located at our hosting provider.
They can see each other by Internet.
We would like to set up an unique authentification system for both
server.
The authentification system will be on the server at our entreprise.
Hi Joav,
the hint putting the lib into WEB-INF/lib instead of
$CATALINA_HOME/common/lib
put it, thanks to you.
But why ? Another classloader issue ? I think this could only be a
workaround, not really a solution
because this public lib may be used by other servlets, too.
What worries is that not
Thanks, Doug. I'll have a look at this today and make sure I understand
it.
Todd
On Dec 3, 2003, at 11:30 PM, Doug Parsons wrote:
The whole class I need, apparently.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On Dec 3, 2003, at 6:59 PM, Kwok Peng Tuck wrote:
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,
Thank you - your explanation helps.
From: Bodycombe, Andrew [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: HttpSessionListener in Tomcat 4.1.27 (or
HttpSessionListener in general)
Date: Wed, 03 Dec 2003 11:48:09 +
The
I hadn't noticed that ResultSets need to be closed. But why couldn't I
close it after dealing with it in whichever servlet I call it from?
Also, if the Connection is a static variable in SQLUtils that all the
servlets use, it won't ever get closed.
I'm just realizing that there's probably a
-Original Message-
From: Mike
OK, OK. I know 5.x is SUPPOSED to have this easy to use
service installer, but it's not working for me.
I'm using:
tomcat //IS//ApacheTomcatLive
--DisplayName Apache Tomcat (Live)
--Description Apache Tomcat 5.0.16 - Live Instance
Hi,
How long a servlet can wait to give reponse.
Actually, my servlet wants to wait until some process done by other
component.
This will periadically will check, if it is done then only i need to give
response to client other wise i need to wait for some time then i need to
check.
In this
I have a situation where I am attempting to downcast a DataSource resource
into the exact class that getClass().getName() reports the object is, but
it's causing a ClassCastException.
-- server.xml:
GlobalNamingResources
Resource name=LoanAuditorDB auth=Container
Laurent Michenaud wrote:
Hi,
Hi laurent,
We have two tomcat servers.
One is located at our enterprise.
The other is located at our hosting provider.
They can see each other by Internet.
We would like to set up an unique authentification system for both
server.
The authentification system will
Hi,
all 3-4 days Tomcat 3.3.1 does not work anymore correctly in conjunction
with mod_jk1.2 and shows up follwing lines in the mod_jk.log:
[Tue Nov 25 20:25:10 2003] [jk_ajp13_worker.c (228)]:
connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
[Tue Nov 25 20:25:10 2003]
Thus some one now a way to fix this,
Browser msg
Internal Servlet Error:
javax.servlet.ServletException
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
Hi,
A query regarding InheritableThreadLocal variables in the tomcat context.
To explain the problem i am facing:
If i am correct,for each request,tomcat uses a thread from it's threadpool
to process the request.
Suppose during one of these requests,i set the value of a
InheritableThreadLocal
Hi,
I wanted to download tomcat 5.0.16 but at
http://jakarta.apache.org/site/sourceindex.cgi I see 5.0.16 Beta zip. Is
5.0.16 still Beta or is it really stable?
Zsolt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Thus some one now a way to fix this,
Browser msg
Internal Servlet Error:
javax.servlet.ServletException
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
It was declared stable Wednesday Dec 3, 2003. (Depending on your time zone)
-Tim
Simone Chiaretta wrote:
Sorry for the silly question:
but is tomcat 5.0.x still in beta or was it declared ready for
production usage?
Simone
-
Hi,
am I right that - concerning the Server.xml Configuration in Tomcat 3.3
- the Http10Connector section is not important for me and can be
deleted when I use Tomcat only as a servlet container (and
additionally Apache as the webserver) - connecting them with mod_jk?
Thanks and regards
Volker
To see what attributes are supported for Ajp13Connector, see:
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html#Ajp13Connector
I believe maxThreads will accomplish the same thing as
maxProcessors.
Cheers,
Larry
-Original Message-
From: Volker [mailto:[EMAIL PROTECTED]
That's a fairly circuitous route for a login. I guess you do what you
have to do though.
I was wondering whether I could adapt it to allow an SSL login form to
be used to login to non-SSL pages, but I think the httpClient would
leave the j_security_check post in plain text on the net - unless
Correct. If you do not need to serve HTTP requests,
Http10Connector may be removed. I would recommend just commenting
it out. If you encounter problems when accessing through Apache,
you can re-enable it easily to see if you get different behavior
directly accessing Tomcat.
Cheers,
Larry
We have a performance issue with a web page being served via
Tomcat/Apache. I don't think it has anything to do with Tomcat, but I
am being asked to turn debug logging off to help improve it. I'm
resisting because the output has been extremely valuable in solving
problems that still crop up
Another issue came up comparing TC4 and TC5:
using the oreilly multipart lib on TC5 causes the error
...Corrupt form data: premature ending on POST uploads.
As stated in the FAQ's at http://www.servlets.com/cos/faq.html
this problem is merely due to the webcontainer and has been fixed with
Howdy,
I would use JMeter first, if you're just looking for performance
numbers, i.e. time to serve that page. JMeter is ideally suited for
that. JProbe and OptimizeIt are great, but they do more than you need
in this case and they WILL skew performance significantly.
As an aside, make sure
Howdy,
What is TDK? It might help more if you simply told us what errors you
were running into..
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Inandjo Taurel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 7:55 AM
To: [EMAIL PROTECTED]
Subject:
Has anyone been involved with testing Sun's Java Desktop System? If you
have, does Tomcat 4.1 run on it without any problems? According to Sun
support JDS is based on SuSe 8.1 does anyone run Tomcat 4.1 on this
platform and if so, what version of J2EE do you use?
Thanks,
Jim
Howdy,
You can look at the connector configuration (upload timeout and related
parameters). By default it's about 60sec before the browser will give
up on your servlet if it doesn't get any response.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: dakavara
Howdy,
In a similar situation we use a web service running on another (3rd)
tomcat server. It's worked well, especially as we've added more
applications beyond our original two.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: jerome moliere [mailto:[EMAIL PROTECTED]
Howdy,
Another issue came up comparing TC4 and TC5:
using the oreilly multipart lib on TC5 causes the error
...Corrupt form data: premature ending on POST uploads.
As stated in the FAQ's at http://www.servlets.com/cos/faq.html
this problem is merely due to the webcontainer and has been fixed
Howdy,
If you use the OptimizeIt wizard to connect OptimizeIt to Tomcat, then a
class filter is added which prevents the tomcat (org.apache.catalina.*)
classes from showing up in OptimizeIt's heap viewer. Remove the filter
(Tomcat.oif is the file name, typically placed in $CATALINA_HOME) or
As an aside, make sure you have all log4j Logger#debug statements
enclosed in if(logger.isDebugEnabled()) { ... } clauses -- that's an
order of magnitude or so runtime performance improvement.
Showing my C heritage here, but can't you do something like
Log(an error has occurred);
And in Log
Jim,
if you have any money to spend, it would be worth running a code profiler
such as JProbe over the code. If you don't have access to such a tool /
money, then you could try running JMeter to benchmark the site.
J
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent:
Graham,
unfortunately, Java does not have a precompiler (although I think there are
some third party pre-processors about).
J
-Original Message-
From: Graham Reeds [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 2:05 PM
To: Tomcat Users List
Subject: Re: How to measue
If it were my boss wanting to do the measurement, I'd have money, but
I'm trying to keep him off my back, hence no cash.
Thanks,
Jim.
Justin Brister wrote:
Jim,
if you have any money to spend, it would be worth running a code profiler
such as JProbe over the code. If you don't have access to
Shapira, Yoav wrote:
Howdy,
Another issue came up comparing TC4 and TC5:
using the oreilly multipart lib on TC5 causes the error
...Corrupt form data: premature ending on POST uploads.
As stated in the FAQ's at http://www.servlets.com/cos/faq.html
this problem is merely due to the webcontainer
John,
I found a solution.
Add the line below to force it to use the correct libraries:
System.setProperty(java.protocol.handler.pkgs,javax.net.ssl);
This one falls into the inexplicable category of problems that lots
of people must have dealt with, yet Google shows up almost nothing,
and you
There is a hack to accomplish similar results.
If you declare a constant boolean variable as false and use it in your branch
statement the compiler will exclude the entire statement.
static final boolean DEBUG = false;
if(DEBUG){
//conditional code goes here
}
On Thursday 04
Hi, Yoav,
I'll take a look at thos products. I wasn't aware of your other
suggestion. I assume you mean it will improve the performance when
debugging is turned off thus preventing the debug statement from being
called at all. Is this because there is a lot of overhead with
debug(...)
Howdy,
Why don't you just test it if it's so urgent instead of waiting for a
reply from us? ;)
I think the variables will stay with the thread, as they're not bound to
the lifetime of the request. This is a far from optimal design
(actually I think InheritableThreadLocal is just evil and
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 7:40 PM
To: Tomcat Users List
Subject: RE: Tomcat's ThreadPool and InheritableThreadLocal variables
Howdy,
Why don't you just test it if it's so urgent instead of waiting for a
Rémy,
I had a look into the sources. There it reads:
class MultipartParser:
do {
String line = readLine();
if (line == null) {
throw new IOException(Corrupt form data: premature ending);
}
(:-)
By which method should 'readLine()' be replaced to
hi all,
i've noticed that
jsp:include tag does not generate an error when the target page is not found. it
simply does not include anything.
is there a way to change
this behavior? i looked it up in the jasper configuration docs to find a way to
affect how it generates the offending code
Dirk Griesbach wrote:
Rémy,
I had a look into the sources. There it reads:
class MultipartParser:
do {
String line = readLine();
if (line == null) {
throw new IOException(Corrupt form data: premature ending);
}
(:-)
By which method should
Howdy,
Is there some release note or something regarding this which i can
refer
to?
Nope, this is not addressed in the documentation as it's a relatively
fringe and risky issue that's far from being a recommended standard
practice.
Yoav Shapira
This e-mail, including any attachments, is a
Howdy,
I would expect that the Appenders and Formatters only come
into play if debug is enabled. Am I wrong ?
You're right in principle, but the definition of debug is enabled is
not always trivial: a class may have multiple loggers (and in log4j 1.3,
multiple loggers in multiple logging
Thanks for the extra info Matt ( Adam)
I'm going to try to continue with my login work next
week - the newer version of Matt's Remember-me JSP/Servlet/Filter
seems to have a lot going on in there. I feel a little daunted
to be honest. But I shall play around with it some more.
Thanks again
Rémy,
this copy is of type
javax.servlet.ServletInputStream.readLine()
acquired by
HttpServletRequest.getInputStream();
Would you agree that this is a good idea ?
grisi
- Original Message -
From: Remy Maucherat [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent:
Howdy,
Hi Joav,
There's a Y there, not a J ;)
the hint putting the lib into WEB-INF/lib instead of
$CATALINA_HOME/common/lib
put it, thanks to you.
But why ? Another classloader issue ? I think this could only be a
Yes, basically. A combination of issues. This is one of the many
reasons I
In fact, I think you could reuse the default jsp servlet, and simply add
servlet-mapping
servlet-namejsp/servlet-name
url-pattern*.jnc/url-pattern
/servlet-mapping
to your webapp WEB-INF/web.xml, or $CATALINA_HOME/conf/web.xm, whichever
you preferl
What I am not sure about is
there are two things to consider:
- the time that is spent in arguments of the call.
- the time that is spent in the call
If you have something like
debug(abc)
there is hardly any time spent constructing
the argument. But if you have
debug(abc + someNestedObject.toString());
or
Howdy,
Assuming you're following
http://cvs.apache.org/viewcvs/jakarta-tomcat-5/BUILDING.txt?rev=1.32con
tent-type=text/vnd.viewcvs-markup, can you tell us what errors you're
getting?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: James Black [mailto:[EMAIL PROTECTED]
did you see the jkstatus page
is the jk2.shm file created when you start apache.
-Original Message-
From: Asif Chowdhary
Sent: Thursday, December 04, 2003 10:07 AM
To: [EMAIL PROTECTED]
Subject: RE: Your configuration Files
Try this
[shm]
info=Scoreboard. Required for reconfiguration
Rémy,
I'm quite sure. With a summary of oreilly´s sources I see:
class MultipartParser {
...
private ServletInputStream in;
private byte[] buf = new byte[8 * 1024];
...
ServletInputStream in = req.getInputStream();
...
do {
String line = readLine();
if (line == null) {
throw
Hello,
I am curious how I compile all the components of tomcat from source
code. I am having various problems, the only one that made sense was
that I had to upgrade mail.jar.
From the $HOME_DIR/jakarta-tomcat-5.0.16/src I should just be able to
type
'ant'
and have it compile, but it
Dirk Griesbach wrote:
Rémy,
this copy is of type
javax.servlet.ServletInputStream.readLine()
acquired by
HttpServletRequest.getInputStream();
Would you agree that this is a good idea ?
Are you sure ?
There's a ServletIS.readLine(byte[] b, int off, int len) method, but no
readLine
Howdy,
Nope, not at all related to memory problems. These are internal crashes
that produce a core dump and the hotspot error report file
(hs_err_[pid]).
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Dhruva B. Reddy [mailto:[EMAIL PROTECTED]
Sent: Thursday, December
I've run into this before. Although every document I've read refers to the driver as
COM.ibm.db2.jdbc.app.DB2Driver, in actuality the package name is com.blah.blah.
Change your upper case COM to lower case and it should work.
[EMAIL PROTECTED] 12/3/2003 12:13:59 PM
hiya,
try renaming the
Hi,
I am using form based authentication with this system:
win.2K adv. server
SQL 2k
Tomcat 4.1
After fixing many problems, thanks to you guys and specially Tim Funk, I
am getting this error now, which is giving me a http status 403, access
forbidden.
I have checked database and each column
Howdy,
This is off-topic now, but the short answer is no. The longer answer is
that java doesn't have such constructs at runtime, and we are talking
about runtime not recompiling the code. The even longer answer has to
do with log4j architecture and Logger#debug being a potentially very
Hi
How can i restart Tomcat which is running as service, from a web page
1 - calling bat file ? (not working)
2 - calling http://localhost:8080/manager/html/start?path=/engine (asking
password)
any clean way ?
Regards
Altug.
Were these crashes, by any chance, preceded by OutOfMemoryError's?
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
Howdy,
I've seen exactly the same behavior as Senor Alibert.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Aymeric Alibert [mailto:[EMAIL
I have heard of this done by using a second webserver with perl installed and
then using Perl Win32 calls from webserver A to webserver B to restart the
server.
You could always run the other webserver on a high protected port so you
don't need a second box.
-Tim
Altug B. Altintas wrote:
Hi
Howdy,
Restarting all of tomcat or just selected webapps?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Altug B. Altintas [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 10:57 AM
To: Tomcat Users List
Subject: Restarting tomcat from web page
Hi
How can i
Thanks to Chris and and Tim Funk for pointing me in the right direction.
For the archives, I found that adding the following two lines to
%catalina_home%/conf/web.xml did the trick:
servlet
servlet-namejnc/servlet-name
Try this
[shm]
info=Scoreboard. Required for reconfiguration and status with multi process servers
file=/var/log/httpd/jk2.shm
size=1
-Original Message-
From: Ingmars Rubenis [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 7:41 AM
To: Asif Chowdhary
Subject: Re: Your
The only way to restart a Windows service is through native code. You
could use JNDI, or Runtime.exec() to run a net stop net start
script, or a perl script, or a vbs one... there are many options here :-)
Apart from protecting the page, I would also implement a first step with
a countdown,
Howdy,
The whole point was to change at runtime without recompiling. This is
what lgo4j allows you to do.
As to my order of magnitude improvement by using
if(logger.isDebugEnabled()) -- it's well-proven and benchmarked in the
log4j documentation, and the log4j kit comes with the benchmarks you
I would expect that the Appenders and Formatters only come
into play if debug is enabled. Am I wrong ?
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 3:34 PM
To: Tomcat Users List
Subject: RE: How to measue performance? Log4j
Howdy,
I've seen exactly the same behavior as Senor Alibert.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Aymeric Alibert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 4:23 PM
To: [EMAIL PROTECTED]
Subject: RE: Best JVM for Tomcat
We are running
Title: Message
im not sure im
sending my question to the right mailing list, but here we
go.
i have tomcat 4.1.29
installed on window 2000 and im running it as service, the question is how do i
change the classpath of the tomcat?
i change
setclasspath file but it didnt help
thank you in
I'm almost sure that in Tomcat_Home/conf/tomcat4.conf there should be an entry for
that. Well I'm talking about Linux, actually, but the setup should be similar for
Windows...
-Original Message-
From: Guy Lubovitch [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 12:14 PM
Actually in solaris and linux its working for me, I can be more exact and
exaplain that the problem is that I cannot connect to my jboss from tomcat
because of some initial class the tomcat load before jboss_client.jar and
the only way I made it work was addd this line to setclasspath,bat : set
Hi,
Is there any way to determine if the contents sent from the client to the server is
encrypted or not? I am not using a browser as a client. I am using a windows
application.
If I can see the contents then I will know if SSL is working.
Any tools that will sniff the line to display the
Dirk Griesbach wrote:
Rémy,
I'm quite sure. With a summary of oreilly´s sources I see:
class MultipartParser {
...
private ServletInputStream in;
private byte[] buf = new byte[8 * 1024];
...
ServletInputStream in = req.getInputStream();
...
do {
String line = readLine();
if (line ==
Hi,
I built jikes for win32 with -encoding compiled in and I wonder if
anyone cares to use it, for example for JSP compilation, as suggested in
the Definitive Guide.
Without thsi option, it was impossible to use jikes in conjuction with ant.
http://www.javaroom.de/index.html
Best,
-Florian
Hello,
I'm trying to use the commons-daemons package as of 20031204.tar.gz with
jakarta-tomcat-4.1.29, everything should be in the right place, but jsvc
exits with
java.lang.NoSuchMethodException:
org.apache.catalina.startup.BootstrapService.init([Ljava.lang.String
Hello folks, i wonder if is really possible to compile JSP pages
offline, because all that i doing is going wrong, take a look at this
output:
$java org.apache.jasper.JspC -d blah -uribase http://osctrl -webapp
/usr/local/ApacheGroup/tomcat-4.1.24/webapps/osctrl-app -uriroot
If you make tomcat use SSL everything will use this protocol, then
your requests and responses will be encrypted. If you plainly see what
client browser is passing to tomcat or tomcat is passing to user, sure its
not a safe request.
--
De: Asif Chowdhary[SMTP:[EMAIL PROTECTED]
Hi
AFAIK, the JAASRealm in Tomcat 4.1.29 is a beta version. Is the JAASRealm
in Tomcat 5.x for production? If yes, can I use the JAASRealm of Tomcat 5.x
in Tomcat 4.1.29?
Thanks for your help
Oliver
*** BITTE BEACHTEN ***
Diese Nachricht (wie auch
Look at the browsers Lock icon. Sniffing the traffic seems like
overkill to me.
Ben Ricker
Wellinx, Inc.
On Thu, 2003-12-04 at 11:30, Asif Chowdhary wrote:
Hi,
Is there any way to determine if the contents sent from the client to the server is
encrypted or not? I am not using a browser as
Hello,
I'm having some difficulty with my session listener. I set up a session
listener in my web.xml file as such:
listener
listener-classcom.gri.web.SessionTracker/listener-class
/listener
Now when I go to the context that is under the listener method
sessionCreated doesn't
Howdy,
Is it possible this session was persisted to disk and recreated on
tomcat startup (as opposed to newly created by a user request)?
Recreation of persisted sessions (correctly) does not trigger the
sessionCreated event.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
: anyone running tomcat-4.1.29 with commons-daemons?
Hello,
I'm trying to use the commons-daemons package as of 20031204.tar.gz
with
jakarta-tomcat-4.1.29, everything should be in the right place, but
jsvc
exits with
java.lang.NoSuchMethodException
I was running tomcat 4.1.29 with a log4j jar in the
$CATALINA_HOME/common/lib folder and a log4j.properties file in
$CATALINA_HOME/common/classes folder. This worked fine, and kept the log
messages at the level I wanted them.
When I installed 5.0.16, I put the log4j jar and properties file in the
That's helpful. Any idea how I might verify this? I haven't found a
SESSION.ser file.
Atreya
Shapira, Yoav wrote:
Howdy,
Is it possible this session was persisted to disk and recreated on
tomcat startup (as opposed to newly created by a user request)?
Recreation of persisted sessions
Sorry,
Shapira you are right. There was a SESSION.ser file. I got rid of it
and it worked.
Now there is another problem
I'm trying:
Object obj = session.getAttribute(j_username);
(I'm doing FORM based authentication and this definitely works.)
but I'm getting a null value for obj.
I'm using Tomcat 4.1...
I have the O'Reilly after-market book for reference AWA the Jakarta info...
I'm unclear about JDBC config issues...
* Any JDBC client webapp can instantiate a driver and get a Connection
WITHOUT ANY DEFINITION TO THE server.xml or the web.xml as long as the
driver
Ryan Cornia wrote:
I was running tomcat 4.1.29 with a log4j jar in the
$CATALINA_HOME/common/lib folder and a log4j.properties file in
$CATALINA_HOME/common/classes folder. This worked fine, and kept the log
messages at the level I wanted them.
When I installed 5.0.16, I put the log4j jar and
Hi,
I am installing Tomcat 5 on XP Pro. I followed the installation problem
thread which is very helpful.
I can run my tomcat from command line (catalina run), but when I tried to
start the tomcat service, it wont start.
Path to executable on tomcat services is :\Program Files\Apache Software
1 - 100 of 154 matches
Mail list logo