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.

Similar Messages

  • Error while deployment of  CMP 2.0 bean on weblogic 11g

    Hi,
    I am not able to deploy my CMP 2.0 bean on Weblogic 11g. There are two JVM available in weblogic 11g.
    1) Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
    2) Oracle JRockit(R) (build R28.1.1-14-139783-1.6.0_22-20101206-0241-windows-ia32, compiled mode)
    When we are using "Oracle JRockit(R) (build R28.1.1-14-139783-1.6.0_22-20101206-0241-windows-ia32, compiled mode)" And deploying the CMP bean then we got the Error as below:
    D:\Oracle\Middleware\wlserver_10.3\server\bin>java weblogic.appc -verbose C:\temp\Jproject.ear\DefinitionWizardBean.jar
    Created working directory: C:\DOCUME~1\cxp\LOCALS~1\Temp\1\appcgen_1309496813354_DefinitionWizardBean.jar
    <01-Jul-2011 06:06:57 o'clock BST> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element persis
    tence in the deployment descriptor in C:\temp\Jproject.ear\DefinitionWizardBean.jar/META-INF/weblogic-ejb-jar.xml. A vers
    ion attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of
    the Weblogic Server will reject descriptors that do not specify the JEE version.>
    java.lang.NoClassDefFoundError: EntityBean
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    at weblogic.ejb.container.deployer.BeanInfoImpl.loadClass(BeanInfoImpl.java:510)
    at weblogic.ejb.container.deployer.BeanInfoImpl.<init>(BeanInfoImpl.java:242)
    at weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.<init>(ClientDrivenBeanInfoImpl.java:156)
    at weblogic.ejb.container.deployer.EntityBeanInfoImpl.<init>(EntityBeanInfoImpl.java:115)
    at weblogic.ejb.container.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:695)
    at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:558)
    at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:236)
    at weblogic.ejb.container.ejbc.EJBCompiler.getStandAloneDeploymentInfo(EJBCompiler.java:1185)
    at weblogic.ejb.container.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:156)
    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:439)
    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:396)
    at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:316)
    at weblogic.application.compiler.EJBModule.compile(EJBModule.java:128)
    at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:18)
    at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:29)
    at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112)
    at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    at weblogic.application.compiler.Appc.runBody(Appc.java:203)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.application.compiler.Appc.main(Appc.java:262)
    at weblogic.appc.main(appc.java:14)
    EntityBean
    But I use JVM " Java(TM) SE Runtime Environment (build 1.6.0_22-b04) " and deploying CMP bean then i got error as below:
    D:\Oracle\Middleware\wlserver_10.3\server\bin>d:\Oracle\Middleware\jdk160_21\bin\java weblogic.appc -verbose C:\temp\Tr
    ading.ear\DefinitionWizardBean.jar
    Created working directory: C:\DOCUME~1\cxp\LOCALS~1\Temp\1\appcgen_1309496852057_DefinitionWizardBean.jar
    <01-Jul-2011 06:07:35 o'clock BST> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element persis
    tence in the deployment descriptor in C:\temp\Jproject.ear\DefinitionWizardBean.jar/META-INF/weblogic-ejb-jar.xml. A vers
    ion attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of
    the Weblogic Server will reject descriptors that do not specify the JEE version.>
    java.lang.ClassNotFoundException: EntityBean
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    at weblogic.ejb.container.deployer.BeanInfoImpl.loadClass(BeanInfoImpl.java:510)
    at weblogic.ejb.container.deployer.BeanInfoImpl.<init>(BeanInfoImpl.java:242)
    at weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.<init>(ClientDrivenBeanInfoImpl.java:156)
    at weblogic.ejb.container.deployer.EntityBeanInfoImpl.<init>(EntityBeanInfoImpl.java:115)
    at weblogic.ejb.container.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:695)
    at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:558)
    at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:236)
    at weblogic.ejb.container.ejbc.EJBCompiler.getStandAloneDeploymentInfo(EJBCompiler.java:1185)
    at weblogic.ejb.container.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:156)
    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:439)
    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:396)
    at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:316)
    at weblogic.application.compiler.EJBModule.compile(EJBModule.java:128)
    at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:18)
    at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:29)
    at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112)
    at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    at weblogic.application.compiler.Appc.runBody(Appc.java:203)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.application.compiler.Appc.main(Appc.java:262)
    at weblogic.appc.main(appc.java:14)
    EntityBean
    Please assist me regarding above error
    Thanks,
    Amritesh
    Edited by: 869636 on 01-Jul-2011 00:49

    What is the jee version you have on that server? are the environment variables correctly set?

  • Errors while deploying EJB3 beans in Weblogic server 10.

    Hi All,
    I am new to weblogic as well as EJB3. While trying to deploy an ant generated ejb3 bean in weblogic server 10, I got the following errors. I don't know where I went wrong. All you experts out there, pls. help me out.
    Error Stack Trace
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:364: modifier transient not allowed here
    public transient com.picmond.jaas.dto.UserAccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:526: add(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessCont
    public void add(com.picmond.jaas.dto.UserAccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:607: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:688: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.UserAccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:850: remove(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessC
    public void remove(com.picmond.jaas.dto.UserAccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:931: findByExample(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.User
    public java.util.List<com.picmond.jaas.dto.UserAccessControls> findByExample(com.picmond.jaas.dto.UserAccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:1012: merge(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessC
    public com.picmond.jaas.dto.UserAccessControls merge(com.picmond.jaas.dto.UserAccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.Roles> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.Roles getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.AccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.AccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.UserAccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.UserAccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:202: merge(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2h
    public com.picmond.jaas.dto.AccessControls merge(com.picmond.jaas.dto.AccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:445: modifier transient not allowed here
    public transient com.picmond.jaas.dto.AccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:607: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:769: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.AccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:850: remove(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2
    public void remove(com.picmond.jaas.dto.AccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:931: add(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2hpc
    public void add(com.picmond.jaas.dto.AccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsD
    public java.util.List<com.picmond.jaas.dto.AccessControls> findByExample(com.picmond.jaas.dto.AccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:283: merge(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf4
    public com.picmond.jaas.dto.ActivityTypes merge(com.picmond.jaas.dto.ActivityTypes arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:445: add(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf4_A
    public void add(com.picmond.jaas.dto.ActivityTypes arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:526: modifier transient not allowed here
    public transient com.picmond.jaas.dto.ActivityTypes getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:769: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:850: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.ActivityTypes> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf
    public void remove(com.picmond.jaas.dto.ActivityTypes arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBe
    public java.util.List<com.picmond.jaas.dto.ActivityTypes> findByExample(com.picmond.jaas.dto.ActivityTypes arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.ActivityTypes> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.ActivityTypes getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.Users> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.Users getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:364: add(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
    public void add(com.picmond.jaas.dto.Roles arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:445: modifier transient not allowed here
    public transient com.picmond.jaas.dto.Roles getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:607: merge(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
    public com.picmond.jaas.dto.Roles merge(com.picmond.jaas.dto.Roles arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:688: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:850: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.Roles> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
    public void remove(com.picmond.jaas.dto.Roles arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
    public java.util.List<com.picmond.jaas.dto.Roles> findByExample(com.picmond.jaas.dto.Roles arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:364: add(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
    public void add(com.picmond.jaas.dto.Users arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:445: modifier transient not allowed here
    public transient com.picmond.jaas.dto.Users getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:526: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:688: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.Users> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:769: findByExample(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
    public java.util.List<com.picmond.jaas.dto.Users> findByExample(com.picmond.jaas.dto.Users arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
    public void remove(com.picmond.jaas.dto.Users arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:1012: merge(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
    public com.picmond.jaas.dto.Users merge(com.picmond.jaas.dto.Users arg0)
    ^
    50 errors
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:457)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:295)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:303)
    at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:343)
    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:533)
    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:500)
    at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:476)
    at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:798)
    at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
    at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1234)
    at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:372)
    >

    Hi,
    The issue is that the weblogic EJB compiler isn't reading the varargs method modifier properly in your class files (it is mistaking it for a transient field). I think you will either have to:
    a) Remove vararg methods from your EJBs.
    b) Wait for a new release of Weblogic 10.
    This issue was a bit of a pain for us as we are trying to use Seam to integrate various bits of the JEE specification together (and the Seam TimerDispatcher EJB uses vararg methods).

  • HOWTO:Deploy BC4J as Session Bean in Weblogic

    This document describes Howto deploy a BC4J Appmodule as EJB Session Bean to Weblogic and
    test the appmodule through the BC4J tester.
    =>create a BC4J Application using Business Components Wizard.
    =>test it using BC4J tester
    =>make the Application Module Remotable [list]
    [*]Select Appmodule and right mouse on it to select the edit option
    [*]Select Remote tab
    [*]Select the check box for Remotable Application Module
    [*]Select EJB Session Bean and shuttle it from Available list to Selected list
    [*]Click on the finish button[list]
    => Do File| Save All and a Rebuild on the project
    => create the weblogic XML Deployment Descriptor[list]
    [*]Choose File|New
    [*]Select the web objects tab
    [*]Select XML and click ok
    [*]Rename the file as ejb-jar.xml using File|Rename
    [*]Save it in the JDEV_HOME/myclasses/META-INF directory.
    [*]Open the xml file by double clicking on it.
    [*]Paste the following into the file
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
    <ejb-jar>
    <enterprise-beans>
    <session>
    <ejb-name>wl.WlModule</ejb-name>
    <home>wl.common.ejb.WlModuleHome</home>
    <remote>wl.common.ejb.RemoteWlModule</remote>
    <ejb-class>wl.server.ejb.WlModuleServerEJB</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Bean</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    </assembly-descriptor>
    </ejb-jar>
    [*]Choose File|New
    [*]Select the web objects tab
    [*]Select XML and click ok
    [*]Rename the file as weblogic-ejb-jar.xml using File|Rename
    [*]Save it in the JDEV_HOME/myclasses/META-INF directory.
    [*]Open the xml file by double clicking on it.
    [*]Paste the following into the file
    <!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN' 'http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>wl.WlModule</ejb-name>
    <caching-descriptor>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    <max-beans-in-cache>100</max-beans-in-cache>
    <idle-timeout-seconds>60</idle-timeout-seconds>
    </caching-descriptor>
    <jndi-name>wl.WlModule</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    In this example "wl" is the package name and "WlModule" is the Appmodule name.[list]
    => generate the jar file for appmodule along with xml deployment descriptors[list]
    [*]from the command line in JDEV_HOME/myclasses directory run
    [*]jar cvf0 wlappmodule.jar wl META-INF[list]
    => edit the setenv.cmd file in WEBLOGIC_HOME directory[list]
    [*]set JAVA_HOME=f:\jdev32\java1.2
    [*]set JBOLIB=f:\jdev32\lib
    [*]set JDBC_CLASSES=f:\jdev32\jdbc\lib\oracle8.1.7\classes12.zip
    [*]set JBO_RUNTIME=%JBOLIB%\jboorasql.zip;%JDBC_CLASSES%;%JBOLIB%\jbodatum12.zip;%JBOLIB%\xmlparserv2.jar;%JBOLIB%\jbomt.zip;%JBOLIB%\jboejb.jar
    [*]add JBO_RUNTIME in the set CLASSPATH variable[list]
    => create a bc4j deploy batch file "Deploybc4j.cmd" in the WEB_LOGIC HOME
    which will generate the server side jar files
    @setlocal
    set JAVA=java
    set JAVAC=javac
    set BEAN_JAR=%1
    set EJB_TEMP=f:\jdev32\myclasses\wl
    set XMLPARSERV2=f:\jdev32\lib\xmlparserv2.jar;
    set JDBC_LIBS=f:\jdev32\jdbc\oracle8.1.7\lib\classes12.zip
    set JBO_EJB_RUNTIME=f:\jdev32\lib\jbomt.zip;f:\jdev32\lib\jboejb.jar;%XMLPARSERV2%;%JDBC_LIBS%
    set CLASSPATH=%CLASSPATH%;%JBO_EJB_RUNTIME%;%BEAN_JAR%;%EJB_TEMP%
    %JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar;f:\jdev32\lib\jbodomorcl.zip
    pushd %EJB_TEMP%
    @endlocal
    Note: substittue appropriate jar file and directory structure names
    => Run setenv.cmd
    => Run deploybc4j.cmd
    => Configure Weblogic server[list]
    If your weblogic server is residing on a different machine then
    [*]copy wlAppModuleGenerated.jar (generated jar file from deploybc4j.cmd)
    [*]Copy classes12.zip from JDEV_HOME/jdbc/lib/oracle8.1.7/ directory
    [*]Copy jbodomorcl.zip
    [*]jbodatum12.zip
    [*]xmlparserv2.jar
    [*]jbomt.zip
    [*]jboejb.jar from JDEV_HOME/lib directory
    [*]edit weblogic.properties file in WEBLOGIC_HOME directory
    [*]In the WEBLOGIC EJB DEMO PROPERTIES sectio
    [*]add weblogic.ejb.deploy=E:/weblogic/myserver/wlAppModuleGenerated.jar
    (generated jar file from deploybc4j.cmd file)
    [*]edit startweblogic.cmd file in WEBLOGIC_HOME directory
    [*]set POST_CLASSPATH=f:\jdev32\jdbc\oracle8.1.7\lib\classes12.zip;f:\jdev32\lib\jboorasql.zip;f:\jdev32\lib\jbodatum12.zip;f:\jdev32\lib\xmlparserv2.jar;f:\jdev32\lib\jbomt.zip;f:\jdev32 \lib\jboEJB.jar;f:\jdev32\lib\jbodomorcl.zip
    [*]add E:/weblogic/myserver/wlAppModuleGenerated.jar
    (generated jar file from deploybc4j.cmd file) in the weblogic_classpath setting[list]
    Note: modify the directory structure of jar files as apporpriate
    => Run the BC4J tester to test the deployed BC4J Appmodule as session bean to Weblogic[list]
    [*]Add a new library
    [*]Select the Project in which you developed the BC4J Appmodule
    [*]Project | Project Properties
    [*]select libraries tab
    [*]Click on Add
    [*]Click on New
    [*]Specify "JBO WL Client" in the NAME
    [*]Click on ... button for adding the jar files
    [*]Click on Add/Zip jar button to add the following files
    weblogicaux.jar
    jboremoteejb.zip
    jboremote.zip
    <Weblogic_home>/classes
    [*]Click on OK
    [*]Start the weblogic server
    [*]Bring the BC4J Tester by doing a right mouse on the appmodule and selecting Test option
    [*]In the Middle Tier Server Type Select "Weblogic"
    [*]Specify Host name and port # of weblogic server
    [*]Click on Connect[list]
    raghu
    null

    Although this explains how to then deploy to Weblogic on another server, it still presumes that it is installed on the same computer as JDev. I moved the weblogic.jar file over to the computer and fudged a few things to get it to work.
    Also, I am testing this with Weblogic 6.0, so some of the information does not work as prescribed. I edited the config.xml instead of the weblogic.properties file. I am trying to figure out where to put all of the *.jar and *.zip files that I copied over to the Solaris machine with Weblogic. Any suggestions?
    And one of the steps in the section to create the deploybc4j.cmd file is wrong. It says
    "%JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar;f:\jdev32\lib\jbodomorcl.zip"
    Which does not work. I took off the last part:
    "%JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar"
    and it worked. It was getting that whole last part and trying to create a directory with that name and failing.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by David Shanes ([email protected]):
    This seems to assume that JDev and Weblogic are installed on the same server (I refer to the section on setting the setenv.cmd file in the WEBLOGIC_HOME dir that includes the path to the JDev install.
    I have JDev installed on a Win 2k box and Weblogic installed on a Solaris. Any suggestions? I got all the way up to the setenv.cmd step fine.<HR></BLOCKQUOTE>
    null

  • How to Deploy an entity bean in Weblogic 6.1

    Hi friends,
    Could any one of u pls send me the Deployment steps for an entity bean
    in Weblogic 6.1 Server? or pls send me the URL from where i can get the step by
    step entity bean deployment process...
    Thanx in advance...
    Sridhar.Y.S.

    Copy Entity Ejb jar file to the config/mydomain/applications directory.
    http://edocs.beasys.com/wls/docs61/ejb/EJB_deployover.html#1011066
    "Sridhar" <[email protected]> wrote:
    >
    Hi friends,
    Could any one of u pls send me the Deployment steps for an entity
    bean
    in Weblogic 6.1 Server? or pls send me the URL from where i can get the
    step by
    step entity bean deployment process...
    Thanx in advance...
    Sridhar.Y.S.

  • Steps to deploy the bean in weblogic

    Im new to this J2ee. I want to know the steps to deploy the bean in weblogic.
    Please send me the information about the weblogic server ( including the steps) or give me a URL for tutorial.

    Thanks.
    it has not enough information.
    i need all the information abt the server and compile and deployment steps for weblogic7.0
    pls send a reply.

  • Deploying session beans with weblogic 5.1 in NT

    Hello ,
    I have a problem with deploying session beans in weblogic 5.0. I have
    written the code and compiled it. My Compilation is fine. Cud any one give
    me a step by step of how I should deploy my bean with weblogic 5.0 on
    windows NT.
    Raj Urs

    Hello ,
    I have a problem with deploying session beans in weblogic 5.0. I have
    written the code and compiled it. My Compilation is fine. Cud any one give
    me a step by step of how I should deploy my bean with weblogic 5.0 on
    windows NT.
    Raj Urs

  • How to deploy a session bean in Weblogic 9.2

    Hi,
    Can anyone please point me to the procedure of deploying session bean on weblogic 9.2. My operating system is Fedora 5. Please let me know the steps as i am very new to EJB.
    Regards,
    Sanjeev

    I looked for this information in ServletConfig, in ServletContext, in JVMID
    ServletConfig or ServletContext do not have anything (at least I do not see anything),
    The newsgroups recommend the following code
    public static String getLocalUrlString()
    String urlString;
    JVMID jvmid = JVMID.localID();
    urlString = jvmid.getHostAddress();
    weblogic.rjvm.Protocol proto
    =weblogic.rjvm.Protocol.getDefaultProtocol();
    int port = jvmid.getPort(proto);
    return urlString + ISoapConstants.SCHEME_DELIMITER + port;
    I also tried
    weblogic.rjvm.Protocol does not exist in current version, and I did not get any real information inside JVMID
    Also tried JVMID.localID().ports(), which returns null
    System.getProperty("weblogic.system.bindAddr"); or weblogic.system.listenPort property,
    getProperty returns null
    Tried also another approach from the newsgroups - JwsContext.
    /** @common:context */
    JwsContext context;
    String myPort = context.getService().getURL().getPort();
    String myUrl = context.getService().getURL().toString();
    context is null
    None of them worked.
    Do you have any other ideas?
    All those ideas I found in the newsgroups were to the previos version(s) of weblogic - up to 8.1. I have not found anything specific to 9.2

  • EJB 3.0 MDB deployment issue with weblogic 10.0

    Hi there,
    I am new to MDB EJB and right now I am using the EJB 3.0 with weblogic server 10.0. I am using Eclipse 3.4 for development.
    After developing the MDB from eclipse I export the EAR from eclipse and deploy it in weblogic. When I try to start the deployed EAR it gives me following error.
    weblogic.application.ModuleException: Exception preparing module: EJBModule(Message.jar)
    Unable to deploy EJB: MessageBean from Message.jar:
    [EJB:011113]Error: The Message Driven Bean 'MessageBean(Application: MessageEAR, EJBComponent: Message.jar)', does not have a message destination configured. The message destination must be set using a message-destination-link, destination-resource-link, destination-jndi-name or a resource-adapter-jndi-name.
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:399)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         Truncated. see log file for complete stacktrace
    [EJB:011113]Error: The Message Driven Bean 'MessageBean(Application: MessageEAR, EJBComponent: Message.jar)', does not have a message destination configured. The message destination must be set using a message-destination-link, destination-resource-link, destination-jndi-name or a resource-adapter-jndi-name.
         at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.ensureMDBHasDestinationConfigured(MessageDrivenBeanInfoImpl.java:1811)
         at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.prepare(MessageDrivenBeanInfoImpl.java:1011)
         at weblogic.ejb.container.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:997)
         at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1273)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:372)
         Truncated. see log file for complete stacktrace
    >
    Any help really appreciated. It's too urgent.
    Thanks in advance,
    Piyush

    here is the code for my bean.
    package com.ups;
    import java.util.logging.Logger;
    import javax.ejb.ActivationConfigProperty;
    import javax.ejb.EJBException;
    import javax.ejb.MessageDriven;
    import javax.ejb.MessageDrivenContext;
    import javax.jms.JMSException;
    import javax.jms.Message;
    import javax.jms.MessageListener;
    import javax.jms.TextMessage;
    * Message-Driven Bean implementation class for: MessageBean
    @MessageDriven(
              activationConfig = { @ActivationConfigProperty(
                        propertyName = "destinationType", propertyValue = "javax.jms.Queue"
    public class MessageBean implements MessageListener {
         private MessageDrivenContext mdc;
    * Default constructor.
    public MessageBean() {
    // TODO Auto-generated constructor stub
    * @see MessageListener#onMessage(Message)
    public void onMessage(Message message) {
         TextMessage tmsg = null;
    try {
    tmsg = (TextMessage) message;
    System.out.println("MESSAGE BEAN: Message received: " + tmsg.getText( ));
    System.out.println ("The onMessage() is called");
    } catch (JMSException e) {
    e.printStackTrace( );
    mdc.setRollbackOnly( );
    catch (Throwable th) {
    th.printStackTrace();
    public void ejbRemove( )throws EJBException{
         System.out.println("ejbRemove() is executed >>>>>>>");
    I have configured my JMS Distributed queue in the Weblogic.
    If possible please provide more details so that I can get rid of this error as soon as possible.
    Thanks for reply.
    Piyush

  • Problems with a java bean in Weblogic 5.1

    Hello,
              I am having a problem deploying a java bean in Weblogic 5.1:
              I have been given a .class and a .jar file for a java bean (not an EJB). I
              placed the .class file into e:\temp\WEB-INF\classes and added the following
              line to my weblogic.properties file:
              weblogic.httpd.webApp.testApp=e:/temp/
              I have also updated the web.xml file in the WEB-INF directory as follows:
              <?xml version="1.0" encoding="UTF-8"?>
              <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
              Application 1.2//EN"
              "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              <web-app>
              <servlet>
              <servlet-name>EdIface</servlet-name>
              <jsp-file>test.jsp</jsp-file>
              </servlet>
              <servlet-mapping>
              <servlet-name>EdIface</servlet-name>
              <url-pattern>EdIface</url-pattern>
              </servlet-mapping>
              </web-app>
              When I try to access my http:\\server:port\testApp\test I get an "Error
              500 - internal server error".
              Has anyone had experice with deploying a java bean with jsut the .class and
              .jar file? Where should I put the .jar file?
              I appreciate any advice!
              

    Bump

  • 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

  • Can we call a bean in Weblogic 6.0 from Weblogic 5.1

    Is it possible to call a (stateless session) bean deployed in weblogic 6.0
    from a bean in weblogic 5.1? I have two versions of weblogic running on two
    different hosts and I have to call a bean that is running in 6.0 from 5.1.
    Are there any limitations?
    Appreciate any feedback/suggestions.
    Thanks,
    Madhu

    Cross posted to 'misc' - please follow up on that newsgroup.
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.misc&utag=
    Mike
    "Madhu K" <[email protected]> wrote:
    Is it possible to call a (stateless session) bean deployed in weblogic
    6.0
    from a bean in weblogic 5.1? I have two versions of weblogic running
    on two
    different hosts and I have to call a bean that is running in 6.0 from
    5.1.
    Are there any limitations?
    Appreciate any feedback/suggestions.
    Thanks,
    Madhu

  • Probem deploying entitybean to weblogic

    Hi
    I was trying to deploy a simple entity bean to weblogic 6.1 but got an error "encoding not supported" by weblogic.I found that the weblogic jar file that JDeveloper generates put the xml encoding as "windows-1252" and when after I change it to UTF-8 it automatically overrides it to the prevoius setting on next try..could'nt find anything regd this in the documentation
    Can anyone rescue me:))???
    Monmohan

    Hi
    I was trying to deploy a simple entity bean to weblogic 6.1 but got an error "encoding not supported" by weblogic.I found that the weblogic jar file that JDeveloper generates put the xml encoding as "windows-1252" and when after I change it to UTF-8 it automatically overrides it to the prevoius setting on next try..could'nt find anything regd this in the documentation
    Can anyone rescue me:))???
    Monmohan

  • Can CMT Session Bean call BMP Entity Bean in WebLogic 6.0?

              Hi
              Does anybody successfully use CMT Session Bean calling BMP +CMT Entity bean in
              WebLogic6.0? I have the following problem.
              Any idea will be appreciated.
              --Winston
              Let's say we have a Session bean SB, it uses container to manage the transaction.
              A method of SB will call an Entity Bean EB which adopts bean-managed persistence.
              Both SB and EB use CMT and all of their methods use "required" in the descriptor
              file.
              1. If the connection con.getAutoCommit() is true in the EB, then the transaction
              within SB cannot be rolled back as the ejbCreate() has already commit into the
              database.
              2. On the other hand if Connecton of EB con.getAutoCommit() is false, then container
              cannot successfully commit the transaction from SB's method, as EjbCreate and
              EjbStore() in EB are likely using the different database connections, which causes
              EbjStore() fail and the following error message will be sent to the Console:
              ============================================================
              "<Jul 9, 2001 4:16:48 PM PDT> <Error> <EJB> <Exception during commit of transacti
              on transaction=(IdHash=7738920,Name = [EJB TraderBeanImpl.buy()],Xid=105:5e6719a
              ded42e332,Status=Rolled back. [Reason = weblogic.utils.NestedRuntimeException:
              E
              rror writing from beforeCompletion - with nested exception:
              [java.rmi.NoSuchObjectException: Exception from ejbStore:javax.ejb.NoSuchEntityE
              xception: ejbStore: AccountBean (4003) not updated]],numRepliesOwedMe=0,numRepli
              esOwedOthers=0,seconds since begin=0,seconds left=30,SCInfo[examplesServer]=(sta
              te=rolledback),properties=({weblogic.transaction.name=[EJB TraderBeanImpl.buy()]
              })): java.rmi.NoSuchObjectException: Exception from ejbStore:javax.ejb.NoSuchEnt
              ityException: ejbStore: AccountBean (4003) not updated
              at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRunti
              meUtils.java:57)
              at weblogic.ejb20.manager.DBManager.beforeCompletion(DBManager.java:364)
              at weblogic.ejb20.internal.TxManager$TxListener.beforeCompletion(TxManag
              er.java:211)
              at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(Serv
              erSCInfo.java:511)
              at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(Se
              rverSCInfo.java:78)
              at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAn
              dChain(ServerTransactionImpl.java:893)
              at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(
              ServerTransactionImpl.java:1229)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
              sactionImpl.java:168)
              at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2
              01)
              at examples.ejb.basic.statefulSession.TraderBeanEOImpl.buy(TraderBeanEOI
              mpl.java:37)
              at examples.ejb.basic.statefulSession.TraderBeanEOImpl_WLSkel.invoke(Tra
              derBeanEOImpl_WLSkel.java:76)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
              va:373)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
              va:237)
              at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestH
              andler.java:118)
              at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
              .java:17)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              --------------- nested within: ------------------
              weblogic.utils.NestedRuntimeException: Error writing from beforeCompletion - wit
              h nested exception:
              [java.rmi.NoSuchObjectException: Exception from ejbStore:javax.ejb.NoSuchEntityE
              xception: ejbStore: AccountBean (4003) not updated]
              at weblogic.ejb20.internal.TxManager$TxListener.beforeCompletion(TxManag
              er.java:220)
              at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(Serv
              erSCInfo.java:511)
              at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(Se
              rverSCInfo.java:78)
              at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAn
              dChain(ServerTransactionImpl.java:893)
              at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(
              ServerTransactionImpl.java:1229)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
              sactionImpl.java:168)
              at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2
              01)
              at examples.ejb.basic.statefulSession.TraderBeanEOImpl.buy(TraderBeanEOI
              mpl.java:37)
              at examples.ejb.basic.statefulSession.TraderBeanEOImpl_WLSkel.invoke(Tra
              derBeanEOImpl_WLSkel.java:76)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
              va:373)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
              va:237)
              at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestH
              andler.java:118)
              at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
              .java:17)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              --------------- nested within: ------------------
              weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion
              : sync = weblogic.ejb20.internal.TxManager$TxListener@356eb0
              Error writing from beforeCompletion - with nested exception:
              [weblogic.utils.NestedRuntimeException: Error writing from beforeCompletion -
              wi
              th nested exception:
              [java.rmi.NoSuchObjectException: Exception from ejbStore:javax.ejb.NoSuchEntityE
              xception: ejbStore: AccountBean (4003) not updated]]
              at weblogic.transaction.internal.TransactionImpl.throwRollbackException(
              TransactionImpl.java:1261)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
              sactionImpl.java:218)
              at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2
              01)
              at examples.ejb.basic.statefulSession.TraderBeanEOImpl.buy(TraderBeanEOI
              mpl.java:37)
              at examples.ejb.basic.statefulSession.TraderBeanEOImpl_WLSkel.invoke(Tra
              derBeanEOImpl_WLSkel.java:76)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
              va:373)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
              va:237)
              at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestH
              andler.java:118)
              at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
              .java:17)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >"
              

    We did receive a 4.5.1 / 5.1 interoperability patch - but it wasn't quite 'seamless'.
    We never tried to use it.
    SOAP? Isn't that around 50 times slower than RMI?
    Mike
    "Gary Mui" <[email protected]> wrote:
    We ran into this issue last fall and got some feedback from weblogic
    support. They originally said that it could be done (as well as different
    versions talking to one another via JMS) but it turned out that they
    were
    incorrect and ended up saying that it is not possible. Before 6.0 went
    GA,
    BEA said that there would be a interoperability patch to do this, but
    I've
    never seen nor heard of anything regarding it. As a workaround, we
    implemented 4.5.1 / 6.0 communication via SOAP.
    Mike Reiche wrote in message <3b1bcaec$[email protected]>...
    I have the same question - and more. Last year we were told that wecould
    not use
    RMI (and ejbs) between 4.5.1 and 5.1. Which seems kinda weird becauseI've
    heard
    of people using WL ejbs from Tomcat. This issue has caused us to avoidusing
    WL ejbs in any future development which has any chance of ever beingused
    by any
    app server (WL included) that is not under the direct control of thedata
    center.
    I've been trying to convince the Architecture team here that we canuse WL
    EJBs
    and we can call them from other app servers - but can't seem to getany
    supporting
    statement from BEA (maybe I haven't tried hard enough).
    Anyway, a response from BEA would be appreciated.
    - Mike
    "Madhu K" <[email protected]> wrote:
    Is it possible to call a (stateless session) bean deployed in weblogic
    6.0
    from a bean in weblogic 5.1? I have two versions of weblogic running
    on two
    different hosts and I have to call a bean that is running in 6.0 from
    5.1.
    Are there any limitations?
    Appreciate any feedback/suggestions.
    Thanks,
    Madhu

  • Calling a bean in weblogic 4.5 from a servlet which is in Iplanet webserver4.1

    while Calling a bean in weblogic 4.5 from a servlet which is in Iplanet webserver4.1 sometimes the servlet is not able to call the bean. There is no error logged in webserver. This is happening very rarely and when it happens I have to shut and restart IplanetWS.
    Can anyone tell me some solution or reason
    Regards
    Nitin

    We did receive a 4.5.1 / 5.1 interoperability patch - but it wasn't quite 'seamless'.
    We never tried to use it.
    SOAP? Isn't that around 50 times slower than RMI?
    Mike
    "Gary Mui" <[email protected]> wrote:
    We ran into this issue last fall and got some feedback from weblogic
    support. They originally said that it could be done (as well as different
    versions talking to one another via JMS) but it turned out that they
    were
    incorrect and ended up saying that it is not possible. Before 6.0 went
    GA,
    BEA said that there would be a interoperability patch to do this, but
    I've
    never seen nor heard of anything regarding it. As a workaround, we
    implemented 4.5.1 / 6.0 communication via SOAP.
    Mike Reiche wrote in message <3b1bcaec$[email protected]>...
    I have the same question - and more. Last year we were told that wecould
    not use
    RMI (and ejbs) between 4.5.1 and 5.1. Which seems kinda weird becauseI've
    heard
    of people using WL ejbs from Tomcat. This issue has caused us to avoidusing
    WL ejbs in any future development which has any chance of ever beingused
    by any
    app server (WL included) that is not under the direct control of thedata
    center.
    I've been trying to convince the Architecture team here that we canuse WL
    EJBs
    and we can call them from other app servers - but can't seem to getany
    supporting
    statement from BEA (maybe I haven't tried hard enough).
    Anyway, a response from BEA would be appreciated.
    - Mike
    "Madhu K" <[email protected]> wrote:
    Is it possible to call a (stateless session) bean deployed in weblogic
    6.0
    from a bean in weblogic 5.1? I have two versions of weblogic running
    on two
    different hosts and I have to call a bean that is running in 6.0 from
    5.1.
    Are there any limitations?
    Appreciate any feedback/suggestions.
    Thanks,
    Madhu

Maybe you are looking for

  • TS1398 unable to get into wi-fi on my Ipod touch

    So I have tried to reset my network connection, my router is working fine and my ipod touch will not even allow me to open the wi-fi connection.....any ideas what I should do?

  • Invoice reference for residual payment

    HI experts I observed if I receive the payment from customer  Rs 10000 for the invoice Rs15000 through residual payment then system creates new line item for Rs 5000 and this will be shown as open item and all others will be clered items. Here my iss

  • REFUND AMOUNT

    IAM NOT PURCHASE THIS APPS  BUTN MY CARD AUTOMATICE CERDIT 550 RS PLS MY PAYMENT RETURN MY ACCOUNT Billed To: [email protected] imran hanfi                          8 south hatipala 8 indore m.p 452001 IND Order ID: MH3W6NJDZK Receipt Date: 27/06/13

  • Flash Actionscript Photo Gallery question

    So basically im putting together a little flash website and i created a photo gallery and put it on a frame seperate from the others and i want a button on the first frame to take you automatically to the photo gallery. So i did and it worked. I also

  • Cannot restart core application after change for writeback

    Hi, I added the entry to enable writeback in the instanceconfig.xml for presentation services - coreapplication_obips1 but now find that coreapplication will not restart, ceteris parabus. The initial error seems to be 'Mbean operation failed' with la