Exception from weblogic.ejbc trade.jar, help for that please.

I am using weblogic 7.0.4 and this is the exception thrown out when I use weblogic.ejbc
to generate container classes before building web services:
C:\Java\test>java weblogic.ejbc trader.jar
Exception in thread "main" java.io.InvalidClassException: javax.management.MBean
AttributeInfo; local class incompatible: stream classdesc serialVersionUID = 704
3855487133450673, local class serialVersionUID = 8644704819898565848
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:454)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
1)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
1)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
1)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
616)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1593)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1261)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:18
30)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
636)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:281)
at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
.java:186)
at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
.java:169)
at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
mentMBeanDelegate.java:67)
at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
mentMBeanDelegate.java:51)
at weblogic.management.descriptors.BaseXMLElementMBeanImpl.<init>(BaseXM
LElementMBeanImpl.java:8)
at weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.<init
(EJBDescriptorMBeanImpl.java:94)at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:212)
at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
a:105)
at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
a:90)
at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:670)
at weblogic.ejbc20.runBody(ejbc20.java:425)
at weblogic.utils.compiler.Tool.run(Tool.java:126)
at weblogic.ejbc.main(ejbc.java:29)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: - with nested excepti
on:
[java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class
incompatible: stream classdesc serialVersionUID = 7043855487133450673, local cl
ass serialVersionUID = 8644704819898565848]
at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:286)
at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
.java:186)
at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
.java:169)
at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
mentMBeanDelegate.java:67)
at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
mentMBeanDelegate.java:51)
at weblogic.management.descriptors.BaseXMLElementMBeanImpl.<init>(BaseXM
LElementMBeanImpl.java:8)
at weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.<init
(EJBDescriptorMBeanImpl.java:94)at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:212)
at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
a:105)
at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
a:90)
at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:670)
at weblogic.ejbc20.runBody(ejbc20.java:425)
at weblogic.utils.compiler.Tool.run(Tool.java:126)
at weblogic.ejbc.main(ejbc.java:29)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationError: No MBeanInfo found for MBe
an with name = null, type = EJBDescriptor, Class = weblogic.management.descripto
rs.toplevel.EJBDescriptorMBeanImpl - with nested exception:
[weblogic.management.configuration.ConfigurationException:  - with nested except
ion:
[java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class
incompatible: stream classdesc serialVersionUID = 7043855487133450673, local cl
ass serialVersionUID = 8644704819898565848]]
at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
.java:193)
at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
.java:169)
at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
mentMBeanDelegate.java:67)
at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
mentMBeanDelegate.java:51)
at weblogic.management.descriptors.BaseXMLElementMBeanImpl.<init>(BaseXM
LElementMBeanImpl.java:8)
at weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.<init
(EJBDescriptorMBeanImpl.java:94)at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:212)
at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
a:105)
at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
a:90)
at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:670)
at weblogic.ejbc20.runBody(ejbc20.java:425)
at weblogic.utils.compiler.Tool.run(Tool.java:126)
at weblogic.ejbc.main(ejbc.java:29)

