Hi,
I'm running an embedded tomcat, so I don't have the server.xml file.
When I place a breakpoint in the selector loop though I find that the
value of selectorTimeout is 1000.
Regards,
Sebastiaan
Martin Gainty wrote:
curious what the value tcpSelectorTimeout is defines in
%TOMCAT_HOME%/con
I have a machine sitting in the DMZ with IIS 6.0 as the web server. I
am trying to redirect request to an internal server running Tomcat
sitting behind the firewall using isapi_redirect.dll
I have opened up port 8009 which is defined as the AJP1.3 connector in
the server.xml. 8009 has been opened
curious what the value tcpSelectorTimeout is defines in
%TOMCAT_HOME%/conf/server.xml
Bedankt/
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email
Murtuza
here is server.xml example from Tomcat 5.5 docs where test is name of db
user=testr and password=testr
HTH
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you h
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Murtuza,
> docBase="security"
You should specify neither the "path" nor the "docBase" attributes when
you are using a context.xml file. This is probably not the problem, but
could be causing some other problems.
The only thing I can think
below is my context.xml file. I can connect to the mysql database from a java
class with the same username/pass.
Martin Gainty wrote:
>
> Have you verified the mysql listener is listening?
> Have you verified the JDBCRealm is configured using the parameters which
> will allow you to co
Have you verified the mysql listener is listening?
Have you verified the JDBCRealm is configured using the parameters which
will allow you to connect?
If you are able to confirm both please post your JDBCRealm parameters here
Martin
This email message and any files transmitted with it contain c
-I am using mysql as database..
-I have mysql-connector-java-5.0.5 jdbc driver in my tomcat/lib directory
-I am using JDBCRealm for authentication
-On my windows machine it works fine
-when I deployed it on linux box it does't work
-I get the foloowing error message from my localhost log file
...
:) I liked this one
On 5/3/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Matthew Inger [mailto:[EMAIL PROTECTED]
> Subject: Deploying Default Webapp in Tomcat 6.0
>
> I've been trying to figure out how to deploy a .war file as
> the root webapp in Tomcat 6.0.10.
>
> Say I have a "
Try de dir where you compiled the files, where you did:
sh buildconf; ./configure and make
There is a directory .libs in there you will find the native library's copy
them to your $JAVA_HOME/jre/lib/i386/client
There should be 6 files:
libtcnative-1.a libtcnative-1.lai libtcnative-1.so.0
libtc
> From: Matthew Inger [mailto:[EMAIL PROTECTED]
> Subject: Deploying Default Webapp in Tomcat 6.0
>
> I've been trying to figure out how to deploy a .war file as
> the root webapp in Tomcat 6.0.10.
>
> Say I have a "foo.war" file, and create a
> conf/Catalina/localhost/foo.xml file with the
> f
I've been trying to figure out how to deploy a .war file as the root webapp in
Tomcat 6.0.10.
Say I have a "foo.war" file, and create a conf/Catalina/localhost/foo.xml file
with the
following contents:
I would expect (as in Tomcat 5), that the url: http://localhost:8080/ would be
routed to
On 5/3/07, Garner, Shawn <[EMAIL PROTECTED]> wrote:
We don't use a deployment script.
Not sure if we could, it's all secured and isolated.
Without the timestamp and the environment in the war name somebody could
deploy a war to the wrong environment or an old war.
Sounds to me like if it is
> From: Garner, Shawn [mailto:[EMAIL PROTECTED]
> Subject: RE: War with timestamp not using META-INF/context.xml path
>
> We don't use a deployment script.
> Not sure if we could, it's all secured and isolated.
If you do it by hand, you can do it with a script.
> Without the timestamp and the e
Sebbo the word you looking for is SYMMETRICAL encryption
I think Sun has an Class... cant remember.
Anyway have a look at things like DES... and the one I like IDEA.
You can read up on all that stuff and I'm pretty sure you will find java
implementations.
I did have this all coded a lon
We don't use a deployment script.
Not sure if we could, it's all secured and isolated.
Without the timestamp and the environment in the war name somebody could
deploy a war to the wrong environment or an old war.
Sounds to me like if it is easy enough to use the filename that you
could use the pa
Hi,
it will return 0 after the timeout has expired if there was no events.
most likely its not a bug in the JDK but in your linux kernel/distro
Well Ubuntu is pretty big, so I'd expect other people to have seen this
as well.
I have been able to reproduce a select busy loop in the JDK myself,
> From: Garner, Shawn [mailto:[EMAIL PROTECTED]
> Subject: RE: War with timestamp not using META-INF/context.xml path
>
> So there is no way to have the war tell the container what context to
> use other than the filename?
Correct, unless you manually place the element in server.xml,
which is s
So there is no way to have the war tell the container what context to
use other than the filename?
Shawn
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 03, 2007 2:23 PM
To: Tomcat Users List
Subject: RE: War with timestamp not using META-INF/c
> From: Garner, Shawn [mailto:[EMAIL PROTECTED]
> Subject: RE: War with timestamp not using META-INF/context.xml path
>
> The fourth bullet says this:
>
> -if the previous file was not found for this application, in an
> individual file at /META-INF/context.xml inside the application files
>
>
The fourth bullet says this:
-if the previous file was not found for this application, in an
individual file at /META-INF/context.xml inside the application files
Sure sounds like it should to me.
Shawn
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Thur
> From: Garner, Shawn [mailto:[EMAIL PROTECTED]
> Subject: War with timestamp not using META-INF/context.xml path
>
> path in the META-INF/context.xml of the war.
Neither the path nor the docBase attributes are allowed when the
element is in META-INF/context.xml. As the doc states, the
URI pat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sam,
[EMAIL PROTECTED] wrote:
> I saw, that I can get the password via the Principle: The Tomcat
> server has his own implementation of Principle: GenericPrinciple
> which holds all the stuff (pw, roles, etc).
Wow, Tomcat keeps the user's password ly
Hi,
the clusterSSO implementation is not ready:
- at normal shutdown from one application or a node all sessions are
expired.
clusterSSO is a normal session listener and context stop expires
all sessions.
- The sessionID rewrite from JvmRouteBinderValve are not coordinated
with clusterSS
Tomcat 5.5.17
JDK 1.5
I deployed a war through the online manager and it deployed it under the
filename instead of the
path in the META-INF/context.xml of the war.
So my war is mycontext-20070427-0946-sys.war
And my context.xml has path="/mycontext" in it but it deployed it under
mycont
I saw, that I can get the password via the Principle: The Tomcat server has his
own implementation of Principle: GenericPrinciple which holds all the stuff
(pw, roles, etc).
I know the problem with the changing of password, but thats not the main
probelm now ;-)
Does somebody know a good encry
it will return 0 after the timeout has expired if there was no events.
most likely its not a bug in the JDK but in your linux kernel/distro
so far I haven't seen the behavior you've explained.
Filip
Sebastiaan van Erk wrote:
Hi,
I have a problem that sometimes the NIO selector goes into a bus
Hi all,
The Apache Tomcat Native library was built from the untarred source
on /usr/local/apache-tomcat-5.5.23/bin/tomcat-native-1.1.6-src/jni/native using:
./configure --with-apr=/usr/local/apache2/bin/apr-config --with-ssl
--prefix=/usr/local/apr;make;make install
On startup the Tomcat logs show
I don't think the clusterSSO implementation ever really got finished. It
got submitted, but never completed.
At least that was my impression of it
Filip
Alejandro Fernandez wrote:
Hi, I am Alejandro from Argentina.
I am having an issue with tomcat 6.0.10 using clusters and single sign on,
wh
Hi,
I have a problem that sometimes the NIO selector goes into a busy wait loop.
In line 1430 the code of NIOEndpoint.java,
keyCount = selector.select(selectorTimeout);
select keeps returning 0 without waiting.
I'm running on the latest trunk version of tomcat 6, on
Hi Ashok,
On 5/3/07, Ashok Sahu <[EMAIL PROTECTED]> wrote:
Hi All,
I am migrating my J2EE application from JRun to Tomcat 5.0.28. I
deployed successfully the 'myAppname.war' file in Tomcat. Now here is my
problem:
In the JRun, we were calling the jsp or servlet without giving the
applicatio
Hi,
we are using Tomcat 5.5.20 with Apache 1.3.37 via mod_jk and Struts 1.1.
Furthermore we cache the reponses with OSCache 2.1.
>From time to time when building up the cache a SocketException occurs. In the
>Tomcat logs we can see that this Exception is wrapped in a
>ClientAbortException.
nsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__ NOD32 2236 (20070503) Information __
This message was checked by NOD32 antivirus system.
http://www.eset.com
Thanks for the extremely quick reply. :)
I'll check this out after work.
/Tommy
Caldarale, Charles R wrote:
>
>> From: tb323 [mailto:[EMAIL PROTECTED]
>> Subject: Tomcat context issue
>>
>> In server.xml I have this:
>>
>> > appBase="/home/tb323/projects/www/public_html/webapps"
>>
> From: Subscriber [mailto:[EMAIL PROTECTED]
> Subject: Re: Handling SSL Client Auth abort
>
> ...unfortunately I never get that far where I can catch the
> exception.
> The exception is thrown within Tomcat and in my application code.
(I'll assume there's a rather critical "not" missing from
> From: tb323 [mailto:[EMAIL PROTECTED]
> Subject: Tomcat context issue
>
> In server.xml I have this:
>
> appBase="/home/tb323/projects/www/public_html/webapps"
> unpackWARs="true" autoDeploy="true"
> xmlValidation="false" xmlNamespaceAware="false">
>
> This way I want
Praveen Balaji wrote:
Thanks Sebastiaan. I came to about the same conclusions
as you listed out here. I also saw your post on parsing POST parameters and I
think
it's going to create problems for me as well!
I am unsure the API would be "improved". I
simply think, as Filip pointed out ear
in the event of failed login you can throw AuthenticationException
This is a comprehensive example is for SunOne you can use the bits you need
http://java.sun.com/developer/technicalArticles/WebServices/appserv8-1.html
M--
This email message and any files transmitted with it contain confidential
i
Hi there!
This is probably a dumb question if you're not a newbie like me. I just
installed Tomcat 6.0.10 on Ubuntu Feisty and I'm having some problems
configuring it.
I'm attempting to move the appBase into a directory under my public_html.
In server.xml I have this:
This way I want to be a
$CATALINA_HOME/conf/server.xml
reboot server and server will now auto deploy any war in
$CATALINA_HOME/webapps folder
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have
Hi there!
I have a VPS (Virtual private server) and I want to install Tomcat, this is
my first time, from this which one should i go with!
I'm confused!
* Core:
o zip (pgp, md5)
o tar.gz (pgp, md5)
* Deployer: //im thinking for going with this but im not sure
o zip (pgp, md5)
o tar.gz (pgp, md5
Hi guys,
When a client cancels a SSL Client Auth request, Tomcat ends the request
and it's not possible to "catch" this error - Does anybody have a
solution to this problem?
Regards,
kews
-
To start a new topic, e-mail: user
Hi,
I am working on a scenario with browsers as clients.
The client does requests with JavaScript code like this:
req = new XMLHttpRequest();
req.onreadystatechange = handler;
req.open("post",
"/somecontext/somecometservlet/somerequest?param1=val1¶m2=val2" );
req.send(null);
We intenti
> -Original Message-
> From: Rémy Maucherat [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 02, 2007 11:13 PM
> On 5/2/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
> > It's a race condition and the problem occurs quite infrequently
> > (especially with small request bodies). The l
We have recently migrated to this platform and have had smooth success
with a SUN 64-bit JRE (version 1.5.0_10)
We are using a pre-compiled Tomcat binary (5.5.23, Tomcat5.exe and
Tomcat5w.exe) and tc-native.dll (APR) which can be found at
http://svn.apache.org/viewvc/tomcat/connectors/tags/tc5.5.x
> -Original Message-
> From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
> > Wouldn't every application which isn't as dumb as the chat example
> > (which does not care about the content it reads but simply passes it
> > back to it's clients) need to implement it's own mechanism to
46 matches
Mail list logo