I know I was making a point about privileged...
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 8:31 PM
To: Tomcat Users List
Subject: RE: Testing DataSourceRealms
> From: Alex Jalali [mailto:[EMAIL PROTECTED]
> Subject: RE: Testing D
> From: Alex Jalali [mailto:[EMAIL PROTECTED]
> Subject: RE: Testing DataSourceRealms
>
> Also I don't know if you already have this... But in your
> context should have privileged true...
>
>
It's not , it's - case matters. Likewise, the file
name in META-INF must be context.xml, not Conte
Also I don't know if you already have this... But in your context should
have privileged true...
-Original Message-
From: James Reynolds [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 7:16 PM
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Testing DataSourceRealms
res
Ok I got it... In the web.xml you need this reference
MyFooRealm
And in your realm you need to give it an app name.
-Original Message-
From: James Reynolds [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 7:16 PM
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Testing Da
response inline...
-Original Message-
From: Alex Jalali [mailto:[EMAIL PROTECTED]
Sent: Fri 3/3/2006 4:09 PM
To: Tomcat Users List
Subject: Re: Testing DataSourceRealms
>
> I'm working on setting up BASIC authentication using container managed
> security in Tomcat 5.5.15. However, It's
> >
> >
> >>Hi all
> >>
> >>I'm having problems starting Tomcat after my home account (in which
> >>Tomcat is installed) was moved from one server to another.
> >>
> >>The most visible thing that has changed is that my home directory now
> >>has a different path. Before the move, my installation
if you have 2 webapps, and each requires this .dll file, BUT..
you are not sure which one, or if BOTH will be in your webapps dir, then
how can you ensure that your loadlibrary call is done once
The issue is that we are deploying tomcat and 1 or 2 webapps to a client.
It is client specific as to h
Thanks. I tried that with no luck either. Does anyone have an example of a
working connector configuration from server.xml?
Paul
Wasik, Paul wrote:
> Does anyone know if the ciphers attribute in tomcat server.xml connector
> works, and if so what the correct syntax is for this? I have tri
>
> I'm working on setting up BASIC authentication using container managed
> security in Tomcat 5.5.15. However, It's not working so now I'm
> wondering if my set up is wrong. The JNDI DataSource definitely works,
> I'm not so sure about the realm. Is there another way to test it?
> Would you mi
I'm working on setting up BASIC authentication using container managed
security in Tomcat 5.5.15. However, It's not working so now I'm
wondering if my set up is wrong. The JNDI DataSource definitely works,
I'm not so sure about the realm. Is there another way to test it?
Would you mind looking
Wasik, Paul wrote:
> Does anyone know if the ciphers attribute in tomcat server.xml connector
> works, and if so what the correct syntax is for this? I have tried
> almost everything with no joy. I want to limit to use of only strong
> ciphers for SSL connections. I am using Tomcat 5.5.9.
The ciph
case "$1" in
start)
#
# Start Tomcat
#
$DAEMON_HOME/jsvc \
-user $TOMCAT_USER \
-home $JAVA_HOME \
-Dcatalina.home=$CATALINA_HOME \
#-Dcatalina.base=$CATALINA_BASE \
^
Remove the comment ("#") or remove the entire line.
That is it! Thank you!
P
If I understand you correctly, then you need to set this property of context
Hi all,
>
> I'm currently using Tomcat 5.0.28 On Linux.
> I have a webapps which is myfirstwebapp
> It is under $CATALINA_BASE/webapps.
>
> When i use a web browser using http://localhost:8080/myfirstwebapp, it
> works
Hi,
Does anyone know if the ciphers attribute in tomcat server.xml connector
works, and if so what the correct syntax is for this? I have tried
almost everything with no joy. I want to limit to use of only strong
ciphers for SSL connections. I am using Tomcat 5.5.9.
Thanks,
Paul
Peiran Song wrote:
> When I tried to start up the Tomcat by:
>
> /etc/init.d/tomcat start
> Got:
>
> 03/03/2006 11:58:21 13126 jsvc error: No class specified
> 03/03/2006 11:58:21 13126 jsvc error: Cannot parse command line arguments
> /etc/init.d/tomcat: -Djava.io.tmpdir=/tmp: no
Hi all,
I'm currently using Tomcat 5.0.28 On Linux.
I have a webapps which is myfirstwebapp
It is under $CATALINA_BASE/webapps.
When i use a web browser using http://localhost:8080/myfirstwebapp, it works
fine.
What i want to do is to change the URL to http://localhost:8080/myappwithout
changing
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Help with jsp login/logout pages.
>
> Can anyone help me with jsp pages or servlets which deal with
> login and logout?
That's an extremely vague request, not likely to generate many responses
other than RTFM:
http://tomcat.apache.
Hi All,
I have Tomcat 5.5.15 installed on a UNIX machine. Installed jsvc,
customized the Tomcat5.sh start/stop script and symlinked
/etc/init.d/tomcat to that script.
When I tried to start up the Tomcat by:
/etc/init.d/tomcat start
Got:
03/03/2006 11:58:21 13126 jsvc error:
Can anyone help me with jsp pages or servlets which deal with login and
logout?
Appreciate any help.
LOL! I can't wait to feel stupid! Ironically, I just returned from the
mall book store where I was hunting down some information. I did see
that book, but I was wasting time in some older Tomcat books. Looks
like I'm going back.
Thanks for the Tip!
-Original Message-
From: Frank W. Za
Thanks, that worked.
Caldarale, Charles R wrote:
From: Evan Kirkconnell <[EMAIL PROTECTED]>
Subject:Re: DefaultContext problems
So, has anyone ever gotten to work?
You don't bother to mention what Tomcat level you're using, but for
5.5.x, there is no tag. The doc a
I am running Tomcat 5.0.25, and I encounter an odd
error after placing a WAR file in
%CATALINA_BASE%/webapps/ and starting Tomcat.
Good news:
the WAR is expanded correctly
Bad news:
When I try to access the application context
through the Admin console, then I get
"HTTP Status 500 - Err
The best book I've seen that discusses this is Head First Servlets & JSP
(ISBN 0-596-00540-7). Overall it's a pretty good book, but the section on
CMS was especially concise and easy to understand... my experience, since
I learned it myself and then had to teach a number of other people, is
that C
Dave wrote:
> Web application using JBoss 4.0.3SP1 and servlets.
> I am using FORM authentication. Can username be UTF-8?
> I create an account, its username is in UTF-8 encoding, chinese characters.
> But login was not successful. Can JBoss built-in authentication handle UTF-8
> encoding for u
I'm just starting out with Container Managed Security with Shale/JSF and
Tomcat 5.1.15. I've successfully created a JNDI DataSource and a Realm,
now I want to define form based authentication and security constraints
in my web.xml.
I began my study with the J2EE 1.4 Tutorial,
but most of that i
> From: Evan Kirkconnell <[EMAIL PROTECTED]>
> Subject:Re: DefaultContext problems
> So, has anyone ever gotten to work?
You don't bother to mention what Tomcat level you're using, but for
5.5.x, there is no tag. The doc at:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
So, has anyone ever gotten to work? I've read about a
lot of people not getting it to work in various forums, but I've never
heard a success story.
--Evan
Evan Kirkconnell wrote:
Hello all,
I've been struggling to setup a datasource that is accessible from all
my webapps. As I understand i
Hi,
Thanks for your help. It brought me one step further but did not yet
solve the problem! It looks like the context.xml is mandatory. I moved
the configuration from the server.xml to the context.xml. The error
message changed as follows:
org.apache.jasper.JasperException: Unable to get con
Wow, all I have to say is thanks so much for all the great input in helping
me solve this issue. Everything works beautifully now. Also, the
deployXML="true" was what I was missing.
Thanks to all,
-Lucas
-Original Message-
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED]
Sent: Thursda
Mike,
Thank you for your response. I have tried to place my shared object
files into /usr/local/lib which is in the LD_LIBRARY_PATH environment
variable for my tomcat config.
When I place my class files in $CATALINA_BASE/common/classes, the
function works correctly ( library is found ), but only
hi list,
this is a test.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I "think" that this can be done with the environment variable
"LD_LIBRARY_PATH" which will point to your C object file.
This is an uneducated guess, but worth a try.
Mike
Shannon Scott wrote:
Greetings,
I have been trying to use some Native C code in one of my applications.
I have it working,
depends on your cluster configuration, if you are using sync or async
async, there is a good chance that the session hasn't been replicated
yet, hence it requires sticky LB.
sync means that the request shouldn't complete until the replication is
complete
Filip
Ronald Klop wrote:
Hello,
I'v
I stand corrected: the full log is given below. There seems to be
SAXParseExceptions, but I can't tell which file might be to blame.
03-Mar-2006 16:37:40 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
03-Mar-2006 16:37:41 org.apache.coyote.http11.Htt
Are you sure there are not other error message before?
This error means you can't start the userdatabase realm because the
realm doesn't find it's datasource (named 'UserDatabase') . Eaither you
didn't configure the datasource your userdatabase realm has to use,
either it is configured but not sta
Hi,
do you have the tomcat-users.xml file in the $CATALINA_HOME/conf
directory? The user database I think is the file storing user names,
roles and their passwords...
Hope it helps
PETR
On 3/3/06, C Rose <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I'm having problems starting Tomcat after my home
good to know. Should go in the FAQ that one!
I guess instead I should mail.jar and activation.jar instead as needed.
Cheers
R
Caldarale, Charles R wrote:
From: Rakesh Patel [mailto:[EMAIL PROTECTED]
Subject: Re: Quick question
well i copied mail.jar, j2ee.jar and commons-logging.jar to the
Hi,
I'm not using Sybase under Tomcat; I have PostgreSQL...
Eclipse? My configuration is, Eclipse does not modify Tomcat
configuration (this is the default)
In your WebContent under META-INF create context.xml with the
definition. The element does not require
any attributes:
And finaly,
Hi all
I'm having problems starting Tomcat after my home account (in which
Tomcat is installed) was moved from one server to another.
The most visible thing that has changed is that my home directory now
has a different path. Before the move, my installation of Tomcat worked
fine. Now it won
> From: Rakesh Patel [mailto:[EMAIL PROTECTED]
> Subject: Re: Quick question
>
> well i copied mail.jar, j2ee.jar and commons-logging.jar to the
> shared/lib directory.
You must never, never, never expose j2ee.jar to a Tomcat environment.
It contains duplicate classes that are already present i
I try to configure a JDBC DataSource for my Adaptive Server Anywhere 9
database. Unfortunately without any success so far!
I use Tomcat 5.5.18.
The error is well known and looks as follows:
org.apache.jasper.JasperException: Unable to get connection, DataSource
invalid: "org.apache.tomcat.dbcp
Hi,
well i copied mail.jar, j2ee.jar and commons-logging.jar to the
shared/lib directory.
On deployment i get this error:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@18d9850 for
o
Thanks to all!
-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 02, 2006 7:49 PM
To: Tomcat Users List
Subject: Re: DataSourceRealm Configuration Question (5.5.15)
As other's have noted, both. The difference is that "in the context"
wil
hello everyone,
i would like to know if i can exclude some file extensions (for
example: *.gif or *.css ...) in my access logging using Valve Logger
i have read the Apache documentation situated here :
http://tomcat.apache.org/tomcat-5.0-doc/config/valve.html
and in the "Attributes" part i foun
I thought i'd start with a clean install of Tomcat and my latest war and
then take it step-by-step.
The error I am getting on deployment first time round is this:
org.apache.commons.logging.LogConfigurationException:
java.lang.NoClassDefFoundError: javax/activation/DataSource (Caused by
java
Good Morning Dave-
As more applications become localised which actually means 'internationalised'
we will have to pay attention to character sets supporting DBCS character-sets
Please keep me apprised,
Martin-
- Original Message -
From: "Dave" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Hi,
or generate text file using response.getWriter().println() and connect
using telnet this way:
GET http://localhost:8080/context_path/servlet_path HTTP/1.1
HOST localhost:8080
And you will see headers sent by Tomcat
This works for me (specially the `chuncked' encoding)
PETR
On 3/3/06, Coro
Greetings,
I have been trying to use some Native C code in one of my applications.
I have it working, but after it runs once it fails.
The release-notes mention that:
"To avoid this problem, place classes that load native libraries outside
of the web application, and ensure that the loadLibrary()
There is a maximum to the number of http connection tomcat can server at
the same time. This is the maximum number of http threads tomcat is
allowed to create. This is configured in the http connecter. See
documentation there:
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
Default value i
I have Tomcat 5.5 and I have 5 webapps totaling 50 possible max connections.
Tomcat is being used to facilitate a QAD product called Desktop. I need to
expand on of my webapps to 50 users (currently 15). I cannot get it to do
this. I am wondering if I am hitting a webapp limit, a tomcat limit
Yes, use shared/lib, common/lib is for classes that need to be
accessible by webapps and by catalina.
see http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html for
details
David Kerber a écrit :
> I thought it was .../shared/lib... ?
>
>
>
> Alex Jalali wrote:
>
>> You would have to a
Hello COURTAULT,
Friday, March 3, 2006, 1:47:19 PM, you wrote:
CF> Hello,
CF> Do you know if these options are supported by Tomcat 5.x ?
CF> Regards.
Of course
If 4.x support this feature, then 5.x supports one
in 4.1.31 see
DefaultHeaders.java
HttpRequestStream.java
HttpResponseStream.java.
I thought it was .../shared/lib... ?
Alex Jalali wrote:
You would have to add those to the ../WEB-INF/lib/
In this case for javax.mail.* you would need to downlaod the java mail API
and put the mail.jar under that folder. Any package that you place in that
folder will be added to your class
Hello,
Do you know if these options are supported by Tomcat 5.x ?
Regards.
I think port 8005 is the one used for triggering a shutdown, its right
at the start of server.xml
On 3/3/06, Hadraba Petr <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I saw this error yesterday. I tried to run second instance of the Tomcat.
>
> First tomcat was configured to use port 8080 and redirect p
Hi,
I saw this error yesterday. I tried to run second instance of the Tomcat.
First tomcat was configured to use port 8080 and redirect port 8443
The second instance was configured to port 9080 and redirect 9443
When I tried to start the new instance, the error about port 8005
occured... In the
Hello,
I've the feeling that Tomcat doesn't replicate the session if I end the request
with a response.sendRedirect(...). Can this be true? Or is it possible the
sendRedirect is too fast, so the session isn't replicated yet.
I don't have enough knowledge of the Tomcat source, to find this out
Hi,
It seems that there're other application that are using 8005 as port on ur
server as well.
fooshyn
- Original Message -
From: "Devireddy, Nagendra Reddy (STSD)" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Friday, March 03, 2006 5:40 PM
Subject: Tomcat 5.X dies after some time
Hi,
Tomcat 5.X is dieing after some time throwing the following error ..
Can some one please help me ..
INFO: Server startup in 22840 ms
StandardServer.await: create[8005]: java.net.BindException: Address
already in use
java.net.BindException: Address already in use
at java.net.PlainSocket
Kaspar von Gunten ha scritto:
Hi there
We use Tomcat in our own products and would like to make a donation. Is
this even possible, since the website doesn't state any means to do so?
Keep up the good work,
K. von Gunten
we used http://www.apache.org/foundation/contributing.html#Paypal
I hope
Hi there
We use Tomcat in our own products and would like to make a donation. Is
this even possible, since the website doesn't state any means to do so?
Keep up the good work,
K. von Gunten
-
To unsubscribe, e-mail: [EMAIL PROT
many thanks, it works beautifully now.
what i did
1. META-INF/context.xml
reloadable="true">
prefix="Gallery." suffix=".log" timestamp="true"/>
type="javax.sql.DataSource"
driverClassName="org.gjt.mm.mysql.Driver"
url="jdbc:mysql://localhost/jidienadmin?
62 matches
Mail list logo