UpdateMetaData.xml build failed
Hi,
I tried to execute UpdateMetaData.xml to upload ProcessReceivedPaymentCCVProvABCSImpl.wsdl in MDS. but script build failed. it gives following exception
the exception given on below link
http://pastebin.com/VaGkAEis
I included wsdl in UpdateMetaDP.xml
The structure of file is as below :
<?xml version="1.0" standalone="yes"?>
<DeploymentPlan component="Metadata" version="3.0">
<Configurations>
<UpdateMetadata wlserver="fp" >
<fileset dir="${AIA_INSTANCE}/AIAMetaData">
<include name="config/AIAConfigurationProperties.xml" />
</fileset>
</UpdateMetadata>
<UpdateMetadata wlserver="fp" >
<fileset dir="${AIA_HOME}/AIAMetaData">
<include name="AIAComponent/ApplicationConnectorServiceLibrary/AIADemo/V1/ProviderABCS/ProcessReceivedPaymentCCVProvABCSImpl.wsdl" />
</fileset>
</UpdateMetadata>
</Configurations>
</DeploymentPlan>
Thanks & Regards,
Deepali.
Thanks For Reply,
I re run the ~/AIAHOME/aiainstance/AIAINST/bin/aiaenv.cmd and excecute UpdateMetaData.xml again it solve my error.
Thanks,
Deepali.
Similar Messages
-
Asant build: BUILD FAILED
Hi All,
I'm trying the helloservice example from the J2EE Tutorial. When I build it with asant build, I have the message bellow:
generate-wsdl:
prepare:
[echo] Creating the required directories....
set-wscompile:
run-wscompile:
[echo] Running wscompile:
[echo] /bin/wscompile.bat -define -mapping build/mapping.xml -d build -nd build -classpath build config-interface.xml
BUILD FAILED
file:D/Javaj2sdk/j2eetutorial14/examples/jaxrpc/common/targets.xml:64: Execute failed: java.io.IOException: CreateProcess: \bin\wscompile.bat -define -mapping build/mapping.xml -d build -nd build -classpath build config-interface.xml error=3
Can someone please help me?
Thank you..:)Hello Every One actually i got error when i m giving asant build..................
please give me a solution
Buildfile: build.xml
j2ee-home-test:
BUILD FAILED
F:\j2eetutorial14\examples\common\targets.xml:10: The j2ee.home property is not
properly set in <INSTALL>/j2eetutorial14/examples/common/build.properties.
Set the j2ee.home property to the location of your Application Server installati
on.
On Windows, you must escape any backslashes in the j2ee.home property with anoth
er backslash or use forward slashes as a path separator. So, if your Application
Server installation is C:\Sun\AppServer, you must set j2ee.home as follows:
j2ee.home = F:\\Sun\\AppServer
or
j2ee.home=F:/Sun/AppServer
j2ee.home is currently set to:
Total time: 2 seconds -
I am having trouble in JDeveloper 11.1.1.2.0 with Make on a simple composite project that is designed to invoke NotificationServices. An attempt to build the project fails with a classNotFoundException in the ant build (the log outputs are below).
I have tried adding other libraries (e.g. Commons Logging 1.0.4 and Commons Digester 1.7) on the project classpath, but that just leads to other classNotFoundExceptions - and I do not believe this is the right approach.
Is there some setting or step I am missing?
------------------------------- SOA Log -------------------------------
Buildfile: C:\Oracle\Middleware11_1_1_2_0\jdeveloper\bin\ant-sca-compile.xml
scac:
[scac] Validating composite : 'H:\JDeveloper\phase1\Notification_Application\Notifications\composite.xml'
BUILD FAILED
C:\Oracle\Middleware11_1_1_2_0\jdeveloper\bin\ant-sca-compile.xml:264: Java returned: 1 Check log file : H:\JDeveloper\phase1\Notification_Application\Notifications\SCA-INF\classes\scac.log for errors
Total time: 1 second
------------------------------- scac.log -------------------------------
java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
Caused by: java.lang.ClassNotFoundException: oracle.xml.parser.v2.XMLParseException
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: oracle.soa.scac.ValidateComposite. Program will exit.
Exception in thread "main"
The following libraries are on the project classpath -
SOA Designtime
SOA Runtime
BPEL Runtime
Mediator Runtime
MDS Runtime
Edited by: user3653687 on Mar 9, 2011 4:30 PMAs mentioned earlier, I have tried adding several jars (with each iteration trying another...) without resolving the issue.
If I put all libraries on the path, it compiles - but throwing the kitchen sink at it doesn't seem like the right approach.
This leads me to believe that JDeveloper does not seem to provide the correct set in the template for a SOA project.
Do you know the list of jars/libraries that are required to develop a simple composite that invokes the EMail NotificationService?
Here's the log from adding the Oracle XML Parser v2 library:
Mar 9, 2011 5:06:04 PM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: commonj/sdo/helper/HelperContext
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:205)
at org.apache.commons.digester.Rule.begin(Rule.java:152)
at org.apache.commons.digester.Digester.startElement(Digester.java:1286)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1591)
at oracle.fabric.composite.Parser.parseComposite(Parser.java:128)
at oracle.soa.scac.ValidateComposite.loadComposite(ValidateComposite.java:804)
at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:533)
at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:223)
Caused by: java.lang.ClassNotFoundException: commonj.sdo.helper.HelperContext
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307) -
BUILD FAILED java.lang.Error: unable to load schema-for-schema for W3C XML
I am new to JAXB, I am trying to run the sample applciations on Win 98,
I have set up the environment values as per the UserGuide specs.
I am getting the following error:
BUILD FAILED java.lang.Error: unable to load schema-for-schema for W3C XML Schema at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema (XMLSchemaReader.java:190)
Could someone please suggest a solution.
Thank you.Hi
I am using Windows 2000 and I am repeatedly getting the same error too (See below). Would appreciate any help ..
parsing a schema...
org.iso_relax.verifier.VerifierConfigurationException
at com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:104)
at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:186)
at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.Driver.run(Driver.java:268)
at com.sun.tools.xjc.Driver.main(Driver.java:88)
at sample1.Binder.main(Binder.java:18)
StackTrace of Original Exception:
java.lang.NullPointerException
at com.sun.msv.datatype.xsd.TypeIncubator.addFacet(TypeIncubator.java:64)
at com.sun.msv.reader.datatype.xsd.XSDatatypeExp$1.addFacet(XSDatatypeExp.java:87)
at com.sun.msv.reader.datatype.xsd.FacetState.startSelf(FacetState.java:56)
at com.sun.msv.reader.State.init(State.java:154)
at com.sun.msv.reader.GrammarReader.pushState(GrammarReader.java:579)
at com.sun.msv.reader.datatype.xsd.TypeState.startElement(TypeState.java:101)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:874)
at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:591)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at com.sun.msv.reader.GrammarReader._parse(GrammarReader.java:459)
at com.sun.msv.reader.GrammarReader.switchSource(GrammarReader.java:434)
at com.sun.msv.reader.GrammarReader.switchSource(GrammarReader.java:407)
at com.sun.msv.reader.xmlschema.XMLSchemaReader.switchSource(XMLSchemaReader.java:683)
at com.sun.msv.reader.xmlschema.ImportState.startSelf(ImportState.java:41)
at com.sun.msv.reader.State.init(State.java:154)
at com.sun.msv.reader.GrammarReader.pushState(GrammarReader.java:579)
at com.sun.msv.reader.SimpleState.startElement(SimpleState.java:72)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:877)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:569)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:759)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at com.sun.msv.reader.GrammarReader._parse(GrammarReader.java:459)
at com.sun.msv.reader.GrammarReader.parse(GrammarReader.java:449)
at com.sun.msv.reader.xmlschema.XMLSchemaReader.parse(XMLSchemaReader.java:89)
at com.sun.msv.verifier.jarv.XSFactoryImpl.parse(XSFactoryImpl.java:26)
at com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:95)
at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:186)
at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.Driver.run(Driver.java:268)
at com.sun.tools.xjc.Driver.main(Driver.java:88)
at sample1.Binder.main(Binder.java:18)
java.lang.Error: unable to load schema-for-schema for W3C XML Schema
at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:190)
at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.Driver.run(Driver.java:268)
at com.sun.tools.xjc.Driver.main(Driver.java:88)
at sample1.Binder.main(Binder.java:18)
Exception in thread "main"
-Thanks
Guna -
Build failed due to - org/apache/xml/dtm/ObjectFactory$ConfigurationError
Hi,
Webcenter spaces deployment fails with the following error:
BUILD FAILED
weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 7 failed: [Deployer:149026]redeploy application webcenter on WLS_Spaces.
Target state: redeploy failed on Server WLS_Spaces
java.lang.NoClassDefFoundError: org/apache/xml/dtm/ObjectFactory$ConfigurationError
I am using JDev 11.1.1.3.0 with webcenter extension. Does any other extension is required to rectify this ?
Thanks & Regards.I'v placed the xsltc.jar into the location specified C:\Oracle\Middleware\jdeveloper\ant\lib
But still it is not working and I am getting this error , don't know why. I am using Jdeveloper 11g 11.1.1.3.0.
I am trying to build the extend webcenter spaces sample from Oracle.com website
The stack trace is like ....
BUILD FAILED
weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 58 failed: [Deployer:149026]redeploy application webcenter on WLS_Spaces.
Target state: redeploy failed on Server WLS_Spaces
java.lang.NoClassDefFoundError: org/apache/xml/dtm/ObjectFactory$ConfigurationError
at weblogic.Deployer.run(Deployer.java:72)
at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.Main.start(Main.java:179)
at org.apache.tools.ant.Main.main(Main.java:268)
Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 58 failed: [Deployer:149026]redeploy application webcenter on WLS_Spaces.
Target state: redeploy failed on Server WLS_Spaces
java.lang.NoClassDefFoundError: org/apache/xml/dtm/ObjectFactory$ConfigurationError
at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:542)
at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.Deployer.run(Deployer.java:70)
... 23 more
Total time: 25 seconds -
Creative Cloud Packager - Build fail
Hi,
I am trying to build a package with CC 1.7 build 43 but receive the error 'Build fail'. I have pasted the log below. I have tried both x86 and x64 but it doesn't make a difference. I also tried building it without Illustrator but then received the same error with with Acrobat Pro.
The only adobe productso on my workstation is Reader and Flash, running Win7. Any ideas how i can fix this?
10/28/2014 09:41:28[INFO] AdobePackageBuilder - Build Version - 1.7.0.43
10/28/2014 09:41:28[INFO] AdobePackageBuilder - Logging Level verbosity Set to 4
10/28/2014 09:41:58 [INFO] AdobePackageBuilder - Successfully retrieved TargetName from OptionXML.
10/28/2014 09:42:15 [INFO] AdobePackageBuilder - Sucessfully extracted the product at C:\Users\brettm\AppData\Local\Temp\{EE9A7B5D-B687-482F-906D-3BC2C4C17DAA}\ACCCx2_8_1_451
10/28/2014 09:42:15 [INFO] AdobePackageBuilder - Extraction completed with return code = 0
10/28/2014 09:42:51 [WARN] AdobePackageBuilder - No file exist at (C:\CC\QLS_Digital\x86\QLS_Digital_x86\Build\ASU\Tools\CCC\Uninstall\deploy\remove.xml)
10/28/2014 09:42:55 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
10/28/2014 09:42:55 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
10/28/2014 09:42:55 [INFO] AdobePackageBuilder - Copied File (payloads\Setup.xml)
10/28/2014 09:42:55 [INFO] AdobePackageBuilder - ASU at Path (C:\CC\QLS_Digital\x86\QLS_Digital_x86\Build\Setup\APRO11.0.0en_GB\Set-up.exe) is not found. Skipping copying and renaming.
10/28/2014 09:44:23 [INFO] AdobePackageBuilder - Copied Setup file/folder (packages)
10/28/2014 09:44:27 [INFO] AdobePackageBuilder - Copied Setup file/folder (resources)
10/28/2014 09:44:27 [INFO] AdobePackageBuilder - Copied File (Set-up.exe)
10/28/2014 09:44:28 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
10/28/2014 09:44:28 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
10/28/2014 09:44:28 [INFO] AdobePackageBuilder - Copied File (payloads\Setup.xml)
10/28/2014 09:45:08 [INFO] AdobePackageBuilder - Copied Setup file/folder (packages)
10/28/2014 09:45:11 [INFO] AdobePackageBuilder - Copied Setup file/folder (resources)
10/28/2014 09:45:11 [INFO] AdobePackageBuilder - Copied File (Set-up.exe)
10/28/2014 09:45:12 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
10/28/2014 09:45:12 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
10/28/2014 09:45:12 [INFO] AdobePackageBuilder - Copied File (payloads\setup.xml)
10/28/2014 09:46:09 [ERROR] AdobePackageBuilder - Failed to unzip the file (payloads\AdobeIllustrator18-mul-300914132703\Assets1_1.zip) from the zip file (C:\Users\brettm\AppData\Local\Adobe\AAMUpdater\1.0\Install\AdobeIllustrator18-mul\18.1.0 .430.2\setup.zip).
10/28/2014 09:46:09 [ERROR] AdobePackageBuilder - Failed to unzip the update - C:\Users\brettm\AppData\Local\Adobe\AAMUpdater\1.0\Install\AdobeIllustrator18-mul\18.1.0. 430.2\setup.zip.
Regards,
Brett.If I recall correctly I got around this by deleting everything under the C:\Users\brettm\AppData\Local\Adobe\AAMUpdater\1.0\Install directory and whitelisted the following address in our proxy server. Then I started all over again and it worked. It always failed towards the end of the build so I can only assume it was doing some final checks with Adobe servers to make sure I had the proper licencing or something like that. Hope this helps.
ccmdl.adobe.com:80
swupmf.adobe.com:80
swupdl.adobe.com:80
https://na1mbls.licenses.adobe.com
https://ims-na1.adobelogin.com
https://adobeid-na1.services.adobe.com
https://na1r.services.adobe.com
http://activate.adobe.com
https://activate.adobe.com
http://adobe.activate.com
https://adobe.activate.com
ccmdls.adobe.com:443
ims-na1.adobelogin.com:443
na1r.services.adobe.com:443
prod-rel-ffc-ccm.oobesaas.adobe.com:443
lm.licenses.adobe.com:443
www-du1.adobe.com
Regards,
Brett. -
When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
As I understand it seems that there is a problem with the classpath of ant build.xml that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
I found this in Oracle, but not helps solve the problem:
BEA-398120
Error: The WSDL for the typed transport endpoint could not be accessed.
Description
There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
Action
Contact technical support
This is the the full stacktrace that shows eclipse.
Generate : Error during generation of the WSDL:
BUILD FAILED
java.lang.NoClassDefFoundError: com/sun/javadoc/Type
at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 27 more
Total time: 0 seconds
Eclipse Installation details:
*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20110909-1335
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
{home}/Development/oepe-indigo/eclipse
-name
Eclipse
--launcher.library
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
-startup
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata
1e418010
-vm
/usr/bin/java
eclipse.home.location=file:{home}/Development/oepe-indigo/
eclipse.launcher={home}/Development/oepe-indigo/eclipse
eclipse.launcher.name=Eclipse
[email protected]/../p2/
eclipse.p2.profile=PlatformProfile
eclipse.product=org.eclipse.platform.ide
eclipse.startTime=1374623921455
eclipse.vm=/usr/bin/java
eclipse.vmargs=-Xms256m
-Xmx768m
-XX:MaxPermSize=512m
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
-Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
-Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
-Dosgi.bundlefile.limit=750
-Dosgi.nl=en_US
-Dmiddleware.home={home}/Oracle/Middleware
-jar
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
equinox.use.ds=true
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
guice.disable.misplaced.annotation.check=true
harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
http.nonProxyHosts=localhost
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
java.class.version=50.0
java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/lib/jvm/jdk1.6.0_45/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_45-b06
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_45
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=20.45-b01
javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
line.separator=
middleware.home={home}/Oracle/Middleware
oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
org.eclipse.update.reconcile=false
org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
org.osgi.framework.language=en
org.osgi.framework.os.name=Linux
org.osgi.framework.os.version=3.8.0
org.osgi.framework.processor=x86-64
org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.6.0
org.osgi.supports.framework.extension=true
org.osgi.supports.framework.fragment=true
org.osgi.supports.framework.requirebundle=true
os.arch=amd64
os.name=Linux
os.version=3.8.0-26-generic
osb.home={home}/Oracle/Middleware/Oracle_OSB1
osgi.arch=x86_64
osgi.bundlefile.limit=750
osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
osgi.framework.shape=jar
osgi.framework.version=3.7.1.R37x_v20110808-1106
osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
osgi.install.area=file:{home}/Development/oepe-indigo/
osgi.instance.area=file:{home}/workspace/pragma/
osgi.instance.area.default=file:{home}/workspace/
osgi.logfile={home}/workspace/pragma/.metadata/.log
osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.nl.user=en_US
osgi.os=linux
osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath={home}/Development/oepe-indigo/plugins
osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
osgi.ws=gtk
path.separator=:
securerandom.source=file:/dev/./urandom
socksNonProxyHost=localhost
sun.arch.data.model=64
sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeLittle
sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=UTF-8
sun.lang.ClassLoader.allowArraySyntax=true
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=unknown
svnkit.http.methods=Basic
svnkit.library.gnome-keyring.enabled=false
user.country=AR
user.dir={home}/Development/oepe-indigo
user.home={home}
user.language=es
user.name={username}
user.timezone=America/Argentina/Buenos_Aires
weblogic.home={home}/Oracle/Middleware/wlserver_10.3
Thanks!!run this one in command prompt and then convert the applet using converter tool
JC_HOME = C:\java_card_kit-2_2_2\bin\
set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
6:0x07:0x08 1.0
or
go to following directory and run the converter tool in command prompt
step 1: cd C:\java_card_kit-2_2_2\bin\
then run this command under the above directory
step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
For more doubts mail me....
*[removed by moderator]*
Thanks and Regards
NareshPalle
Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever. -
I use BPM standalone 10g and BPM studio 10g.
I copy the AntTasks folder to F:
Then, I change the BPMHOME of all files.
Then, I ran the ant.
However, the ant is fail.
Error mesage:
F:\AntTasks\build.xml: 268: The file or path you specified (..\..\basic) is invalid relative to F:\AntTasks
or The command line shows error:
Build failed
F:\AntTasks\build.xml:268: Cannot resolve path F:\AntTasks\..\..\basic
The build file is like that
<property name="bpm.projects.dir" value="${basedir}/../../basic" />
<property name="fuego.basedir" value="D:\BPM_HOME" />
How to change the path?
Then, I copy the above folder to D:\BPM_HOME\samples
I rerun the ant script.
set ANT_ARGS=-lib D:\BPM_HOME\lib;D:\BPM_HOME\ext
ant -Denv=EDV deploy-bpm-project
But the build is failed again. The error message as as follow:
D:\BPM_HOME\samples\interop\AntTasks\build.xml:249: Properties file does not exist! D:\BPM_HOME\samples\interop\AntTasks\config\EDV\directory.xml
However, I do not delete files.Now, I use the original AntTasks sample and run the scripts. I stop the BPM application.
I follow each step of the readme.txt. But during the first step, it shows error of illegal arguments.
New engin can be created. But it cannot be run through ant. And I cannot deploy the BPM project.
I try in the second method.
I have a Default Eirectory Configuration named default. If I just want to deploy .exp file to default, how to modify the script files?
I just run the script of deployment. The build is still failed.
I cannot find xsi in all xml file in that folder
D:\BPM_HOME\samples\interop\AntTasks_defaultEngine>set ANT_ARGS=-lib
D:\BPM_HOME\lib;D:\BPM_HOME_standalone\ext
D:\BPM_HOME\samples\interop\AntTasks_defaultEngine>ant deploy-bpm-pro
ject
Buildfile: build.xml
[input] No environment specified. Please enter environment id:(DEV,PROD,UAT,
config)
DEV
prompt-project-name:
[echo] bpm.projects.dir = ../../basic
[input] Please enter project name:(ExpenseManagement,HROnboarding)
HROnboarding
deploy-bpm-project:
[input] Enter Organizational Unit for deployment (may be empty):
ou
[input] Force new major version?(y,n)
y
[unzip] Expanding: D:\BPM_HOME_standalone\samples\basic\HROnboarding.exp int
o D:\BPM_HOME_standalone\samples\basic
[echo] Publishing and deploying HROnboarding project on DEV environment ...
[fuego:session] fuego base dir [\BPM_HOME]
[fuego:session] CREATE_CONNECTOR 正在创建连接器 [fuego:SQL]
[fuego:publish] text = nostore
[fuego:publish] text = nostore
[fuego:publish] [Error] :3:69: <Line 3, Column 69>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :8:33: <Line 8, Column 33>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :10:34: <Line 10, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :12:40: <Line 12, Column 40>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :14:42: <Line 14, Column 42>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :16:32: <Line 16, Column 32>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :18:34: <Line 18, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :20:37: <Line 20, Column 37>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :22:50: <Line 22, Column 50>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :30:39: <Line 30, Column 39>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :32:35: <Line 32, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :38:38: <Line 38, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :42:43: <Line 42, Column 43>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :44:33: <Line 44, Column 33>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :46:38: <Line 46, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :48:35: <Line 48, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :3:69: <Line 3, Column 69>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :8:33: <Line 8, Column 33>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :10:34: <Line 10, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :12:40: <Line 12, Column 40>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :14:42: <Line 14, Column 42>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :16:32: <Line 16, Column 32>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :18:34: <Line 18, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :20:37: <Line 20, Column 37>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :22:50: <Line 22, Column 50>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :30:39: <Line 30, Column 39>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :32:35: <Line 32, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :38:38: <Line 38, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :42:43: <Line 42, Column 43>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :44:33: <Line 44, Column 33>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :46:38: <Line 46, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :48:35: <Line 48, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
BUILD FAILED
D:\BPM_HOME\samples\interop\AntTasks_defaultEngine\build.xml:261: jav
a.lang.IllegalArgumentException -
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 -
EjbModule Build failed ...
Hello all,
I am new to CAF developing, and I am experiencing this problem: When I create new CAF DC and when I add only one entity service (only adding no other customization) a try to build this occurs through building:
0.3.2006 18:37:30 /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: test3/ejbmodule: Build failed for sk.globesy/test3/ejbmodule(MyComponents) in variant "default": JDO enhancer failed because of internal Error.
Build log -
Development Component Build (2006-03-30 18:37:28)
Component name: test3/ejbmodule
Component vendor: sk.globesy
SC compartment: MyComponents
Configuration: LocalDevelopment
Location: local
Source code location: koskarm@gn10
DC root folder: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\DCs\sk.globesy\test3\ejbmodule\_comp\
DC type: J2EE
DC subtype: EJBModule
Host: gn10
DC Model check:
[dcmake] All used DCs are available locally
[dcmake] validating dependency to build plugin "sap.com/tc/bi/bp/ejbmodule"
[dcmake] validating dependency to public part "default" of DC "sap.com/ejb20"
[dcmake] validating dependency to public part "default" of DC "sap.com/jdbc20"
[dcmake] validating dependency to public part "default" of DC "sap.com/jms"
[dcmake] validating dependency to public part "default" of DC "sap.com/tc/ddic/metamodel/content"
[dcmake] validating dependency to public part "CAFRuntimeAPI" of DC "sap.com/caf/runtime/impl"
[dcmake] validating dependency to public part "default" of DC "sap.com/bi/mmr/core"
[dcmake] validating dependency to public part "compilation" of DC "sap.com/caf/metamodel"
[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.security.api.sda"
[dcmake] validating dependency to public part "default" of DC "sap.com/tc/logging"
[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.exception"
[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.jdo"
[dcmake] validating dependency to public part "compilation" of DC "sap.com/bi/mmr/cwm_1.0_source"
[dcmake] validating dependency to public part "jmi" of DC "sap.com/bi/mmr/jmi"
[dcmake] validating dependency to public part "ClientApi" of DC "sap.com/caf/km.proxyjava"
[dcmake] validating dependency to public part "default" of DC "sap.com/bi/mmr/db"
[dcmake] validating dependency to public part "ClientAPI" of DC "sap.com/caf/runtime/security"
[dcmake] validating dependency to public part "ClientAPI" of DC "sap.com/caf/core/services"
[dcmake] validating dependency to used DC "sap.com/caf/runtime/connectivity/base"
[dcmake] validating dependency to used DC "sap.com/caf/runtime/connectivity"
[dcmake] validating dependency to used DC "sap.com/applocking"
[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.engine.client.lib"
[dcmake] validating dependency to public part "default" of DC "sap.com/kernel.sda"
[dcmake] DC model check OK
Start build plugin:
[dcmake] using build plugin: sap.com/tc/bi/bp/ejbmodule
[dcmake] starting build plugin from : C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.tc.ap\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\
Build Plugin 'EJB Module Plugin', Version 6.40 SP 15 (630_VAL_REL, built on 2005-11-25 00:23:07 CET)
development component: test3/ejbmodule (sk.globesy)
type: J2EE, subtype: EJBModule
software component: MyComponents (sap.com)
location: local
source location: koskarm@gn10
build variant: default
plugin start time: 2006-03-30 18:37:28 GMT+01:00 (CEST)
Java VM: Java HotSpot(TM) Client VM, 1.5.0_01-b08 (Sun Microsystems Inc.)
General options:
convert *.xlf to *.properties: yes
include sources for debugging: yes
Reading BuildInfrastructure extension from DC tc/bi/javatech (sap.com)
Reading BuildInfrastructure extension from DC tc/bi/util (sap.com)
Added technology 'sap.com/tc/bi/core'
Added technology 'sap.com/tc/bi/javatech'
Plugin initialized in 0.031 seconds
Preparing data context..
No 'default' JDK defined, will use running VM.
Data context prepared in 0.015 seconds
Executing macro file..
Using macro file: C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.tc.ap\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\macros\build.vm
Creating output file: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\DCs\sk.globesy\test3\ejbmodule\_comp\gen\default\logs\build.xml
Macro file executed in 0.047 seconds
Starting Ant..
Using build file: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\DCs\sk.globesy\test3\ejbmodule\_comp\gen\default\logs\build.xml
Using build target: build
Generation folder: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\t\EE76BAB34EE55D9582B939C3638F656A
Ant build started at 2006-03-30 18:37:28 GMT+01:00 (CEST)
Using Ant version 1.5.4
prepare:
compile:
[javac] Compiling 7 source files to C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\t\EE76BAB34EE55D9582B939C3638F656A\classes
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[timer] Java compiler finished in 1.547 seconds
[echo] Calling JDOEnhance task
[jdo.enhance] Using classfile: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\t\EE76BAB34EE55D9582B939C3638F656A\classes/globesy\sk\test3\besrv\testa\TestA.class
[jdo.enhance] Using metadata : C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\DCs\sk.globesy\test3\ejbmodule\_comp\/ejbModule/globesy\sk\test3\besrv\testa\TestA.jdo
[jdo.enhance] Using dst : C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\t\EE76BAB34EE55D9582B939C3638F656A\classes
Error while enhancing: JDO ENHANCER: At least one error occurred while enhancing input class for Transparent Persistence; detailed message(s): I/O error while reading input stream or input stream does not denote a valid Java class.
com.sap.jdo.enhancer.EnhancerUserException: JDO ENHANCER: At least one error occurred while enhancing input class for Transparent Persistence; detailed message(s): I/O error while reading input stream or input stream does not denote a valid Java class.
at com.sap.jdo.enhancer.filter.Enhancer.enhanceClassFile(Enhancer.java:238)
at com.sap.jdo.enhancer.Main.enhanceClassFile(Main.java:516)
at com.sap.jdo.enhancer.Main.enhanceInputFiles(Main.java:474)
at com.sap.jdo.enhancer.Main.process(Main.java:139)
at com.sap.jdo.anttasks.JDOEnhance.run(JDOEnhance.java:99)
at com.sap.jdo.anttasks.JDOEnhance.execute(JDOEnhance.java:82)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)
at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:217)
at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:193)
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.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:345)
at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:175)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5548)
at com.sap.caf.designer.actions.DcBuildAction.buildDCsForDevConfig(DcBuildAction.java:768)
at com.sap.caf.designer.actions.DcBuildAction.access$300(DcBuildAction.java:84)
at com.sap.caf.designer.actions.DcBuildAction$1.run(DcBuildAction.java:500)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
aborted with errors.
Ant build finished with ERRORS
file:C:/Documents and Settings/koskarm/.dtc/LocalDevelopment/DCs/sk.globesy/test3/ejbmodule/_comp/gen/default/logs/build.xml:308: JDO enhancer failed because of internal Error.
Ant build finished at 2006-03-30 18:37:30 GMT+01:00 (CEST), Duration: 1.75 seconds
Build finished with ERROR
Cleaning up.
Total build plug-in runtime: 2.109 seconds
My coleague have installed fresh installation of NWDS SPS15 and the same example on his installation work fine. All building proccesses are successfully executed. I tried it several times, everytime same result. I tried to use fresh workspace, tried to delete whole content in ./dtc.
I compared every file with coleague installation. But no success. I am running out of ideas what should I do with it.
If anyone was facing similar problem or have any idea. I will be glad to read it.
Thanks
Best regards Miroslav KoskarHi,
I have similar error:
Can anybody help me?
Regards.
[jdo.enhance] WARNING: Caused by: com.sap.jdo.enhancer.util.UserException: The byte code of the class file has version 1.6. This is not supported by the JDO enhancer. Please compile with the option -target 1.5.
[jdo.enhance] WARNING: at com.sap.jdo.enhancer.classfile.ClassFile.assertSupportedVersion(ClassFile.java:101)
[jdo.enhance] WARNING: at com.sap.jdo.enhancer.classfile.ClassFile.<init>(ClassFile.java:364)
[jdo.enhance] WARNING: at com.sap.jdo.enhancer.filter.Enhancer.enhanceClassFile1(Enhancer.java:144)
[jdo.enhance] WARNING: at com.sap.jdo.enhancer.filter.Enhancer.enhanceClassFile(Enhancer.java:192)
[jdo.enhance] WARNING: ... 45 more
[jdo.enhance] aborted with errors.
Ant runtime 1.07 seconds
Ant build finished with ERRORS
JDO enhancer failed because of unknown Error: 1
Build stopped due to an error: JDO enhancer failed because of unknown Error: 1
Build plugin finished at 2013-03-14 12:59:22 GMT+01:00 (CET)
Total build plugin runtime: 1.34 seconds
Build finished with ERROR -
Import of XML file failed in portal using XML Content and Action
Hi Friends,
I am trying to import the simple XML file which is just creating the folder in the PORTAL_CONTENT using XML CONTENT AND ACTIONS which is one way of creating the portal content. GO TO SYSTEM ADMINISTRATION > TRANSPORT > XML CONTENT AND ACTIONS > IMPORT.
The reason for using this import tool is to upload the backend Business roles, which is not not working on our corporate portal. To test the import functionality I used the following xml file (I got this XML file by exporting the test folder in the portal using the same tool)
<GenericCreator author="XML Creator" version="XML Automatic Creation" mode="clean,execute" report.level="success" createMode="1" default.locale="en" ignore="false">
<Context name="portal_content" objectClass="com.sap.portal.pcd.gl.GlContext"></Context> <Property name="parent1" value="pcd:portal_content"/>
<Context name="com.dri.fldr.im" objectClass="com.sap.portal.pcd.gl.GlContext" create_as="0" parent="$">
<Attributes>
<Attribute name="com.sap.portal.pcm.Description" type="text">
<AttributeValue value="" locale=""/>
<Attribute name="administration" type="string">
<AttributeValue value=""/>
</Attribute>
<Attribute name="Inheritance" type="string">
<AttributeValue value="NONFINAL"/>
</Attribute>
</Attribute>
<Attribute name="com.sap.portal.pcm.Title" type="text">
<AttributeValue value="test" locale=""/>
<AttributeValue value="test" locale="en"/>
<Attribute name="administration" type="string">
<AttributeValue value=""/>
</Attribute>
<Attribute name="mandatory" type="string">
<AttributeValue value="true"/>
</Attribute>
<Attribute name="Inheritance" type="string">
<AttributeValue value="NONFINAL"/>
</Attribute>
</Attribute>
</Attributes>
</Context>
</GenericCreator>
SDN BLOCKED THE XML The above XML file works fine in other portal in the landscape but not in corporate portal ( which is freshly build recently).Following error message is display when i am trying to upload the file
Status Name Action Type Comment
General Extracting root node E:\usr\sap\EPD\JC00\j2ee\cluster\server0\%USERPROFILE%\AppData\Local\Temp\tmp_masscontent4135391959047431276.xml Failed to extract root node
General Extracting root node E:\usr\sap\EPD\JC00\j2ee\cluster\server0\%USERPROFILE%\AppData\Local\Temp\tmp_masscontent4135391959047431276.xml Parsing failed .
Dont know is there a service/ configurations needs to be done to enable this feature?.
Thanks
Edited by: hammad on Sep 4, 2009 5:48 PM
Edited by: hammad on Sep 4, 2009 5:49 PMThe problem statement is not very clear.
Try following this how to guide [https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/207a2141-c870-2910-e080-90c920b24f47&overridelayout=true|How-To]
Best Regards,
Prasanna K -
Error in Installing AIA FP 11gR1 - Linux - Build Failed - UrgentHelp
Hi All.,
Actually we are in process of setting up AIA FP 11gR1 (AIA 3.0) FMW environment in OEL 4 (Linux) platform.
Everytime while installing the AIA FP we are facing the following errors during final stage of configurations setup of FP.
PFB the error in Install Log File:
[wlst]
[wlst] Overriding the ListenPort or ListenAddress is not supported.
[wlst] WLST will use the ListenPort and ListenAddress that are configured on the ServerMBean
[wlst]
[wlst] Server 'soa_server1' has already been started
Starting server soa_server1 ....
BUILD FAILED
/PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAInstallDriver.xml:146: The following error occurred while executing this line:
/PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAExecuteDriver.xml:102: The following error occurred while executing this line:
/PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAExecuteDriver.xml:58: The following error occurred while executing this line:
/PROJECTS/app/oracle/AIAFP/aia_instances/AIAFP/tmp/AIDExecuteDP_temp_1331540314.xml:114: The following error occurred while executing this line:
/PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/lib/AIDConfigurationLibraryTasks.xml:464: Traceback (innermost last):
File "/PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/lib/py/ManagedServer.py", line 25, in ?
File "<iostream>", line 1280, in start
File "<iostream>", line 1744, in raiseWLSTException
WLSTException: Error occured while performing start : Error starting the server : Error occured while performing start : Server with name soa_server1 failed to be started
Use dumpStack() to view the full stacktrace
Total time: 59 minutes 5 seconds
<Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
<Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
<Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
<Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
<Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
<Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
Deployment Command Return Value Configuration: 1
progress in calculate progress20
progress in calculate progress20
Pointers on this could help us a lot .
Thanks in advance.
Regards,
RamnathHi All,
We are getting the following exception in installation of AIA FP 11gR1 on Linux installation during the final stage Configuration setup of AIA.
The exact error is as follows :
[wlst] Overriding the ListenPort or ListenAddress is not supported.
[wlst] WLST will use the ListenPort and ListenAddress that are configured on the ServerMBean
[wlst]
[wlst] Server 'soa_server1' has already been started
Starting server soa_server1 ....
BUILD FAILED
/PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAInstallDriver.xml:146: The following error occurred while executing this line:
/PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAExecuteDriver.xml:102: The following error occurred while executing this line:
/PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAExecuteDriver.xml:58: The following error occurred while executing this line:
/PROJECTS/app/oracle/AIAFP/aia_instances/AIAFP/tmp/AIDExecuteDP_temp_1995177724.xml:114: The following error occurred while executing this line:
/PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/lib/AIDConfigurationLibraryTasks.xml:464: Traceback (innermost last):
File "/PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/lib/py/ManagedServer.py", line 25, in ?
File "<iostream>", line 1280, in start
File "<iostream>", line 1744, in raiseWLSTException
WLSTException: Error occured while performing start : Error starting the server : Error occured while performing start : Server with name soa_server1 failed to be started
Use dumpStack() to view the full stacktrace
Pointers in this would help us a lot..
Regards,
Ramnath -
XML parsing failed : Try to update FCRM field
i created one field in fusion crm ,lead . and i have one table in my oracle EBS database i write one procedure which get data from table and pur into fcrm
when i call procedure with static value it perfactly alright but ,when try to use xml parsing for all records give following error
ORA-20001: An error was encountered - -31011 -ERRORORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00245: extra data after end of document
Error at line 1
ORA-06512: at "SCOTT.XX_LEAD_UPDATE", line 101
ORA-06512: at line 1
my procedure as follow :
CREATE OR REPLACE PROCEDURE xx_lead_update
--(p_leadid IN VARCHAR2,p_xx_kp_lead IN VARCHAR2)
IS
p_leadid VARCHAR2(50);
p_xx_kp_lead VARCHAR2(50);
CURSOR c1 IS
SELECT FCRM_LEADID,XX_KP_LEAD
FROM XX_KP_EBSLEAD
WHERE ID = 6;
-- Construct xml payload, which is used to invoke the service.
l_envelope VARCHAR2(32767) := '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/types/" xmlns:lead="http://xmlns.oracle.com/oracle/apps/marketing/leadMgmt/leads/leadService/" xmlns:lead1="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/" xmlns:not="http://xmlns.oracle.com/apps/crmCommon/notes/noteService" xmlns:not1="http://xmlns.oracle.com/apps/crmCommon/notes/flex/noteDff/">
<soapenv:Header/>
<soapenv:Body>
<typ:updateSalesLead>
<typ:salesLead>
<lead:LeadId>'||p_leadid||'</lead:LeadId>
<lead:xx_kp_lead_c>'||p_xx_kp_lead||'</lead:xx_kp_lead_c>
</typ:salesLead>
</typ:updateSalesLead>
</soapenv:Body>
</soapenv:Envelope>';
--PartyId: 300000000912340
l_result VARCHAR2(32767) := null;
l_http_request UTL_HTTP.req;
l_http_response UTL_HTTP.resp;
v_len number;
v_txt Varchar2(32767);
soap_respond CLOB;
resp xmltype;
l_str long;
v_str varchar2(100);
BEGIN
OPEN c1;
LOOP
FETCH c1 INTO p_leadid,p_xx_kp_lead;
dbms_output.put_line ('p_xx_kp_lead '||p_xx_kp_lead);
dbms_output.put_line ('p_leadid: '||p_leadid);
-- Sets the Oracle wallet used for request, required for HTTPS
UTL_HTTP.set_wallet('file:/apps/oracle/dnlclone/10.2.0/wallet','test1234');
-- Creates new HTTP request
l_http_request := UTL_HTTP.begin_request('https://aes.crm.ap2.oraclecloud.com:443/mklLeads/SalesLeadService?WSDL', 'POST','HTTP/1.1');
-- Configure the authentication details on the request
UTL_HTTP.SET_AUTHENTICATION(l_http_request, '[email protected]', 'DNLcrm*1');
-- Configure the request content type to be xml and set the content length
UTL_HTTP.set_header(l_http_request, 'Content-Type', 'text/xml');
UTL_HTTP.set_header(l_http_request, 'Content-Length', LENGTH(l_envelope));
-- Set the SOAP action to be invoked; while the call works without this the value is expected to be set based on standards
UTL_HTTP.set_header(l_http_request, 'SOAPAction','http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/');
-- Write the xml payload to the request.
UTL_HTTP.write_text(l_http_request, l_envelope);
-- Get the response
l_http_response := UTL_HTTP.get_response(l_http_request);
utl_http.get_header_by_name(l_http_response, 'Content-Length', v_len, 1); -- Obtain the length of the response
FOR i in 1..CEIL(v_len/32767) -- obtain response in 32K blocks just in case it is greater than 32K
LOOP
utl_http.read_text(l_http_response, v_txt, case when i < CEIL(v_len/32767) then 32767 else mod(v_len,32767) end);
soap_respond := soap_respond || v_txt; -- build up CLOB
END LOOP;
UTL_HTTP.END_RESPONSE(l_http_response);
resp:= xmltype.createxml(soap_respond); -- Convert CLOB to XMLTYPE
--Using extract or extractvalue methods, retrieve value from a particular element/tag in the xml
--v_str := resp.extract('/env:Envelope/env:Body/ns0:updateOpportunityResponse/ns2:result/ns3:EBSOrderNumber_c/text()','xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/types/" xmlns:ns2="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/types/" xmlns:ns3="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/"').getstringval();
l_str := resp.extract('/*').getstringval();
LOOP
EXIT
WHEN l_str IS NULL;
dbms_output.put_line (SUBSTR (l_str, 1, instr (l_str, chr(10)) - 1));
l_str := SUBSTR (l_str, instr (l_str, chr(10)) + 1);
END LOOP;
--dbms_output.put_line('EBS Order Number updated as: '||v_str);
EXIT WHEN c1%NOTFOUND;
END LOOP;
CLOSE c1;
COMMIT;
EXCEPTION
WHEN OTHERS THEN
--dbms_output.put_line('Exception');
RAISE_APPLICATION_ERROR(-20001,'An error was encountered - '
||SQLCODE||' -ERROR'||SQLERRM);
END;Hi,
Remove the exception handler (it's totally useless here) and tell us which line is really giving the error. -
Hi ,
I am facing issue while building composite in jdeveloper.It is showing below error.Please Suggest how to proceed further.
Error: XML parsing failed because ""
Buildfile: C:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml
scac:
[scac] Validating composite "C:\MR96\BPEL Services\MOOA_businesservices\AddComponent\composite.xml"
[scac] Setting BPELC option 'classpath' to C:\Oracle\Middleware\modules\com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar;C:\Oracle\Middleware\modules\org.eclipse.persistence_1.1.0.0_2-1.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_2-0-0.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xml.jar;C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;;C:\MR96\BPEL Services\MOOA_businesservices\AddComponent\SCA-INF\classes
[scac] java.lang.NullPointerException
[scac] at com.collaxa.cube.lang.compiler.map.bpel.BPELProcess.lookupInitiationInfo(BPELProcess.java:1010)
[scac] at com.collaxa.cube.lang.compiler.map.bpel.BPELProcess.addOnMessage(BPELProcess.java:903)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseOnMessage(BpelParser.java:1597)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.startElement(BpelParser.java:587)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:492)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:499)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parse(BpelParser.java:455)
[scac] at com.collaxa.cube.lang.compiler.bpel.BpelParser.parse(BpelParser.java:402)
[scac] at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:65)
[scac] at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
[scac] at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
[scac] at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
[scac] at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
[scac] at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1051)
[scac] at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:502)
[scac] at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:481)
[scac] at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:206)
[scac] at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:187)
[scac] at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:179)
[scac] AddComponentProcess.bpel: error: XML parsing failed because ""
BUILD FAILED
C:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml:278: Java returned: 1 Check log file : C:\MR96\BPEL Services\MOOA_businesservices\AddComponent\SCA-INF\classes\scac.log for errors
Total time: 1 minute 27 seconds
ThanksHi,
Please give a try to this:(Take back up before doing this)
1. Download PATCH 11066656 .
2. Go to your JDEV_HOME/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/
and make a backup copy of orabpel.jar.
3. Copy the file orabpel.jar from patch 11066656 to JDEV_HOME/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/.
4. Restart JDeveloper.
5. Now the project should compile without the SCAC error.
This was fixed in 11.7 but since you are getting SCAC so asked the above action plan.
If it did not resolves see below steps:
=============================================================
File will be there but a class is missing which might cause this.
If you have same soa version 11.1.1.7.0 can you check that fabricruntime.jar from soa home and jdev home size is same?
In soa home it will be under Oracle_SOA/soa/modules directory.
If size is not same replace jdev fabricruntime.jar from soa home.
Also can you confirm on:
Please let me know whether you are able to deploy from EM or getting same error during deployment also? or from ant script. -
BUILD FAILED: problem with junit
Hi, I'm taking the CDJ-310A - Developing Applications for the J2EE Platform course and have run into a problem when issuing a call to asant. When I run asant test the message it gives is "Ant could not find the task or a class this task relies upon.".The errors I get refer to the junit package.
I've check the CLASSPATH and it seams ok:
D:\labs\FJ310\bankproject>javap junit.framework.TestCase
Compiled from "TestCase.java"
public abstract class junit.framework.TestCase extends junit.framework.Assert im
plements junit.framework.Test{
public junit.framework.TestCase();
public junit.framework.TestCase(java.lang.String);
public int countTestCases();
protected junit.framework.TestResult createResult();
public junit.framework.TestResult run();
public void run(junit.framework.TestResult);
public void runBare() throws java.lang.Throwable;
protected void runTest() throws java.lang.Throwable;
protected void setUp() throws java.lang.Exception;
protected void tearDown() throws java.lang.Exception;
public java.lang.String toString();
public java.lang.String getName();
public void setName(java.lang.String);
D:\labs\FJ310\bankproject>javap junit.textui.TestRunner
Compiled from "TestRunner.java"
public class junit.textui.TestRunner extends junit.runner.BaseTestRunner{
public static final int SUCCESS_EXIT;
public static final int FAILURE_EXIT;
public static final int EXCEPTION_EXIT;
public junit.textui.TestRunner();
public junit.textui.TestRunner(java.io.PrintStream);
public junit.textui.TestRunner(junit.textui.ResultPrinter);
public static void run(java.lang.Class);
public static junit.framework.TestResult run(junit.framework.Test);
public static void runAndWait(junit.framework.Test);
public void testFailed(int, junit.framework.Test, java.lang.Throwable);
public void testStarted(java.lang.String);
public void testEnded(java.lang.String);
protected junit.framework.TestResult createTestResult();
public junit.framework.TestResult doRun(junit.framework.Test);
public junit.framework.TestResult doRun(junit.framework.Test, boolean);
protected void pause(boolean);
public static void main(java.lang.String[]);
public junit.framework.TestResult start(java.lang.String[]) throws jav
a.lang.Exception;
protected junit.framework.TestResult runSingleMethod(java.lang.String, java.
lang.String, boolean) throws java.lang.Exception;
protected void runFailed(java.lang.String);
public void setPrinter(junit.textui.ResultPrinter);
But still these errors still are produced:
D:\labs\FJ310\bankproject>asant clean
Buildfile: build.xml
clean:
[delete] Deleting directory D:\labs\FJ310\bankproject\build
[delete] Deleting directory D:\labs\FJ310\bankproject\jar
BUILD SUCCESSFUL
Total time: 0 seconds
D:\labs\FJ310\bankproject>asant
Buildfile: build.xml
prepare:
[mkdir] Created dir: D:\labs\FJ310\bankproject\build
[mkdir] Created dir: D:\labs\FJ310\bankproject\jar
compile:
[javac] Compiling 6 source files to D:\labs\FJ310\bankproject\build
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:9: package junit
.framework does not exist
[javac] import junit.framework.*;
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:11: cannot find
symbol
[javac] symbol: class TestCase
[javac] public class BankMgrTest extends TestCase {
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:15: cannot find
symbol
[javac] symbol : class Test
[javac] location: class bank.BankMgrTest
[javac] public static Test suite() {
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:16: cannot find
symbol
[javac] symbol : class TestSuite
[javac] location: class bank.BankMgrTest
[javac] return new TestSuite(BankMgrTest.class);
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:20: package juni
t.textui does not exist
[javac] junit.textui.TestRunner.run(suite());
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:39: cannot find
symbol
[javac] symbol : method assertEquals(java.lang.String,java.lang.String)
[javac] location: class bank.BankMgrTest
[javac] assertEquals("Fred", data.getFirstname());
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:40: cannot find
symbol
[javac] symbol : method assertEquals(java.lang.String,java.lang.String)
[javac] location: class bank.BankMgrTest
[javac] assertEquals("Flintstone", data.getLastname());
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 7 errors
BUILD FAILED
D:\labs\FJ310\bankproject\build.xml:14: Compile failed; see the compiler error o
utput for details.
Total time: 4 seconds
Any help solving these errors would be highly appreciated. I'm stuck right now. Thanks!i have this problem too. and i added in CLASSPATH the path for junit.jar file. but still does not work
my build.xml file :
<project name="bankproject" default="deploy" basedir=".">
<property environment="env"/>
<property name="src.dir" value="${basedir}/src"/>
<property name="build.dir" value="${basedir}/build"/>
<property name="jar.dir" value="${basedir}/jar"/>
<target name="prepare">
<mkdir dir="${build.dir}"/>
<mkdir dir="${jar.dir}"/>
</target>
<target name="compile" depends="prepare" >
<javac destdir="${build.dir}">
<src path="${src.dir}"/>
</javac>
</target>
<target name="package-bankmgr" depends="compile">
<delete file="${jar.dir}/BankEJBModule.jar"/>
<copy file="dd/bank-ejb-jar.xml" tofile="${build.dir}/ejb-jar.xml" overwrite="true"/>
<copy file="dd/bank-sun-ejb-jar.xml" tofile="${build.dir}/sun-ejb-jar.xml" overwrite="true"/>
<jar jarfile="${jar.dir}/BankEJBModule.jar">
<metainf dir="${build.dir}" includes="ejb-jar.xml,sun-ejb-jar.xml" />
<fileset dir="${build.dir}">
<include name="bank/**" />
<exclude name="bank/BankMgrTest.class" />
<exclude name="bank/CustomerTest.class" />
</fileset>
</jar>
</target>
<target name="package-ejbs" depends="package-bankmgr" />
<target name="package-client" depends="compile">
<delete file="${jar.dir}/ClientModule.jar"/>
<copy file="dd/bank-application-client.xml" tofile="${build.dir}/application-client.xml" overwrite="true"/>
<copy file="dd/bank-sun-application-client.xml" tofile="${build.dir}/sun-application-client.xml" overwrite="true"/>
<jar jarfile="${jar.dir}/ClientModule.jar">
<manifest>
<attribute name="Main-Class" value="bank.MessageClient" />
</manifest>
<metainf dir="${build.dir}" includes="application-client.xml,sun-application-client.xml" />
<fileset dir="${build.dir}">
<include name="bank/MessageClient.class" />
</fileset>
</jar>
</target>
<target name="assemble-app" depends="package-ejbs,package-client">
<delete file="${jar.dir}/BankApplication.ear"/>
<copy file="dd/bank-application.xml" tofile="${build.dir}/application.xml" overwrite="true"/>
<ear destfile="${jar.dir}/BankApplication.ear" appxml="${build.dir}/application.xml">
<fileset dir="${jar.dir}">
<include name="BankEJBModule.jar"/>
<include name="ClientModule.jar"/>
</fileset>
</ear>
</target>
<property name="j2ee.home" value="${env.J2EE_HOME}" />
<property name="admin.user" value="admin" />
<property name="admin.pass" value="password" />
<property name="appname" value="BankApplication"/>
<property name="ear.file" value="${jar.dir}/${appname}.ear" />
<target name="setAsadmin" >
<condition property="asadmin" value="asadmin.bat">
<os family="windows"/>
</condition>
<condition property="asadmin" value="asadmin">
<not>
<os family="windows"/>
</not>
</condition>
</target>
<target name="deploy" depends="assemble-app,setAsadmin">
<echo message="Deploying ${ear.file}."/>
<exec dir="." executable="${j2ee.home}/bin/${asadmin}">
<arg line=" deploy"/>
<arg line=" --user ${admin.user}"/>
<arg line=" --password ${admin.pass}"/>
<arg line=" --force=true"/>
<arg line=" --name ${appname}"/>
<arg line=" --retrieve=." />
<arg line=" ${ear.file}"/>
</exec>
</target>
<target name="get-stubs" depends="setAsadmin">
<echo message="Retrieving stubs JAR file for ${appname}."/>
<exec dir="." executable="${j2ee.home}/bin/${asadmin}">
<arg line=" get-client-stubs"/>
<arg line=" --user ${admin.user}"/>
<arg line=" --password ${admin.pass}"/>
<arg line=" --appname ${appname}"/>
<arg line=" ."/>
</exec>
</target>
<target name="undeploy" depends="setAsadmin">
<echo message="Undeploying ${appname}."/>
<exec dir="." executable="${j2ee.home}/bin/${asadmin}">
<arg line=" undeploy"/>
<arg line=" --user ${admin.user}"/>
<arg line=" --password ${admin.pass}"/>
<arg line=" ${appname}"/>
</exec>
</target>
<target name="test">
<junit printsummary="on" haltonfailure="no" filtertrace="off">
<classpath>
<pathelement location="${build.dir}"/>
<pathelement path="${java.class.path}"/>
<pathelement path="BankApplicationClient.jar" />
</classpath>
<formatter type="plain" usefile="no"/>
<test name="bank.BankMgrTest"/>
</junit>
</target>
<target name="clean">
<delete dir="${build.dir}" />
<delete dir="${jar.dir} "/>
</target>
</project>
Maybe you are looking for
-
Dear All, I have the following scenario: I make an Import PO for import Procurement with account assignment " Asset " in the PO.Under Indian Scenarios, the following duties are applicable while Imports CVDs with Its Ecess and HECess, Additional Custo
-
A better SQL to avoid Index growth
Our developer passed this code along to us as we are getting some performance and behaviour in our 9.2.0.7 DB. When this process run, our 4MB index grows to over 1.5 GB and we are forced to re-org it to bring it back down. BEGIN PRETERR := 'NO ERROR'
-
Smartforms dot matrix printer issue?
Dear Experts, I have developed smart form, it is going to be printed in DOT MATRIX printer, when i am trying to print in dot matrix printer it is not showing any horizontal and vertical lines , remaining data is printed perfectly. how do i resolve th
-
NI-Visa installer dont work on some windows XP
I built a installer on the vi attached, the vi has a serial input function. The additonal installers I ticked are NI LabView Run-Time Engine 8.6.1, and NI-VISA runtime 4.4. I notice that in some PCs with Windows XP, the installer runs fine. On some
-
So, what email is used?
to forward an EMAIL scan telling a LINUX user their "Skype for windows desktop" version is being retired? or has skype switched to the NO SUPPORT community model only?