Hello,
I don't know...but the good folks that monitor the EJB newsgroup [1]
would have a better shot at an answer.
Regards,
Bruce
[1]
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.ejb
CottonXu wrote:
>
I am using weblogic 7.0.4 and this is the exception thrown out when I use weblogic.ejbc
to generate container classes before building web services:
C:\Java\test>java weblogic.ejbc trader.jar
Exception in thread "main" java.io.InvalidClassException: javax.management.MBean
AttributeInfo; local class incompatible: stream classdesc serialVersionUID = 704
3855487133450673, local class serialVersionUID = 8644704819898565848
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:454)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
1)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
1)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
1)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
616)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1593)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1261)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:18
30)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
636)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:281)
at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
.java:186)
at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
.java:169)
at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
mentMBeanDelegate.java:67)
at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
mentMBeanDelegate.java:51)
at weblogic.management.descriptors.BaseXMLElementMBeanImpl.<init>(BaseXM
LElementMBeanImpl.java:8)
at weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.<init
(EJBDescriptorMBeanImpl.java:94)at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:212)
at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
a:105)
at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
a:90)
at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:670)
at weblogic.ejbc20.runBody(ejbc20.java:425)
at weblogic.utils.compiler.Tool.run(Tool.java:126)
at weblogic.ejbc.main(ejbc.java:29)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: - with nested excepti
on:
[java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class
incompatible: stream classdesc serialVersionUID = 7043855487133450673, local cl
ass serialVersionUID = 8644704819898565848]
at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:286)
at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
.java:186)
at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
.java:169)
at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
mentMBeanDelegate.java:67)
at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
mentMBeanDelegate.java:51)
at weblogic.management.descriptors.BaseXMLElementMBeanImpl.<init>(BaseXM
LElementMBeanImpl.java:8)
at weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.<init
(EJBDescriptorMBeanImpl.java:94)at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:212)
at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
a:105)
at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
a:90)
at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:670)
at weblogic.ejbc20.runBody(ejbc20.java:425)
at weblogic.utils.compiler.Tool.run(Tool.java:126)
at weblogic.ejbc.main(ejbc.java:29)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationError: No MBeanInfo found for MBe
an with name = null, type = EJBDescriptor, Class = weblogic.management.descripto
rs.toplevel.EJBDescriptorMBeanImpl - with nested exception:
[weblogic.management.configuration.ConfigurationException:  - with nested except
ion:
[java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class
incompatible: stream classdesc serialVersionUID = 7043855487133450673, local cl
ass serialVersionUID = 8644704819898565848]]
at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
.java:193)
at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
.java:169)
at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
mentMBeanDelegate.java:67)
at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
mentMBeanDelegate.java:51)
at weblogic.management.descriptors.BaseXMLElementMBeanImpl.<init>(BaseXM
LElementMBeanImpl.java:8)
at weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.<init
(EJBDescriptorMBeanImpl.java:94)at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:212)
at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
a:105)
at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
a:90)
at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:670)
at weblogic.ejbc20.runBody(ejbc20.java:425)
at weblogic.utils.compiler.Tool.run(Tool.java:126)
at weblogic.ejbc.main(ejbc.java:29)

