Firstly, the only SSLServerSocketFactory that actually does anything is the
one for the deprecated HttpConnector in TC 4. With the CoyoteConnector, it
is possible to plug in your own SSLImplementation (which, among other
things, would allow you to install your own TrustManager), but most people
UserDatabase doesn't support DIGEST. In fact, it could be that only
MemoryRealm (which supports everything) does. However, I can't be bothered
to look :).
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Does anyone know if the DIGEST authentication is supported by Tomcat 5?
I have
Sure Tom, the development machine is Windows (XP) and in a domain, so that can only be
NT or Active Directory.
Also have a test Win2K machine (standalone), with the same behaviour.
None of this should change anything AFAIK, since it is with the default UserDatabase,
we do not use JAAS or
Sure Tom, the development machine is Windows (XP) and in a domain, so that can only be
NT or Active Directory.
We also have a test Win2K machine (standalone), with the same behaviour.
None of this should change anything AFAIK, since it is with the default UserDatabase
(the XML file). We do not
Hi everyone,
I get an error when I shut down my tomcat server:
./shutdown.sh
Using CATALINA_BASE: /opt/jakarta-tomcat-5.0.25
Using CATALINA_HOME: /opt/jakarta-tomcat-5.0.25
Using CATALINA_TMPDIR: /opt/jakarta-tomcat-5.0.25/temp
Using JAVA_HOME: /opt/jdk1.5.0
ERROR: transport error 202:
Hey Chris,
I thing you can use a javagroup solution.
Look at http://www.jgroups.org/javagroupsnew/docs/index.html
Little bit old but usefull implementation from Filip
Tomcat-jg...
http://sourceforge.net/projects/tomcat-jg
regards
peter
Chris Todd schrieb:
Is there any way to achieve high
I am currently using the embedded server to startup catalina as part of our
application, mostly due to the fact we need more control over the startup proces.
I have setup the embedded server as describes in the many tutorials, which
works fine for me. But, unfortunately, the server is forces to
On Mon, 12 Jul 2004, Simone-dev wrote:
| I remember in tomcat 5.0.18 there was a java Home property, but now I've
| just a Java Virtual machine
| originally it was set to C:\Program
| Files\Java\j2re1.4.2_05\bin\client\jvm.dll (and didn't worked)
| then I changed it to
I'm trying to launch Tomcat 4.1.30 from Eclipse 3.0 using the Sysdeo
plug-in (3.0beta). So far, I haven't succeeded.
According to the docs, it is enough to give the plug-in the path to the
Tomcat installation directory and it is not necessary to add the Tomcat
jars explicitly to the classpath.
Thank you
I just reinstalled tomcat and now it works
maybe on windows there are some strange registry key to be set if you
set the JAVA_HOME env variable after the installation.
But don't know which one
Simone
Endre Stølsvik wrote:
On Mon, 12 Jul 2004, Simone-dev wrote:
| I remember in tomcat
Hi Henri,
I initially had some trouble installing the Sysdeo plugin, but then I
followed the steps in this tutorial exactly and it worked fine:
http://javaboutique.internet.com/tutorials/three/
I don't know of a mailing list, but here is a newsgroup: (news server)
news.eclipse.org (newsgroup)
I will be out of the office starting 07/13/2004 and will not return until
08/11/2004.
I will respond to your message when I return.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi,
First of all apologies to everyone for sending my last message thrice.
Wasn't intentional and I'll do my best not to repeat that...
File destDir = null;
if (absoluteLibPath != null) {
destDir = new File(absoluteLibPath);
} else {
What JVM are you using ?
I had some similar problems with java 1.4.1_01 on Windows,
when to many files were opened.
Solved with 1.4.1_05.
-Message d'origine-
De : Morus Walter [mailto:[EMAIL PROTECTED]
Envoyé : mardi 13 juillet 2004 11:19
À : Tomcat Users List
Cc : [EMAIL PROTECTED]
Objet
STOCKHOLM, Raymond writes:
What JVM are you using ?
I had some similar problems with java 1.4.1_01 on Windows,
when to many files were opened.
Solved with 1.4.1_05.
java -version
java version 1.4.2_04
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM)
I have found the solution:
MBeanServer mBeanServer = null;
Registry registry;
registry=Registry.getRegistry();
mBeanServer = Registry.getRegistry().getServer();
Set set = mBeanServer.queryNames(new ObjectName(Catalina:type=Manager,*),
null);
Hello,
I'm using the Connector options compression=on and
compressableMimeTypes=text/html,text/xml,text/plain,text/javascript,text/css. But it looks
like Tomcat is just using its defaults for compressableMimeTypes. Does anybody experience the same thing?
I filed a bugreport on this earlier this
Hi
After we deployed application in tomcat we got this error: (However the
deployment done successfully in oracle 10G OC4J Server and works fine).
org.apache.jasper.JasperException: Unable to compile class for JSP An
error occurred at line: 135 in the jsp file: sri/eEntries.jsp Generated
servlet
Hi
I've implemented a JAAS Realm authentication module for my servlet/JSP
web-app which is working a treat.
Can anybody tell me how to access in my servlets the
javax.security.auth.Subject object generated at login?
This fronts an existing application and I would like to store the
user-specific
Hi,
how do I have to configure JMeter's HTTP Proxy Server for being able to
record requests of a Tomcat web application?
My Tomcat application is called via http://localhost:8080/myapp. I tried
setup the HTTP Proxy Server to listen on port 8080 but with no effect.
Is it possible at all to use
Hi,
The notes for patchset 5 and 6 suggest you can pretty much use FreeBSD
JDK 1.4 without a problem, it passes compatibility tests for JDK 1.4.2
etc: http://www.freebsd.org/java/dists/14.html.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Chris Todd
Hi,
You mean record as in log the requests made to the server? The
AccessLogValve is good for that. JMeter is a testing application more
than a recording one.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
-- Virus Warning Message (on viruswall)
Found virus WORM_LOVGATE.Z in file readme.pif (in readme.zip)
The uncleanable file is deleted.
-
It's the long-awaited film version of the Broadway hit. The message sent as a
Sergei, Ian, and Anybody else:
Hello, I am trying to do the same thing, which is to have Apcache 2.0.49 forward all
jsp and servlet request to Tomcat 5.0.25 on a windows box. Have you or anyone else
been able to get this to work successfully? What is debian/testing? And what is
Debian
You would configure the HTTP Proxy Server to use a port different
from Tomcat's, say 8082. Then you would reconfigure your browser
to use as its proxy the machine and port that correspond to HTTP
Proxy Server, i.e. your machine name:8082. Then access Tomcat
with your browser as you would
Hi all,
I have an application based on java (1.4.2) and Tomcat 5.0.19.
At moment I use a jakarta-poi-1.5.1-final-20020615.jar library because I
need to:
1) open a file (excel type)
2) Create sheet
3) fill some cell on sheet before created (to generate a report).
I need to add one more
Debian is a Linux distribution. Debian Woody is the stable version, and
Debian/testing is, well, in a testing state.
As you can see from my email, I haven't been able to successfully forward
all requests. I was hoping it would be as simple as outlined in the HOWTO,
but, as with everything, that
Hello:
The majority of our users' information is stored in LDAP, and their home
directories are in the form of /home/courses/u/s/username.
PasswdUserDatabase only reads /etc/passwd.
HomesUserDatabase doesn't seem to like wildcards, such as
/home/courses/*/*/*
Is there any version of Tomcat
Okay thanks for bring me up to speed on the Linux lingo. I will try to do the same
thing you have done in a windows environment. Granted I have already tried this
several times with a slightly different configuration. I doubt it will work though
but I will give it a shot when I get home. I
Hello all,
I had a friend ask me on the phone a couple days ago, and now a question
has popped up at javaranch. I've looked in the docs and googled, but
haven't found a definitive 'no' answer (shouldn't life be that simple?).
Thought I'd ask here.
Is there such a thing as directory aliasing /
As the above directive indicates, I would like to have all
requests to Apache forwarded to Tomcat. However, that is not
happening and any URL I try results in a 404 with an error
indicating such in Apache's error.log.
No errors indicating failure appear in the obvious spots, and
no
Inside a host you could add a context path=/images
docBase=/usr/local/somewhere /
Regards,
Carl
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: 13 July 2004 05:13 PM
To: [EMAIL PROTECTED]
Subject: Is there such a beast ? (virtual directories)
Hello all,
I had a
Hm... would that work in this case:
host ...
context docBase=/path/to/web-app/root/ path=/foo-app ... /
context docBase=/some/other/path path=/images /
/host
then from the browser I'd want:
http://www.mydomain.com/foo-app/images
to look inside /some/other/path
(the virtual directory
Hi Mike,
Mike Curwen wrote:
Hm... would that work in this case:
host ...
context docBase=/path/to/web-app/root/ path=/foo-app ... /
context docBase=/some/other/path path=/images /
/host
I think this syntax would confuse Tomcat. I thought only one context
tag is allowed ...? I could be
Chong Yu Meng wrote, On 7/13/2004 9:07 AM:
Mike Curwen wrote:
host ...
context docBase=/path/to/web-app/root/ path=/foo-app ... /
context docBase=/some/other/path path=/images /
/host
I think this syntax would confuse Tomcat. I thought only one context
tag is allowed ...? I could be wrong.
On Wed, Jul 14, 2004 at 12:07:30AM +0800, Chong Yu Meng wrote:
: host ...
: context docBase=/path/to/web-app/root/ path=/foo-app ... /
: context docBase=/some/other/path path=/images /
: /host
: I think this syntax would confuse Tomcat. I thought only one context
: tag is allowed ...? I
I have a Struts/Tiles application running on Tomcat 4.1.x and Tomcat 5.x
with UTF-8 encoding (Polish Russian character sets, particularly) - I
didn't have to do anything special for the response encoding, only for
the request encoding. Here's what I put at the top of my JSPs:
%@ page
I thought it would work too. But unfortunately it did not.:(
In both applet and servlet code, I have the trace log. From time to time,
while in
applet log the jsessionid is the correct one, but in servlet, it is a
different one.
Any idea?
-Simon
-Original Message-
From: Filip Hanik -
Hi,
That's an excellent response and fiskars.com is a nice-looking site.
Thanks,
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Ruth, Brice [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 12:25 PM
To: Tomcat Users List
Subject: Re: Problems with Tomcat,
Am Dienstag, 13. Juli 2004 16:06 schrieb Larry Isaacs:
You would configure the HTTP Proxy Server to use a port different
from Tomcat's, say 8082. Then you would reconfigure your browser
to use as its proxy the machine and port that correspond to HTTP
Proxy Server, i.e. your machine name:8082.
no idea until you gives us some more info. like what do your server log files tell you,
how does the URL you are constructing to open the connection look like? etc
Filip
- Original Message -
From: Simon Zeng [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, July
Is there currently a way of replicating session information across
multiple tomcat nodes without multicasting? If not, has any extended
the Tomcat API to support this? The reason I ask is because we are
using a hardware load balancer, and it does not support multi-casting.
One thought is
Hi-I'm using Tomcat 4.1.12 and I have have it running great, thanks. I
have my connection pooling set up and working to an Oracle DB. However,
are we still using the 'RemoveAbondoned' parameters to close DBCP
connections? I have the parameter set for 20 connections and the other
day, I had a
You could save your sessions in an RDBMS, but I'm not sure how
responsive this would be...
Jeremy Nix wrote:
Is there currently a way of replicating session information across
multiple tomcat nodes without multicasting? If not, has any extended
the Tomcat API to support this? The reason I ask
Hi,
Don't rely on removeAbandoned, close your connections yourself
(typically in the finally clause of a try/catch construct).
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Bliesner, Christopher P
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 1:38 PM
yes, a guy posted a patch on this mailing list a while back,
where you can predefine your members(hardcode them into server.xml).
I am superbusy right now so I have not had time to incorporate those.
So that would be direct tomcat to tomcat replication
Not sure why you must have a load balancer
On Tue, Jul 13, 2004 at 12:37:53PM -0500, Bliesner, Christopher P wrote:
: I'm kind of worried that my db
: connections are not closing. Any suggestions?
One technique I've seen for tracking down stray connections is to set the
DB pool to use just one connection. That makes it pretty easy to
as a general for myself, I always explicitly close the connections, to
make sure the connection gets returned to the pool.
peter
On Tue, 13 Jul 2004 12:37:53 -0500, Bliesner, Christopher P
[EMAIL PROTECTED] wrote:
Hi-I'm using Tomcat 4.1.12 and I have have it running great, thanks. I
have my
Hello,
I'm trying to get Tomcat 5 to work with Apache 2.0.50 on a Win2K Pro
box. Tomcat works fine by itself, and so does Apache. However, when I
follow the steps in the JK2 documentation and then try to test it, I get
an HTTP error 500. I've included the appropriate lines from the Apache
forgot to mention, that implementing a hard coded member layer using straight tcp
should be pretty easy. just implement the member
ship service interface, and you will be good to go
Filip
- Original Message -
From: Filip Hanik - Dev [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
So then could I extend
org.apache.tomcat.util.net.JSSEImplementation to
create my own implementation and override the
getServerSocketFactory() to create one that uses my
custom trust manager? Does that sound right to you?
Will that only work with tomcat 5? Is there something
that I can do that
Is there a way to set a global pool only accessible for a given virtualhost?
--
Emerson Cargnin
Analista de Sistemas - Gerente Regional - Tubarão
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
Thanks Brice and Yoav. fiskars.com is very slick
indeed.
Brice, your response was very helpful; I verified that
that all my files are saved with the proper encoding
(some of them were not).
But Im still having a problem:
I have a custom tag that reads a file and writes its
content to the JSPs
Hi--I've got the programmers doing that with the closures but can I use
it as a backup perhaps in case one of them does a doh?
Chris Bliesner
Lead Oracle DBA/Unix admin
Wk Phone 915-834-1757
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004
This goes against the grain of the servlet spec. Generally, images would be
something tied to a web application and would therefore be contained within
the application war file (or directory) so that the webapp would be deployed
as a single unit.
...but I'm not a puriest so have at it :P
One
At 12:13 PM 7/13/2004, you wrote:
One option is to use a servlet that serves static files from directories
and map that servlet in your web application's web.xml. This is nowhere
near as robust or secure as putting httpd infront of your servlet
containers. Again since this _could_ point
Yes, I thing that's it, but I haven't tried this yet...
Ivan Jouikov wrote:
Then how would you access that specific manager? www.host.com/manager ?
-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 4:16 PM
To: Tomcat Users List
Subject: Re:
Matt Harrison wrote:
Hi
I've implemented a JAAS Realm authentication module for my servlet/JSP
web-app which is working a treat.
Can anybody tell me how to access in my servlets the
javax.security.auth.Subject object generated at login?
You can get it using
QM mailto:[EMAIL PROTECTED] wrote:
On Sat, Jul 10, 2004 at 12:31:21PM -0700, Richard Mixon (qwest) wrote:
The log variable is initialized when the Action form is
instantiated, like so: public class ChartWizardForm extends
ActionForm implements java.io.Serializable { private transient
Craig Berry mailto:[EMAIL PROTECTED] wrote:
From:QM [mailto:[EMAIL PROTECTED]
I notice, you define/initialize the instance variable log at its
declaration point.
Humor me: what happens if you initialize log in the ctor?
Or for that matter, why not make the log member static?
Hey!
Im trying to make it so that
my clients could use different languages when entering stuff into my froms. What I am doing right now is:
All my pages have %@ page language=java contentType=text/html; charset=UTF-8 at the top
When I retrieve parameters I use the
following
have you tried copying tools.jar inside tomcat\common\lib folder?
just a thought!
-Original Message-
From: Avula, Srini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 5:43 PM
To: [EMAIL PROTECTED]
Subject: JasperException
Hi
After we deployed application in tomcat we got this
Hello, all,
I got a weird problem with Tomcat 5 recently. It
shutted down by itself, but after I restarted it, I
still can't connect to the server. The browser
complained that The requested URL can't be
retrieved.
I know the tomcat process already started since I can
see its java job in the
Yoav,
Thanks for the suggestion, but this port of Java does not work on OpenBSD
due to unresolved threading issues. The only option on OpenBSD for the
time being is to use the Linux JDK1.3 in Linux emulation mode.
But thanks to Peter Rossbach for suggesting I look at Jgroups, which I will
do.
Hi, I am not en expert, just some piece of advice
I know from MySql 4.01, u can define the character encoding on each
database, table and column. Are u sure your column is encoded in
unicode?
Because the GUI client may smart enought to auto convert the encoding,
so u can view the character
Hmm any idea how to define that?
-Original Message-
From: Koon Yue Lam [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 9:34 PM
To: Tomcat Users List
Subject: Re: Retrieveing Unicode stuff from MySQL 4.1.x ?
Hi, I am not en expert, just some piece of advice
I know from
http://dev.mysql.com/doc/mysql/en/Charset-defaults.html
in your case, u just define everything as unicode, so just set the
database encoding to unicode
hopes this help
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
im dolor [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
So then could I extend
org.apache.tomcat.util.net.JSSEImplementation to
create my own implementation and override the
getServerSocketFactory() to create one that uses my
custom trust manager? Does that sound right to you?
68 matches
Mail list logo