[jboss-user] [EJB3] - Re: Unwanted deployments after migrating EJB3 app from JBoss 4.2.3 to 5.1.0

Csaba Toth do-not-reply at jboss.com
Mon Nov 15 14:57:55 EST 2010


Csaba Toth [http://community.jboss.org/people/tothc] created the discussion

"Re: Unwanted deployments after migrating EJB3 app from JBoss 4.2.3 to 5.1.0"

To view the discussion, visit: http://community.jboss.org/message/571298#571298

--------------------------------------------------------------
The remote server's ejb-jar.xml:
<ejb-jar xmlns=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee"
    xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee
           http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
    version="3.0">
    <description>KeyServer</description>
    <display-name>KeyServer EJB Layer</display-name>
    <enterprise-beans>
        <session>
            <ejb-name>SecurityService</ejb-name>
            <business-remote>org.hiplab.simgap.ejb.security.SecurityService</business-remote>
            <ejb-class>org.hiplab.simgap.ejb.security.SecurityServiceBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
            <env-entry>
                <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>
                    /applicationContextKeyServer-service.xml /applicationContextKeyServer-dao.xml /applicationContextKeyServer-resources.xml
                </env-entry-value>
            </env-entry>
        </session>
        <session>
            <ejb-name>KeyManagerService</ejb-name>
            <business-remote>org.hiplab.simgap.ejb.service.KeyManagerService</business-remote>
            <ejb-class>org.hiplab.simgap.ejb.service.KeyManagerServiceBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
            <env-entry>
                <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>
                    /applicationContextKeyServer-service.xml /applicationContextKeyServer-dao.xml /applicationContextKeyServer-resources.xml
                </env-entry-value>
            </env-entry>
        </session>
        <session>
            <ejb-name>SaltManagerService</ejb-name>
            <business-remote>org.hiplab.simgap.ejb.service.SaltManagerService</business-remote>
            <ejb-class>org.hiplab.simgap.ejb.service.SaltManagerServiceBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
            <env-entry>
                <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>
                    /applicationContextKeyServer-service.xml /applicationContextKeyServer-dao.xml /applicationContextKeyServer-resources.xml
                </env-entry-value>
            </env-entry>
        </session>
    </enterprise-beans>
</ejb-jar>

jboss.xml:
<?xml version="1.0" encoding="UTF-8"?>
<jboss>
  <enterprise-beans>
    <session>
      <ejb-name>SecurityService</ejb-name>
      <jndi-name>keyserver/SecurityService</jndi-name>
    </session>
    <session>
      <ejb-name>KeyManagerService</ejb-name>
      <jndi-name>keyserver/KeyManagerService</jndi-name>
    </session>
    <session>
      <ejb-name>SaltManagerService</ejb-name>
      <jndi-name>keyserver/SaltManagerService</jndi-name>
    </session>
  </enterprise-beans>
</jboss>
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/571298#571298]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101115/d9d9d455/attachment.html 


More information about the jboss-user mailing list