Similar Messages

  • I would like to send pics from my windows computer to my iPhone using bluetooth. I had it paired but somehow it cannot the download the software and is asking to usa a disk instead. Where or how can I download the software available for that, please reply

    I would like to send pics from my windows computer to my iPhone using bluetooth. I had it paired but somehow it cannot the download the software and is asking me to usa a disk instead. Where or how can I download the software available for that, please reply... thaks. (",)

    Bluetooth file transfer has never been supported with iOS devices.

  • When I bought things from games, the game always show me that please connect iTunes Store to complete this trancation. I think my visa has enough money!

    When I bought things from games, the game always show me that please connect iTunes Store to complete this trancation. I think my visa has enough money!

    These are user-to-user forums, you can contact iTunes support via this page and ask them why the message is appearing (we won't know why) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • HT204396 When I try to buy gems from clash of clain I have massage that please Waite transaction is prossing

    When I try to buy gems from clash of clain I have massage that please Waite transaction is prossing

    Hi ,
    Just sign out from your account and sing in again if you show the same message clos the app iTunes Store and reopen and try to purchase your app.

  • Weblogic-cmp-rdbms-jar.xml for One-To-Many unidirectional relationship

    hi,
    I am trying to create a simple cmp One-To-Many unidirectional relationship and deploy the same in weblogic. Can someone help me with the weblogic-cmp-rdbms-jar.xml. Am attaching the weblogic-cmp-rdbms-jar. xml tht i am using as also the corresponding ejb-jar.xml. Pls. note tht i want a unidirectional relationship here. one i am tryng However i get this error:
    Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was: Role 'Supplier supplies Products' of relationship 'Product Supplier' contains an invalid key-column value of 'productID'. The key-column must specify a primary key column in the related bean. However, there is no primary key column named 'productID' defined in the related bean 'ProductEJB' or else 'productID' is not being recognized due to case mismatch. My weblogic-cmp-rdbms-jar
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-rdbms-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB RDBMS Persistence//EN' 'http://www.bea.com/servers/wls810/dtd/weblogic-rdbms-jar.dtd'>
    <weblogic-rdbms-jar>
    <weblogic-rdbms-bean>
         <ejb-name>SupplierEJB</ejb-name>
         <data-source-name>RJDataSource</data-source-name>
         <table-map>
               <table-name>AA_Supplier</table-name>
               <field-map>
                     <cmp-field>supplierID</cmp-field>
                     <dbms-column>supplierID</dbms-column>
               </field-map>
               <field-map>
                    <cmp-field>name</cmp-field>
                    <dbms-column>name</dbms-column>
               </field-map>
         </table-map>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
           <ejb-name>ProductEJB</ejb-name>
           <data-source-name>RJDataSource</data-source-name>
           <table-map>
                 <table-name>AA_Product</table-name>
                 <field-map>
                      <cmp-field>productID</cmp-field>
                      <dbms-column>productid</dbms-column>
                 </field-map>
                 <field-map>
                      <cmp-field>description</cmp-field>
                      <dbms-column>description</dbms-column>
                 </field-map>
                 <field-map>
                      <cmp-field>basePrice</cmp-field>
                      <dbms-column>baseprice</dbms-column>
                 </field-map>
                <field-map>
                      <cmp-field>name</cmp-field>
                      <dbms-column>name</dbms-column>
                 </field-map>
                 <field-map>
                     <cmp-field>supplierID</cmp-field>
                       <dbms-column>supplierID</dbms-column>
                 </field-map>
            </table-map>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-relation>
         <relation-name>Product Supplier</relation-name>
         <weblogic-relationship-role>
              <relationship-role-name>Supplier supplies Products</relationship-role-name>
              <relationship-role-map>
                   <column-map>
                        <foreign-key-column>supplierID</foreign-key-column>
                        <key-column>productID</key-column>
                   </column-map>
              </relationship-role-map>
         </weblogic-relationship-role>
         <weblogic-relationship-role>
              <relationship-role-name>Product supplied by Supplier</relationship-role-name>
              <relationship-role-map>
              <column-map>
                   <foreign-key-column>products</foreign-key-column>
                   <key-column>supplierID</key-column>
              </column-map>
              </relationship-role-map>
         </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    </weblogic-rdbms-jar> My ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
         <enterprise-beans>
         <entity>
              <ejb-name>SupplierEJB</ejb-name>
              <home>com.tpt.practice.entityBeans.cmp.product.relationship.SupplierHome</home>
              <remote>com.tpt.practice.entityBeans.cmp.product.relationship.Supplier</remote>
              <ejb-class>com.tpt.practice.entityBeans.cmp.product.relationship.SupplierEJB</ejb-class>
              <persistence-type>Container</persistence-type>
              <prim-key-class>java.lang.String</prim-key-class>
              <reentrant>False</reentrant>
              <cmp-version>2.x</cmp-version>
              <abstract-schema-name>AA_Supplier</abstract-schema-name>
              <cmp-field>
                   <field-name>supplierID</field-name>
              </cmp-field>
              <cmp-field>
                   <field-name>name</field-name>
              </cmp-field>
              <primkey-field>supplierID</primkey-field>
              <ejb-ref>
                        <ejb-ref-name>ProducEJB</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <home>com.tpt.practice.entityBeans.cmp.product.ProductHome</home>
                        <remote>com.tpt.practice.entityBeans.cmp.product.Product</remote>
                        <ejb-link>ProductEJB#ProductEJB.jar</ejb-link>
              </ejb-ref>
              <query>
                   <query-method>
                        <method-name>findByName</method-name>
                        <method-params>
                             <method-param>java.lang.String</method-param>
                        </method-params>
                   </query-method>
                   <ejb-ql>
                        <![CDATA[SELECT OBJECT(a) FROM AA_Supplier AS a WHERE a.name =
                        ?1]]>
                   </ejb-ql>
              </query>
              <query>
                   <query-method>
                        <method-name>findAllSuppliers</method-name>
                        <method-params>
                        </method-params>
                   </query-method>
                   <ejb-ql>
                        <![CDATA[SELECT OBJECT(a) FROM AA_Supplier AS a WHERE a.supplierID
                        IS NOT NULL]]>
                   </ejb-ql>
              </query>
         </entity>
         <entity>
              <ejb-name>ProductEJB</ejb-name>
              <home>com.tpt.practice.entityBeans.cmp.product.relationship.ProductHome</home>
              <remote>com.tpt.practice.entityBeans.cmp.product.relationship.Product</remote>
              <local-home>com.tpt.practice.entityBeans.cmp.product.relationship.ProductLocalHome</local-home>
              <local>com.tpt.practice.entityBeans.cmp.product.relationship.ProductLocal</local>
              <ejb-class>com.tpt.practice.entityBeans.cmp.product.relationship.ProductEJB</ejb-class>
              <persistence-type>Container</persistence-type>
              <prim-key-class>com.tpt.practice.entityBeans.cmp.product.relationship.ProductPK</prim-key-class>
              <reentrant>False</reentrant>
              <cmp-version>2.x</cmp-version>
              <abstract-schema-name>AA_Product</abstract-schema-name>
              <cmp-field>
                   <field-name>productID</field-name>
              </cmp-field>
              <cmp-field>
                   <field-name>name</field-name>
              </cmp-field>
              <cmp-field>
                   <field-name>description</field-name>
              </cmp-field>
              <cmp-field>
                   <field-name>basePrice</field-name>
              </cmp-field>
              <cmp-field>
                   <field-name>supplierID</field-name>
              </cmp-field>
              <primkey-field>productID</primkey-field>
              <query>
                   <query-method>
                        <method-name>findByName</method-name>
                        <method-params>
                             <method-param>java.lang.String</method-param>
                        </method-params>
                   </query-method>
                   <ejb-ql>
                        <![CDATA[SELECT OBJECT(a) FROM AA_Product AS a WHERE a.name =
                        ?1]]>
                   </ejb-ql>
              </query>
              <query>
                   <query-method>
                        <method-name>findByDescription</method-name>
                        <method-params>
                             <method-param>java.lang.String</method-param>
                        </method-params>
                   </query-method>
                   <ejb-ql>
                        <![CDATA[SELECT OBJECT(a) FROM AA_Product AS a WHERE a.description
                        = ?1]]>
                   </ejb-ql>
              </query>
              <query>
                   <query-method>
                        <method-name>findByBasePrice</method-name>
                        <method-params>
                             <method-param>double</method-param>
                        </method-params>
                   </query-method>
                   <ejb-ql>
                        <![CDATA[SELECT OBJECT(a) FROM AA_Product AS a WHERE a.basePrice =
                        ?1]]>
                   </ejb-ql>
              </query>
              <query>
                   <query-method>
                        <method-name>findExpensiveProducts</method-name>
                        <method-params>
                             <method-param>double</method-param>
                        </method-params>
                   </query-method>
                   <ejb-ql>
                        <![CDATA[SELECT OBJECT(a) FROM AA_Product AS a WHERE a.basePrice >
                        ?1]]>
                   </ejb-ql>
              </query>
              <query>
                   <query-method>
                        <method-name>findCheapProducts</method-name>
                        <method-params>
                             <method-param>double</method-param>
                        </method-params>
                   </query-method>
                   <ejb-ql>
                        <![CDATA[SELECT OBJECT(a) FROM AA_Product AS a WHERE a.basePrice <
                        ?1]]>
                   </ejb-ql>
              </query>
              <query>
                   <query-method>
                        <method-name>findAllProducts</method-name>
                        <method-params>
                        </method-params>
                   </query-method>
                   <ejb-ql>
                        <![CDATA[SELECT OBJECT(a) FROM AA_Product AS a WHERE a.productID
                        IS NOT NULL]]>
                   </ejb-ql>
              </query>
         </entity>
         </enterprise-beans>
         <relationships>
         <ejb-relation>
              <ejb-relation-name>Product Supplier</ejb-relation-name>
              <ejb-relationship-role>
                   <ejb-relationship-role-name>Supplier supplies Products</ejb-relationship-role-name>
                   <multiplicity>One</multiplicity>
                   <relationship-role-source>
                        <ejb-name>SupplierEJB</ejb-name>
                   </relationship-role-source>
                   <cmr-field>
                        <cmr-field-name>products</cmr-field-name>
                        <cmr-field-type>java.util.Collection</cmr-field-type>
                   </cmr-field>
              </ejb-relationship-role>
              <ejb-relationship-role>
                   <ejb-relationship-role-name>Product supplied by Supplier</ejb-relationship-role-name>
                   <multiplicity>Many</multiplicity>
                   <relationship-role-source>
                        <ejb-name>ProductEJB</ejb-name>
                   </relationship-role-source>
              </ejb-relationship-role>
         </ejb-relation>
         </relationships>
         <assembly-descriptor>
              <container-transaction>
              <method>
                   <ejb-name>SupplierEJB</ejb-name>
                   <method-intf>Remote</method-intf>
                   <method-name>*</method-name>
              </method>
              <trans-attribute>Required</trans-attribute>
              </container-transaction>
         </assembly-descriptor>
    </ejb-jar>

    I think u r some confusion with productID and SuppliedID . primary key of one column( productId ) can be a foreign key of other table colum( SuppliedID). but foreign key( SuppliedID) can not be a primary key of second table .u declared SuppliedId as primary key . so ur mapping is incorrect.

  • Weblogic.ejbc client.jar

    weblogic.ejbc creates a client.jar when run from command prompt but when called from ant tool it does not create client.jar

    Hi Arvind,
    Do you get any errors when calling ejbc from ant?
    Regards,
    Slava Imeshev
    "Arvind Naik" <[email protected]> wrote in message
    news:[email protected]..
    weblogic.ejbc creates a client.jar when run from command prompt but whencalled from ant tool it does not create client.jar

  • I need Help for that program

    i do aprogram for sample calculator by Java there it , i Hope if u have any sugesst say to me Or if u have a program for that.
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Z extends Applet implements ActionListener {
         int n4=0;
         StringBuffer E;
         Character x;
         String s;
         TextField T1;
         public void init(){
              T1=new TextField(20);
              this.add(T1);
         Button a=new Button("2");
         this.add(a);
         a.setActionCommand("2");
         a.addActionListener(this);
         Button b=new Button("3");
         b.setActionCommand("3");
         this.add(b);
         b.addActionListener(this);
         Button d=new Button("-");
         this.add(d);
         d.setActionCommand("-");
         d.addActionListener(this);
              Button f=new Button("+");
         this.add(f);
         f.setActionCommand("+");
         f.addActionListener(this);
    Button c=new Button("=");
         this.add(c);
    c.setActionCommand("+");
    c.addActionListener(this);}
    public void actionPerformed(ActionEvent y){
         s=(y.getActionCommand());
         E=new StringBuffer();
                   x= new Character (s.charAt(0));
         E.append(x.charValue());
              if(E.length() ==3){
                   Character n=new Character(E.charAt(0));
                        Character m=new Character(E.charAt(2));
                   int n1=Integer.parseInt(n.toString());
                   int n2=Integer.parseInt(m.toString());
              if(E.charAt(1)=='+'){
                   n4=n1+n2;}
                   if(E.charAt(1)=='-'){
                   n4=n1-n2;}
                   if(E.charAt(1)=='*'){
                   n4=n1*n2;}
                   if(E.charAt(1)=='/'){
                   n4=n1/n2;}
                   if(s=="="){
                   T1.setText(String.valueOf(n4));
         

    the program is used for do acalculature, i want to know ,why he donot work? .The idea of that program it
    When u click in any number(button) the action performed get that number , and store it in StringBuffer which that stringbuffer enabel me to store three things(the first number, the sign which be *or+, and the secand number)
    and then put the result in variable and then put the result as aString in Text Field.
    I hope u can understand me now and help me for that program, If u donot understand me ,Please Sugesst to me how to do the calculature program.thanks
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Z extends Applet implements ActionListener {
         int n4=0;
         StringBuffer E;
         Character x;
         String s;
         TextField T1;
         public void init(){
              T1=new TextField(20);
              this.add(T1);
         Button a=new Button("2");
         this.add(a);
         a.setActionCommand("2");
         a.addActionListener(this);
         Button b=new Button("3");
         b.setActionCommand("3");
         this.add(b);
         b.addActionListener(this);
         Button d=new Button("-");
         this.add(d);
         d.setActionCommand("-");
         d.addActionListener(this);
              Button f=new Button("+");
         this.add(f);
         f.addActionListener(this);
    Button c=new Button("=");
         this.add(c);
         c.setActionCommand("=");
    c.addActionListener(this);
    public void actionPerformed(ActionEvent y){
         s=(y.getActionCommand());
         E=new StringBuffer();
                   x= new Character (s.charAt(0));
         E.append(x.charValue());
              if(E.length() ==3){
                   Character n=new Character(E.charAt(0));
                        Character m=new Character(E.charAt(2));
                   int n1=Integer.parseInt(n.toString());
                   int n2=Integer.parseInt(m.toString());
              if(E.charAt(1)=='+'){
                   n4=n1+n2;}
                   if(E.charAt(1)=='-'){
                   n4=n1-n2;}
                   if(E.charAt(1)=='*'){
                   n4=n1*n2;}
                   if(E.charAt(1)=='/'){
                   n4=n1/n2;}
                   if(s=="="){
                   T1.setText(String.valueOf(n4));
         

  • JAXRPC.TIE.01 exception from Sun App Server 8.1 for Mozilla client

    Trying to access with Moziall/Firefox web service implementation the simple sayHello stateless session bean sample from J2EE 1.4 tutorial. WSDL parsing works, but when I try to call sayHello, I do get
    JAXRPC.TIE.01: caught exception while handling request: unexpected element name: expected=String_1, actual={urn:Foo}String_1.
    Seems to be a problem with the targetNamespace/typeNamespace stuff.
    My test.html
    <html>
    <head>
    <script src="test.js"></script>
    </head>
    <body>
    <h1>Bart!</h1>
    <form>
    <input type="text" name="bounceThis" value="bounce me">
    <input type="button" onclick="Bounce(document.forms[0].bounceThis.value);" value="Bounce!">
    </form>
    <h3>Results</h3>
    <ol>
    <div id="resultsList">
    <li>nothing yet ...</li>
    </div>
    </ol>
    </body>
    </html>
    My test.js
    var proxy=null;
    var wsdl_uri="/test-ejb/wuerg?WSDL";
    function Bounce(value)
    if(!proxy)
    var listener=
    onLoad: function(aProxy)
    proxy=aProxy;
    proxy.setListener(listener);
    alert("Ok!"); // WSDL parsing worked
    bounceText(value);
    onError: function(aError)
    alert("ERROR in proxy!\n" + aError);
    var fault = aError.data;
    if(fault!=null)
    alert("SOAP Fault:\n" +
    "\nfaultCode: " + fault.faultCode +
    "\nfaultString: " + fault.faultString +
    "\nfaultString: " + fault.detail
    sayHelloCallback : function(aValue)
    aValue=("<li>" + aValue + "</li>" +
    document.getElementById("resultsList").innerHTML);
    document.getElementById("resultsList").innerHTML=aValue;
    createProxy(listener);
    } else {
    bounceText(value);
    function createProxy(aCreationListener)
    try
    var factory = new WebServiceProxyFactory();
    factory.createProxyAsync(wsdl_uri, "WuergPort", "", true, aCreationListener);
    //factory.createProxyAsync(wsdl_uri, "HelloIFPort", "", true, aCreationListener);
    catch(ex)
    alert("ERROR in createProxy()!\n" + ex);
    function bounceText(value)
    if(proxy)
    //proxy.sayHello(value);
    proxy.sayHello("wuerg");
    else
    alert("ERROR in bounceText()!\n" + "Proxy set up not complete!");
    My WSDL
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:Foo" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="WuergService" targetNamespace="urn:Foo">
    <types/>
    <message name="Wuerg_sayHello">
    <part name="String_1" type="xsd:string"/></message>
    <message name="Wuerg_sayHelloResponse">
    <part name="result" type="xsd:string"/></message>
    <portType name="Wuerg">
    <operation name="sayHello" parameterOrder="String_1">
    <input message="tns:Wuerg_sayHello"/>
    <output message="tns:Wuerg_sayHelloResponse"/></operation></portType>
    <binding name="WuergBinding" type="tns:Wuerg">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="sayHello">
    <soap:operation soapAction=""/>
    <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:Foo"/></input>
    <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:Foo"/></output></operation></binding>
    <service name="WuergService">
    <port name="WuergPort" binding="tns:WuergBinding">
    <soap:address location="http://localhost:5000/test-ejb/wuerg" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/></port></service></definitions>
    The WSDL is generated with J2EE 1.4 Sun RI wscompile, no wsi feature.
    Interesting thing: same sample deployed at WebSphere 6.0 works fine with Mozilla! So I guess WebSphere is a bit more sloppy or so in processing incoming SOAP requests ...
    Perhaps anybody at Sun could try to test a simple web service with Mozilla or Firefox on the client side ...
    Merten

    Maybe someone could help me here.
    The SOAP request/response is here:
    request:
    ... User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040608 Firefox/0.8.0+..Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5..Accept-Language: en-us,en;q=0.5..Accept-Encoding: gzip,deflate..Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7..Keep-Alive: 300..Connection: keep-alive..SOAPAction: ..Content-Type: text/xml..Content-Length: 430..Pragma: no-cache..Cache-Control: no-cache....<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xs="http://www.w3.org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"><env:Header/><env:Body><a0:sayHello xmlns:a0="urn:Foo"><a0:String_1 xsi:type="xs:string">wuerg</a0:String_1></a0:sayHello></env:Body></env:Envelope>..
    response:
    <?xml version="1.0" encoding="UTF-8"?>..<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="urn:Foo" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Body><env:Fault><faultcode>env:Client</faultcode><faultstring>JAXRPC.TIE.01: caught exception while handling request: unexpected element name: expected=String_1, actual={urn:Foo}String_1</faultstring></env:Fault></env:Body></env:Envelope>..0....
    This is a working request (from MS SOAP Toolkit)
    ... Content-Type: text/xml; charset="UTF-8"..User-Agent: SOAP Toolkit 3.0...
    <?xml version="1.0" encoding="UTF-8" standalone="no"?><SOAP-ENV:Envelope xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema" xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAPSDK4:sayHello xmlns:SOAPSDK4="urn:Foo"><String_1>Rums!</String_1></SOAPSDK4:sayHello></SOAP-ENV:Body></SOAP-ENV:Envelope>
    So, the "String_1" parameter is really send in different ways. :-)
    Again, WebSphere 6.0 seems to accept both "formats".
    Thanx for any help.
    Merten

  • Upgrading to Unity 4.0(5) from 4.0(2) documentation help for Cobras export

    I'm upgrading our Unity 4.0(2)  to unity connection 8.x. I know that I'll need to use COBRAS to migrate the data however, it looks like I have to at least upgrade the unity server to 4.0(5), thank you Chris Dean for confirming the correct path, beofre I can even use COBRAS to export the data.
    Theres little info on how to do this. I found the 4.0(5) release notes that have be download two Cisco Unity 4.0(5) CD's however, there is no info where to go from there. Do I boot off the CD's run the CUInstallexe. on the CD...will this preserve my data or overwrite my current install of Cisco Unity?
    Anyone have any gotchas in this setup. Again my goal is just to get Unity to a version so I can use COBRAS.
    http://www.cisco.com/en/US/partner/docs/voice_ip_comm/unity/405/release/notes/cu405rn.html#wp417468
    Thanks,
    Dan

    Hi,
    COBRAS tools supports backups from 4.0(3). But it's fine you can jup to 4.0(5)
    http://www.ciscounitytools.com/Applications/General/COBRAS/Help/COBRAS_Briefcase/COBRAS_Briefcase.htm#_Toc330199754
    The link we had for upgrading to 4.0(5) seems to be broken, it redirects you to the EoS/EoL notice for unity 4.X. This is a minor upgrade and basically you'll need to take a DIRT backup (in case anything goes wrong you can go back to the current version). You ca check the DB status running a DBwalker and then you'll basically need to run the CUInstall.exe from the install CD/DVD.
    Regards, 
    Tere. 
    If you find this post helpful, please rate!

  • Can I install windows 7 on a potable Hard Drive using boot camp? or any other way to do so?? need help for college please

    I need to use windows in order to use Visual C++ for college but I don't have enough space in my internal Hard Drive so I want to install windows 7using boot camp or any other method on a portable hard drive and boot from it.
    Please help I need it as soon as possible for school. Thanks

    You can't boot Windows natively except on internal drives.
    You can use a VM and put the VM image (VHD) anywhere any drive you want.
    You are way too low on disk space, seriously so. And no room - even Windows and Mac OS should be warning and balking already.
    "emulator" is an old-school term, even true, running a Guest OS under Mac's as a virtual machine, shared resources (RAM, processor) is easier but not the same performance level as running natively.
    Comparison of VMware Fusion Parallels VirtualBox
    This just posted, an FAQ for Lion and Boot Camp 4.0
    Boot Camp 4.0, OS X Lion: Frequently asked questions

  • My iMail will download from 1 account but wont from.... HELP...PLEASE...

    Hello
    if you could offer any assistance i would much appreciate it, I an using OS X 10.3.9 on my iBook G4 it has always worked perfect til now, when using the email program i have two accounts servers that i pull mail off of the last two weeks when pulling mail off the servers if i have any mail on one of the servers the email system crash's. I have zap the server many times thinking it was a bad email that it cant pull off but that is not the problem... I know it isnt my server because i can use other MS email clients and they work perfectly... but as we al know a true apple user needs to keep away from those MS programs... i hope what i typed made sense and if anyone can help i will be very grateful... thank you
    [email protected]

    amylulu1 wrote:
    the ipad 2 is running snow leopard,
    No it's not.
    the ipad 2 is running snow leopard, it is linked to my new mobile me id.  when i tried to import songs purchased with the old account, the ipad was not authorized to play them
    Where did you try to import them to?
    ps+last question:  my ex left a bunch of song on my music library that i am not authorized to play__ any was to do a quick search for   his downloaded music and junk it so doesnt take up space in my library?
    See this script -> http://dougscripts.com/itunes/scripts/ss.php?sp=trackdownpurchases

  • No sound except Flash, volume control doesn't work for that.

    My sound seems to be cursed. Everything else works fine for me, but in the few years I've been using Arch I've been plagued by constant sound problems. Apparently something in a recent update broke my sound. I get no sound for anything but Flash, except Flash sound is SUPER LOUD, and doesn't adjust with the volume control. Everything else, there's just no sound. Not in VLC, Amarok, Battle for Wesnoth, or other various programs I tried. I tried VLC using the default sound output, the pulse output, and even the ALSA output just for the heck of it. No dice. I was reading in another similar topic that KDE might be the culprit, and indeed I'm using Pulse and KDE. My asound.conf is the default one that comes with the pulseaudio-alsa package. I've tried both gstreamer and xine as backends, they both have the same problem. In pavucontrol, it looks like sound is playing. If I play music or a test sound, the sound bar moves, but you still can't hear anything.
    Now here's where it gets weird. Selecting a device within Phonon is screwy. In the output section, the devices listed are as follows. All but the top one are grayed out.
    Internal Audio Digital Stereo (IEC958)
    Internal Audio Digital Stereo
    Dummy Output
    Internal Audio Analog Surround 4.1
    Internal Audio Analog Surround 4.0
    Now, in the audio capture section, the devices are different.
    Internal Audio Analog Stereo
    NVidia CK804 with ALC655 (NVidia CK804)
    NVidia CK804 with ALC655 (NVidia CK804 - MIC ADC)
    Pulse Audio
    In that list, pulse is greyed out. Are they supposed to be different like that?
    In any case... I'm at a bit of a loss. I just can't seem to keep the sound working on this thing. Any ideas?

    I think I encountered the sound problem too. I'm using a thinkpad T42, installed gnome, using ALSA. Normally I just enter runlevel 3 into the console, I have ALSA configed and the soundcard is well recognized. But when I play .mp3 using mpg123, everything goes fine but just no sound output (I setted up alsamixer previously, and had all necessary channels unmuted.). That goes several days. And one day, after setting up alsamixer, I also did a alsactl -f /var/lib/alsa/asound.status store, miracle the sound is there. But the day after, the sound disappeared again. Now I'm totally lost, leaving me thinking whether it's a Arch sound bug?
    By the way, my system is most updated and upgraded.
    Last edited by universalpoe (2011-01-12 01:57:42)

  • Error 523 please help for that

    im facing this problm ..phn restart continuously and app error 523 is display..plz for tht

    This should help:
    http://www.blackberry.com/btsc/KB24395
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • I can't get any audio playback from FCP X (or Premier Pro for that matter)…

    When I playback a clip with audio it shows good level in the meters but I get no sound from any device (internal speakers, USB headphones, 3.5mm Headphones etc etc). If I render out a clip the audio is there and plays back in QuickTIme.app.
    There are a few suspicious things like not being able to adjust the Master level slider in Sound Prefs, it's locked to Max position. I first became aware of this problem when I left After Effect and went to Premiere Pro to do an video comp that AE was choking on. PPro handled it well but no sound. Decided to try doing it in FCP X even though the interface is hard for me to 'get' striaght away I found stuff online about travel mattes but still no sound. Very frustrating I have a deadline — don't we all ;-)
    Any ideas?
    I uninstalled SoundFlower just in case. No difference. In the Audio MIDI Setup Utility.app, PremierPro and After Effexts come up as discrete devices:
    About to try zap the PRAM can't think what else to do although I found an article that says trash the audio prefs one by one.

    Make an appointment to your nearest Apple Genius bar.

  • I have multiple adobe Ids and can't find the one that I have used for creative cloud. I can't find help for that.

    I signed in to check on my creative cloud subscription and don't see it. I must have used a different Adobe ID but for the life of me don't remember what it could have been other than what I signed in as. I can find no way to contact Adobe for this.

    Moving this discussion to the Adobe Creative Cloud forum.
    Frustrated... I am sorry you are facing difficulty locating the e-mail address associated with the Adobe ID tied to your membership.  If you need assistance locating your account then please contact our support team at Contact Customer Care.

Maybe you are looking for