Convert cmp1.1 bean to cmp2.0: ejbc error for wls7.0

Hi,
I am trying to port EJB1.1 to EJB2.0 on WLS7.0. I have made changes to the DD. In the process of changing the beans, i made the bean class abstract and the getter and setter methods abstract too according to EJB2.0 specs. But i get an ejbc error like this:
ERROR: Error from ejbc: In EJB AllowableProductBean, CMP fields must NOT be defined in the bean class. Can someone please tell me why this is so and what is the possible solution to this.
Thanks!!

In CMP 1.1, you'd have
public double balance.
In CMP 2.0, you'd have
public abstract double getBalance();
public abstract void setBalance(double b);
You would not have a member field with the name balance. THat is why
ejbc is complaining.
-- Rob
Suwarna wrote:
Hi,
I am trying to port EJB1.1 to EJB2.0 on WLS7.0. I have made changes to the DD. In the process of changing the beans, i made the bean class abstract and the getter and setter methods abstract too according to EJB2.0 specs. But i get an ejbc error like this:
ERROR: Error from ejbc: In EJB AllowableProductBean, CMP fields must NOT be defined in the bean class. Can someone please tell me why this is so and what is the possible solution to this.
Thanks!!

Similar Messages

  • Please help: deploy Bean with "No resource available" error for M:N relationship

    Hi all,
    I wonder any one comes across with deploying beans with M:N relationship with
    "No resource available".
    I defined the relationship in ejb-jar.xml and dbms in the
    weblogic-cmp-rdbms-jar.xml, but when I deployed the beans I got
    the following error
    ------ Error message-----
    weblogic.common.ResourceException: No resources available at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:568) at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:400) at weblogic.common.internal.ResourceAllocator.reserveNoWait(ResourceAllo
    cator.java:368) at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.j
    ava:166) at weblogic.jdbc.common.internal.ConnectionPool.reserveNoWait(Connection
    Pool.java:127) at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiData
    Source.java:194) at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
    ce.java:219) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSP
    ersistenceManager.java:317) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.createDefaultDBMSTab
    le(RDBMSPersistenceManager.java:1149) at weblogic.ejb20.utils.TableVerifier.verifyTableExistsAndCreateMaybe(Ta
    bleVerifier.java:428) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyTablesExist(RD
    Unable to deploy EJB: CustomerBean from \ejb:
    Errors encountered ''The Container-Managed Persistence Entity EJB failed while
    creating its SQL Type Map. The error was: Invalid object name 'localcustomer_localsubscription'.
    Severity 16, State 1, Procedure 'IVM_SERVER null', Line 1', 'Error encountered
    while attempting to create Default DBMS Table: 'localcustomer_localsubscription'.
    Error Text: 'weblogic.common.ResourceException: No resource s available'.''
    ---------------End error ----------------------
    ---------------my ejb-jar.xml
    <ejb-jar>
    - <enterprise-beans>
    - <entity>
    <ejb-name>AddressBean</ejb-name>
    <local-home>customer.LocalAddressHome</local-home>
    <local>customer.LocalAddress</local>
    <ejb-class>customer.AddressBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    - <cmp-field>
    <field-name>addressID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>street</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>city</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>zip</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>state</field-name>
    </cmp-field>
    <primkey-field>addressID</primkey-field>
    </entity>
    - <entity>
    <ejb-name>CustomerBean</ejb-name>
    <local-home>customer.LocalCustomerHome</local-home>
    <local>customer.LocalCustomer</local>
    <ejb-class>customer.CustomerBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>CustomerBean</abstract-schema-name>
    - <cmp-field>
    <field-name>customerID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>firstName</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <primkey-field>customerID</primkey-field>
    - <query>
    - <query-method>
    <method-name>findByLastName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
      ]]>
    </ejb-ql>
    </query>
    - <query>
    - <query-method>
    <method-name>findByFirstName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
      ]]>
    </ejb-ql>
    </query>
    </entity>
    - <entity>
    <ejb-name>SubscriptionBean</ejb-name>
    <local-home>customer.LocalSubscriptionHome</local-home>
    <local>customer.LocalSubscription</local>
    <ejb-class>customer.SubscriptionBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>SubscriptionBean</abstract-schema-name>
    - <cmp-field>
    <field-name>type</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>title</field-name>
    </cmp-field>
    <primkey-field>title</primkey-field>
    - <query>
    - <query-method>
    <method-name>findAllSubscriptions</method-name>
    <method-params />
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM SubscriptionBean AS o
      ]]>
    </ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    - <relationships>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalAddress</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomer-Has-LocalAddresss</ejb-relationship-role-name>
    <multiplicity>one</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>addresses</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalAddress-Has-LocalCustomer</ejb-relationship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>AddressBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customer</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalSubscription</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomers-Have-LocalSubscriptions</ejb-relationship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>subscriptions</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalSubscriptions-Have-LocalCustomers</ejb-relationship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>SubscriptionBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customers</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    - <assembly-descriptor>
    - <container-transaction>
    - <method>
    <ejb-name>AddressBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>CustomerBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>SubscriptionBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    ------------------End of ejb-jar.xml---------------
    Please help
    Thanks in advance
    Mike

    Hi Gaurav,
    Other applications used the same the datasource, which I used for this application,
    are running fine.
    I think there is some bug in the wlserver 6.1 to create the join table. I think
    it is the time I should ask the bea wlserver 6.1.
    Mike
    "Gaurav Khanna" <[email protected]> wrote:
    This implies that there are no database connections available. You need
    to
    check if you can log into your database instance. By default there are
    30
    connections specified for an instance in Oracle. FYI.
    "Mike" <[email protected]> wrote in message
    news:[email protected]...
    Hi all,
    I wonder any one comes across with deploying beans with M:Nrelationship with
    "No resource available".
    I defined the relationship in ejb-jar.xml and dbms in the
    weblogic-cmp-rdbms-jar.xml, but when I deployed the beans I got
    the following error
    ------ Error message-----
    weblogic.common.ResourceException: No resources available atweblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:568) atweblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:400) atweblogic.common.internal.ResourceAllocator.reserveNoWait(ResourceAllo
    cator.java:368) atweblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.j
    ava:166) atweblogic.jdbc.common.internal.ConnectionPool.reserveNoWait(Connection
    Pool.java:127) atweblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiData
    Source.java:194) atweblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
    ce.java:219) atweblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSP
    ersistenceManager.java:317) atweblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.createDefaultDBMSTab
    le(RDBMSPersistenceManager.java:1149) atweblogic.ejb20.utils.TableVerifier.verifyTableExistsAndCreateMaybe(Ta
    bleVerifier.java:428) atweblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyTablesExist(RD
    Unable to deploy EJB: CustomerBean from \ejb:
    Errors encountered ''The Container-Managed Persistence Entity EJB failedwhile
    creating its SQL Type Map. The error was: Invalid object name'localcustomer_localsubscription'.
    Severity 16, State 1, Procedure 'IVM_SERVER null', Line 1', 'Errorencountered
    while attempting to create Default DBMS Table:'localcustomer_localsubscription'.
    Error Text: 'weblogic.common.ResourceException: No resource savailable'.''
    ---------------End error ----------------------
    ---------------my ejb-jar.xml
    <ejb-jar>
    - <enterprise-beans>
    - <entity>
    <ejb-name>AddressBean</ejb-name>
    <local-home>customer.LocalAddressHome</local-home>
    <local>customer.LocalAddress</local>
    <ejb-class>customer.AddressBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    - <cmp-field>
    <field-name>addressID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>street</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>city</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>zip</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>state</field-name>
    </cmp-field>
    <primkey-field>addressID</primkey-field>
    </entity>
    - <entity>
    <ejb-name>CustomerBean</ejb-name>
    <local-home>customer.LocalCustomerHome</local-home>
    <local>customer.LocalCustomer</local>
    <ejb-class>customer.CustomerBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>CustomerBean</abstract-schema-name>
    - <cmp-field>
    <field-name>customerID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>firstName</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <primkey-field>customerID</primkey-field>
    - <query>
    - <query-method>
    <method-name>findByLastName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
    ]]>
    </ejb-ql>
    </query>
    - <query>
    - <query-method>
    <method-name>findByFirstName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
    ]]>
    </ejb-ql>
    </query>
    </entity>
    - <entity>
    <ejb-name>SubscriptionBean</ejb-name>
    <local-home>customer.LocalSubscriptionHome</local-home>
    <local>customer.LocalSubscription</local>
    <ejb-class>customer.SubscriptionBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>SubscriptionBean</abstract-schema-name>
    - <cmp-field>
    <field-name>type</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>title</field-name>
    </cmp-field>
    <primkey-field>title</primkey-field>
    - <query>
    - <query-method>
    <method-name>findAllSubscriptions</method-name>
    <method-params />
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM SubscriptionBean AS o
    ]]>
    </ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    - <relationships>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalAddress</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomer-Has-LocalAddresss</ejb-relationshi
    p-role-name>
    <multiplicity>one</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>addresses</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalAddress-Has-LocalCustomer</ejb-relationship
    -role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>AddressBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customer</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalSubscription</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomers-Have-LocalSubscriptions</ejb-rela
    tionship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>subscriptions</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalSubscriptions-Have-LocalCustomers</ejb-rela
    tionship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>SubscriptionBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customers</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    - <assembly-descriptor>
    - <container-transaction>
    - <method>
    <ejb-name>AddressBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>CustomerBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>SubscriptionBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    ------------------End of ejb-jar.xml---------------
    Please help
    Thanks in advance
    Mike

  • EJBC error with CMP enitity beans

    Hi All,
    I am using weblogic 6.1 with ejb 2.0. I have defined 3 cmp fields in my ejb-jar.xml file and have corresponding get and set methods defined in my bean class for each cmp field. I am able to compile the bean, but get this ejbc error which i cannot understand.
    ERROR: Error from ejbc: In EJB IndustryEjb, Abstract get and set methods must be defined for each CMP Field. method: 'getIndCode' is missing.
    I do have getIndCode() defined as follows...
    public String getIndCode() {
    return indCode;
    is the error coming because i have not declared them as abstract?
    Please help, i cannot see where I have gone wrong.
    Niranga

    ERROR: Error from ejbc: In EJB IndustryEjb, Abstract get and set methods must be defined for each CMP Field. method: 'getIndCode' is missing. In the remote/local interface the method should be
    public int getIntCode();
    In the Bean class the method should be
    public abstract int getIntCode();

  • ApEx BIP report using webservice: could not convert null to bean field

    Seems like a pretty straightforward problem but I don't manage to find a solution.
    I have a BI Suite implementation on one server.
    And a database with ApEx on another server.
    I want to call a BIP report from within my ApEx application using the webservices (runReport) available in BIP 11g.
    I used soapUI to test my webservice. Result : OK
    When called from within ApEx, ApEx gives me a succes message but the report isn't generated. Instead the console on the BIP server shows the following error:
    <Sep 12, 2012 10:28:37 PM BST> <Error> <org.apache.axis.encoding.ser.BeanPropert
    yTarget> <BEA-000000> <Could not convert null to bean field 'sizeOfDataChunkDown
    load', type int>
    'sizeOfDataChunkDownload' is a field of the webservice that is left empty.
    That indeed is the only difference between my soapUI test and the ApEx situation.
    In soapUI I removed all empty fields. In ApEx this does not seem possible...
    Some extra information:
    - the webservice is created on this WSDL : /xmlpserver/services/v2/ReportService?wsdl
    - it's defined as a SOAP v2
    - no basic authentication
    - the reports are defined in the BIP environment; not in ApEx
    Edited by: kcaluwae on 13-sep-2012 3:19

    I overlooked a not nillable field...

  • Ejbc error in entity bean

    I am making a entity bean.It is giving a ejbc error >>
    Error processing 'META-INF/weblogic-ejb-jar.xml': In weblogic
    -ejb-jar.xml, an entity-descriptor element was found for EJB 'sachinBeanEntity'.
    This EJB was not declared as an Entity bean in ejb-jar.xml.
    [java] ERROR: ejbc found errors
    Here 'sachinBeanEntity' is my Entity bean.
    The corresponding contents of ejb-jar.xml is >>
    <entity>
         <ejb-name>sachinBeanEntity</ejb-name>
         <home>com.niit.oem.mst.ejb.sachinHomeEntity</home>
         <remote>com.niit.oem.mst.ejb.sachinEntity</remote>
         <ejb-class>com.niit.oem.mst.ejb.sachinBeanEntity</ejb-class>
         <persistence-type>Container</persistence-type>
         <prim-key-class>java.lang.Integer</prim-key-class>
         <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
         <abstract-schema-name>sachinBeanEntity</abstract-schema-name>
         <cmp-field>
         <field-name>Name</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>Id</field-name>
         </cmp-field>
         <primkey-field>Id</primkey-field>
         <security-identity><use-caller-identity/></security-identity>
    </entity>
    The corresponding contents of weblogic-ejb-jar.xml is >>
    <ejb-name>sachinBeanEntity</ejb-name>
    <entity-descriptor>
    <persistence>
    <persistence-type>
         <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
         <type-version>6.0</type-version>
         <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
         </persistence-type>
         <persistence-use>
         <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
         <type-version>6.0</type-version>
         </persistence-use>
    </persistence>
    </entity-descriptor>
    <local-jndi-name>sachinBeanLookUpEntity</local-jndi-name>
    Pl suggest how to remove the error from ejbc.
    Thanx
    robby

    ejbc uses classloader.getResourceAsStream to find the ejb-jar.xml. Is it possible
    that it's finding another copy of the file. I would change something in your
    ejb-jar.xml (ie make it so the parser will fail.) and make sure that ejbc hits that
    error.
    If you're still having problems, can you post your ejb-jar.xml and
    weblogic-ejb-jar.xml?
    -- Rob
    robby wrote:
    I am making a entity bean.It is giving a ejbc error >>
    Error processing 'META-INF/weblogic-ejb-jar.xml': In weblogic
    -ejb-jar.xml, an entity-descriptor element was found for EJB 'sachinBeanEntity'.
    This EJB was not declared as an Entity bean in ejb-jar.xml.
    [java] ERROR: ejbc found errors
    Here 'sachinBeanEntity' is my Entity bean.
    The corresponding contents of ejb-jar.xml is >>
    <entity>
    <ejb-name>sachinBeanEntity</ejb-name>
    <home>com.niit.oem.mst.ejb.sachinHomeEntity</home>
    <remote>com.niit.oem.mst.ejb.sachinEntity</remote>
    <ejb-class>com.niit.oem.mst.ejb.sachinBeanEntity</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>sachinBeanEntity</abstract-schema-name>
    <cmp-field>
    <field-name>Name</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>Id</field-name>
    </cmp-field>
    <primkey-field>Id</primkey-field>
    <security-identity><use-caller-identity/></security-identity>
    </entity>
    The corresponding contents of weblogic-ejb-jar.xml is >>
    <ejb-name>sachinBeanEntity</ejb-name>
    <entity-descriptor>
    <persistence>
    <persistence-type>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-type>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    </persistence-use>
    </persistence>
    </entity-descriptor>
    <local-jndi-name>sachinBeanLookUpEntity</local-jndi-name>
    Pl suggest how to remove the error from ejbc.
    Thanx
    robby

  • Ejbc error

    Hi!
    I have a stateless session bean with multiple interfaces. When I try to deploy the bean, I get the following error message:
    Cannot deploy the component
    Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler --
    -- Compilation failed: com.iplanet.ias.ejb.codegen.ProcessExecutorException: Ab
    normal process termination -- process threw an Exception.
    Attempted command: C:\j2sdk1.4.1_01\bin\javac.exe -g -d D:\SunONEAppServer7\doma
    ins\domain1\server1\generated\ejb\j2ee-modules\build -classpath D:/
    SunONEAppServer7/lib/appserv-rt.jar;C:/j2sdk1.4.1_01/lib/tools.jar;D:/SunONEAppS
    erver7/lib/appserv-ext.jar;D:/SunONEAppServer7/lib/appserv-cmp.jar;D:/SunONEAppS
    erver7/imq/lib/imq.jar;D:/SunONEAppServer7/imq/lib/imqadmin.jar;D:/SunONEAppServ
    er7/imq/lib/imqutil.jar;D:/SunONEAppServer7/lib/appserv-admin.jar;D:/SunONEAppSe
    rver7/lib/appserv-ideplugin.jar;;D:/SunONEAppServer7/pointbase/client_tools/lib/
    pbclient42RE.jar;D:\SunONEAppServer7\domains\domain1\server1\lib\jc
    onn2.jar;D:\SunONEAppServer7\domains\domain1\server1\lib\log4j-1.2.
    7.jar;D:\SunONEAppServer7\domains\domain1\server1\lib\common.ja
    r;D:\Projects\Sample\build;D:\SunONEAppServer7\domains\
    domain1\server1\generated\ejb\j2ee-modules\build;D:\SunONEAppServer7\dom
    ains\domain1\server1\generated\ejb\j2ee-modules\build;D:\SunONEAppS
    erver7\domains\domain1\server1\generated\ejb\j2ee-modules\build D:\
    SunONEAppServer7\domains\domain1\server1\generated\ejb\j2ee-modules
    \build\fi\external\beans\SampleBean_RemoteHomeI
    mpl.java D:\SunONEAppServer7\domains\domain1\server1\generated\ejb\
    j2ee-modules\build\fi\external\beans\SampleBean
    _EJBObjectImpl.java null null null null null null null null
    Output from command:
    -- null
    I have a configuration where I have one bean implementation class (SampleEJBBean) and two remote interfaces (SampleEJB and Sample2EJB) which are configured in ejb-jar.xml to point to the same implementation class (SampleEJBBean). If I remove the other interface, deployment is ok. How do I get this thing work?
    Regards,
    Antti

    As per my knowledge one bean can have only one remote interface(EJB 2.0 support two interface, local and remote). But Surprised, why do you need two remote interface for same bean?
    Specs says:
    10.6.1 Classes and interfaces
    The entity Bean Provider is responsible for providing the following class files:
     Entity bean class and any dependent classes
     Primary key class
     Entity bean�s remote interface and entity bean�s remote home interface, if the entity bean pro-vides
    a remote client view
     Entity bean�s local interface and local home interface, if the entity bean provides a local client
    view
    The Bean Provider must provide a remote interface and a remote home interface or a local interface and
    a local home interface for the bean. The Bean Provider may provide a remote interface, remote home
    interface, local interface, and local home interface for the bean. Other combinations are not allowed.

  • I am sort of new to MAC's and I love them so far.  I am looking for a software or app to convert power point presentations to flash much like Ipring for PC Can anyone recommend something?

    I am looking for a software or app to convert power point presentations to flash much like Ipring for PC Can anyone recommend something?

    This article has 6 ways to do it.

  • Error Occurred While Converting the file "Track Name". An Unknown Error Occurred (-50)

    I'm trying to add the CD Ben Howard - I Forgot Where We Were to iTunes but I keep getting
    Error Occurred While Converting the file "Track Name". An Unknown Error Occurred (-50).
    Could someone please help?

    Importing problems have been rife in the recent iTunes release.
    Not sure how to solve your problem, but until a solution comes along feel free to rip in another program, such as Windows Media Player, and add the resulting MP3s to your iTunes library.

  • I need to access (Ultra) scsi-2 drives but the card is dead. Is there an adapter/converter out there somewhere like my IDE to USB for this? Any other suggestions appreciated.

    I need to access (Ultra) scsi-2 68 pin drives but the card is dead. Is there an adapter/converter out there somewhere like my IDE to USB for this? Any other suggestions appreciated.

    Might be hard to find, but long ago there were a couple of Firewire<->SCSI adapters, if you have USB2 those might be available also...
    http://www.ratocsystems.com/english/products/FR1SX.html
    http://www.ratocsystems.com/english/products/U2SCX.html
    http://www.ebay.com/sch/i.html?_sacat=0&_nkw=scsi+to+firewire&_frs=1
    I think Belkin made one also.
    Might be far cheaper to buy an old Mac or even PC with SCSI.

  • Hi I have downloaded Acrobat XI Pro and when I try to convert pdf file to word the message says 'error can't sign in'

    Hi I have downloaded Acrobat XI Pro and when I try to convert pdf file to word the message says 'error can't sign in'?
    Irenedix

    Hi Irenedix,
    If you are using Acrobat you can try the suggestions mentioned above.
    Are you using the Create PDF service from within Reader to create pdf?
    If yes then please check if you are able to login to: https://cloud.acrobat.com/convertpdf  with your Adobe ID and able to convert the document to pdf.
    If yes then within Reader you can try the following:
    Choose Edit > Preferences (Win)
    Click 'Online Services' or 'Adobe Online Services' on the left-hand side
    Sign out of your Adobe ID and sign back in.
    Regards,
    Rave

  • Converting analog 5.1 (multiple cables) to Digital DIN (for Inspire 5700), how?

    Hi,
    So far I've been using my Inspire 5.1 Digital 5700 speaker system together with my Audigy Platinum in my Desktop PC to watch DVDs and play games with a 5.1 experience. To connect soundcard and Speaker system, I used the provided Digital DIN cable, and it worked fantastically, for both, DVDs and games.
    Now I bought a notebook and the only choice to improve onboard sound was the X-Fi Xtreme Audio Notebook. I thought that I could simply connect it to my Inspire 5700 by connecting optical out with optical in using a TosLink-Mini -> Toslink cable. While this may work for DVDs (I don't have the cable yet), it won't work for all other applications, because as I read optical connections only provide a stereo signal unless the signal it'ss encoded via AC3 or DTS.
    Of course there is the docking module which provides multichannel analog out. Trouble here: the Inspire 5700 only comes with two analog line in channels, front and rear. So that would lead to 4.0 instead of 5.1. Missing the center speaker for games is very bad.
    Therefore I am looking for a way to convert the analog signal coming from the docking module into something that can be decoded as a 5.1 signal by the Inspire 5700. I have already found the DTS-610 which would turn the analog signal into a DTS signal. But that costs more than the soundcard itself.
    So, my question: Is there any simpler / cheaper way how to transform multicable analog 5.1 to one-cable digital 5.1, either AC3, DTS or Digital DIN? I'd prefer a simple converter to Digital DIN, because that's what the Inspire 5700 was mainly designed for and it worked perfectly with my old Audigy.
    Alternatively, one could possibly also use some fancy software to convert all the wave-out sound into AC3 or DTS and send it along the optical cable. But I don?t know any such software plus I expect this to drain a lot of processor power.
    Any help is greatly appreciated it'ss kind of frustrating that two products of the same company can't be connected with each other, just because neither, the card nor the docking module provide Digital DIN.
    Thank you very much and best regards
    - spitfire
    P.S. in another post, pjc said: You will probably require a 4-pole mini-jack > DIN converter to connect your Creative speakers to this socket.
    That's exactly what I'm looking for, but I couldn't find such a converter on the creative homepage.

    I believe the DIN for soundcard are mainly built and solely used by Creative. I don't think there is any 3rd-party converter in the market to do DIN. There is a software here posted by some other users that can do AC3 encoding on the fly. Not too sure where's the post now but you can do a search for it.

  • How to convert an excel file where customers have partial access for selecting items.

    Please Advise,
    I have created an excel file with columns that calculates price and quantity. I need to know how my customers can access the file without seeing all my calculations, etc. and just select the number of items. I need to keep my excel formula info confidential and at the same time having the customers the ability to select the items.
    This excel file will be placed on my web site and linked where customers have access to it. They make their selections and emailed back for processing.with their selected items. If the excel file is converted into a pdf file, Then placed and linked for customer access how can customers have partial access and select in certain columns and have excel fuction for calculations?
    Thanks,
    Dan

    [discussion moved to Creating, Editing & Exporting PDFs forum]

  • How do I open a Numbers file sent to me that has been converted to Excel?  I already have MS Office for Mac.Ow

    How do I open a Numbers file sent to me that has been converted to Excel?  I already have MS office for Mac, but nothing comes up when I click on the imported file.

    If it indeed has been converted from Numbers to Excel, it will have a .xlsx suffix at the end of the name. Do a Get Info on the file if the suffix doesn't show. Else, it may still be in Numbers format and be unreadable by Excel.
    If it is in the right format, and you don't want to have to do what mende1 has instructed above for every successive file, click on the "Always open with..." option. That will associate the .xlsx suffix to Excel from thereon.

  • When I select "Convert" using the Adobe PDF conversion - I get "Error signing in"

    When I select "Convert" using the Adobe PDF conversion - I get "Error signing in"

    You need the CreatePDF forum

  • First use of jsp and java bean and "Unable to compile class for JSP" error

    Hi,
    I am trying to create my first jsp + java bean and I get a basic error (but I have no clue what it depends on exactly). Tomcat seems to cannot find my class file in the path. Maybe it is because I did not create a web.xml file. Did I forgot to put a line in my jsp file to import my bean?
    Thank you very much for your help.
    Here is my error:
    An error occurred at line: 2 in the jsp file: /login.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    /usr/local/tomcat/jakarta-tomcat-5/build/work/Catalina/localhost/test/org/apache/jsp/login_jsp.java:43: cannot resolve symbol
    symbol : class CMBConnect
    location: class org.apache.jsp.login_jsp
    CMBConnect test = null;
    I only have this in my directory:
    test/login.jsp
    test/WEB-INF/classes/CMBConnect.java
    test/WEB-INF/classes/CMBConnect.class
    Do I need to declare another directory in classes to put my class file in it and package my bean differently?
    Here is my login.jsp:
    <%@ page errorPage="error.jsp" %>
    <jsp:useBean id="test" type="CMBConnect" scope="session" />
    <html>
    <head>
    <title>my test</title>
    </head>
    <body>
    <h3>Login information</h3>
    <b><%=session.getValue("customerinfo.message")%></b>
    <form> ....... </form>
    </body>
    </html>
    and here is my CMBConnect.java:
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class CMBConnect
    public CMBConnect () { }
    public String openConnection(String id, String password) {
    String returnText = "";
    try {
    Connection con = null;
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = DriverManager.getConnection("jdbc:oracle:thin:@myserver.abc.com:1521:TEST", id, password);
    if(con.isClosed())
    returnText = "Cannot connect to Oracle server using TCP/IP...";
    else
    returnText = "Connection successful";
    } catch (Exception e) { returnText = returnText + e; }
    return returnText;
    Thanks again!

    Thanks for you help
    I created the package and I get this error this time:
    javax.servlet.ServletException: bean test not found within scope
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:822)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:755)
         org.apache.jsp.login_jsp._jspService(login_jsp.java:68)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:268)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:277)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:223)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

Maybe you are looking for