> From: Jay M [mailto:vija...@eossys.com]
> Subject: Re: problem with tomcat-native 1.1.14 and tomcat 6
>
> Do you have any idea about highlighted message showing up given in
> previous post while trying to install tomcat-native-1.1.14.
Not sure what you highlighted in a plain text message, but I
Hi Chris,
I have done all those configuration in my server.xml and it given below,
Do you have any idea about highlighted message showing up given in previous
post while trying to install tomcat-native-1.1.14.
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED M
Tomcat 6.0.18 automatically adds the session cookie like:
Set-Cookie: JSESSIONID=6D839FF3B960947CC6FD41B98CD02E0D; Path=/thredds
How can I change the path part of the cookie?
thanks...
-
To unsubscribe, e-mail: users-unsubscr
> This is where my inexperience in tomcat will shine through.
>
> Scrapped all xxx.test.com sub-d's and went with test.com/[company id]
> as the
> way to go. It prevented me from having to edit the server.xml file and
> restart tomcat each and everytime that a company is added / subtracted.
> You
Thank you for the clarification Mark.
> Depending on where the session is created, you might be able to use a
> filter to wrap your response and modify the secure attribute of any
> cookies as they are added to the response.
I am sorry to bother you but I don't see how I could wrap the class
o.a.
Yes that was it, the message threw me off a bit since when I read to mean
that
the initialSize that I setup was larger, instead of the initialSize set by
the default (which is 10) was larger.
Thanks,
Roger
Filip Hanik - Dev Lists wrote:
>
> most likely because you mispeled initialSize
>
> F
Cyrille Le Clerc wrote:
> Thanks very much for the time you spend on my problem Christopher.
>
> I use two connectors : one with secure=true and scheme=http ; another
> with secured=true, scheme=https.
>
>> What is the requirement that scheme=http? You can actually use a
>> (non-secure) HTTP conn
> From: ma...@apache.org
> Subject: RE: dbcp pool evictor deadlock?
> Like a number of classes, PoolableConnection extends
> AbandonedTrace so this isn't entirely unexpected.
I really shouldn't be looking at code with a splitting headache...
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTI
Thanks very much for the time you spend on my problem Christopher.
I use two connectors : one with secure=true and scheme=http ; another
with secured=true, scheme=https.
> What is the requirement that scheme=http? You can actually use a
> (non-secure) HTTP connector and still set scheme=https. Do
//your $APACHE_HOME/conf/httpd.conf must redirect all port 80 Traffic to https
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
//of course you will need mod_ssl to be installed and configured (documentation
available at)
http://www.modssl.org
hth
M
Eric B. wrote:
>> "Caldarale, Charles R" wrote in message
>> news:0aae5ab84b013e45a7b61cb66943c172294795f...@usea-exch7.na.uis.unisys.com...
>>> From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B.
>>> Subject: dbcp pool evictor deadlock?
>>>
>>> THREAD 1:
>>> Name: Timer-1
>>> State: BLOC
>
> "Caldarale, Charles R" wrote in message
> news:0aae5ab84b013e45a7b61cb66943c172294795f...@usea-exch7.na.uis.unisys.com...
> > From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B.
> > Subject: dbcp pool evictor deadlock?
> >
> > THREAD 1:
> > Name: Timer-1
> > State: BLOCKED on
> > org.
> > I ran into the most troublesome deadlock over the weekend
> > on my server
>
> Always start by telling us what version of Tomcat (and therefore which
> commons-dbcp) you're using. It's likely commons-dbcp 1.2.2 since that's
> been out for a while, but the exact version may be critical.
Sor
most likely because you mispeled initialSize
Filip
rogerhb wrote:
Using the 1.0.4 version of the tomcat jdbc pool, I defined two resources. It
seems that the there is interaction between the two resource defined within
the jdbc pool. Upon initialization the following item is logged:
Jun 22,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Cyrille,
On 6/22/2009 3:50 PM, Cyrille Le Clerc wrote:
> My need is the opposite : I want to have request.secure=true but
> request.scheme=http.
What is the requirement that scheme=http? You can actually use a
(non-secure) HTTP connector and still se
> From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B.
> Subject: dbcp pool evictor deadlock?
>
> THREAD 1:
> Name: Timer-1
> State: BLOCKED on
> org.apache.tomcat.dbcp.dbcp.poolableconnect...@1e667871
> owned by: scheduling.QuartzInternal_Worker-0
> Total blocked: 1 Total waited: 15,342
>
BJ Selman wrote:
> Looks like my attachments are getting stripped, so...
It's also in pretty, but largely invisible HTML colours too.
This all looks like Apache HTTPD config, are you sure you're asking
questions on the right mailing list?
p
> *_Httpd.conf-_*
>
> ServerRoot "/Apache2.2"
>
>
Caldarale, Charles R wrote:
>> From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B.
>> Subject: dbcp pool evictor deadlock?
>>
>> I ran into the most troublesome deadlock over the weekend
>> on my server
>
> Always start by telling us what version of Tomcat (and therefore which
> commons-
> From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B.
> Subject: dbcp pool evictor deadlock?
>
> I ran into the most troublesome deadlock over the weekend
> on my server
Always start by telling us what version of Tomcat (and therefore which
commons-dbcp) you're using. It's likely commo
Josh Gooding wrote:
> This is where my inexperience in tomcat will shine through.
>
> Scrapped all xxx.test.com sub-d's and went with test.com/[company id] as the
> way to go. It prevented me from having to edit the server.xml file and
> restart tomcat each and everytime that a company is added /
Using the 1.0.4 version of the tomcat jdbc pool, I defined two resources. It
seems that the there is interaction between the two resource defined within
the jdbc pool. Upon initialization the following item is logged:
Jun 22, 2009 1:26:50 PM org.apache.tomcat.jdbc.pool.ConnectionPool init
WARNI
Hi Chris -
> Can you post the relevant parts of your code?
I used WSDL2Java to create stubs for the Web Service I am connecting to.
Here is my code that wraps around the generated stubs:
try
{
writer = new BufferedWriter(new FileWriter(outFile));
loc = new SDXWSLocato
> From: Josh Gooding [mailto:josh.good...@gmail.com]
> Subject: Re: Just a few questions on my Tomcat Configuration
>
> Servlet filters though aren't they defined in the server.xml file?
No, filters are an aspect of the servlet spec, and are declared in web.xml
(valves are Tomcat-specific and de
Hi,
I appologize in advance for the cross-post, but I'm really not sure if this
is a problem with the dbcp code or my configuration.
I ran into the most troublesome deadlock over the weekend on my server, and
cannot figure out how/or why this deadlock occured. Via jconsole, I was
able to get
I have tried to follow the myriad of procedures outlined on this, but I am just
not seasoned enough.
I have created a self-signed certificate on a test server (2k8std-a) with a CN
of 2k8std-a. Should the CN be 172.17.2.238 since that is what my host name is
"named" ?
Whenever I browse to
This is where my inexperience in tomcat will shine through.
Scrapped all xxx.test.com sub-d's and went with test.com/[company id] as the
way to go. It prevented me from having to edit the server.xml file and
restart tomcat each and everytime that a company is added / subtracted. You
are correct,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Frank,
On 6/22/2009 3:53 PM, frank.bowar wrote:
> I've got a TOMCAT application that pulls data from a Web Service and just
> recently the Web Service was hardened to require client certificates.
>
> I debugged all my certificate issues and got my J
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 6/22/2009 10:58 AM, André Warnier wrote:
> In the "log.txt", I see that the first browser request is a POST.
> The response to that is a 302 moved, with a new location.
> OK so far.
> But then, when the browser re-issues the request to the n
(Late arrival, skimmed the thread, apologies if I'm off the mark).
Given the assumption of different data per user/client/company, is the
app identical for each company, bar aesthetic changes like images?
If so, with minor tweaks to your HTML, a servlet Filter which processes
the HttpRequestServ
I've got a TOMCAT application that pulls data from a Web Service and just
recently the Web Service was hardened to require client certificates.
I debugged all my certificate issues and got my Java class that talks to the
Web Service working just fine as a stand-alone app. However, I'm having
tro
Thanks for your response Christopher,
> > Could we imagine an evolution of Tomcat to generate secure session
> > cookies if "request.scheme == https" rather than on "request.secure ==
> > true" ? I would be very pleased to propose a patch.
>
> Do you have a reason to set request.secure=false wh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vijay,
On 6/22/2009 3:14 PM, Jay M wrote:
> I am trying to compile the tomcat-native-1.1.14 from Ubuntu, am getting the
> message
Any reason to use tomcat-native-1.1.14 instead of tomcat-native-1.1.16?
> When starting the Server i am getting the Log
Josh Gooding wrote:
> Don't know if this was already answered, but make sure you have your logging
> set for "debug" logging. I know by default, it is not set to that. That
> may help get you something in the logs.
That is a really bad idea. If you turn on debug logging for everything,
Tomcat wi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 6/20/2009 7:59 AM, André Warnier wrote:
> Or as "multipart/form-data"...
> Now this raises an additional nitpicking question :
> It has been mentioned before, that Tomcat provides no standard mechanism
> to read POST parameters that have bee
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 6/19/2009 4:10 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: Reading POSTed data
>>
>> The servlet spec is very clear about when the request is consumed
>> to fulfill a g
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Cyrille,
On 6/21/2009 6:52 AM, Cyrille Le Clerc wrote:
>I am interested in using the "secure" attribute of Tomcat
> connectors for non https/ssl requests. However, the "ssl only"
> JSESSIONID cookie mechanism currently relies on "request.secure ==
Once again (sigh) .
I just got out of my management meeting, they want to know if it can be done
the "other" way, with all companies sharing the core code. I'm not exactly
sure on how I'd even begin to do this. While I made a good point that A -
it's more secure, and B - it is the better way
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
This question comes up enough, I've created a FAQ entry for it:
http://wiki.apache.org/tomcat/HowTo#head-a3243c1d640297a9f2aa9446cbed434efbd4d1d9
Now we have an F-er M to RT.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW3
Don't know if this was already answered, but make sure you have your logging
set for "debug" logging. I know by default, it is not set to that. That
may help get you something in the logs.
- Josh
2009/6/16 Martin Gainty
>
> Tim-
>
> what do the logs say?
>
> Martin Gainty
> __
I am trying to compile the tomcat-native-1.1.14 from Ubuntu, am getting the
message
:/usr/local/tomcat/bin/tomcat-native-1.1.14-src/jni/native$ sudo ./configure
--with-apr=/usr/local/apr --with-ssl=/usr
--with-java-home=/usr/lib/jvm/java-6-sun/
[sudo] password for vijay:
checking build system typ
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
lmk,
On 6/19/2009 9:59 AM, lmk wrote:
> I complied apr sources, I dont used binnaries.
If you compiled apr, you're not done: you actually need libtcnative-1.so
as well as apr. The APR connector is a little misleading in its naming
because it's libtcn
I am trying to upgrade from 6.0.16 to 6.0.20 with an automated script.
So, my thought is to uninstall, then re-install. (If there is a cleaner
way, I would love any advice you may have.)
I use "Uninstall.exe /S" to remove the old version, but many
directories/files are left behind.
W
> From: Oliver Block [mailto:li...@oliver-block.eu]
> Subject: jaas.config / JAASRealms
>
> I've modified jdk/jre/lib/security/java.security to
> find the jaas.config.
Not a good idea, since that affects every Java execution on that system.
Better to specify the location via the java.security.
On Mon, Jun 22, 2009 at 4:52 PM, Martin Gainty wrote:
>
> Hi David-
>
> can you use CGIServlet to accomplish the ror?
rails doesn't work pretty well with cgi, they are using rack, that's an
implementation of python's wsgi in ruby.
>
>
> thanks,
> Martin
> _
> From: Oliver Block [mailto:li...@oliver-block.eu]
> Subject: How to enable debug log level?
>
> how can I set up my tomcat to return true to log.isDebugEnables() ?
Tomcat's internal logging is controlled by conf/logging.properties; tweak that
to your heart's content. You will need some knowle
Hello,
on the development pc I've put the jaas.config file to my home directory. As I
am running tomcat from netbeans, that's no problem. I've modified
jdk/jre/lib/security/java.security to find the jaas.config.
Is it compatible with the jaas design to keep web applicaton specific
jaas.config
On Mon, Jun 22, 2009 at 4:50 PM, Mark Thomas wrote:
> David Calavera wrote:
> > Hi,
> >
> > I'm working on a little project to use tomcat as server for rails
> > applications without generate a war file. I'm using an embedded tomcat
> and
> > jruby-rack to wrap requests.
> >
> > I don't know if t
Hi Dmitri.
No need to copy me personally. I am subscribed to the forum, so I get
these messages anyway.
A very quick look at the files you posted shows the following thing that
I personally find strange :
In the "log.txt", I see that the first browser request is a POST.
The response to that
Am Sonntag, 21. Juni 2009 01:34:29 schrieb Caldarale, Charles R:
> [...] you hard-code the single role name in the LoginModule, using whatever
> value you have in web.xml (currently "User"). You must have a role class
> that implements Principal and Serializable (in addition to the Principal
> cl
Hi David-
can you use CGIServlet to accomplish the ror?
thanks,
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir ho
David Calavera wrote:
> Hi,
>
> I'm working on a little project to use tomcat as server for rails
> applications without generate a war file. I'm using an embedded tomcat and
> jruby-rack to wrap requests.
>
> I don't know if this could be useful for anyone, currently it's based on my
> needs, bu
Hi,
I'm working on a little project to use tomcat as server for rails
applications without generate a war file. I'm using an embedded tomcat and
jruby-rack to wrap requests.
I don't know if this could be useful for anyone, currently it's based on my
needs, but you can find more info in the projec
Hello everybody,
I discovered those logging instruction in the tomcat sources:
if (log.isDebugEnabled())
log.debug(" Not subject to any constraint");
how can I set up my tomcat to return true to log.isDebugEnables() ?
Best Regards,
Oliver Block
Thanks a lot Mark !
Mark Thomas a écrit :
William Vernines wrote:
Votre Keystore contient 2 entrée(s)
root, 17 juin 2009, trustedCertEntry,
Empreinte du certificat (MD5) :
tomcat, 17 juin 2009, trustedCertEntry,
Empreinte du certificat (MD5) :
You can se
Hello,
My usecase may have not been clear enough :
The "internal over http connector : secure = true, scheme = http"
doesn't behave has I would like for stateful requests because Tomcat
generates a secure JSESSIONID cookie even if the configured scheme is
"http" rather than "https".
Due to this
On Mon, Jun 22, 2009 at 1:14 AM, André Warnier wrote:
> Dmitri O.Kondratiev wrote:
>
>> Hello!
>> I have the following problem:
>> When using apache load balancer with Tomcat, *sometimes* responses get
>> truncated , resulting in incomplete HTML of *wrong* encoding. My
>> application
>> that Tomc
> From: abhishek reddy [mailto:abhishek.c1...@gmail.com]
> Subject: Re: Regarding log4J creating logs in tomcat logs folder using
> FileAppender
>
> i think it is "catalina.base"
Yes, sorry for the earlier misdirect.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIE
Now it is working..thanks for the reply
On Mon, Jun 22, 2009 at 6:45 PM, abhishek reddy wrote:
> i think it is "catalina.base"
>
>
> On Mon, Jun 22, 2009 at 6:41 PM, abhishek reddy
> wrote:
>
>> thanks for the reply.
>>
>> How to retrieve the tomcat base path?
>>
>> I have tried this
i think it is "catalina.base"
On Mon, Jun 22, 2009 at 6:41 PM, abhishek reddy wrote:
> thanks for the reply.
>
> How to retrieve the tomcat base path?
>
> I have tried this way System.getProperty("tomcat.base");the
> value is comming as null
>
>
> On Mon, Jun 22, 2009 at 6:25 PM,
thanks for the reply.
How to retrieve the tomcat base path?
I have tried this way System.getProperty("tomcat.base");the
value is comming as null
On Mon, Jun 22, 2009 at 6:25 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: abhishek reddy [mailto:abhishek.c
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Subject: RE: Regarding log4J creating logs in tomcat logs folder using
> FileAppender
>
> > but the log files are created under tomcat bin folder
>
> Because you're using a relative path, which should be avoided, since
> you have n
> From: abhishek reddy [mailto:abhishek.c1...@gmail.com]
> Subject: Regarding log4J creating logs in tomcat logs folder using
> FileAppender
>
> but the log files are created under tomcat bin folder
Because you're using a relative path, which should be avoided, since you have
no control over it.
hi every one,
Iam new to Log4j...
How to create log files in tomcat logs folder using Apache Log4j
FileAppender class?
This is what i was doing
new FileAppender(layout,"todayslog",true);
but the log files are created under tomcat bin folder...how t change
this?
Also let me kno
On Monday 22 June 2009 13:53:47 Mark Thomas wrote:
> Rainer Frey wrote:
> > On Monday 22 June 2009 12:02:49 Mark Thomas wrote:
> >> You are editing the wrong file. When a web application is first
> >> deployed, any META-INF/context.xml is copied to
> >> CATALINA_BASE/conf// (usually
> >> CATALINA_B
I posted just the part of the code that was relevant. The
initialization and retrieval of the configuration options is not shown
here. The pooling mechanism was the focus of the post and that is why I
posted just that code.
Pete
Martin Gainty wrote:
where is _isIBMi declaration?..
how is
Rainer Frey wrote:
> On Monday 22 June 2009 12:02:49 Mark Thomas wrote:
>
>> You are editing the wrong file. When a web application is first
>> deployed, any META-INF/context.xml is copied to
>> CATALINA_BASE/conf// (usually
>> CATALINA_BASE/conf/Catalina/localhost) and renamed to appName.xml. Eg
On Monday 22 June 2009 12:02:49 Mark Thomas wrote:
> You are editing the wrong file. When a web application is first
> deployed, any META-INF/context.xml is copied to
> CATALINA_BASE/conf// (usually
> CATALINA_BASE/conf/Catalina/localhost) and renamed to appName.xml. Eg
> for a war file named myap
Brilliant, I didn't see this in any of the documentation that read.
Thanks for the help
Francis
Mark Thomas wrote:
Francis Judge wrote:
I'm editing the context.xml in the application's MET-INF directory. The
following is what it contains:
Resource name="*DB/TMS*" auth="*Container*"
type="*
William Vernines wrote:
> Votre Keystore contient 2 entrée(s)
>
> root, 17 juin 2009, trustedCertEntry,
> Empreinte du certificat (MD5) :
> tomcat, 17 juin 2009, trustedCertEntry,
> Empreinte du certificat (MD5) :
>
>
> You can see that tomcat alias exists...
>
Francis Judge wrote:
> I'm editing the context.xml in the application's MET-INF directory. The
> following is what it contains:
> Resource name="*DB/TMS*" auth="*Container*"
> type="*javax.sql.DataSource*" username="*" password="*"
> driverClassName="*net.sourceforge.jtds.jdbcx.Jtds
Caldarale, Charles R schrieb am 19.05.2009 um 08:37:23 (-0500):
> > From: Gregor Schneider [mailto:rc4...@googlemail.com]
> > Subject: Re: How to get thread dump on Tomcat 6 (windows)
A late reply to this:
> > Thread-Dump on Windows:
> >
> > If I'm not mistaken, the key-combination should
> >
I'm editing the context.xml in the application's MET-INF directory. The
following is what it contains:
Resource name="*DB/TMS*" auth="*Container*"
type="*javax.sql.DataSource*" username="*" password="*"
driverClassName="*net.sourceforge.jtds.jdbcx.JtdsDataSource*"
url="*jdbc:jtd
Hello,
This my server.xml :
Code :
keystoreFile="/var/lib/tomcat5.5/.keystore"
keystorePass="" keyAlias="tomcat"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
I am using Tomcat 6.0.18 on Windows Vista (dev) and Server 2003 R2
(test) and am using jTDS to connect to SQL Server 2005. The application
is working fine in development (I'm using Netbeans 6.5) and I build the
WAR from the IDE at the moment. When I deploy the WAR to the test server
I update th
Francis Judge wrote:
> I am using Tomcat 6.0.18 and am using jTDS to connect to SQL Server
> 2005. The application is working fine in development (I'm using Netbeans
> 6.5) and I build the WAR from the IDE at the moment. When I deploy the
> WAR to the test server
How do you deploy your WAR? Is unp
thanks a lot Brian;
it works now, without using --prefix.
Brian Millett wrote:
>
> On Fri, 2009-06-19 at 02:05 -0700, lmk wrote:
>> --prefix=/usr/tomcat/apache-tomcat-6.0.18
>
>
> I'd look where you told it to go.
> --
> Brian Millett - [ Sinclair (re: The Line), "The Gathering"]
> "T
I am using Tomcat 6.0.18 and am using jTDS to connect to SQL Server
2005. The application is working fine in development (I'm using Netbeans
6.5) and I build the WAR from the IDE at the moment. When I deploy the
WAR to the test server I update the context.xml to point the database
connection UR
as2 wrote:
Hi,
I am trying to add a rule ..
Try this :
# First, all URLs that start with "/app/" and end in either .jsp, .htm
# or .html are forwarded to Tomcat
SetHandler jakarta-servlet
# But, we don't want that if it's inside of "/app/dir/"
SetHandler none
# Except if it is insi
78 matches
Mail list logo