Hello,
What a relief!!
And I've seen that the patch for this bug is a one-liner... I will try
to backport it to the stock 4.1.24 we were willing to use.
Do you have an idea of the approx. release date for 4.1.25?
Thank you very much for your help.
Antonio Fiol
Bill Barker wrote:
It's a
Thanks Micheal.
Actually, I did put the jar that contains the driver in $CATALINA_HOME/common/lib. So,
I guess I'll just try what you recommended and if it works, then I think I'll switch
to a different driver and test to see if this is a driver specific thing. Maybe no one
tried that driver
Paridhi Bansal typed the following on 13:25 14/06/2003 -0500
In our case,high no. of concurrent requests is not requireqd. no
multithreading is being used at servlet end. So i have put maxProcessors in
server.xml to 30..however, whenevr i start tomcat, it starts with 9 java
threads that
The method authenticate() of the FormAuthenticator class does a redirect
after getting the requestURI (savedRequestURL) (line 293).
I don't understand why you just restore the request ( restoreRequest() )
without a redirect.
// Redirect the user to the original request URI (which will
Hi
i have problem with ClassLoader
imagine this situation
i have two jar files (pack1, and pack2) first is used from jsp ...
i've in pack1 f.e. one interface (MyInter) and one class (JarClassLoader extended
from ClassLoader)
pack1.jar i have defined as package headline;
in the second
On Sun, 15 Jun 2003 20:37, [EMAIL PROTECTED] wrote:
net/sourceforge/headlines/Headline
Do you have another .jar file hanging around with the above in it? Either in
WEB-INF/lib or common/lib?
NoClassDefFoundError basically means Tomcat is getting confused by multiple
classes with the same
Hi everyone,
I just managed to get this working. Obviously, it doesn't work if I put the Resource
and Resource-params tags inside the GlobalNamingResources element, even if I
create another Resource entry inside the Context element.
Someone once mentioned that maybe the tag inside the Context
Hi,
I am wondering about the performance difference between Velocity templates and JSP.
A test made by Rickard Öberg in Aug. 2001, was showing the difference being :
JSP - 240-480ms
Velocity - 50-70ms
Since a lot has changed in tomcat and jsp.
Has anyone any figures on what the
Hi,
Greetings,
We have installed tomcat 4.1.24 on windows xp and j2sdk1.4.1_01 and
since then we couldn't access any jsp file. jasper always fails with the
following exception reports.
Rgds,
Sen
Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to
I have not run benchmarks (or use velocity) but velocity will probably still
be faster. Velocity will run faster on tomcat 3 than tomcat 4 or 5. This is
mainly due to constraints imposed by the servlet specification that extra
checks need to be done as well as certain assumptions (don't ask
No ... i don't have any others jars ... and i didn't set classpath or other variables
Thence i'm confused ...
I'm attaching sample for better recognition
Anna
### test.jsp ##
%@ page language=java %
%@ page import=java.util.*, java.io.*,
Hello,
This question is probably not specific to Tomcat, but a Tomcat-specific
answer could well suit my needs.
I have an application which I have split in several different contexts.
I have done so, to allow different kinds of access to the app, depending
on the web server the requests are
On Sun, 15 Jun 2003 21:24, Senthivel U S wrote:
Hi,
Greetings,
We have installed tomcat 4.1.24 on windows xp and j2sdk1.4.1_01 and
since then we couldn't access any jsp file. jasper always fails with the
following exception reports.
G'day,
Your path is getting chomped at the space, either
I'm guessing you have headlines.jar installed from:
http://sourceforge.net/projects/headlines/
Given the error:
root cause
javax.servlet.ServletException: net/sourceforge/headlines/Headline
Are you sure you don't have that anywhere Tomcat would be accessing it?
Regards,
--
Jason Bainbridge
yes ... i tryed source from this project
but i don't have any headlines.jar in classpaths/libpaths of tomcat
and as you saw i attached listings of files and i tested this simple sample (if your
want you can try it) which don't have any references to project from sourceforge
and it makes me
Look in the archives and search for past Singleton discussions.
http://marc.theaimsgroup.com/?l=tomcat-userw=2r=1s=singletonq=b
http://marc.theaimsgroup.com/?l=tomcat-devw=2r=1s=singletonq=b
Otherwise ...
- EJB (???)
- Use a custom JNDI Factory (see tomcat jndi docs)
-Tim
Antonio Fiol Bonnín
On Mon, 16 Jun 2003 00:14, Anna wrote:
yes ... i tryed source from this project
but i don't have any headlines.jar in classpaths/libpaths of tomcat
Sorry but I don't believe you. :) Otherwise where did that error come from?
Just do a search for headlines.jar I'm sure you've missed it, either
Hi Antonio,
- Extract the component into a separate JVM, and connect to it via
socket.
This is what I'd do, but I'd also write a client class to get access. I
suppose you could use RMI or something, but I'm not familiar with that.
Whatever you're comfortable with, I guess.
You could also spin
Thanks Achal, that really helped.
-Original Message-
From: Prabhakar, Achal [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 15, 2003 8:36 PM
To: Tarek M. Nabil
Subject: RE: JNDI DataSource
The server.xml elements and attributes are documented here:
- Extract the component into a separate JVM, and connect to it via socket.
This is what I'd do, but I'd also write a client class to get access. I
suppose you could use RMI or something, but I'm not familiar with that.
Whatever you're comfortable with, I guess.
You could also spin off this
I have not followed this thread,
but putting the class in common/lib or shared/lib should make it a singleton
across contexts
Filip
-Original Message-
From: Antonio Fiol Bonnín [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 15, 2003 10:52 AM
To: Tomcat Users List
Subject: Re:
This is the best I could find:
--
Each application is loaded with sepperate classloaders, so as long as the
servlets are in the same application and the singleton is in it's classpath
too it works.
--
My singleton has to work *across* applications.
Any ideas?
Thank you
Antonio, remove your email digital certificate. Most of us can not answer
your question since the reply forcing us to have a digital certificate as
well.
-Dan
- Original Message -
From: Filip Hanik [EMAIL PROTECTED]
Newsgroups: Tomcat
Sent: Sunday, June 15, 2003 10:59 AM
Subject: RE:
I forgot mention that i get error returned from tomcat when i tested it on
headlines from sourceforge
but i in first my mail described it on finction sample and attached error
listing .. and i rewrited it to headline/MyInter
i forgot rewrite the second ocurence ... in root case
my mistake ...
This seems a good idea. Would it be possible to reload this class
without trashing the whole Tomcat?
I don't think so... At least, I cannot imagine how it would be done.
I have just come across another possibility:
Store the singleton instance in the system properties.
What do you think of
On Sun, 2003-06-15 at 10:51, Antonio Fiol Bonnín wrote:
What I dislike is having to go out of the app to do app-internal calls.
RMI, socket, CORBA, HTTP, ... I don't mind: I just dislike the idea.
With good reason. :-)
I do have a database. Databases are supposed to store data, aren't
Hi folks,
I have read a article that explains how to embed the Tomcat with java app in O'Reily
website. I will try to do it for my java app. But I want to do one step further
which use JRE instead of JDK. Does anybody know if I pre-compile all jsp files, is it
possible to embed the Tomcat
I've done some more testing and it doesn't have anything to do with
starting Tomcat at boot as I first thought. The problem is that my
servlet tries to connect to the X server when run. I have no idea why it
needs to connect to the X server (It's a servlet that EspressReport wrote
to connect to
Place the jar (or class) in common/lib (or common/classes) and all will be
ok. That is - until you need to make a change to your singleton class (or
a class used by it) - in which case you will need to restart tomcat. (and not
restart your webapp)
-Tim
Antonio Fiol Bonnín wrote:
This is the
Ouch! wacky issues between java and X. The archives have talked about similar
items and I am sure there are google links talking about use X with java.
Otherwise - I am pretty clueless on the topic.
-Tim
Chad Lemmen wrote:
I've done some more testing and it doesn't have anything to do with
It's something about running tomcat headless I think.
http://sourceforge.net/forum/forum.php?thread_id=859094forum_id=192228
Try adding this to the tomcat startup scripts :
-Djava.awt.headless=true (which you can only do with JDK1.4 or higher) .
Tim Funk wrote:
Ouch! wacky issues between
John,
I am using Redhat7.3. It still has that error. Does it any affect
for the applications if this error exists?
unplug
John Turner wrote:
AFAIK, it is a timing issue, only on Solaris. The port binding is released
before the shutdown is completely finished, which throws the error.
Yes
- Original Message -
From: Kwok Ng [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 16, 2003 8:16 AM
Subject: Embedding Tomcat with Java App and JRE only
Hi folks,
I have read a article that explains how to embed the Tomcat with java app
in O'Reily website. I will try
I am using 4.1.24 in Win 2000. I pass an environment variable to Tomcat
by adding
set JAVA_OPTS=-Dmy.variable.name=...
to catalina.bat and all is fine when I start Tomcat from a script that
calls bin/startup.bat. However, if I start Tomcat from the menu item
that is automatically created
I added -Djava.awt.headless=true to catalina.sh and it fixed the problem.
Thanks for your help.
On Mon, 16 Jun 2003, Kwok Peng Tuck wrote:
It's something about running tomcat headless I think.
http://sourceforge.net/forum/forum.php?thread_id=859094forum_id=192228
Try adding this to the
Title: java.lang.reflect.InvocationTargetException
-Original Message-
From: Chuk, Jasmine WM
Sent: Friday, June 13, 2003 3:52 PM
To: '[EMAIL PROTECTED]'
Subject: java.lang.reflect.InvocationTargetException
Dear all,
I am trying to enable SSL Support with JSSE in tomcat, but
Hi!!
Thanx for the reply..Actually In my case, though it's a web-based application but it's
still at testing stage..there's max 1 user at a time..so there's no question of
multiple threads accesing the code at atime..moreover, the servlet too just has a
single thread for processing..
besides
java.lang.reflect.InvocationTargetExceptionThe keystore needs to be the full path to
the keystore. In your case you need something like keystore=c:\documents and
settings\798454\.keystore.
Chuk, Jasmine WM [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
-Original
38 matches
Mail list logo