Problem in Composite deployment using SAR file

Hello All
We are facing issues during deployment of composites to a clustered environment. We created a simple HelloWorld Composite and deployed it as a SAR file. The deployment and test was successful for this composite. The WSDL and XSD of HelloWorld project is accessible over the browser.
Next we created a new Composite ( client of HelloWorld project). This second composite is just invoking the HelloWorld service. We tried to deploy the second composite SAR, but the deployment fails. We found that if we have a local WSDL as well as local XSD(*need of have local copies of both*) of the HelloWorld project; the second composite gets deployed and it executes without any error at runtime. (i.e. the HelloWorld endpoint gets invoked successfully ).
But when the second composite refers to the HelloWorld WSDL using https://host:port/..... ?wsdl (instead of local WSDL) of the HelloWorld project, it fails to deploy. We think for some reason the HelloWorld WSDL and XSD are not accessible during deployment of the SAR.
Also note that HelloWorld 'wsdl and xsd' are accessible over the browser.
We deployed these composites in a different clustered env and it gets deployed succesfully but fails in this one. Any pointers will be helpful!!
Thanks
Ruplim
Edited by: Ruplim on Nov 29, 2010 2:59 AM

The URL's and the service section:
1. Load balancer
a) URL : https://internal-xx.com/soa-infra/services/default/HelloProj/hellobpel_client_ep?wsdl
b) WSDL Service section:
<wsdl:service name="hellobpel_client_ep">
<wsdl:port name="HelloBpel_pt" binding="client:HelloBpelBinding">
<soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="https://internal-xx.com:443/soa-infra/services/default/HelloProj/hellobpel_client_ep" />
</wsdl:port>
</wsdl:service>
2. Managed Server
a) URL: http://soahost1.xx.com:8002/soa-infra/services/default/HelloProj/hellobpel_client_ep?WSDL
b) WSDL Service section:
<wsdl:service name="hellobpel_client_ep">
<wsdl:port name="HelloBpel_pt" binding="client:HelloBpelBinding">
<soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://internal-xx:8002/soa-infra/services/default/HelloProj/hellobpel_client_ep" />
</wsdl:port>
</wsdl:service>
Edited by: Ruplim on Nov 29, 2010 4:42 AM

