Hi!
It is showing null pointer exception in STDout.log file. I think this is
because there is no database connectivity. We are not able to configure the
server.xml file and web.xml file for our use. Can you help please
Thanks and regards
Bhaskar
- Original Message -
From: "Pradeep Chau
Hi,
I want to inform my tomcat server that the database server is shutting
down or restarting.
Can JDBC Realm will do the job?
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
Can you tell us what all you have done for configuration and what Problem
(Error in STDout.log or prompt ) you are facing.
Regards,
Pradeep
- Original Message -
From: Bhaskar Jyoti Phukan
To: [EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 7:00 PM
Subject: Migration to TOMCAT 5
Hi!
- Original Message -
From: Bhaskar Jyoti Phukan
To: [EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 7:00 PM
Subject: Migration to TOMCAT 5
Hi!
We have an application which was installed in TOMCAT 3. The database is IBM DB2. We
want to migrate to TOMCAT 5. We have installed TOMCAT
There is one more way which efftively help you to control memory leak .
On Close event of you application Call session.invalidate().
otherwise it will get invalidate after timeout period.
Regards,
Pradeep
-Original Message-
From: Jon Doe [mailto:[EMAIL PROTECTED]
Sent: 04.08.2004 21:48
To:
The following link outlines a step by step guide that even a guy who
knows nothing about IIS (me) was able to follow.
http://www.dynamichostings.com/TomCat5IIS5.do
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Thursday, 5 August 2004 5:35 AM
To: Tomcat Users List
Subject: R
Tomcat User Group,
We are observing frequent crash of Tomcat 4.0.3(Win 2K) while running our
web-application. Our web-application uses a JNI(Java native interface)
library, we suspect this is causing a access violation exception somewhere.
In order to chase it we have put a printf statement in all
It's on my list of things to do when I have free time. I'm estimating
that I'll get to it in 2018. :)
On Wed, 2004-08-04 at 10:56, Shapira, Yoav wrote:
> Hi,
> You can use Apache's mod_rewrite. You can use Tomcat's balancer webapp.
> You can use other tools to do tricks in this area. There's no
I'm using the old JDBC tags from the Advanced JSP book, under Tomcat
4.1.29/Apache 2.0.48 on Linux 9.
The expression tags are not being evaluated inside my query tag, although
the same stuff works under Tomcat 3.2.3.
For example, the following JSP snippet will work:
SELECT ID,Name From User
On Wed, Aug 04, 2004 at 04:29:38PM -0700, Joe Krause wrote:
: How do you specify an absolute path to a webapplication. I don't want to
: run my webapp from within $CATALINA_HOME/webapps.
: [snip]
: java.lang.IllegalArgumentException: Document base
: /usr/tomcat/jakarta-tomcat-5.0.27/webapps/dvr doe
On 8/4/2004 1:37 PM, Michael Jürgens wrote:
Ruth, Brice wrote:
That's the best idea I can think of, too. With SSH tunnels using
public key authentication, you can set it up so that the tunnel is
setup from a system script, without user intervention.
But what if the tunnel breaks? How can I determ
How do you specify an absolute path to a webapplication. I don't want to
run my webapp from within $CATALINA_HOME/webapps. When I set it up to
point to an absolute path outside of the webapps directory, it still
looks for it there:
I'd be interested to hear if anyone has successfully configured a single
instance of IIS directing requests to multiple Tomcat instances at all
-Original Message-
From: Matt Krevs [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 August 2004 3:33 PM
To: '[EMAIL PROTECTED]'
Subject: isapi_redirec
Thanks for replies.
Now I can see it as a service, but when i try to start
it it says "Windows cant start the service... If its a
non microsoft service... and refer the service
specific error code 0"
Thanks.
--- Java Techie <[EMAIL PROTECTED]> wrote:
> Hi,
> I am using Tomcat5 on win2k Professi
Uhm, did you read the docs at all?
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html
"Installation as a service: Tomcat will be installed as a Windows
NT/2k/XP service no matter what setting is selected. Using the checkbox
on the component page sets the service as "auto" startup, so that
Go to the bin directory in the tomcat home directory.
There is a bat file named service that will install Tomcat as a service in
your machine.
José Ernesto Echeverría
-Original Message-
From: Java Techie [mailto:[EMAIL PROTECTED]
Sent: Miércoles, 04 de Agosto de 2004 03:55 p.m.
To:
I use the same way, just chosse this option when installing through the
.exe installer.
Java Techie wrote:
Hi,
I am using Tomcat5 on win2k Professional.
I want to use it as a windows service.
Please help.
Thanks.
Yogesh
__
Do you Yahoo!?
Yahoo! Mail - 50
Hi,
I am using Tomcat5 on win2k Professional.
I want to use it as a windows service.
Please help.
Thanks.
Yogesh
__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
Does anyone know if I am able to use recursion to traverse a tree but then to use a
tag inside the recursive method? If that was unclear, I want to know if I can do this:
<%!
void dfs(Node root){
%>
<%!
Vector children = root.getChildren();
for(int i=0; i
<%!
}
place the class in:
server\classes\org\apache\catalina\core\
and then restart Tomcat.
That's it.
> -Original Message-
> From: Vykuntam (vyke) Adepu [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 04, 2004 3:58 PM
> To: Tomcat Users List
> Subject: RE: hot fixes for 4.1.27
>
>
>
I down loaded the class file. Do I simply copy this class (
standardContext.class) to \server\classes Or do I need to do anything else
to apply this fix?
thanks,
vyke
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 4:36 PM
To: Tomcat Users
You could create a SessionListener and create your bean and bind it to the
session in the sessionCreated method.
-Original Message-
From: Chad Cunningham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 4:42 PM
To: [EMAIL PROTECTED]
Subject: realms and user initialization
Hi,
Hi,
Is there a simple way to initialize a bean and store it in the session
context when a user is logged in via realms? I'd like to have a bean
which is filled with data from a database at login and then sticks in
the session so it is available everywhere. Is there a login hook or
anything I ca
Hi,
Well, you could just upgrade to 4.1.30 or 5.0.27 ;) But if you have to
stick with 4.1.27, you can get the hotfix for Bugzilla 22096 (query
Bugzilla for bug details if you want) at
http://archive.apache.org/dist/jakarta/tomcat-4/binaries/.
Yoav Shapira
Millennium Research Informatics
>-
Ruth, Brice wrote:
That's the best idea I can think of, too. With SSH tunnels using
public key authentication, you can set it up so that the tunnel is
setup from a system script, without user intervention.
But what if the tunnel breaks? How can I determine that automaticly?
regards,
Michael
Davi
I am using tomcat 4.1.27 and wondering if I need to apply any hot fixes to
take of any known issues.
thanks,
vyke
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have a commercial servlet that throws an exception. I have an error-page
directive setup to send that page to my ErrorLogServlet. However, my error
servlet never gets called as Tomcat throws the IllegalStateException below.
Any ideas on what the cause might be? I'm running Tomcat-5.0.24 wi
Yoav Shapira,
thanks.
After reading Tomcat docs and some books I realized the issue.
Valter
- Original Message -
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 04, 2004 2:57 PM
Subject: RE: Datasource Definition
Hi,
Re
Yes it has a webserver in it..
Root => directory_to_tomcat/webapps/root
-Original Message-
From: Marcelo Muzilli (Gelt) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 2:42 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Webserver
Importance: High
Howdy TomcatERs,
I would
Yes tomcat can also serve static pages. You just need to create a web app and place
your files in there.
Ta
Matt
-Original Message-
From: Marcelo Muzilli (Gelt) [mailto:[EMAIL PROTECTED]
Sent: 04 August 2004 20:42
To: [EMAIL PROTECTED]
Subject: Tomcat Webserver
Importance: High
Howdy
Tomcat is capable of server static and dynamic content with out Apache.
One of the main benefits to using Apache is to let Apache server the
static content and thereby reduce the load on Tomcat. By default, the
document roots for your various webapps are in
$CATALINA_HOME/webapps/$WEBAPP_NAME . At
Hi,
Tomcat is a webserver and can function as such by itself. You don't
have to have Apache or IIS or anything in front of it.
The "DocumentRoot" directory is $CATALINA_HOME/webapps/ROOT/, but you
should read the Tomcat configuration reference as it's vastly different
from Apache. There are mul
Howdy TomcatERs,
I would like to know if Tomcat has an webserver inside it or do I
have to work with Apache (for example) together. If yes, where is the
"DocumentRoot" directory?
Regards,
Marcelo Muzilli
GELT Tecnologia
www.gelt.com.br
[EMAIL PROTECTED]
Tel: +55 (43) 3375 3187
--
ok thanks and sorry !
On Wed, 4 Aug 2004 15:28:26 -0400
"Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Please don't cross-post to tomcat-dev and tomcat-user at the same time.
> You will most likely piss off a few of the people who can help you ;)
>
> To answer question, I think no.
>
> Y
On Wed, Aug 04, 2004 at 12:13:43PM -0400, Robert Charbonneau wrote:
: I've requested that my administrator determine a way to integrate Tomcat 5
: with IIS, and he's having trouble finding documentation on the subject. As I
: subscribe to this list, and don't have the time to search, can anyone
Hi,
Please don't cross-post to tomcat-dev and tomcat-user at the same time.
You will most likely piss off a few of the people who can help you ;)
To answer question, I think no.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Thai DANG [mailto:[EMAIL PROTECTED]
Hi all
I am using JSTL with precompilation (JSPC).
I am wondering why the first time I go on a page with JSTL inside, it took longer to
display. But when I go on it a second time, it displays as quick as with scriptlet.
So I had a look to the code generated by JSPC and I noticed that there is
Hi,
Hmm... Well, RealmBase.java:428 can no longer throw an NPE, and the
resultsToArray method that replaced the previous line there seems to
handle the null case correctly. However, even if this weren't the case,
I'm not convinced that this error you're seeing is related to the other
exception r
Howdy,
Use an HttpServletRequestWrapper and override getQueryString and/or
related getParameter methods.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Jon Beyer [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 04, 2004 9:43 AM
>To: [EMAIL PROTECTED]; Tomcat U
Salut,
Long time lurker, rare contributor.
I've experienced the same problem for a while but no, I cannot reproduce the error
consistently. In my experience, webapps startup okay but any/all SSL access is blown
with an error similar to:
java.lang.NullPointerException
at org.apache.catalina.
Hi,
Give it a shot ;) It should work fine. It won't be officially
supported until JDK 1.5 final is out of course.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Sunitha Kumar [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 04, 2004 1:23 PM
>To: Tomcat Users
The JVM and Tomcat don't (that I know about), but there are ways for a
servlet to continue to eat up memory with out freeing it. Here's just one:
Servlet A instantiates some collection like a Hashtable in it's constructor.
Servlet A then procedes to add stuff to that Hashtable without removing
Not officially but it should work. Why not use 5.0.27 too as this is the latest stable
release.
Ta
Matt
-Original Message-
From: Sunitha Kumar [mailto:[EMAIL PROTECTED]
Sent: 04 August 2004 18:23
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: Tomcat error
Yoav:
For Run time,
Hi,
I don't know, I don't use it.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Joseph Shraibman [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 04, 2004 12:37 PM
>To: Tomcat Users List
>Subject: Re: How do I manage the thread pool in 5.0.27?
>
>But the jk c
> From: Jon Doe [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomact 5 - Out of Memory
>
> But hey, I thought one of the big selling points is that Java
> DOES NOT LEAK!
It's not a memory leak in the C-sense. In a Java environment, the term refers to
hanging onto references to objects when they ha
Hi,
>But hey, I thought one of the big selling points is that Java DOES NOT
>LEAK!
>Am I mistaken? Isn't it's absence of pointers its big plus? If it does
leak
>then changing the heap size is going to be irrelevant. No matter how
large
>you set it it will bite you in the bum eventually!
;( You'
Java doesnt leak in the same vein as other languages but you can still get memory
leaks by retaining references to objects after they are not required any more.
-Original Message-
From: Jon Doe [mailto:[EMAIL PROTECTED]
Sent: 04 August 2004 17:18
To: [EMAIL PROTECTED]
Subject: Re: Tomact
Hi,
Read the section on Automatic Application Deployment in the Tomcat docs,
and you will see that these are simply multiple options to do the same
thing. Which one is best depends on your needs and preferences, but
they're not that different from each other.
Yoav Shapira
Millennium Research Inf
Hi,
You can use Apache's mod_rewrite. You can use Tomcat's balancer webapp.
You can use other tools to do tricks in this area. There's no Tomcat
support for wildcard virtual hosts, and with the current code base it's
not trivial to write, as you've noted. However, as always patches and
enhancem
I think it gets deleted completely.
-Original Message-
From: Bussie, Andre D [mailto:[EMAIL PROTECTED]
Sent: 04 August 2004 15:30
To: [EMAIL PROTECTED]
Subject: Undelpoying Web App - help please
Once you undeploy a web app from Tomcat 5.0.19 admin screen where does
the folder goes. I ac
Thanks for your reply, I understand. This is definitely the cause.
Shapira, Yoav wrote:
Hi,
You can have as many versions of the JDK installed on your system as you
want. Tomcat will use the one pointed out by the JAVA_HOME variable.
Whatever JDK Tomcat uses should be the same or a later version t
Yoav:
For Run time, can JDK 1.5 work with tomcat 5.0.25 or 5.0.19?
thanks,
-sunitha
Shapira, Yoav wrote:
Hi,
Make sure you compile the class with JDK 1.4 or earlier, not JDK 1.5.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECT
I'd sggest you to do two things:
- put the following line in your jk2.properties
request.registerRequests=false
- In $CATALINA_HOME/conf/web.xml
development
false
reloading
false
You get a lot of free memory when setting to n
On 03 August 2004, Michael J?rgens said:
> No I want to connect an apache webserver over internet to a tomcat
> server. So far I have no problem.
> My problem is, how to secure the connection between apache and tomcat.
One idea: you could use mod_proxy as the Apache/Tomcat connection rather
than m
That's the best idea I can think of, too. With SSH tunnels using public
key authentication, you can set it up so that the tunnel is setup from a
system script, without user intervention.
David Smith wrote:
I'm not sure this can be done. Admittedly I didn't look all that hard
-- maybe someone w
But the jk connector doesn't have those paramaters, does it?
Shapira, Yoav wrote:
Hi,
You would lower maxSpareThreads on your Connector configuration in
server.xml. See the various *Threads parameters for the Connector for
more tuning options.
Yoav Shapira
Millennium Research Informatics
-Ori
The problem was that my notes said to use -with-apxs2= instead of
-with-apxs=
David Rees wrote:
Joseph Shraibman wrote, On 8/3/2004 7:29 PM:
no apxs given
checking for target platform... unix
no apache given
configure: error: Cannot find the WebServer
But the apxs does exist. This is apache 2.0.
From: David Smith <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: Tomact 5 - Out of Memory
Date: Wed, 04 Aug 2004 07:38:57 -0400
I would set JAVA_OPTS in the startup script you're using to start
Tomcat. There are loads of
I've requested that my administrator determine a way to integrate Tomcat 5
with IIS, and he's having trouble finding documentation on the subject. As I
subscribe to this list, and don't have the time to search, can anyone tell me
if Tomcat 5 can still be integrated with IIS?
We're making a mov
I am trying to figure out how datasources defitions works.
In Tomcat docs it suggest to change server.xml and web.xml, adding a global resource
and referencing it on webapp.
Tomcat's admin changes a appname.xml on conf\Catalina\localhost file (what indeded
work to me).
Netbeans kb suggest to c
The 49.0 is a magic number within the class bytecode. This type of error
typically means the class was compiled using a newer version of the jdk
than the runtime that is interpreting the bytecode. So, did you, say,
compile the lawSearch class using jdk 1.5 but are running Tomcat against
jdk 1.
On Mon, 2004-08-02 at 09:43, J.Lindberg wrote:
> Tomcat docs on host aliases say nothing about wildcards, so I'm
> assuming it's not implemented. Would be nice to see a change in this
> policy. :)
It is most definitely not implemented. I even browsed down through the
source to review how it d
Hi,
I'm just forwarding your reply to the mailing list so it's in the
archives. That way I can refer to it in the future when updating Tomcat
docs, and I don't have to keep it in my personal inbox.
Thanks ;)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Micha
Once you undeploy a web app from Tomcat 5.0.19 admin screen where does
the folder goes. I accidentally hit the undelpoy button Is there any way
to retrieve the folder?
Hola,
Can you reproduce the error reliably? What are the consequences of this
error? Are any webapps not started or not functioning because of it?
We could probably make that method in MapperListener synchronized, but
the error doesn't seem to be our fault. It looks like an MX4J issue
possibly.
> From: Schalk Neethling [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat error
>
> java.lang.UnsupportedClassVersionError:
> org/volume4/searchEngine/lawSearch (Unsupported major.minor
> version 49.0)
>
> What exactly does this mean and how do I go about fixing this? Thanks!
Looks like someone
Hi,
You can have as many versions of the JDK installed on your system as you
want. Tomcat will use the one pointed out by the JAVA_HOME variable.
Whatever JDK Tomcat uses should be the same or a later version than the
JDK you use to compile your class. Class version 49.0 is JDK 1.5 I
believe, so
On Wed, Aug 04, 2004 at 02:16:20PM +0200, Schalk Neethling wrote:
: I get the following line when running my servlet on Tomcat version 5.0.25:
:
: java.lang.UnsupportedClassVersionError: org/volume4/searchEngine/lawSearch
: (Unsupported major.minor version 49.0)
:
: What exactly does this mean a
Tim,
Thanks for the info. The redirect that I'm trying to achieve is actually
internal to my site. So I started looking at
requestdispatcher.forward( ), but it appears to me that you have to simply
pass the same 'request' and 'response' variables into it. I need to be
able to clear the v
Off handed guess -- it means your classes were compiled with a version
of a JDK not compatible with the JDK running your Tomcat install.
Recompile with the same JDK you're using with Tomcat and the whole issue
should be solved.
--David
Schalk Neethling wrote:
Hey there all
I get the following
Hi,
Make sure you compile the class with JDK 1.4 or earlier, not JDK 1.5.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Schalk Neethling [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 04, 2004 8:16 AM
>To: Tomcat Users List
>Subject: RE: Tomcat error
>
>Hey
On 03 August 2004, Joseph Shraibman said:
> Then configure ends with:
> creating libtool
> checking for test... /usr/bin/test
> checking for rm... /bin/rm
> checking for grep... /bin/grep
> checking for echo... /bin/echo
> checking for sed... /bin/sed
> checking for cp... /bin/cp
> checking for mkd
Hi,
You would lower maxSpareThreads on your Connector configuration in
server.xml. See the various *Threads parameters for the Connector for
more tuning options.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Joseph Shraibman [mailto:[EMAIL PROTECTED]
>Sent: We
Hi,
Hmm, a bit strange. What Tomcat version are you on? I recall seeing
that once on an alpha but I haven't seen it for a long time.
You should definitely be able to catch it, though. And you should try
the latest stable version of Tomcat to see if it's been fixed.
Yoav Shapira
Millennium Res
Hi,
That was an excellent message.
Your approach is flawless. You can keep using your hack, which isn't
that crude at all. You can keep using the 5.x Connector code by and
large with 4.1.30 (though not earlier versions of Tomcat 4.1), it should
be just fine. And I tend to agree than 10 as MAX_
Other than to restart the server and cross my fingers, no I haven't found a
solution. Perhaps it should be submitted as a bug.
-- RH
- Original Message -
Sent: Wednesday, August 04, 2004 2:40 AM
Subject: Intermittent exception during startup (5.0.25)
Hello Robert
I got the same err
Hey there all
I get the following line when running my servlet on Tomcat version 5.0.25:
java.lang.UnsupportedClassVersionError: org/volume4/searchEngine/lawSearch
(Unsupported major.minor version 49.0)
What exactly does this mean and how do I go about fixing this? Thanks!
--
Kind Regards
Schalk N
I would set JAVA_OPTS in the startup script you're using to start
Tomcat. There are loads of emails on the list regarding this. This issue
is common enough you should be able to google the archives for details
and get loads of responses.
Also as others have suggested, check your code for memory le
I installed on Fedora Core 1 the following configuration:
- Apache 2.0.49
- Tomcat 5.0.25
- mod_jk2 2.0.4
In my catalina.out file the following info/errors occur:
(info) jk_jni_aprImpl.c (431) jkInvoke() invoke 4e549670
(this occurs constantly)
(error) org.apache.jk.common.jniHandler nati
-- Here is your List of Failed Recipients --
<[EMAIL PROTECTED]>
Requested action not taken: mailbox unavailable. [SMTP Error Code 550]
Here Is Your Returned Mail
Received: FROM unincor.br BY srv_zeus.unincor.br ; Wed Aug 04 07:55:25 2004 -0300
From: [EMAIL PROTECTED]
T
Mmmm, I think people is answering more than one question ;-)
If you need to be strict with respect to the timings, that is, you need
exactly the number of requests in the past five seconds counting from
the moment your request is done, you will need the solution proposed by
Tim. Just remember to
I would also suggest that you use a profiler and profile your application to find out
what objects are using up the heap. You may find that you have a memory leak in your
application that needs to be fixed.
Ta
Matt
-Original Message-
From: Jignesh Patel [mailto:[EMAIL PROTECTED]
Sent:
Also check all your objects are setting null after client leaves.
Because java debugger is not working as per the expectation.
-Jignesh
On Wed, 2004-08-04 at 01:31, Paul Wallace wrote:
> Also ensure session expiry is firstly happening, and being handled (the
> later being optional!)
>
> -Or
You cannot set it if you r not even willing to read any documentation
after getting so much hint.
On Wed, 2004-08-04 at 01:58, [EMAIL PROTECTED] wrote:
> Sorry, where and how should I set the JDK heap size
>
> - Original Message -
> From: "Pradeep Chauhan" <[EMAIL PROTECTED]>
> To: "Tom
Hiya All,
We have some standard JSP page that gets some parameters URLEncoded the
usual way, (using GET)
Once you take the URL and add the percent % character at the end of the URL
(just after a parameter) - the entire page crashes throwing
java.io.CharConversionException
We tried catching
85 matches
Mail list logo