Hello Tomcat,
I am trying to return an XML with content-type "text/xml"
Without any charset specified in header.
I set <[EMAIL PROTECTED] contentType="text/xml"%> in my jsp, expecting header
Content-Type: text/xml
But despite the page directive given I have header
Content-Type: text/xml;charset=
if the Realm element can reside inside the elements in the root.xml
(specifically the Context element) then yes.
you can check this in the server.xml configuration docs on the tomcat website.
-Original Message-
From: Ittay Dror [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 30, 2005 7:
Guy Katz wrote:
tomcat website has a server configuration link and it states for every element
in the server.xml which sub elements are possible. along with knowledge of JAAS
you have to acuire alone and the JAAS Realm configuration link you have been
given, i would say you are set.
can i
tomcat website has a server configuration link and it states for every element
in the server.xml which sub elements are possible. along with knowledge of JAAS
you have to acuire alone and the JAAS Realm configuration link you have been
given, i would say you are set.
-Original Message-
Thanks David, I will give this a try.
Rob
- Original Message -
From: "David Smith" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, August 29, 2005 6:16 PM
Subject: Re: Getting LOGON_USER from the header
By default, tomcat ignores the REMOTE_USER header from Apache or IIS in
Brian Moseley wrote:
i've been trying to get my webapp working in tomcat 5.5.9, and i'm
running into a problem using spring's JndiObjectFactoryBean to access a
tomcat naming resource.
nevermind! i didn't rtfm and so did not realize that 5.5 does not use
. all is well. hope somebody learns fro
i've been trying to get my webapp working in tomcat 5.5.9, and i'm
running into a problem using spring's JndiObjectFactoryBean to access a
tomcat naming resource.
i'm getting a BeanCreationException with this message: Error creating
bean with name 'jcrRepository' defined in class path resource
We have a JSP/servlet combo that uses the OReilly MultiPartRequest to
upload a users HTML template for our application. Invariably they end up
with some unusual characters in their template - sometimes from pasting in
text from MS Word or other similar application.
For some reason a single charact
By default, tomcat ignores the REMOTE_USER header from Apache or IIS in
favor if it's own authentication. To get tomcat to accept the IIS
authentication info, add this attribute to the element in
server.xml:
tomcatAuthentication="false"
--David
Robert Jose wrote:
Thanks for the response
mod_jk 1.2.14:
List of workers, attributes and defaults. ajp14 is not included.
global:
- worker.maintain (60)
[and some obvious others]
all workers:
- type (ajp13)
ajp12:
- host (localhost)
- port (8007)
ajp13:
- host (localhost)
- port (8009)
- connection_pool_size (1) [aka "cachesize" w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
- From what I understand there are two queues in Tomcat, and incoming
queue and an execution queue. It appears tomcat is rejecting some
clients when too many people try to hit my server at one time. During
this time the cpu utilization was about 80%-95
This may come under the category of first time user usability testing.
- I installed Tomcat on my box and it runs fine.
- The admin webapp is in a separate download so one
can safely install it (proper)
BUT :)
From my naive user (and valuable in usability testing) POV I don't know
the "pro
Thanks for the response Gurumoorthy, but I get null for a result.
Rob J.
- Original Message -
From: "Gurumoorthy" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, August 29, 2005 2:40 PM
Subject: Re: Getting LOGON_USER from the header
request.getRemoteUser()
- Original
request.getRemoteUser()
- Original Message -
From: "Robert Jose" <[EMAIL PROTECTED]>
To: "Tomcat User"
Sent: Monday, August 29, 2005 10:44 PM
Subject: Getting LOGON_USER from the header
Hello
I have configured IIS 5.1 to redirect all jsp files to Tomcat 5.5 using the
isapi redirect d
Hello
I have configured IIS 5.1 to redirect all jsp files to Tomcat 5.5 using the
isapi redirect dll. This seems to be working well and configured correctly.
Now I am trying to get the LOGON_USER from the header. I want the windows id
of the user that is hitting my web page. I am developing
We are experiencing a strange problem that we can't seem to figure out.
We have a Struts web app running on Tomcat 5.0.28/Apache web server. All the
computers of a particular client are getting a "Page cannot be displayed"
error when they click a certain button. They can then go home and access it
Hello,
Tomcat takes long time to shut down, it takes about a minute from the
shut down command until it terminates with an error in catalina.out.
Apache should have nothing to do with it.
Tomcat version: jakarta-tomcat-4.1.27
Server version: Apache/2.0.46 with mod_jk2
OS RHE Linux 2.4.21-32.0.1
From: "Ittay Dror" <[EMAIL PROTECTED]>
btw, i also need authentication vs an ldap server
I recently got JAASRealm and Sun's Krb5LoginModule (Kerberos Authentication)
to work for the JSP examples that ship with Tomcat... this may save you some
pain:
http://wiki.wsmoak.net/cgi-bin/wiki.pl?
Have you read anything here?
http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html
/robert
Ittay Dror wrote:
Robert Taylor wrote:
I used the following link:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm
doesn't contain wheth
btw, i also need authentication vs an ldap server
thanx,
ittay
Ittay Dror wrote:
Robert Taylor wrote:
I used the following link:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm
doesn't contain whether i can put 'Realm' in ROOT.xml
doesn't say anything about
Robert Taylor wrote:
I used the following link:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm
doesn't contain whether i can put 'Realm' in ROOT.xml
doesn't say anything about where to get a LoginModule implementation, or how to
config jaas.config.
It tooks
I used the following link:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm
It tooks some research, but I finally got it to work.
/robert
Ittay Dror wrote:
Hi,
I haven't found anywhere a step-by-step instructions or reference code
on how to set up jaas. Please hel
Hi,
I haven't found anywhere a step-by-step instructions or reference code on how
to set up jaas. Please help me with this as I'm very much lost.
What I need:
- authentication vs a DB
- a ROOT webapp
- tomcat 5.5
- where to put the 'Realm' element (can it be in
conf/Catalina/localhost/ROOT.xm
Hi,
I have an application that is the only application running on a given
tomcat instance (there are multiple tomcat instances on the same box).
The application has been running for weeks, but the code has not been
changed for weeks. Suddenly, Friday afternoon the application began
failing as s
i have this in my ${CATALINA_HOME}/webapps/ROOT/WEB-INF/web.xml:
FORM
qrm
/login/login.do?type=attempt
/login/login.do?type=error
and this in ${CATALINA_HOME}/conf/Catalina/localhost/ROOT.xml:
The database is up and contai
I have updated a site from tomcat 4 to tomcat 5 and my link that used to
redirect to a secure site now fails. I see the webpage tying to connect
with my internal IP address instead of the external URL that the request
came in one. If I connect to https://www.x.com and hit the link to the
secure
I am testing a load balancing configuration with Tomcat and IIS using the
isapi_redirector. My configuration works if I have a single worker defined
in my workers.properties file but it fails if I try to add a second worker
(ie, I change the balance_workers entry near the bottom of the file to the
On Monday 29 Aug 2005 16:25, Marc-Andre Blain wrote:
> Than, did you try putting only jdbc/family_tree.
>
> The java:comp/env should be the default.
Yes - then it failed saying it could not find jdbc
So I thought Ah! - and renamed the resource just family_tree. But then it
didn't actually find
Software
Tomcat 5.5.2
JDK 1.5
I have created a webapplication named b
It works perfectly fine including the realm declared
inside the context.xml file in META-INF folder
THen I created war by using
C:\webapps\b>jar cvf c.war *.*
Later I copied c.war in the webapps folder and started
T
My web application uses tomcat 5.5.10. By using basic authentication,
the application works fine.
By using the form based authentication, if I submit a invalidate
username/password, appication seems worked, a error.jsp was showed up.
But if I submit a valid username/password, I got a "HTTP Status
Hi,
I have a fairly large application I'm trying to port from jboss to tomcat.
I've turned on debug logging with log4j (the contents at the end of this mail).
In the log, I see the following:
2005-08-29 19:01:27,106 DEBUG [WebappClassLoader] (main:) Loading class
from local repository
2005
Hi all,
recently I stumbled over the mod_jk statusworker feature coming with
recent mod_jk versions and, of course, I immediately wanted to have
such neat thing :-)
Up to that time, I didn't saw an imperative need to have balanced wor-
kers (Apache+Tomcat on the same machine; one single ajp13 typ
Than, did you try putting only jdbc/family_tree.
The java:comp/env should be the default.
-Original Message-
From: Alan Chandler [mailto:[EMAIL PROTECTED]
Sent: Monday, August 29, 2005 11:22 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: Really struggling with DataSource'd Realm
O
On Monday 29 Aug 2005 16:16, Marc-Andre Blain wrote:
> Hello Alan,
>
> try removing the / in your jndi name
>
> java:comp/env/jdbc/family_tree.
Already tried that combination - this is the result - see how the name its
looking for is just "java:"
Exception performing authentication
j
Hello Alan,
try removing the / in your jndi name
java:comp/env/jdbc/family_tree.
Thanks !
-Original Message-
From: Alan Chandler [mailto:[EMAIL PROTECTED]
Sent: Monday, August 29, 2005 10:57 AM
To: tomcat-user@jakarta.apache.org
Subject: Really struggling with DataSource
I am try to to use FORM based authorisation to control access to part of my
database application. Consequently I have added the users and user_role
tables to my database which is already been set up as
java:/comp/env/jdbc/family_tree.
I then created a Realm which refers to it.
As per the d
> From: Alan Chandler [mailto:[EMAIL PROTECTED]
> Subject: Re: Where can I find specs for ALL the xml tags that
> can be used in server.xml.
>
> Unfortunately, it still doesn't specify what the
> auth="Container" attribute means.
This is pretty clear to me:
"Specify whether the web Applicatio
On Monday 29 Aug 2005 14:55, Caldarale, Charles R wrote:
> > From: Alan Chandler [mailto:[EMAIL PROTECTED]
> > Subject: Re: Where can I find specs for ALL the xml tags that
> > can be used in server.xml.
> Then you certainly should be looking at the 4.1 docs, since 5.5
> configuration is noticeabl
> From: Alan Chandler [mailto:[EMAIL PROTECTED]
> Subject: Re: Where can I find specs for ALL the xml tags that
> can be used in server.xml.
>
> I must admin not really searching 5.5 docs, because I am
> using 4.1, but I can't find the tag described
> aywhere.
Then you certainly should be loo
Hm, so it should work, i got an actual version.
I found out something new:
When i open one of these jsp-sites on my server, it works fine. If i open
additional jsp-sites, tomcat goes down and i have to restart it. The log of
the site gives this outpuot:
StandardWrapperValve[jsp]: Servlet.service(
Franklin Phan wrote:
I have found the solution.
Cool. :-)
What threw me off in the first place was the poor API documentation for
HttpSessionBindingListener interface. It says for valueUnbound:
"Notifies the object that it is being unbound from a session and
identifies the session."
It g
I am totally failing to get form based security to work.
One thing that is bugging me is that under the tag in
the web.xml file there is the tag.
What should this be?
For the standard Realm provided by tomcat, it seems to have a name of
"UserDatabase", but if I want to use my own database ho
Tomcat will handle them just fine with the current releases.
With the current versions of Tomcat, unless you are doing something special
that requires a feature of Apache that is not in Tomcat, you can host
multiple sites just fine. If load is an issue, take a look a the clustering.
Otherwise
On Monday 29 Aug 2005 06:03, Anto Paul wrote:
> On 8/29/05, Alan Chandler <[EMAIL PROTECTED]> wrote:
> > Where can I find specs for all the tags in server.xml
>
> I use these pages. it explains the elements used in the server.xml.
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/index.html
Because im running normal HTML sites, too. I need another solution, if even
possible...
> --- Ursprüngliche Nachricht ---
> Von: "Parsons Technical Services" <[EMAIL PROTECTED]>
> An: "Tomcat Users List"
> Betreff: Re: Got trouble with virtual hosts
> Datum: Mon, 29 Aug 2005 07:41:50 -0400
>
>
Unless there is another reason, why not drop Apache and run only Tomcat? It
can handle the virtual hosts just fine.
This would simplify the setup considerably.
Doug
- Original Message -
From: ""rueh hänä"" <[EMAIL PROTECTED]>
To:
Sent: Monday, August 29, 2005 6:58 AM
Subject: Got t
Hi,
> The setCharacterEncoding() must be called on the request before any
> getParameter() method is invoked on it. There may be some filters that
> is processing the request in the filter chain before the setCharacter
> encoding filter.
Yeah, I think this was the problem with the RequestDumperVa
Hi there
I dont know, what term to search for.. so excuse me, if there is already a
similar problem
I'm running a Webserver on Fedora Core 4
- Apache 2.0.54
- tomcat5-5.0.30-5jpp_6fc
I want to run about 13 Websites (html and jsp) over one virtual host. So i
defined NameVirtualHost 192.168.0.170
The setCharacterEncoding() must be called on the request before any
getParameter() method is invoked on it. There may be some filters that
is processing the request in the filter chain before the setCharacter
encoding filter.
Also what is the character encoding used by the OS ?.
URIEncoding metho
Hi,
> > I am having problems with Scandinavian characters on my system and am
> > attempting to isolate the problem; any help would be greatly
> > appreciated.
>
> This is what I did to work with Tomcat.
>
> a, Set up Tomcat first: To support UTF encoded data send as part of
> URI one has to se
Hassan,
I have found the solution. I think that a big part of what you were saying was something that I was already doing but neglected to mention (i.e., having a line of code in the JSP to bind the
listener object to the session using setAttribute).
Your commenting out my two lines of code d
Just a guess:
Check the format of the .jsp-files. I had similar problems and solved
them by converting the jsp-files to UTF-8.
- Manfred
Richard Jones wrote:
Hi All,
I am having problems with Scandinavian characters on my system and am
attempting to isolate the problem; any help would be g
On 8/29/05, Richard Jones <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am having problems with Scandinavian characters on my system and am
> attempting to isolate the problem; any help would be greatly
> appreciated.
This is what I did to work with Tomcat.
a, Set up Tomcat first: To support UTF e
Hi All,
I am having problems with Scandinavian characters on my system and am
attempting to isolate the problem; any help would be greatly
appreciated.
The problem manifests when forms are posted containing Scandinavian
characters. In some cases these characters are de/encoded correctly and
in o
Hi All,
I am having problems with Scandinavian characters on my system and am
attempting to isolate the problem; any help would be greatly
appreciated.
The problem manifests when forms are posted containing Scandinavian
characters. In some cases these characters are de/encoded correctly and
in o
55 matches
Mail list logo