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
Similar Messages
-
Deploying SOAOrderBooking BPEL Process using ANT
I cannot resolve the following error when deploying this process - all services are reqistered and deployed as specificed in the demo
The error says 'cannot get deployment manager' and some messages about a URI de descriptor
| Deploying workflow form for SOAOrderBooking on ASarnoXP, port 8888
[deployTaskForm] Start of deploying forms
[deployTaskForm] checking for form directory as form/warC:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\war
[deployTaskForm] Form directory name = C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form
[deployTaskForm] Start of deploying form C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form
[deployTaskForm] Start of copying file C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml to C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak
[deployTaskForm] End of copying file C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml to C:\Jdeveloper\Order Booking Application\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:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\war\WEB-INF
[deployTaskForm] Generating the web archive workflowform.war in directory C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear
[deployTaskForm] Deleting file = workflowform.war
[deployTaskForm] Deleting file = default_SOAOrderBooking_1_0_ApproveOrder.ear
[deployTaskForm] Generating the application archive default_SOAOrderBooking_1_0_ApproveOrder.ear in directory C:\Jdeveloper\Order Booking Application\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://ASarnoXP:6003/home/home oc4jadmin welcome1 -deploy -file C:\Jdeveloper\Order Booking Application\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]
[deployTaskForm]
[deployTaskForm] Failed at "Could not get DeploymentManager".
[deployTaskForm]
[deployTaskForm] This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
[deployTaskForm]
[deployTaskForm] More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
[deployTaskForm]
[deployTaskForm]
[deployTaskForm] Start of copying file C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak to C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml
[deployTaskForm] End of copying file C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml.bak to C:\Jdeveloper\Order Booking Application\SOAOrderBooking\public_html\ApproveOrder\form\ear\META-INF\application.xml
BUILD FAILED
C:\Jdeveloper\Order Booking Application\SOAOrderBooking\build.xml:107: Error while deploying the form on server "ASarnoXP" 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:127)
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)
Total time: 30 secondsI assume you checked the reasons that are suggested in the message:
"This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details"
It looks like a typo...
Lonneke -
Error while invoking BPEL Process through HTML Page
Hi ,
I have created a HTML Page to invoke BPEL synchronous process .
HTML Page contains :
<html>
<head>
<title>Untitled Document</title>
<h1>Add Macro Task Input Form </h1>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="cyan" text="#000000">
<form name="form1" method="get" action="/httpbinding/default/AddMacroSync/process">
EmployeeId :
<input type="text" name="EmployeeId" ><br>
<br>
TaskName :
<input type="text" name="MacroTaskName" >
<button
id="identifier"
class="dialog"
label="OK"
accesskey="t"/>
<br>
</form>
</body>
</html>
I am able to invoke my BPEL Process named as " AddMacroSync" .
It also creating instance for this BPEL Process .
But when I go BPEL Console and check my instance , it is always faulted .
I am providing two inputs : Employee Id and Taskname through HTML Page .
These inputs got assigned to their respective output variables .
But when I click on audit link ..it shows error while invoking the Process .
It Show error :
when invoking endpointAddress 'http://152.69.248.232:8990/AddMacroTask-AddMacroTask-context-root/AddMacroTaskWebService', [java.lang.NumberFormatException]
But this end point address is working when I put this address in URL .
Please someone help me how to solve this problem .
Thanks
Prashant Dwivedi
Message was edited by:
Prashant DwivediHi Clemens ,
I changed My HTML ...Now it looks like as :
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="application/x-www-form-urlencoded; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="/httpbinding/default/AddMacroSync">
<input type="hidden" name="msg_part" value="payload">
<input type="hidden" name="namespace" value="http://xmlns.oracle.com/AddMacroSync">
EmployeeId:
<input type="text" name="EmployeeId">
TaskName :
<input type="text" name="TaskName">
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
After this when I try to incoke my BPEL Process through this HTML :
I am gettign following error :
500 Internal Server Error
java.lang.IllegalStateException: IOException: Premature end of POST data
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletRequest.getParameter(EvermindHttpServletRequest.java:2452)
at com.collaxa.cube.ws.http.HttpBindingServlet.checkSecurity(HttpBindingServlet.java:281)
at com.collaxa.cube.ws.http.HttpBindingServlet.doPost(HttpBindingServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534) -
Deploying bpel processes through ant
Hi all I have to deploy bpel through ant for this I am following below steps.
1) SET ANT_HOME to C:\jdev\ant
2) copied the followong jar files into ant home library orabpel.jar,orabpel-ant.jar, orabpel-boot.jar, orabpel-boot.jar,orabpel-exts.jar,orabpel-thirdparty.jar,oracle_http_client.jar,xmlparserv2.jar,orawsdl.jar
Below is my buil.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<project name="bpel.deploy" default="deployTaskForm" basedir="." xmlns:oracle="antlib:oracle">
<target name="deployProcess">
<deployProcess
user="${admin.user}" password="${admin.password}"
domain="${domain}" process="${process1.name}"
rev="${rev}" dir="${process.dir}/output"
hostname="${http.hostname}" httpport="${http.port}"
verbose="${verbose}"
/>
</target>
<target name="deployTaskForm" depends="deployProcess">
<deployTaskForm
platform="${platform}" dir="${process.dir}/public_html"
domain="${domain}" process="${process.name}" rev="${rev}"
user="${admin.user}" password="${admin.password}"
hostname="${j2ee.hostname}" cluster="${cluster}"
rmiport="${rmi.port}" opmnrequestport="${opmn.requestport}"
oc4jinstancename="${oc4jinstancename}"
asinstancename="${asinstancename}" verbose="${verbose}"
/>
</target>
</project>
I am getting an error
C:\Documents and Settings\254876>cd C:\Documents and Settings\254876\Desktop\BPEL_ANT
C:\Documents and Settings\254876\Desktop\BPEL_ANT>ant
Buildfile: build.xml
deployProcess:
BUILD FAILED
C:\Documents and Settings\254876\Desktop\BPEL_ANT\build.xml:36: Could not create
task or type of type: deployProcess.
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'deployProcess'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or libraries
implementing the functionality were not found at the time you
yourself built your installation of Ant from the Ant sources.
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
task and make sure it contains more than merely a META-INF/MANIFEST.MF.
If all it contains is the manifest, then rebuild Ant with the needed
libraries present in ${ant.home}/lib/optional/ , or alternatively,
download a pre-built release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using <taskdef>.
- You are attempting to use a task defined using
<presetdef> or <macrodef> but have spelt wrong or not
defined it at the point of use
Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath
Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.
Total time: 0 seconds
C:\Documents and Settings\254876\Desktop\BPEL_ANT>Please cross check your ant-orabpel.xml in bpel\utilities with mine ::
<?xml version="1.0" encoding="iso-8859-1"?>
<project name="ant-orabpel">
<import file="ant-deployapps.xml"/> <!-- for applications(EJB, JSP) -->
<path id="orabpel.tasks.class.path">
<pathelement location="${bpel.home}/lib/orabpel-ant.jar"/>
<pathelement location="${bpel.home}/lib/orabpel.jar"/>
<pathelement location="${bpel.home}/lib/orabpel-thirdparty.jar"/>
<pathelement location="${bpel.home}/lib/orabpel-common.jar"/>
<pathelement location="${bpel.home}/lib/orabpel-exts.jar"/>
<pathelement location="${bpel.home}/lib/xmlparserv2.jar"/>
<pathelement location="${bpel.home}/lib/orawsdl.jar"/>
<pathelement location="${bpel.home}/lib/connector15.jar"/>
<!-- used by deployRemote -->
<pathelement location="${bpel.home}/lib/oracle_http_client.jar"/>
<!-- used by deployTaskForm -->
<pathelement location="${bpel.home}/system/appserver/oc4j/j2ee/home/lib/oc4j-internal.jar"/>
<!-- used by validateTask to load WorkflowTaskDefinition.xsd-->
<pathelement location="${bpel.home}/system/services/schema"/>
</path>
<property name="orabpel.tasks.class.path" refid="orabpel.tasks.class.path"/>
<taskdef resource="com/collaxa/cube/ant/orabpel-antlib.xml" loaderRef="orabpel.tasks.ClassLoader">
<classpath>
<pathelement path="${orabpel.tasks.class.path}"/>
</classpath>
</taskdef>
</project> -
When deploying BPEL Process through JDeveloper java.security.AccessControlE
1.) Navigated to the Connections tab of JDeveloper 10.1.3.2.
2.) Under the Application Server node, created a new Application Server
connection, provided the relevant information on Type, Authentication
& Connection's tab.
3.) On Authentication Tab, provided the username as oc4jadmin.
The password was not modified.
4.) On the Test Tab after clicking on Test Connection,
the connection was created successfully.
5.) Under the Integration Server node,created a new Integration Server
connection, provided the relevant information on Name & Connection
Tab's.
6.) On the Test Tab after clicking on Test Connection,
the connection was created successfully.
7.) Went to the Applications Navigator tab of JDeveloper 10.1.3.2.
8.) Here a simple BPEL Process was created.
9.) When trying to deploy the BPEL Process through JDeveloper,
the below exception was thrown.
We are using Oracle's SOA Suite 10.1.3.1 :-
Buildfile: C:\TerminationDevelopment\TerminationProcess\build.xml
validateTask:
[echo]
| Validating
workflow
[validateTask] url is file:/C:/JDevStudioBaseDevelopment/integration/bpm/support/files/WorkflowTaskDef
inition.xsd
[validateTask] url is file:/C:/JDevStudioBaseDevelopment/integration/bpm/support/files/WorkflowTaskDef
inition.xsd
[validateTask] url is file:/C:/JDevStudioBaseDevelopment/integration/bpm/support/files/WorkflowTaskDef
inition.xsd
[validateTask] url is file:/C:/JDevStudioBaseDevelopment/integration/bpm/support/files/WorkflowTaskDef
inition.xsd
[validateTask] Validation of workflow task definitions is completed without errors
deployProcess:
[echo]
| Deploying bpel process TerminationProcess on 172.16.100.85, port
7778
[deployProcess] Deploying process C:\TerminationDevelopment\TerminationProcess\output\bpel_TerminationProcess_1.1.
jar
BUILD FAILED
C:\TerminationDevelopment\TerminationProcess\build.xml:79: A problem occured while connecting to server "172.16.100.85" using port "7778":
java.security.AccessControlException: access denied
(com.collaxa.security.DomainPermission default read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264
at java.security.AccessController.checkPermission(AccessController.java:427)
at com.collaxa.security.OC4JSecurityService.checkAccess(OC4JSecurityService.java:16
at com.collaxa.security.SecurityService.checkDomainAccess(SecurityService.java:26)
Text continued in next action...Hello
I have the same problem , please see the solution if you have fixed that.
Thanks -
While deploying BPEL Process through JDeveloper 10.1.3.2 the BUILD FAILS
While deploying a BPEL Process through JDeveloper 10.1.3.2 it says :-
BUILD FAILED
D:\Development_mywork\MemoApplication\Memo\MemoProcess\build.xml:79: A problem occured while connecting to server "boomidevp.alshaya.com" using port
"7778":
### Steps to Reproduce ###
The Connections Tab, Application Server details are as follows :-
Type Tab :-
Connection Type :- Oracle Application Server 10g 10.1.3
Authentication Tab :-
UserName :- oc4jadmin
Password :- bpel123
Connection Tab :-
Connect to :- Single Instance
Host Name :- 172.16.100.85
OPMN Port :- 6004
OC4J Instance Name :- oc4j_soa
The Test was successful.
The Integration Server details are as follows :-
Connection Tab :-
App. Server :- Same thing created earlier.
Host Name :- 172.16.100.85
Port Number :- 7778
The Test Connection was successful.
After the above steps, went to Application Navigator Tab and tried to Deploy a BPEL Process.
While deploying this BPEL Process through JDeveloper 10.1.3.2 it says :-
BUILD FAILED
D:\Development_mywork\MemoApplication\Memo\MemoProcess\build.xml:79: A problem occured while connecting to server "boomidevp.alshaya.com" using port
"7778":
Alshaya eGroup Business Solutions Team
www.alshaya.comDisable your proxy settings in JDeveloper.
Marc -
Deployment of a BPEL Process usng ANT with new version
Hi Experts,
How to deploy a bpel process using ANT command into weblogic server with a newer version when already a bpel process is existing there in weblogic server with 1.0 version.
how to create a new jar file with a newer version. your help is highly appreciated
Regards,
CHIn the project's build.properties file you can define you version of the composite.
For Example: See below sample build.properties
projects=TestProject
TestProject.revision=1.1
TestProject.enabled=true
TestProject.partition=default
This will deploy version 1.1 on the server.
Thanks,
Ashu -
Error while deploying a BPEL process
Hi All,
When I try to deploy a BPEL process, I am getting the following error:
BUILD FAILED
C:\jdevstudio10133\jdev\mywork\batch_app\batch_proj\build.xml:79: A problem occured while connecting to server "localhost" using port "8888": ORABPEL-02052
Cannot lookup BPEL domain.
The BPEL domain "default" cannot be found; the domain may not have initialized properly.
Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.
at com.collaxa.cube.engine.CubeEngineHolder.getStatus(CubeEngineHolder.java:41)
at com.collaxa.cube.engine.CubeEngineHolder.getEngine(CubeEngineHolder.java:52)
at com.collaxa.cube.engine.CubeContextManager.initialize(CubeContextManager.java:29)
at com.collaxa.cube.engine.CubeContextManager.create(CubeContextManager.java:57)
at com.collaxa.cube.ejb.impl.BaseCubeSessionBean.createContext(BaseCubeSessionBean.java:83)
at com.collaxa.cube.ejb.impl.FinderBean.lookupDomain(FinderBean.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:43)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at FinderBean_RemoteProxy_4bin6i8.lookupDomain(Unknown Source)
at com.oracle.bpel.client.Locator.lookupDomain(Locator.java:228)
at _deployHttpClientProcess._jspService(_deployHttpClientProcess.java:335)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)"
Please helpis your soa suite up and running ?
-
Error While Deploying the BPEL Process using obant script
Hi All,
I am getting the following error while deploying the BPEL Process using obant script. we are using the BPEL Version 10.1.2.0.2.Any information in this regard will be really helpful.
Buildfile: build.xml
main:
[bpelc] file:/home5102/dibyap/saravana/Test/CreditRatingService.wsdl
[bpelc] validating "/home5102/dibyap/saravana/Test/CreditRatingService.bpel" ...
BUILD FAILED
/home5102/dibyap/saravana/Test/build.xml:15: ORABPEL-01002
Domain directory not found.
The process cannot be deployed to domain "default" because the domain directory "/opt02/app/ESIT/oracle/esit10gR2iAS/BPEL10gR2/iAS/integration/orabpel/domains/default/deploy" cannot be found or cannot b
e written to.
Please check your -deploy option value; "default" must refer to a domain that has been installed locally on your machine.
Total time: 23 seconds
dibyap@ios5102_ESIBT:/home5102/dibyap/saravana/Test>
Thanks,
SaravanaIn 10.1.2.0.2 you need to create your own build.xml
I have found an example, it may be of some help. This does call a property file
cheers
James
<?xml version="1.0" ?>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Run cxant on this file to build, package and deploy the
ASB_EFT BPEL process
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<project name="ASB_EFT" default="main" basedir=".">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Name of the domain the generated BPEL suitcase will be deployed to
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<property name="deploy" value="default" />
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What version number should be used to tag the generated BPEL archive?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<property name="rev" value="1.0" />
<!-- BPEL Best Practices Properties -->
<!-- Defaults Properties for TARGET environments
# CHANGE THIS FILE TO REFLECT THE TARGET ENVIRONEMNT
# either dev, test, or prod.properties
-->
<property file="ebusd.properties"/>
<property name="env" value="${env.name}"/>
<property name="current.project.name" value="${project.name}"/>
<property name="target.project.name" value="${project.name}_${env}"/>
<property name="deployment.profile" value ="${env}.properties"/>
<property name="source.development.directory" location="${basedir}"/>
<property name="target.env.directory" location="${basedir}/deploy/${project.name}_${env}"/>
<property file="${deployment.profile}"/>
<property name="build.fileencoding" value="UTF-8"/>
<!-- Prints Environment
-->
<target name="print.env" description="Display environment settings">
<echo message="Base Directory: ${basedir}"/>
<echo message="Deployment Profile: ${deployment.profile}"/>
<echo message="target.env.directory: ${target.env.directory}"/>
<echo message="Deploy to Domain: ${deployToDomain}"/>
<echo/>
<echo message="os.name: ${os.name}"/>
<echo message="os.version: ${os.version}"/>
<echo message="os.arch: ${os.arch}"/>
<echo/>
<echo message="java.home: ${java.home}"/>
<echo message="java.vm.name: ${java.vm.name}"/>
<echo message="java.vm.vendor: ${java.vm.vendor}"/>
<echo message="java.vm.version: ${java.vm.version}"/>
<echo message="java.class.path: ${java.class.path}"/>
<echo/>
<echo message="env: ${env}"/>
<echo message="current.project.name: ${current.project.name}"/>
<echo message="target.project.name: ${target.project.name}"/>
<echo message="server.name: ${server.name}"/>
</target>
<!--
Copies the current directory structure along with
all the file into the target.env.directory and
change the name of the project
-->
<target name="create.environment">
<copy todir="${target.env.directory}">
<fileset dir="${basedir}"/>
<filterset begintoken="@" endtoken="@">
<filtersfile file="${deployment.profile}"/>
</filterset>
</copy>
<move file="${target.env.directory}/${current.project.name}.jpr" tofile="${target.env.directory}/${target.project.name}.jpr"/>
</target>
<target name="main">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the bpelc task compiles and package BPEL processes into versioned BPEL
archives (bpel_...jar). See the "Programming BPEL" guide for more
information on the options of this task.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<bpelc input="${basedir}/bpel.xml" rev="${rev}" deploy="${deploy}" />
</target>
</project>
here is a property file
project.name=ASB_EFT
env.name=ebusd
deployToDomain=default
server.name=[server]
server.port=7788
ebusd\:7788=http://[server]:7788/
IntegrationMailAccount=OracleBPELTest
IntegrationMailAddress=[email]
IntegrationMailPassword=[password]
archivedir=[directory]
inbounddir=/[directory]
errordir=[directory]
outbounddir=[directory]
bpelpw=bpel
dbhost1=[dbserver]
dbhost2=[dbserver]
dbport=1523
dbservice=bpel
dbconnstr=jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=[server])(PORT=1523))(ADDRESS=(PROTOCOL=tcp)(HOST=[server])(PORT=1523)))(CONNECT_DATA=(SERVICE_NAME=ebusd))) -
Error while deploying the BPEL process
Hi All,
I’m getting the following error while deploying the BPEL process.
“Error:
[Error ORABPEL-10903]: failed to read wsdl
[Description]: in "bpel.xml", Error loading schemas from wsdl.
Error while loading schemas from wsdl file at location "http://ios0501e.idc.ikon.org:7720/vertex-ws/calculate-tax-wsdl.jsp?WSDL". The reason is .
Please verify the schemas defined in wsdl.
[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).
Kindly let me know if you have any pointers on the above.
Thanks in Advance.
Regards
SravanaCheck you proxy settings. Disable them in your deployment tool / JDeveloper
-
Error in deploying my BPEL process
I am getting the following error while I tried to deploy my BPEL process:
Error:
[Error ORABPEL-10902]: compilation failed
[Description]: in "bpel.xml", XML parsing failed because "undefined part element.
In WSDL at "file:/D:/projects/MyBPEL/bpel/MySvc-v1.wsdl", message part element "{http://www.company.com/wsdl/MySvc-v1.0}GeneralFault" is not defined in any of the schemas.
Please make sure the spelling of the element QName is correct and the WSDL import is complete.
[Potential fix]: n/a.
I do not understand the error. 'GeneralFault' is defined in MySvc-v1.wsdl and not in a separate xsd.
Here is a portion of MySvc-v1.wsdl:
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions name="MySvc-v1.wsdl"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://www.company.com/wsdl/MySvc-v1"
xmlns:v1_0="http://www.company.com/wsdl/MySvc-v1.0"
xmlns:base="http://www.company.com/xsd/Base"
targetNamespace="http://www.company.com/wsdl/MySvc-v1">
<wsdl:types>
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.company.com/wsdl/MySvc-v1.0">
<xsd:import schemaLocation="../xsd/Base.xsd" namespace="http://www.company.com/xsd/Base" />
<xsd:element name="MyRq">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="base:ID" />
<xsd:element ref="base:SSN" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="MyRs">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="base:Result" />
<xsd:element name="Timestamp" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GeneralFault" type="xsd:string" />
</xsd:schema>
</wsdl:types>
<wsdl:message name="MyRequest">
<wsdl:part name="In" element="v1_0:MyRq" />
</wsdl:message>
<wsdl:message name="MyResponse">
<wsdl:part name="Out" element="v1_0:MyRs" />
</wsdl:message>
<wsdl:message name="fault">
<wsdl:part name="fault" element="v1_0:GeneralFault" />
</wsdl:message>
Thanks,
AJSo does anyone know why I m getting the following error when the definition of "GeneralFault" is in the .wsdl file? According to the error messge, it sounds like I have to define it in a .xsd file.
Error ORABPEL-10902: compilation failed
Description: in "bpel.xml", XML parsing failed because "undefined part element.
In WSDL at "file:/D:/projects/MyBPEL/bpel/MySvc-v1.wsdl", message part element "{http://www.company.com/wsdl/MySvc-v1.0}GeneralFault" is not defined in any of the schemas.
Please make sure the spelling of the element QName is correct and the WSDL import is complete
AJ -
Problem with Ant Script while deploying a BPEL Process
Hi all,
Im making use of Ant script to Deploy a BPEL process ...the bpel process simply invokes the credit rating service and returns the credit rating..credit rating service and the whole BPEL
process are deployed in the default domain...now i made a new domain and making using of Ant scripts to deploy it to this Domain in the same local server ...i followed the steps
from this blog http://blogs.oracle.com/rammenon/2007/07/deploying_bpel_process_to_mult.html now my problem is even though i mention a different Domain Name in
ant- orabpel_dev.properties its always getting deployed to Default domain........can anyone Plzzz help me.
Edited by: 0racler on Aug 15, 2009 12:09 PMin build.properties of the project -
uncomment (remove the #) and change to the new domain
# Change below if deploying in domain other than "default"
#domain = default
when you run deployProcess target - you should see which domain is used - based on the above variable.
cheers -
Error when invoking BPEL process from Java client
Hi,
I am trying to invoke the SyncHelloWorld BPEL process through a simple java application. When I run the application, I get the following error:
java.rmi.RemoteException: ; nested exception is:
ORABPEL-02052
Cannot lookup BPEL domain.
The BPEL domain "default" cannot be found; the domain may not have initialized properly.
Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.
at com.oracle.bpel.client.dispatch.DeliveryService.request(DeliveryService.java:95)
at com.oracle.bpel.client.dispatch.DeliveryService.request(DeliveryService.java:44)
at HelloWorld.main(HelloWorld.java:49)
Caused by: ORABPEL-02052
Cannot lookup BPEL domain.
The BPEL domain "default" cannot be found; the domain may not have initialized properly.
Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.
at com.collaxa.cube.engine.CubeEngineHolder.getStatus(CubeEngineHolder.java:41)
at com.collaxa.cube.engine.CubeEngineHolder.getEngine(CubeEngineHolder.java:52)
at com.collaxa.cube.engine.CubeContextManager.create(CubeContextManager.java:61)
at com.collaxa.cube.engine.dispatch.DispatchHelper.scheduleRemote(DispatchHelper.java:191)
at com.oracle.bpel.client.dispatch.BaseDispatcherService.initialRequestAnyType(BaseDispatcherService.java:762)
at com.oracle.bpel.client.dispatch.BaseDispatcherService.initialRequest(BaseDispatcherService.java:340)
at com.oracle.bpel.client.dispatch.BaseDispatcherService.request(BaseDispatcherService.java:241)
at com.oracle.bpel.client.dispatch.DispatcherService.request(DispatcherService.java:66)
at com.oracle.bpel.client.dispatch.DeliveryService.request(DeliveryService.java:80)
... 2 more
However, when I start the PM, I get a message saying OraBPEL "default" BPEL domain loaded. The code for the Java client is as follows (the error occurs when calling deliveryService.request(...)):
Properties props = new java.util.Properties();
props.setProperty("orabpel.platform","oc4j_10g");
props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
props.setProperty("java.naming.provider.url","ormi://localhost/orabpel");
props.setProperty("java.naming.security.principal","admin");
props.setProperty("java.naming.security.credentials","welcome");
props.setProperty("dedicated.rmicontext", "true");
Locator locator = new Locator("default","bpel",null,props);
String input = "someInput";
String xml = "<input xmlns=\"http://tutorial.oracle.com\">"
+ input + "</input>";
IDeliveryService deliveryService =
(IDeliveryService)locator.lookupService
(IDeliveryService.SERVICE_NAME );
// construct the normalized message and send to oracle bpel processmanager
NormalizedMessage nm = new NormalizedMessage( );
nm.addPart("payload", xml );
NormalizedMessage res =
deliveryService.request("SyncHelloWorld", "process", nm);
Map payload = res.getPayload();
System.out.println(payload.get("payload") );
Any ideas would be greatly appreciated
Thanks
HermanCould you please run obversion.bat and let us know what version of the engine you are running? If timezone allows and you have the availability, I would like to try to broker a quick 15-minute web conference with a member of our dev team to look at this problem and provide a more detailed answer. What is your time difference with San Francisco (PST)?
Edwin -
Error while deployiong bpel process plz help
i am geting an error while deployiong bpel process plz help
BUILD FAILED
E:\jdevstudio10132\jdev\mywork\Application4\vinayread\build.xml:79: A problem occured while connecting to server "chdsez116553d" using port "8888": bpel_vinayread_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
Error while loading process.
The process domain encountered the following errors while loading the process "vinayread" (revision "1.0"): BPEL validation failed.
BPEL source validation failed, the errors are:
[Error ORABPEL-10902]: compilation failed
[Description]: in "bpel.xml", XML parsing failed because "undefined part element.
In WSDL at "file:/D:/product/10.1.3.1/OracleAS_8/bpel/domains/default/tmp/.bpel_vinayread_1.0_679323b0585449e9fd1887e6ee2bf444.tmp/vinayred.wsdl", message part element "{http://TargetNamespace.com/vinayred}Root-Element" is not defined in any of the schemas.
Please make sure the spelling of the element QName is correct and the WSDL import is complete.
[Potential fix]: n/a.
If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:862)
at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:728)
at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Total time: 1 second
plz give sme solutions<?xml version="1.0" encoding="UTF-8"?>
<definitions name="vinayread"
targetNamespace="http://xmlns.oracle.com/vinayread"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:client="http://xmlns.oracle.com/vinayread"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TYPE DEFINITION - List of services participating in this BPEL process
The default output of the BPEL designer uses strings as input and
output to the BPEL Process. But you can define or import any XML
Schema type and use them as part of the message types.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xmlns.oracle.com/vinayread" schemaLocation="vinayread.xsd" />
</schema>
</types>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MESSAGE TYPE DEFINITION - Definition of the message types used as
part of the port type defintions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<message name="vinayreadRequestMessage">
<part name="payload" element="client:vinayreadProcessRequest"/>
</message>
<message name="vinayreadResponseMessage">
<part name="payload" element="client:vinayreadProcessResponse"/>
</message>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PORT TYPE DEFINITION - A port type groups a set of operations into
a logical service unit.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- portType implemented by the vinayread BPEL process -->
<portType name="vinayread">
<operation name="process">
<input message="client:vinayreadRequestMessage" />
<output message="client:vinayreadResponseMessage"/>
</operation>
</portType>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PARTNER LINK TYPE DEFINITION
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<plnk:partnerLinkType name="vinayread">
<plnk:role name="vinayreadProvider">
<plnk:portType name="client:vinayread"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>
how to check the
which xsd contains
"{http://TargetNamespace.com/vinayred}Root-Element"????
how to check this plz tell me -
Invoking BPEL Process through pl/sql is failing
Hi all,
I am trying to invoke BPEL process through PL/SQL and its throwing following error.
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns="http://xmlns.oracle.com/pcbpel/adapter/file/ReadFile/"><faultcode xmlns="">null:Read_ptt</faultcode><faultstring xmlns="">Cannot figure out operation name. Bad SOAPAction or wsa:Action.</faultstring><faultactor xmlns="">initiate</faultactor></env:Fault></env:Body></env:Envelope>
Following is code I am using to invoke BPEL PROCESS
declare
soap_request varchar2(30000);
soap_respond varchar2(30000);
http_req utl_http.req;
http_resp utl_http.resp;
begin
soap_request:='<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/ReadFile/">
--<ns1:Read_plt><ns1:input>leeg</ns1:input></ns1:Read_plt>
</soap:Body>
</soap:Envelope>';
http_req:= sys.utl_http.begin_request('http://localhost/orabpel/default/BPELProcess1/v2007_12_03__65618','POST','HTTP/1.1' );
sys.utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
sys.utl_http.set_header(http_req, 'Content-Length', length(soap_request)) ;
sys.utl_http.set_header(http_req, 'SOAPAction', 'initiate');
sys.utl_http.write_text(http_req, soap_request) ;
http_resp:= sys.utl_http.get_response(http_req) ;
sys.utl_http.read_text(http_resp, soap_respond) ;
sys.utl_http.end_response(http_resp) ;
dbms_output.put_line(soap_respond);
end;
Any help would be appriciated.
Thanks,
VipulHi,
Switching on or off a bpel is an admin job.
u can stop an application but not one bpel.
I doubt if there is any way to do it programatically.
Let us get other opinons
Regards
Maybe you are looking for
-
Help! Muse 2014.3 keeps crashing when I attempt to save my .muse file
I have the latest version of Muse [2014.3] Since the update the application repeatedly crashes at the least 'provocation'. I'm building a multipage website for a client and brought the last file home [I'd been working on it at my office]. One or two
-
I recently got someone to purchase a mac mini from an authorized apple store 6 months ago. and on apples site they say that it cfomes with 512mb of RAM.ive talked to apple about this and they wont help me....yet my computer says its only got 256 of R
-
Hi, I have a requirement in which i am supposed to have 2 seperate FM's in event R402 (TR: FQEVENTS). There is one FM already configured in Installation specific FM. I need to add one more FM into this ? Can this be done ? Regards, Imran
-
Pacman won't work - How do I configure Internet?
Hello, I think my problem is pretty easy. I followed every step in the Installation Guide for Beginners, but I just don't get how I need to set up Internet access. I want to install the full image, there isn't anything to be installed by FTP. But it'
-
How to keep two mobile in syncronization ... btwee...
Is that possible by using mobile's software and bluetooth ? Couldn't find. Tried mobile's sync.program, but needed to know each databases path and names if correctly understood. Any idea ?? (calendar, adressbook, notebook, contacts group, sms, bookma