Failed to deploy SOAOrderBooking on 10.1.3.1

I am newbie to oracle SOA suite. I have followed the instruction in SOA Suite Developer Guide to deploy SOAOrderBooking application and encountered the following problems when I am "Deploying decision services for SOAOrderBooking on localhost, port 8888":
deployDecisionServices BindWebApp error: javax.management.ReflectionException cannot be cast to javax.management.MBeanException
deployDecisionServices
BUILD FAILED
C:\Programs\jdeveloper\jdev\mywork\SOADEMO\SOAOrderBooking\build.xml:126: Error while deploying decision services on server "localhost"
detail of the output in excuting this ANT task:
Buildfile: C:\Programs\jdeveloper\jdev\mywork\SOADEMO\SOAOrderBooking\build.xml
java Java Result: 1
pre-deploy:
validateTask:
echo-----
| Validating workflow
validateTask url is file:/C:/Programs/jdeveloper/integration/bpm/support/files/WorkflowTaskDefinition.xsd
validateTask Validation of workflow task definitions is completed without errors
deployDecisionServices:
echo
| Deploying decision services for SOAOrderBooking on localhost, port 8888
deployDecisionServices 08/12/07 08:06:16 Notification ==>Application Deployer for rules_default_SOAOrderBooking_1_0_DecisionService STARTS.
deployDecisionServices
deployDecisionServices 08/12/07 08:06:16 Notification ==>Undeploy previous deployment
deployDecisionServices
deployDecisionServices 08/12/07 08:06:16 Notification ==>Initialize C:\product\10.1.3.1\OracleAS\j2ee\home\applications\rules_default_SOAOrderBooking_1_0_DecisionService.ear begins...
deployDecisionServices
deployDecisionServices 08/12/07 08:06:17 Notification ==>Initialize C:\product\10.1.3.1\OracleAS\j2ee\home\applications\rules_default_SOAOrderBooking_1_0_DecisionService.ear ends...
deployDecisionServices
deployDecisionServices 08/12/07 08:06:17 Notification ==>Starting application : rules_default_SOAOrderBooking_1_0_DecisionService
deployDecisionServices
deployDecisionServices 08/12/07 08:06:17 Notification ==>Initializing ClassLoader(s)
deployDecisionServices
deployDecisionServices 08/12/07 08:06:17 Notification ==>Initializing EJB container
deployDecisionServices
deployDecisionServices 08/12/07 08:06:17 Notification ==>Loading connector(s)
deployDecisionServices
deployDecisionServices 08/12/07 08:06:17 Notification ==>Starting up resource adapters
deployDecisionServices
deployDecisionServices 08/12/07 08:06:17 Notification ==>Initializing EJB sessions
deployDecisionServices
deployDecisionServices 08/12/07 08:06:17 Notification ==>Committing ClassLoader(s)
deployDecisionServices
deployDecisionServices 08/12/07 08:06:17 Notification ==>Initialize DecisionService-web begins...
deployDecisionServices
deployDecisionServices 08/12/07 08:06:17 Notification ==>Initialize DecisionService-web ends...
deployDecisionServices
deployDecisionServices 08/12/07 08:06:17 Notification ==>Started application : rules_default_SOAOrderBooking_1_0_DecisionService
deployDecisionServices
deployDecisionServices 08/12/07 08:06:17 Notification ==>Application Deployer for rules_default_SOAOrderBooking_1_0_DecisionService COMPLETES. Operation time: 797 msecs
deployDecisionServices
deployDecisionServices
deployDecisionServices BindWebApp error: javax.management.ReflectionException cannot be cast to javax.management.MBeanException
deployDecisionServices
BUILD FAILED
C:\Programs\jdeveloper\jdev\mywork\SOADEMO\SOAOrderBooking\build.xml:126: Error while deploying decision services on server "localhost"
Total time: 15 seconds
The environment is: Vista, jdk 1.5, JDeveloper 10.1.3.4
Thanks for any advices!

thanks a lot for the reply!
I am using JDK 1.5.0_06 as compiler and SOA Suite VM, they are the same, however, I kept on getting the same error when I was trying to deploy many BPEL application samples, such as the one in C:\product\10.1.3.1\OracleAS_1\bpel\samples\demos\AutoLoanDemo\AutoLoanFlow.
In case of AutoLoanFlow and name it as MyLoanFlow, I recreated this project by following the instruction pdf in AutoLoanFlow directory step by step. But when I deploy it to OC4J Application Server, I got the following message:
[deployTaskForm] 09/01/20 22:56:43 Notification ==>Committing ClassLoader(s)
[deployTaskForm]
[deployTaskForm] 09/01/20 22:56:43 Notification ==>Initialize workflowform begins...
[deployTaskForm]
[deployTaskForm] 09/01/20 22:56:43 Notification ==>Initialize workflowform ends...
[deployTaskForm]
[deployTaskForm] 09/01/20 22:56:43 Notification ==>Started application : default_MyLoanFlow_1_0_LoanApproval
[deployTaskForm]
[deployTaskForm] 09/01/20 22:56:43 Notification ==>Application Deployer for default_MyLoanFlow_1_0_LoanApproval COMPLETES. Operation time: 359 msecs
[deployTaskForm]
[deployTaskForm]
[deployTaskForm] BindWebApp error: javax.management.ReflectionException cannot be cast to javax.management.MBeanException
[deployTaskForm]
BUILD FAILED
D:\Programs\jdeveloper\jdev\mywork\Application1\MyLoanFlow\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:906)
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:597)
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: 24 seconds
What can cause the SecurityException in MyLoanFlow project? Is there any special configuration for jdeveloper or SOA suite?

