Thank you guys. Sounds like I need to either write or find a method that
converts strings to UTF-8. I'll try this tomorrow.
BTW I am not using HTML forms, just building URIs dynamically and
sticking them into anchors. That's where the GET part comes
into play :)
Cheers,
-Ramez
Markus Schö
Hello,
I've found a product on freshmeat.net that allows to run tomcat-based
websites off cdrom, allowing to produce
CDs that work on Windows, MacOS X and Linux at the same time (also it seems
to support perl,
python, php & mysql). Apache is used for serving static content, and it has
a nice supp
Hi, people,
It's been 3 years since I used Tomcat the last time. When I return to it these
days, I am having a hard time getting the SSL to work.
I've created a keystore using keytool and put the .keystore file under
C:\Tomcat_6\conf\
I am using JRE 6.
After I read the on-line doc, I put thi
Ramez Ghazzaoui wrote:
> Today I realized that this very solution has broken the Java
> request.getParameter() method in JSP. Now, with the URIEncoding set to
> UTF-8, this Java method is misinterpreting non-English characters. When
> I invoke from the browser the following address:
> http://local
Ramez Ghazzaoui wrote:
> Is there a way to make French characters work both in Directory Listings
> and in GET parameters?
All your pages need to include the following at the start:
<%@ page pageEncoding="UTF-8" %>
The correct UTF-8 encoding for your request is:
http://localhost/main.jsp?path=ol%
Hi,
But why it doesn't work in that way.
I use IE 6. and only change value of clientAuth. False/want, tomcat
works,
set clientAuth=true,
"The page cannot be display" comes out.
Must I missing some thing! More idea?
Thanks
Jimmy
-Original Message-
From: Pulkit
Hi,
Thanks!
Could you give me some more detail information? Such as sample config
file, code or links.
Jimmy ZHAN
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
Sent: Friday, February 16, 2007 7:59 PM
To: users@tomcat.apache.org
Subject: Re: HOW TO
> From: Daniel Gresh [mailto:[EMAIL PROTECTED]
> Subject: Re: Installing Tomcat 6.0.9 on Sun Solaris
>
> When I try to setup a $CATALINA_BASE by moving the
> aforementioned directories to $HOME/dtomcat, I get
> the error I posted in my original message.
The real question is: why are you trying
On 2/19/07, Daniel Gresh <[EMAIL PROTECTED]> wrote:
However, startup.sh does not start the
server apparently; I cannot connect to it from a browser
You need to look in your server logs for the underlying problem that's
preventing Tomcat from starting.
--
Hassan Schroeder -
Hi thanks for the reply.
I cleared my CATALINA_BASE variable so it would take on the default
$CATALINA_HOME variable. I then moved my conf lib logs temp webapps work
directories back into $CATALINA_HOME. Then, I used startup.sh, and it
WORKED! Hooray! I can shutdown and startup the server when I d
On 2/19/07, Daniel Gresh <[EMAIL PROTECTED]> wrote:
I've been following the installation instructions in RUNNING.txt.
Basically, it tells me to download the binary distribution, unpack it,
make sure JDK1.5 or greater is installed, and run the server. I also need to
set up a CATALINA_BASE,
No,
Hi all,
I was having some more problems with some older Tomcat installations, so
I decided to upgrade to the newest release and download it fresh this
time instead of using an existing build from awhile back.
I've been trying to set up Tomcat 6.0.9, but I'm afraid I'm having some
problems.
I
We wrote a simple method to return some stats. It's kinda crude, and may not
be a 100% accurate, but here is what we did. Hope it helps. We used this
documentation here
http://jakarta.apache.org/commons/dbcp/apidocs/org/apache/commons/dbcp/Basic
DataSource.html
public static void printDataSource
Slightly off topic, but the core of what I want is being done in the source
code of Tomcat. I am trying to use the Apache Commons DBCP classes to create
my own connection pooling factory that I can use within my servlet container
(Tomcat) and also in stand alone programs. I see how the Datasource
Hi,
Back in May 2006, I had trouble Configuring Tomcat HTTP server to
generate proper links for non-English file names in a Directory Listing.
Mr. Mark Thomas proposed a solution that worked: He told me to set
URIEncoding="UTF-8" in the connector (presumably in server.xml).
This fixed the Di
If your datasource is not managed through your container but
application driven, I guess Lambda probe (which is a great
application) will not be able to give you information about it ? Is
there a way to programmatically log the number of connections in use,
etc ... ?
Thanks
Yannick
On 2/19/07, D
I have tomcat 4.1.24 and Eclipse 3.1.2. When I start Tomcat from
Eclipse, I get error below. Please help me to fix.
GlobalResourcesLifecycleListener: Exception creating UserDatabase
MBeans for UserDatabase
javax.management.MalformedObjectNameException: Missing value in
properties list
at
Johnny, you were correct.
that selstmt connection statement was not being utilized, but sure must have
had an adverse impact, because I think I've got it working ok now!
Thanks a bunch, guys!
-Original Message-
From: -- [mailto:[EMAIL PROTECTED]
Sent: Monday, February 19, 2007 2:06 PM
T
I think you should also call
prepstmt.close()
(before closing the connection).
Besides
selstmt
seems not to be used at all.
Bye
This is driving me crazy. I'm finally close, I think, on getting this solved.
Problem is I seem to either get Connection is closed or Exhausted resultset,
de
Excellent, Thanks Chris, I'll check it out.
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Friday, February 16, 2007 6:12 PM
To: Tomcat Users List
Subject: Re: Question on common-beanutils.jar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Daniel,
Stephen
ok, I'll send that, too. Sorry about that.
-Original Message-
From: Mike Quilleash [mailto:[EMAIL PROTECTED]
Sent: Monday, February 19, 2007 1:08 PM
To: Tomcat Users List
Subject: RE: Connection pool problem DBCP - 4.1.3
Need a bit more info. DB type and version, JDBC driver version,
Re
Need a bit more info. DB type and version, JDBC driver version,
ResultSet loop/access code.
Generally the pseudo code should be...
Open Connection
try
{
Prepare Statement
try
{
Execute Query
try
{
while ( resultSet.next() )
{
// process row here
}
This is driving me crazy. I'm finally close, I think, on getting this solved.
Problem is I seem to either get Connection is closed or Exhausted resultset,
depending where I put my close statement.
I've got the following up at the top, which replaces my driver reference that
was previously the
Hi,
We're trying to instrument a war file using Cobertura, and gather the
coverage details when deployed and used under Tomcat.
Below is a thread from the Cobertura list - I'm having problems when I run
tomcat5.exe (which we use in our product) with the instrumented jar. In
this mode, Cobertura
> From: Gardner, Brad [mailto:[EMAIL PROTECTED]
> Subject: Tomcat default context
>
> I created the ROOT.xml file under /conf///
> and placed this tag into the file:
>
>
Don't put your webapp in the 's appBase directory; if you do it
may be deployed twice, once as the name on the .xml file, and
Hey tomcat-user,
We are trying to use tomcat connector to make IIS talk to tomcat.
Recently we have run into a couple issues with the tomcat connector. We
are running into deployment issues where simply placing it on a box is
not behaving like we want it to. I thought this was more of a
oh, ok. Hadn't gone down that road yet. Good to know.
Then would it be
?
-Original Message-
From: Gardner, Brad [mailto:[EMAIL PROTECTED]
Sent: Monday, February 19, 2007 10:52 AM
To: Tomcat Users List
Subject: RE: Tomcat default context
This is from the documentation that comes with
This is from the documentation that comes with tomcat 5
"Please note that for tomcat 5, unlike tomcat 4.x, it is NOT recommended
to place elements directly in the server.xml file"
Doing it outside the server.xml file allows you to make changes without
restarting tomcat. Nice feature, but still
raine king wrote:
OK I figured it out:
Me and a couple testers were all running versions of Tomcat and once
in a while we would use the same machine, and we hadn't changed the
shutdown port/message(server.xml) so we were occasionally shutting
down one another's Tomcats with shutdown.sh!
D'oh
didn't know it was possibleto set up a default context outside of the
server.xml file.
I thought Tomcat required that.
-Original Message-
From: Gardner, Brad [mailto:[EMAIL PROTECTED]
Sent: Monday, February 19, 2007 10:43 AM
To: users@tomcat.apache.org
Subject: Tomcat default context
I am using tomcat 5.5.20 and attempting to set up a default context
without placing the context tag inside of the server.xml file. I
created the ROOT.xml file under /conf///
and placed this tag into the file:
This resulted in no change, and the default tomcat page still appears
when I
Markus Schönhaber wrote:
Tom Robinson wrote:
Markus Schönhaber wrote:
Just a WAG: maybe it's not really a permisson problem but the
tomcat-users.xml that is somehow corrupt. If you post it's content here,
we can take a look and see if we spot something obviously wrong.
Yes, it's far fetched,
Lambda probe is a usefull webapplication you can deploy under tomcat and
that, amongst many features, allows you to see the state of your
connection pools.
En l'instant précis du 02/19/07 14:40, [EMAIL PROTECTED] s'exprimait en
ces termes:
> Hello List,
>
> I've configured DBCP on my Tomcat 5.5.20
Hello List,
I've configured DBCP on my Tomcat 5.5.20 Installation.
This runs great and I'm really happy with it until it comes to logging
and/or monitoring.
What do I have to do if I want to know the state of the connection pool? How
can I see how many connections are currently in use? Or -
Here's a snippet of my web.xml that shows the filter:
ReqMgr
infoIsland.ReqMgr
ReqMgr
/members/servlet/ReqMgr
CheckUser
infoIsland.CheckUser
loginPage
/login.jsp
CheckUser
/members/*
Interesting, though, th
You don't need to tell tomcat to look in WEB-INF/lib/*.jar. Tomcat does
that automatically per spec. I'm guessing there is something wrong with
the way your jar was created or a permissions problem.
Try testing the jar with
$JAVA_HOME/bin/jar tf whatever.jar
(linux/maxos syntax)
or
%JAVA_HOME\b
It helped us to upgrade to java 1.5.0_10. There are fixes for memory leaks in
native memory. They do not show up in the java heap.
Ronald.
On Wed Feb 07 23:34:45 CET 2007 Tomcat Users List
wrote:
---
Version Informa
OK I figured it out:
Me and a couple testers were all running versions of Tomcat and once in a
while we would use the same machine, and we hadn't changed the shutdown
port/message(server.xml) so we were occasionally shutting down one another's
Tomcats with shutdown.sh!
Thanks everyone for yo
38 matches
Mail list logo