EJB QL Sample errors in deploying

I get following error when deploying ear file in oc4j10g. =>
D:\oc4j10g\j2ee\home>java -jar admin.jar ormi://localhost:23791 admin welcome -d
eploy -file d:\myj2ee\oc4jsamples\accounts\ejbql\build\ejbql.ear -deploymentName
Ejbql
Error: Deploy error: deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-mod
ule, Exception: Missing method-params in query-method; see page 478 in ejb 2.0 s
pec
com.evermind.client.orion.AdminCommandException: Deploy error: deploy failed!: ;
nested exception is:
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-mod
ule, Exception: Missing method-params in query-method; see page 478 in ejb 2.0 s
pec
at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:95
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
nsole.java:117)
at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
:26)
java.rmi.RemoteException: deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-mod
ule, Exception: Missing method-params in query-method; see page 478 in ejb 2.0 s
pec
at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_R
EMOTE_SERVER(RMIConnection.java:1504)
at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java
:1456)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocati
onHandler.java:55)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(Rec
overableRemoteInvocationHandler.java:22)
at __Proxy0.deploy(Unknown Source)
at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:92
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
nsole.java:117)
at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
:26)
Caused by: oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-
module, Exception: Missing method-params in query-method; see page 478 in ejb 2.
0 spec
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:94)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.deploy(DefaultApplicationServerAdministrator.java:278)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:140)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:54)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:199)
at java.lang.Thread.run(Thread.java:534)
---- Embedded exception
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module, Exc
eption: Missing method-params in query-method; see page 478 in ejb 2.0 spec
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:94)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.deploy(DefaultApplicationServerAdministrator.java:278)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:140)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:54)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:199)
at java.lang.Thread.run(Thread.java:534)
---- Embedded exception
java.lang.InstantiationException: Error initializing ejb-module, Exception: Miss
ing method-params in query-method; see page 478 in ejb 2.0 spec
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1792)
at com.evermind.server.Application.postInit(Application.java:635)
at com.evermind.server.Application.setConfig(Application.java:206)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
r.java:1654)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
tionDeployer.java:414)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:132)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:76)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.deploy(DefaultApplicationServerAdministrator.java:278)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:140)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:54)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:199)
at java.lang.Thread.run(Thread.java:534)
---- Embedded exception
java.lang.InstantiationException: Error initializing ejb-module, Exception: Miss
ing method-params in query-method; see page 478 in ejb 2.0 spec
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1792)
at com.evermind.server.Application.postInit(Application.java:635)
at com.evermind.server.Application.setConfig(Application.java:206)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
r.java:1654)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
tionDeployer.java:414)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:132)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:76)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.deploy(DefaultApplicationServerAdministrator.java:278)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:140)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:54)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:199)
at java.lang.Thread.run(Thread.java:534)
D:\oc4j10g\j2ee\home>

Hello Ravi,
The EJB 2.0 specification has made it mandatory to have <method-params> tag within the ejb-jar.xml. Due to the absence of this tag, you are getting the error...
Please modify ejb-jar.xml and add an empty <method-params></method-params> tag for the findByAllAccounts and ejbSelectByTopAccounts methods. For example,
<query>
<description>This query retrieves all the accounts</description>
<query-method>
<method-name>findByAllAccounts</method-name>
<method-params></method-params>
</query-method>
<ejb-ql>select distinct object(ua) from UserAccount ua</ejb-ql>
</query>
Notice the empty <method-params> tag added. Please do the same for the ejbSelectByTopAccounts method.
Another thing to be changed is the jsp:usebean tag in index.jsp and DisplayAccounts.jsp. In the mentioned files, replace jsp:usebean with jsp:useBean. Please notice the capital 'B'. JDK 1.4 has made this mandatory.
Futher more, as you would be aware, 10G onwards, the CMP beans accesses the database tables through the Toplink. Toplink is the default persistence manager now. To use the orion-ejb-jar.xml, please start the OC4J with the following command
java -Ddefault.cmp.pm=native_cmp -jar oc4j.jar
I would like to point out that the sample works fine in OC4J 904 developers preview without any of the above mentioned changes. The sample application has been certified in that version.
Thanks for pointing this problem out. We are making the necessary changes in the sample and the updated jar will be uploaded on OTN shortly.
Hope this helps,
Rajat