Similar Messages

  • Failed to deploy SOAOrderBooking on SOADEMO 10.1.3.1

    I am newbie to oracle SOA suite. I have followed the instruction in SOA Suite Developer Guide to deploy SOAOrderBooking application and encountered the following problems when I am "Deploying decision services for SOAOrderBooking on localhost, port 80":
    Buildfile: D:\Sources\SOADEMO\SOAOrderBooking\build.xml
    pre-deploy:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/D:/Dev/jdevstudio10131/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] 工作流任务定义的验证已完成, 无错误
    deployDecisionServices:
    [echo]
    | Deploying decision services for SOAOrderBooking on localhost, port 80
    [deployDecisionServices] Exception in thread "ConfigurableThreadImpl::" java.lang.NoClassDefFoundError: oracle/classloader/util/LocalizedText
    [deployDecisionServices]      at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
    [deployDecisionServices]      at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
    [deployDecisionServices]      at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
    [deployDecisionServices]      at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
    [deployDecisionServices]      at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
    [deployDecisionServices]      at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
    [deployDecisionServices]      at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
    [deployDecisionServices]      at __Proxy2.getEvents(Unknown Source)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.getEvents(MBeanServerEjbRemoteSynchronizer.java:530)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.getEvents(CoreRemoteMBeanServer.java:319)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.EventManager.run(EventManager.java:217)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:303)
    There is nothing from here, and ant was halt
    The environment is: xp, jdk 1.5, JDeveloper 10.1.3.1
    Thanks for any advices!

    I am newbie to oracle SOA suite. I have followed the instruction in SOA Suite Developer Guide to deploy SOAOrderBooking application and encountered the following problems when I am "Deploying decision services for SOAOrderBooking on localhost, port 80":
    Buildfile: D:\Sources\SOADEMO\SOAOrderBooking\build.xml
    pre-deploy:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/D:/Dev/jdevstudio10131/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] 工作流任务定义的验证已完成, 无错误
    deployDecisionServices:
    [echo]
    | Deploying decision services for SOAOrderBooking on localhost, port 80
    [deployDecisionServices] Exception in thread "ConfigurableThreadImpl::" java.lang.NoClassDefFoundError: oracle/classloader/util/LocalizedText
    [deployDecisionServices]      at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
    [deployDecisionServices]      at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
    [deployDecisionServices]      at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
    [deployDecisionServices]      at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
    [deployDecisionServices]      at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
    [deployDecisionServices]      at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
    [deployDecisionServices]      at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
    [deployDecisionServices]      at __Proxy2.getEvents(Unknown Source)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.getEvents(MBeanServerEjbRemoteSynchronizer.java:530)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.getEvents(CoreRemoteMBeanServer.java:319)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.EventManager.run(EventManager.java:217)
    [deployDecisionServices]      at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:303)
    There is nothing from here, and ant was halt
    The environment is: xp, jdk 1.5, JDeveloper 10.1.3.1
    Thanks for any advices!

  • Error deploying SOAOrderBooking BPEL Process through Ant

    Hello,
    I following Oracle SOA Quick Start Guide (Part # B28938-01) to setup Demo SOA Application.
    I followed the document Chapter 2 and installed SOA Suite with "Basic Install" and JDeveloper 10.1.3.1.0.
    When deploying SOAOrderBooking BPEL Process as mentioned in Page 2-11 Step # 7, I get following error
    [bpelc] Error while loading schemas from wsdl file at location "http://localhost:8888/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl". The reason is Unable to create an InitialContext..
    I tried enabling verbose in bpelc command in build.xml file and stack trace indicate java.lang.ClassNotFoundException for oracle.javatools.jndi.LocalInitialContextFactory class.
    I'm trying to setup the demo as Proof-of-concept for one of my projects. So any help in resolving this issue will be greatly appreciated. I've include the full log file for reference.
    Thanks,
    Sankaran.
    | Compiling bpel process SOAOrderBooking, revision 1.0
    fileset: Setup scanner in dir C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel with patternSet{ includes: [] excludes: [**/.project, bpel.xml, _bpel.xml, testSuites/**, testsuites/**] }
    [bpelc] home directory is: C:\oracle\jdevstudio10131\/integration/bpel
    [bpelc] loading WSDLs ...
    [bpelc] reading partner client's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\SOAOrderBooking.wsdl
    [bpelc] done reading wsdl for partner: client
    [bpelc] reading partner OrderFulfillment's WSDL at http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl
    [bpelc] done reading wsdl for partner: OrderFulfillment
    [bpelc] reading partner RapidService's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\RapidService.wsdl
    [bpelc] done reading wsdl for partner: RapidService
    [bpelc] reading partner TaskService's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\TaskServiceWSIF.wsdl
    [bpelc] done reading wsdl for partner: TaskService
    [bpelc] reading partner CustomerService's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\CustomerSvc.wsdl
    [bpelc] done reading wsdl for partner: CustomerService
    [bpelc] reading partner NotificationService's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\NotificationService.wsdl
    [bpelc] done reading wsdl for partner: NotificationService
    [bpelc] reading partner SelectService's WSDL at http://localhost:8888/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl
    [bpelc] done reading wsdl for partner: SelectService
    [bpelc] reading partner CreditValidatingService's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\CreditValidatingService.wsdl
    [bpelc] done reading wsdl for partner: CreditValidatingService
    [bpelc] reading partner DecisionServicePL's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\DecisionServiceRef.wsdl
    [bpelc] done reading wsdl for partner: DecisionServicePL
    [bpelc] reading partner OrderStatus's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\OrderStatus.wsdl
    [bpelc] done reading wsdl for partner: OrderStatus
    [bpelc] reading partner Order's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\Order.wsdl
    [bpelc] done reading wsdl for partner: Order
    [bpelc] reading partner OrderSequence's WSDL at C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\bpel\OrderSequence.wsdl
    [bpelc] done reading wsdl for partner: OrderSequence
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/CreditValidatingService.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def http://localhost:8888/CreditService/ValidateCreditCardServiceSoapHttp?WSDL
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/NotificationService.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/TaskServiceWSIF.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/TaskServiceInterface.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/OrderStatus.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/DBAdapterOutboundHeader.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/Order.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/SOA_OM_Demo/SOADEMO/SOAOrderBooking/bpel/DBAdapterOutboundHeader.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def http://localhost:8888/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] BPELValidator
    [bpelc] ORABPEL-09701
    [bpelc]
    [bpelc] Error loading schemas from wsdl.
    [bpelc] Error while loading schemas from wsdl file at location "http://localhost:8888/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl". The reason is Unable to create an InitialContext..
    [bpelc] Please verify the schemas defined in wsdl.
    [bpelc]
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadEmbeddedSchemas(WSDLSchemaManager.java:720)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadSchemasFromWSDL(WSDLSchemaManager.java:610)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadAllSchemas(WSDLSchemaManager.java:313)
    [bpelc]      at com.collaxa.cube.lang.compiler.BPELProcessModel.loadWSDLs(BPELProcessModel.java:208)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validateClientSide(BPELValidator.java:67)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1130)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] Caused by: java.lang.IllegalStateException: Unable to create an InitialContext.
    [bpelc]      at oracle.javatools.jndi.Names.internalEx(Names.java:172)
    [bpelc]      at oracle.javatools.jndi.Names.newInitialContext(Names.java:56)
    [bpelc]      at oracle.ide.AddinManager.getAddinManager(AddinManager.java:56)
    [bpelc]      at oracle.jdevimpl.webdav.HostUtil.getClient(HostUtil.java:47)
    [bpelc]      at oracle.jdevimpl.webdav.api.Authentication.getConnections(Authentication.java:199)
    [bpelc]      at oracle.jdevimpl.webdav.api.Authentication.getAuthorization(Authentication.java:106)
    [bpelc]      at oracle.jdevimpl.webdav.api.DAVAuthenticator.getPasswordAuthentication(DAVAuthenticator.java:70)
    [bpelc]      at java.net.Authenticator.requestPasswordAuthentication(Authenticator.java:300)
    [bpelc]      at sun.net.www.protocol.http.HttpURLConnection$1.run(HttpURLConnection.java:267)
    [bpelc]      at java.security.AccessController.doPrivileged(Native Method)
    [bpelc]      at sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication(HttpURLConnection.java:263)
    [bpelc]      at sun.net.www.protocol.http.HttpURLConnection.getHttpProxyAuthentication(HttpURLConnection.java:1448)
    [bpelc]      at sun.net.www.protocol.http.HttpURLConnection.resetProxyAuthentication(HttpURLConnection.java:1246)
    [bpelc]      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:950)
    [bpelc]      at java.net.URL.openStream(URL.java:1007)
    [bpelc]      at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2551)
    [bpelc]      at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:285)
    [bpelc]      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:259)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.parseXMLSrc(WSDLSchemaManager.java:2073)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.parseXSDSrc(WSDLSchemaManager.java:2023)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.processSchemaImportsAndInclude(WSDLSchemaManager.java:1920)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadEmbeddedSchemas(WSDLSchemaManager.java:716)
    [bpelc]      ... 24 more
    [bpelc] Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: oracle.javatools.jndi.LocalInitialContextFactory [Root exception is java.lang.ClassNotFoundException: oracle.javatools.jndi.LocalInitialContextFactory]
    [bpelc]      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
    [bpelc]      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    [bpelc]      at javax.naming.InitialContext.init(InitialContext.java:223)
    [bpelc]      at javax.naming.InitialContext.<init>(InitialContext.java:197)
    [bpelc]      at oracle.javatools.jndi.Names.newInitialContext(Names.java:52)
    [bpelc]      ... 44 more
    [bpelc] Caused by: java.lang.ClassNotFoundException: oracle.javatools.jndi.LocalInitialContextFactory
    [bpelc]      at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1166)
    [bpelc]      at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1107)
    [bpelc]      at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:977)
    [bpelc]      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    [bpelc]      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    [bpelc]      at java.lang.Class.forName0(Native Method)
    [bpelc]      at java.lang.Class.forName(Class.java:242)
    [bpelc]      at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
    [bpelc]      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
    [bpelc]      ... 48 more
    [bpelc] ORABPEL-01021
    [bpelc]
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Error loading schemas from wsdl.
    [bpelc] Error while loading schemas from wsdl file at location "http://localhost:8888/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl". The reason is Unable to create an InitialContext..
    [bpelc] Please verify the schemas defined in wsdl.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1133)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Error loading schemas from wsdl.
    [bpelc] Error while loading schemas from wsdl file at location "http://localhost:8888/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl". The reason is Unable to create an InitialContext..
    [bpelc] Please verify the schemas defined in wsdl.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    BUILD FAILED
    C:\SOA_OM_Demo\SOADEMO\SOAOrderBooking\build.xml:72: Validation error
         at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:647)
         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)

    UP!!!
    The same error occurred in our enviroment:
    Buildfile: C:\Softs\oracle\Jdevstudio10131_new\workspace\soademo_101310_preview\SOAOrderBooking\build.xml
    pre-deploy:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/C:/Softs/oracle/Jdevstudio10131_new/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    compile:
    [echo]
    | Compiling bpel process SOAOrderBooking, revision 1.0
    [bpelc] ORABPEL-01021
    [bpelc]
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Error loading schemas from wsdl.
    [bpelc] Error while loading schemas from wsdl file at location "http://10.171.11.124/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl". The reason is Unable to create an InitialContext..
    [bpelc] Please verify the schemas defined in wsdl.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1133)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Error loading schemas from wsdl.
    [bpelc] Error while loading schemas from wsdl file at location "http://10.171.11.124/orabpel/default/SelectManufacturer/1.0/SelectManufacturer?wsdl". The reason is Unable to create an InitialContext..
    [bpelc] Please verify the schemas defined in wsdl.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    BUILD FAILED
    C:\Softs\oracle\Jdevstudio10131_new\workspace\soademo_101310_preview\SOAOrderBooking\build.xml:72: Validation error
    Total time: 3 seconds

  • Error occured while deploying SOAOrderBooking

    I encountered the following error while deploying SOAOrderBooking BPEL process using Ant. The following messages are copied from "Apache Ant - Log". Please advice....
    Buildfile: C:\soademo\SOAOrderBooking\build.xml
    pre-deploy:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/C:/oracledevday/jdeveloper/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    compile:
    [echo]
    | Compiling bpel process SOAOrderBooking, revision 1.0
    [bpelc] unknown wsdl extension.
    [bpelc] In WSDL at "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", extension element "{http://www.oracle.com/esb/}binding" is not known. Ignore this element.
    [bpelc] Please make sure the spelling of the element is correct and the WSDL import is complete.
    [bpelc]
    [bpelc] validating "C:\soademo\SOAOrderBooking\bpel\SOAOrderBooking.bpel" ...
    [bpelc] BPEL suitcase generated in: C:\soademo\SOAOrderBooking\output\bpel_SOAOrderBooking_1.0.jar
    [bpelc] Warning: BPEL validation has warnings.
    [bpelc] The following warnings were reported during validation:
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 134 of "C:\soademo\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}ordid anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 145 of "C:\soademo\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}comments anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 191 of "C:\soademo\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 629 of "C:\soademo\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}decimal".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 645 of "C:\soademo\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}decimal".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 692 of "C:\soademo\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}ordid anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc]
    [bpelc]
    deployProcess:
    [echo]
    | Deploying bpel process SOAOrderBooking on localhost, port 8888
    [deployProcess] Deploying process C:\soademo\SOAOrderBooking\output\bpel_SOAOrderBooking_1.0.jar
    [deployProcess] Successfully deployed the process "SOAOrderBooking" on server "localhost" and port "8888"
    deployTaskForm:
    [echo]
    | Deploying workflow form for SOAOrderBooking on localhost, port 8888
    [deployTaskForm] Start of deploying forms
    [deployTaskForm] checking for form directory as form/warC:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\war
    [deployTaskForm] Form directory name = C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form
    [deployTaskForm] Start of deploying form C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form
    [deployTaskForm] Start of copying file C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml to C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak
    [deployTaskForm] End of copying file C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml to C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak
    [deployTaskForm] Context name before converting /default/SOAOrderBooking/1.0/ApproveOrder
    [deployTaskForm] Context name after converting /default/SOAOrderBooking/1.0/ApproveOrder
    [deployTaskForm] Creating applicatio xml with context /default/SOAOrderBooking/1.0/ApproveOrder
    [deployTaskForm] WEB File : C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\war\WEB-INF
    [deployTaskForm] Generating the web archive workflowform.war in directory C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear
    [deployTaskForm] Generating the application archive default_SOAOrderBooking_1_0_ApproveOrder.ear in directory C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form
    [deployTaskForm] Deploying apps to platform ias_10g
    [deployTaskForm] Start of deploying default_SOAOrderBooking_1_0_ApproveOrder.ear to oc4j
    [deployTaskForm] java oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline deployer:oc4j:opmn://localhost:6003/home oc4jadmin welcome1 -deploy -file C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\default_SOAOrderBooking_1_0_ApproveOrder.ear -deploymentName default_SOAOrderBooking_1_0_ApproveOrder -parent orabpel
    [deployTaskForm] Start of deploy apps
    [deployTaskForm] 06/09/10 23:14:25 Notification ==>Application Deployer for default_SOAOrderBooking_1_0_ApproveOrder STARTS.
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:25 Notification ==>Undeploy previous deployment
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\default_SOAOrderBooking_1_0_ApproveOrder.ear begins...
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\default_SOAOrderBooking_1_0_ApproveOrder.ear ends...
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Starting application : default_SOAOrderBooking_1_0_ApproveOrder
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Initializing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Initializing EJB container
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Loading connector(s)
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Starting up resource adapters
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Initializing EJB sessions
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Committing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Initialize workflowform begins...
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Initialize workflowform ends...
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Started application : default_SOAOrderBooking_1_0_ApproveOrder
    [deployTaskForm]
    [deployTaskForm] 06/09/10 23:14:26 Notification ==>Application Deployer for default_SOAOrderBooking_1_0_ApproveOrder COMPLETES. Operation time: 1625 msecs
    [deployTaskForm]
    [deployTaskForm] End of deploy apps
    [deployTaskForm] java oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline deployer:oc4j:opmn://localhost:6003/home oc4jadmin welcome1 -bindWebApp -appName default_SOAOrderBooking_1_0_ApproveOrder -webModuleName workflowform -webSiteName default-web-site -contextRoot /default/SOAOrderBooking/1.0/ApproveOrder
    [deployTaskForm] Start bind web app
    [deployTaskForm] End of bind web app
    [deployTaskForm] End of deploying default_SOAOrderBooking_1_0_ApproveOrder.earto oc4j
    [deployTaskForm] Deleting file = workflowform.war
    [deployTaskForm] Deleting file = default_SOAOrderBooking_1_0_ApproveOrder.ear
    [deployTaskForm] End of deploying form C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form
    [deployTaskForm] End of deploying forms
    [deployTaskForm] Successfully deployed form on server "localhost"
    [deployTaskForm] Start of copying file C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak to C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml
    [deployTaskForm] End of copying file C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak to C:\soademo\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml
    deployDecisionServices:
    [echo]
    | Deploying decision services for SOAOrderBooking on localhost, port 8888
    BUILD FAILED
    C:\soademo\SOAOrderBooking\build.xml:126: Error while deploying decision services on server "localhost"
    Total time: 2 minutes 7 seconds

    Your path includes "oracledevday" so I wonder if you were one of the original ODD attendees. If so, you have a pre-developer preview version of the SOA Demo and SOA Suite - these are matched to each other.
    If you get a new version of either one from OTN Dev Preview, you'll have this deployment problem.
    Be sure to get both the SOA Order Booking Demo AND the SOA Suite software from the OTN developer preview download.
    Heidi.

  • ORABPEL Err: 1007 in deploying SOAOrderBooking

    When i tried to deploy the deploy SOAOrderBooking Appln...iam getting this compilation err: ORABPEl err:1007 ...tell me some suggestions pls...
    Error is:
    Error(453):
    [Error ORABPEL-10007]: unresolved messageType
    [Description]: in line 453 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", WSDL messageType "{http://xmlns.oracle.com/ias/pcbpel/NotificationService}EmailNotificationRequest" of variable "varNotificationReq" is not defined in any of the WSDL files.
    [Potential fix]: Make sure the WSDL messageType "{http://xmlns.oracle.com/ias/pcbpel/NotificationService}EmailNotificationRequest" is defined in one of the WSDLs referenced by the deployment descriptor.
    SOAOrderBooking.bpel code:
    <!--
    // Oracle JDeveloper BPEL Designer
    // Created: Fri Jan 06 13:47:07 PST 2006
    // Author: Roman
    // Purpose: Asynchronous BPEL Process
    -->
    <process name="SOAOrderBooking"
    targetNamespace="http://www.globalcompany.com/ns/OrderBooking"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
    xmlns:ns4="http://www.globalcompany.com/ns/order"
    xmlns:ns24="http://xmlns.oracle.com/pcbpel/adapter/db/top/Order"
    xmlns:ns30="http://rapidservice.soademo.org/types/"
    xmlns:rules="http://xmlns.oracle.com/bpel/rules"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns16="http://xmlns.oracle.com/pcbpel/adapter/db/top/Orders/Orders"
    xmlns:ns27="http://www.globalcompany.com/ns/OrderBooking/rules"
    xmlns:ns5="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ns31="http://creditservice.soademo.org/"
    xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
    xmlns:ns32="http://creditservice.soademo.org/types/"
    xmlns:ns9="http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus"
    xmlns:ns17="http://www.globalcompany.com/ns/selectservice"
    xmlns:ns1="http://xmlns.oracle.com/bpel/rules"
    xmlns:ns25="http://selectservice.srdemo.org/"
    xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/db/OrderStatus/"
    xmlns:ns26="http://www.globalcompany.com/ns/Fulfillment"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns15="http://xmlns.oracle.com/pcbpel/adapter/db/Orders/"
    xmlns:ns10="http://www.globalcompany.com/ns/Fulfillment"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns20="http://www.oracle.com/webservices/internal/literal"
    xmlns:ns13="http://xmlns.oracle.com/bpel"
    xmlns:ns7="http://credit.soademo.org/"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    xmlns:ns29="http://xmlns.oracle.com/bpel/services/IdentityService"
    xmlns:ns12="http://xmlns.oracle.com/pcbpel/adapter/db/OrderSequence/"
    xmlns:client="http://www.globalcompany.com/ns/OrderBooking"
    xmlns:ns23="http://www.globalcompany.com/ns/rapidservice"
    xmlns:ns18="http://xmlns.oracle.com/pcbpel/adapter/db/OrderSequence"
    xmlns:ns6="http://www.globalcompany.com/ns/credit"
    xmlns:ns28="http://www.globalcompany.com/ns/OrderBooking/DecisionService"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ns22="http://www.globalcompany.com/ns/selectservice"
    xmlns:ns11="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns19="http://persistence.customerservice.soademo.org/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns3="http://www.globalcompany.com/ns/customer"
    xmlns:ns14="http://www.globalcompany.com/ns/OrderBooking/ApprovalRequired"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
    xmlns:ns21="http://www.globalcompany.com/ns/credit.xsd"
    xmlns:ns8="http://xmlns.oracle.com/pcbpel/adapter/db/Order/">
    <!-- ================================================================= -->
    <!-- PARTNERLINKS -->
    <!-- List of services participating in this BPEL process -->
    <!-- ================================================================= -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:SOAOrderBooking"
    myRole="SOAOrderBookingProvider"
    partnerRole="SOAOrderBookingRequester"/>
    <partnerLink name="OrderFulfillment" partnerRole="execute_pptProvider"
    partnerLinkType="ns26:execute_pptLT"/>
    <partnerLink name="RapidService" partnerRole="RapidQuote_Role"
    partnerLinkType="ns23:RapidQuote_PL"/>
    <partnerLink name="CustomerService" partnerRole="CustomerService_Role"
    partnerLinkType="ns3:CustomerService_PL"/>
    <partnerLink myRole="SelectServiceRequester" name="SelectService"
    partnerRole="SelectServiceProvider"
    partnerLinkType="ns17:SelectService_PL"/>
    <partnerLink name="OrderStatus" partnerRole="OrderStatus_role"
    partnerLinkType="ns2:OrderStatus_plt"/>
    <partnerLink name="Order" partnerRole="Order_role"
    partnerLinkType="ns8:Order_plt"/>
    <partnerLink name="OrderSequence" partnerRole="OrderSequence_role"
    partnerLinkType="ns12:OrderSequence_plt"/>
    <partnerLink name="CreditValidatingService" partnerRole="creditservice_Role"
    partnerLinkType="ns31:creditservice_PL"/>
    </partnerLinks>
    <!-- ================================================================= -->
    <!-- VARIABLES -->
    <!-- List of messages and XML documents used within this BPEL process -->
    <!-- ================================================================= -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <!-- Reference to the message that will be sent back to the
    requester during callback
    -->
    <variable name="inputVariable"
    messageType="client:SOAOrderBookingRequestMessage"/>
    <variable name="outputVariable"
    messageType="client:SOAOrderBookingResponseMessage"/>
    <variable name="OrderBookingFault"
    messageType="client:SOAOrderBookingFaultMessage"/>
    <variable name="customerServiceResponse"
    messageType="ns3:CustomerService_findCustomerByIdResponse"/>
    <variable name="requiresApproval" type="xsd:boolean"/>
    </variables>
    <faultHandlers>
    <catch faultName="client:OrderBookingFault"
    faultVariable="OrderBookingFault">
    <sequence name="Sequence_12">
    <scope name="SetOrderStatus">
    <variables>
    <variable name="orderStatusRequest"
    messageType="ns2:OrdersCollection_msg"/>
    </variables>
    <sequence name="Sequence_13">
    <assign name="AssignOrderStatus">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ID"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:ordid"/>
    </copy>
    <copy>
    <from expression="string('canceled')"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:status"/>
    </copy>
    <copy>
    <from variable="OrderBookingFault" part="payload"
    query="/client:SOAOrderBookingProcessFault/client:status"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:comments"/>
    </copy>
    </assign>
    <invoke name="SetFaultedOrderStatus" partnerLink="OrderStatus"
    portType="ns2:OrderStatus_ptt" operation="update"
    inputVariable="orderStatusRequest"/>
    </sequence>
    </scope>
    </sequence>
    </catch>
    </faultHandlers>
    <!-- ================================================================= -->
    <!-- ORCHESTRATION LOGIC -->
    <!-- Set of activities coordinating the flow of messages across the -->
    <!-- services integrated within this business process -->
    <!-- ================================================================= -->
    <sequence name="main">
    <!-- Receive input from requestor.
    Note: This maps to operation defined in SOAOrderBooking.wsdl
    -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:SOAOrderBooking" operation="initiate"
    variable="inputVariable" createInstance="yes"/>
    <!-- Asynchronous callback to the requester.
    Note: the callback location and correlation id is transparently handled
    using WS-addressing.
    -->
    <scope name="InsertOrderIntoDB">
    <variables>
    <variable name="orderRequest" messageType="ns8:OrdersCollection_msg"/>
    <variable name="orderSequenceInput"
    messageType="ns12:OrderSequenceInput_msg"/>
    <variable name="orderSequenceOutput"
    messageType="ns12:OrderSequenceOutputCollection_msg"/>
    </variables>
    <sequence name="Sequence_11">
    <invoke name="GetOrderId" partnerLink="OrderSequence"
    portType="ns12:OrderSequence_ptt" operation="OrderSequence"
    inputVariable="orderSequenceInput"
    outputVariable="orderSequenceOutput"/>
    <assign name="AssignOrderStatus">
    <copy>
    <from variable="orderSequenceOutput"
    part="OrderSequenceOutputCollection"
    query="/ns18:OrderSequenceOutputCollection/ns18:OrderSequenceOutput/ns18:order_seq_id_gen.nextval"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ID"/>
    </copy>
    <copy>
    <from expression="string('pending')"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:OrderInfo/ns4:OrderStatus"/>
    </copy>
    </assign>
    <assign name="TransformOrder">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('TransformOrder.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="orderRequest" part="OrdersCollection"/>
    </copy>
    </assign>
    <invoke name="InsertOrder" partnerLink="Order" portType="ns8:Order_ptt"
    operation="write" inputVariable="orderRequest"/>
    </sequence>
    </scope>
    <scope name="CustomerService">
    <variables>
    <variable name="customerServiceRequest"
    messageType="ns3:CustomerService_findCustomerById"/>
    </variables>
    <sequence name="Sequence_9">
    <assign name="AssignRequest">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:CustID"/>
    <to variable="customerServiceRequest" part="parameters"
    query="/ns3:findCustomerById/ns3:custid"/>
    </copy>
    </assign>
    <invoke name="GetCustInfo" partnerLink="CustomerService"
    portType="ns3:CustomerService" operation="findCustomerById"
    inputVariable="customerServiceRequest"
    outputVariable="customerServiceResponse"/>
    <assign name="AssignInitialCustomerResponse">
    <bpelx:append>
    <bpelx:from>
    <ns4:ShipTo xmlns:ns4="http://www.globalcompany.com/ns/order">
    <ns4:Name>
    <ns4:First/>
    <ns4:Last/>
    </ns4:Name>
    </ns4:ShipTo>
    </bpelx:from>
    <bpelx:to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder"/>
    </bpelx:append>
    </assign>
    <assign name="AssignCustomerResponse">
    <copy>
    <from variable="customerServiceResponse" part="parameters"
    query="/ns3:findCustomerByIdResponse/ns3:return/ns3:fname"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ShipTo/ns4:Name/ns4:First"/>
    </copy>
    <copy>
    <from variable="customerServiceResponse" part="parameters"
    query="/ns3:findCustomerByIdResponse/ns3:return/ns3:lname"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ShipTo/ns4:Name/ns4:Last"/>
    </copy>
    </assign>
    </sequence>
    </scope>
    <scope name="CreditService">
    <variables>
    <variable name="validateRequest"
    messageType="ns31:Creditservice_verifyCC"/>
    <variable name="validateResponse"
    messageType="ns31:Creditservice_verifyCCResponse"/>
    </variables>
    <sequence name="Sequence_19">
    <assign name="InitializeInput">
    <copy>
    <from variable="customerServiceResponse" part="parameters"
    query="/ns3:findCustomerByIdResponse/ns3:return/ns3:creditcardtype"/>
    <to variable="validateRequest" part="parameters"
    query="/ns32:verifyCCElement/ns32:creditCard/ns32:ccType"/>
    </copy>
    <copy>
    <from variable="customerServiceResponse" part="parameters"
    query="/ns3:findCustomerByIdResponse/ns3:return/ns3:creditcardnumber"/>
    <to variable="validateRequest" part="parameters"
    query="/ns32:verifyCCElement/ns32:creditCard/ns32:ccNum"/>
    </copy>
    </assign>
    <invoke name="InvokeCreditService" partnerLink="CreditValidatingService"
    portType="ns31:creditservice" operation="verifyCC"
    inputVariable="validateRequest"
    outputVariable="validateResponse"/>
    <switch name="CheckCreditResponse">
    <case condition="bpws:getVariableData('validateResponse','parameters','/ns32:verifyCCResponseElement/ns32:result')='false'">
    <sequence name="Sequence_18">
    <assign name="AssignCreditErrorStatus">
    <copy>
    <from expression='string("Credit Card Invalid")'/>
    <to variable="OrderBookingFault" part="payload"
    query="/client:SOAOrderBookingProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowCreditFault"
    faultName="client:OrderBookingFault"
    faultVariable="OrderBookingFault"/>
    </sequence>
    </case>
    </switch>
    </sequence>
    </scope>
    <switch name="CheckForApproval">
    <case condition="string(bpws:getVariableData('requiresApproval')) != 'false'">
    <empty name="Empty_1"/>
    </case>
    </switch>
    <scope name="SelectSupplier">
    <variables>
    <variable name="selectManufacturerResponse"
    messageType="ns17:RequestQuote_processRequestQuoteResponse"/>
    <variable name="rapidManufacturerResponse"
    messageType="ns23:RequestQuotePortType_POItemsQuoteResponse"/>
    </variables>
    <sequence>
    <flow name="CallManufacturers">
    <sequence name="Sequence_2">
    <scope name="GetSelectMfrQuote">
    <variables>
    <variable name="manufacturerRequest"
    messageType="ns17:RequestQuote_processRequestQuote"/>
    </variables>
    <sequence name="Sequence_15">
    <assign name="TransformSelectRequest">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('SelectTransformation.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="manufacturerRequest" part="parameters"/>
    </copy>
    </assign>
    <invoke name="InvokeSelectManufacturer"
    partnerLink="SelectService"
    portType="ns17:SelectService"
    operation="processRequestQuote"
    inputVariable="manufacturerRequest"/>
    <receive name="ReceiveSelectManufacturer" createInstance="no"
    partnerLink="SelectService"
    portType="ns17:SelectServiceCallback"
    operation="processRequestQuoteResponse"
    variable="selectManufacturerResponse"/>
    </sequence>
    </scope>
    </sequence>
    <sequence name="GetRapidMfrQuote">
    <scope name="CallRapidManufacturer">
    <variables>
    <variable name="manufacturerRequest"
    messageType="ns23:RequestQuotePortType_POItemsQuote"/>
    </variables>
    <sequence name="Sequence_6">
    <assign name="TransformRapidRequest">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('RapidTransformation.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="manufacturerRequest" part="parameters"/>
    </copy>
    </assign>
    <invoke name="InvokeRapidManufacturer"
    partnerLink="RapidService" portType="ns23:RequestQuote"
    operation="POItemsQuote"
    inputVariable="manufacturerRequest"
    outputVariable="rapidManufacturerResponse"/>
    </sequence>
    </scope>
    </sequence>
    </flow>
    <switch name="SelectByPrice">
    <case condition="number(bpws:getVariableData('selectManufacturerResponse','parameters','/ns17:processRequestQuoteResponseElement/ns17:return/ns17:supplierPrice')) &lt; number(bpws:getVariableData('rapidManufacturerResponse','parameters','/ns23:POItemsQuoteResponse/ns30:return/ns30:supplierPrice'))">
    <assign name="AssignSelectManufacturer">
    <copy>
    <from variable="selectManufacturerResponse" part="parameters"
    query="/ns17:processRequestQuoteResponseElement/ns17:return/ns17:supplierPrice"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:SupplierInfo/ns4:SupplierPrice"/>
    </copy>
    <copy>
    <from variable="selectManufacturerResponse" part="parameters"
    query="/ns17:processRequestQuoteResponseElement/ns17:return/ns17:supplierName"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:SupplierInfo/ns4:SupplierName"/>
    </copy>
    </assign>
    </case>
    <otherwise>
    <assign name="AssignRapidManufacturer">
    <copy>
    <from variable="rapidManufacturerResponse" part="parameters"
    query="/ns23:POItemsQuoteResponse/ns30:return/ns30:supplierPrice"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:SupplierInfo/ns4:SupplierPrice"/>
    </copy>
    <copy>
    <from variable="rapidManufacturerResponse" part="parameters"
    query="/ns23:POItemsQuoteResponse/ns30:return/ns30:supplierName"/>
    <to variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:SupplierInfo/ns4:SupplierName"/>
    </copy>
    </assign>
    </otherwise>
    </switch>
    </sequence>
    </scope>
    <scope name="PostFulfillmentReq">
    <variables>
    <variable name="orderFulfillmentRequest"
    messageType="ns26:PurchaseOrder_request"/>
    </variables>
    <faultHandlers>
    <catchAll>
    <empty/>
    </catchAll>
    </faultHandlers>
    <sequence name="Sequence_4">
    <assign name="initializeRequest">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder"/>
    <to variable="orderFulfillmentRequest" part="PurchaseOrder"/>
    </copy>
    </assign>
    <invoke name="PostFulfillmentReq" partnerLink="OrderFulfillment"
    portType="ns26:execute_ppt" operation="execute"
    inputVariable="orderFulfillmentRequest"/>
    </sequence>
    </scope>
    <scope name="SetFinalOrderStatus">
    <variables>
    <variable name="orderStatusRequest"
    messageType="ns2:OrdersCollection_msg"/>
    </variables>
    <sequence name="Sequence_13">
    <assign name="AssignOrderStatus">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ID"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:ordid"/>
    </copy>
    <copy>
    <from expression="string('completed')"/>
    <to variable="orderStatusRequest" part="OrdersCollection"
    query="/ns9:OrdersCollection/ns9:Orders/ns9:status"/>
    </copy>
    </assign>
    <invoke name="UpdateOrderStatus" portType="ns2:OrderStatus_ptt"
    inputVariable="orderStatusRequest" partnerLink="OrderStatus"
    operation="update"/>
    </sequence>
    </scope>
    <scope name="NotifyCustomer">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:email"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="varNotificationReq"
    messageType="ns5:EmailNotificationRequest"/>
    <variable name="varNotificationResponse"
    messageType="ns5:ArrayOfResponse"/>
    <variable name="NotificationServiceFaultVariable"
    messageType="ns5:NotificationServiceErrorMessage"/>
    </variables>
    <sequence name="Sequence_17">
    <assign name="EmailParamsAssign">
    <copy>
    <from expression="string('Default')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:FromAccountName"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Bcc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Cc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:ReplyToAddress"/>
    </copy>
    <copy>
    <from expression="string('Your order has been shipped')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Subject"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('inputVariable','payload','/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:UserContact/ns4:EmailAddress')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:To"/>
    </copy>
    <copy>
    <from expression="concat(string('Dear '), bpws:getVariableData('inputVariable','payload','/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ShipTo/ns4:Name/ns4:First'), string('
    This is to inform you that your order number '), bpws:getVariableData('inputVariable','payload','/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:ID'), string('has been '), bpws:getVariableData('inputVariable','payload','/client:SOAOrderBookingProcessRequest/ns4:PurchaseOrder/ns4:OrderInfo/ns4:OrderStatus'), string('
    If you have a question about your order, please contact customer service or send an email to [email protected]
    Thank you for doing business with Global Company. We appreciate your business!
    Global Company Customer Service'))"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Content/ns5:ContentBody"/>
    </copy>
    <copy>
    <from expression="string('text/html; charset=UTF-8')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns5:Content/ns5:MimeType"/>
    </copy>
    </assign>
    <invoke name="InvokeNotificationService"
    portType="ns5:NotificationService"
    inputVariable="varNotificationReq"
    outputVariable="varNotificationResponse"
    operation="sendEmailNotification"
    partnerLink="NotificationService"/>
    </sequence>
    </scope>
    <invoke name="callbackClient" partnerLink="client"
    portType="client:SOAOrderBookingCallback" operation="onResult"
    inputVariable="outputVariable"/>
    </sequence>
    </process>
    there is some prob with ns5:notificationservice.....help me
    Thanks,
    mathi

    Thank you James.Yes u r right james...by mistake i deleted the NotificationService scope, so i started invoking creditservice from SOAOrderBooking BPEL process right from the begining..so now there is no errors during compilation(only some warnings)...
    but iam getting errors while deploying it...
    The Error is:
    Compiling bpel process SOAOrderBooking, revision 1.0
    [bpelc] unknown wsdl extension.
    [bpelc] In WSDL at "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", extension element "{http://www.oracle.com/esb/}binding" is not known. Ignore this element.
    [bpelc] Please make sure the spelling of the element is correct and the WSDL import is complete.
    [bpelc]
    [bpelc] validating "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel" ...
    [bpelc] BPEL suitcase generated in: I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\output\bpel_SOAOrderBooking_1.0.jar
    [bpelc] Warning: BPEL validation has warnings.
    [bpelc] The following warnings were reported during validation:
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 130 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}ordid anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 141 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}comments anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 187 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 375 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}decimal".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 391 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}decimal".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 438 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}ordid anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc]
    [bpelc]
    deployProcess:
    [echo]
    | Deploying bpel process SOAOrderBooking on localhost, port 8888
    [deployProcess] Deploying process I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\output\bpel_SOAOrderBooking_1.0.jar
    BUILD FAILED
    I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\build.xml:87: Authentication failed for user "oc4jadmin" on host "localhost"
    Total time: 7 seconds
    I think these errors were bcoz of some warnings that i got during compilation time:
    Warning(130):
    [Error ORABPEL-10041]: Trying to assign incompatible types
    [Description]: in line 130 of "I:\downloads\courselabs\labs\SOAEssentials\SOAOrderBooking\bpel\SOAOrderBooking.bpel", <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/pcbpel/adapter/db/top/OrderStatus}ordid anonymous type".
    [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    pls give me suggestions reg this issue.
    Thanks,
    Indhu

  • ORABPEL-10903 while deploying SOAOrderBooking

    I've seen multiple posts regarding this error but they don't seem to apply to my installation. We are doing a remote deployment, thus hostname is not localhost. But, the deployment logs seem to want to deploy to localhost. The error appears during the "Compiling bpel process SOAOrderBooking, revision 1.0" step. We do not have embedded spaces nor do we have a proxy. Here is the log:
    Buildfile: C:\OraSOA\soademo_101310_prod\SOADEMO\SOAOrderBooking\build.xml
    [deployDecisionServices] 07/03/23 11:16:00 Notification ==>Application Deployer for rules_default_SOAOrderBooking_1_0_DecisionService COMPLETES. Operation time: 657 msecs
    [deployDecisionServices]
    [deployDecisionServices] Successfully deployed decision services on server "vacuitydev03"
    compile:
    [echo]
    | Compiling bpel process SOAOrderBooking, revision 1.0
    [bpelc] ORABPEL-01021
    [bpelc]
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Failed to read wsdl.
    [bpelc] Error happened when reading wsdl at "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", because "Failed to read wsdl file at: "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", caused by: java.net.ConnectException. : connect: Address is invalid on local machine, or port is not valid on remote machine".
    [bpelc] Make sure wsdl exists at that URL and is valid.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1133)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Failed to read wsdl.
    [bpelc] Error happened when reading wsdl at "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", because "Failed to read wsdl file at: "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", caused by: java.net.ConnectException. : connect: Address is invalid on local machine, or port is not valid on remote machine".
    [bpelc] Make sure wsdl exists at that URL and is valid.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    BUILD FAILED
    C:\OraSOA\soademo_101310_prod\SOADEMO\SOAOrderBooking\build.xml:72: Validation error
    Total time: 20 seconds

    Hello,
    Thanks for your attention. This is the error I get when I try to Deploy SOAOrderBooking BPEL process using Ant. All of my installation is done on my laptop computer. I cant find which file is it looking for and where this file should be? I also checked the configurations in ESB Control but it sounds correct.
    compile:
    [echo]
    | Compiling bpel process SOAOrderBooking, revision 1.0
    [bpelc] [Fatal Error] :-1:-1: Premature end of file.
    [bpelc] ORABPEL-01021
    [bpelc]
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Failed to read wsdl.
    [bpelc] Error happened when reading wsdl at "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", because "XML غير صالح في المستند في: http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl، السطر: -1، العمود: -1: Premature end of file.".
    [bpelc] Make sure wsdl exists at that URL and is valid.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1133)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10903]: failed to read wsdl
    [bpelc] [Description]: in "bpel.xml", Failed to read wsdl.
    [bpelc] Error happened when reading wsdl at "http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl", because "XML غير صالح في المستند في: http://localhost:8888/esb/wsil/Fulfillment/OrderFulfillment?wsdl، السطر: -1، العمود: -1: Premature end of file.".
    [bpelc] Make sure wsdl exists at that URL and is valid.
    [bpelc] .
    [bpelc] [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    [bpelc] .
    [bpelc]
    BUILD FAILED
    C:\SOADEMO\SOAOrderBooking\build.xml:72: Validation error
    Total time: 51 seconds

  • Unable to deploy SOAOrderBooking project

    Hi All,
    I am doing SOA tutorial and was trying to deploy SOAOrderBooking project but i am getting following error. I believe its a set up issue, can somebody guide me.
    [deployTaskForm] 08/08/29 11:01:40 Notification ==>Application Deployer for default_SOAOrderBooking_1_0_ApproveOrder STARTS.
    [deployTaskForm]
    [deployTaskForm] 08/08/29 11:01:40 Notification ==>Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm] Deploy error: Deploy error: Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    BUILD FAILED
    C:\jdevstudio10133\jdev\mywork\SOADEMO\SOAOrderBooking\build.xml:98: 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:750)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:548)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:814)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:840)
         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)

    Are we supposed to modify build.xml also? if yes, then what parameters? i was just following tutorial instructions and it asked me to modify build.properties.
    I am pasting 2 build.properties file one which works fine [for project selectManufacturer] and one which errors out [for project SOAOrderBooking]:
    build.properties for SelectManufacturer:
    *# AppServer platform: currently supported values are ias_10g, oc4j_10g*
    platform = ias_10g
    *# Change below if deploying in domain other than "default"*
    domain = default
    *# Change below if deploying with process revision other than 1.0*
    rev = 1.0
    *# Make sure admin.user, admin.password is correct for appserver*
    admin.user = oc4jadmin
    admin.password = welcome12
    *# http.hostname and http.port should point to BPEL Server's host and http port*
    http.hostname = localhost
    http.port = 80
    *# For BPEL in cluster environemnt, j2ee.hostname may not be same as*
    *# http.hostname, where j2ee.hostname will be local hostname,*
    *# while http.hostname will be virtual hostname*
    *# For deployment of applications in oc4j cluster, set cluster = true*
    *# and oc4jinstancename to opmn cluster group it belongs to such as default_group*
    *#cluster = false*
    j2ee.hostname = localhost
    *# rmi.port or opmn.requestport is used in jndi.url/deployment-url in*
    *# standalone or midtier installation respectively.*
    *# rmi.port value below is default value as in BPEL standalone-developer install.*
    *# If you rely on this value, make sure it's correct for your installation*
    *# as from command "opmnctl status -l" output in midtier/SOA install.*
    rmi.port = 12402
    opmn.requestport = 6003
    oc4jinstancename = home
    *#asinstancename =*
    *# Set verbose to true if you want to see verbose output from deployment tasks*
    *#verbose = false*
    *# Following properties are used by bpelTest.*
    bpeltest.callHandler =
    *bpel.context.properties = ${bpel.home}/samples/tutorials/102.InvokingProcesses/rmi/context.properties*
    build.properties for SOAOrderBooking:
    *# AppServer platform: currently supported values are ias_10g, oc4j_10g*
    platform = ias_10g
    *# Change below if deploying in domain other than "default"*
    domain = default
    *# Change below if deploying with process revision other than 1.0*
    rev = 1.0
    *# Make sure admin.user, admin.password is correct for appserver*
    admin.user = oc4jadmin
    admin.password = welcome12
    *# http.hostname and http.port should point to BPEL Server's host and http port*
    http.hostname = localhost
    http.port = 80
    *# For BPEL in cluster environemnt, j2ee.hostname may not be same as*
    *# http.hostname, where j2ee.hostname will be local hostname,*
    *# while http.hostname will be virtual hostname*
    *# For deployment of applications in oc4j cluster, set cluster = true*
    *# and oc4jinstancename to opmn cluster group it belongs to such as default_group*
    *#cluster = false*
    j2ee.hostname = localhost
    *# rmi.port or opmn.requestport is used in jndi.url/deployment-url in*
    *# standalone or midtier installation respectively.*
    *# rmi.port value below is default value as in BPEL standalone-developer install.*
    *# If you rely on this value, make sure it's correct for your installation*
    *# as from command "opmnctl status -l" output in midtier/SOA install.*
    rmi.port = 12402
    opmn.requestport = 6003
    oc4jinstancename = home
    *#asinstancename =*
    *# Set verbose to true if you want to see verbose output from deployment tasks*
    *#verbose = false*
    *# Following properties are used by bpelTest.*
    bpeltest.callHandler =
    *bpel.context.properties = ${bpel.home}/samples/tutorials/102.InvokingProcesses/rmi/context.properties*

  • SDM failed when deploying a Web Dynpro application

    SDM failed when deploying a Web Dynpro application - I get the following error message:
    Sep 19, 2006 2:25:34 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : eix-blade-011
    SDM port : 50118
    URL to deploy : file:/D:/DOCUME1/AMRM1.AZI/LOCALS1/Temp/temp43621sap.comwelcome.ear
    Deployment exception : Server eix-blade-011 did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server eix-blade-011 at port 50118: eix-blade-011
    Inner exception was :
    Server eix-blade-011 did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server eix-blade-011 at port 50118: eix-blade-011

    Amr Azim,
    You must have logged in thru a dedicated connection to any server through say VPN before deploying.This way the sdm uses the same login as that of already establised connection.
    So 'sign of'  all connections to any servers before deploying and redeploy your application.Here you will be prompted to supply the sdm password and deployment shall proceed.

  • Web services randomly fail to deploy properly in OC4J

    I have an ear with around 15 services, and sometimes (today, all the time, other times, not at all) some of the services fail to deploy correctly in that when I come to access them I get one of the following (the service that fails is generally different so the below is just an example):
    2009-07-07 15:06:16.633 WARNING OWS-03005 Unable to connect to URL: http://local
    host:8888/democustomer/CimsImageService due to java.security.PrivilegedActionExc
    eption: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type:
    text/html
    OR
    2009-07-07 15:06:16.711 ERROR OWS-04005 An error occurred for port: {http://serv
    ices.cims.prologic.com/}CimsCategoryService: javax.xml.rpc.JAXRPCException: Erro
    r loading Tie: com.prologic.cims.services.runtime.CimsCategoryWebServiceSoapHttp
    _Tie.
    Missing class: com.prologic.cims.services.runtime.CimsCategoryWebServi
    ceSoapHttp_Tie
    Dependent class: oracle.j2ee.ws.server.J2EEImplementor
    Loader: oc4j:10.1.3
    Code-Source: /C:/oc4j/webservices/lib/wsserver.jar
    Configuration: <code-source> in META-INF/boot.xml in C:\oc4j\j2ee\home
    \oc4j.jar
    This load was initiated at democustomer.web.democustomer:0.0.0 using the loadCla
    ss() method.
    The missing class is not available from any code-source or loader in the system.
    If I redeploy it often, but not always, sorts the problem out so it is not a source code issue and I guess, possibly not a deployment descriptor problem for the same reason.
    I'm running on OC4J 10.1.3.1 (we need to run with this version for now).
    I get the same problem very occasionally on Linux 10.1.3.n but it's rare.
    Anyone out there seen this before ? It's becoming very irritating.

    idris, the only workaround I have found is to check at container startup that each service was deployed ok, by making a call to a serviceAvailable method. That way, if I restart OC4J after a deployment I see log messages if all was not well (and in fact I can specify that the container shouldn't start if the service failed)
    Class oracle.j2ee.server.OC4JStartup is the one you want and insert something like into server.xml after the cluster element (the jar conmtaining your code needs to be in the applib directory too):
         <init-library path="../applib/startupshutdown.jar" /> <!-- or wherever we put it -->
    <startup-classes>
    <startup-class classname="com.prologic.cms.services.StartupServer" failure-is-fatal="true" >
    <execution-order>0</execution-order>
                   <init-param>
                        <param-name>TestServices</param-name>
                        <param-value>true</param-value>
                   </init-param>
                   <init-param>
                        <param-name>deployment.port</param-name>
                        <param-value>7777</param-value>
                   </init-param>
                   <init-param>
                        <param-name>ASwitchToPassIn</param-name>
                        <param-value>true</param-value>
                   </init-param>
                   <init-param>
                        <param-name>SearchIndexRebuild</param-name>
                        <param-value>true</param-value>
                   </init-param>
                   <init-param>
                        <param-name>waitfor</param-name>
                        <param-value>50000</param-value>
                   </init-param>
                   <init-param>
                        <param-name>language</param-name>
                        <param-value>en</param-value>
                   </init-param>
                   <init-param>
                        <param-name>locale</param-name>
                        <param-value>UK</param-value>
                   </init-param>
    </startup-class>
    </startup-classes>

  • Fail to deploy the "Virtual Shop Lite " Sample

    Fail to deploy the "Virtual Shop Lite " Sample in
    SAP Netweaver J2EE Preview (Release SAP NetWeaver™ 2007).
    I select the SAP Server node and choose Publish from the context menu. The SAP NetWeaver Developer Studio switches to the Deploy View Console view.
    At this time, the "Logon to SAP J2EE Engine" window appear.
    I enter the below user and password.
    user : Administrator
    password : <master-password>
    In the Deploy View Console, the below messages appear:
    com.sap.ide.eclipse.deployer.api.AuthenticationException:
    [#1]:Session::checkForTicketException:[Base Login Exception], cause=The user account is expired,or not valid yet.[more]
    [#1]:DC API is trying to connect to "localhost:50004".
    What should I do ?
    (I try the 10th time but the result is the same.)

    Same problem:
    Fail to deploy the "Virtual Shop Lite " Sample
    Is it a BUG ???

  • Fail to deploy the "Virtual Shop Lite " Sample in

    Fail to deploy the "Virtual Shop Lite " Sample in
    SAP Netweaver J2EE Preview (Release SAP NetWeaver™ 2007).
    I select the SAP Server node and choose Publish from the context menu. The SAP NetWeaver Developer Studio switches to the Deploy View Console view.
    At this time, the "Logon to SAP J2EE Engine" window appear.
    I enter the below user and password.
    user : Administrator
    password : <master-password>
    In the Deploy View Console, the below messages appear:
    com.sap.ide.eclipse.deployer.api.AuthenticationException:
    [#1]:Session::checkForTicketException:[Base Login Exception], cause=The user account is expired,or not valid yet.[more]
    [#1]:DC API is trying to connect to "localhost:50004".
    What should I do ?
    (I try the 10th time but the result is the same.)

    see the below link (same problem):
    Deploying Virtual Shop Lite
    I think it may be a BIG BUG.
    You can see it by yourself.

  • Failed to deploy web application with same name twice

    Hello-
    On Oracle 10g Application server I deployed an WAR file called "anbadmin", then undeployed it. The undepoloyment failed from the OEM so I undeployed it manually via removing its entries from server.xml.
    When I tried to deploy it again with the same name I got this:
    Failed to deploy web application "anbadmin". Failed to deploy web application "anbadmin". . The evaluate phase failed. The Adapter used in the evaluate may have thrown an exception.
    Resolution:
    Please call Oracle support.
    Base Exception:
    java.lang.NoSuchMethodError
    null. java.lang.NoSuchMethodError
    Is there a solution for this?
    Regards

    I think I know the solution. We encountered exactly same message and no further deployment could be made. It appeared message in "dcmctl" utility was much more helpfull than the one in EM (though you still have to use "getError" command...)
    If you are using file-based repository, you have to issue command in dcmctl utility "resetFileTransaction". This closes repository and opens it again.
    Myrra

  • Essbase Studio: Failed to deploy Essbase cube

    Hi
    I have started working with Essbase studio sometime back and I am able to deploy BSO cube with success using the TBCSample Database which comes along with Essbase. Now I wanted to deploy ASO cube, as no sample database is available I thought to create one, I extracted ASOSamp using ODI to CSV files. Then I bulk inserted the csv extracts into MSSQL 2003 server which created 11 tables (Age, Geography, IncomeLevel, Measures, PaymentType, Product, Stores, Time TransactionType, Year). The above mentioned table does not have any keys(Primary, Foreign) as it is an Essbase export.
    I then successful created ASO Cube Schema using the newly created sample database in MSSQL, validated cube schema without any errors.
    Essbase Property Setting:
    Measures Hierarchy is tagged as Dynamic Compression at dimension level
    Time, Product and Year Hierarchy is tagged as Multiple Hierarchies Enabled, Year does not have multiple hierarchies but it has formulas for Variance and Variance % member. Is there a way to tag Year as Dynamic hierarchy?
    But when I try to deploy the cube to Essbase I receive following errors:
    Failed to deploy Essbase cube
    Caused By: Cannot end incremental build. Essbase Error(1060053): Outline has errors
    \\Record #1 - Member name (Time) already used
    + S Time + S
    \\Record #6 - Member name (1st Half) already used
    MTD + S 1st Half + S
    \\Record #7 - Member name (2nd Half) already used
    MTD + S 2nd Half + S
    \\Record #21 - Member name (Qtr1) already used
    Qtr1 + S Feb + S
    \\Record #22 - Member name (Qtr1) already used
    Qtr1 + S Jan + S
    \\Record #23 - Member name (Qtr1) already used
    Qtr1 + S Mar + S
    \\Record #24 - Member name (Qtr2) already used
    Qtr2 + S Apr + S
    \\Record #25 - Member name (Qtr2) already used
    Qtr2 + S Jun + S
    \\Record #26 - Member name (Qtr2) already used
    Qtr2 + S May + S
    \\Record #27 - Member name (Qtr3) already used
    Qtr3 + S Aug + S
    \\Record #28 - Member name (Qtr3) already used
    Qtr3 + S Jul + S
    \\Record #29 - Member name (Qtr3) already used
    Qtr3 + S Sep + S
    \\Record #30 - Member name (Qtr4) already used
    Qtr4 + S Dec + S
    \\Record #31 - Member name (Qtr4) already used
    Qtr4 + S Nov + S
    \\Record #32 - Member name (Qtr4) already used
    Qtr4 + S Oct + S
    \\Record #33 - Member name (Time) already used
    Time + S MTD + S
    \\Record #34 - Member name (Time) already used
    Time ~ S QTD ~ S
    \\Record #35 - Member name (Time) already used
    Time ~ S YTD ~ S
    \\Record #9 - Error adding Attribute to member QTD(Jan) (3320)
    \\Record #9 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    QTD + S QTD(Jan) + S [Jan]
    \\Record #10 - Error adding Attribute to member QTD(Apr) (3320)
    \\Record #10 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    QTD ~ S QTD(Apr) ~ S [Apr]
    \\Record #11 - Error adding Attribute to member QTD(Aug) (3320)
    \\Record #11 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    QTD ~ S QTD(Aug) ~ S [Jul]+[Aug]
    \\Record #12 - Error adding Attribute to member QTD(Dec) (3320)
    \\Record #12 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    QTD ~ S QTD(Dec) ~ S [Oct]+[Nov]+[Dec]
    \\Record #13 - Error adding Attribute to member QTD(Feb) (3320)
    \\Record #13 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    QTD ~ S QTD(Feb) ~ S [Jan]+[Feb]
    \\Record #14 - Error adding Attribute to member QTD(Jul) (3320)
    \\Record #14 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    QTD ~ S QTD(Jul) ~ S [Jul]
    \\Record #15 - Error adding Attribute to member QTD(Jun) (3320)
    \\Record #15 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    QTD ~ S QTD(Jun) ~ S [Apr]+[May]+[Jun]
    \\Record #16 - Error adding Attribute to member QTD(Mar) (3320)
    \\Record #16 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    QTD ~ S QTD(Mar) ~ S [Jan]+[Feb]+[Mar]
    \\Record #17 - Error adding Attribute to member QTD(May) (3320)
    \\Record #17 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    QTD ~ S QTD(May) ~ S [Apr]+[May]
    \\Record #18 - Error adding Attribute to member QTD(Nov) (3320)
    \\Record #18 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    QTD ~ S QTD(Nov) ~ S [Oct]+[Nov]
    \\Record #19 - Error adding Attribute to member QTD(Oct) (3320)
    \\Record #19 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    QTD ~ S QTD(Oct) ~ S [Oct]
    \\Record #20 - Error adding Attribute to member QTD(Sep) (3320)
    \\Record #20 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    QTD ~ S QTD(Sep) ~ S [Jul]+[Aug]+[Sep]
    \\Record #36 - Error adding Attribute to member YTD(Jan) (3320)
    \\Record #36 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    YTD + S YTD(Jan) + S [Jan]
    \\Record #37 - Error adding Attribute to member YTD(Apr) (3320)
    \\Record #37 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    YTD ~ S YTD(Apr) ~ S [Qtr1]+[Apr]
    \\Record #38 - Error adding Attribute to member YTD(Aug) (3320)
    \\Record #38 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    YTD ~ S YTD(Aug) ~ S [1st Half]+[Jul]+[Aug]
    \\Record #39 - Error adding Attribute to member YTD(Dec) (3320)
    \\Record #39 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    YTD ~ S YTD(Dec) ~ S [1st Half]+[Qtr3]+[Qtr4]
    \\Record #40 - Error adding Attribute to member YTD(Feb) (3320)
    \\Record #40 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    YTD ~ S YTD(Feb) ~ S [Jan]+[Feb]
    \\Record #41 - Error adding Attribute to member YTD(Jul) (3320)
    \\Record #41 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    YTD ~ S YTD(Jul) ~ S [1st Half]+[Jul]
    \\Record #42 - Error adding Attribute to member YTD(Jun) (3320)
    \\Record #42 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    YTD ~ S YTD(Jun) ~ S [1st Half]
    \\Record #43 - Error adding Attribute to member YTD(Mar) (3320)
    \\Record #43 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    YTD ~ S YTD(Mar) ~ S [Qtr1]
    \\Record #44 - Error adding Attribute to member YTD(May) (3320)
    \\Record #44 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    YTD ~ S YTD(May) ~ S [Qtr1]+[Apr]+[May]
    \\Record #45 - Error adding Attribute to member YTD(Nov) (3320)
    \\Record #45 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    YTD ~ S YTD(Nov) ~ S [1st Half]+[Qtr3]+[Oct]+[Nov]
    \\Record #46 - Error adding Attribute to member YTD(Oct) (3320)
    \\Record #46 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    YTD ~ S YTD(Oct) ~ S [1st Half]+[Qtr3]+[Oct]
    \\Record #47 - Error adding Attribute to member YTD(Sep) (3320)
    \\Record #47 - Aggregate storage outlines only allow formulas in compression dimension or dynamic hierarchies.
    YTD ~ S YTD(Sep) ~ S [1st Half]+[Qtr3]
    \\Record #2 - Incorrect Dimension [Year] For Member [ParentName] (3308)
    ParentName Consolidation DataStorage MemberName Consolidation DataStorage Formula
    \\Record #1 - Member name (Promotions) already used
    S Promotions S
    \\Record #2 - Incorrect Dimension [Promotions] For Member [ParentName] (3308)
    ParentName DataStorage MemberName DataStorage
    \\Record #3 - Member name (Promotions) already used
    Promotions S Coupon S
    \\Record #4 - Member name (Promotions) already used
    Promotions S Newspaper Ad S
    \\Record #5 - Member name (Promotions) already used
    Promotions S No Promotion S
    \\Record #6 - Member name (Promotions) already used
    Promotions S Temporary Price Reduction S
    \\Record #7 - Member name (Promotions) already used
    Promotions S Year End Sale S
    \\Record #2 - Incorrect Dimension [Payment Type] For Member [ParentName] (3308)
    ParentName DataStorage MemberName DataStorage
    \\Record #2 - Incorrect Dimension [Transation Type] For Member [ParentName] (3308)
    ParentName DataStorage MemberName DataStorage
    \\Record #22 - Member name (Home Entertainment) already used
    Home Entertainment + S Home Audio/Video + S
    \\Record #23 - Member name (Home Entertainment) already used
    Home Entertainment + S Televisions + S
    \\Record #24 - Member name (Other) already used
    Other + S Computers and Peripherals + S
    \\Record #25 - Incorrect Dimension [Product] For Member [ParentName] (3308)
    ParentName Consolidation DataStorage MemberName Consolidation DataStorage
    \\Record #26 - Member name (Personal Electronics) already used
    Personal Electronics + S Digital Cameras/Camcorders + S
    \\Record #27 - Member name (Personal Electronics) already used
    Personal Electronics + S Handhelds/PDAs + S
    \\Record #28 - Member name (Personal Electronics) already used
    Personal Electronics + S Portable Audio + S
    \\Record #31 - Member name (All Merchandise) already used
    Products + S All Merchandise + S
    \\Record #32 - Member name (High End Merchandise) already used
    Products ~ S High End Merchandise ~ S
    \\Record #33 - Member name (Systems) already used
    Systems + S Desktops + S
    \\Record #34 - Member name (Systems) already used
    Systems + S Notebooks + S
    \\Record #18 - Error adding Attribute to member Digital Recorders (3320)
    Home Audio/Video + S Digital Recorders + S
    \\Record #36 - Error adding Attribute to member Flat Panel (3320)
    Televisions + S Flat Panel + S
    \\Record #37 - Error adding Attribute to member HDTV (3320)
    Televisions + S HDTV + S
    \\Record #8 - Incorrect Dimension [Income Level] For Member [ParentName] (3308)
    ParentName DataStorage MemberName DataStorage
    \\Record #1 - Member name (Geography) already used
    S Geography S
    \\Record #2 - Error adding member 27425 (3317)
    \\Record #2 - Aggregate storage outlines only allow any shared member once in a stored hierarchy, including prototype.
    A M F GREENSBORO - NC S 27425 S 336
    \\Record #3 - Error adding member 36310 (3317)
    \\Record #3 - Aggregate storage outlines only allow any shared member once in a stored hierarchy, including prototype.
    ABBEVILLE - AL S 36310 S 334
    \\Record #4 - Error adding member 29620 (3317)
    \\Record #4 - Aggregate storage outlines only allow any shared member once in a stored hierarchy, including prototype.
    ABBEVILLE - SC S 29620 S 864
    \\Record #5 - Error adding member 67510 (3317)
    \\Record #5 - Aggregate storage outlines only allow any shared member once in a stored hierarchy, including prototype.
    ABBYVILLE - KS S 67510 S 316
    \\Record #6 - Error adding member 58001 (3317)
    \\Record #6 - Aggregate storage outlines only allow any shared member once in a stored hierarchy, including prototype.
    ABERCROMBIE - ND S 58001 S 701
    \\Record #7 - Error adding member 42201 (3317)
    \\Record #7 - Aggregate storage outlines only allow any shared member once in a stored hierarchy, including prototype.
    ABERDEEN - KY S 42201 S 502
    \\Record #8 - Error adding member 21001 (3317)
    \\Record #8 - Aggregate storage outlines only allow any shared member once in a stored hierarchy, including prototype.
    ABERDEEN - MD S 21001 S 410
    \\Record #9 - Error adding member 39730 (3317)
    \\Record #9 - Aggregate storage outlines only allow any shared member once in a stored hierarchy, including prototype.
    ABERDEEN - MS S 39730 S 601
    \\Record #10 - Error adding member 28315 (3317)
    \\Record #10 - Aggregate storage outlines only allow any shared member once in a stored hierarchy, including prototype.
    ABERDEEN - NC S 28315 S 910
    \\Record #11 - Error adding member 79311 (3317)
    \\Record #11 - Aggregate storage outlines only allow any shared member once in a stored hierarchy, including prototype.
    ABERNATHY - TX S 79311 S 806
    \\Record #12 - Error adding member 79601 (3317)
    \\Record #12 - Aggregate storage outlines only allow any shared member once in a stored hierarchy, including prototype.
    ABILENE - TX S 79601 S 915
    \\Record #13 - Error adding member 79608 (3317)
    \\Record #13 - Aggregate storage outlines only allow any shared member once in a stored hierarchy, including prototype.
    ABILENE - TX S 79608 S 915
    \\Record #14 - Error adding member 79698 (3317)
    \\Record #14 - Aggregate storage outlines only allow any shared member once in a stored hierarchy, including prototype.
    Are these errors due to data source, if yes what could be possible work around?
    Is there any problem with Essbase properties which I have set if so then when I validate cube schema why I dn't get any errors?
    Please help me, I am stuck here not able to deploy ASO Cube.
    Thanks in advance

    Hii
    I have the same problem , you have.
    did you manage to solve it ??
    Thanks in advance

  • WebLogic 12.1.2 fails when deploying ear with injecting extension and bean with injection of this extension in ejb

    WebLogic 12.1.2 fails when deploying an enterprise application(ear) that contains a ejb in which injected 1) an extension 2)bean with injection of this extension.
    The following exception is thrown:
    Caused By: org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [CdiExtension] with qualifiers [@Default] at injection point [[field] @Inject private test.extension.Bean1.extension].
    Possible dependencies [
    [Extension [class test.extension.CdiExtension] with qualifiers [@Default]; zip:/domain1/servers/AdminServer/tmp/_WL_user/test/7x6roh/lib/test-extension-0.0.1-SNAPSHOT.jar!/META-INF/services/javax.enterprise.inject.spi.Extension@1[test.extension.CdiExtension@1115deb],
    Extension [class test.extension.CdiExtension] with qualifiers [@Default]; zip:/domain1/servers/AdminServer/tmp/_WL_user/test/7x6roh/lib/test-extension-0.0.1-SNAPSHOT.jar!/META-INF/services/javax.enterprise.inject.spi.Extension@1[test.extension.CdiExtension@ed791f]]]
        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:314)
        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:280)
        at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:143)
        at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:163)
        at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:382)
        at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:367)
        at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:379)
        at com.oracle.injection.provider.weld.WeldInjectionContainer.start(WeldInjectionContainer.java:106)
        at com.oracle.injection.integration.CDIAppDeploymentExtension.initCdi(CDIAppDeploymentExtension.java:70)
        at com.oracle.injection.integration.CDIAppDeploymentExtension.activate(CDIAppDeploymentExtension.java:47)
        at weblogic.application.internal.flow.AppDeploymentExtensionFlow.activate(AppDeploymentExtensionFlow.java:37)
        at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
        at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
        at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)
        at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    Problem can be easily reproduced by a minimal case:
    test.ear:
    \lib\test-extension-0.0.1-SNAPSHOT.jar
    test-ejb-0.0.1-SNAPSHOT.jar
    where
    test-extension-0.0.1-SNAPSHOT.jar contains:
    CdiExtension.java:
    package test.extension;
    import javax.enterprise.inject.spi.Extension;
    public class CdiExtension implements Extension {
        private String someString = "Some String";
        public String getSomeString() {
            return someString;
    Bean1.java:
    package test.extension;
    import javax.enterprise.context.ApplicationScoped;
    import javax.inject.Inject;
    @ApplicationScoped
    public class Bean1 {
        @Inject
        private CdiExtension extension;
        public String get() {
            return extension.getSomeString();
    test-ejb-0.0.1-SNAPSHOT.jar contains:
    EjbBean.java:
    package test;
    import test.extension.Bean1;
    import test.extension.CdiExtension;
    import javax.ejb.Stateless;
    import javax.inject.Inject;
    @Stateless
    public class EjbBean {
        @Inject
        private CdiExtension extension;
        @Inject
        private Bean1 bean1;
        public String getSomeString() {
            return extension.getSomeString() + "\n" + bean1.get();
    p.s. i seen same problem in community.oracle.com/thread/2577403 , but it happen in "war", not "ear", and seems successfully patched with patch №17424706

    Hi,
    It looks like there is patch exists for this issue.
    Patch 17198187
    Please try to download from the MOS or try to open a ticket with support.
    Regards,
    Kal

  • Should not happen unless default context failed to deploy

              Can somebody please throw some light on this error?
              <Mar 5, 2001 10:07:26 AM EST> <Error> <HTTP> <HttpServer5173817,null
              default ctx,POSDev01) found no context for "GET /classes/ringout_statelessSession3@/RingoutSessionBeanHomeImpl_WLStub.class
              HTTP/1.0". This should not happen unless the default context failed
              to deploy.>
              Myself and lot of other people in my team are getting this error
              when using beans in a cluster.
              I am getting this error consistently whenever I make some code
              changes in my bean class (not interface changes) and redeploy it
              and try to lookup through a stand-alone client.
              The only way I could find to overcome this problem is:
              1) edit config.xml to remove the Application element completely
              corresponding to the bean
              2) remove jar files from the applications directory
              3) re-deploy and run the client again.
              Thanks a lot
              Kiran Ganuthula
              

    Partly it could be WLS problem also. Under any circumstances default webapp should be able
              to deploy. I have seen somebody else also reported the same problem. The current problem is
              if you delete anything from apps dir, the corresponding entry is not being deleted from config.xml
              So next time when you boot the server, it tries to deploy the webapp and eventually it fails.
              I 'm not sure if this is the situation in your case.
              In anycase somehow Targets tag is not being picking up. That's why i asked you add
              "WebServers" tag. I think we have done some major changes in SP1, to make sure that
              default webapp deploys all the times.
              If you still have problems, post it to servlet or management group, we will discuss there.
              Kumar
              Kiran G wrote:
              > I edited the config.xml ONLY after getting this error. And, it worked.
              >
              > BTW, can you please be more specific about the changes to config.xml
              > to solve the problem?
              > If possible, can you give pertinent portion(s) of config.xml, highlighting
              > the changes.
              >
              > Thanks
              > Kiran G
              >
              > Kumar Allamraju <[email protected]> wrote:
              > >
              > >
              > >It appears your "default webapp" failed to deploy.
              > >Did you messed up with the config.xml?.
              > >
              > >Add the following to your default webapp tag?
              > >
              > ><Application
              > > Deployed="true"
              > > Name="DefaultWebApp_vindev1"
              > > Path="./config/vindev1/applications"
              > > >
              > > <WebAppComponent
              > > Name="DefaultWebApp_vindev1"
              > > Targets="vindev1"
              > > WebServers="vindev1"
              > > URI="DefaultWebApp_vindev1"
              > > />
              > > </Application>
              > >
              > >
              > >Here vindev1 is my domain's name..
              > >
              > >BTW, this is not a clustering question. So you better
              > >post it to servlet newsgroup where you get much
              > >better answers..
              > >
              > >Kiran G wrote:
              > >
              > >> I forgot to give these details about the problem.
              > >> I am running this cluster using WebLogic 6.0 on a SUN
              > >sparc machine.
              > >>
              > >> The error text given in my original posting appears
              > >in the managed
              > >> weblogic server's log. The exception that the client
              > >receives while
              > >> lookup is :
              > >>
              > >> javax.naming.CommunicationException. Root exception
              > >is java.rmi.UnmarshalException:
              > >> failed to unmarshal class java.lang.Object; nested exception
              > >is:
              > >> java.lang.ClassNotFoundException: RingoutSessionBeanHomeImpl_WLStub
              > >> java.lang.ClassNotFoundException: RingoutSessionBeanHomeImpl_WLStub
              > >>
              > >> "Kiran G" <[email protected]> wrote:
              > >> >
              > >> >Can somebody please throw some light on this error?
              > >> >
              > >> ><Mar 5, 2001 10:07:26 AM EST> <Error> <HTTP> <HttpServer5173817,null
              > >> >default ctx,POSDev01) found no context for "GET /classes/ringout_statelessSession3@/RingoutSessionBeanHomeImpl_WLStub.class
              > >> >HTTP/1.0". This should not happen unless the default
              > >context
              > >> >failed
              > >> >to deploy.>
              > >> >
              > >> >Myself and lot of other people in my team are getting
              > >> >this error
              > >> >when using beans in a cluster.
              > >> >
              > >> >I am getting this error consistently whenever I make
              > >some
              > >> >code
              > >> >changes in my bean class (not interface changes) and
              > >redeploy
              > >> >it
              > >> >and try to lookup through a stand-alone client.
              > >> >
              > >> >The only way I could find to overcome this problem
              > >is:
              > >> >1) edit config.xml to remove the Application element
              > >completely
              > >> >corresponding to the bean
              > >> >2) remove jar files from the applications directory
              > >> >3) re-deploy and run the client again.
              > >> >
              > >> >Thanks a lot
              > >> >Kiran Ganuthula
              > >> >
              > >> >
              > >> >
              > >> >
              > >> >
              > >
              > >
              > ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              > ><html>
              > >It appears your "default webapp" failed to deploy.
              > ><br>Did you messed up with the config.xml?.
              > ><p>Add the following to your default webapp tag?
              > ><p><Application
              > ><br> Deployed="true"
              > ><br> Name="DefaultWebApp_vindev1"
              > ><br> Path="./config/vindev1/applications"
              > ><br> >
              > ><br> <WebAppComponent
              > ><br> Name="DefaultWebApp_vindev1"
              > ><br> Targets="vindev1"
              > ><br> <b><font color="#CC0000">
              > >WebServers="vindev1"</font></b>
              > ><br> URI="DefaultWebApp_vindev1"
              > ><br> />
              > ><br> </Application>
              > ><br>
              > ><p>Here vindev1 is my domain's name..
              > ><br><br>
              > >BTW, this is not a clustering question. So you better
              > >post it to servlet
              > >newsgroup where you get much
              > ><br>better answers..
              > ><p>Kiran G wrote:
              > ><blockquote TYPE=CITE>I forgot to give these details about
              > >the problem.
              > ><br>I am running this cluster using WebLogic 6.0 on a
              > >SUN sparc machine.
              > ><p>The error text given in my original posting appears
              > >in the managed
              > ><br>weblogic server's log. The exception that the client
              > >receives while
              > ><br>lookup is :
              > ><p>javax.naming.CommunicationException. Root exception
              > >is java.rmi.UnmarshalException:
              > ><br>failed to unmarshal class java.lang.Object; nested
              > >exception is:
              > ><br> java.lang.ClassNotFoundException:
              > >RingoutSessionBeanHomeImpl_WLStub
              > ><br>java.lang.ClassNotFoundException: RingoutSessionBeanHomeImpl_WLStub
              > ><p>"Kiran G" <[email protected]> wrote:
              > ><br>>
              > ><br>>Can somebody please throw some light on this error?
              > ><br>>
              > ><br>><Mar 5, 2001 10:07:26 AM EST> <Error> <HTTP>
              > ><HttpServer5173817,null
              > ><br>>default ctx,POSDev01) found no context for "GET /classes/ringout_statelessSession3@/RingoutSessionBeanHomeImpl_WLStub.class
              > ><br>>HTTP/1.0". This should not happen unless the default
              > >context
              > ><br>>failed
              > ><br>>to deploy.>
              > ><br>>
              > ><br>>Myself and lot of other people in my team are getting
              > ><br>>this error
              > ><br>>when using beans in a cluster.
              > ><br>>
              > ><br>>I am getting this error consistently whenever I make
              > >some
              > ><br>>code
              > ><br>>changes in my bean class (not interface changes)
              > >and redeploy
              > ><br>>it
              > ><br>>and try to lookup through a stand-alone client.
              > ><br>>
              > ><br>>The only way I could find to overcome this problem
              > >is:
              > ><br>>1) edit config.xml to remove the Application element
              > >completely
              > ><br>>corresponding to the bean
              > ><br>>2) remove jar files from the applications directory
              > ><br>>3) re-deploy and run the client again.
              > ><br>>
              > ><br>>Thanks a lot
              > ><br>>Kiran Ganuthula
              > ><br>>
              > ><br>>
              > ><br>>
              > ><br>>
              > ><br>></blockquote>
              > ></html>
              > >
              > >
              [att1.html]
              

Maybe you are looking for

  • HP LaserJet Pro 200 M276n

    I have the printer setup behind a Cisco RV180 VPN router and I have activited the Web Service for the printer. Problem: 1.  I got the setup page opened in my browser when I typed in the domain name without specifying any port numebr of my network?  I

  • Logical standby db outage

    version 10203 logical standby db has outage , and is not sync with primary db, how to make it sync, outage was for 4 hrs.... SQL> EXECUTE DBMS_LOGSTDBY.APPLY_SET('PRESERVE_COMMIT_ORDER', 'FALSE'); will this solve the issue? & wondering how long it ca

  • HT1551 Cannot sign up for Netflix. Message is not available at this time try back late. Almost 24 hours now.

    Need help with signing on to Netflix from Apple TV. message says not available try back later. Has been 24 hours plus.

  • Flash-Player funktioniert nicht mehr

    Hallo, nach dem Update auf Flash-Player Version 12.0.0.38 funktionierte dieser nicht mehr. Auch eine Neuinstallation der aktuellen Version Version 12.0.0.44 löst das Problem nicht. Mein PC läuft mit Win 7 SP 1, 64 Bit, Version 6.1.7601 IE 11.0.9600.1

  • Best Format to Share Video

    Sometimes I need to share footage with a colleague via dropbox and I was wondering what format would give me the best quality for the smallest file size.  I use compressor and the footage is orginally DVCPro HD 720p.