Generate a SAR using Ant or Jdeveloper

Hello!
I am the sar file generation using the package.XML - sca - ant, but when compared with the pot generated with the option "deploy on sar' of the Jdeveloper IDE, they are different. The generated with Jdeveloper jar file excludes some files and also to modify the composite.xml: S

Why is this? which is the right way to generate a Sar file?

Thanks in advance
NH

Hi, NH,

You seem to do the right way... As far as I KNOW ant - sca - package.xml is the way to go...

Blog of Biemond is a good reference...
http://Biemond.blogspot.com.au/2009/09/deploy-SOA-Suite-11g-composite.html

See you soon,.
Vlad

It is considered good etiquette to the answerers rewards with points (as "useful" - 5 pts - or 'correct' - 10pts)
https://forums.Oracle.com/forums/Ann.jspa?annID=893

Tags: Fusion Middleware

Similar Questions

  • generate the ear file in jdev and deployed using Ant

    Hi all

    I have a request of the ADF and I need generate the ear file and deploy it using ant script.
    The file option ear in deployment profiles (file-> new-> deployment profiles) is disabled in my worm jdev (11.1.1.5.0).

    Any help or pointers are highly appreciated.

    Thank you
    Usha

    You get the EAR deployment descriptor only if you add it to the application level. They are out on grayes model ot see controller projects.
    Right-click on the Application and select "new-> deployment descriptor.

    Timo

  • Make changes to the source using ANT (ojdeploy) files

    Hello

    Assume that you have an application that uses a Web Service data control. The URL of the WSDL file will be hard coded in the connections.xml (indicated by DataControls.dcx). But of course, during the deployment in a different environment (from dev, in tst, in ACC, in production), this hard-coded URL will be replaced by the corresponding environmental WSDL document. My idea was to solve this problem using Ant.

    I have already created a build.xml Ant file that uses ojdeploy to build the project as an EAR file. This is the code in build.xml generated to make the deployment:
    <target name="deploy" description="Deploy JDeveloper profiles" depends="init">
       <taskdef name="ojdeploy"
                     classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask"
                     uri="oraclelib:OJDeployAntTask"
                     classpath="${oracle.jdeveloper.ant.library}"/>
       <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
                      executable="${oracle.jdeveloper.ojdeploy.path}"
                      ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
                      ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
          <ora:deploy>
             <ora:parameter name="workspace"
                                      value="${oracle.jdeveloper.workspace.path}"/>
             <ora:parameter name="project"
                                     value="${oracle.jdeveloper.project.name}"/>
             <ora:parameter name="profile"
                                      value="${oracle.jdeveloper.deploy.profile.name}"/>
             <ora:parameter name="nocompile" value="false"/>
             <ora:parameter name="outputfile"
                                      value="${oracle.jdeveloper.deploy.outputfile}"/>
          </ora:deploy>
       </ora:ojdeploy>
    </target>
    How can I edit the build.xml file to adjust the URL to the WSDL for the Web Service (for example in DataControls.dcx) before you deploy the code on an EAR file?

    For example, if the DataControls.dcx has the following entry after having created the control data:
    <definition xmlns="http://xmlns.oracle.com/adfm/adapter/webservice"
                      name="MyWebServiceDC" version="1.0"
                      provider="oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider"
                      wsdl="http://dev_server:7001/soa-infra/services/default/MyWebService/Dummy_ep?WSDL">
       <service name="Dummy_ep"
                     namespace="http://xmlns.oracle.com/MyWebServiceOutput/MyWebService/Dummy"
                     connection="MyWebServiceDC">
          <port name="execute_pt">
             <operation name="execute"/>
          </port>
       </service>
    </definition>
    Then I would be able to edit this file for:
    <definition xmlns="http://xmlns.oracle.com/adfm/adapter/webservice"
                      name="MyWebServiceDC" version="1.0"
                      provider="oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider"
                      wsdl="http://dev_server:7001/soa-infra/services/default/MyWebService/Dummy_ep?WSDL">
       <service name="Dummy_ep"
                     namespace="http://xmlns.oracle.com/MyWebServiceOutput/MyWebService/Dummy"
                     connection="@connection@">
          <port name="execute_pt">
             <operation name="execute"/>
          </port>
       </service>
    </definition>
    where @connection @ is an Ant token, which can be replaced by the Ant in the relevant environment. For example, MyWebServiceDC_dev, MyWebServiceDC_tst, MyWebServiceDC_prd etc.

    The same issue if you use a Web Service Proxy: the URL of the Web Service is hard coded into the generated Java files, so I would like to change the location of this URL using ANT instead of having to do it by hand.

    Is this possible?

    Thanks in advance!

    Chris,

    Yes, there is no real way to do this automatically. Usually, what I do is to keep a copy of the shadow of these files in a separate Directory. Any time one of the files changes, I have a copy in the shadow directory and either do one of two things:

    (1) replace all values specific to the environment with chips
    (2) create specific versions to the environment of the files with the appropriate values.

    Then, in the ANT script, you can do this:

    (a) copy the original files somewhere safe (temp directory).
    (b) copy the tokenised files or specific to the environment to the correct location
    (c) use on the tokenised file if it was your approach
    (d).
    (e) deliver the original files.

    This is a hack, but that's life.

    John

  • Compilation of the composite SOA using Ant Scripts

    Hello

    I'm trying to compile composite SOA via ant script using the following command. (Build does not work correctly when the fact using Jdeveloper)

    Ant f C:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml-Dscac.input=C:\Oracle\Test\Test\composite.xml

    The build fails with the following error message.

    18 November 2015 15:11:30 oracle.adf.share.ADFContext getCurrent

    WARNING: Initialization automatically a DefaultContext of getCurrent.

    The caller must ensure that a DefaultContext is suitable for this purpose.

    Memory leaks or unexpected behavior may occur if the automatic initialization completed successfully.

    This message can be avoided by doing initADFContext before using getCurrent().

    For more information please activate logging for oracle.adf.share.ADFContext at the level of the BEST.

    18 November 2015 15:11:31 oracle.mds

    NOTICE: Customization layer "adfshare" of component MDS mds-file config configuration. XML has been merged with the customization layers defined in the adf file persistence-config - config.xml requests.

    18 November 2015 15:11:31 oracle.mds

    NOTIFICATION: PManager instance is created without support multitenancy as indicator "oracle.multitenant.enabled" of the JVM is not set to enable multitenancy support.

    15:11:32 Oracle.MDS 18 November 2015

    NOTICE: Customization layer "adfshare" of component MDS mds-file config configuration. XML has been merged with the customization layers defined in the adf file persistence-config - config.xml requests.

    15:11:32 Oracle.MDS 18 November 2015

    NOTIFICATION: PManager instance is created without support multitenancy as indicator "oracle.multitenant.enabled" of the JVM is not set to enable multitenancy support.

    15:11:32 Oracle.MDS 18 November 2015

    NOTICE: Customization layer "adfshare" of component MDS mds-file config configuration. XML has been merged with the customization layers defined in the adf file persistence-config - config.xml requests.

    15:11:32 Oracle.MDS 18 November 2015

    NOTIFICATION: PManager instance is created without support multitenancy as indicator "oracle.multitenant.enabled" of the JVM is not set to enable multitenancy support.

    15:11:32 Oracle.MDS 18 November 2015

    NOTICE: Customization layer "adfshare" of component MDS mds-file config configuration. XML has been merged with the customization layers defined in the adf file persistence-config - config.xml requests.

    15:11:32 Oracle.MDS 18 November 2015

    NOTIFICATION: PManager instance is created without support multitenancy as indicator "oracle.multitenant.enabled" of the JVM is not set to enable multitenancy support.

    18 November 2015 info from com.collaxa.cube.CubeLogger 15:11:34

    INFO: validation of 'ApprovalProcess.bpel '...

    18 November 2015 15:11:34 oracle.integration.platform.blocks.FabricConfigManager < clinit >

    WARNING: JRF is unable to determine the current application server platform.

    18 November 2015 15:11:34 oracle.integration.platform.blocks.WLSPlatformConfigurationProvider < clinit >

    WARNING: JRF is unable to determine the current application server platform.

    oracle.fabric.common.FabricException: error getting stream input XML: oramds:/soa/shared/workflow/TaskServiceInterface.wsdl: oracle.mds.exception.MDSException: MDS-00054: the file is loaded there is no such thing as oramds:/soa/shared/workflow/TaskServiceInterface.wsdl.

    at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL (MetadataManagerImpl.java:280)

    at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:616)

    at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStream (MetadataManagerImpl.java:159)

    at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:478)

    at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:253)

    at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:332)

    at oracle.fabric.composite.model.CompositeModel.loadImports(CompositeModel.java:432)

    at oracle.fabric.composite.model.CompositeModel.getWSDLManager(CompositeModel.java:201)

    at com.collaxa.cube.lang.compiler.ComponentCompilationModel.getWSDLManager(ComponentCompilationModel.java:61)

    at com.collaxa.cube.lang.compiler.BPELComponentCompilationModel.lookupPartnerLinkType(BPELComponentCompilationModel.java:147)

    at com.collaxa.cube.lang.compiler.bpel.BpelParser.assertPartnerLink(BpelParser.java:4570)

    at com.collaxa.cube.lang.compiler.bpel.BpelParser.parsePartnerLink(BpelParser.java:1317)

    at com.collaxa.cube.lang.compiler.bpel.BpelParser.startElement(BpelParser.java:572)

    at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:491)

    at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:498)

    at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:498)

    at com.collaxa.cube.lang.compiler.bpel.BpelParser.parse(BpelParser.java:454)

    at com.collaxa.cube.lang.compiler.bpel.BpelParser.parse(BpelParser.java:401)

    at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:65)

    at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)

    at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)

    at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)

    at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)

    at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1038)

    at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:502)

    at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:481)

    at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:206)

    at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:187)

    at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:179)

    Caused by: java.io.IOException: oracle.mds.exception.MDSException: MDS-00054: the file is loaded there is no such thing as oramds:/soa/shared/workflow/TaskServiceInterface.wsdl.

    at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:459)

    at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStreamWithRetry(AbstractOraMDSURLConnection.java:292)

    at oracle.mds.internal.net.AbstractOraMDSURLConnection.getInputStream(AbstractOraMDSURLConnection.java:184)

    at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:81)

    the impossible (unknown Source)

    at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL (MetadataManagerImpl.java:276)

    ... 28 more

    Does anyone have an idea on how to compile with ant_scripts

    Thank you

    Hello 934887,

    The issue seems to be related to the validation of the scac - not being able to find the MDS repository.

    What you have in the adf-config files. XML (look at that C:\Oracle\Test\.adf\META-INF\adf-config.xml vs that of C:\Oracle\Test\Test\SCA-INF\classes\META-INF\adf-config.xml)?

    JDeveloper will use C:\Oracle\Test\.adf\META-INF\adf-config.xml, while ANT will use C:\Oracle\Test\Test\SCA-INF\classes\META-INF\adf-config.xml.

    So if the compilation runs from JDeveloper, you must verify that the adf-config. XML to C:\Oracle\Test\Test\SCA-INF\classes\META-INF exists and contains the same content that is located in C:\Oracle\Test\.adf\META-INF\adf-config.xml.

    In addition, you must set the -Dscac.application.home parameter when you compile using Ant.  Try using the following commands:

    -------------------------------------------------------------------------------------------------------------------------------------------------------------

    C:\Users\user1 > PATH=C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\bin;%PATH% value

    C:\Users\user1 > cd C:\Oracle\Middleware\jdeveloper\bin

    C:\Oracle\Middleware\jdeveloper\bin > ant f ant-sca-compile.xml-Dscac.input=C:\Oracle\Test\Test\composite.xml-Dscac.application.home=C:\Oracle\Test

    Hope that helps,
    Amy
    -----
    When closing a thread as answered don't forget to mark the messages correct and useful to make it easier for others to find.

  • Deployment using ant script is a failure

    Hey guys,.

    Having a problem when im trying to deploy my bpel process using ant scripts, was got the error below, I have not even looked at the file they specified on the server, but it was not where they said that it is. someone knows how to solve this problem. When I tried to deployment using jdeveloper, I got this error, but after I cleared the cache wsdl, this error disappeared and it worked very well, but I need to use Ant scripts to deploy and this error occurs, I tried to clear the cache wsdl as well but no luck, any help on this is REALLY appreciated

    Thank you
    Krishil


    [deployProcess] Deployment of process C:\buildroot_0\build\CashRegister\CashRegisterService\output\bpel_CashRegisterService_1.1.jar

    BUILD FAILED
    C:\buildroot_0\build.XML:92: The following error occurred during the execution of this line:
    C:\buildroot_0\build.XML:103: The following error occurred during the execution of this line:
    C:\buildroot_0\build\CashRegister\build\build-ABC.XML:14: The following error occurred during the execution of this line:
    C:\buildroot_0\build\CashRegister\CashRegisterService\build.XML:77: There was a problem connecting to the server "soadv.up.ac.za" using the port '80': bpel_CashRegisterService_1.1.jar failed to deploy. Ex
    exception message is: ORABPEL-05215
    Error loading process.
    The field of process encountered the following errors when loading the "CashRegisterService" ("1.1" review) process: BPEL validation failed.
    Source BPEL validation failed, the errors are:
    [Error ORABPEL-10000]: typelienpartenaire unresolved
    [Description]: 59 online to ' / home/oracle/product/10.1.3/OracleAS_C1/bpel/domains/default/tmp/.bpel_CashRegisterService_1.1_7fe4cbb7aa31f89de5cfc208dc3326d3.tmp/CashRegisterService.bpel ', partnerLink
    Type "{http://oracle.com/esb/namespaces/DefaultSystem} execute_pptLT" of partnerLink 'CashRegisterESBRouting' is not defined.
    [Potential fix]: ensure that typelienpartenaire ' {http://oracle.com/esb/namespaces/DefaultSystem} execute_pptLT ' is defined in the process WSDL file or the WSDL file that is referenced by the property
    ySet 'CashRegisterESBRouting' in the deployment descriptor.
    [Error ORABPEL-10007]: messageType unresolved
    [Description]: line 95 of "/ home/oracle/product/10.1.3/OracleAS_C1/bpel/domains/default/tmp/.bpel_CashRegisterService_1.1_7fe4cbb7aa31f89de5cfc208dc3326d3.tmp/CashRegisterService.bpel", WSDL messages
    eType '{http://oracle.com/esb/namespaces/DefaultSystem} DebtorInfo_request' variable 'callbackClient_execute_InputVariable' is not defined in the WSDL files.
    [Potential fix]: make sure the messageType "{http://oracle.com/esb/namespaces/DefaultSystem} DebtorInfo_request" WSDL is defined in one of the files referenced by the deployment descriptor WSDL.
    [Error ORABPEL-10000]: typelienpartenaire unresolved
    [Description]: line 743 of "/ home/oracle/product/10.1.3/OracleAS_C1/bpel/domains/default/tmp/.bpel_CashRegisterService_1.1_7fe4cbb7aa31f89de5cfc208dc3326d3.tmp/CashRegisterService.bpel", partnerLin
    kType ' {http://oracle.com/esb/namespaces/DefaultSystem} execute_pptLT "of partnerLink 'CashRegisterESBRouting' is not defined.
    [Potential fix]: ensure that typelienpartenaire ' {http://oracle.com/esb/namespaces/DefaultSystem} execute_pptLT ' is defined in the process WSDL file or the WSDL file that is referenced by the property
    ySet 'CashRegisterESBRouting' in the deployment descriptor.
    [ORABPEL-10016 error]: portType unresolved
    "[Description]: line 743 of ' / home/oracle/product/10.1.3/OracleAS_C1/bpel/domains/default/tmp/.bpel_CashRegisterService_1.1_7fe4cbb7aa31f89de5cfc208dc3326d3.tmp/CashRegisterService.bpel ', portType"
    "{http://oracle.com/esb/namespaces/DefaultSystem} execute_ppt" < call > is not defined.
    [Potential fix]: make sure the class portType ' {http://oracle.com/esb/namespaces/DefaultSystem} execute_ppt ' is defined in one of the referenced WSDL files.
    .
    .
    If you installed a hotfix on the server, verify that the ownership of the bpelcClasspath domain includes patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:286)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:925)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:791)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:448)
    at sun.reflect.GeneratedMethodAccessor96.invoke (unknown Source)
    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)
    to 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)
    to 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.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)


    Total duration: 14 seconds
    C:\buildroot_0 >

    Krish,

    I need two clarification

    1. What is the port number of your SOASuite? Manifest error that you want to deploy on port: 80 (makesure there wont be anymismatch)
    2. What is in your deploymentplan?

    When you use the "Ant" command to deploy, it will look for the build.proerties file where your port is defined. change to the right

    Thank you

    Sen

  • I/o Error: Cannot run program "C:\Program": error CreateProcess = 87 using ant

    Hi guys,.

    I'm trying to build my console application using Ant. It is a part of my build.xml

       
    
            
            
                
                
            
        
    
        
            
                
            
            
            
        
    

    When I try to "build Ant" I get this error returned:

    I/o Error: Cannot run program "C:\Program": error CreateProcess = 87, the parameter is incorrect

    referring to this line:

    
    

    I tested the names of directory and environment variables all (the variable

    ${46.jde.home}
    

    too) is set correctly, but the error is still there... How could I solve this problem?

    Thank you very much

    Sometimes, the length of the path give birth this error but I have not seen in a while. I ended up installing most of my OCD: \RIM apps to avoid path issues all together.

  • Generate class files using the WSDL url and wsimport

    I am trying to create a java application that hits the service exposed by hub.

    To create the application in java, I'm generating class files using the WSDL that is created and exposed by the hub.

    Executed steps:

    1 created an application in OPA.

    2. deployed on the hub (usinf deploy option of snapshot on Policy Modeling)

    3. in the deployment tab, I see the request and get the url of the wsdl by clicking on it.

    I try on this wsdl wsimport command. But it gives me following error messages.

    ---------------------------------------------------------------------------------------------------

    C:\***\AllFiles > wsimport http://localhost:7001/hub/determinations-Server/assess/SOAP/generic/12.2/AttemptOne?WSDL

    the analysis of WSDL...

    [ERROR] invalid WSDL http://localhost:7001/hub/determinations-Server/assess/SOAP/generic/12.2/AttemptOne?WSDL , expected {http://schemas.xmlsoap.org/wsdl/} html (line 2) data definitions

    Cannot read the WSDL document: ( http://localhost:7001/Hub/determinations-Server/assess/SOAP/Generic/12.2/AttemptOne?WSDL , because 1) did not find the document. (/ 2) the document could not be read. (3) the element the document root is not < wsdl:definitions >.

    [ERROR] WSDL:service is not found in the WSDL (s) provided:

    At least a WSDL with definition of at least one service must be provided.

    Unable to parse the WSDL file.

    ---------------------------------------------------------------------------------------------------

    If I store the wsdl file in a file on my local computer, and then run wsimport, it generates the classes very well.

    Can someone provide me with a way that I can generate the classes using the wsdl url and not the local file?

    Also, do I need to create a connection in the Connections tab on the hub?

    Thanks in advance.

    -Alain

    Looks like you could run in the user authentication when wsimport runs against the WSDL. Instead of the WSDL, its reception, the login page.

    The best way to work around this problem is perhaps what you do already - to obtain the wsdl and save them in a file.

    Another solution is to disable the restriction of connection to the Web Service API. You can do this in the menu on the users page (admin role can turn on and off.

    You can switch between a user and a password with the call of the WSDL file, but I don't know if its possible to do with wsimport

    See you soon

    Frank

  • Created screen scene generator can be used on a JSP web page?

    Hi all, friends, my question is simple: a created screen scene generator can be used on a JSP web page?

    tiny tutorial?

    Thank you

    jamiguel77 wrote:

    Hi all, friends, my question is simple: a created screen scene generator can be used on a JSP web page?

    tiny tutorial?

    Thank you

    It is a forum for General database. Not sure that many of those who work here would know JSP. Do a google search if you please.

    Aman...

  • Generator is not using the algorithms of "save for Web"?

    I use the generator for a while, but I noticed that the files are different in size and quality, so if I just saved for the web.

    It seems more like the generator uses "save under" two save files and not the "save for web" which is the standard for preparing files for the web and devices

    If anyone else has noticed that? can confirm?

    OK - generator does not use SaveForWeb, but uses instead a stand-alone library to save its image files.

  • Existing listening channel get disabled after agree importing using Ant

    Hello
    When I try to import an agreement to use the ant script in the B2B, existing channels of listening in the console are get disabled.

    Then I deleted the channels look in the console of B2B and I unzipped the file exported in the B2B console, open the file tp_MyCompany.xml at the entrance to the channel listener, set the active = 'true '. Then I re - compressed files. When I tried to import this file updated the zip using Ant, it worked perfectly.

    But even once when I tried to import the modified zip file, same problem arose i.e. channels got Listening disabled.

    Help, please...

    Thank you
    Monica

    You can also consult the section "20.8 activation or deactivation Listening channels" to -.

    http://docs.Oracle.com/CD/E23943_01/user.1111/e10229/scrpt_imp_exp_dep.htm#CEGBDIDB

    Kind regards
    Anuj

  • How to cancel the deployment of soa project using Ant instead of use em manually

    Hi guys:

    I wonder how to cancel the deployment of soa project using Ant?

    I know how to deploy cause it is Ant-sca - deploy.xml under the soa Server directory.

    Thanks and greetings
    Hilly

    Hi hilly
    When I looked at the file ant - sca - deploy.xml, I could see a defintion of task named undeployComposite. See if you can run this task something similar to using

    Ant Ant-sca - deploy.xml undeployComposite or something in that sense.





    Thank you
    Ravi Jegga

  • Deployment of BPEL to Partition custom using Ant @ 11.1.1.3

    There are SOA 11.1.1.3, concept to choose the 'Partition' in SOA server just before deployment - a default or custom created say "XYZ". How can I deploy to custom Partition created using ANT? Currently, because I did not mention anything, he'll 'default' Partition.
    Any help would be appreciated.
    Thank you.

    You can pass the property 'score' with the name of partition custom when you call the target "deploy" ant - sca - deploy.xml

    
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
    
  • Using TortoiseSVN with Jdeveloper

    Hello

    How to use TortoiseSVN with developer 10 g to the J.

    I installed Subversion1.3.2, TortoiseSVN 1.5.6, but couldn't find an online tutorial...

    Scott,

    Timo is correct because JDeveloper 10 g can not deal with in version 1.5.x SVN working copies (it can treat 1.3.x and 1.4.x) - so if you want to use JDev 10 g, you will need to get an older version of TortoiseSVN.

    JDeveloper 11 g (original version) has the same restrictions.
    JDeveloper 11 g Release 1 uses 1.5.x as the format for working copies.

    So, to summarize:

    * If you use JDeveloper 10 g, use SVN 1.3.x or 1.4.x tools if you want to work with them outside JDev. Do not touch the working copy with the 1.5.x tools.
    * If you use the original JDeveloper 10 g, use SVN 1.4.x tools if you want to work with them outside JDev. Do not touch the working copy with the 1.5.x tools.
    * If you use JDeveloper 11 g Release 1, use SVN 1.5.x tools if you want to work with them outside JDev. Earlier versions of SVN tools will not be able to cope with the working copy.

    Best,

    John

  • Project of OSB of the error using Ant Script development

    Hi all

    I encounter the error while trying to build an eclipse workspace .jar file using the following ant script.

    The project even when built in Eclipse directly, rests and a .jar file is generated.

    Kindly help me to resolve the issue.

    Error:

    ! SESSION-2014-06-16 09:23:50.085-

    eclipse.buildId = M20110909-1335

    Java.version = 1.6.0_29

    Java.Vendor Sun Microsystems Inc. =.

    BootLoader constants: OS = win32, ARCH = x 86, WS = win32, NL = en_US

    Framework arguments:-application - configProject com.bea.alsb.core.ConfigExport POC - configJarC:/Users/bradhakr/desktop/OSB CMT/Working-OSB_CMT/CommonNotificationService1.jar configSubProjects - CommonNotificationService - true includeDependencies

    Command line arguments:-dataC:/Users/bradhakr/workspace-application - configProject com.bea.alsb.core.ConfigExport POC - configJarC:/Users/bradhakr/desktop/OSB CMT/Working-OSB_CMT/CommonNotificationService1.jar configSubProjects - CommonNotificationService - true includeDependencies

    ! ENTRY org.eclipse.osgi 4 0 09:23:52.238 2014-06-16

    ! MESSAGE an error has occurred in automatically activate com.bea.alsb.core bundle (933).

    ! BATTERY 0

    org.osgi.framework.BundleException: Exception in com.bea.alsb.core.AlsbCore.start () from bundle com.bea.alsb.core.

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)

    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)

    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)

    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)

    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)

    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)

    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)

    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)

    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)

    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

    at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)

    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)

    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)

    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)

    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)

    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)

    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)

    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

    Caused by: java.lang.NoClassDefFoundError: weblogic/xml/query/compiler/Analyzer/XQueryTokenListener

    at com.bea.alsb.core.AlsbCore.preStart (unknown Source)

    at com.bea.alsb.core.AlsbCore.start (unknown Source)

    to org.eclipse.osgi.framework.internal.core.BundleContextImpl$ 1.run(BundleContextImpl.java:711)

    at java.security.AccessController.doPrivileged (Native Method)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)

    ... 34 more

    Caused by: java.lang.ClassNotFoundException: weblogic.xml.query.compiler.parser.XQueryTokenListener

    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)

    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

    ... 39 more

    First exception:

    java.lang.NoClassDefFoundError: weblogic/xml/query/compiler/Analyzer/XQueryTokenListener

    at com.bea.alsb.core.AlsbCore.preStart (unknown Source)

    at com.bea.alsb.core.AlsbCore.start (unknown Source)

    to org.eclipse.osgi.framework.internal.core.BundleContextImpl$ 1.run(BundleContextImpl.java:711)

    at java.security.AccessController.doPrivileged (Native Method)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)

    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)

    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)

    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)

    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)

    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)

    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)

    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)

    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)

    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

    at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)

    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)

    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)

    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)

    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)

    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)

    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)

    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

    Caused by: java.lang.ClassNotFoundException: weblogic.xml.query.compiler.parser.XQueryTokenListener

    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)

    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

    ... 39 more

    ! ENTRY org.eclipse.osgi 4 0 09:23:53.174 2014-06-16

    ! Application error MESSAGE

    ! BATTERY 1

    org.eclipse.core.runtime.CoreException: com.bea.alsb.core plugin failed to load class com.bea.alsb.core.internal.repositories.ConfigExportApplication.

    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)

    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)

    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)

    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)

    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)

    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

    Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$ TerminatingClassNotFoundException: an error occurred when turned on automatically com.bea.alsb.core bundle (933).

    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:122)

    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)

    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)

    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)

    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

    at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)

    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)

    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)

    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)

    ... 16 more

    Caused by: org.osgi.framework.BundleException: Exception in com.bea.alsb.core.AlsbCore.start () from bundle com.bea.alsb.core.

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)

    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)

    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)

    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)

    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)

    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)

    ... 28 more

    Caused by: java.lang.NoClassDefFoundError: weblogic/xml/query/compiler/Analyzer/XQueryTokenListener

    at com.bea.alsb.core.AlsbCore.preStart (unknown Source)

    at com.bea.alsb.core.AlsbCore.start (unknown Source)

    to org.eclipse.osgi.framework.internal.core.BundleContextImpl$ 1.run(BundleContextImpl.java:711)

    at java.security.AccessController.doPrivileged (Native Method)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)

    ... 34 more

    Caused by: java.lang.ClassNotFoundException: weblogic.xml.query.compiler.parser.XQueryTokenListener

    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)

    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)

    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

    ... 39 more

    Ant script to export Eclipse workspace:

    < target name = "exportFromWorkspace" >

    <!-remove failonerror = "false" includeemptydirs = "true" dir = "${metadata.dir}" /-->

    "< java dir="C:/Oracle/MiddlewareOSB_11118/oepe_11.1.1.8.0.

    jar="C:/Oracle/MiddlewareOSB_11118/oepe_11.1.1.8.0/plugins/org. Eclipse.Equinox.launcher_1.2.0.v20110502.jar ".

    fork = "true" failonerror = "true" maxmemory = "768 m" >

    < jvmarg line = "-XX:MaxPermSize = 256 m" / >

    < arg line = "-data C:/users/bradhakr/workspace" / >

    < arg line = "-application com.bea.alsb.core.ConfigExport"/ > "

    < arg line = "-configProject POC" / >

    < arg line = "-configJar CMT/Working-OSB_CMT/CommonNotificationService1.jar"/ C:/users/bradhakr/Desktop/OSB > "

    < arg line = "-configSubProjects CommonNotificationService" / >

    < arg line = "-includeDependencies true" / >

    < sysproperty key = "weblogic.home" value ="${weblogic.home}" / > "

    < sysproperty key = "osb.home" value ="${osb.home}" / > "

    < sysproperty key = "osgi.bundlefile.limit" value = "500" / > "

    < sysproperty key = "harvester.home" value="${osb.home}/harvester"/ > "

    < sysproperty key = "osgi.nl" value = "en_US" / > "

    < sysproperty key = "sun.lang.ClassLoader.allowArraySyntax" value = "true" / > "

    < / java >

    < / target >

    Certainly a classpath problem, but troubleshooting builds ant in OSB is a MAJOR EFFING PAIN!

    I can only show you an example of the ant target that works for me, maybe you will spot the difference: http://genericparallel.com/2014/01/out-of-memory-errors-during-the-osb-build/

    Vlad

    http://genericparallel.com

  • Problem to generate Java package PL SQL in Jdeveloper

    Hello

    I have problem to create the java class package PL SQL in JDeveloper.

    I use jdeveloper database navigator and right-click on a package and choose generate Java then in the Jpublisher window choose my controller view and accept other default values.

    I call methods in the generated class in the Action of a button in my JSP page, but when I click the button it throws null pointer exception! I Fund one of the generated method return null and it lead to this exception.

    protected DefaultContext __tx = null;

    public DefaultContext getConnectionContext() throws SQLException {}

    If (__tx == null) {}

    __tx = (getConnection () == null)? DefaultContext.getDefaultContext (): new DefaultContext (getConnection ());

    }

    Return __tx;

    };

    public connection getConnection() throws SQLException

    {

    If (__onn! = null) return __onn;

    ElseIf (__tx! = null) return __tx.getConnection ();

    ElseIf (__dataSource! = null) __onn = __dataSource.getConnection ();

    Return __onn;

    }

    I'm trying to generate the class in the model project and create DataControl to it and use the action method, but noting the change and I get null pointer again!

    JDeveloper Versino = 11.1.1.7.0

    I would like to ask you another question: why generate java packaging at all?

    Where you want to call the package?

    Back to your question: you should see the code as

    Public Sub setDataSourceLocation (String dataSourceLocation) throws SQLException {}

    javax.sql.DataSource dataSource;

    try {}

    Class cls = Class.forName ("javax.naming.InitialContext");

    Object ctx = cls.newInstance ();

    Meth java.lang.reflect.Method is CL. GetMethod ("search", new class [] {String.class});

    dataSource = (javax.sql.DataSource) meth.invoke (ctx, new Object() {"java: comp/env /" + dataSourceLocation});

    setDataSource (dataSource);

    } catch (Exception e) {}

    again throw java.sql.SQLException ("data source initialization error in" + dataSourceLocation + ":" + e.getMessage ());

    }

    }

    in the generated code. This code search a data source (that you have defined for example on the Weblogic Server) by calling the method

    setDataSourceLocaltion("jdbc/HRConnDS");

    That look to the top of the n data source stores in the class variable.

    Timo

Maybe you are looking for

  • Problems with the way in which the drop down menus work.

    By clicking on the icon of the topic / makes the drop-down menu visible for a second or two, and then either they disappear completely, or leave a ghost outline. Moving along positions, sometimes they will be displayed correctly, sometimes they appea

  • Language software and drivers

    How can I force the software and drivers for my Color LaserJet CM1015 MFP to install in English and not in the default language. I have a Portuguese (pt) windows xp and the software tries to install Portuguese (br) versions, this is not acceptable! T

  • How to change an element from a 2D array?

    I have searched the forums for something similar, but couldn't find anything. My apologies if this seems trivial, but I'm not a specialist of LabVIEW and my project includes a large number of disciplines so sometimes when I'm working on LabVIEW relat

  • When viewing my page photo will close without my guest

    What is the cause and how to fix it?  It allows me to open the page and post photos but it will close before I find a photo I want or I can rename a photo... it quickly.

  • HP 250 g3: graphics card

    I have a g3 250 hp and I wanted to know if I can change my graphics Nvidia graphics cards, intel HD 4400 Please answer quickly.