Similar Messages

  • Error while deploying the SAR file to EM Console.... MDS-01330: Failed to l

    Hi Team,
    We configured the HUDSON Tool with BPEL Projects. When I am trying to deploy the BPEL Projects to the SOA SERVER. I am getting an error associated with MDS. We never used MDS for storing teh metaData But still we are getting an error.
    10:35:42 deploy:
    10:35:42 [input] skipping input as property serverURL has already been set.
    10:35:42 [input] skipping input as property sarLocation has already been set.
    10:35:42 [deployComposite] setting user / password ..., user = weblogic
    10:35:42 [deployComposite] Processing sar = D: \ Programs \ hudson \ jobs \ P6.1_XYZ \ workspace \ XYZ/deploy/sca_XYZ_rev1.17.jar
    10:35:42 [deployComposite] Adding sar file - D: \ Programs \ hudson \ jobs \ P6.1_XYZ \ workspace \ XYZ \ deploy \ sca_XYZ_rev1.17.jar
    10:35:42 [deployComposite] Creating HTTP connection to host: 10.246.161.147, port: 8020
    10:35:44 [deployComposite] Received HTTP response from the server, response code = 500
    10:35:44 [deployComposite] ----> response code = 500, error: Error during deployment: Error occured when creating target MDS instance.: Oracle.mds.config.MDSConfigurationException: MDS-01330: Failed to load the configuration document MDS
    10:35:44 [deployComposite] MDS-01329: Unable to load the element "persistence-config"
    10:35:44 [deployComposite] MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 [deployComposite] MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 [deployComposite] weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    10:35:44 [deployComposite]: MDS-01330: Failed to load configuration document MDS
    10:35:44 [deployComposite] MDS-01329: Unable to load the element "persistence-config"
    10:35:44 [deployComposite] MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 [deployComposite] MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 [deployComposite] weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    10:35:44 [deployComposite].
    10:35:44
    10:35:44 BUILD FAILED
    10:35:44 D: \ Programs \ hudson \ jobs \ P6.1_XYZ \ workspace \ XYZ \ build.xml: 44: The following error occurred while executing this line:
    10:35:44 D: \ Oracle \ 11gR1ps1 \ jdeveloper \ bin \ ant-sca-deploy.xml: 132: Error during deployment: Error occured when creating target MDS instance.: Oracle.mds.config.MDSConfigurationException: MDS-01330 : Failed to load configuration document MDS
    10:35:44 MDS-01329: Unable to load the element "persistence-config"
    10:35:44 MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    10:35:44: MDS-01330: Failed to load configuration document MDS
    10:35:44 MDS-01329: Unable to load the element "persistence-config"
    10:35:44 MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    This is not pertaining to a single Project and this was happening with all BPEL Process.
    Please help us since it was blocking us to either delete a SAR file from EM Console as well as Deploy the SAR file to the EM Console.
    Thanks,
    Venugopal Raja

    weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..Check server logs to find out why mds-soa is suspended. Make sure that datasource mds-soa is up and running on SOA servrs before deploying an application.
    Regards,
    Anuj

  • 12c SOA multiple composite deployment using maven

    Hi,
    I am facing issue with 12c SOA composite deployment using maven. I execute the below command for deploying any composite.
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestMVNProj –Dcomposite.version=1.1
    Issues:
    As seen above by using above command m able to deploy single composte.But i want to deploy multiple composite belongs to  same application or Different something like below.
    AIM- mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj1,Project2
    Is there any way to achive this please guide me far same
    In any senerio not only is soa composite.can any one guide me how to deploy multiple projects using maven scripts.
    Thanks in Advance
    Prabhat

    Hi Markus,
    I have tried it with profiling its works . thanks!!!! but some how still i was not able to achieve what i want.
    But thanks for you kind references i have done it by using and maven cmd line switch -pl .Now i can exclude.include modules  dynamically.
    For example;-
    <modules>
        <module>Mvntest1</module>
        <module>MvnDeploymentTest</module>
         <module>MvnDeploymentTest2</module>
        </modules>
    I have multiple module  in my parent pom.xml and if i want to deploy only top 2 of  them.
    # mvn pre-integration-test -pl +Mvntest1,+MvnDeploymentTest   (This only support maven version 3.2.1 and above)
    its working fine :-
    Note:- when we using -pl  if we want to include modules we can give module name with "+"sign and for exclude "- or !" we can give multiple module name separated with "," delimiters .
    THANKS MARKUS!!!!!
    **********************************Happy Deployments*************************************
    Regards
    Prabhat

  • Cannot deploy using .war file

    im using ant to build my war file.
    the application works when i copy the build/web to %catalina%\webapps folder but when i use war file there is error.
    i check the directory and the files of the working and not working source files but nothing seems to be different.
    can anyone help?
    java.lang.NullPointerException
         at com.saw.Media.UserAccessBean.closeConnection(UserAccessBean.java:262)
         at com.saw.Media.UserAccessBean.addUser(UserAccessBean.java:177)
         at org.apache.jsp.addUser1_jsp._jspService(addUser1_jsp.java:176)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
         at com.saw.Media.SVLDispatcherServlet.doPost(SVLDispatcherServlet.java:143)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
         at java.lang.Thread.run(Thread.java:534)

    Thanks for replying.
    i used the example at this web site http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
    everything worked.
    jakarta-tomcat-4.1.29
    jakarta-ant-1.5-bin
    mysql-4.0.16-win
    mysql-connector-java-3.0.9-stable
    I suspect its my .java code. I tried to change the .java code but more errors which i dont understand comes up.
    public void addUser() throws Exception
    Connection dbConnection = null;
    try {
    dbConnection = getConnection();
    add(dbConnection);
    } catch (SQLException e) {
    System.out.println(e.getMessage());
    // Print any other nested exceptions
    while ((e = e.getNextException()) != null) {
    System.out.println(" next " + e.getMessage());
    throw e; // Re-throw the SQLException
    } finally {
    closeConnection(dbConnection);
    } // addUser()
    // PRIVATE METHODS
    // ===============
    // Add an user to the database
    private void add(Connection conn) throws Exception
    PreparedStatement ps = null;
    // Build the SQL statement
    StringBuffer sql = new StringBuffer();
    sql.append("INSERT INTO USERS ");
    sql.append("(user_name, user_pass, user_full_name) " ); // Leave a space at the end
    sql.append("VALUES (?, ?, ?) ");
    // Execute SQL statement
    try {
    ps = conn.prepareStatement(sql.toString());
    ps.setString(1, userName); // Set the missing values in the prepared statement
    ps.setString(2, userPass);
    ps.setString(3, userFullName);
    count = ps.executeUpdate();
    } catch (SQLException e) {
    count = 0; // So we know the operation was not successful
    // Here we are catching exceptions to reset a counter and optionally
    // for debugging purposes
    // May be we could log them to a file
    // Once caught, we are re-throwing them once again to a higher level
    // So, we need the catch block even if we are not debugging
    System.out.println(e.getMessage());
    // Print any other nested exceptions
    while ((e = e.getNextException()) != null) {
    System.out.println(" next " + e.getMessage());
    throw e; // Re-throw the SQLException
    // will be caught at a higher level
    } finally {
    ps.close();
    } // add()
    * Gets a datasource connection
    * Different from getting a databse connection using DriverManager
    * @param jndiName Name of datasource
    Connection getConnection()
    throws NamingException, SQLException {
    Context initCtx = null;
    try {
    // Obtain the initial JNDI context
    initCtx = new InitialContext();
    // Perform JNDI lookup to obtain resource manager connection factory
    DataSource ds =
    (javax.sql.DataSource)
    initCtx.lookup("java:comp/env/jdbc/" + jndiName);
    // Invoke factory to obtain a connection
    return ds.getConnection();
    } finally {
    // Don't forget to close the naming context
    if (initCtx != null) {
    initCtx.close();
    } // getConnection()
    // Close a datasource connection
    // Similar to closing a database connection
    private void closeConnection (Connection conn) throws Exception {
    conn.close();
    } // closeConnection()

  • Problem updating pages that use .dwt file

    So i have 45 files that all use the same .dwt file.  Usually when I make a change to the template and go file > save it asks me if i want to update all pages that use that specific .dwf file.  For some reason it doesn't show the pages that do.  Although if I go to the specific page for example contact.html and do a Modify > Templates > Apply template to page, it applys the changes, and then once i make a change to the .dwt file and do the File > Save, contact.html now appears in the section of files to be updated.  I do not want to go thru every page and manually apply the template does anyone have any information that could help me out? thanks
    G8ofH8

    I do not want to go thru every page and manually apply the template does anyone have any information that could help me out?
    However, that would work.
    It sounds like your site cache has become corrupted.  Try the following -
    1.  Open DW's Site manager, select the site name, and click on EXPORT (make sure you opt to export the FULL site defintion including FTP info)
    2.  Export the site definition to a KNOWN location on your hard drive
    3.  With the site name still selected in Site manager, click REMOVE to remove that site from your list of definitions
    4.  Import the site definition you just exported - that should solve the updating problem
    Does this heal things for you?

  • Problem with gui_download when using DBF FILE type.

    Good Day Experts.
    I am trying to download excel file using function module  GUI_DOWNLOAD.
    declared  a table it_string type table string.
    initially I  appending my header to it_string. and then passing  my internal table to it  .
    this is how I am passing data into it_string.
    so in gui_download I am passing parameters as below. but I am not getting data into the excel file.
    I tried both ways passing field separator  as 'X' and '#'.
    please guide me where I am wrong.

    Hello Surendra,
    Can you please upload your code sample. Thanks.
    What i manage to find is using this function module  WS_DOWNLOAD.
    The file is downloaded in the directory -->  C:/
    Here is the code sample :
    TABLES: usr03,dd02l.
    DATA: zx030l LIKE x030l.
    DATA BEGIN OF zdfies OCCURS 0.
             INCLUDE STRUCTURE dfies.
    DATA END OF zdfies.
    DATA: BEGIN OF flditab OCCURS 0,
           fldname(11) TYPE c,
           END OF flditab.
    DATA itabusr03 LIKE usr03 OCCURS 0 WITH HEADER LINE.
    DATA tname LIKE dd02l-tabname.
    SELECT * FROM usr03 INTO TABLE itabusr03.
    tname = 'USR03'.
    PERFORM getfieleds.
    PERFORM dwdbffile.
    FORM getfieleds.
       CALL FUNCTION 'GET_FIELDTAB'
         EXPORTING
           langu               = sy-langu
           only                = space
           tabname             = tname
           withtext            = 'X'
         IMPORTING
           header              = zx030l
         TABLES
           fieldtab            = zdfies
         EXCEPTIONS
           internal_error      = 01
           no_texts_found      = 02
           table_has_no_fields = 03
           table_not_activ     = 04.
       CASE sy-subrc.
         WHEN 0.
           LOOP AT zdfies.
             flditab-fldname = zdfies-fieldname.
             APPEND flditab.
           ENDLOOP.
         WHEN OTHERS.
           MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH  sy-subrc.
       ENDCASE.
    ENDFORM.                    "GETFIELEDS
    FORM dwdbffile.
       CALL FUNCTION 'WS_DOWNLOAD'
         EXPORTING
    *      filename                = 'C:\USR03.DBF'
           filename                = 'C:\USR03.XLS'
           filetype                = 'DBF'
         TABLES
           data_tab                = itabusr03
           fieldnames              = flditab
         EXCEPTIONS
           file_open_error         = 1
           file_write_error        = 2
           invalid_filesize        = 3
           invalid_type            = 4
           no_batch                = 5
           unknown_error           = 6
           invalid_table_width     = 7
           gui_refuse_filetransfer = 8
           customer_error          = 9
           OTHERS                  = 10.
       IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.
    ENDFORM.                    "DWDBFFILE
    Thanks and Kind Regards,
    Yovish.

  • 12c SOA composite deployment issue using maven

    I am facing issue with 12c SOA composite deployment using maven. I execute the below command for deploying any composite. (Note: Update and run init.cmd file before running the below maven command)
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj –Dcomposite.version=1.1
    Issues:
    As seen above, I specified composite version to be deployed as 1.1 in pom.xml file, but maven deploys the composite with version that is present in composite.xml. It does build the jar file with the version specified in the pom i.e. TestSOAProj_rev1.1.jar, but when it deploys I see the composite with version as 1.0 (this version is in composite.xml). The out of the box maven script is not overwriting the revision in the composite.xml with the value specified in the pom file.
    Also, is there a way to pass the partition name as an user input parameter in the pom file. I tried this with the out of the box pom file by giving the partition name as something other than ‘default’, but the maven script ignores this and always deploys to ‘default’.
    I am not sure if I am missing anything here. Please suggest.
    inti.cmd:
    SET JAVA_HOME=D:\12c-Installation-Path\Java\jdk1.7.0_60
    SET ANT_HOME=D:\12c-Installation-Path\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.ant_1.9.2
    SET M2_HOME=D:\12c-Installation-Path\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.maven_3.0.5
    SET PATH=%PATH%;%JAVA_HOME%\bin;%M2_HOME%\bin;%ANT_HOME%\bin
    soa-pom.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
             <!--
               This POM was automatically generated during SOA project creation.          
               This POM relates to this SOA Composite, i.e. the one in this same directory.
               There is another POM in the SOA Application directory which handles
               the whole SOA Application, which may contain additional projects.
            -->
        <modelVersion>4.0.0</modelVersion>
        <groupId>TestSOAApp</groupId>
        <artifactId>${composite.name}</artifactId>   
      <version>${composite.version}</version>
        <packaging>sar</packaging>
        <!--
               The parent points to the common SOA parent POM.  That is a special POM that is
               shipped by Oracle as a point of customization (only). You can add default values
               for properties like serverUrl, etc. to the SOA common parent POM, so that you
               do not have to specify them over and over in every project POM.
        -->
        <!--<parent>
            <groupId>com.oracle.soa</groupId>
            <artifactId>sar-common</artifactId>
            <version>12.1.3-0-0</version>
        </parent>-->
        <properties>
      <!-- These parameters are used by the compile goal -->
      <code.basedir>${soa.app.source}/${project.artifactId}</code.basedir>
            <scac.input.dir>${code.basedir}/SOA</scac.input.dir>
            <scac.output.dir>${project.basedir}/target</scac.output.dir>
            <scac.input>${scac.input.dir}/composite.xml</scac.input>
            <scac.output>${scac.output.dir}/out.xml</scac.output>
            <scac.error>${scac.output.dir}/error.txt</scac.error>
            <scac.displayLevel>1</scac.displayLevel>
      <!-- if you are using a config plan, uncomment the following line and update to point
                 to your config plan -->
            <configplan>${code.basedir}/${project.artifactId}_cfgplan.xml</configplan>
      <!-- These parameters are used by the deploy and undeploy goals -->
      <composite.name>${project.artifactId}</composite.name>
      <composite.revision>${project.version}</composite.revision>       
      <composite.partition>default</composite.partition>
            <serverUrl>http://${target.hostname}:${target.port}</serverUrl>       
            <!--user>weblogic</user>
            <password>${pwd}</password-->       
      <overwrite>true</overwrite>
            <forceDefault>true</forceDefault>
            <regenerateRulebase>false</regenerateRulebase>
            <keepInstancesOnRedeploy>false</keepInstancesOnRedeploy>
            <!--<jndi.properties.input>UNDEFINED</jndi.properties.input>-->
            <scatest.result>${scac.output.dir}/testResult</scatest.result>
            <!--  input is the name of the composite to run test suties against -->
            <input>${project.artifactId}</input>       
            <!--<scac.ant.buildfile>${env.MW_HOME}/soa/bin/ant-sca-compile.xml</scac.ant.buildfile>
            <sca.ant.testfile>${env.MW_HOME}/soa/bin/ant-sca-test.xml</sca.ant.testfile>
            -->
        </properties>
      <build>
           <plugins>
       <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>properties-maven-plugin</artifactId>
      <version>1.0-alpha-2</version>
      <executions>
       <execution>
      <phase>initialize</phase>
      <goals>
       <goal>read-project-properties</goal>
      </goals>
      <configuration>
       <files>
      <file>build-${env}.properties</file>
       </files>
      </configuration>
       </execution>
      </executions>
       </plugin>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-antrun-plugin</artifactId>
      <version>1.6</version>
      <executions>
      <execution>
      <id>read-input</id>
      <phase>prepare-package</phase>
      <inherited>false</inherited>
      <goals>
      <goal>run</goal>
      </goals>
      <configuration>
      <target>
      <property name="fmw.app.basedir" value="${soa.app.source}" />
      <property name="fmw.composite.name" value="${project.artifactId}" />
      <property name="configplan.target.path" value="${scac.output.dir}" />
      <ant antfile="${project.basedir}/replace-tokens.xml" target="replaceConfig" />
      </target>
      </configuration>
      </execution>
      </executions>
      </plugin>
                <plugin>
                    <groupId>com.oracle.soa.plugin</groupId>
                    <artifactId>oracle-soa-plugin</artifactId>
                    <version>12.1.3-0-0</version>
                    <configuration>
                        <compositeName>${project.artifactId}</compositeName>
                        <composite>${scac.input}</composite>
                        <sarLocation>${scac.output.dir}/sca_${project.artifactId}_rev${composite.revision}.jar</sarLocation>
                        <serverUrl>${serverUrl}</serverUrl>
      <user>{}</user>            
      <password>{}</password>
                        <!-- Note: compositeRevision is needed to package, revision is needed to undeploy -->
                        <compositeRevision>${composite.revision}</compositeRevision>
                        <revision>${composite.revision}</revision>
                        <scacInputDir>${scac.input.dir}</scacInputDir>                   
      <input>${input}</input>
      <!--<appHome>${soa.app.source}</appHome>
      <oracleHome>${oracle.home}/soa</oracleHome>                   
      <configplan>${scac.output.dir}/${project.artifactId}_cfgplan_generated.xml</configplan>-->
                    </configuration>
                     <!-- extensions=true is needed to use the custom sar packaging type -->
                    <extensions>true</extensions>
                </plugin>
            </plugins>
        </build>
    </project>
    replace-tokens.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <project name="EA_SOA_Build"  default="replaceConfig">
      <target name="replaceConfig">
      <echo>Replacing tokens in configuration file</echo>
      <!-- Following logic copies the dev deployment plan and generates one to meet the target environment. -->
      <delete failonerror="true" file="${fmw.app.basedir}/${fmw.composite.name}/${fmw.composite.name}_cfgplan_generated.xml"/>
      <copy overwrite="true" failonerror="true"
      file  ="${fmw.app.basedir}/${fmw.composite.name}/${fmw.composite.name}_cfgplan.xml"
      tofile="${configplan.target.path}/${fmw.composite.name}_cfgplan_generated.xml"/>
      <replace file="${configplan.target.path}/${fmw.composite.name}_cfgplan_generated.xml">   
       <!-- replace filter for soa source and target endpoints. -->
       <replacefilter token="dmnh1i.manheim.com" value="dmnh2i.manheim.com" />  
      </replace>
      </target>
    </project>
    build-local.properties:
    soa.app.source=D:/Oracle_SOA12c13/Jdev_mywork/OVCApp
    mds.outer.dir=D:/Oracle_SOA12c13/Jdev_mywork/OVCApp/MDS
    target.hostname=localhost
    target.port=7001
    oracle.home=D:/Oracle_SOA12c13/Middleware/Oracle_Home

    hi,
    Can i pass multiple composite name like
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj –Dcomposite.name2="xxx"
    can you please suggest me for same.
    Hint- passing project1,project2.....

  • .ear file re-deploy uses old staging files in 8.1

    Hi All,
    Issue: Everytime we deploy new .ear file, we have to redeploy the .ear file from console.
    Issue details: We recently upgraded to WLS 8.1 SP3 from WLS7.0 SP5. After the upgrade we noticed a problem when re-deploying the .ear file. We put the .ear in the applications directory (we are running the server in development mode) When we deploy, there is a directory <appname>/stage that is created which contains the exploded .ear file. This is then used for creating the directory .wlnotdelete. If I make a change to the application, whether it is in a jsp, properties file or java code, and create a new .ear in the applications folder and re-deploy, the new changes appear not to be picked up. The new .ear file is not exploded into the stage directory unless I remove this directory and its contents.
    Thanks,
    Srinivas

    This seems a bug to me. Please file a support case.
    Jason

  • Jboss sar file on web logic

    Hi,
    We have .sar (Service Archive file) in jboss. We are now planning to migrate to Weblogic. Is there a way for deploying the .sar file into weblogic. If not directly possible, is there a work around where we can deploy the services on web logic.
    Can some one throw some light on this at the earliest. We need this in one of our critical projects.
    Best Regards,
    Srikanth

    Yes, i did encounter same issue. The problem is on the directory sytax as discussed here:
    Either use:
    jar cvf myapp.war -C <path_to_app_dir>/. -----> Note a '.' at the end is required
    else cd to the path_to_app directory in command prompt and issue:
    jar cvf myapp.war app_dir/. ---------> Note the '.' again with just the app_dir name with it.
    This literally wraps up all project bytecode to the .war. Else you get the AppMerge fails as below:
    Exception in AppMerge flows' progression
    D:\app_domain\servers\AdminServer\tmp\.appmergegen_1360162452253_oracle_jps.war\D:\ofm11g\oracle_common\modules\oracle.jps_11.1.1\common\schema\xml\11.1.1.3.0\jazn-data.xsd (The filename, directory name, or volume label syntax is incorrect)::Probably the string length of the path of the file being extracted was too long or failed to overwrite the file
    Let me know for any details.
    Thanks,
    Pramod
    Edited by: Pramod Vasista on Feb 6, 2013 8:33 AM

  • Disable charms in windows 8.1 using answer file.

    hi
    How to disable charms in windows 8.1 deployment using answer file.

    Hi, Thanks for the reply.
    We don't wanted to add this setting in domain we wanted it within the image is there any way of disabling charms for all users
    within the image as we are on the process of deployment of Windows 8.1 Tablets & they can be domain or non domain joined.
    Making Copy Profile setting True in answer file is not working.
    Thanks,

  • Problem in deploying SAR file in clustered environment

    Hi All,
    I need to deploy a BPM Project (BPM 11g) to two nodes of a Weblogic cluster.
    However when I am trying from Jdeveloper it is showing both WLS_BPM1 and WLS_BPM2 as checked in deployment wizard. But after deplyment it shows that
    it has only deployed in WLS_BPM1.
    When I am deploying the SAR in the second node from Enterprise Manager it is showing
    Deploying on partition "default" of "/Farm_bpm_domain/bpm_domain/SOA_Cluster" ...
    Deploying on "/Farm_bpm_domain/bpm_domain/SOA_Cluster" failed!
    There was an error deploying the composite on WLS_BPM1: Composite with same revision ID already exists: default/TestProcess!1.0. Please set the overwrite flag or use different revision ID. Abort deployment..
    Deploying on partition "default" of "/Farm_bpm_domain/bpm_domain/SOA_Cluster" ...
    Deploying on "/Farm_bpm_domain/bpm_domain/SOA_Cluster" failed!
    There was an error deploying the composite on WLS_BPM2: Composite with same revision ID already exists: default/TestProcess!1.0. Please set the overwrite flag or use different revision ID. Abort deployment..
    I created an SAR with a different revision. Now I tried to deploy it in WLS_BPM2 in EM but it got deployed in BPM1.
    Can you please share any document on deploying BPM Projects to clustered weblogic

    There was an error deploying the composite on WLS_BPM2: Composite with same revision ID already exists: default/TestProcess!1.0.
    Please set the overwrite flag or use different revision ID. Abort deployment..Did you click "Overwrite any existing composites with same revision ID" checkbox in Jdeveloper dialog while deploying ?

  • Deploying bpm 11g project sar file using ant task

    I am trying to deploy the bpm project using ant task file. The status I get is [deployComposite] ---->Deploying composite success. However when I check the deployments, they are not there. If I try to deploy this using Jdeveloper it works correctly. I need to get this to work for production deployments. Any suggestions?
    C:\Oracle\Middleware\Oracle_SOA1\bin>ant -f ant-sca-deploy.xml -DserverURL=http:
    //10.140.183.71:7001 -DsarLocation=N:\RuleBasedProjectInitiate\deploy\RequestPro
    ject.ear -Doverwrite=true -Duser=weblogic
    Buildfile: C:\Oracle\Middleware\Oracle_SOA1\bin\ant-sca-deploy.xml
    [echo] oracle.home = C:\Oracle\Middleware\Oracle_SOA1\bin/..
    deploy:
    [input] skipping input as property serverURL has already been set.
    [input] skipping input as property sarLocation has already been set.
    [deployComposite] created temp dir =C:\DOCUME~1\azeltov\LOCALS~1\Temp\deploy_cli
    ent_1279894885343
    [deployComposite] Creating HTTP connection to host:10.140.183.71, port:7001
    [deployComposite] Enter username and password for realm 'default' on host 10.140
    .183.71:7001
    [deployComposite] Authentication Scheme: Basic
    [deployComposite] Username:
    weblogic
    [deployComposite] Password:
    [deployComposite] Received HTTP response from the server, response code=200
    [deployComposite] clean up temp dir: C:\DOCUME~1\azeltov\LOCALS~1\Temp\deploy_cl
    ient_1279894885343
    [deployComposite] ---->Deploying composite success.
    BUILD SUCCESSFUL
    Total time: 4 seconds
    C:\Oracle\Middleware\Oracle_SOA1\bin>

    You can always deploy the ADF web apps from the Application (top menu) deploy option. Just make sure you're deploying the EAR profile for the project. Deploying the web projects from the composite deployment wizard can be convenient. But I think it's often the case that you deploy them (the composite and forms) separately (e.g. you make a series of changes to the composite without needed to redeploy the UI projects).
    Bottom line is you don't have to delete the projects to be able to modify/deploy them.

  • Deployment Descriptor for SOA-SAR files on weblogic?

    Hi,
    i want to access a shared library (that i deployed separately) from within a SOA Project with an SCA composite that is deployed as a SOA-SAR.
    I am using JDeveloper 11.1.1.3 along with the according Weblogic Server and SOA Suite.
    My shared library is deployed correctly, because i can access it from e.g. other web applications. These are deployed as war files and therefore i have a weblogic.xml file, where i define my library-refs. The problem is, that weblogic.xml as well as weblogic-application.xml seem not to be processed when deploying the SOA-SAR file. Is there another descriptor for that, or is it just not possible to access shared libraries from within a SOA Project deployed as SOA-SAR?
    For some more background information, i have my entities deployed as a shared library in weblogic (deployed as a web application(war file)). Now i want to create an SCA composite with a Spring component. A Bean defined in the Spring context shall access the entities from within the shared library.
    I hope someone has a solution for this, because i already spent a lot of time on searching for a solution and did not even get close to one. The closest solution i found was deploying the SCA composite as a web application using in Spring the sca:service tag. In that case i have the problem that i want to use the SCA composite from within another SCA composite and i want it to use a local call, not a SOAP request for performance reasons. So this solution unfortunately doesn't fit my requirements.

    Please ask this in the SOA Suite forum:
    SOA Suite
    You might also find the answer in the SOA Suite 11g docs:
    http://download.oracle.com/docs/cd/E12839_01/soa.htm

  • Error when deploying AIA Demo BPEL project to SAR file

    Hi,
    I am trying to deploy the AIADemoCreateRequestForQuoteSupplierProvABCSImpl project (in AIA Demo) to a SAR file, and I am getting this error:
    Buildfile: /scratch/ifan/jdevhome_5912/jdeveloper/bin/ant-sca-compile.xml
    scac:
    [scac] Validating composite "/ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/composite.xml"
    [scac] INFO: SchemaManager.isIncrementalBuildSupported XMLSchema incremental build enabled.
    [scac] Setting BPELC option 'classpath' to /scratch/ifan/jdevhome_5912/jdeveloper/jdev/extensions/oracle.sca.modeler.jar:/scratch/ifan/jdevhome_5912/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime.jar:/scratch/ifan/jdevhome_5912/jdeveloper/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/scratch/ifan/jdevhome_5912/oracle_common/modules/oracle.fabriccommon_11.1.1/fabric-common.jar:/scratch/ifan/jdevhome_5912/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/orabpel.jar:/scratch/ifan/jdevhome_5912/jdeveloper/soa/modules/oracle.soa.mediator_11.1.1/mediator_client.jar:/scratch/ifan/jdevhome_5912/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar::/ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF\classes
    [scac] Composed "AIADemoCreateRequestForQuoteSupplierProvABCSImpl" in 92.9 milliseconds [nodes 56=1+55, 602.9 nodes/sec]
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe14.java:699: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe14.java:708: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe4.java:205: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe12.java:634: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe12.java:646: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe3.java:178: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe9.java:400: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe9.java:409: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe7.java:360: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe10.java:482: package oracle.apps.aia.core.config does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe10.java:485: package oracle.apps.aia.core.config does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe10.java:489: package oracle.apps.aia.core.config does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe10.java:523: package oracle.apps.aia.core.config does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe10.java:526: package oracle.apps.aia.core.config does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe10.java:540: package oracle.apps.aia.core.config does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe10.java:543: package oracle.apps.aia.core.config does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe2.java:154: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe11.java:601: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe11.java:613: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe1.java:131: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe6.java:298: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe15.java:727: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe5.java:274: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe0.java:109: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe13.java:673: package oracle.apps.aia.core.eh.logging does not exist
    [scac] /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/ExecLetBxExe13.java:682: package oracle.apps.aia.core.eh.logging does not exist
    [scac] Note: /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF/bpel/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/src/orabpel/aiademocreaterequestforquotesupplierprovabcsimpl/BPEL_BIN.java uses unchecked or unsafe operations.
    [scac] Note: Recompile with -Xlint:unchecked for details.
    [scac] warning: in AIADemoCreateRequestForQuoteSupplierProvABCSImpl.bpel(210): <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2}CodeType"
    [scac] warning: in AIADemoCreateRequestForQuoteSupplierProvABCSImpl.bpel(210): <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2}TextType"
    [scac] warning: in AIADemoCreateRequestForQuoteSupplierProvABCSImpl.bpel(557): <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://schemas.xmlsoap.org/ws/2003/03/addressing}AttributedURI"
    *[scac] error: location {ns:composite}: SCAC-50012*
    BUILD FAILED
    /scratch/ifan/jdevhome_5912/jdeveloper/bin/ant-sca-compile.xml:269: Java returned: 1 Check log file : /ade/ifan_nov29/aiafp/apps/fp/components/samples/AIADemo/ProviderABCS/AIADemoCreateRequestForQuoteSupplierProvABCSImpl/SCA-INF\classes/scac.log for errors
    Total time: 16 seconds
    In particular, we keep seeing the compilation fail with error "SCAC-50012" have not seen helpful information on how to resolve that.
    The log file:
    Jan 7, 2011 7:05:50 PM oracle.mds
    WARNING: The default CharSet US-ASCII is not a unicode character set. File names with non-ASCII characters may not operate as expected. Check locale settings.
    Jan 7, 2011 7:05:51 PM oracle.adf.share.ADFContext getCurrent
    WARNING: Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    Jan 7, 2011 7:05:55 PM com.collaxa.cube.CubeLogger info
    INFO: validating "AIADemoCreateRequestForQuoteSupplierProvABCSImpl.bpel" ...
    oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
    at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
    at oracle.integration.platform.blocks.WLSPlatformConfigurationProvider.<clinit>(WLSPlatformConfigurationProvider.java:44)
    at oracle.integration.platform.blocks.FabricConfigManager.<clinit>(FabricConfigManager.java:154)
    at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXpathFunctions(FabricXPathFunctionResolver.java:282)
    at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXPathConfigFile(FabricXPathFunctionResolver.java:156)
    at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.init(FabricXPathFunctionResolver.java:49)
    at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.loadFabricXpathFunctions(BPELXPathFunctionNameResolver.java:57)
    at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<init>(BPELXPathFunctionNameResolver.java:48)
    at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<clinit>(BPELXPathFunctionNameResolver.java:44)
    at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.<init>(XPathExprValidatorVisitor.java:122)
    at com.collaxa.cube.lang.compiler.bpel.AssignValidator.<init>(AssignValidator.java:89)
    at com.collaxa.cube.lang.compiler.bpel.BpelParser.<init>(BpelParser.java:452)
    at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:60)
    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:1117)
    at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:500)
    at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
    at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Jan 7, 2011 7:06:01 PM CubeProcessGenerator compile
    << and then long classpath >>
    Any ideas on how to resolve this issue and deploy the project? Thanks in advance.
    Irene

    Here are some alternatives:
    1.Consider creating an application server connection and select deploy to your new application server connection, not to sar.
    2.Consult for example: SCAC-50012
    3. Recompile with -Xlint:unchecked for details
    4.Although they seem harmless, get rid of the warnings
    5. Consider posting to another forum such as SOA Suite
    NA
    http://nickaiva.blogspot.com

  • Deploying a WAR file containing .jsp and servlets (also uses JNI)

    Deploying a WAR file containing .jsp and servlets (also uses JNI) on Windows 2000
    We had problems making it initially work on Sun ONE Web Server 6.0 Service Pack 1 because of lack of good iPlanet Web
    Server documentation on deploying such files.
    This is how we went about it:
    1) Make one of the servlet and JSP (must call another Java Class) web application (.war) examples work with iPlanet Web
    Server.
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\HelloWorld\HelloWorld.war
    and
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    a) Go to your Web Server Administration to deploy the application using GUI Web Application Deploy.
    (We usually use command line, we experienced some issues with the GUI version, but maybe it is fixed in the new Web Server
    service packs)
    From browser, open http://yourserver:8888/
    Click on Select a Server:Manage
    Click on Virtual Server Class
    Click on https-yourserver
    Click on the Web Applications Tab
    Then, click on Deploy Web Application
    Enter the following -
    WAR File On: Local
    WAR File Path: C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Application URI: /jakarta
    Installation Directory: c:\iPlanet\examples\jakarta-examples
    By clicking on OK it deployed the application.
    I can verify that it is deployed by selecting "Edit Web Applications" and I see the following entry:
    Edit     /jakarta     c:/iPlanet/examples/jakarta-examples
    Also, c:/iPlanet/examples/jakarta-examples should have the similar following directory structure ..
    - [images]
    - [jsp]
    - index.html
    - [servlets]
    - [META-INF]
    - [WEB-INF]
    - [classes]
    - [tlds]
    - web.xml
    - index.html
    I restarted the server and accessed it using the following URL from my IE browser:
    http://yourserver/jakarta/index.html
    Then I clicked on the JSP Examples and tried some JSP examples.
    b) Alternatively, you can also deploy the same example from the command-line.
    Make sure C:\iPlanet\Servers\bin\https\httpadmin\bin\ is in your path
    wdeploy deploy      -u /jakarta
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\jakarta-examples
              C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Restart the web server (I don't think you have to restart, but .. might as well).
    2)Deploy your web-application
    My Foo.war has the following structure.
    You can use jar tf Foo.war to look at the file contents from command line (assuming you have JDK installed and the bin is
    in your PATH)
    Foo.war
    - [META-INF]
    - [WEB-INF]
    - web.xml
    - [classes]
    - Bar.class
    - MoServlet.class
    - [lib]
    - ThirdParty.jar
    - [natlib]
    - extlib.dll
    - foo.jsp
    Here is our application scenario:
    foo.jsp uses a class call Bar (it is not in any package). The Bar java class uses classes from ThirdParty.jar. The
    ThirdParty.jar in turn uses JNI to load library extlib.dll. foo.jsp also calls /servlet/Mo as well.
    Now to deploy it, do the following:
    (a) Make sure that within foo.jsp, you import the Bar class ( I don't know why you have to do it, but if you don't you get
    JSP compile error).
    <%@page language="java" import="Bar" contentType="text/html"%>
    (b) Check web.xml (for Servlets)
    Within web.xml, make sure you have the following mappings:
    <servlet>
    <servlet-name> MoLink </servlet-name>
    <servlet-class> MoServlet </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name> MoLink </servlet-name>
    <url-pattern> /servlet/Mo </url-pattern>
    </servlet-mapping>
    (c) Deploy the application
    Using command line:
    wdeploy deploy      -u /foo
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\foo-dir
              Foo.war
    (d) Change web-apps.xml file (for picking up ThirdParty.jar)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    You should see something similar to following after successful deployment.
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true"/>
    Change it to look like following to pick up the ThirdParty.jar
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true">
    <class-loader reload-interval="300"
              classpath="C:/iPlanet/examples/foo-dir/WEB-INF/lib/ThirdParty.jar"
              delegate="false"/>
    </web-app>
    (e) Change jvm12.conf file (for JNI)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    Add or uncomment the following lines:
    #optional - just helps with instrumenting the jsp and servlet code
    jvm.include.CLASSPATH=1
    jvm.enableDebug=1
    nes.jsp.enabledebug=1
    jvm.trace=7
    jvm.verboseMode=1
    #required for JNI
    java.compiler=NONE
    jvm.classpath=.;C:\JDK1.3.1\lib\tools.jar;C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;
    jvm.option=-Xrs
    jvm.option=-Xnoagent
    # not sure if this is needed for iPlanet web server
    jvm.option=-Djava.library.path=C:/iPlanet/examples/foo-dir/natlib/ -Djava.compiler=NONE
    (f) Change magnus.conf file (for JNI)
    We HAD to change this file in order for ThirdParty.jar file to pick up the native C++ code using JNI. Apparently, the
    iPlanet Web Server doesn't pick the Environment Variable Path. Because when we had the directory containing the DLL just
    in Path, it didn't work.
    Change Extrapath directive:
    ExtraPath C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    to
    ExtraPath c:/iPlanet/examples/foo-dir/natlib;C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    (g) Apply changes from the Web Server Administration Console and Restart the web server.
    You should be able to see the behaviour that you want from your application.
    http://yourserver/foo/foo.jsp
    Hope this was helpful!!!
    Sonu

    Deploying a WAR file containing .jsp and servlets (also uses JNI) on Windows 2000
    We had problems making it initially work on Sun ONE Web Server 6.0 Service Pack 1 because of lack of good iPlanet Web
    Server documentation on deploying such files.
    This is how we went about it:
    1) Make one of the servlet and JSP (must call another Java Class) web application (.war) examples work with iPlanet Web
    Server.
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\HelloWorld\HelloWorld.war
    and
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    a) Go to your Web Server Administration to deploy the application using GUI Web Application Deploy.
    (We usually use command line, we experienced some issues with the GUI version, but maybe it is fixed in the new Web Server
    service packs)
    From browser, open http://yourserver:8888/
    Click on Select a Server:Manage
    Click on Virtual Server Class
    Click on https-yourserver
    Click on the Web Applications Tab
    Then, click on Deploy Web Application
    Enter the following -
    WAR File On: Local
    WAR File Path: C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Application URI: /jakarta
    Installation Directory: c:\iPlanet\examples\jakarta-examples
    By clicking on OK it deployed the application.
    I can verify that it is deployed by selecting "Edit Web Applications" and I see the following entry:
    Edit     /jakarta     c:/iPlanet/examples/jakarta-examples
    Also, c:/iPlanet/examples/jakarta-examples should have the similar following directory structure ..
    - [images]
    - [jsp]
    - index.html
    - [servlets]
    - [META-INF]
    - [WEB-INF]
    - [classes]
    - [tlds]
    - web.xml
    - index.html
    I restarted the server and accessed it using the following URL from my IE browser:
    http://yourserver/jakarta/index.html
    Then I clicked on the JSP Examples and tried some JSP examples.
    b) Alternatively, you can also deploy the same example from the command-line.
    Make sure C:\iPlanet\Servers\bin\https\httpadmin\bin\ is in your path
    wdeploy deploy      -u /jakarta
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\jakarta-examples
              C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Restart the web server (I don't think you have to restart, but .. might as well).
    2)Deploy your web-application
    My Foo.war has the following structure.
    You can use jar tf Foo.war to look at the file contents from command line (assuming you have JDK installed and the bin is
    in your PATH)
    Foo.war
    - [META-INF]
    - [WEB-INF]
    - web.xml
    - [classes]
    - Bar.class
    - MoServlet.class
    - [lib]
    - ThirdParty.jar
    - [natlib]
    - extlib.dll
    - foo.jsp
    Here is our application scenario:
    foo.jsp uses a class call Bar (it is not in any package). The Bar java class uses classes from ThirdParty.jar. The
    ThirdParty.jar in turn uses JNI to load library extlib.dll. foo.jsp also calls /servlet/Mo as well.
    Now to deploy it, do the following:
    (a) Make sure that within foo.jsp, you import the Bar class ( I don't know why you have to do it, but if you don't you get
    JSP compile error).
    <%@page language="java" import="Bar" contentType="text/html"%>
    (b) Check web.xml (for Servlets)
    Within web.xml, make sure you have the following mappings:
    <servlet>
    <servlet-name> MoLink </servlet-name>
    <servlet-class> MoServlet </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name> MoLink </servlet-name>
    <url-pattern> /servlet/Mo </url-pattern>
    </servlet-mapping>
    (c) Deploy the application
    Using command line:
    wdeploy deploy      -u /foo
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\foo-dir
              Foo.war
    (d) Change web-apps.xml file (for picking up ThirdParty.jar)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    You should see something similar to following after successful deployment.
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true"/>
    Change it to look like following to pick up the ThirdParty.jar
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true">
    <class-loader reload-interval="300"
              classpath="C:/iPlanet/examples/foo-dir/WEB-INF/lib/ThirdParty.jar"
              delegate="false"/>
    </web-app>
    (e) Change jvm12.conf file (for JNI)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    Add or uncomment the following lines:
    #optional - just helps with instrumenting the jsp and servlet code
    jvm.include.CLASSPATH=1
    jvm.enableDebug=1
    nes.jsp.enabledebug=1
    jvm.trace=7
    jvm.verboseMode=1
    #required for JNI
    java.compiler=NONE
    jvm.classpath=.;C:\JDK1.3.1\lib\tools.jar;C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;
    jvm.option=-Xrs
    jvm.option=-Xnoagent
    # not sure if this is needed for iPlanet web server
    jvm.option=-Djava.library.path=C:/iPlanet/examples/foo-dir/natlib/ -Djava.compiler=NONE
    (f) Change magnus.conf file (for JNI)
    We HAD to change this file in order for ThirdParty.jar file to pick up the native C++ code using JNI. Apparently, the
    iPlanet Web Server doesn't pick the Environment Variable Path. Because when we had the directory containing the DLL just
    in Path, it didn't work.
    Change Extrapath directive:
    ExtraPath C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    to
    ExtraPath c:/iPlanet/examples/foo-dir/natlib;C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    (g) Apply changes from the Web Server Administration Console and Restart the web server.
    You should be able to see the behaviour that you want from your application.
    http://yourserver/foo/foo.jsp
    Hope this was helpful!!!
    Sonu

Maybe you are looking for