I know this is not a typical tomcat question but please bear with me.
All Spring integrations call for placing configuration xmls in
/WEB-INF/ of an application. The tomcat that I'm forced to work with
has a weird configuration where there are no applications under
$TOMCAT_HOME/webapps folder. Ther
I don't think the default pool has any glaring leaks. However, your db may.
I have ran into cases when Oracle would run out of PGA memory, which cleared
with tomcat restart.
It may help to use connection validation feature of tomcat's new pool to
close connections that ran out of memory.
Don't kn
2011/3/6 Mark Thomas :
> On 06/03/2011 19:54, Olivier Lefevre wrote:
>> It's quite unclear, when using ServletContext.log(...), how one can
>> specify the logging level.
>
> You can't.
>
>> Maybe it's impossible?
>
> It is. That logging API is close to useless. Use you favourite logging
> framework
Hi Konstantin,
Konstantin Kolinko wrote:
>
> Note, that it is possible
> 1) to use some other class instead of Bootstrap, and delegate
> start/stop commands to Bootstrap.main() afterwards
> 2) implement a Listener and configure it in server.xml to
> programmatically configure Tomcat before it s
Olivier -
No one so far has mentioned it, but yes, you are seeing behavior as designed.
The CONFIDENTIAL setting causes Tomcat to send a redirect to SSL if the request
comes in on standard HTTP.
If your true intent is not to allow *ANY* traffic over HTTP, then you need to
remove your HTTP fro
Evgeny Goldin wrote:
..
What could probably be taken here for the Tomcat team is "onStartup.bat"
that always runs on Tomcat's startup, regardless of how it was done - via
"catalina.bat" or "tomcat7.exe". Same could be done for "onShutdown.bat".
+1
Sounds like a good idea.
Would also allow to
Olivier Lefevre wrote:
On 3/7/2011 1:27 PM, Konstantin Kolinko wrote:
Why do you forbid HEAD? IMHO it should have the same constraints as
GET, because browsers use them together.
OK. That doesn't answer my question, though.
But in the meantime I realized that in the access log there are pairs
On 3/7/2011 1:27 PM, Konstantin Kolinko wrote:
Why do you forbid HEAD? IMHO it should have the same constraints as
GET, because browsers use them together.
OK. That doesn't answer my question, though.
But in the meantime I realized that in the access log there are pairs
of entries with status
2011/3/7 Evgeny Goldin :
>
> Hi Chris,
>
>
> billybob79 wrote:
>>
>> To sum up, each time your service starts, you dynamically configure tomcat
>> for your environment. What do you gain by dynamically configuring tomcat
>> at
>> each startup?
>>
>> Couldn't you just script the dynamic configuration
Christopher Schultz-2 wrote:
>
>> I run Groovy to make some machine-specific replacements in some files
>> according to properties file which can be configured prior to starting
>> Tomcat.
>
> Is there any reason why this couldn't be done at /deployment/ time
> instead of startup time? This see
Hi Chris,
billybob79 wrote:
>
> To sum up, each time your service starts, you dynamically configure tomcat
> for your environment. What do you gain by dynamically configuring tomcat
> at
> each startup?
>
> Couldn't you just script the dynamic configuration to occur once manually.
> Then you
Hi Chris,
- Apache Tomcat Version 6.0.32
- Java 1.6
- Linux version 2.6.32-bpo.5-amd64 (Debian 2.6.32-30~bpo50+1)
Thanks.
JoeK
>Joe,
>
>On 3/5/2011 6:53 AM, jo...@centrum.cz wrote:
>> I have strange problem with autodeploying application residing in the war
>> file. I have the ROOT.xml f
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joe,
On 3/5/2011 6:53 AM, jo...@centrum.cz wrote:
> I have strange problem with autodeploying application residing in the war
> file. I have the ROOT.xml file in the
> CATALINA_HOME/conf/Catalina/my.domain.com/ directory, in order to define my
> C
Thanks :]
Let's see if it'll somewhat help with the memory leak, or with memory
management at all
2011/3/7 Filip Hanik - Dev Lists
> On 3/7/2011 3:48 AM, Mark Thomas wrote:
>
>> On 07/03/2011 10:39, הילה wrote:
>>
>>> I found this
>>> http://people.apache.org/~fhanik/tomcat/jdbc-pool.html
>>> t
On 3/7/2011 3:48 AM, Mark Thomas wrote:
On 07/03/2011 10:39, הילה wrote:
I found this
http://people.apache.org/~fhanik/tomcat/jdbc-pool.html
that I see that it suits for tomcat 6 as well
but I can't find tomcat-jdbc.jar for download, and I understood I need it to
use the new pool.
from where can
Thanks :]
I'll dig into it.
Any other ideas will be more than welcomed :]
2011/3/7 André Warnier
>
>
>
>> But does the Microsoft Driver has the ability to support windows
>> authentication?
>> If so, how is it implemented?
>>
>
> Don't know. You should ask Microsoft. Or try to find out yourself
הילה wrote:
...
But does the Microsoft Driver has the ability to support windows
authentication?
If so, how is it implemented?
Don't know. You should ask Microsoft. Or try to find out yourself, beginning e.g. at the
page I mentioned.
I would tend to think that, this being a Microsoft module
>> My bet is that the webapp is deployed under "/Adoption" and therefore
>> the should not have "/Adoption" prepended to it.
This was indeed the problem. Took me awhile to figure that out. Next
time I'll provide more info up front.
Thanks.
--
Jonathan Rosenberg
Founder & Executive Director
Ta
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 3/5/2011 6:26 PM, Caldarale, Charles R wrote:
>> From: shmol...@gmail.com [mailto:shmol...@gmail.com] On Behalf Of Jonathan
>> Rosenberg
>> Subject: Confused by url-pattern in Contatner Managed Auth
>
>> I thought this would require auth f
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Evgeny,
On 3/6/2011 5:41 PM, Evgeny Goldin wrote:
> I run Groovy to make some machine-specific replacements in some files
> according to properties file which can be configured prior to starting
> Tomcat.
Is there any reason why this couldn't be done
*As Andre says, the one you're using now seems to be rather buggy. We have
been using the Microsoft driver for a few months now with no trouble, though
we're not using NTLM authentication with it, and the SQL we're using isn't
very demanding*
But does the Microsoft Driver has the ability to suppo
Yeah, ha :]
Since I'm desperate, I'll try it out.
Do I need to change the connectionURL or DriverClassName in the XML
configuration file of tomcat, in order for this to work?
2011/3/7 André Warnier
> הילה wrote:
>
>> I read that JTDS (jtds-1.2.5.jar) is more stable and less buggy than JDBC
>> o
On 3/7/2011 8:27 AM, הילה wrote:
I read that JTDS (jtds-1.2.5.jar) is more stable and less buggy than JDBC of
Microsoft. So I don't want to add more logs to the fire.. :]
As Andre says, the one you're using now seems to be rather buggy. We
have been using the Microsoft driver for a few months
הילה wrote:
I read that JTDS (jtds-1.2.5.jar) is more stable and less buggy than JDBC of
Microsoft. So I don't want to add more logs to the fire.. :]
That's a funny thing to say, considering that it has a memory leak, and that nobody is
answering your calls for help on the jTDS list.
What abo
I read that JTDS (jtds-1.2.5.jar) is more stable and less buggy than JDBC of
Microsoft. So I don't want to add more logs to the fire.. :]
2011/3/7 David kerber
> On 3/7/2011 8:10 AM, הילה wrote:
>
>> Hey,
>> I cannot look for it in Microsoft, since the Java is of SUN, and the
>> implementation
On 3/7/2011 8:10 AM, הילה wrote:
Hey,
I cannot look for it in Microsoft, since the Java is of SUN, and the
implementation is on the Java side, not the SQL Microsoft side.
Microsoft may have a jdbc driver you could use, though.
D
Option no' 1 :]
User and password should not exist in clear t
Hey,
I cannot look for it in Microsoft, since the Java is of SUN, and the
implementation is on the Java side, not the SQL Microsoft side.
Option no' 1 :]
User and password should not exist in clear text in the xml file.
2011/3/7 André Warnier
> הילה wrote:
>
>> I'm using Microsoft SQL Server 20
הילה wrote:
I'm using Microsoft SQL Server 2008, latest SP.
the use of domain user is used with the jtds package, which allows the
tomcat service to authenticate to the DB with the presence of native SSPI
DLL called ntlmauth.dll
However, it generated a memory leak in the server. So I'm looking fo
Hi John,
could you please try the patch I applied in r1078762:
http://svn.apache.org/viewvc?view=revision&revision=1078762
Regards,
Rainer
On 29.01.2011 16:39, Mladen Turk wrote:
On 01/29/2011 12:45 PM, Jon Forster wrote:
Mladen
Finding any Sun documentation can be a painful experience sin
2011/3/7 Olivier Lefevre :
> I put this in my webapp's web.xml, then intent being to
> allow GET and POST over https and nothing else:
>
>
>
> forbidden
> /*
> HEAD
> PUT
> DELETE
> OPTIONS
> TRACE
>
>
>
>
>
>
>
Good Afternoon All
Could the author detail the reason for refactoring AnnotationProcessor to
InstanceManager for TC7?
Any explanation for effecting the need for this refactor would be greatly
appreciated.
thanks!
Martin Gainty
__
Verzicht und Vertr
I'm using Microsoft SQL Server 2008, latest SP.
the use of domain user is used with the jtds package, which allows the
tomcat service to authenticate to the DB with the presence of native SSPI
DLL called ntlmauth.dll
However, it generated a memory leak in the server. So I'm looking for
alternatives
Yes Andre you are right, I misunderstood the OP - Hila wants to access
the database as a single domain user.
How to implement this is probably database specific. For example
Oracle jdbc driver requires you to either:
A) be running the process which makes the database connections as the
domain user
Borut,
thanks. I think that this is very helpful.
It does not do what the OP wanted to do, but it does what he /should/ be doing
(in my view).
הילה,
if the users connect to Tomcat, and the connections to the database are all done under the
"Tomcat" user-id, then basically you are putting all t
On 07/03/2011 10:39, הילה wrote:
> I found this
> http://people.apache.org/~fhanik/tomcat/jdbc-pool.html
> that I see that it suits for tomcat 6 as well
> but I can't find tomcat-jdbc.jar for download, and I understood I need it to
> use the new pool.
> from where can I download it?
There is no do
I found this
http://people.apache.org/~fhanik/tomcat/jdbc-pool.html
that I see that it suits for tomcat 6 as well
but I can't find tomcat-jdbc.jar for download, and I understood I need it to
use the new pool.
from where can I download it?
Thanks
Hila
בתאריך 7 במרס 2011 12:28, מאת הילה :
> So it'
So it's only for use on Tomcat 7?
I have installed tomcat 6.0.29
2011/3/7 Olivier Lefevre
> On 3/7/2011 8:00 AM, הילה wrote:
>
>> How do I know if I use the new pool?
>>> just by specifying the
>>> org.apache.tomcat.jdbc.pool.DataSourceFactory
>>>
>>
> AFAICT yes.
>
>
> what is the advantages
On 3/7/2011 8:00 AM, הילה wrote:
How do I know if I use the new pool?
just by specifying the
org.apache.tomcat.jdbc.pool.DataSourceFactory
AFAICT yes.
what is the advantages of using the new pool?
in which cases should I use it?
See http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html
>
> I run Groovy to make some machine-specific replacements in some files
> according to properties file which can be configured prior to starting
> Tomcat. We have Artifactory and Jenkins deployed to Tomcat. This property
> file contains various configurations to them and Groovy script, started
>
I put this in my webapp's web.xml, then intent being to
allow GET and POST over https and nothing else:
forbidden
/*
HEAD
PUT
DELETE
OPTIONS
TRACE
secure
/*
GET
POST
One of the links I sent you was broken, the right link is:
Oracle Jdbc connection with kerberos
http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/clntsec.htm#CIHCIDHF
Or just google for 'oracle jdbc kerberos' if they move the content again.
On Mon, Mar 7, 2011 at 10:55 AM, Borut Hadži
Hi Hila,
I have a similar requirement in my current project. End users (using
browsers and java desktop apps) which work on windows workstations
which are in a domain, must be able to log in the application without
needing to type in username and password (using their windows
credentials). Additio
Mladen Turk-3 wrote:
>
>> I can try "--Install" service option and make service run "myBatch.bat"
>> which in turn will invoke "tomcat7.exe".
>
> That won't work. Target executable should be %COMSPEC% with .bat file as
> a parameter (%COMSPEC% /C call nyBatch.bat)
> However running that requir
Hi,
Ok I switched to 7.0.8.
> Install
Installed using package from
http://mirror.fubra.com/ftp.apache.org/tomcat/tomcat-7/v7.0.8/bin/apache-tomcat-7.0.8.exe.
> Start service
Started either directly in services (changed from auto to manual) or using
that small GUI application(//MS//).
Yes I had
44 matches
Mail list logo