Similar Messages

  • EJB Service , 11g, Error on deployment.

    I am trying to use EJB adapter in my SOA Composite.
    I used Eclipselink's sdo-compiler to generate the SDO from a schema definition, and then imported them to the project.
    The approach to be followed is given in this link [http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/sca_sdo_ejb.htm]
    I am deploying from Jdeveloper, it compiles successfully but the deployment fails.
    While deploying the composite, I get the error posted below.
    where com.oracle.schemas.service.bpel.common.PropertiesTypeImpl is one of the SDO object generated by the sdo-compiler.
    and from the error log it seems org.eclipse.persistence_1.0.0.0_1-1-0.jar is the library in Weblogic server to handle SDOs.
    The eclipselink utility has another jar(Eclipselink.jar) that contains classes to generate SDO.
    I am not sure if this is error is due to inconsistencies between the jar in Eclipselink and Weblogic server.
    Any pointers to this is much appreciated.
    Error log on deployment--
    [11:57:26 AM] Error deploying archive sca_MessageInboundComp_rev1.0.jar to soa_server1 [lmryzd2:8001]
    [11:57:26 AM] HTTP error code returned [500]
    [11:57:26 AM] Error message from server:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
    <HTML>
    <HEAD>
    <TITLE>Error 500--Internal Server Error</TITLE>
    <META NAME="GENERATOR" CONTENT="WebLogic Server">
    </HEAD>
    <BODY bgcolor="white">
    <FONT FACE=Helvetica><BR CLEAR=all>
    <TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all>
    <FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 500--Internal Server Error</H2>
    </FONT></TD></TR>
    </TABLE>
    <TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><pre>javax.servlet.ServletException: oracle.classloader.util.AnnotatedLinkageError: Implementing class
         Invalid class: com.oracle.schemas.service.bpel.common.PropertiesTypeImpl
         Loader: default.composite.MessageInboundComp.0dcaa68c-61ab-490e-8f32-2ffa4825e13b:1.0
         Code-Source: /C:/Installed/wls11g_orahome/user_projects/domains/base_domain/deployed-composites/MessageInboundComp_rev1.0/sca_MessageInboundComp_rev1.0/0dcaa68c-61ab-490e-8f32-2ffa4825e13b/SCA-INF/lib/MessageProcessorService.jar
         Configuration: Application component in user-defined-origin
         Dependent class: org.eclipse.persistence.sdo.SDOType
         Loader: sun.misc.Launcher$AppClassLoader@20929799
         Code-Source: /C:/Installed/wls11g_orahome/modules/*org.eclipse.persistence_1.0.0.0_1-1-0.jar*
         Configuration: /C:/Installed/wls11g_orahome/modules/org.eclipse.persistence_1.0.0.0_1-1-0.jar
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:333)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.classloader.util.AnnotatedLinkageError: Implementing class
         Invalid class: com.oracle.schemas.service.bpel.common.PropertiesTypeImpl
         Loader: default.composite.MessageInboundComp.0dcaa68c-61ab-490e-8f32-2ffa4825e13b:1.0
         Code-Source: /C:/Installed/wls11g_orahome/user_projects/domains/base_domain/deployed-composites/MessageInboundComp_rev1.0/sca_MessageInboundComp_rev1.0/0dcaa68c-61ab-490e-8f32-2ffa4825e13b/SCA-INF/lib/MessageProcessorService.jar
         Configuration: Application component in user-defined-origin
         Dependent class: org.eclipse.persistence.sdo.SDOType
         Loader: sun.misc.Launcher$AppClassLoader@20929799
         Code-Source: /C:/Installed/wls11g_orahome/modules/org.eclipse.persistence_1.0.0.0_1-1-0.jar
         Configuration: /C:/Installed/wls11g_orahome/modules/org.eclipse.persistence_1.0.0.0_1-1-0.jar
         at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2410)
         at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1546)
         at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1728)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1689)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
         at org.eclipse.persistence.sdo.helper.SDOClassLoader.loadClass(SDOClassLoader.java:70)
         at org.eclipse.persistence.sdo.SDOType.getInstanceClass(SDOType.java:151)
         at org.eclipse.persistence.sdo.SDOType.preInitialize(SDOType.java:770)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.startNewComplexType(SDOTypesGenerator.java:487)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.startComplexType(SDOTypesGenerator.java:442)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processComplexType(SDOTypesGenerator.java:397)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processGlobalComplexType(SDOTypesGenerator.java:387)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processGlobalItem(SDOTypesGenerator.java:2136)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processSimpleElement(SDOTypesGenerator.java:1292)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processElement(SDOTypesGenerator.java:1187)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processGlobalElement(SDOTypesGenerator.java:1151)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processGlobalElements(SDOTypesGenerator.java:1139)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processSchema(SDOTypesGenerator.java:244)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.define(SDOTypesGenerator.java:126)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processImportIncludeInternal(SDOTypesGenerator.java:298)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processImports(SDOTypesGenerator.java:259)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processSchema(SDOTypesGenerator.java:241)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.define(SDOTypesGenerator.java:126)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processImportIncludeInternal(SDOTypesGenerator.java:298)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processImports(SDOTypesGenerator.java:259)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processSchema(SDOTypesGenerator.java:241)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.define(SDOTypesGenerator.java:126)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processImportIncludeInternal(SDOTypesGenerator.java:298)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processImports(SDOTypesGenerator.java:259)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.processSchema(SDOTypesGenerator.java:241)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.define(SDOTypesGenerator.java:126)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.define(SDOTypesGenerator.java:117)
         at org.eclipse.persistence.sdo.helper.SDOTypesGenerator.define(SDOTypesGenerator.java:112)
         at org.eclipse.persistence.sdo.helper.delegates.SDOXSDHelperDelegate.define(SDOXSDHelperDelegate.java:299)
         at oracle.integration.platform.blocks.sdox.BaseSDOBindingComponent.registerSDOFromTypes(BaseSDOBindingComponent.java:270)
         at oracle.integration.platform.blocks.sdox.BaseSDOBindingComponent.registerSDOs(BaseSDOBindingComponent.java:208)
         at oracle.integration.platform.blocks.sdox.BaseSDOBindingComponent.registerSDOs(BaseSDOBindingComponent.java:221)
         at oracle.integration.platform.blocks.sdox.BaseSDOBindingComponent.getPortMetaData(BaseSDOBindingComponent.java:191)
         at oracle.integration.platform.blocks.sdox.BaseSDOBindingComponent.registerSDOs(BaseSDOBindingComponent.java:103)
         at oracle.integration.platform.blocks.sdox.JavaEntryBindingComponent.load(JavaEntryBindingComponent.java:386)
         at oracle.integration.platform.blocks.sdox.JavaEntryBindingComponent.load(JavaEntryBindingComponent.java:33)
         at oracle.integration.platform.blocks.deploy.DeploymentConnection.deployServices(DeploymentConnection.java:233)
         at oracle.integration.platform.blocks.deploy.DeploymentConnection.deploy(DeploymentConnection.java:90)
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:161)
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.loadComposite(CompositeDeploymentManagerImpl.java:84)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
         at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:70)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy214.loadComposite(Unknown Source)
         at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoordinatorImpl.java:37)
         at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deployNewComposite(BaseDeployProcessor.java:274)
         at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:195)
         at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:149)
         at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:101)
         at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:88)
         at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:72)
         at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeployerServlet.java:140)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         ... 19 more
    Caused by: java.lang.IncompatibleClassChangeError: Implementing class
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2364)
         ... 89 more
    </pre></FONT></TD></TR>
    </TABLE>

    Any clues to this one?

  • Error while deploying EJB

    Hey Folks
    I am getting following error while deploying my ear file
    Auto-deploying sample-ejb.jar (No previous deployment found)... Error compiling D:\J2EE\SAMPLE\bin\SAMPLE/SAMPLE-ejb.jar: Syntax error in source
    can anybody plz tell me why it is coming
    ASAP help need

    Hi manishnsachdev,
    As per specs :
    The ObjectNotFoundException exception is thrown by a finder method to indicate that the specified EJB object does not exist.
    Since you're not executing any finder methods in your code, you should change your method signature to exclude the ObjectNotFoundException.
    Regards,
    Dimitar

  • Error message Deploying the sample HRapp using OBE

    I a novice to 9ias and I am using the OBE documents to get hands on on the Oracle 9ias. I tried to deploy the sample hrweb following the OBE document and encountered the error below. I need some help as to what to do next to correct this situation.
    On installation, I have the J2EE and webcache on one host and the infrastructure and database on another host.
    Here is the error message:
    Deployment failed: Nested exception Root Cause: Error loading web-app 'hrweb' at D:\Oracle9iAS\j2ee\home\applications\__hrapp\hrweb: Unknown assembly tag in file:/D:/Oracle9iAS/j2ee/home/applications/__hrapp/hrweb/: <ejb-local-ref>; nested exception is: java.lang.InstantiationException: Error loading web-app 'hrweb' at D:\Oracle9iAS\j2ee\home\applications\__hrapp\hrweb: Unknown assembly tag in file:/D:/Oracle9iAS/j2ee/home/applications/__hrapp/hrweb/: <ejb-local-ref>. Error loading web-app 'hrweb' at D:\Oracle9iAS\j2ee\home\applications\__hrapp\hrweb: Unknown assembly tag in file:/D:/Oracle9iAS/j2ee/home/applications/__hrapp/hrweb/: <ejb-local-ref>; nested exception is: java.lang.InstantiationException: Error loading web-app 'hrweb' at D:\Oracle9iAS\j2ee\home\applications\__hrapp\hrweb: Unknown assembly tag in file:/D:/Oracle9iAS/j2ee/home/applications/__hrapp/hrweb/: <ejb-local-ref>

    Hi,
    <ejb-local-ref> tag is used to reference an entity bean that has a local home and local interface. <ejb-local-ref> tag is supported in EJB 2.0 and later versions. Looking at the error message it appears that the container you are using does not support EJB 2.0.
    Which version of 9iAS are you using?
    Thanks

  • Error in deploying a simple EJB 3.0

    Hi ,
    I am getting the following error while deploying my simple ejb of version 3.0 in Weblogic 9.2.
    Exception preparing module: EJBModule(build) [EJB:011023]An error occurred while reading the deployment descriptor. The error was: Error processing annotations: java.lang.NullPointerException.
    During my evaluation of Weblogic 9.2 for EJB 3.0 , I have got the following questions.
    EJB Specification states that EJB's in EJB 3.0 can be developed and deployed without the need of deployment descriptors. I have created a simple EJB with two file Env.java and EnvBean.java and the source code is given below.
    a) I just complied these class files and when I was trying to deploy without ejb-jar.xml and weblogic-ejb-jar.xml, the console was not at all allowing me to deploy.Why is this so?
    b) After I created a META-INF file under root of classes directory by placing ejb-jar.xml with empty <enterprise-beans> element, console was allowing me to deploy with errors in parsing ejb-jar.xml. The error was either session/entity/mdb is a required under <enterprise-beans> element. Why is this required when there are several examples stating <enterprise-beans> element can be empty.
    c) Later I updated ejb-jar.xml with <session> element under <enterprise-beans> with the following values. I got the above error when deployed with this change.
    I had been struggling to deploy this simple bean for almost a day.Pleas point me if there is any documentation that solves my stated problem or if there is a solution.Thanks in advance.
    regards
    Karim
    ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" version="3.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
    <enterprise-beans>
    <session>
    <description>This is the stateless ejb</description>
    <display-name>Env Bean</display-name>
    <ejb-name>EnvBean</ejb-name>
    </session>
    </enterprise-beans>
    </ejb-jar>
    Env.java
    package examples ;
    public interface Env {
    public void display();
    EnvBean.java
    package examples;
    import javax.ejb.Remote;
    import javax.ejb.Stateless;
    @Stateless
    @Remote(Env.class)
    public class EnvBean implements Env {
    public void display() {
    System.out.println("Welcome to EJB 3.0");
    }

    Presumably you're using the EJB3 tech preview, and not a vanilla WebLogic 9.2 install, right?
    Can you post the full stack trace?
    -Patrick

  • Error while deploying EJB 1.1 on Weblogic 10.3.0.0

    I am trying to deploy an EJB (1.1) jar which is succesfully running on JBoss5.0 on WebLogic 10.3.0.0; I am getting following Error while deploying the jar on weblogic;
    Exception preparing module: EJBModule(ejb_RemoteServicesEjb) Unable to deploy EJB: RemoteServicesEjb.jar from RemoteServicesEjb.jar: There are 1 nested errors: weblogic.ejb.container.compliance.ComplianceException: In EJB com.package.ejbimpl.RemoteServicesEjb, the throws clause for ejbCreate method ejbCreate() contains exceptions that are NOT in the throws clause of the corresponding home interface method. at weblogic.ejb.container.compliance.HomeInterfaceChecker.checkCreateMethodsMatchBeanCreates(HomeInterfaceChecker.java:365) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:337) at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:286) at weblogic.ejb.container.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:952) at weblogic.ejb.container.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:920) at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:246) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:552) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:519) at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:393) at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:715) at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:618) at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1154) at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:425) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191) at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Does anybody knows what must be going wrong?
    Can't I deploy EJB 1.1 jar directly on Weblogic 10.3.0.0 or I need to change or configure something before doing it?

    Does the ejbCreate() method of the com.package.ejbimpl.RemoteServicesEjb class have an exception on it's throws clause that is not present on the ejbCreate() method of your home interface? If so, does the error go away if you add the exception to the home's ejbCreate() method? In general, you want checked exceptions in a throws clause to match between the interface declaration of the method and the implementation of the method on the bean class.
    - Matt

  • Error while deploying WC application: Unable to deploy EJB

    Hi All,
    we are getting the below error quite frequently, whenever we deploy the application to server:
    [03:35:14 AM] Weblogic Server Exception: weblogic.application.ModuleException: Exception preparing module: EJBModule(CAWrapperEJB.jar)
    Unable to deploy EJB: CAService from CAWrapperEJB.jar:
    [EJB:011055]Error deploying the EJB 'CAService(Application: CAPortal, EJBComponent: CAWrapperEJB.jar)', the JNDI name 'CAPortal-CAPModel-CAService2#com.lexisnexis.service.CAService' is already in use. You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB before it can be deployed.
    [03:35:14 AM] Caused by: java.lang.Throwable: Substituted for missing class [EJB - 11055]Error deploying the EJB 'CAService(Application: CAPortal, EJBComponent: CAWrapperEJB.jar)', the JNDI name 'CAPortal-CAPModel-CAService2#com.lexisnexis.service.CAnService' is already in use. You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB before it can be deployed.
    [03:35:14 AM] See server logs or server console for more details.
    -to solve this issue we just delete the cache and restart the Managed server.
    Please tell me what is the cause of this error and how can we fix it permanently, as restarting the server everytime is not very convenient.
    TIA,
    Bob

    The content of "weblogic-ejb-jar.xml" present in code is:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-ejb-jar http://www.bea.com/ns/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd"
    xmlns="http://www.bea.com/ns/weblogic/weblogic-ejb-jar">
    </weblogic-ejb-jar>

  • Error while Deploying Performance Management samples in XI R3.0

    Error while Deploying Performance Management samples in XI R3.0
    I get an error when deploying the PM samples. I have set the PM repository pointing to AFDEMO database
    I have used to Java of BO dir as well as the program files\Java (1.6.03)
    I run the runPublishUtil.bat  and get the below error
    Can anyone help me to publish the PM demo's
    Regards
    Ishaq
    Edited by: ishaqbaig on May 10, 2009 1:42 PM

    Error when runPublishUtil,bat
    C:\Program Files\Business Objects\Performance Management 12.0\setup>set JARLOC=..\..\common\4.0\java\lib\
    usage : runPublishUtil.bat [dbusername] [dbuserpassword]
    C:\Program Files\Business Objects\Performance Management 12.0\setup>java -classpath publishUtil.jar;..\..\common\4.0\java\lib\cecore.jar;..\..\common\4.0\java\lib\logging.jar;..\..\common\4.0\java\lib\celib.jar;..\..\common\4.0\java\lib\ceplugins.jar;..\..\common\4.0\java\lib\cesession.jar;..\..\common\4.0\java\lib\corbaidl.jar;..\..\common\4.0\java\lib\ebus405.jar;..\..\common\4.0\java\lib\external\xercesImpl.jar;..\..\common\4.0\java\lib\external\xml-apis.jar;..\..\common\4.0\java\lib\rascore.jar;..\..\common\4.0\java\lib\serialization.jar;..\..\common\4.0\java\lib\cereports.jar com.businessobjects.util.PublishUtil ".\PublishUtil.properties" sa forms45
    caught SDKException
    com.crystaldecisions.sdk.exception.SDKServerException: Enterprise authentication
    could not log you on. Please make sure your logon information is correct. (FWB
    00008)
    cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
    detail:Enterprise authentication could not log you on. Please make sure your logon information is correct. (FWB 00008)
    The server supplied the following details: OCA_Abuse exception 10498 at [.\secpluginent.cpp : 826]  42040 {}
            ...Invalid password
            at com.crystaldecisions.sdk.exception.SDKServerException.map(SDKServerException.java:107)
            at com.crystaldecisions.sdk.exception.SDKException.map(SDKException.java:193)
            at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:701)
            at com.crystaldecisions.sdk.occa.security.internal.LogonService.userLogon(LogonService.java:295)
            at com.crystaldecisions.sdk.occa.security.internal.SecurityMgr.userLogon(SecurityMgr.java:162)
            at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon(SessionMgr.java:422)
            at com.businessobjects.util.PublishUtil.logon(Unknown Source)
            at com.businessobjects.util.PublishUtil.main(Unknown Source)
    Caused by: com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
            at com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuseHelper.read(oca_abuseHelper.java:106)
            at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAs._LogonEx4Stub.UserLogonEx4(_LogonEx4Stub.java:80)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.crystaldecisions.enterprise.ocaframework.ManagedService.invoke(ManagedService.java:420)
            at com.crystaldecisions.sdk.occa.security.internal._LogonEx4Proxy.UserLogonEx4(_LogonEx4Proxy.java:222)
            at com.crystaldecisions.sdk.occa.security.internal.LogonService.doLogon(LogonService.java:347)
            at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:676)
            ... 5 more
    Exception in thread "main" java.lang.NullPointerException
            at com.businessobjects.util.PublishUtil.waitForValidInputFRS(Unknown Source)
            at com.businessobjects.util.PublishUtil.main(Unknown Source)
    Edited by: ishaqbaig on May 10, 2009 12:49 PM

  • Log4j error while deploying EJB 3.0 in weblogic 10

    Hi Friends,
    I am migrating an application EJB from 2.0 to 3.0 annotations.
    The log4j-1.2.3 for the project is configured in this way, it is added to the startWeblogic.cmd in weblogic 10 as :
    set JAVA_OPTIONS=%JAVA_OPTIONS% -Dlog4j.configuration=log4j.properties
    Now i am trying to deploy my EAR file that contains an EJB 3.0 Project and a Web project , it gives following error while deployment.
    ###<Jan 29, 2010 8:21:01 PM EST> <Warning> <Deployer> <ALPITSWXP00001> <wlw-pricingdev-s10> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264814461242> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Exception preparing module: EJBModule(streamlinesuspenseEJB.jar)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    org.apache.log4j.spi.RootCategory.<init>(Lorg/apache/log4j/Level;)V.
    at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    java.lang.NoSuchMethodError: org.apache.log4j.spi.RootCategory.<init>(Lorg/apache/log4j/Level;)V
    at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
    at org.apache.log4j.Logger.getLogger(Logger.java:124)
    at com.jmfamily.common.log.LogManager.getLogger(LogManager.java:33)
    at com.jmfamily.common.log.LogManager.getLogger(LogManager.java:42)
    at com.jmfamily.jma.contract.ejb.SuspendedContractSOBean.<clinit>(SuspendedContractSOBean.java:33)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processWLSAnnotations(EjbAnnotationProcessor.java:1699)
    at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processWLSAnnotations(EjbDescriptorReaderImpl.java:346)
    at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:192)
    at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
    at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:1198)
    at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:380)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    If i remove the "set JAVA_OPTIONS=%JAVA_OPTIONS% -Dlog4j.configuration=log4j.properties" from the weblogic statrup script and install the EAR it will be installed , but the logger is not initialized.
    If the option "set JAVA_OPTIONS=%JAVA_OPTIONS% -Dlog4j.configuration=log4j.properties" added to the startup script and i deployed the OLD EJB 2.0 app , it is installed successfully, but it didnt let me deploy EJB 3.0 app.
    I am hitting my head around it for a day now, no success so far..
    Please provide you suggestions , thanks a lot to all in advance.
    Thanks
    Sachin

    Does the ejbCreate() method of the com.package.ejbimpl.RemoteServicesEjb class have an exception on it's throws clause that is not present on the ejbCreate() method of your home interface? If so, does the error go away if you add the exception to the home's ejbCreate() method? In general, you want checked exceptions in a throws clause to match between the interface declaration of the method and the implementation of the method on the bean class.
    - Matt

  • [EJB:015001] error while deploying an ejb on weblogic app server

    Hi,
    I'm trying to deploy an ear which has lot of modules and it is failing for one of the ejb module. The exception is as follows:
    <Mar 22, 2011 7:47:01 PM GMT+05:30> <Error> <Deployer> <WL-149265> <Failure occurred in the execution of deployment request with ID '1300803398704' for task '0'. Error is: 'weblogic.application.ModuleException: Exception preparing module: EJBModule(triv.product.jar)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    Error processing annotations: .'
    weblogic.application.ModuleException: Exception preparing module: EJBModule(triv.product.jar)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    Error processing annotations: .
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.utils.ErrorCollectionException:
    There are 1 nested errors:
    weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015001]Unable to link class trivnet.product.services.svams.ProjSVAMServiceBean in Jar D:\ccm_wa\TICP-yogesh_3.4.0\TICP\product\classes : java.lang.NoClassDefFoundError: trivnet/service/svams/SVAMService
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(BaseJ2eeAnnotationProcessor.java:1323)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingError(BaseJ2eeAnnotationProcessor.java:1328)
         at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotations(EjbAnnotationProcessor.java:161)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandardAnnotations(EjbDescriptorReaderImpl.java:344)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:204)
         at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
         at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:1245)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:397)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(BaseJ2eeAnnotationProcessor.java:1322)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingError(BaseJ2eeAnnotationProcessor.java:1328)
         at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotations(EjbAnnotationProcessor.java:161)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandardAnnotations(EjbDescriptorReaderImpl.java:344)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:204)
         Truncated. see log file for complete stacktrace
    >
    <Mar 22, 2011 7:47:01 PM GMT+05:30> <Warning> <Deployer> <WL-149004> <Failures were detected while initiating deploy task for application 'ear'.>
    <Mar 22, 2011 7:47:01 PM GMT+05:30> <Warning> <Deployer> <WL-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Exception preparing module: EJBModule(triv.product.jar)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    Error processing annotations: .
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.utils.ErrorCollectionException:
    There are 1 nested errors:
    weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015001]Unable to link class trivnet.product.services.svams.ProjSVAMServiceBean in Jar D:\ccm_wa\TICP-yogesh_3.4.0\TICP\product\classes : java.lang.NoClassDefFoundError: trivnet/service/svams/SVAMService
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(BaseJ2eeAnnotationProcessor.java:1323)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingError(BaseJ2eeAnnotationProcessor.java:1328)
         at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotations(EjbAnnotationProcessor.java:161)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandardAnnotations(EjbDescriptorReaderImpl.java:344)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:204)
         at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
         at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:1245)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:397)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(BaseJ2eeAnnotationProcessor.java:1322)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingError(BaseJ2eeAnnotationProcessor.java:1328)
         at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotations(EjbAnnotationProcessor.java:161)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandardAnnotations(EjbDescriptorReaderImpl.java:344)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:204)
         Truncated. see log file for complete stacktrace
    >
    There are two scenarios one of which is working and the other is not. The details are below:
    Scenario 1: (Working)
    There is an ejb module in the ear (say ModA) which has two session beans (SessionA and SessionB having Remote interfcaes RemoteIntA and RemoteIntB).
    There is another ejb module in the ear (say ModB) which has few more session beans.
    Now I want to add an ejb which will extend from SessionA.
    So, I did following changes:
    i. added a remote interface in ModB - RemoteIntPA implements RemoteIntA
    ii. added session bean SessionPA extends SessionA implements RemoteIntPA
    iii. added ejb related annotations in SessionPA and removed the annotations from SessionA (i.e., SessionA is just a normal class by itself)
    Now in the application.xml I declare both modules (ModA and ModB) as ejb modules.
    I deploy the application everything works fine.
    Scenario 2: (Not Working)
    For some reason, I didn't required SessionB in ModA (which was the only ejb bean left in that module as SessionA was converted to normal java class). So I removed SessionB and RemoteIntB.
    Now as there are no ejb beans in ModA, I cannot define this as ejb module in application.xml and hence I defined it as java module.
    Now if I deploy the same application, I get the exception mentioned above.
    I think it has to do with the classpath issue. But how is that the classpath issue is arising when I declaring a module as java and not when I declare it as ejb. I have this module in classpath of ModB. So it doesn't matter what type of module it is.
    Am I missing something?
    Please help me in this regards.

    java.lang.NoClassDefFoundError: trivnet/service/svams/SVAMService
    The JAR with the class trivnet/service/svams/SVAMService is not in the classpath.

  • EJB - Tutorial giving error in Weblogic 8.1 Deployment - Help

    I am a EJB newbie, i tried deploying the Demo.jar and i get the following error on deployment
    Please help
    Thanks in Advance
    drg
    Exception:weblogic.management.ApplicationException: prepare failed for Demo Module: Demo Error: Exception preparing module: EJBModule(Demo,status=NEW) Unable to deploy EJB: Demo.jar from Demo.jar: In EJB DemoBean, references to javax.ejb.EJBContext, javax.ejb.SessionContext, or javax.ejb.EntityContext must not be transient. at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:268) at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232) at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810) at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766) at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407) at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784) at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) weblogic.ejb20.compliance.ComplianceException: In EJB DemoBean, references to javax.ejb.EJBContext, javax.ejb.SessionContext, or javax.ejb.EntityContext must not be transient. at weblogic.ejb20.compliance.SessionBeanClassChecker.checkEJBContextIsNotTransient(SessionBeanClassChecker.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:278) at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232) at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810) at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766) at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407) at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784) at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    [Deployer:149033]preparing application Demo on cosmosserver
    [Deployer:149033]failed application Demo on cosmosserver
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application Demo on cosmosserver.: Exception:weblogic.management.ApplicationException: prepare failed for Demo Module: Demo Error: Exception preparing module: EJBModule(Demo,status=NEW) Unable to deploy EJB: Demo.jar from Demo.jar: In EJB DemoBean, references to javax.ejb.EJBContext, javax.ejb.SessionContext, or javax.ejb.EntityContext must not be transient. at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:268) at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232) at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810) at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766) at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407) at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784) at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) weblogic.ejb20.compliance.ComplianceException: In EJB DemoBean, references to javax.ejb.EJBContext, javax.ejb.SessionContext, or javax.ejb.EntityContext must not be transient. at weblogic.ejb20.compliance.SessionBeanClassChecker.checkEJBContextIsNotTransient(SessionBeanClassChecker.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:278) at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232) at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810) at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766) at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407) at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784) at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    Could you post the code for your DemoBean?
    I suspect that you are using a really old tutorial on EJB where the EJBContext, SessionContext or EntityContext were declared transient. This was, I believe, the case with EJB 1.0. You would need to remove the transient from the context declaration, if that is the case.

  • Invalid change to class error when deploying EJB

    We have EJBs that were built by Webgain Visual Cafe and successfully deploy
    to WLS 5.1. We then use the WLE EJB Deployer Tool to build WLE container
    classes and deploy the same EJBs in WLE 5.1.
    One EJB does not deploy in WLE. The ULOG error message is:
    133929.EA-LAWSTUC!JavaServer.517: main: IJENGINE_CAT:150: ERROR: Invalid
    change to class service.Request
    133929.EA-LAWSTUC!JavaServer.517: main: EJB_CAT:29: ERROR: While deploying
    jar ServiceEJB : com.beasys.weblogic.classloader.RedeploymentException:
    ERROR: Invalid change to class service.Request
    133929.EA-LAWSTUC!JavaServer.517: Finalizer: IJENGINE_CAT:152: INFO: Closing
    jar C:\aj\ServiceEJB_WLE.jar
    Does anyone know what can cause an "invalid change to class" error when
    deploying to WLE 5.1? Especially since the EJB deploys successfully in
    WLS.
    Carl Lawstuen

    Reason: database keeps a reference of the class in JAVA$CLASS$MD5$TABLE table. This table keeps a refrence to all java classes loaded in database, and is present in each schema you deploy classes. That's the reason why if you change the application module name, you can load this classes. It instead keeps a reference if you use DROP JAVA CLASS command to drop a java class from de database. Use DROP JAVA command to clear the reference of the dropped classes when dropping it.
    You can see this table as a class dictionary of the database, and you don't have to handle this records manually.

  • Errors when deploy a simple entity ejb module to oc4j 10g?

    I work as following steps:
    1. new project
    2. new Digram-->EJB Diagram
    3. Drag a Entity bean ico to Diagram and name it with Student, then add a id&name column to it.
    4 set the entity-ejb Student's Resource Reference's property: name(MysqlPool),ResourceType(com.mysql.jdbc.Driver),Authentification(Container)
    (in oc4j, I have set the pool connection--MysqlPool)
    5 use command to start oc4j 10.1.3 in jdev10.1.3
    6 In Jdeveloper IDE, select ejb-jar.xml and use right mouse button to call out the menu and then select "Cretae ejb or jar deploy profile", set the deploy platform to my oc4j connection.
    7 select the deploy profile and deploy to my oc4j connection, then errors were reported as following:
    Target platform is Standalone OC4J 10.1.3 (AppServerConnection1).
    Wrote EJB JAR file to D:\jdevj2ee1013\jdev\mywork\Application1\Project1\deploy\ejb1.jar
    Wrote EAR file to D:\jdevj2ee1013\jdev\mywork\Application1\Project1\deploy\ejb1.ear
    Uploading file ...
    Application Deployer for ejb1 STARTS.
    Do not undeploy previous deployment
    Copy the archive to D:\jdevj2ee1013\j2ee\home\applications\ejb1.ear
    Initialize D:\jdevj2ee1013\j2ee\home\applications\ejb1.ear begins...
    Unpacking ejb1.ear
    Done unpacking ejb1.ear
    Initialize D:\jdevj2ee1013\j2ee\home\applications\ejb1.ear ends...
    Starting application : ejb1
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Processing EJB module: ejb1.jar
    Compiling EJB generated code
    Error while compiling EJB component: D:\jdevj2ee1013\j2ee\home\applications\ejb1\ejb1.jar
    com.evermind.compiler.CompilationException: Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)
         at com.evermind.server.ejb.compilation.EntityBeanCompilation.createTable(EntityBeanCompilation.java:257)
         at com.evermind.server.ejb.compilation.EntityBeanCompilation.preCompile(EntityBeanCompilation.java:318)
         at com.evermind.server.ejb.compilation.Compilation.generateAnyOldStyle(Compilation.java:1728)
         at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:162)
         at com.evermind.server.ejb.compilation.Compilation.doGenerateCode(Compilation.java:216)
         at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:1197)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1118)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:200)
         at com.evermind.server.Application.setConfig(Application.java:299)
         at com.evermind.server.Application.setConfig(Application.java:226)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1740)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:403)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:144)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:95)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:53)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:68)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:299)
         at java.lang.Thread.run(Thread.java:534)
    application : ejb1 is in failed state
    java.lang.InstantiationException: Error initializing ejb-module; Exception
    Error compiling D:\jdevj2ee1013\j2ee\home\applications\ejb1\ejb1.jar: Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)
         at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBContainer.java:2285)
         at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:1422)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1118)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:200)
         at com.evermind.server.Application.setConfig(Application.java:299)
         at com.evermind.server.Application.setConfig(Application.java:226)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1740)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:403)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:144)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:95)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:53)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:68)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:299)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.InstantiationException:
    Error compiling D:\jdevj2ee1013\j2ee\home\applications\ejb1\ejb1.jar: Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)
         at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:1226)
         ... 12 more
    Operation failed with error:
    java.lang.InstantiationException: Error initializing ejb-module; Exception
    Error compiling D:\jdevj2ee1013\j2ee\home\applications\ejb1\ejb1.jar: Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)
    Deployment failed
    Elapsed time for deployment: 41 seconds
    #### Deployment incomplete. #### 2005-2-15 10:46:02
    what's the meaning about Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)?
    I didn't use jdbc/OracleDS Datasource, and I deleted it from config\data-source.xml.
    Is it cause those errors or my operation rong?
    Who can tell me the entity ejb's deploy method&step?

    Yes, now I added a connection pool and a datasource in oc4j, and set the datasource's jndi name to "jdbc/OracleDS".For The connection pool,I use the mysql database.
    Followed the above operation, I repeat the deployment and it deployed successfully.
    Viewed by web-control-for-oc4j, I found jdeveloper automaticly created a datasource and pool for the ejb module.However, the datasource's parameter(connection-factory factory-class="oracle.jdbc.pool.OracleDataSource") is wrong.
    So I open Tools Menu->Preferences menu and setted the Deploy property to "unbundle datasource...".Then I Created a file named data-sources.xml in project and filled out the correct properties.
    After I deploied the ejb-module, I openned the deploied .ear file with winrar to view its contents.I found the factory-class property's value is still wrong which included in data-sources.xml file in Mata-Inf directory,but the property of the data-sources.xml file in .jar file is correct.So, the class factory value of the deploied ejb-application's connection pool still is "oracle.jdbc.pool.OracleDataSource".It couldn't work surely.
    Of course, I can modity the data-sources.xml in .ear file.
    But has some more better method to settle this problem while not manuelly?

  • Beginner Question - Help Needed for EJB QL Sample Application

    I'm working with a group of student interns, like myself, and we've been given an assignment to work with Oracle. All of us have no training or experience with this, so we're just learning as we go.
    I've been trying to run the EJB QL Sample Application (http://www.oracle.com/technology/sample_code/tech/java/ejb_corba/ejbql/Install.html), but I keep running into problems at step 3.
    Now, we will deploy the sample application onto OC4J. Open another command prompt and go to the folder <OC4J_HOME>/j2ee/home and run the following commands one-by-one
    > java -jar admin.jar ormi://<machine_name>:<admin_port> admin <admin_pwd> -deploy -file <SAMPLE_HOME>/build/ejbql.ear -deploymentName Ejbql
    > java -jar admin.jar ormi://<machine_name>:<admin_port> admin <admin_pwd> -bindWebApp Ejbql ejbql-war http-web-site /ejbql
    where,
    <machine_name>      Name of the machine where OC4J Server is running
    <admin_port>      Admin Port on which the OC4J server listens. This value by default is 23791 unless explicitly changed by the user
    <admin_pwd>      Adminstrator password to access OC4J. The default value is welcome
    When I do this step I get this error:
    Error: Unable to find java:comp/ServerAdministrator: Lookup error: javax.naming.
    AuthenticationException: Invalid username/password for default (sds); nested exc
    eption is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds)
    com.evermind.client.orion.AdminCommandException: Unable to find java:comp/Server
    Administrator: Lookup error: javax.naming.AuthenticationException: Invalid usern
    ame/password for default (sds); nested exception is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:105)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException
    : Invalid username/password for default (sds); nested exception is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds) [Root exception is javax.naming.AuthenticationException: Invalid usern
    ame/password for default (sds)]
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:153)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:102)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    Caused by: javax.naming.AuthenticationException: Invalid username/password for d
    efault (sds)
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2410
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2226
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1692)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:727)
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
    ... 2 more
    ---- Embedded exception
    javax.naming.AuthenticationException: Invalid username/password for default (sds
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2410
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2226
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1692)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:727)
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:102)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    Any suggestions to fix this error?
    Thanks in advance for any help.

    George,
    The Readme.html file is available with the ejbqlsample.jar downloadable (Extract and find the doc in Ejbql\docs\Readme.html) which is printable.
    Or,
    If you are trying to print the file directly from OTN site, you need to set the Page-Setup Orientation to 'Landscape'.
    Hope this helps.
    Regards
    Pushkala

  • Error while deploying decision services on server "bg1ws0044"

    hi'
    I have followed tutorial provided in the sample in the SOA suite
    "C:\product\10.1.3.1\OracleAS_1\bpel\samples\demos\ExpenseRequestApproval"
    for integrating BPEL and business rules, however the after deploying the ant is giving following below error
    I am using JDeveloper studio edition 10.1.3.1.0 and SOA 10.1.3.1.0
    please tell me what is the issue
    thanks
    Yatan
    error:
    Buildfile: D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\ExpenseRequest3\build.xml
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/D:/Oracle-SaaS/Downloads/jdevstudio10131/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] url is file:/D:/Oracle-SaaS/Downloads/jdevstudio10131/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process ExpenseRequest3 on bg1ws0044, port 80
    [deployProcess] Deploying process D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\ExpenseRequest3\output\bpel_ExpenseRequest3_1.0.jar
    [deployProcess] Successfully deployed the process "ExpenseRequest3" on server "bg1ws0044" and port "80"
    deployTaskForm:
    [echo]
    | Deploying workflow form for ExpenseRequest3 on bg1ws0044, port 80
    [deployTaskForm] 09/07/24 15:17:07 Notification ==>Application Deployer for default_ExpenseRequest3_1_0_ExpenseApproval STARTS.
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:07 Notification ==>Copy the archive to C:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\applications\default_ExpenseRequest3_1_0_ExpenseApproval.ear
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:07 Notification ==>Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\applications\default_ExpenseRequest3_1_0_ExpenseApproval.ear begins...
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:07 Notification ==>Unpacking default_ExpenseRequest3_1_0_ExpenseApproval.ear
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:07 Notification ==>Done unpacking default_ExpenseRequest3_1_0_ExpenseApproval.ear
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:07 Notification ==>Unpacking workflowform.war
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Done unpacking workflowform.war
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\applications\default_ExpenseRequest3_1_0_ExpenseApproval.ear ends...
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Starting application : default_ExpenseRequest3_1_0_ExpenseApproval
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Initializing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Initializing EJB container
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Loading connector(s)
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Starting up resource adapters
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Initializing EJB sessions
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Committing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Initialize workflowform begins...
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Initialize workflowform ends...
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Started application : default_ExpenseRequest3_1_0_ExpenseApproval
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Application Deployer for default_ExpenseRequest3_1_0_ExpenseApproval COMPLETES. Operation time: 344 msecs
    [deployTaskForm]
    [deployTaskForm] Successfully deployed form on server "bg1ws0044"
    deployDecisionServices:
    [echo]
    | Deploying decision services for ExpenseRequest3 on bg1ws0044, port 80
    BUILD FAILED
    D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\ExpenseRequest3\build.xml:116: Error while deploying decision services on server "bg1ws0044"
    Total time: 9 seconds

    after "verbose=true"
    this is the error:
    | Deploying decision services for SalesRequest1 on bg1ws0044, port 80
    [deployDecisionServices] Start of deploying decision services.
    [deployDecisionServices] Deploy decision service in directory D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService
    [deployDecisionServices] Start deploying decision service from directory D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService to J2EE context /rules/default/SalesRequest1/1.0/DecisionService
    [deployDecisionServices] Replace placeholders in file D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\wsdl\DecisionService.wsdl
    [deployDecisionServices] Replace placeholders in file D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\wsdl\DecisionService.wsdl done.
    [deployDecisionServices] Replace placeholders in file D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\public_html\GetDecisionServiceInfo.jsp
    [deployDecisionServices] Replace placeholders in file D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\public_html\GetDecisionServiceInfo.jsp done.
    [deployDecisionServices] Start compiling fact type classes in directory D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes
    [deployDecisionServices] Compiling from shell, src=D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes, classpath=D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\lib\ojc.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-oracle.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel-ant.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel-common.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel-thirdparty.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\webservices\lib\orawsdl.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\lib\xmlparserv2.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\lib\xml.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\j2ee\home\lib\oc4j-internal.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\j2ee\home\lib\adminclient.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\bpm\support\files;D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\lib\jdev.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\xml-apis.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\xercesImpl.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\jakarta-oro-2.0.8.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\commons-net-1.3.0.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-xslp.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-xalan1.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-weblogic.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-vaj.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-trax.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-swing.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-stylebook.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-starteam.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-nodeps.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-netrexx.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-launcher.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-junit.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jsch.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jmf.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jdepend.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-javamail.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jai.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-icontract.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-commons-net.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-commons-logging.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-resolver.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-regexp.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-oro.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-log4j.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-bsf.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-bcel.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-antlr.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\jdk\lib\tools.jar
    [deployDecisionServices] Source file exists. Read Java source file names.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/ObjectFactory.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChain.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainType.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainTypeImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequest.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestType.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestTypeImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponse.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponseImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Compiled class(es) "D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/ObjectFactory.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChain.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainType.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainTypeImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequest.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestType.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestTypeImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponse.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponseImpl.java"
    [deployDecisionServices] Error in ant execution: Java compilation failed.
    Failed to compile file(s) "D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/ObjectFactory.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChain.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainType.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainTypeImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequest.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestType.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestTypeImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponse.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponseImpl.java".
    Exception reported is: D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated\SalesRequestTypeImpl.java:87: Class generated.ItemsType not found.
    return (ItemsType) super.getElement("items", "http://xmlns.oracle.com/ExpenseRequest", (oracle.xml.jaxb.JaxbNode)obj, 4);
    ^
    1 error
    Please verify that file D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/ObjectFactory.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChain.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainType.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainTypeImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequest.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestType.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestTypeImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponse.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponseImpl.java is valid java file or if all required libraries are included in your classpath.
    classpath: D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\lib\ojc.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-oracle.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel-ant.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel-common.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel-thirdparty.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\webservices\lib\orawsdl.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\lib\xmlparserv2.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\lib\xml.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\j2ee\home\lib\oc4j-internal.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\j2ee\home\lib\adminclient.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\bpm\support\files;D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\lib\jdev.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\xml-apis.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\xercesImpl.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\jakarta-oro-2.0.8.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\commons-net-1.3.0.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-xslp.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-xalan1.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-weblogic.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-vaj.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-trax.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-swing.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-stylebook.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-starteam.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-nodeps.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-netrexx.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-launcher.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-junit.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jsch.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jmf.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jdepend.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-javamail.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jai.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-icontract.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-commons-net.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-commons-logging.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-resolver.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-regexp.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-oro.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-log4j.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-bsf.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-bcel.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-antlr.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\jdk\lib\tools.jar
    BUILD FAILED
    D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\build.xml:116: Error while deploying decision services on server "bg1ws0044"
    Total time: 9 seconds

Maybe you are looking for

  • Call control protocols over which technology ?

    Hello, I am a little confused over which call control protocols are used over which layer 2 technologies. My understanding is as follows: - internet ADSL connection to PSTN = VOIP, therefore can use MGCP, H323 or SIP as call control protocols to your

  • Sample Editor

    I have sampled a section of speech from a much larger recorded mp3 file, now I want to revisit the whole speech again but no matter which audio channel I use it reverts to the much shorter section. Can anyone help please

  • Mail and attachment (Sender Channel)

    Hi, I receive e-mails with attachments. These are processed correctly because I addad the PayloadSwapBean into the module chain of the communication channel. Sometimes (when I send an e-mail with attachment from my own e-mail account) the attachment

  • Call subroutine in sap script

    how can i call subroutine in SAP Script?& where?

  • Can not load an external swf file from my site

    Hi ... I have a fla file which is loading external swf files from my local folders. I inserted some of the swf files to a web site and tried to load them from the site, not from my local folder... So it gave me a security error like below: *** Güvenl