Deploying beans

I am using weblogic510sp8..
and try to solve memory leaks problems with JProbe..
However, I can not start weblogic properly from JProbe...
Error:
Thu Mar 21 16:19:17 EST 2002:<E> <EJB> Could not deploy: 'myserver/query.jar':
file is not a valid jar file, or d
contain a valid bean
weblogic.ejb.common.DeploymentException: DeploymentException opening JAR file
myserver/query.jar; nested exceptio
weblogic.ejb.deployment.JarLoadException - with nested exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment myserver/query.jar
from myserver/query.jar;
        java.lang.NoClassDefFoundError]
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(Compiled Code)
at java.rmi.RemoteException.<init>(RemoteException.java:33)
at weblogic.ejb.common.DeploymentException.<init>(DeploymentException.java:20)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:309)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(Compiled Code)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:239)
at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
Did anybody see it? What should I try to solve this?
I know I have to have weblogic510sp8boot.jar and weblogic510sp8.jar in JAVA_PATH
- I do not have them... still does not work

The caller(ejb or web component) and callee(ejb) components must either be packaged in the same ejb-jar OR must be in two modules that are packaged within the same .ear.
Kenneth Saks
J2EE SDK Team
SUN Microsystems

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

  • Deploying beans in weblogic 6.0

    Hello,
    Can anyone tell me how to deploy beans, servlets etc in 6.0. I have done
    everything in 5.1. But we are not able to find out how everything is working
    on 6.0. If someone can give me a URL which mentions all these, I will be
    much grateful.
    Suresh.

    http://e-docs.bea.com/wls/docs60/adminguide/appman.html
    "Suresh Wilson." wrote:
    Hello,
    Can anyone tell me how to deploy beans, servlets etc in 6.0. I have done
    everything in 5.1. But we are not able to find out how everything is working
    on 6.0. If someone can give me a URL which mentions all these, I will be
    much grateful.
    Suresh.

  • Exception in deployed bean

    I am getting this exception in one of my deployed beans , and I am not able to
    figure out as to what the problem is . Help will be highly apreciated.
    Mahendra
    java.rmi.RemoteException: java.lang.NoSuchMethodError
         at com.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.preFinderInvoke(EmployeeDataBeanHomeImpl.java:187)
         at com.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.findByPrimaryKey(EmployeeDataBeanHomeImpl.java:74)
         at com.crossdomain.info.ejb.EmployeeDataBeanHomeImpl_ServiceStub.findByPrimaryKey(EmployeeDataBeanHomeImpl_ServiceStub.java:147)
         at com.crossdomain.info.ejb.EmployeeBean.ejbCreate(EmployeeBean.java:119)
         at com.crossdomain.info.ejb.EmployeeBeanEOImpl.create(EmployeeBeanEOImpl.java:55)
         at com.crossdomain.info.ejb.EmployeeBeanHomeImpl.create(EmployeeBeanHomeImpl.java:20)
         at com.crossdomain.info.ejb.EmployeeBeanHomeImpl_ServiceStub.create(EmployeeBeanHomeImpl_ServiceStub.java:113)
         at com.crossdomain.um.ejb.UserBean.validate(UserBean.java:171)
         at com.crossdomain.um.ejb.UserBeanEOImpl.validate(UserBeanEOImpl.java:437)
         at com.crossdomain.um.ejb.UserBeanEOImpl_WLSkel.invoke(UserBeanEOImpl_WLSkel.java:320)
         at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAdapter.java:347)
         at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandler.java:86)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:15)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    ; nested exception is:
         java.lang.NoSuchMethodError:
    Start server side stack trace:
    java.lang.NoSuchMethodError
         at com.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.preFinderInvoke(EmployeeDataBeanHomeImpl.java:187)
         at com.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.findByPrimaryKey(EmployeeDataBeanHomeImpl.java:74)
         at com.crossdomain.info.ejb.EmployeeDataBeanHomeImpl_ServiceStub.findByPrimaryKey(EmployeeDataBeanHomeImpl_ServiceStub.java:147)
         at com.crossdomain.info.ejb.EmployeeBean.ejbCreate(EmployeeBean.java:119)
         at com.crossdomain.info.ejb.EmployeeBeanEOImpl.create(EmployeeBeanEOImpl.java:55)
         at com.crossdomain.info.ejb.EmployeeBeanHomeImpl.create(EmployeeBeanHomeImpl.java:20)
         at com.crossdomain.info.ejb.EmployeeBeanHomeImpl_ServiceStub.create(EmployeeBeanHomeImpl_ServiceStub.java:113)
         at com.crossdomain.um.ejb.UserBean.validate(UserBean.java:171)
         at com.crossdomain.um.ejb.UserBeanEOImpl.validate(UserBeanEOImpl.java:437)
         at com.crossdomain.um.ejb.UserBeanEOImpl_WLSkel.invoke(UserBeanEOImpl_WLSkel.java:320)
         at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAdapter.java:347)
         at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandler.java:86)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:15)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    End server side stack trace

    Hi Mahendra,
    Could you show me the code in EmployeeDataBeanHomeImpl.java
    at line # 187 and around?
    Regards,
    Slava Imeshev
    "Mahendra" <[email protected]> wrote in message
    news:[email protected]...
    >
    I am getting this exception in one of my deployed beans , and I am notable to
    figure out as to what the problem is . Help will be highly apreciated.
    Mahendra
    java.rmi.RemoteException: java.lang.NoSuchMethodError
    atcom.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.preFinderInvoke(EmployeeDa
    taBeanHomeImpl.java:187)
    atcom.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.findByPrimaryKey(EmployeeD
    ataBeanHomeImpl.java:74)
    atcom.crossdomain.info.ejb.EmployeeDataBeanHomeImpl_ServiceStub.findByPrimaryK
    ey(EmployeeDataBeanHomeImpl_ServiceStub.java:147)
    at com.crossdomain.info.ejb.EmployeeBean.ejbCreate(EmployeeBean.java:119)
    atcom.crossdomain.info.ejb.EmployeeBeanEOImpl.create(EmployeeBeanEOImpl.java:5
    5)
    atcom.crossdomain.info.ejb.EmployeeBeanHomeImpl.create(EmployeeBeanHomeImpl.ja
    va:20)
    atcom.crossdomain.info.ejb.EmployeeBeanHomeImpl_ServiceStub.create(EmployeeBea
    nHomeImpl_ServiceStub.java:113)
    at com.crossdomain.um.ejb.UserBean.validate(UserBean.java:171)
    at com.crossdomain.um.ejb.UserBeanEOImpl.validate(UserBeanEOImpl.java:437)
    atcom.crossdomain.um.ejb.UserBeanEOImpl_WLSkel.invoke(UserBeanEOImpl_WLSkel.ja
    va:320)
    atweblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAda
    pter.java:347)
    atweblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandle
    r.java:86)
    atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
    5)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    ; nested exception is:
    java.lang.NoSuchMethodError:
    Start server side stack trace:
    java.lang.NoSuchMethodError
    atcom.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.preFinderInvoke(EmployeeDa
    taBeanHomeImpl.java:187)
    atcom.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.findByPrimaryKey(EmployeeD
    ataBeanHomeImpl.java:74)
    atcom.crossdomain.info.ejb.EmployeeDataBeanHomeImpl_ServiceStub.findByPrimaryK
    ey(EmployeeDataBeanHomeImpl_ServiceStub.java:147)
    at com.crossdomain.info.ejb.EmployeeBean.ejbCreate(EmployeeBean.java:119)
    atcom.crossdomain.info.ejb.EmployeeBeanEOImpl.create(EmployeeBeanEOImpl.java:5
    5)
    atcom.crossdomain.info.ejb.EmployeeBeanHomeImpl.create(EmployeeBeanHomeImpl.ja
    va:20)
    atcom.crossdomain.info.ejb.EmployeeBeanHomeImpl_ServiceStub.create(EmployeeBea
    nHomeImpl_ServiceStub.java:113)
    at com.crossdomain.um.ejb.UserBean.validate(UserBean.java:171)
    at com.crossdomain.um.ejb.UserBeanEOImpl.validate(UserBeanEOImpl.java:437)
    atcom.crossdomain.um.ejb.UserBeanEOImpl_WLSkel.invoke(UserBeanEOImpl_WLSkel.ja
    va:320)
    atweblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAda
    pter.java:347)
    atweblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandle
    r.java:86)
    atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
    5)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    End server side stack trace

  • Newbie Error deploying Beans

    Good afternoon,
    I'm trying to resolve an issue generated during a deployment of my EJB's.
    The error follows:
    Property change error for property "Deploy"
    No beans were found in the jar file d:\weblogic451\myserver\Appointment.jar.
    Please make sure that the manifest of the JAR file contains an .SER file
    with the Enterprise-Bean: true attribute.
    I'm enclosing the jar file and properties file for review. Do I have an
    issue with the manifest file format? A class path issue? I'm assuming the
    manifest file is properly formatted because I have created jar files. I'm
    running Weblogic version 4.5.1 on WinNT. Also, how do I tell what version
    of the service pack is installed? I installed SP 9, but have no way to
    verify the installation actually completed except the server does start.
    Please note, I'm taking a class at school and this is my first attempt to
    deploy beans.
    Thanks for the help,
    Rich Olson
    [Appointment.jar]
    [weblogic.properties]

    If you have a problem deploying your application or running the application please a log a TAR with Oracle Support using Metalink, http://metalink.oracle.com.
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Error deploying Beans

    Good afternoon,
    I'm trying to resolve an issue generated during a deployment of my EJB's.
    The error follows:
    Property change error for property "Deploy"
    No beans were found in the jar file d:\weblogic451\myserver\Appointment.jar.
    Please make sure that the manifest of the JAR file contains an .SER file
    with the Enterprise-Bean: true attribute.
    I'm enclosing the jar file and properties file for review. Do I have an
    issue with the manifest file format? A class path issue? I'm assuming the
    manifest file is properly formatted because I have created jar files. I'm
    running Weblogic version 4.5.1 on WinNT. Also, how do I tell what version
    of the service pack is installed? I installed SP 9, but have no way to
    verify the installation actually completed except the server does start.
    Please note, I'm taking a class at school and this is my first attempt to
    deploy beans.
    Thanks for the help,
    Rich Olson
    [weblogic.properties]
    [Appointment.jar]

    If you have a problem deploying your application or running the application please a log a TAR with Oracle Support using Metalink, http://metalink.oracle.com.
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Error while Deploying Bean (which is running fine on sun's server)

    Hi,
    I'm trying to deploy the same bean which is deployed & executing very well on
    J2EE server(Sun's server j2sdkee1.2.1).
    I'm using one external jar package, mgejbgnrc.jar , which contains (Magic.j2ee.MagicException
    class & some other classes).
    I've put this jar in %JAVA_HOME%/jre/lib/ext/
    And i'm getting following error while deploying the jar.
    Where i'm doing mistakes? I've also set the classpath correctly.
    Is it weblogic's problem , that we can't use external package. Because same bean
    is working on Sun's Server.
    Will anybody help me regarding this?
    Undeploying EJB Component Vineet
    <May 19, 2000 2:19:47 PM GMT+05:30> <Error> <Management> <InvocationTargetExcept
    ion setting attribute Deployed on MBean mydomain:Name=Vineet,Location=myserver,T
    ype=ApplicationConfig to value true. Method: public void weblogic.management.mbe
    ans.custom.Application.setDeployed(boolean) throws weblogic.management.Deploymen
    tException,weblogic.management.UndeploymentException
    java.lang.NoClassDefFoundError: Magic/j2ee/MagicException
    at java.lang.Class.getMethods0(Native Method)
    Regards,
    Devendra

    problem solved.

  • Error deploying Bean with EJB QL statement in ejb-jar.xml

    Hi,
    I'm using Oracle iAS 9i Rev:9.03.
    I've tried to deploy a Entity Bean with the following EJB QL Query:
    &lt;/cmp-field&gt;
    &lt;query&gt;
    &lt;query-method&gt;
    &lt;method-name&gt;findByProcessStep&lt;/method-name&gt;
    &lt;method-params&gt;
    &lt;method-param&gt;java.lang.Integer&lt;/method-param&gt;
    &lt;method-param&gt;java.lang.Integer&lt;/method-param&gt;
    &lt;/method-params&gt;
    &lt;/query-method&gt;
    &lt;ejb-ql&gt;SELECT OBJECT(p) FROM Processparameter AS p WHERE p.stepid=?1 AND p.stepversion=?2&lt;/ejb-ql&gt;
    &lt;/query&gt;
    &lt;/entity&gt;
    Without the query statement everything works fine. As soon as I include it I get the following Error message from dcmctl:
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:Failure to initialize EJBQL descriptors: java.lang.RuntimeException: No method found for XML query element: Ambiguous or invalid &lt;query-method&gt;
    Is this an Oracle iAS error or is there an error in my query?
    Thanks in advance
    Jens

    try :
    p.stepid and p.stepversion are correct insert into &lt;cmp-field&gt; ?
    and Processparameter is the correct name of &lt;abstract-schema-name&gt;?
    is your &lt;ejb-ql&gt; insert in the right &lt;entity&gt; ?
    findByProcessStep(Integer, Integer) is the unique name in your ejb-jar? and in the (LocalHome ||RemoteHome)

  • Configuration error while deploying beans

    Hi ,
    I am trying to deploy entity beans. While deploying I am getting the
    following error. I checked weblogic_classpath. It has got .\classes. Any
    help is highly appreciated. Find the attached start script.
    EXCEPTION DESCRIPTION: Configuration error. Class weblogic.jdbc.jts.Driver
    not found.
    at
    TOPLink.Public.Exceptions.DatabaseException.configurationErrorClassNotFound(
    DatabaseException.java:54)
    at
    TOPLink.Public.Sessions.DefaultConnector.loadDriver(DefaultConnector.java:11
    6)
    at
    TOPLink.Public.Sessions.DefaultConnector.connect(DefaultConnector.java:54)
    at
    TOPLink.Public.PublicInterface.JDBCLogin.connect(JDBCLogin.java:180)
    at
    TOPLink.Private.DatabaseAccess.DatabaseAccessor.p(DatabaseAccessor.java)
    at
    TOPLink.Private.DatabaseAccess.DatabaseAccessor.connect(DatabaseAccessor.jav
    a)
    at
    TOPLink.Public.ThreeTier.ConnectionPool.buildConnection(ConnectionPool.java:
    86)
    at
    TOPLink.Public.ThreeTier.ExternalConnectionPool.startUp(ExternalConnectionPo
    ol.java:91)
    at
    TOPLink.Public.ThreeTier.ServerSession.connect(ServerSession.java, Compiled
    Code)
    at
    TOPLink.Public.PublicInterface.DatabaseSession.login(DatabaseSession.java:36
    3)
    at
    TOPLink.Private.EJB.WebLogic.DeploymentManager.sessionLogin(DeploymentManage
    r.java)
    at
    TOPLink.Private.EJB.WebLogic.DeploymentManager.setup(DeploymentManager.java)
    [startWebLogic.cmd]

    Post Author: ejthunder
    CA Forum: Deployment
    It looks like you're trying to deploy with the CR.NET merge modules for VS2003.  You'll need to deploy the CR.NET merge modules for VS2005 instead.
    You can find the merge modules for the various versions at this link on the BOBJ site:http://support.businessobjects.com/downloads/merge_modules.asp
    Choose the correct version.  If you're using the bundled edition of CR.NET that ships with VS2005 - CR.NET 2005, then click on the link for VS2005.  If you're using CR XI Developer, or CR XI R2 Developer then click on the link for the version you're using.
    The CR.NET 2005 merge modules have deployment instructions in the download.
    I hope this helps!
    EJ

  • Deploying beans w/o restarting weblogic. (NOT EJB)

    Hi
    I want to know, if it is possible to deploy( or changed bean) simple java
    beans without restarting weblogic. whenever I do any small change, I need to
    restart my weblogic. Can't we something similiar to hot deployment.

    I am having this problem with WL6.0.
    Whenever I redeploy a .war file I always get a "ClassNotFoundException".
    The only way I know of to resolve this is to stop and restart the server.
    The following are the steps I use to deploy:
    1) Rebuild the .war file with the changed files
    2) Copy the .war file to the config/<domain>/applications directory
    This, if I understand it correctly, should automatically redeploy the
    changes. I have the "AutoUpdateInterval" set to 3000 ms and enabled in the
    Console. I also changed the logging to show messages at the Info level.
    When the copy is complete, I see messages that the application is
    undeployed, but redeployment messages never follow. If I go to the console,
    I see that the application is marked undeployed. When I check "Deploy"
    and click Apply, I get an error that the file could not be found. If I then
    undeploy and then deploy the application it deploys fine.
    This is when I start getting the ClassNotFoundException.
    I don't think this is how it is supposed to be working. Is this a known
    problem, or do I have something configured wrong.
    Thanks,
    Maury
    "Ashish Jain" <[email protected]> wrote in message
    news:[email protected]...
    I am using ver5.1, sp6..
    and i am not deploying them in any particular jar etc etc.
    In my one of my JSP, i am including them using useBean jsp tag.
    i know, i can't reload if they r in classpath, but if i put in different
    path, ofcourse i get NoClassDefFoundError error.
    thanks
    ashish
    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]...
    Yes this is possible.
    You'll need to tell me a little more about your environment. What
    version of WLS are you using?
    Also, how do you deploy these classes? Are they part of a WAR, EJB-JAR
    or stand-alone.
    You will not be able to redeploy anything that is in the $CLASSPATH or
    the weblogic.class.path (in 4.5.x or 5.1).
    -- Rob
    Ashish Jain wrote:
    I mean, Simple Java Bean, (Utility Class)
    To explain more, I am using MVC arctitecture, and while developing
    controller class, whenever i do a small change, to reflect those
    changes, i
    need to restart weblogic. And I am deploying more than 100 EJBs, u can
    imagine the time i have to wait to see even a small change.
    thanks
    ashish
    "Kumar Allamraju" <[email protected]> wrote in message
    news:[email protected]...
    You mean EJB or "Simple JAVA Bean" used as a utility class forservlets/jsp's
    Kumar
    Ashish Jain wrote:
    Hi
    I want to know, if it is possible to deploy( or changed bean)
    simple
    java
    beans without restarting weblogic. whenever I do any small change,
    I
    need to
    restart my weblogic. Can't we something similiar to hot
    deployment.
    >>>>
    >>
    Coming Soon: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnweblogic.com

  • Can't invoke method on a co-deployed bean

    I've got two EJB's deployed in the same jar file. JtdaRequest, a stateful session bean, calls DeersRequest, a stateless session bean. JtdaRequest finds and instantiates a DeersRequest, but when invoking a business method, it causes the following:
    calling jtdaRequest.request() error in authenticate java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException; nested exception is: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException; nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException; nested exception is: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:68) at javax.rmi.CORBA.Util.mapSystemException(Util.java:65) at mil.osd.dmdc.deers.web.jtda.ejb.jtdaRequest._JtdaRequest_Stub.request(Unknown Source) at mil.osd.dmdc.deers.web.jtda.ejb.jtdaRequest._JtdaRequest_Stub.request(Unknown Source) at EJBInvoke.doGet(EJBInvoke.java:101)This worked on SJSAS version 8, but not 7. Have put the generated JtdaEjbClient.jar file in the classpath of the server, restarted, to no avail.

    I've got two EJB's deployed in the same jar file. JtdaRequest, a stateful session bean, calls DeersRequest, a stateless session bean. JtdaRequest finds and instantiates a DeersRequest, but when invoking a business method, it causes the following:
    calling jtdaRequest.request() error in authenticate java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException; nested exception is: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException; nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException; nested exception is: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:68) at javax.rmi.CORBA.Util.mapSystemException(Util.java:65) at mil.osd.dmdc.deers.web.jtda.ejb.jtdaRequest._JtdaRequest_Stub.request(Unknown Source) at mil.osd.dmdc.deers.web.jtda.ejb.jtdaRequest._JtdaRequest_Stub.request(Unknown Source) at EJBInvoke.doGet(EJBInvoke.java:101)This worked on SJSAS version 8, but not 7. Have put the generated JtdaEjbClient.jar file in the classpath of the server, restarted, to no avail.

  • Error deploying Bean using Remote Bean

    Hi,
    i have a problem deploying an EntityBean having a relationship to a remote
    bean.
    I can compile the bean with weblogic.ejbc without any problems but then i
    try
    to deploy the bean i get an exeception saying that the ejb reference has no
    JNDI name
    but it has one. In my opinion everything is ok with the deployment
    descriptors. Can anybody help?
    Exception:
    <02.04.2001 13:35:08 GMT+02:00> <Error> <J2EE> <Error deploying EJB
    Component : Status
    weblogic.ejb20.EJBDeploymentException: EJB Deployment Error:; nested
    exception is:
    weblogic.deployment.EnvironmentException: EJB Reference has no JNDI
    name set
    weblogic.deployment.EnvironmentException: EJB Reference has no JNDI name set
    at
    weblogic.ejb20.deployer.EnvironmentBuilder.addEJBReferences(EnvironmentBuild
    er.java:121)
    at
    weblogic.ejb20.deployer.Deployer.setupEnvironmentContext(Deployer.java:152)
    at
    weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1096)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:908)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
    at weblogic.j2ee.Application.addComponent(Application.java:126)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
    arget.java:283)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
    arget.java:109)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    .java:562)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
    48)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:285)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
    gurationMBeanImpl.java:409)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:287)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl
    .java:866)
    at
    weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl
    .java:853)
    at
    weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:838)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    .java:566)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
    48)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:285)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
    at $Proxy21.addTarget(Unknown Source)
    at
    weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationM
    anager.java:486)
    at
    weblogic.management.mbeans.custom.ApplicationManager.addApplication(Applicat
    ionManager.java:557)
    at
    weblogic.management.mbeans.custom.ApplicationManager.addApplication(Applicat
    ionManager.java:504)
    at
    weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager
    .java:428)
    at
    weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager
    .java:380)
    at
    weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManag
    er.java:152)
    at
    weblogic.management.mbeans.custom.ApplicationManager.startAdminManager(Appli
    cationManager.java:205)
    at
    weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManage
    r.java:120)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    .java:562)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
    48)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:285)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
    at $Proxy2.start(Unknown Source)
    at
    weblogic.management.Admin.startApplicationManager(Admin.java:1034)
    at weblogic.management.Admin.finish(Admin.java:491)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
    at weblogic.Server.main(Server.java:35)
    >
    <02.04.2001 13:35:08 GMT+02:00> <Error> <J2EE> <Error deploying application
    Status: Could not deploy: 'Status.jar'
    ejb-jar.xml:
    <relationships>
    <ejb-entity-ref>
    <remote-ejb-name>Kategorien</remote-ejb-name>
    <ejb-ref-name>ejb/Kategorien</ejb-ref-name>
    <home>de.virtual_ivy_league.virtHo.EntityBean.Kategorien.KategorienHome</hom
    e>
    <remote>de.virtual_ivy_league.virtHo.EntityBean.Kategorien.KategorienRemote<
    /remote>
    </ejb-entity-ref>
    <ejb-relation>
    <ejb-relation-name>Status-Kategorie</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>Status-Hat-Kategorie</ejb-relationship-role-name
    >
    <multiplicity>one</multiplicity>
    <role-source>
    <ejb-name>Status</ejb-name>
    </role-source>
    <cmr-field>
    <cmr-field-name>iDtblKategorien</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>Kategorie-Hat-Status</ejb-relationship-role-name
    >
    <multiplicity>one</multiplicity>
    <role-source>
    <remote-ejb-name>Kategorien</remote-ejb-name>
    </role-source>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    weblogic-ejb-jar:
    <relationship-descriptor>
    <ejb-entity-ref-description>
    <remote-ejb-name>Kategorien</remote-ejb-name>
    <jndi-name>de.virtual_ivy_league.virtHo.EntityBean.Kategorien</jndi-name>
    </ejb-entity-ref-description>
    </relationship-descriptor>
    weblogic-cmp-rdbms-jar.xml:
    <weblogic-rdbms-relation>
    <relation-name>Status-Kategorie</relation-name>
    <weblogic-relationship-role>
    <relationship-role-name>Status-Hat-Kategorie</relationship-role-name>
    <column-map>
    <foreign-key-column>[IDtblKategorien]</foreign-key-column>
    </column-map>
    </weblogic-relationship-role>
    <weblogic-relationship-role>
    <relationship-role-name>Kategorie-Hat-Status</relationship-role-name>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>

    try :
    p.stepid and p.stepversion are correct insert into &lt;cmp-field&gt; ?
    and Processparameter is the correct name of &lt;abstract-schema-name&gt;?
    is your &lt;ejb-ql&gt; insert in the right &lt;entity&gt; ?
    findByProcessStep(Integer, Integer) is the unique name in your ejb-jar? and in the (LocalHome ||RemoteHome)

  • Running netscape servlet access a weblogic deployed bean

    I an having problems creating the initialcontext object when tring to access a
    bean deployed in
    Weblogic6.0 from a servlet running in netscape Iplanet server. Has anyone every
    got this to work?
    Is this a valid configuration or does the servlet have to be running in the weblogic
    server.
    Thanks Doug

    I an having problems creating the initialcontext object when tring to access a
    bean deployed in
    Weblogic6.0 from a servlet running in netscape Iplanet server. Has anyone every
    got this to work?
    Is this a valid configuration or does the servlet have to be running in the weblogic
    server.
    Thanks Doug

  • Deployed beans cannot be used in WebLogic6.0

    I have create some bens and succuessfully deployed and used in WebLogic5.0
    Now I move them to WebLogic6.0 and can be viewed in deployed list in Console
    But When I called it with a jsp file
    It said that the class cannot be found.
    Can somebody help!!

    I copy the jar file to the application directory and build symbolic link
    \web-inf\lib to it
    it works!!
    Emmanuel Proulx <[email protected]> wrote in message
    news:[email protected]..
    He means you SHOULD package them in the same EAR file.
    If not then the only other alternative I see is to include the JAR both in
    the application folder and inside your webapp\WEB-INF\lib. But you should
    really be using EAR files.
    Emmanuel
    Raymond wrote:
    no, the classes are compiled as a .jar file
    Seth White <[email protected]> wrote in message
    news:[email protected]..
    Hi.
    Are your jsp and ejbs packaged in the same ear file?
    Seth
    Raymond wrote:
    I have create some bens and succuessfully deployed and used in
    WebLogic5.0
    Now I move them to WebLogic6.0 and can be viewed in deployed list inConsole
    But When I called it with a jsp file
    It said that the class cannot be found.
    Can somebody help!!

  • Bug! Hot-deploying the same bean more than once results in a DeploymentException!

    Hi all,
    Anyone else having this problem? When re-deploying an EJB within a
    running WL server 4.5.1 w/ sp9 more than once results in the following
    DeploymentException. The first time we re-deploy it works fine, but any
    re-deployments after that fail.
    This is potentially fatal in that if we have to make more than one
    change to a bean over time and re-deploy those changes, we have to cycle
    the server, which is NOT acceptable for a production environment!
    Any clues or workarounds would be greatly appreciated.....Thanks!
    BP
    [xxxx.xxxx.com] < /pkg/bea > java -classpath
    /pkg/bea/classes:/pkg/bea/lib/weblogicaux.jar weblogic.deploy -redeploy
    xxxxxxx file:/pkg/bea/classes/OurSessionBean.jar
    weblogic.ejb.common.DeploymentException: Unable to create bean
    classloader:
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    /local/pkg/bea/depot/weblogic-4.51/classes/OurSessionBean.jar; nested
    exception is:
    java.io.EOFException
    java.io.EOFException
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(IOException.java:35)
    at java.io.EOFException.<init>(EOFException.java:43)
    at java.io.DataInputStream.readUnsignedShort(Compiled Code)
    at
    weblogic.utils.classfile.LineNumberTable_attribute$line_num_struct.read(Compiled
    Code)
    at
    weblogic.utils.classfile.LineNumberTable_attribute.read(Compiled Code)
    at weblogic.utils.classfile.AttributeTable.read(Compiled Code)
    at weblogic.utils.classfile.Code_attribute.read(Compiled Code)
    at weblogic.utils.classfile.AttributeTable.read(Compiled Code)
    at weblogic.utils.classfile.ClassMember.read(Compiled Code)
    at weblogic.utils.classfile.MethodTable.read(Compiled Code)
    at weblogic.utils.classfile.ClassFile.read(Compiled Code)
    at weblogic.utils.classfile.ClassFile.<init>(Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.computeExclude(Compiled
    Code)
    at weblogic.ejb.internal.EJBJarLoader.initialize(Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.<init>(Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.<init>(Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.setup(Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.redeploy(Compiled
    Code)
    at
    weblogic.ejb.internal.EJBJarDeployment.redeploy(EJBJarDeployment.java:629)
    at
    weblogic.ejb.internal.EJBManagerImpl.redeploy(EJBManagerImpl.java:266)
    at
    weblogic.ejb.common.EJBManager_WLSkel.invoke(EJBManager_WLSkel.java:169)
    at
    weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code)
    at
    weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled Code)
    at
    weblogic.rmi.extensions.BasicRequestDispatcher$BasicExecuteRequest.execute(Compiled
    Code)
    at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at
    weblogic.rmi.extensions.BasicRequest.sendReceive(BasicRequest.java:44)
    at
    weblogic.ejb.common.EJBManager_WLStub.redeploy(EJBManager_WLStub.java:312)
    at weblogic.deploy.deploy(deploy.java:129)
    at weblogic.deploy.runBody(deploy.java:79)
    at weblogic.utils.compiler.Tool.run(Tool.java:55)
    at weblogic.deploy.main(deploy.java:140)

    how about undeploy an already deployed bean first and then trying to redeploy.
    becoz i know there's an option like that with DDDeploy. I am talking of 5.1 but the
    logic should probably work in 4.5 too.
    Try doing it and see what happens.
    -Vikas
    Blah Blah wrote:
    Hi all,
    Anyone else having this problem? When re-deploying an EJB within a
    running WL server 4.5.1 w/ sp9 more than once results in the following
    DeploymentException. The first time we re-deploy it works fine, but any
    re-deployments after that fail.
    This is potentially fatal in that if we have to make more than one
    change to a bean over time and re-deploy those changes, we have to cycle
    the server, which is NOT acceptable for a production environment!
    Any clues or workarounds would be greatly appreciated.....Thanks!
    BP
    [xxxx.xxxx.com] < /pkg/bea > java -classpath
    /pkg/bea/classes:/pkg/bea/lib/weblogicaux.jar weblogic.deploy -redeploy
    xxxxxxx file:/pkg/bea/classes/OurSessionBean.jar
    weblogic.ejb.common.DeploymentException: Unable to create bean
    classloader:
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    /local/pkg/bea/depot/weblogic-4.51/classes/OurSessionBean.jar; nested
    exception is:
    java.io.EOFException
    java.io.EOFException
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(IOException.java:35)
    at java.io.EOFException.<init>(EOFException.java:43)
    at java.io.DataInputStream.readUnsignedShort(Compiled Code)
    at
    weblogic.utils.classfile.LineNumberTable_attribute$line_num_struct.read(Compiled
    Code)
    at
    weblogic.utils.classfile.LineNumberTable_attribute.read(Compiled Code)
    at weblogic.utils.classfile.AttributeTable.read(Compiled Code)
    at weblogic.utils.classfile.Code_attribute.read(Compiled Code)
    at weblogic.utils.classfile.AttributeTable.read(Compiled Code)
    at weblogic.utils.classfile.ClassMember.read(Compiled Code)
    at weblogic.utils.classfile.MethodTable.read(Compiled Code)
    at weblogic.utils.classfile.ClassFile.read(Compiled Code)
    at weblogic.utils.classfile.ClassFile.<init>(Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.computeExclude(Compiled
    Code)
    at weblogic.ejb.internal.EJBJarLoader.initialize(Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.<init>(Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.<init>(Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.setup(Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.redeploy(Compiled
    Code)
    at
    weblogic.ejb.internal.EJBJarDeployment.redeploy(EJBJarDeployment.java:629)
    at
    weblogic.ejb.internal.EJBManagerImpl.redeploy(EJBManagerImpl.java:266)
    at
    weblogic.ejb.common.EJBManager_WLSkel.invoke(EJBManager_WLSkel.java:169)
    at
    weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code)
    at
    weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled Code)
    at
    weblogic.rmi.extensions.BasicRequestDispatcher$BasicExecuteRequest.execute(Compiled
    Code)
    at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at
    weblogic.rmi.extensions.BasicRequest.sendReceive(BasicRequest.java:44)
    at
    weblogic.ejb.common.EJBManager_WLStub.redeploy(EJBManager_WLStub.java:312)
    at weblogic.deploy.deploy(deploy.java:129)
    at weblogic.deploy.runBody(deploy.java:79)
    at weblogic.utils.compiler.Tool.run(Tool.java:55)
    at weblogic.deploy.main(deploy.java:140)

Maybe you are looking for

  • Should i send iphone back?

    i have about 3 stuck/dead pixels on my screen none of them are in the middle they are all around the side. Im getting a empty box to ship mine back in should i take the chances in getting a refurbished one that could be worst then the one i have or k

  • Mass delete and performances

    Hi, we use a few tables to log access to our various e-commerce sites. Now some of these tables are very large (20-50 millions row) so we decided to remove old data after having consolidated it. However deleting a large number of rows takes a long ti

  • Daemon script fails -- no log entries. [SOLVED]

    Greetings. A daemon script I got for rTorrent I got from this page, fails to start No entries show up in dmesg or any logs in /var. I've compared the script to a couple others, but see noe obvious differences that would indicate why the script should

  • Can I connect two USB external hdds at once?

    Can I connect two external hdds by USB at once and then transfer between the two?

  • Premiere Pro CS3: bad video quality when exporting for YouTube

    Hi! I'm a newbie to this forum and yes, I've looked for an answer before posting. I'm also pretty new to Premiere Pro and I hope that the problem I'm having is more my fault than Premiere's (it most likely is.) I have project, a little YouTube-Video.