> From: Mohamed Shah [mailto:mohamed.s...@tecnotree.com]
> Subject: how to deploy into tomcat
>
> I need to deploy my portlets into tomcat. How can I proceed with this.
> Do I need ant For this.
http://www.catb.org/~esr/faqs/smart-questions.html
http://tomcat.apache.org/tomcat-6.0-doc/index.htm
> From: Josh Gooding [mailto:josh.good...@gmail.com]
> Subject: slight problem with Tomcat and Httpd working together.
Please don't cross-post.
> Since Tomcat is not the most efficient at serving static HTML pages
A misconception left over from the dark ages.
> I decided to install httpd v 2.2.
Hi,
I need to deploy my portlets into tomcat. How can I proceed with this. Do I
need ant For this.
Please give me some idea about deploying to tomcat from eclipse
Thanks,
Shah
Interesting situation I have going on here
When running Tomcat 6.0.18 as the webserver I have 2 hosts configured one as
the .com and it is serving from the webapps folder just fine, the other is
serving to a subdomain perfectly. I couldn't be happier in how it is
running.
Here is where it ge
> From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B.
> Subject: Re: How to define a Realm as a global resource and use it as a
> ResourceLink?
>
> or declare it in the webapp context.xml file itself
You can also use a element in conf/Catalina/[host]/[appName].xml,
which will override t
> "Caldarale, Charles R" wrote in message
> > In order to secure and clean things up a little, I would like to
> > move my JNDIRealm definition to a global resource and use it within
> > my context
>
> Sounds like you're confusing two separate and distinct facilities of
> Tomcat.
> Any is for T
"Mark Thomas" wrote in message
news:4a7c9110.50...@apache.org...
> Eric B. wrote:
>> Hi,
>>
>> In JULI, the logging.properties file can be place in
>> ${catalina.base}/conf/logging.properties, whereas Log4j expects it in
>> ${catalina.home}/lib/log4j.properties. I am assuming that it is log4j
>
"Mark Thomas" wrote in message
news:4a7caf38.7060...@apache.org...
> Eric B. wrote:
>> Hi,
>>
>> I'm trying to understand how to enable some logging for a particular
>> class.
>> In org.apache.catalina.realm.JNDIRealm, there are log messages written
>> using
>> containerLog.trace(). While I un
All-
server.xml should contain this JNDIRealm specification defined globally
connectionURL="ldap://dc1.domain.local:389";
connectionName="tom...@domain"
connectionPassword="AReallyLongPassword"
userBa
did you set
swallowOutput="true" in conf/context.xml?
Filip
On 08/07/2009 07:01 PM, Allen Williams wrote:
I'm trying to get Tomcat 6 up and working; didn't have this problem on 5.
The code:
System.err.println
does not print to the log files. With this logging.properties:
org.apache.catali
I'm trying to get Tomcat 6 up and working; didn't have this problem on 5.
The code:
System.err.println
does not print to the log files. With this logging.properties:
org.apache.catalina.core.ContainerBase.[Catalina].[info-dev].[/infoisland].level
= ALL
org.apache.catalina.core.ContainerBase.
Eric B. wrote:
> Hi,
>
> I'm trying to understand how to enable some logging for a particular class.
> In org.apache.catalina.realm.JNDIRealm, there are log messages written using
> containerLog.trace(). While I understand this means that if the trace level
> is selected for the containerLog,
understood
documentation at http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
states
The Document Base (also known as the Context
Root) directory for this web application, or the pathname
to the web application archive file (if this web application is
being exec
On Friday 07 August 2009 10:53, Christopher Schultz wrote:
> Recently, there was a post on the list regarding connection pool leakage
> from Tomcat (ref:
> http://www.nabble.com/Right-way-to-close-database-connection-pool-td24832
>197.html).
This is the code I picked up from http://wiki.apache.or
Eric B. wrote:
> Hi,
>
> I'm not sure if there is anything that can be done about this, but I just
> tried switching from Tomcat's standard JULI logging to Log4j implementation
> following the docs at http://tomcat.apache.org/tomcat-6.0-doc/logging.html.
> Overall, everything works as expected, al
> From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B.
> Subject: How to define a Realm as a global resource and use it as a
> ResourceLink?
>
> In order to secure and clean things up a little, I would like to
> move my JNDIRealm definition to a global resource and use it within
> my conte
Hi,
I'm not sure if there is anything that can be done about this, but I just
tried switching from Tomcat's standard JULI logging to Log4j implementation
following the docs at http://tomcat.apache.org/tomcat-6.0-doc/logging.html.
Overall, everything works as expected, although I found one signfici
> From: Martin Gainty [mailto:mgai...@hotmail.com]
> Subject: RE: How to define a Realm as a global resource and use it as a
> ResourceLink?
>
> unsure why docBase for of webapps
The docBase attribute must *never* point to webapps; it's the appBase
that points to webapps.
- Chuck
THIS COMM
My first attempt was to implement those two methods in my class that
already implements HttpSessionListener, but these methods were never
called. On closer reading, it appears that this is an interface to be
implemented by an object that I then store in the session attributes.
Do I create an o
unsure why docBase for http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenge
Hi,
I'm trying to understand how to enable some logging for a particular class.
In org.apache.catalina.realm.JNDIRealm, there are log messages written using
containerLog.trace(). While I understand this means that if the trace level
is selected for the containerLog, the message will be display
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
(stupid clumsy hands prematurely hit CTRL-ENTER)
On 8/7/2009 3:38 PM, Christopher Schultz wrote:
> To David: There's always JMX if you don't want to maintain the list of
> sessions yourself. Look at
... the code for LambdaProbe which sniffs ses
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas,
On 8/7/2009 2:58 AM, Thomas G. Lau wrote:
> I did use
> ulimit -n 65535
> ulimit -u 65535
Were you root? If not, you may not be able to set your ulimits that
high. Try 'ulimit -a' after "modifying" to see what the limits actually are.
> I ha
Hi,
I would have thought this to be straightforward. I finally got my LDAP
authentication working properly with my JNDIRealm configured within my
container (I tried both engine and context).
In order to secure and clean things up a little, I would like to move my
JNDIRealm definition to a glob
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 8/7/2009 3:06 PM, Mark Thomas wrote:
> David Wall wrote:
>
>> My first attempt was to implement those two methods in my class that
>> already implements HttpSessionListener, but these methods were never
>> called. On closer reading, it appea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Arjan,
On 8/7/2009 10:33 AM, M4N - Arjan Tijms wrote:
> Well, in my humble opinion this is how it worked yesterday. Doesn't it
> work like this today (for exploded archives):
>
> 1. If there is a context descriptor in
> $CATALINA_BASE/conf/[enginenam
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kees Jan,
On 8/7/2009 12:44 PM, Kees Jan Koster wrote:
> I have to restart Tomcat regularly because it exhausted my MySQL
> connections. Show processlist confirms the problem.
>
> I use Hibernate. Do you?
No, I just use straight JDBC in all my code.
David Wall wrote:
>
>>> It seems if I can see all sessions that are started and stopped using
>>> SessionListener, there should be no reason why we can't get the sessions
>>> auto-built from session persistence when Tomcat restarts a web app,
>>> too. Any tricks to figure this out?
>>>
>>
>>
It seems if I can see all sessions that are started and stopped using
SessionListener, there should be no reason why we can't get the sessions
auto-built from session persistence when Tomcat restarts a web app,
too. Any tricks to figure this out?
Try reading the reply I wrote about 9 hou
"Mark Thomas" wrote in message
news:4a7c7353.5090...@apache.org...
>> My question therefore is the following: is there another class that I can
>> use instead of JNDIRealm to authenticate against Linux passwords, or does
>> anyone know if there is another way to configure Linux to store passwords
Here is a webapp I wrote recently: http://lbconfig.appspot.com/ to solve
the annoying problem of hand writing an optimized configuration for mod_jk
setup, which for me, I do a lot. This is by no means feature complete, and
I welcome suggestions, my email is on the site, but it is a good start,
Eric B. wrote:
> Hi,
>
> I've been struggling with getting Tomcat to authenticate against my LDAP
> server for a couple of days now. I think I am finally starting to make some
> headway. I am able to sucessfully authenticate users if I use cleartext
> passwords in the directory. So now, the
Hi,
I've been struggling with getting Tomcat to authenticate against my LDAP
server for a couple of days now. I think I am finally starting to make some
headway. I am able to sucessfully authenticate users if I use cleartext
passwords in the directory. So now, the next thing is if I want to
I run several sites in remote virtual hosting environments (Parallels)
and there are no such restrictions.
Are you sure you're not in a shared hosting environment?
On Aug 7, 2009, at 1:02 PM, dfobox wrote:
hosting company says I can't use mod_rewrite for tomcat apps
I've read someone can use
Michael Ludwig wrote:
> Mark Thomas schrieb:
>> Michael Ludwig wrote:
>
>>> "Static deployment" does not seem to handle META-INF/context.xml -
>>> and that looks broken.
>>
>> No, static deployment is not deprecated.
>>
>> Static deployment *does* handle context.xml. It is working as
>> designed.
David Wall wrote:
>
>> I am using Tomcat 6.0.20 and have implemented the SessionListener
>> interface. We can then use this to show a list of active sessions to
>> our users, and when they are logged in, we even know which user is
>> tied to the session. This is very handy.
>>
>> However, on tom
I am using Tomcat 6.0.20 and have implemented the SessionListener
interface. We can then use this to show a list of active sessions to
our users, and when they are logged in, we even know which user is
tied to the session. This is very handy.
However, on tomcat restart, all existing sessio
> From: dfobox [mailto:dfo...@gmail.com]
> Subject: mod_rewrite with tomcat on virtual hosting
>
> hosting company says I can't use mod_rewrite for tomcat apps
When running a pure Tomcat environment, try this:
http://tuckey.org/urlrewrite/
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL A
hosting company says I can't use mod_rewrite for tomcat apps
I've read someone can use mod_jk to put httpd atop of tomcat
but it's probably not the way to go with virtual hosting...
any comments are greatly appreciated
--
View this message in context:
http://www.nabble.com/mod_rewrite-with-tomca
Mark Thomas schrieb:
Michael Ludwig wrote:
"Static deployment" does not seem to handle META-INF/context.xml -
and that looks broken.
No, static deployment is not deprecated.
Static deployment *does* handle context.xml. It is working as
designed. If you delete the WAR/DIR *and wait for Tomca
Dear Chris,
I have to restart Tomcat regularly because it exhausted my MySQL
connections. Show processlist confirms the problem.
I use Hibernate. Do you?
I'll dig deeper later when I have more time.
Kees Jan
On 7 aug 2009, at 16:53, Christopher Schultz > wrote:
-BEGIN PGP SIGNED MES
M4N - Arjan Tijms wrote:
> To me it all would make a lot more sense of there was an option to
> disable this copying-and-holding of the context.xml. For exploded
> development mode, this option could then be set to false and for
> production mode it could be set to true.
That is a reasonable sugg
Len Wrote:
Unfortunately it's not that simple. Take for example the most common case, a
definition for a JDBC database connection. The app writer has to
provide part of the definition (the resource name, e.g. "jdbc/myAppDB") and
the sysadmin has to provide another part (the address of the DB ser
Epithemeus wrote:
> Thanks Mark.
>
> I went through the documentation but the problem persists. I am using Tomcat
> 6.0 and have tried including cachingAllowed="false" in
> $CATALINA_HOME/conf/context.xml. This does not seem to work.
>
> There is no other context.xml file currently defined in dir
Michael Ludwig wrote:
> M4N - Arjan Tijms schrieb:
>
I always just copy my web application statically to Tomcat's webapps
directory ("$CATALINA_BASE/webapps") for the production server
>>> Insufficient, as Chuck has pointed out: use the manager app.
>>
>> Does that, basically, mean that
M4N - Arjan Tijms schrieb:
I always just copy my web application statically to Tomcat's webapps
directory ("$CATALINA_BASE/webapps") for the production server
Insufficient, as Chuck has pointed out: use the manager app.
Does that, basically, mean that the static deployment method is
deprecate
Thanks Mark.
I went through the documentation but the problem persists. I am using Tomcat
6.0 and have tried including cachingAllowed="false" in
$CATALINA_HOME/conf/context.xml. This does not seem to work.
There is no other context.xml file currently defined in directory structure
anywhere. Any
Hi everyone,
I am facing the same problem as Steve had mentioned earlier. I am using
Tomcat 6.0 and have tried including cachingAllowed="false" in
$CATALINA_HOME/conf/context.xml. This does not seem to work.
I cannot locate any folder for application cache in
/work/Catalina/localhost/.
It woul
Hi,
Michael wrote:
I always just copy my web application statically to Tomcat's webapps
directory ("$CATALINA_BASE/webapps") for the production server
Insufficient, as Chuck has pointed out: use the manager app.
Does that, basically, mean that the static deployment method is
deprecated? If
On Fri, Aug 7, 2009 at 10:33, M4N - Arjan Tijms wrote:
> Either you trust the web application or you don't. If you don't trust the
> web application the maintainer of a Tomcat instance puts his own context.xml
> in conf/Catalina, thereby overriding whatever the web application defines.
> If you d
M4N - Arjan Tijms schrieb:
I fully understand the need for global overrides, but the procedure of
copying the very first encountered context.xml from a web application
and then continue to use that as the global override variant, I'm
sorry but I just don't see the logic in doing that.
Maybe yo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Recently, there was a post on the list regarding connection pool leakage
from Tomcat (ref:
http://www.nabble.com/Right-way-to-close-database-connection-pool-td24832197.html).
I'm sure this question has come up before as well.
I contributed a lis
Hi,
1. If there is a context descriptor in
$CATALINA_BASE/conf/[enginename]/[hostname]/[webappname].xml use this.
2. Otherwise, use the context descriptor
$CATALINA_BASE/webapps/[webappname]/META-INF/context.xml
That is exactly how it works today.
Well, in my humble opinion this is how it w
I am not doing intentionally . All the emails I sent, keeps coming back to me
so, at first I thought you guys are not getting my emails.
Any how I am not going to email anymore. Thank you so much for all your help.
I really appreciate.
Cordialement / Best regards,
Vandana PATEL
Busines
PATEL Vandana wrote:
Hello,
I found 2 products, ECCN I was looking for. I still need help looking
for other 2 . I checked everything. Didn't anything.
1. Apache Jasper (subset of Apache Tomcat 5)
2. Apache Jasper (subset of Apache Tomcat 5.x)
They're included under Apache Tomcat's listin
Hello,
I found 2 products, ECCN I was looking for. I still need help looking
for other 2 . I checked everything. Didn't anything.
1. Apache Jasper (subset of Apache Tomcat 5)
2. Apache Jasper (subset of Apache Tomcat 5.x)
Cordialement / Best regards,
Vandana PATEL
Business Operations Team
Mo
> From: fritzdimmel [mailto:friedrich.dim...@siemens.com]
> Subject: Change the deployment path to another name than the .WARs name
>
> I'd like to deploy a WAR file to my Tomcat Server (6.0.20) and
> Tomcat should deploy it to another directory.
1) Place the .war file *outside* of the 's appBas
fritzdimmel schrieb:
I'd like to define somewhere (context.xml or server.xml??), to
take a WAR called mywebapp.war and deploy it to the folder
webapps/xyz.
Browse to the Tomcat docs on the context [1], read at least the
introduction and the section on "Common Attributes". Note that
Context/@pa
> From: PATEL Vandana [mailto:vandana.pa...@3ds.com]
> Subject: RE: ECCN, License, URL, CCATS, Version
>
> Yes, I already checked that website yesterday but, I didn't find
> whatever products that I have on my list. Please, is there any way you
> able to find them. Thank you so much!
A) Stop pos
> From: M4N - Arjan Tijms [mailto:arjan.ti...@m4n.nl]
> Subject: RE: Tomcat copies context.xml to
> conf/Catalina/localhost/app.xml,but neverupdates it?
>
> 1. If there is a context descriptor in
> $CATALINA_BASE/conf/[enginename]/[hostname]/[webappname].xml use this.
> 2. Otherwise, use the conte
Hello,
Yes, I already checked that website yesterday but, I didn't find
whatever products that I have on my list. Please, is there any way you
able to find them. Thank you so much!
Cordialement / Best regards,
Vandana PATEL
Business Operations Team
Mobile:
vandana.pa...@3ds.com
Visit us at:
arjan.tijms schrieb:
I always just copy my web application statically to Tomcat's webapps
directory ("$CATALINA_BASE/webapps") for the production server
Insufficient, as Chuck has pointed out: use the manager app.
and use MyEclipse for deployment during development.
If you use an Eclipse-m
PATEL Vandana wrote:
Hello,
Yes, I do know about the website but, I don't find whatever products on
my list. Please, is there any way you able to find them. Thank you so
much!
ISTM that your items would all be included under the Tomcat project.
D
Cordialement / Best regards,
Vandana P
Hello,
Yes, I do know about the website but, I don't find whatever products on
my list. Please, is there any way you able to find them. Thank you so
much!
Cordialement / Best regards,
Vandana PATEL
Business Operations Team
Mobile:
vandana.pa...@3ds.com
Visit us at: www.3ds.com
Dassault Sys
Hi,
It was always intended, and finally fixed in 6.0.19 (see the changelog). The
impetus was
this bug report:
https://issues.apache.org/bugzilla/show_bug.cgi?id=42747
Thank you very much for the reference. To be helpful to other people who
stumble upon this thread when searching for informati
PATEL Vandana wrote:
> Hello,
>
>
>
> As a licensee of your 4 products,
>
>
>
> 1. Apache Jasper (subset of Apache Tomcat 5)
>
> 2. Apache Jasper (subset of Apache Tomcat 5.x)
>
> 3. Apache Servlet-API 2.4
>
> 4. apache tomcat 6.0
>
>
>
> we need to confirm it
Hello,
As a licensee of your 4 products,
1. Apache Jasper (subset of Apache Tomcat 5)
2. Apache Jasper (subset of Apache Tomcat 5.x)
3. Apache Servlet-API 2.4
4. apache tomcat 6.0
we need to confirm its ECCN (Export Control Classification Number] to assess
th
Hello,
As a licensee of your 4 products,
1. Apache Jasper (subset of Apache Tomcat 5)
2. Apache Jasper (subset of Apache Tomcat 5.x)
3. Apache Servlet-API 2.4
4. apache tomcat 6.0
we need to confirm its ECCN (Export Control Classification Number] to
assess the
Hi,
I'd like to deploy a WAR file to my Tomcat Server (6.0.20) and Tomcat should
deploy it to another directory.
That means, e.g. I've a file called mywebapp.war.
If I put it into the webapps folder, Tomcat would normally extract it into a
folder called "mywebapp".
I'd like to define somewhere (co
Thomas G. Lau wrote:
> Dear Mark,
>
> may I ask what did you tune on your tomcat?
Nothing. I just set maxThreads="1" to give me plenty of head room.
The tuning was all in the application.
> we are still using 5.0
5.0.x has not been supported for some time.
Mark
-
Dear Mark,
may I ask what did you tune on your tomcat? we are still using 5.0
_
Thomas Lau
Product Engineer
Product Development
NTT Com Asia Limited
Phone: +852 3793-0733
Address: 12/F., Guardian House, 32 Oi Kwan Road, Wan Chai, Hong Kong
Email: thomas@ntt.com.hk
Mark Thomas wr
Thomas G. Lau wrote:
> Dear All,
>
> I am currently testing tomcat connection limit, while doing so, I have
> meet the 1100connection limit to Tomcat server,
There is no such limit in Tomcat. I have just tested Tomcat with 3000
concurrent connections and saw zero errors. I did, however, need to t
David Wall wrote:
> I am using Tomcat 6.0.20 and have implemented the SessionListener
> interface. We can then use this to show a list of active sessions to
> our users, and when they are logged in, we even know which user is tied
> to the session. This is very handy.
I assume you mean HttpSessi
I have 2 clustered tomcat 5.5 instances running on Windows Server 2003
behind Apache load balancer (using AJP protocol)
For some urls (I cannot get the pattern), I am getting the error on
frontend. In Apache logs, I see the following:
[Thu Aug 06 17:34:19 2009] [error] (OS 10061)No connection coul
74 matches
Mail list logo