4 Replies Latest reply on Jun 7, 2004 5:39 PM by Adrian Brock

    DeploymentException

    hate12sj Newbie

      I'm getting the following exception when I'm trying to deploy a Session Bean.

      org.jboss.deployment.DeploymentException: Failed to find InvokerProxyBindingMetaData for: 'iiop'. Check the invoker-proxy-binding-name to invoker-proxy-binding/name mappings in jboss.xml


      Here's my jboss.xml

      <?xml version="1.0" encoding="UTF-8"?>
      
      <jboss>
       <enterprise-beans>
       <session>
       <ejb-name>AdminBean</ejb-name>
       <jndi-name>AdminBean</jndi-name>
       <configuration-name>Standard Stateless SessionBean</configuration-name>
       <invoker-bindings>
       <invoker>
       <invoker-proxy-binding-name>stateless-rmi-invoker</invoker-proxy-binding-name>
       </invoker>
       </invoker-bindings>
       <local-jndi-name>LocalAdminBean</local-jndi-name>
       <resource-ref>
       <res-ref-name>jdbc/myBean</res-ref-name>
       <jndi-name>java:/jdbc/myBean</jndi-name>
       </resource-ref>
       </session>
       </enterprise-beans>
      </jboss>


      Am I missing something?

      I found this http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg34889.html
      but I didn't fully understand.

      I'm using JBOSS 3.2.3

        • 1. Re: DeploymentException
          hate12sj Newbie

          Sorry, I change the <configuration-name>Standard Stateless SessionBean</configuration-name> it was iiop before, but it still give me the same error.

          I've search google, Wiki and the forum for help, but to no avail.

          Please help a brother out. :-)

          • 2. Re: DeploymentException
            hate12sj Newbie

            Here's what I see in the "standardjboss.xml"

            <container-configuration>
             <container-name>Standard Stateless SessionBean</container-name>
             <call-logging>false</call-logging>
             <container-invoker>org.jboss.proxy.ejb.ProxyFactory</container-invoker>
             <container-interceptors>
             <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
             <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
             <!-- CMT -->
            
             <interceptor transaction = "Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
             <interceptor transaction = "Container" metricsEnabled = "true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
             <interceptor transaction = "Container">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
             <!-- BMT -->
            
             <interceptor transaction = "Bean">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
             <interceptor transaction = "Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
             <interceptor transaction = "Bean" metricsEnabled = "true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor> <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
             </container-interceptors>
             <client-interceptors>
             <home>
             <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
             <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
             <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
             <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
             </home>
             <bean>
             <interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
             <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
             <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
             <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
             </bean>
             </client-interceptors>
             <instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
             <instance-cache/>
             <persistence-manager/>
             <transaction-manager>org.jboss.tm.TxManager</transaction-manager>
             <container-pool-conf>
             <MaximumSize>100</MaximumSize>
             </container-pool-conf>
             </container-configuration>


            Am I suppose to copy the entire thing in to my jboss.xml and change it to something like this?

            <?xml version="1.0" encoding="utf-8" ?>
            <jboss>
            <container-configuration>
             <container-name>Standard Stateless SessionBean</container-name>
             <call-logging>false</call-logging>
             <invoker-proxy-binding>
             <name>stateless-rmi-invoker</name>
             <invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
             <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
             <proxy-factory-config>
             <container-interceptors>
             <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
             <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
             <!-- CMT -->
            
             <interceptor transaction = "Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
             <interceptor transaction = "Container" metricsEnabled = "true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
             <interceptor transaction = "Container">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
             <!-- BMT -->
            
             <interceptor transaction = "Bean">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
             <interceptor transaction = "Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
             <interceptor transaction = "Bean" metricsEnabled = "true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor> <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
             </container-interceptors>
             <client-interceptors>
             <home>
             <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
             <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
             <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
             <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
             </home>
             <bean>
             <interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
             <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
             <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
             <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
             </bean>
             </client-interceptors>
             </proxy-factory-config>
             <instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
             <instance-cache/>
             <persistence-manager/>
             <transaction-manager>org.jboss.tm.TxManager</transaction-manager>
             <container-pool-conf>
             <MaximumSize>100</MaximumSize>
             </container-pool-conf>
             </container-configuration>
            </jboss>


            • 3. Re: DeploymentException
              hate12sj Newbie

              Anyone?

              • 4. Re: DeploymentException
                Adrian Brock Master

                Your question is? Take a step back and ask yourself; would you actually understand
                what you are asking from the information you posted?

                See the FAQ about forum usage for pointers.