ORABPEL-09903 when deploying BPEL project

Hi,
When I am deploy a BPEL project, below error is reported:
C:\jdevstudio10133\jdev\AppsCreateOrder\AppsCreateOrder\build.xml:79: A problem occured while connecting to server "col-hydra2" using port "7777":
bpel_AppsCreateOrder_1.0.jar failed to deploy. Exception message is:
ORABPEL-09903
Could not initialize activation agent.
Any help is greatly appreciated in helping resolve this issue.
Regards,
Balu

Hi everyone,
I have posted this under BPEL forum also where solution for this ORABPEL error is provided.
URL:
Urgent help needed for ORABPEL-09903
But looking at the solution I am not understanding one thing.
If we remove activationAgents from bpel.xml, then how our BPEL process gets initialized.
Removing that xml fragment from the bpel.xml file will essentially render the adapter unserviceable because you have removed the activation agent linked with the adapter. Thus, despite the process getting deployed successfully, the adapter will not work and you will get a run-time error.
Any opinions on this?
Cheers,
Abhi...

Similar Messages

  • Error when deploying BPEL Process to Weblogic 11g

    Hi,
    I have just started to use JDev and SOA, so I am new to this.
    I have created numerous BPEL processes in JDev 11.1.1.5.0 which im trying to deploy to the SOA domain on Weblogic 10.3.4.0 however each time the same error appears:
    [09:24:35 AM] ---- Deployment started. ----
    [09:24:35 AM] Target platform is (Weblogic 10.3).
    [09:24:35 AM] Running dependency analysis...
    [09:24:36 AM] Building...
    [09:24:53 AM] Deploying profile...
    [09:24:53 AM] Updating revision id for the SOA Project 'Project1.jpr' to '1.0'..
    [09:24:54 AM] Wrote Archive Module to C:\JDeveloper\mywork\JETEST\Project1\deploy\sca_Project1_rev1.0.jar
    [09:24:54 AM] Deploying sca_Project1_rev1.0.jar to partition "default" on server soa_server1 [http://hostname:8001]
    [09:24:54 AM] Processing sar=/C:/JDeveloper/mywork/JETEST/Project1/deploy/sca_Project1_rev1.0.jar
    [09:24:54 AM] Adding sar file - C:\JDeveloper\mywork\JETEST\Project1\deploy\sca_Project1_rev1.0.jar
    [09:24:54 AM] Preparing to send HTTP request for deployment
    [09:24:54 AM] Creating HTTP connection to host:[http://hostname:8001]
    [09:24:54 AM] Sending internal deployment descriptor
    [09:24:54 AM] Sending archive - sca_Project1_rev1.0.jar
    [09:24:59 AM] Received HTTP response from the server, response code=500
    [09:24:59 AM] Error deploying archive sca_Project1_rev1.0.jar to partition "default" on server soa_server1 [http://hostname:8001]
    [09:24:59 AM] HTTP error code returned [500]
    [09:24:59 AM] Error message from server:
    There was an error deploying the composite on soa_server1: Deployment Failed: Error occurred during deployment of component: BPELProcess1 to service engine: implementation.bpel, for composite: Project1: ORABPEL-05250
    Error deploying BPEL suitcase.
    error while attempting to deploy the BPEL component file "/u01/app/oracle/product/Middleware/user_projects/domains/soa_domain/servers/soa_server1/dc/soa_65920eec-7e29-45fd-a66f-53dc157b8618"; the exception reported is: java.lang.NoClassDefFoundError: Could not initialize class com.collaxa.cube.util.JavaHelper
    This error contained an exception thrown by the underlying deployment module.
    Verify the exception trace in the log (with logging level set to debug mode).
    [09:24:59 AM] Check server log for more details.
    [09:24:59 AM] Error deploying archive sca_Project1_rev1.0.jar to partition "default" on server soa_server1 [http://hostname:8001]
    [09:24:59 AM] #### Deployment incomplete. ####
    [09:24:59 AM] Error deploying archive file:/C:/JDeveloper/mywork/JETEST/Project1/deploy/sca_Project1_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Can anyone help?
    Cheers

    I have created numerous BPEL processes in JDev 11.1.1.5.0 which im trying to deploy to the SOA domain on Weblogic 10.3.4.0 however each time the same error appears:Did you check server log? Exactly which class it is not able to find?
    Regards,
    Anuj

  • Error in deploying BPEL project from Jdeveloper

    Hi all,
    I am using Jdeveloper 10.1.3.4.0.
    For the first time BPEL project deployed successfully, but when i am trying to deploy second time it's giving the below error.
    BUILD FAILED
    D:\jdevstudio10134\jdev\mywork\AIA_POC_Application\AIABPELProcess1\build.xml:77: A problem occured while connecting to server "172.16.122.234" using port "80": bpel_AIABPELProcess1_1.0.jar failed to deploy. Exception message is: Error deploying BPEL suitcase.
    An error occurred while attempting to deploy the BPEL suitcase file "D:\SOA10.1.3.5\10.1.3.1\OracleAS_1\bpel\domains\default\tmp\bpel_10514847.tmp"; the exception reported is: archive cannot rename D:\SOA10.1.3.5\10.1.3.1\OracleAS_1\bpel\domains\default\tmp\.bpel_AIABPELProcess1_1.0_a5bf50a13f9cba731b8f263f2431a17c.tmp
    pls help me.
    thanks
    mani

    Can you check these things :
    1) is this issue with only this project ? Try deploying some other project
    2) try deploying this project using ant (change values in build.properties and right click on project -> run ant or something like that, use default deploy target)
    3) try undeploying project from server and then redeploying it again
    also, why is it connecting to port 80? normally it is 8888 or 7777 right?
    regards,
    Ketan

  • Classpath Error when deploying BPEL Workflow

    I am trying to deploy BPEL workflow in my server but i encountered the following errors during the deployment :-
    Redeploying on /Farm_BPM/BPM/BPM_AS ...
    Redeploying on "/Farm_BPM/BPM/BPM_AS" failed!
    Error during deployment/undeployment: Error occurred during deployment of component: SimpleTestProcess to service engine: implementation.bpel for composite: SimpleTest: ORABPEL-01005
    Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "SimpleTestProcess" of composite "default/SimpleTest!0.1*soa_f3fe5417-236c-4222-b281-17c2e0c0393c"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    However, it is working fine within my local JDeveloper suite, as I preloaded the classpath for my project. If I bundled the libraries (JAR files) in the SCA-INF/lib folder, then it can work well. but the file size will be big and not well-maintained.
    May I know how can I set the CLASSPATH for this BPEL component within SOA Suite 11g running on Weblogic 11g? I tried a couple of ways, but still not working fine.

    I have created numerous BPEL processes in JDev 11.1.1.5.0 which im trying to deploy to the SOA domain on Weblogic 10.3.4.0 however each time the same error appears:Did you check server log? Exactly which class it is not able to find?
    Regards,
    Anuj

  • Deploying BPEL project using ant script in 11g

    Hi,
    i am just trying to deploy a single BPEL project using ant script.
    please specify what are all the needed jar's to be needed for deploying the project using ant
    and where exactly they have to placed, i mean into which directory i need to place those jar's...
    if u have any specific blog which describes step by step procedurs for single project deployment via ant, please tell me...
    its very urgent..
    thanks in advance...

    Hi',
    The .jar file required will be of the project/composite you want to deploy to server, this jar is inside deploy folder (11G).
    This .jar file gets created when you try to deploy your composite using right click on the project in JDev.
    This .jar can be picked from any location.
    Try this its little more descriptive.
    http://shrikworld.blogspot.com/2011/03/deploying-soa-11g-application-using-ant.html
    -Yatan

  • Deploy bpel project using ant

    Hi,
    I am try to create the build.xml to deploy the bpel project with ant.
    The build.xml and build.properties work fine with Jdev now, but when I use the command line 'ant deploy' to test it, it got following error:
    Buildfile: build.xml
    [echo]
    [echo] oracle.home = "D:/jdevstudio10134"
    [echo] bpel.home = "D:/jdevstudio10134/integration/bpel"
    [echo]
    [java] Java Result: 1
    [taskdef] Could not load definitions from resource com/collaxa/cube/ant/orabpe
    l-antlib.xml. It could not be found.
    pre-build:
    validateTask:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Validating workflow
    [echo] --------------------------------------------------------------
    [echo]
    BUILD FAILED
    D:\Projects\NetApp\SVN\Integration\Item\SourceCode\UpdateItemEbizReqABCSImpl\bui
    ld.xml:72: Could not create task or type of type: validateTask.
    Ant could not find the task or a class this task relies upon.
    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
    - You have misspelt 'validateTask'.
    Fix: check your spelling.
    - The task needs an external JAR file to execute
    and this is not found at the right place in the classpath.
    Fix: check the documentation for dependencies.
    Fix: declare the task.
    - The task is an Ant optional task and the JAR file and/or libraries
    implementing the functionality were not found at the time you
    yourself built your installation of Ant from the Ant sources.
    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
    task and make sure it contains more than merely a META-INF/MANIFEST.MF.
    If all it contains is the manifest, then rebuild Ant with the needed
    libraries present in ${ant.home}/lib/optional/ , or alternatively,
    download a pre-built release version from apache.org
    - The build file was written for a later version of Ant
    Fix: upgrade to at least the latest release version of Ant
    - The task is not an Ant core or optional task
    and needs to be declared using <taskdef>.
    - You are attempting to use a task defined using
    <presetdef> or <macrodef> but have spelt wrong or not
    defined it at the point of use
    Remember that for JAR files to be visible to Ant tasks implemented
    in ANT_HOME/lib, the files must be in the same directory or on the
    classpath
    Please neither file bug reports on this problem, nor email the
    Ant mailing lists, until all of these causes have been explored,
    as this is not an Ant bug.
    Total time: 0 seconds.
    Any hint on it?
    Thanks!

    you need to set environment variables (at least $ORACLE_HOME and $JAVA_HOME), for ant tasks to work from command line.
    If you are trying this on the SOA Suite server, open a devprompt.sh from $ORACLE_HOME/bpel/bin, and it would work from there.
    Regards,
    Shanmu.
    http://www.prshanmu.com/articles/

  • When deploying BPEL Process through JDeveloper java.security.AccessControlE

    1.) Navigated to the Connections tab of JDeveloper 10.1.3.2.
    2.) Under the Application Server node, created a new Application Server
    connection, provided the relevant information on Type, Authentication
    & Connection's tab.
    3.) On Authentication Tab, provided the username as oc4jadmin.
    The password was not modified.
    4.) On the Test Tab after clicking on Test Connection,
    the connection was created successfully.
    5.) Under the Integration Server node,created a new Integration Server
    connection, provided the relevant information on Name & Connection
    Tab's.
    6.) On the Test Tab after clicking on Test Connection,
    the connection was created successfully.
    7.) Went to the Applications Navigator tab of JDeveloper 10.1.3.2.
    8.) Here a simple BPEL Process was created.
    9.) When trying to deploy the BPEL Process through JDeveloper,
    the below exception was thrown.
    We are using Oracle's SOA Suite 10.1.3.1 :-
    Buildfile: C:\TerminationDevelopment\TerminationProcess\build.xml
    validateTask:
    [echo]
    | Validating
    workflow
    [validateTask] url is file:/C:/JDevStudioBaseDevelopment/integration/bpm/support/files/WorkflowTaskDef
    inition.xsd
    [validateTask] url is file:/C:/JDevStudioBaseDevelopment/integration/bpm/support/files/WorkflowTaskDef
    inition.xsd
    [validateTask] url is file:/C:/JDevStudioBaseDevelopment/integration/bpm/support/files/WorkflowTaskDef
    inition.xsd
    [validateTask] url is file:/C:/JDevStudioBaseDevelopment/integration/bpm/support/files/WorkflowTaskDef
    inition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process TerminationProcess on 172.16.100.85, port
    7778
    [deployProcess] Deploying process C:\TerminationDevelopment\TerminationProcess\output\bpel_TerminationProcess_1.1.
    jar
    BUILD FAILED
    C:\TerminationDevelopment\TerminationProcess\build.xml:79: A problem occured while connecting to server "172.16.100.85" using port "7778":
    java.security.AccessControlException: access denied
    (com.collaxa.security.DomainPermission default read)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264
    at java.security.AccessController.checkPermission(AccessController.java:427)
    at com.collaxa.security.OC4JSecurityService.checkAccess(OC4JSecurityService.java:16
    at com.collaxa.security.SecurityService.checkDomainAccess(SecurityService.java:26)
    Text continued in next action...

    Hello
    I have the same problem , please see the solution if you have fixed that.
    Thanks

  • Error when deploy a project in SQL Server Analysis Services

    Hi all, I tried deploy my project SSAS, but it send message error.
    This is image before deploy myproject, it is star chema of project.
    and this is the image when i try deploy it, error list.
    I want to complete my project. How i can fix error list??? Help me.
     

    Hi Anhlovevietnam,
    According to the error message, it seems that the Analysis Services account lack permission to access ‘QLTICKET’. By default, the default account for AS services has only public permission to few databases. If you haven't change the AS services account,
    or haven't grant the permission for this account, then you cannot deploy the AS project to server.
    So in your scenario, ensure the service "SQL Server Analysis Services" is running with a proper Log On As user. This user should have administrator permission on Analysis Services and the proper permissions on the database engine. To avoid this issue, you
    can grant the SELECT permission for the default account for AS services to data source DB. Or you can change the services account to this domain user who has the corresponding to the data source DB.
    http://jetreportskb.host4kb.com/article/AA-00238
    Regards,
    Charlie Liao
    Charlie Liao
    TechNet Community Support

  • Error ORABPEL-09903 on deploying my bpel process

    the stack
    oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
    at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents(BaseCubeProcess.java:354)
    at com.collaxa.cube.engine.deployment.DeploymentManager.activateDefaultRevision(DeploymentManager.java:1446)
    at com.collaxa.cube.engine.deployment.DeploymentManager.setDefaultRevision(DeploymentManager.java:1405)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:821)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:670)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    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)
    anybody can help me ?
    God bless all

    So does anyone know why I m getting the following error when the definition of "GeneralFault" is in the .wsdl file? According to the error messge, it sounds like I have to define it in a .xsd file.
    Error ORABPEL-10902: compilation failed
    Description: in "bpel.xml", XML parsing failed because "undefined part element.
    In WSDL at "file:/D:/projects/MyBPEL/bpel/MySvc-v1.wsdl", message part element "{http://www.company.com/wsdl/MySvc-v1.0}GeneralFault" is not defined in any of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL import is complete
    AJ

  • Error when deploying a project

    Everytime when i want to deploy any simple project i get an error. Even if i try samples, tutorials or something else.
    At deployment time I see this in the Ant log:
    BUILD FAILED
    C:\product\jdevstudio10134\jdev\mywork\DemoExpen\ExpenseRequest\build.xml:97: Error while deploying the form on server "localhost" Error message :
    java.lang.SecurityException
    at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
    at java.lang.Runtime.exit(Runtime.java:88)
    at java.lang.System.exit(System.java:868)
    at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:141)
    at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:818)
    at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:578)
    at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:849)
    at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:875)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    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 oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Total time: 18 seconds
    I just made new basic installation . ANd using oracle soa suite 10.1.3.4
    i can use oracle BPEL console, worklist application and other web pages.
    Can any1 tell me please what is wrong?

    Make sure that you are deploying using the right ports. I encounter that most often when the RMI ports are wrong. You can find the RMI ports by running opmnctl status -l

  • Compilation error when deploying bpel process

    Hi,
    When i try to compile and deploy my bpel process with jdeveloper i keep getting errors that some jar files are missing.
    managed to get few jar files, and finally am landing up with an error - jdev/jlib/repository.jar is missing.
    i tried reinstalling jdeveloper - dint help. i tried installing next version also - 10.1.3.5, still dint help.
    am a new bee to SOA suite. Can anyone help me how to solve this ?
    version of jdeveloper am using is 10.1.3.4
    Thanks in Advance
    KSV
    Edited by: user11359552 on Sep 24, 2009 4:17 AM

    I have created numerous BPEL processes in JDev 11.1.1.5.0 which im trying to deploy to the SOA domain on Weblogic 10.3.4.0 however each time the same error appears:Did you check server log? Exactly which class it is not able to find?
    Regards,
    Anuj

  • GetEntityListXML Error Code: 1000: 5 when deploying ESB project?

    All,
    I am getting:
    GetEntityListXML
    error code: 1000 : 5
    summary: -
    Fix: Contact Oracle Support
    when I try to deploy my ESB project. It has worked before.
    Has anyone seen anything similar?
    Thanks,
    Mathias

    This is generally happen if your esb repository is not available.
    Please check if you esb server is started properly without any exceptions etc.
    Thanks,
    Rakesh

  • Error happened when deployed my project in JDev 11g!Help!!!

    First I ran the project successfully, then when I ran it again, error happened and other project had the same error. I found solution in forum that delete the file "system11.1.1.0.31.52.05" in the install path of JDeveloper 11g, but this needs to close the Jdev . It is so inconvenient.
    Who would like to tell me how to fix it except above solution?
    The following is the error message:
    java.lang.RuntimeException: java.lang.NullPointerException
         at oracle.jdevimpl.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:88)
         at oracle.jdeveloper.deploy.common.ModulePackager.deployProfiles(ModulePackager.java:63)
         at oracle.jdeveloper.deploy.common.ModulePackager.deployImpl(ModulePackager.java:52)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deplo... [Show more]

    I seem to have the exact same error, as you can see below..
    Funny thing is, I was also able to run the application without any trouble.
    From one moment to the other it gave this error.
    Is there someone who knows the way to fix this?
    My error message:
    #### Deployment incomplete. #### Jun 24, 2009 4:15:03 PM
    java.lang.RuntimeException: java.lang.NullPointerException
         at oracle.jdevimpl.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:88)
         at oracle.jdeveloper.deploy.common.ModulePackager.deployProfiles(ModulePackager.java:63)
         at oracle.jdeveloper.deploy.common.ModulePackager.deployImpl(ModulePackager.java:52)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
    Caused by: java.lang.NullPointerException
         at oracle.ide.net.URLFileSystem$TrackedOutputStream.flush(URLFileSystem.java:2332)
         at java.io.FilterOutputStream.flush(FilterOutputStream.java:123)
         at oracle.jdevimpl.deploy.stripe.MonitoredOutputStream.flush(MonitoredOutputStream.java:84)
         at java.io.FilterOutputStream.close(FilterOutputStream.java:140)
         at oracle.jdevimpl.deploy.stripe.MonitoredOutputStream.close(MonitoredOutputStream.java:89)
         at oracle.jdevimpl.webapp.jsp.libraries.wl.WebLogicDeployerListener.prepared(WebLogicDeployerListener.java:146)
         at oracle.jdevimpl.deploy.fwk.ListenerSupport.firePrepared(ListenerSupport.java:178)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.prepare(AbstractDeployer.java:78)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:430)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:82)
         ... 26 more
    #### Cannot run application BrowseEditApp due to error deploying to DefaultServer.
    [Application BrowseEditApp stopped and undeployed from Server Instance DefaultServer]

  • Failure When Deploying EJB Project That Uses Library Onto Glassfish

    <font size=4>Hi,
    I have a multi project application that I am developing and I am having issues testing it. I have set up a EAR, WAR, EJB, and two library JARs. The EJB contains classes that use components from the library JARs or implement abstract classes from the library JARs. I have added the library JARs to the compile-time libraries of the EJB. I then also added the library JARs to the libraries of the EAR. However when I then go to deploy the EAR onto the Glassfish server I get this error, displayed in the Glassfish log:</font><br>
    <font size=2><font color="red">WARNING: Error in annotation processing: java.lang.NoClassDefFoundError: com/foo/sdk/core/AbstractClass</font><br>
    <font color="red">WARNING: Error in annotation processing: java.lang.NoClassDefFoundError: com/foo/sdk/core/AbstractClass</font><br>
    <font color="red">WARNING: Error in annotation processing: java.lang.NoClassDefFoundError: com/foo/sdk/core/AbstractClass</font><br>
    <font color="red">WARNING: Error in annotation processing: java.lang.NoClassDefFoundError: com/foo/sdk/core/AbstractClas</font><br>
    <font color="red">SEVERE: Class [ com/foo/sdk/core/InterfaceClass ] not found. Error while loading [ class com.foo2.BeanFooClass ]</font><br>
    <font color="red">SEVERE: Exception while deploying the app [FooEAR]</font><br>
    <font color="red">SEVERE: Invalid ejb jar [BeanFoo.jar]: it contains zero ejb. </font><br>
    Note:
    1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message-driven bean.
    2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar.
    3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven, @Singleton), please check server.log to see whether the annotations were processed properly.
    java.lang.IllegalArgumentException: Invalid ejb jar [BeanFoo.jar]: it contains zero ejb.
    Note:
    1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message-driven bean.
    2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar.
    3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven, @Singleton), please check server.log to see whether the annotations were processed properly.
         at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:76)
         at com.sun.enterprise.deployment.util.ApplicationValidator.accept(ApplicationValidator.java:128)
         at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:730)
         at com.sun.enterprise.deployment.Application.visit(Application.java:1768)
         at com.sun.enterprise.deployment.archivist.ApplicationArchivist.validate(ApplicationArchivist.java:799)
         at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openWith(ApplicationArchivist.java:277)
         at com.sun.enterprise.deployment.archivist.ApplicationFactory.openWith(ApplicationFactory.java:240)
         at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:170)
         at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:93)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:826)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:768)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:465)
         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:222)
         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
         at java.lang.Thread.run(Thread.java:679)
    <font color="red">SEVERE: Exception while deploying the app [FooEAR] : Invalid ejb jar [FooBean.jar]: it contains zero ejb. </font><br>
    Note:
    1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message-driven bean.
    2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar.
    3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven, @Singleton), please check server.log to see whether the annotations were processed properly.</font><br>
    <font size=4>I am using these technologies:
    NetBeans IDE 7.0 for Java EE
    Glassfish 3.1
    I did read that putting the libraries in this directory: <glassfish_home>/domains/domain1/lib may resolve the problem, however there must be a better way.
    Any help would be greatly appreciated!</font>
    Edited by: 866180 on Jun 15, 2011 2:32 PM

    First of all, use a normal font when posting a question. This is just terrible to read.
    You have multiple failures here. Did you actually read and try to understand the error?
    java.lang.NoClassDefFoundError: com/foo/sdk/core/AbstractClassJava is not going to lie, this class is not on the classpath of the application. Either the jar is missing, the class is missing from the jar or you put the jar in the wrong place. Open up the ear using your favorite zip tool and check out its structure. What is the path to the jar inside it?
    Also, open up the META-INF/manifest.mf file inside the EJB jar. Is there a class-path line in there? There shouldn't be!
    A valid ejb jar requires at least one session, entity (1.x/2.x style), or message-driven bean. Apparently your EJB jar contains not a single EJB or MDB class. Did you forget some annotations perhaps?
    Seems to me that your application compiles, but other than that it is very much broken.

  • Error when Deploying a project to Report Server

    Hello,
    I can't deploy a report (project) from VS to the Report Server becasue it keeps pointing to Adventure Works instead of the correct Report Server.  While deploying the report I enter the correct destination: ReportServer/Reports but the error message
    states that I don't have the correct credentials for the Adventure Works database.
    Here's what I did: I created a simple pipeline report using the CRM UI, exported the report to a .rdl file, created a new VS project and altered a column format in layout design, and now can't I deploy the .rdl back up to the Report Server. The
    error message looks like it's pointing to Adventure Works instead.
     I feel like I might have to change the data source but not sure how, and isn't the datasource info already in the .rdl file?
    Thanks in advance,

    DataSource also we need to create, Before please verify RDL file in VS that the data source and connections are pointing to the specific and required DB.
    Regards, Pradyothana DP http://www.dbainhouse.blogspot.in/ .Please Mark This As Answer if it solved your issue.

Maybe you are looking for