[jboss-user] [EJB/JBoss] - Re: ejb application

allanrj do-not-reply at jboss.com
Mon Feb 25 07:30:03 EST 2008


Hi jaikiran,

Im using jboss 4.2.2 and java 1.6

Stacktrace:
javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.invocation.InvokerInterceptor; unable to create instance]

jboss.xml
<?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
  | 
  | <jboss>
  | 
  |    <enterprise-beans>
  | 
  |      <!--
  |        To add beans that you have deployment descriptor info for, add
  |        a file to your XDoclet merge directory called jboss-beans.xml that contains
  |        the <session></session>, <entity></entity> and <message-driven></message-driven>
  |        markup for those beans.
  |      -->
  | 
  |       <entity>
  |          <ejb-name>Sites</ejb-name>
  |          <local-jndi-name>SitesLocal</local-jndi-name>
  | 
  |         <method-attributes>
  |         </method-attributes>
  | 
  |       </entity>
  | 
  |       <session>
  |          <ejb-name>SitesSB</ejb-name>
  |          <jndi-name>SitesSB</jndi-name>
  | 
  |          <resource-ref>
  |             <res-ref-name>jdbc/APAESP</res-ref-name>
  |             <jndi-name>jdbc/APAESP</jndi-name>
  |          </resource-ref>
  |          <resource-ref>
  |             <res-ref-name>jdbc/MARLIN</res-ref-name>
  |             <jndi-name>jdbc/MARLIN</jndi-name>
  |          </resource-ref>
  |          <resource-ref>
  |             <res-ref-name>jdbc/GCM2</res-ref-name>
  |             <jndi-name>jdbc/GCM2</jndi-name>
  |          </resource-ref>
  | 
  |         <method-attributes>
  |         </method-attributes>
  |       </session>
  | 
  |     <!--
  |       write a merge file jboss-webservices.ent for webservice-description 
  |     -->
  | 
  |    </enterprise-beans>
  | 
  |      <!--
  |        To specify your own assembly descriptor info here, add a file to your
  |        XDoclet merge directory called jboss-assembly-descriptor.xml that contains
  |        the <assembly-descriptor></assembly-descriptor> markup.
  |      -->
  |    <assembly-descriptor>
  |     <!-- message destinations -->
  |      <!--
  |        To specify additional message-destination elements, add a file in the merge
  |        directory called jboss-message-destinations.ent that contains them.
  |      -->
  |    </assembly-descriptor>
  | 
  |    <resource-managers>
  |    </resource-managers>
  | 
  |   <!--
  |     | for container settings, you can merge in jboss-container.xml
  |     | this can contain <invoker-proxy-bindings/> and <container-configurations/>
  |   -->
  | 
  | </jboss>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131808#4131808

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131808



More information about the jboss-user mailing list