<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
@Service Annotation in JBoss6 not solved
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/catares">Carmen Teich</a> in <i>EJB3</i> - <a href="http://community.jboss.org/message/625288#625288">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hello,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I have a Bean wich have  the Annotations: (using JBoss6.1Final)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>import org.jboss.ejb3.annotation.Depends;</p><p>import org.jboss.ejb3.annotation.Service;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>@Service(objectName="eDesk:service=IndexingService")</p><p>@Depends("jboss.jca:service=ConnectionFactoryDeployer")</p><p>public class SearchEngineImpl extends ServiceMBeanSupport implements SearchEngine {</p><p>...</p><p>}</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>My problem is, that JBoss the two services </p><p>(1) eDesk:service=IndexingService and </p><p>(2) jboss.jca:service=ConnectionFactoryDeployer </p><p>are not installed  (not seen at JMX-Console)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The service jboss.jca:service=ConnectionFactoryDeployer is defined in the file: jbossjca-service.xml</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre"><code class="jive-code"><?xml version="1.0" encoding="UTF-8"?>
<!-- ===================================================================== -->
<!--                                                                       -->
<!--  JBoss JCA Configuration                                              -->
<!--                                                                       -->
<!-- ===================================================================== -->
<!-- $Id: jbossjca-service.xml 37786 2005-11-02 20:35:46Z adrian $ -->
<!--
   |  This contains configuration for the RARDeployer
      and some xsl based deployers.
-->
<server>
  <!-- ==================================================================== -->
  <!-- JBossCX setup, for J2EE connector architecture support               -->
  <!-- The RARDeployer is needed only until xslt based deployment is written.-->
  <!-- ==================================================================== -->
  <mbean code="org.jboss.util.threadpool.BasicThreadPool"
         name="jboss.jca:service=WorkManagerThreadPool">
     <!-- The name that appears in thread names -->
     <attribute name="Name">WorkManager</attribute>
     <!-- The maximum amount of work in the queue -->
     <attribute name="MaximumQueueSize">1024</attribute>
     <!-- The maximum number of active threads -->
     <attribute name="MaximumPoolSize">100</attribute>
     <!-- How long to keep threads alive after their last work (default one minute) -->
     <attribute name="KeepAliveTime">60000</attribute>
  </mbean>
  <mbean code="org.jboss.resource.work.JBossWorkManager"
         name="jboss.jca:service=WorkManager">
     <depends optional-attribute-name="ThreadPoolName">jboss.jca:service=WorkManagerThreadPool</depends>
     <depends optional-attribute-name="XATerminatorName">jboss:service=TransactionManager</depends>
  </mbean>
  <mbean code="org.jboss.resource.deployment.RARDeployer"
          name="jboss.jca:service=RARDeployer">
      <depends optional-attribute-name="WorkManagerName">jboss.jca:service=WorkManager</depends>
     <depends optional-attribute-name="XATerminatorName">jboss:service=TransactionManager</depends>
  </mbean>
  <mbean code="org.jboss.deployment.XSLSubDeployer" name="jboss.jca:service=ConnectionFactoryDeployer">
    <attribute name="DdSuffix">-ds.xml</attribute>
    <attribute name="EnhancedSuffixes">300:-ds.xml</attribute>
    <attribute name="XslUrl">stylesheets/ConnectionFactoryTemplate.xsl</attribute>
    <attribute name="ValidateDTDs">false</attribute>
  </mbean>
  <!--
     | The CachedConnectionManager is used partly to relay started UserTransactions to
     | open connections so they may be enrolled in the new tx.
   -->
  <mbean code="org.jboss.resource.connectionmanager.CachedConnectionManager"
         name="jboss.jca:service=CachedConnectionManager">
    <depends optional-attribute-name="TransactionManagerServiceName">jboss:service=TransactionManager</depends>
    <!-- Enable connection close debug monitoring -->
    <attribute name="Debug">true</attribute>
  </mbean>
</server></code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The Server install only two services from this xml-file, all other services wehre not installed.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Please help me..I need this services!!!!!!</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/625288#625288">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in EJB3 at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>