Hi Ludvig,
May I know why did u choose tomcat version 3.3.2 while the latest version
5.5 is available?
Regards
Kary
Systems Engineer
PTG
- Original Message -
From: Ludvig Lindström [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Thursday, February 23, 2006 1:28 PM
Subject:
Because version 5.5 doesn´t support SOAP version 1.1 that I use in Siebel
6.3...
Regards,
Ludvig
From: PKarthick [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: Tomcat Users List users@tomcat.apache.org
Subject: Re: Installation file
Date: Thu, 23 Feb 2006 13:34:34
Hello, I implements a solution with JAAS and userfilter on Tomcat.
the loginmodule return always 'true' eventhough the password is wrong. I do
that to be able to return detail error messages to the login.jsp. (I use the
role principal to display messages).
The filter is used to dispatch to the
Thanks for the answer. You are right, I will check this solution with the
ThreadLocal pattern (i don't know at all).
I used the filter and the loginModule returns always 'true' beacuse it's not
easy to pass some messages 'wrong password', 'validity perdio expired', etc...
to the login.jsp in
Login module should return false if not authenticated. If you need to
store messages for the user, i'll suggest you pass them another way
(like by using a ThreadLocal pattern)
Vincent Delhommois a écrit :
Hello, I implements a solution with JAAS and userfilter on Tomcat.
the loginmodule return
The most basic way i see is to have a class with 3 static methods and
one static field::
setMessage(), getMessage(), clearMessage()
private static ThreadLocal message = new ThreadLocal;
...
message.set(theMessage);
...
return (String)message.get();
your jaas would do a setMessage() and your
From: Andrew English [mailto:[EMAIL PROTECTED]
Is there anyway to check this theory?
-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
[...]
I suspect an operations issue. Has someone configured a revision
control system (such as CVS or Subversion) on the
Hi!
I have a filter that passes the username and password entered in the basic
http authentication pop up dialog to a login.jsp which redirects to a
servlet that does the actuall authentication. Since my authentication takes
place somewhere else, I would like the basic http authentication pop up
In your webapp, there is no authenticated session -- at least from the
perspective of tomcat there isn't. Since you are managing the
authentication directly, all you need to do is send another unauthorized
response when the username/password aren't correct:
response.setStatus(
Hi there,
I'm trying to config mod_jk 1.2.15 with tomcat 5.5.12 and apache2 in
my account on a solaris10 machine and I get the following error when I
run
~/sw/apache2.0/bin/apachectl start
Syntax error on line 1038 of
/home/rmorrin/James/Java/DownloadedSoftware/apache2.0/conf/httpd.conf:
Cannot
My 2 cents
If there is zip file, it is likely to be as in successive versions. It is
pretty simple either launching it as service or manually by its batch files.
I started with version 4 and it didn't changed till 5.5, from this point of
view.
On 2/23/06, Ludvig Lindström [EMAIL PROTECTED] wrote:
Hello fellow tomcat users,
I'm running Tomcat 5.5.4 with Apache 2.0.54 and mod_jk.
The system uses basic authentication to serve certain pages
for authenticated users.
One of my users said that if he enters my system and is
being asked to authenticate via that popup-windows, he
sometimes hits
James Taylor wrote:
Hi there,
I'm trying to config mod_jk 1.2.15 with tomcat 5.5.12 and apache2 in
my account on a solaris10 machine and I get the following error when I
run
~/sw/apache2.0/bin/apachectl start
Syntax error on line 1038 of
put your response.setHeader(WWW-Authenticate,Basic
realm=\MySystem\); insode your error page instead of authentification
servlet. (I guess sendError() clear all headers)
Oliver Schoenwald a écrit :
Hello fellow tomcat users,
I'm running Tomcat 5.5.4 with Apache 2.0.54 and mod_jk.
The
Robert Taylor wrote:
Greetings,
I'm using Tomcat 5.5.15 on Win2k in development.
I start Tomcat through a target in my Ant build and pass it a server.xml
file.
My web app is deployed to a directory named webapp (the docbase) and
contains a /META-INF/context.xml file which has a context
Hi,
I need to run multiple Tomcat 5.5 instances on Windows 2003 behind IIS.
Each instance will be supporting different clients with applications
that are not able to be restarted using the tomcat 5.5 manager/admin
tools.
I have managed to get isapi.redirect to work for the different IIS sites
One note on POI. It is a good product and works but it is also abandon-ware
- there has been no new development on it for years.
Thanks - dave
David Thielen
www.windwardreports.com
303-499-2544
-Original Message-
From: Vincent [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 22,
Hello,
I am trying to build a very simple webmail client that accesses my
IMAPS server (self signed). I downloaded the sample code presented
in http://www.javaworld.com/javatips/jw-javatip115.html and got it
working from the command line. However, when I tried to implement
the same
Markus,
Thanks for replying. I saw that line as well:
The value of this field must not be set except when statically defining
a Context in server.xml, as it will be infered from the filenames used
for either the .xml context file or the docBase.
As the current 5.5 documentation states that
Thanks Bill,
1. My client doesn't throw an exception if the client and server's cert is
identical and both are expired. If only one of them is expired, it thorws
exception. I want to detect the expired situation even if both side are
expired.
2. WebLogic detects expired cert. So, it means JSSE
Does anybody know how to configure Realm from .../META-INF/context.xml?
Realm className=my.realm.JNDIRealm
resourceName=my/RealmFactory/
I always get a ClassNotFoundException but the class does exist (under
../WEB-INF.
BTW, we use the Apache Axis to make a connection between our client and
server.
On 2/23/06, Jihwan Kim [EMAIL PROTECTED] wrote:
Thanks Bill,
1. My client doesn't throw an exception if the client and server's cert
is identical and both are expired. If only one of them is expired, it thorws
Hello
My environment : OS= Windows 2000
Web Server = Apache 2.0
Tomcat-Apache = 1.4.31 with AJP 13 connector
Application uses JSP, Servlet and Driver JDBC Thin of Oracle
RDBMS = Oracle 7.3.62 under z/OS (mainframe IBM)
The
Your Realm implementation needs to sit in the server classloader as the
Realm interface is only defined there (in catalina.jar).
This is a PITA so when we did this we made the Realm implementation just
lookup the real implementation via JNDI. That way all the authentication
logic stayed in
Hi,
I have a customer that needs a Java servlet included into their web
site. I've never had to do this before so I thought I should ask you
experienced people. Their web server is a Windows 2003 server with IIS and
Frontpage extensions. Could I install TomCat to accomplish this purpose?
I'm stepping through the example Professional Apache Tomcat 5 book by Wrox in
Chapter 14 - I have set up the mysql database and confirmed it works and set up
the tomcat server and confirmed that I can see my index.jsp page. When I try to
go to
I'm trying to provide a socket factory class that overrides the
getKeystorePass method but I can't figure out how to hook it in. What
attribute or subelement (is the Factory element supported in 5.5.x?) do I
configure with my class name to get this to work? I've looked at the
5.5.15source code and
This works fine. Two companies I've worked at recently used W2K3 + IIS6 +
JK 1.2.15 + Tomcat 5.5.12.
Basically, you need to install the JK isapi_redirector in IIS, so that it
will redirect the appropriate URLs to Tomcat for service, and then install
the servlet(s)/JSP(s) on that Tomcat to
I wrote a search application that returns database records, and based upon the
key field in database, retrieve a picture from a separate picture repository on
the server.
My question is how can i set up my webapp to access my repository?
Info:
IDE- Netbeans 4.1
version- Tomcat
Hi
I want to use JNDIRealm to authentice users for one of my JSP application.
When the Realm was defined in the server.xml, it works for all applications.
When I moved the Realm configuration to the myweb/WEB-INF/context.xml, and
restarted the application. I also reloaded the application
Hello, I have a problem with Tomcat 5.5
I created a file CiccioPasticcio.war with my application. I have to
filter user requests using Tomcat Valves, so I wrote a context.xml file
with the following
Context cookies=true crossContext=false
Valve
Thank you Jon,
That's what I'm also trying but I always get a NPE because
JNDIRealm.containerLog is null.
Do you know how I can figure out the Container from for example a Filter?
In the case I could call realm.setContainer(container) no NPE would happen.
Zsolt
-Original Message-
Hello,
Sorry for the newbie post but I'm finding conflicting data (or no data
;p) about this (I'm trying to RTFM and STFW but swimming in a sea of
cluelessness)
a) Will mod_jk work on Apache 2.2.x ?
b) Where is 2.2.x support/installation into apache (as DSO or static)
documented
I have been having trouble getting mod_jk to work. After having Googled
and read various information on configuring mod_jk (that's the first
problem -- we need good documentation without having to Google), I
settled on this link which is a pretty good HOWTO:
Sorry Mladen, I thought I had done as you advised. I've reconfigured
and remade it and have it working. Thanks for your help with this.
Regards,
James.
On 2/23/06, Mladen Turk [EMAIL PROTECTED] wrote:
James Taylor wrote:
Hi there,
I'm trying to config mod_jk 1.2.15 with tomcat 5.5.12 and
Hi there,
I've just recently got Apache2 and tomcat-5.5.12 working on a
solaris10 machine using mod_jk but I see this exception in the tomcat
logs, can someone please tell me what it's about?
Thanks,
James.
INFO: Server startup in 10481 ms
Feb 23, 2006 5:21:03 PM
From: Tremal Naik [mailto:[EMAIL PROTECTED]
Subject: context.xml: ClassNotFoundException
The file is in the folder
CiccioPasticcio.war\META-INF\context.xml
Can you verify that the following does not exist:
conf\Catalina\[hostname]\CiccioPasticcio.xml
where [hostname] is usually localhost?
I was using Tomcat standalone and I could send files to the server with
the PUT request-method with no problems (in a REST Web Service). Now
that I have Apache hooked into Tomcat with mod_jk, the PUT request gives
me a 405 error (method not allowed). Does anyone know how to set this up
so that
Where can I find comprehensive documentation on the contents of the
server.xml file?
Brad
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
From: Brad O'Hearne [mailto:[EMAIL PROTECTED]
Subject: where can I find server.xml documentation?
Where can I find comprehensive documentation on the contents of the
server.xml file?
There's a fair amount within the file itself. Also look here:
Brad O'Hearne wrote:
I have been having trouble getting mod_jk to work. After having Googled
and read various information on configuring mod_jk (that's the first
problem -- we need good documentation without having to Google), I
settled on this link which is a pretty good HOWTO:
I agree
Hi, everybody.
I configured Apache, Tomcat and mod_jk.
It was working fine, but suddenly it stopped.
The mod_jk.log shows this message:
[Thu Feb 23 11:52:28 2006] [jk_uri_worker_map.c (445)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Thu Feb 23 11:52:28 2006] [jk_uri_worker_map.c (459)]:
Erm. Ok. My Realm extends RealmBase so I don't need to worry about such
things.
But, I guess in the Filter you could cast the request to an
o.a.catalina.HttpRequest and then call getContext() on it.
http://tomcat.apache.org/tomcat-5.0-doc/catalina/docs/api/index.html
Jon
PS I've never done
Brad,
I found a good how-to that helped me put mod_jk to work.
www.howtoforge.com/apache2_tomcat5_mod_jk
It's very simple, and it works.
--- Brad O'Hearne [EMAIL PROTECTED] escreveu:
I have been having trouble getting mod_jk to work. After having
Googled
and read various information on
Jack J. Coleman wrote:
Any help would be appreciated.
It's hard to tell without your config files
but I bet you've done something like:
JkMount /* worker
Since by default the DocumentRoot in Apache does
not allow PUT methods, you are receiving 405.
Regards,
Mladen.
Thanks for the response Mladen.
My config file has the following:
JKMount /accounts/account/* wrkr
Where /accounts/account/* is setup as a sevlet mapping to a JSP in
WEB-INF/jsp
If the documentRoot in Apache doesn't allow the PUT method, what about
other paths?
I know you can set up a
If you are using tomcat5, do not use ResourceParams. Instead, define
those params as attribute of Resource, as this:
Resource name=jdbc/WroxTC5 auth=Container
type=javax.sql.Datasource
driverClassName=com.mysql.jdbc.Driver
username=xyz ...
/
-Original Message-
From: David
Jack J. Coleman wrote:
Thanks for the response Mladen.
My config file has the following:
JKMount /accounts/account/* wrkr
Well, that's certainly a better solution.
BTW, is 405 issued by Apache or Tomcat?
Regards,
Mladen.
-
Apache.
BTW, is 405 issued by Apache or Tomcat?
Regards,
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jack J. Coleman wrote:
Apache.
Then you must have some config value that forbids PUTs.
See if you have some Location directive that contains
a path prefix of JkMount.
Also try to put your .jsp files outside WEB-INF.
mod_jk explicitly denies the access to WEB-INF and
META-INF locations (if
Bill,
That did it!!! THANK YOU. I added '/usr/local/ssl' to the
LD_LIBRARY_PATH and all is well.
Regards,
John
Bill Barker wrote:
johngbud [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Tomcat users:
I installed APR and Tomcat native library and placed in
Unfortunately this documentation seems to be out of date as it makes
reference to the Factory element as a way to specify a keystore password
but I don't think this is valid in 5.5.x.
On 2/23/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Brad O'Hearne [mailto:[EMAIL PROTECTED]
I am getting the following JSP compiler error when
running tomcat 5.5.9 with JDK 1.5_05 on Windows XP
Professional Service Pack 1:
java.io.IOException: tmpFile.renameTo(classFile)
failed
at
org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:245)
at
Tomcat Users:
I'm having trouble connecting to app TimeSeriesDemo8 (JFreechart
1.0.1). Tomcat 5.5.15 is executing ok on
my Solaris machine. Receiving this error message:
java.lang.InstantiationException: demo.TimeSeriesDemo8.
Can anyone help me get over this last hurdle? I'm fairly new to
From: Xavier Toth [mailto:[EMAIL PROTECTED]
Subject: Re: where can I find server.xml documentation?
Unfortunately this documentation seems to be out of date as it makes
reference to the Factory element as a way to specify a keystore
password but I don't think this is valid in 5.5.x.
The
Xavier Toth wrote:
Unfortunately this documentation seems to be out of date as it makes
reference to the Factory element as a way to specify a keystore password
but I don't think this is valid in 5.5.x.
Can you provide a URL that references the Factory element. I couldn't
find one when I
Caldarale, Charles R wrote:
It's here:
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html
Near the bottom, in the Troubleshooting section.
Thanks. Just fixed it. Will be in next release. Note that except in
extreme circumstances (eg security bug) the docs on the website are
only updated
I do not have any Location directives and I am not using auto aliasing.
My httpd.conf has a simple VirtualHost directive.
Even so, I tried moving the JSP outside of the WEB-INF, but still no luck.
The request doesn't seem to be getting to mod_jk at all. In the Apache
access_log I can see the
Jack J. Coleman wrote:
I do not have any Location directives and I am not using auto aliasing.
My httpd.conf has a simple VirtualHost directive.
Even so, I tried moving the JSP outside of the WEB-INF, but still no luck.
The request doesn't seem to be getting to mod_jk at all. In the Apache
I have a simple RMI server that I need a Tomcat servlet to access.
A very simple command-line app accesses the RMI server just fine with the
following code:
registry = LocateRegistry.getRegistry (host);
xxx = (XXX) registry.lookup (name);
But when I move the same code into my servlet I get
Chad Joubert wrote:
I have tried
several different string combinations using commas and collon dilimiters in
the server.xml file (ciphers=3D*
ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM*) but nothing seem=
s
to be working. I have searched and found a couple other people asking
Hi,
Can you tell me where the Native Tomcat Library is in the Tomcat
installation. Then do I have to set the classpath to it?
Thanks in anticipation.
Regards,
Jimmy
Bill,
That did it!!! THANK YOU. I added '/usr/local/ssl' to the
LD_LIBRARY_PATH and all is well.
Regards,
I don't see className as an attribute can connector behavior no longer be
overloaded?
Caldarale, Charles R wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat native library not found on startup.sh - Solaris
Can you tell me where the Native Tomcat Library is in
the Tomcat installation.
For UNIX/Linux and 64-bit Windows, you have to build it
From: Bob Hartung [EMAIL PROTECTED]
Date: 2006/02/22 Wed PM 05:35:05 EST
To: TomcatUsers users@tomcat.apache.org
Subject: Tomcat5.5 init script on FC4 revisited
Hi all,
I have modified a file from Warren Pace. After running, I can ps ax
| grep jsvc and have two pids but trying to
Hi all,
I am having a problem when using mod_rewrite to hide the Tomcat
webapp/context name, where it spawns a new session with each request.
I am using apache2.2 and mod_proxy_ajp to dispatch the request and
tomcat 5.5.9
So if I try to send this URL:
http://www.website.com/someServlet
to
From: Warren Pace [EMAIL PROTECTED]
Date: 2006/02/23 Thu PM 06:43:49 EST
To: Tomcat Users List users@tomcat.apache.org
Subject: Re: Tomcat5.5 init script on FC4 revisited
From: Bob Hartung [EMAIL PROTECTED]
Date: 2006/02/22 Wed PM 05:35:05 EST
To: TomcatUsers
Yes. I posted a similar question not long ago. I wanted to know how to
preserve the session under exactly this case (my specific need was to have a
version in the Tomcat path, but hide that context / version from the user.)
I can tell you why it's NOT preserving it. Tomcat sets the cookie
Xavier Toth [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm trying to provide a socket factory class that overrides the
getKeystorePass method but I can't figure out how to hook it in. What
attribute or subelement (is the Factory element supported in 5.5.x?) do I
No, the Factory
JupiterHost.Net [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
Sorry for the newbie post but I'm finding conflicting data (or no data ;p)
about this (I'm trying to RTFM and STFW but swimming in a sea of
cluelessness)
a) Will mod_jk work on Apache 2.2.x ?
I know it
Jihwan Kim [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Thanks Bill,
1. My client doesn't throw an exception if the client and server's cert is
identical and both are expired. If only one of them is expired, it thorws
exception. I want to detect the expired situation even if both
Hi Robert,
To counter such a problem, try giving the absolute path in the 'appBase'
parameter of the HostName tag in server.xml.
My server.xml is something like this:
Service name=Catalina
Connector port=8080
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
Hello, I use JAAS and filter (security-filter) of Tomcat with the
j_security_check.
So here is the context :
- the user try to access to the ActionServlet?action=welcome
As the user is not authenticates, it loads the login.jsp page :
- login.jsp submit the username and password through the
Pardon any show of frustration here, but I wanted to know if there is
any real definitive reference on configuring mod_jk. I've burned 3 full
days Googling, endless configuration file editing, tailing logs, etc.,
and there just seems to be problem after problem. I've worked off of
several
http://cruisecontrol.sourceforge.net/
--- Andrew English [EMAIL PROTECTED]
wrote:
Is there anyway to check this theory?
Andrew
-Original Message-
From: Peter Crowther
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 11:22 AM
To: Tomcat Users List
Subject: RE:
After wasting time trying to configure mod_jk, I thought I'd just wipe
my mind free and just play dumb for a moment. If Apache can proxy
requests using mod_proxy, what is the benefit of using mod_jk as an
integration technique between httpd and tomcat, if integration is *not*
in-process, which
Vanessa,
Thanks for the resource. However, as I've been told, in-process/JNI
is/will be deprecated and isn't recommended with Tomcat 5.5 and Apache
2.x, and it appears that this particular configuration is trying to do
that. Perhaps I've heard wrong. But I guess the confusion underscores
the
77 matches
Mail list logo