2011/3/27 Henry Lu :
>What I understand is that if
> I put the db resource in the GlobalNamingResources, every app can access it.
Yes, but additional configuration is required in each of those
applications that want to a access it. Search GlobalNamingResources
and ResourceLink in the docs.
--
I found the errors. The problem is in the server.xml.
in 7.0.8, I set as following:
in the 7.0.11, it didn't work. I have to set a context for my app and
add the database resource config into the context. What I understand is
that if I put the db resource in the GlobalNamingResources,
2011/3/27 Henry Lu :
> I did downloaded tomcat 7.0.11 and tried it with same settings and apps as
> 7.0.8 this time I got the following errors which I didn't get at all:
>
> INFO: Deploying web application directory cppclient
> log4j:ERROR Error occured while sending e-mail notification.
> javax.ma
I did downloaded tomcat 7.0.11 and tried it with same settings and apps
as 7.0.8 this time I got the following errors which I didn't get at all:
INFO: Deploying web application directory cppclient
log4j:ERROR Error occured while sending e-mail notification.
javax.mail.MessagingException: Could n
It works! Thank you very much!
-Henry
On 3/27/2011 2:15 PM, Konstantin Kolinko wrote:
2011/3/27 Henry Lu:
On 3/27/2011 2:01 PM, Konstantin Kolinko wrote:
the suffix is exactly "*.jar". No other patterns are recognized.
Thank you very much for you info. here was what I did:
the suffix is ex
2011/3/27 Henry Lu :
> On 3/27/2011 2:01 PM, Konstantin Kolinko wrote:
>>
>> the suffix is exactly "*.jar". No other patterns are recognized.
>
> Thank you very much for you info. here was what I did:
>
>>> the suffix is exactly "*.jar". No other patterns are recognized.
>
> common.loader=...,${cat
On 3/27/2011 2:01 PM, Konstantin Kolinko wrote:
the suffix is exactly "*.jar". No other patterns are recognized.
Thank you very much for you info. here was what I did:
the suffix is exactly "*.jar". No other patterns are recognized.
common.loader=...,${catalina.base}/lib/my_lib/*.jar
and ev
2011/3/27 Henry Lu :
> Can some one tell me how to add a sub folder under ${catalina.base}/lib
> something like ${catalina.base}/lib/my_lib so that all my apps will share
> these jar files under my_lib? I tried to edit the catalina.properties file
> and add
>
> ${catalina.base}/lib/my_lib/*.jar
>
>