I've been tearing my hair out for days trying to work out why I've
been getting jdbc driver not found 'Null' errors.
Then I came across this previous post,
http://www.mail-archive.com/[EMAIL PROTECTED]/msg83356.html
The original poster was absolutely correct - it's all due to making the
On Thu, 2003-03-20 at 20:36, Micael wrote:
For me the easiest thing was just to provide the right command line options
(java.awt.headless=true) when I started up Tomcat.
May I ask, how you did this ? I've also encountered
JNI_OnLoad errors runing on Solaris due, I suspect, the lack of
Thanks Micael. Tried the same thing and got the same results.
Looks like Catalina/Tomcat is indeed using headless mode but
it's not working with my Java (1.4) and operating system (SunOS 5.6).
I'm presuming you're using this to create/generate graphics in a
servlet ? Do you mind posting sample
site but somebody seems to have pinched the binaries !
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1/bin/solaris6/
Please feel free to mail me direct if you do have the binary. Thank you.
Stephen.
Stephen Riek [EMAIL PROTECTED] wrote:
OK, here's the problem
application server that handles virtual hosts and has an easier
setup. (any recommendations?). But I would prefer to stick with
Tomcat.
Stephen.
Stephen Riek [EMAIL PROTECTED] wrote:
3 weeks already and I still can't get mod_jk to handle query strings :(
I have Apache 1.3.x in front of Tomcat
3 weeks already and I still can't get mod_jk to handle query strings :(
I have Apache 1.3.x in front of Tomcat 4.1.18 via JK (and not JK2).
I can follow hyperlinks from one JSP to another JSP, through JK/Apache.
However, I can not follow links which have a query appended.
For example,say I
Just spent hours debugging a problem with MySQL DBCP.
My webapp was working perfectly under 4.0.3 but upon upgrading to 4.1.18, the very
same webapp failed, with an annoying Cannot create JDBC driver of class
org.gjt.mm.mysql.Driver error.
I solved the problem by changing this first Resource
Just a question related to this.
I also have Apache 1.3.x accessing Tomcat 4.1.18 through JK (and not JK2).
I can follow hyperlinks from one JSP (served up by Tomca) to another JSP, through
JK/Apache. However, I can not follow links with a query appended.
Eg. a
Still haven't had any luck trying to debug this, but have found this error msg
in catalina.out,
[INFO] ChannelSocket - -server has been restarted or reset this connection
Stephen Riek [EMAIL PROTECTED] wrote:I also have Apache 1.3.x accessing
Tomcat 4.1.18 through JK (and not JK2).
I can
I think you can't do virtual hosting on Tomcat standalone.
You need Apache in front of it.
See the following which may help,
http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html?page=1
Sherif D Mohamad [EMAIL PROTECTED] wrote:I am trying to add a virtual host on
tomcat, I added this
Just wondering how I could have ended up getting DBCP could not obtain an idle db
connection, pool exhausted errors ? I've stopped sending requests to the server but
the problem persists and it looks like I'll have to restart Tomcat.Surprised that the
pool didn't automatically reclaim
I am indeed Jacob, are you psychic ?
Thanks, I'll try the autoReconnect and am sure it'll work - you've obviously come
across this before.
Stephen.
Jacob Kjome [EMAIL PROTECTED] wrote:
By chance are you using MySQL? Then add ?autoReconnect=true to your url
parameter like this
url
There's got to be a better way of writing Filter-mapping than the following, where I
want to allow any URL that begins either with:
a) /Products/* or
b) /2 characters/Products/*
--8--
filter-mapping
filter-nameProductsFilter/filter-name
I'm either still suffering from the effects of Saturday night or really didn't
understand something about Tomcat, because the following has me completely
surprised and unable to explain.
I have a very very simple JSP /Products/index.jsp as follows -
%
int i = 1;
System.out.println(JSP PAGE
Thanks for the reply Paul.
Might be the hangover - I get correct output when I follow your steps and
refresh with the parameter still in the URL and without too. I use Tomcat
4.1.12.
My output with the parameter in the URL:
JSP PAGE DEBUGGING 1
JSP
think.
Stephen
Stephen Riek [EMAIL PROTECTED] wrote:
Thanks for the reply, Craig.
Error Trace
---
java.lang.IncompatibleClassChangeError
This exception normally means you have made a change in a superclass and
recompiled it, but not recompiled a subclass that depends
I've been at this for the better half of a day already
without joy. Am trying to create a Filter which accepts
a request for /fr/Products/Toys/index.jsp and forwards
the request to /Products/Toys/index.jsp after setting
an attribute lang to fr.
However, no matter what I try, the following
Thanks for the reply, Craig.
Error Trace
---
java.lang.IncompatibleClassChangeError
This exception normally means you have made a change in a superclass and
recompiled it, but not recompiled a subclass that depends on the old APIs.
m, I have no idea which class this
Sorry, I'm not making myself clear here. My JSPs do exactly as you suggest
so that I have one JSP serving up French and English pages, depending on
the language that the user selected on my site.
Here is the problem explained very simply. I have a sitemap as follows:
/en
-- /Products
--
Thanks for the reply Ron,
I've heard of people using Accept-Language before but have my own doubts about
that. For example, using Tomcat's example servlet to examine the request.
( http://127.0.0.1:8080/examples/servlet/RequestHeaderExample ) I find that
accept-language is always en-us on my
request.gePathInfo() to get the path. Then
parse the string and use
RequestDispatcher.forward(/products/Toys/index.jsp?myparam=+langString).
The forward() will not be subject to further filter processing.
Charlie
-Original Message-
From: Stephen Riek [mailto:[EMAIL PROTECTED]]
Sent
There are so many possible reasons for this. My advice,
1. Check that the data you send is being received as GB2312 or whatever.
Easiest way to do this is to write it out to a text file. See the
Discrepancies...
thread for my code to do just this.
2. Also in the Discrepancies thread,
a
filter if you are going to map all requests.
glad to help :-)
Charlie
-Original Message-
From: Stephen Riek [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 25, 2002 12:47 PM
To: Tomcat Users List
Subject: RE: help with multilingual JSP sites pls. using a Filter to
rewri te the URL
I have a Form which is displayed in UTF-8. The form
contains just one editable field, namely
textarea name=test/textarea.
When I submit this to a JSP:
I can extract the value of the string using,
%
String s = request.getParameter(test);
%
I
I'd like for a request to webapp/en/Folder/File to be
sent to webapp/Folder/File but with a parameter 'lang'
set to 'en'.
Likewise, a request to webapp/fr/Folder/File to be
sent to webapp/Folder/File but with a parameter 'lang'
set to 'fr'.
Is this possible with Filters?
If not, is there
I'd like for a request to webapp/en/Folder/File to be mapped to
webapp/Folder/File but with a parameter 'lang' set to 'en'.
Likewise, a request to webapp/fr/Folder/File to be mapped to
webapp/Folder/File but with a parameter 'lang' set to 'fr'.
Is this possible with Filters?
If not, is there
26 matches
Mail list logo