Sure, I would be happy to point out the differences. These are the
descriptors being used (note I did not write most of this, so I am not 100%
sure what everything is doing. I am still chewing on this problem with the
JSP:include tag and being unable to run the app using the ear file. 
iPlanet-
# cat ias-ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE ias-ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD iAS Enterprise
JavaBeans 1.0//EN'
'http://developer.iplanet.com/appserver/dtds/IASEjb_jar_1_0.dtd'>

<ias-ejb-jar>
  <enterprise-beans>
    <session>
      <ejb-name>GameStateController</ejb-name>
      <guid>{053B8760-D462-11D4-A3E6-0010A4C171BC}</guid>
      <pass-timeout>0</pass-timeout>
      <is-thread-safe>false</is-thread-safe>
      <pass-by-value>false</pass-by-value>
      <session-timeout>0</session-timeout>
    </session>
    <session>
      <ejb-name>DBWrapper</ejb-name>
      <guid>{2ccca1f8-824a-45de-8576-0832e7b7804e}</guid>
      <pass-timeout>0</pass-timeout>
      <is-thread-safe>false</is-thread-safe>
      <pass-by-value>false</pass-by-value>
      <session-timeout>0</session-timeout>
      <resource-ref>
                <res-ref-name>oltp</res-ref-name>
                <jndi-name>jdbc/mlb/oltp</jndi-name>
      </resource-ref>
      <resource-ref>
                <res-ref-name>qry</res-ref-name>
                <jndi-name>jdbc/mlb/qry</jndi-name>
      </resource-ref>
    </session>
    <session>
      <ejb-name>OrderProcessor</ejb-name>
      <guid>{6492365d-29e9-42c3-8d1b-5883e7a819c3}</guid>
      <pass-timeout>0</pass-timeout>
      <is-thread-safe>false</is-thread-safe>
      <pass-by-value>false</pass-by-value>
      <session-timeout>0</session-timeout>
    </session>
    <session>
      <ejb-name>UserProfileAdmin</ejb-name>
      <guid>{21937580-9944-11d4-a08a-000064657374}</guid>
      <pass-timeout>0</pass-timeout>
      <is-thread-safe>false</is-thread-safe>
      <pass-by-value>false</pass-by-value>
      <session-timeout>0</session-timeout>
      <ejb-ref>
        <ejb-ref-name>ejb/LdapAdmin</ejb-ref-name>
        <jndi-name>ejb/LdapAdmin</jndi-name>
      </ejb-ref>
    </session>
    <session>
      <ejb-name>LdapAdmin</ejb-name>
      <guid>{1f7166f0-957c-11d4-a083-0010a4c4739b}</guid>
      <pass-timeout>0</pass-timeout>
      <is-thread-safe>false</is-thread-safe>
      <pass-by-value>false</pass-by-value>
      <session-timeout>0</session-timeout>
    </session>
    <session>
      <ejb-name>Admin</ejb-name>
      <guid>{075444e1-b4fe-11d4-a0b4-0010a4c4739b}</guid>
      <pass-timeout>0</pass-timeout>
      <is-thread-safe>false</is-thread-safe>
      <pass-by-value>false</pass-by-value>
      <session-timeout>0</session-timeout>
    </session>
  </enterprise-beans>
</ias-ejb-jar>

jBoss-
# cat jboss.xml
<?xml version="1.0" encoding="UTF-8"?>

<jboss>
  <enterprise-beans>
    <session>
      <ejb-name>GameStateController</ejb-name>
      <jndi-name>GameStateController</jndi-name>
    </session>
    <session>
      <ejb-name>DBWrapper</ejb-name>
      <jndi-name>ejb/DBWrapper</jndi-name>
      <resource-ref>
                <res-ref-name>qry</res-ref-name>
                <jndi-name>jdbc/mlb/qry</jndi-name>
                <resource-name>qry</resource-name>
      </resource-ref>
      <resource-ref>^M
                <res-ref-name>oltp</res-ref-name>^M
                <jndi-name>jdbc/mlb/oltp</jndi-name>^M
                <resource-name>oltp</resource-name>
      </resource-ref>
    </session>
    <session>
      <ejb-name>OrderProcessor</ejb-name>
      <jndi-name>OrderProcessorEJB</jndi-name>
    </session>
    <session>
      <ejb-name>UserProfileAdmin</ejb-name>
      <jndi-name>UserProfileAdminEJB</jndi-name>
      <ejb-ref>
        <ejb-ref-name>ejb/LdapAdmin</ejb-ref-name>
        <jndi-name>LdapAdmin</jndi-name>
      </ejb-ref>
    </session>
    <session>
      <ejb-name>LdapAdmin</ejb-name>
      <jndi-name>LdapAdminEJB</jndi-name>
    </session>
    <session>
      <ejb-name>Admin</ejb-name>
      <jndi-name>AdminEJB</jndi-name>
    </session>
  </enterprise-beans>
</jboss>

-----Original Message-----
From: danch (Dan Christopherson) [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 11:27
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Is there a step by step guide to porting apps
fr om iPlanet Applic ation Server to JBoss?


What sorts of features are you using that JBoss doesn't support? 
Specifics here could save others headaches later on (and some might get 
implemented).

-danch

Samuel Bucholtz wrote:

> I fixed the descriptors, though there are a few things I had to rip out
> because JBoss does not support them that may or may not cause me problems
in
> the future. They seem to work fine right now, most of my problem was that
I
> wrote none of the code, so I was not sure what was doing what. ;-)
> 
> Samuel
> 
> -----Original Message-----
> From: danch (Dan Christopherson) [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 10, 2001 17:44
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Is there a step by step guide to porting apps
> fr om iPlanet Applic ation Server to JBoss?
> 
> 
> Samuel Bucholtz wrote:
> 
> 
>>Thanks,
>>
>>It is actually pretty simple. There are only a few beans and no entity
>>
> beans
> 
>>at all.
>>
>>I just keep getting the same error, and have no clue what it is trying to
>>ask for.
>>
>>org.jboss.ejb.DeploymentException: expected only one assembly-descriptor
>>
> tag
> 
> 
> 
> If you're still having problems with this, send me your descriptors.
> 
> -danch
> 
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to