<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The conditional statement <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>#if($jca-service-selected)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>is not there in JEMS installer for
4.0.4.GA as CachedConnectionManager was commented out by default in <st1:place
w:st="on"><st1:City w:st="on">JBoss</st1:City> <st1:State w:st="on">AS</st1:State></st1:place>
4.0.4.GA. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><a
href="http://jira.jboss.com/jira/browse/JBAS-3642">http://jira.jboss.com/jira/browse/JBAS-3642</a><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Now it has been added for JBoss 4.0.5.GA<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>
<hr size=3 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> <st1:PersonName w:st="on">Scott M Stark</st1:PersonName> <br>
<b><span style='font-weight:bold'>Sent:</span></b> Sunday, October 15, 2006
9:44 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Dimitris
Andreadis</st1:PersonName><br>
<b><span style='font-weight:bold'>Cc:</span></b> Amit Bhayani;
jboss-development@lists.jboss.org; <st1:PersonName w:st="on">Adrian Brock</st1:PersonName>;
<st1:PersonName w:st="on">Gavin King</st1:PersonName>; <st1:PersonName w:st="on">Alex
Pinkin</st1:PersonName>; Remy Maucherat; <st1:PersonName w:st="on">Anil
Saldhana</st1:PersonName>; <st1:PersonName w:st="on">Scott M Stark</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Tomcat installation
of JBoss</span></font><font color=black><span style='color:windowtext'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>This really should be set conditionally based on
whether or not jca was installed. It would take a notion of template variables
that allowed for conditional inclusion of features in a descriptor that
depended on whether the feature was installed. In terms of a velocity template,
when I went to look at the current
templates/jbossweb-tomcat55.sar/META-INF/jboss-service.xml.vm, it already has
this notion:<br>
<br>
#if($jca-service-selected)<br>
<depends>jboss.jca:service=CachedConnectionManager</depends><br>
#else<br>
<!--
<depends>jboss.jca:service=CachedConnectionManager</depends>
--><br>
#end<br>
<br>
It looks like Amit already added this.<br>
<br>
<st1:PersonName w:st="on">Dimitris Andreadis</st1:PersonName> wrote: <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'><u1:p><u1:SmartTagType name="State" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></u1:SmartTagType><u1:SmartTagType name="City" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></u1:SmartTagType><u1:SmartTagType name="place" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></u1:SmartTagType>I
tried the tomcat config using the 4.0.4.GA installer and the
jbossjca-service.xml that contains the CachedConnectionManager is missing.</u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><u1:p></u1:p> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><u1:p>So I think </span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>CachedConnectionValve
should be commented out in the 'tomcat' configuration.</u1:p></span></font><o:p></o:p></p>
<blockquote style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 3.0pt;
margin-left:3.0pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=3 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Amit
Bhayani <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, October 11, 2006
3:41 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <a
href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a>;
<st1:PersonName w:st="on">Adrian Brock</st1:PersonName>; <st1:PersonName w:st="on">Dimitris
Andreadis</st1:PersonName>; <st1:PersonName w:st="on">Gavin King</st1:PersonName>;
<st1:PersonName w:st="on">Alex Pinkin</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Tomcat installation of
JBoss</span></font><u1:p></u1:p><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial'>This is regarding <a
href="http://jira.jboss.com/jira/browse/JBAS-3242">http://jira.jboss.com/jira/browse/JBAS-3242</a><u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial'><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial'>JEMS Installer has option where user can select
“tomcat” installation of JBoss. Since the CachedConnectionValve is
enabled by default from <st1:place u2:st="on"><st1:City u2:st="on"><st1:place
w:st="on"><st1:City w:st="on">JBoss</st1:City></st1:City> <st1:State u2:st="on"><st1:State
w:st="on">AS</st1:State></st1:place></st1:State></st1:place> 4.0.5 GA I was
wondering what should we do in case user selects the “tomcat”
installation as there is no connection pooling neither tx manager.<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial'><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial'>Thoughts?<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial'><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial'>Amit. <u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial'><u1:p> </u1:p></span></font><o:p></o:p></p>
</blockquote>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>