Is it possible to directly deploy SOA service .jar on the Oracle Java Cloud?

I tried to deploy the SOA composite SAR File(.jar) to JCS console but got following error:-
Starting action "Deploy Application"
Deploy Application started
Invalid archive provided: not a deployable EAR or WAR file.
Archive may be poorly formatted (missing expected APP-INF or WEB-INF folders).
Application deployment failed.
"Deploy Application" complete: status FAILED
Is it not possible to directly deploy .jar file?

While I have not tried it I do not think its possible. Deploying SOA composites have quite a bit prerequisites, which are not included in JCS. JCS list of unsupported features and APIs does not mention it. The error you see is likely related to the limitation of:
Unsupported Feature
Alternative
Direct JAR deployment.
Embed JAR in EAR.
However as mentioned I do not think you would be able to deploy SOA composites ..
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/

Similar Messages

  • EJB on Oracle Java Cloud Service

    Hi, I am new to the world of Java, EJB, Weblogic Server.
    Steps that I have carried out -
    1. I have implemented a HelloBean, HelloHome, HelloObject - objective is just to print "Hello" through one of the bean's biz method.
    2. I created class files for the above 3 java programs.
    3. I have created a JAR file of 3 javas programs, its' class, along with the required META-INF/ejb-jar.xml.
    4. Now, when I tried to deploy this JAR file in Oracle Java Cloud service, I got errors stating that RemoteException is not allowed, EJBObject is not allowed. So, I changed everything to local removing RemoteException reference, changing EJBObject to EJBLocalObject.
    Now, the questions -
    a] Reference to point (4), why should I have it as LOCAL? Is it because the client is excepted to be in the same heap of the Cloud?
    b] I deployed the JAR file in cloud, but when I checked the logs, it was looking for WAR file. I understand that WAR will have access points that will inturn use the JAR that I created.
    c] Reference to point (5), how do I invoke the biz method now?
    Thanks,
    J

    I get this below message when I try to follow the Application URL when I opt for "Test Application" of the above in Oracle Java Cloud Service.
    Error 403--Forbidden
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    This is in reference to the last question raised above.

  • Interesting Document: Service Deployment  and Service Configuration  within the Internet of Things

    Hi All,
    an interesting document:
              Service Deployment  and Service Configuration  within the Internet of Things
    Best regards,
    Andy.

    Hello Marek,
    I suppose you are not planning to do any kinds of advanced config using several VLANs and multiple SSIDs so let's just make your configuration simple and working.
    In short, you need to remove all references to VLAN 1 and to any subinterfaces possibly related to the VLAN 1. This means in particular (follow these steps in sequence):
    Remove the Dot11Radio0.1 subinterface entirely
    In the Dot11Radio0 section, remove the encryption vlan 1 mode ciphers tkip command
    In the dot11 ssid ciscowifi section, remove the vlan 1 command
    After performing these steps, make sure that the ssid ciscowifi and encryption mode commands are still present in the Dot11Radio0 configuration, and if not, reenter them.
    Best regards,
    Peter

  • Application deployed on Oracle Java Cloud Service - SaaS Extension is not connecting with cloud database.

    Hello Experts,
    I have deployed an ADF application on Oracle Java Cloud Service - SaaS Extension and also deployed database objects from local environment to cloud using JDeveloper. I can see the cloud database has tables and data which I have deployed but when I access the application it seems it is not able to connect with cloud database.
    I have followed below document and same sample application (HRSystem). 
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/JDeveloperPart1/jdeveloperPart1.html
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/JDeveloperPart2/jdeveloperPart2.html
    Please guide me what can be the issue.
    Regards
    Gulam Dyer

    Hi,
    Can you give us more details about your issue? Any error messages?
    Thanks,
    Bogdan

  • Database access from Oracle Java Cloud Service application

    I have registered for Oracle Java Cloud Service for trial period. I want to deploy a Spring MVC 3.2 and Hibernate 4.0 web application.
    I created a table in the Database Cloud. I am not sure how do I access the Database Cloud Service from my application.
    Need your guidance/pointers/references that can help me establish connection from my application to the database.
    Thanks,
    Ujjwal

    Hi,
    Use JPA - see the visitors example, it uses @PersistenceUnit injection with previously weaved .class entity files.
    You can use application managed EMF's and EntityManagers with code like the following - which is not preferable to using @PersistenceContext injection on an @Stateless session EJB but...
              EntityManagerFactory emf = Persistence.createEntityManagerFactory("JPAServletPU");
              EntityManager em = emf.createEntityManager();
              EntityTransaction transaction = null;
              try {
                   transaction = em.getTransaction();
                   transaction.begin();
                   Visitor entity = new Visitor();
                   entity.setName(name);
                   entity.setNum(num);
                   em.persist(entity);
                   transaction.commit();
                   System.out.println("Committing: " + entity);
              } catch (Exception e) {
                   e.printStackTrace();
              } finally {
                   em.close();
                   emf.close();
    Use a persistence.xml like the following
    <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
    <persistence-unit name="JPAServletPU" transaction-type="JTA">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
         <!--https://cloud.oracle.com/mycloud/f?p=5300:1000:259334829915901-->
    <jta-data-source>database</jta-data-source>
    <class>com.vision.cloud.jpa.Visitor</class>
    <exclude-unlisted-classes>false</exclude-unlisted-classes>
    <properties>
         <property name="eclipselink.target-database" value="Oracle10g" />
    <property name="eclipselink.ddl-generation" value="create-tables"/>
    <!-- property name="eclipselink.ddl-generation" value="drop-and-create-tables"/-->
    </properties>
    </persistence-unit>
    </persistence>
    Check out a tutorial on WebLogic JPA ORM usage here to get started as well.
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial

  • Error while deploying an ear file in the Oracle Application Server

    Hi,
    There was an existing ear deployed in the the oracle application server - 10g. We had to include some customizations so we rebuild the ear file with the new changes and tried redeploying the ear using the EM console. Getting the below error while deploying the same. Any pointers to the same would be helpful.
    Error
    An error occurred when processing the data submitted. Find the appropriate field and enter the correct information as noted next to each field.
    Archive Location - Failed in uploading archive. Invalid archive file: Jar file resourceadapter-rar.rar is missing a standard deployment located at META-INF/ra.xml
    We have not modified anything in the ra.xml nor have touched the resourceadapter-rar.rar

    Hello
    did you configure the startweblogic file as mentioned in the admin guide ?

  • Error when creating the Oracle SOA Suite Schema in the Oracle Database

    Hi all,
    I got errors as below, when trying to run /u02/soft/Disk1/install/soa_schema /irca/irca.sh
    [oracle@scs irca]$ ./irca.sh
    Integration Repository Creation Assistant (IRCA) 10.1.3.5.1
    (c) Copyright 2006 Oracle Corporation. All rights reserved.
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/tip/install/tasks/IRCA (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Please help!
    Thanks,
    Quoc Tri.

    Hi René van Wijk,
    I installed JDK 6 as below
    [root@vpora1 oracle]# rpm -ivh jdk-6u25-linux-i586.rpm
    Preparing... ########################################### [100%]
    1:jdk ########################################### [100%]
    Unpacking JAR files...
    rt.jar...
    jsse.jar...
    charsets.jar...
    tools.jar...
    localedata.jar...
    plugin.jar...
    javaws.jar...
    deploy.jar...
    But i still get the same errors
    Quoc Tri.
    Edited by: hqtri on Jun 1, 2011 8:35 AM

  • OSB and SOA Suite in the Java Cloud

    Hi All -- the question is rather to a technical support personnel of the Oracle Cloud,
    Is it possible to deploy and run the OSB and SOA Suite applications on the Oracle Java Cloud? To be more precise:
    1. Is the WL server in the cloud configured to contain the Oracle Soa Suite?
    2. Is the WL server in the cloud configured to contain the Oracle Service Bus?
    If not: would it be possible to configure the Cloud WL domains the way that these are supported?
    What we need are two servers (or two clusters): a SOA Suite application runs on one, while the OSB application runs on the other.
    Thanks for help.

    Hi Chris,
    Oracle's statement of direction that you can find at
    http://www.oracle.com/technology/products/integration/service-bus/docs/Oracle-Service-Bus-SOD.pdf
    there will be convergence of the 2 products that basically address 2 different use cases (see Statement of Direction).
    In my opinion new tools will be added to Jdeveloper to develop and deploy on Oracle Service Bus (OSB). In present OSB version, OSB tools are not part of Jdeveloper and transformations use XQuery instead of XSLT (as for Oracle ESB).
    Hope this help you a little bit.
    Regards,
    Jean-Pierre

  • Error when trying to deploy ADF application in Java Cloud Service - SaaS Extension

    Hello guys,
    I'm trying to deploy a simple ADF application in "Oracle Java Cloud Service - SaaS Extension" and i'm still having the error below
    The job turns to Failed at "Deploy Application" step:
    Did someone already got this error ?
    Thanks at advance
    Sid
    2014-12-10 11:06:20 PST: Starting action "Deploy Application"
    2014-12-10 11:06:20 PST: Deploy Application started
    2014-12-10 11:06:28 PST: weblogic.application.ModuleException: weblogic.application.ModuleException:
      at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1531)
      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:488)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
      at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
      at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
      at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:573)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:327)
      at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
      at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
      at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
      at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: java.security.AccessControlException: access denied ("java.net.NetPermission" "specifyStreamHandler")
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
      at java.security.AccessController.checkPermission(AccessController.java:559)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
      at java.net.URL.checkSpecifyHandler(URL.java:649)
      at java.net.URL.<init>(URL.java:373)
      at weblogic.application.io.MergedDescriptorFinder.getSource(MergedDescriptorFinder.java:46)
      at weblogic.application.io.DescriptorFinder.getSource(DescriptorFinder.java:44)
      at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
      at weblogic.application.utils.CompositeWebAppFinder.getSource(CompositeWebAppFinder.java:71)
      at weblogic.servlet.internal.War$ResourceFinder.getSource(War.java:1213)
      at weblogic.servlet.internal.War$ResourceFinder.getSource(War.java:1203)
      at weblogic.servlet.internal.War.getResourceAsSource(War.java:512)
      at weblogic.servlet.internal.WebAppServletContext.getResourceAsSource(WebAppServletContext.java:3436)
      at weblogic.servlet.internal.WebAppServletContext.getResourceAsSource(WebAppServletContext.java:3427)
      at weblogic.servlet.internal.WebAppServletContext.getResourceAsStream(WebAppServletContext.java:872)
      at com.sun.faces.config.ConfigureListener$WebXmlProcessor.scanForFacesServlet(ConfigureListener.java:805)
      at com.sun.faces.config.ConfigureListener$WebXmlProcessor.<init>(ConfigureListener.java:768)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:178)
      at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1871)
      at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3173)
      at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1529)
    2014-12-10 11:06:28 PST: WL action state: failed
    2014-12-10 11:06:28 PST: Action FAILED with WL action state: failed
    2014-12-10 11:06:28 PST: Check the server log of your Java cloud service for more info about the failure.
    2014-12-10 11:06:28 PST: Application deployment failed.
    2014-12-10 11:06:28 PST: "Deploy Application" complete: status FAILED

    The Application does nothing, it's just a simple page (the button does nothing too)  the aim is to deploy a jsf page with ADF forms.
    The deployment log is on the first message.
    I'm using Jdeveloper and i note the Jdev inserts some servlets into the web.xml file ! is it possible that the probleme is related to this ? (below the web.xml file)
    Sid
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
             version="2.5">
      <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet>
        <servlet-name>resources</servlet-name>
        <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>BIGRAPHSERVLET</servlet-name>
        <servlet-class>oracle.adf.view.faces.bi.webapp.GraphServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>BIGAUGESERVLET</servlet-name>
        <servlet-class>oracle.adf.view.faces.bi.webapp.GaugeServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>MapProxyServlet</servlet-name>
        <servlet-class>oracle.adf.view.faces.bi.webapp.MapProxyServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/adf/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/afr/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>BIGRAPHSERVLET</servlet-name>
        <url-pattern>/servlet/GraphServlet/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>BIGAUGESERVLET</servlet-name>
        <url-pattern>/servlet/GaugeServlet/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>MapProxyServlet</servlet-name>
        <url-pattern>/servlet/mapproxy/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/bi/*</url-pattern>
      </servlet-mapping>
      <filter>
        <filter-name>trinidad</filter-name>
        <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
      </filter>
      <filter>
        <filter-name>ServletADFFilter</filter-name>
        <filter-class>oracle.adf.share.http.ServletADFFilter</filter-class>
      </filter>
      <filter-mapping>
        <filter-name>trinidad</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>ERROR</dispatcher>
      </filter-mapping>
      <filter-mapping>
        <filter-name>ServletADFFilter</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</param-value>
      </context-param>
      <context-param>
        <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
        <param-value>false</param-value>
      </context-param>
      <context-param>
        <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
        <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
        <param-value>false</param-value>
      </context-param>
      <context-param>
        <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
        <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
        <param-value>true</param-value>
      </context-param>
      <context-param>
        <description>Security precaution to prevent clickjacking: bust frames if the ancestor window domain(protocol, host, and port) and the frame domain are different. Another options for this parameter are always and never.</description>
        <param-name>org.apache.myfaces.trinidad.security.FRAME_BUSTING</param-name>
        <param-value>differentOrigin</param-value>
      </context-param>
      <context-param>
        <param-name>javax.faces.VALIDATE_EMPTY_FIELDS</param-name>
        <param-value>true</param-value>
      </context-param>
      <context-param>
        <param-name>oracle.adf.view.rich.geometry.DEFAULT_DIMENSIONS</param-name>
        <param-value>auto</param-value>
      </context-param>
      <context-param>
        <param-name>oracle.adf.view.rich.SYNCROWS</param-name>
        <param-value>enable</param-value>
      </context-param>
      <context-param>
        <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
        <param-value>true</param-value>
      </context-param>
      <context-param>
        <param-name>javax.faces.FACELETS_DECORATORS</param-name>
        <param-value>oracle.adfinternal.view.faces.facelets.rich.AdfTagDecorator</param-value>
      </context-param>
      <context-param>
        <param-name>javax.faces.FACELETS_RESOURCE_RESOLVER</param-name>
        <param-value>oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver</param-value>
      </context-param>
      <context-param>
        <param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name>
        <param-value>*.jsf;*.xhtml</param-value>
      </context-param>
      <mime-mapping>
        <extension>swf</extension>
        <mime-type>application/x-shockwave-flash</mime-type>
      </mime-mapping>
      <mime-mapping>
        <extension>amf</extension>
        <mime-type>application/x-amf</mime-type>
      </mime-mapping>
      <listener>
        <listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
      </listener>
      <login-config />
    </web-app>

  • GetConnection from Oracle Database Cloud Service

    I created a table at the internal JCS instance, and tried to create a web service to insert the data into the table. It's a simple insert operation, so I prefer to coding it without JPA or ADF business component.
    So far, the web service works, but it can't connect to database service.
    Here is my code snippet of the web service method which deployed on JCS, and the jndi name is database,
            try {
                Context ctx = new InitialContext();
                DataSource ds = (DataSource)ctx.lookup("database");
                conn = ds.getConnection();
                String sql = "insert into bvrequest(user_id,activity) values(?,?)";
                pstmt = conn.prepareStatement(sql);
                pstmt.setString(1, userid);
                pstmt.setString(2, activity);
                pstmt.executeUpdate();
                return "OK";
    The thrown exception is,
    weblogic.jdbc.extensions.PoolLimitSQLException: weblogic.common.resourcepool.ResourceLimitException: No resources currently available in pool database to allocate to applications, please increase the size of the pool and retry..
    Is it a correct way to use Database Cloud Service? Any suggestion/comment is welcome.
    -Paula

    Hi Paula -
    I think you need to ask this question in the Java Cloud Service forum.  If you are trying to make a connection to a Database Cloud Service from Java outside the Oracle Public Cloud, you cannot do it with JDBC.  You can only use RESTful Web Services from outside the Oracle Public Cloud to access the Oracle Database Cloud.
    Hope this helps.
    - Rick Greenwald

  • Deploy soa suite services to HTTPS using Ant

    All,
    I hope somebody can assist. I have developed an ant script, which deploys to a soa server (using Oracle SOA suite 11 R3). This works great for HTTP, but I need to deploy SOA services to a HTTPS configured soa and weblogic server. I have changed the Ant properties for managed.server.port to 8002 and admin.server.port to 7002.
    I then run my ant script in which I encounter the below fault.
    My understanding of the issue is that the deployed soa service does not have the correct SSL certification for the handshake. Can somebody explain me the changes needed in my ant script for the handshake to work?
    Many Thanks
    SR
    D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\oraclesoa11g\jdeveloper\bin\ant-sca-deploy.xml:150: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:497)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:178)
         at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
         at org.apache.tools.ant.Main.runBuild(Main.java:801)
         at org.apache.tools.ant.Main.startAnt(Main.java:218)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    Caused by: D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\build.xml:191: The following error occurred while executing this line:
    D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\build.xml:324: The following error occurred while executing this line:
    D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\oraclesoa11g\jdeveloper\bin\ant-sca-deploy.xml:150: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:497)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         ... 26 more
    Caused by: D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\build.xml:324: The following error occurred while executing this line:
    D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\oraclesoa11g\jdeveloper\bin\ant-sca-deploy.xml:150: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:497)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         ... 39 more
    Caused by: D:\General\Project\sr\05_Development\svn\AuthAndReg\StrategicAandR\SOA-AR\trunk\deployment\AutoDeployment\oraclesoa11g\jdeveloper\bin\ant-sca-deploy.xml:150: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at oracle.integration.platform.blocks.deploy.servlet.client.ant.DeployCompositeTask.execute(DeployCompositeTask.java:127)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
         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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:179)
         at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1367)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.Main.runBuild(Main.java:801)
         at org.apache.tools.ant.Main.startAnt(Main.java:219)
         ... 2 more
    Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1611)
         at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
         at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1035)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1112)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
         at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
         at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:109)
         at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3366)
         at HTTPClient.HttpOutputStream.closeImpl(HttpOutputStream.java:461)
         at HTTPClient.HttpOutputStream.access$000(HttpOutputStream.java:99)
         at HTTPClient.HttpOutputStream$1.run(HttpOutputStream.java:417)
         at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:666)
         at HTTPClient.HttpOutputStream.close(HttpOutputStream.java:415)
         at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:149)
         at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:321)
         at oracle.integration.platform.blocks.deploy.servlet.client.DeployerHttpClient.sendCompositeArchives(DeployerHttpClient.java:385)
         at oracle.integration.platform.blocks.deploy.servlet.client.DeployerHttpClient.sendRequest(DeployerHttpClient.java:307)
         at oracle.integration.platform.blocks.deploy.servlet.CompositeServletClientBase.sendRequest(CompositeServletClientBase.java:339)
         at oracle.integration.platform.blocks.deploy.servlet.client.ant.DeployCompositeTask.execute(DeployCompositeTask.java:119)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:178)
         at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
         at org.apache.tools.ant.Main.runBuild(Main.java:801)
         at org.apache.tools.ant.Main.startAnt(Main.java:218)
         ... 2 more
    Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285)
         at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)
         at sun.security.validator.Validator.validate(Validator.java:218)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1014)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:125)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:517)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:885)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1113)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
         at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
         at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:109)
         at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3366)
         at HTTPClient.HttpOutputStream.closeImpl(HttpOutputStream.java:461)
         at HTTPClient.HttpOutputStream.access$000(HttpOutputStream.java:99)
         at HTTPClient.HttpOutputStream$1.run(HttpOutputStream.java:418)
         at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:666)
         at HTTPClient.HttpOutputStream.close(HttpOutputStream.java:415)
         at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:150)
         at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:322)
         at oracle.integration.platform.blocks.deploy.servlet.client.DeployerHttpClient.sendCompositeArchives(DeployerHttpClient.java:385)
         at oracle.integration.platform.blocks.deploy.servlet.client.DeployerHttpClient.sendRequest(DeployerHttpClient.java:307)
         at oracle.integration.platform.blocks.deploy.servlet.CompositeServletClientBase.sendRequest(CompositeServletClientBase.java:339)
         at oracle.integration.platform.blocks.deploy.servlet.client.ant.DeployCompositeTask.execute(DeployCompositeTask.java:119)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
         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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.ForEach.executeSequential(ForEach.java:179)
         at net.sf.antcontrib.logic.ForEach.execute(ForEach.java:254)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1367)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.Main.runBuild(Main.java:801)
         at org.apache.tools.ant.Main.startAnt(Main.java:219)
         ... 2 more
    Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
         at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
         at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)
         ... 89 more

    Hi atheek1,
    Thanks for your response. I have tried your suggestion, but I am still receiving the same error.
    Please note I am trying to deploy from my windows machine to my local SOA suite 11g app. One of the problems I noticed that my java home was set to JRockit while weblogic points to the Sun jvm. In weblogic the service is pointed to the follow keystore directory:
    C:\Soa11g\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoIdentity.jks
    C:\Soa11g\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoTrust.jks
    C:\Soa11g\Oracle\MIDDLE~1\JDK160~1\jre\lib\security\cacerts
    I changed my Java home directory to point to the same jvm as weblogic. If I am not mistaking then this should automatically point to the correct server keystore. I tried to deploy after this change and I received the same error. Next step I thought that I possible need to include an additional key store from the environment I deploy from. I have done this using the InstallCert.java as explained below:
    http://wiki.unisa.edu.au/display/AAI/Add+Certificates+to+your+Java+Keystore
    After this I retried and still I receive the same error. I am new with security so I hope you can provide more help. Please note I have only enabled the SSL for the soa-server.
    Many Thanks
    SR

  • Error while deploying decision services on server "bg1ws0044"

    hi'
    I have followed tutorial provided in the sample in the SOA suite
    "C:\product\10.1.3.1\OracleAS_1\bpel\samples\demos\ExpenseRequestApproval"
    for integrating BPEL and business rules, however the after deploying the ant is giving following below error
    I am using JDeveloper studio edition 10.1.3.1.0 and SOA 10.1.3.1.0
    please tell me what is the issue
    thanks
    Yatan
    error:
    Buildfile: D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\ExpenseRequest3\build.xml
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/D:/Oracle-SaaS/Downloads/jdevstudio10131/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] url is file:/D:/Oracle-SaaS/Downloads/jdevstudio10131/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process ExpenseRequest3 on bg1ws0044, port 80
    [deployProcess] Deploying process D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\ExpenseRequest3\output\bpel_ExpenseRequest3_1.0.jar
    [deployProcess] Successfully deployed the process "ExpenseRequest3" on server "bg1ws0044" and port "80"
    deployTaskForm:
    [echo]
    | Deploying workflow form for ExpenseRequest3 on bg1ws0044, port 80
    [deployTaskForm] 09/07/24 15:17:07 Notification ==>Application Deployer for default_ExpenseRequest3_1_0_ExpenseApproval STARTS.
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:07 Notification ==>Copy the archive to C:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\applications\default_ExpenseRequest3_1_0_ExpenseApproval.ear
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:07 Notification ==>Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\applications\default_ExpenseRequest3_1_0_ExpenseApproval.ear begins...
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:07 Notification ==>Unpacking default_ExpenseRequest3_1_0_ExpenseApproval.ear
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:07 Notification ==>Done unpacking default_ExpenseRequest3_1_0_ExpenseApproval.ear
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:07 Notification ==>Unpacking workflowform.war
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Done unpacking workflowform.war
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\applications\default_ExpenseRequest3_1_0_ExpenseApproval.ear ends...
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Starting application : default_ExpenseRequest3_1_0_ExpenseApproval
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Initializing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Initializing EJB container
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Loading connector(s)
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Starting up resource adapters
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Initializing EJB sessions
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Committing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Initialize workflowform begins...
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Initialize workflowform ends...
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Started application : default_ExpenseRequest3_1_0_ExpenseApproval
    [deployTaskForm]
    [deployTaskForm] 09/07/24 15:17:08 Notification ==>Application Deployer for default_ExpenseRequest3_1_0_ExpenseApproval COMPLETES. Operation time: 344 msecs
    [deployTaskForm]
    [deployTaskForm] Successfully deployed form on server "bg1ws0044"
    deployDecisionServices:
    [echo]
    | Deploying decision services for ExpenseRequest3 on bg1ws0044, port 80
    BUILD FAILED
    D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\ExpenseRequest3\build.xml:116: Error while deploying decision services on server "bg1ws0044"
    Total time: 9 seconds

    after "verbose=true"
    this is the error:
    | Deploying decision services for SalesRequest1 on bg1ws0044, port 80
    [deployDecisionServices] Start of deploying decision services.
    [deployDecisionServices] Deploy decision service in directory D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService
    [deployDecisionServices] Start deploying decision service from directory D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService to J2EE context /rules/default/SalesRequest1/1.0/DecisionService
    [deployDecisionServices] Replace placeholders in file D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\wsdl\DecisionService.wsdl
    [deployDecisionServices] Replace placeholders in file D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\wsdl\DecisionService.wsdl done.
    [deployDecisionServices] Replace placeholders in file D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\public_html\GetDecisionServiceInfo.jsp
    [deployDecisionServices] Replace placeholders in file D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\public_html\GetDecisionServiceInfo.jsp done.
    [deployDecisionServices] Start compiling fact type classes in directory D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes
    [deployDecisionServices] Compiling from shell, src=D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes, classpath=D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\lib\ojc.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-oracle.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel-ant.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel-common.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel-thirdparty.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\webservices\lib\orawsdl.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\lib\xmlparserv2.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\lib\xml.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\j2ee\home\lib\oc4j-internal.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\j2ee\home\lib\adminclient.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\bpm\support\files;D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\lib\jdev.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\xml-apis.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\xercesImpl.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\jakarta-oro-2.0.8.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\commons-net-1.3.0.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-xslp.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-xalan1.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-weblogic.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-vaj.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-trax.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-swing.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-stylebook.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-starteam.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-nodeps.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-netrexx.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-launcher.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-junit.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jsch.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jmf.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jdepend.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-javamail.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jai.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-icontract.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-commons-net.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-commons-logging.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-resolver.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-regexp.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-oro.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-log4j.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-bsf.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-bcel.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-antlr.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\jdk\lib\tools.jar
    [deployDecisionServices] Source file exists. Read Java source file names.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/ObjectFactory.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChain.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainType.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainTypeImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequest.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestType.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestTypeImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponse.java to the list of Java sources to compile.
    [deployDecisionServices] Adding D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponseImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Compiled class(es) "D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/ObjectFactory.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChain.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainType.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainTypeImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequest.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestType.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestTypeImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponse.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponseImpl.java"
    [deployDecisionServices] Error in ant execution: Java compilation failed.
    Failed to compile file(s) "D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/ObjectFactory.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChain.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainType.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainTypeImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequest.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestType.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestTypeImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponse.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponseImpl.java".
    Exception reported is: D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated\SalesRequestTypeImpl.java:87: Class generated.ItemsType not found.
    return (ItemsType) super.getElement("items", "http://xmlns.oracle.com/ExpenseRequest", (oracle.xml.jaxb.JaxbNode)obj, 4);
    ^
    1 error
    Please verify that file D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/ObjectFactory.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChain.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainType.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesApprovalChainTypeImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequest.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestType.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesRequestTypeImpl.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponse.java, D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\decisionservices\DecisionService\war\WEB-INF\classes\generated/SalesResponseImpl.java is valid java file or if all required libraries are included in your classpath.
    classpath: D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\lib\ojc.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-oracle.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel-ant.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel-common.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\lib\orabpel-thirdparty.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\webservices\lib\orawsdl.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\lib\xmlparserv2.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\lib\xml.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\j2ee\home\lib\oc4j-internal.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\j2ee\home\lib\adminclient.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\integration\bpm\support\files;D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\lib\jdev.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\xml-apis.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\xercesImpl.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\jakarta-oro-2.0.8.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\commons-net-1.3.0.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-xslp.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-xalan1.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-weblogic.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-vaj.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-trax.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-swing.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-stylebook.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-starteam.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-nodeps.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-netrexx.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-launcher.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-junit.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jsch.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jmf.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jdepend.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-javamail.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-jai.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-icontract.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-commons-net.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-commons-logging.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-resolver.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-regexp.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-oro.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-log4j.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-bsf.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-apache-bcel.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\ant\lib\ant-antlr.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\jdk\lib\tools.jar
    BUILD FAILED
    D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\mywork\BPELIntegrationwithBusinessRules\SalesRequest1\build.xml:116: Error while deploying decision services on server "bg1ws0044"
    Total time: 9 seconds

  • Issue with ADF security enabled App deployed to java cloud services

    Hi,
    Here are the instance details:
    Jdev cloud build:JDEVADF_11.1.1.6.0CLOUD_GENERIC_121118.1600.6229
    Java cloud service version:13.1
    I have created a simple ADF Application & enabled security by editing web.xml:
    <login-config>
        <auth-method>CLIENT-CERT</auth-method>
        <realm-name>default</realm-name>
      </login-config>
      <security-role>
        <description>manager</description>
        <role-name>manager</role-name>
      </security-role>
    Then I have tried to deploy this Application to Java cloud services.Deployment works fine.
    I have 2 users created in Identity console- x & y.In my case x user has manager role enabled & y doesn't have manager role enabled.
    Now when I try to access the above deployed ADF Application with 'y' user,the page is accessible.
    My question here is that since 'y' user does not have the privilege he should not be able to access this page,could you please let me know if am missing something?
    Thanks.

    Hi,
    You may refer to the documentation available in the link: Developing Applications for Oracle Java Cloud Service - Release 13.1
    Please refer to the section: Securing Java EE Applications- Roles and Constraints
    Hope this helps
    Regards,
    Santhosh

  • Deploying ear On Java Cloud

    Hi
    I have application which is developed in Jdeveloper 11.1.2.2
    and same application is deployed in weblogic11g and running fine
    same application i tried to deployed in java cloud but i got following errors in log.
    2012-12-26 04:22:27 CST: ERROR - There are 103 error(s) found for PIS.ear
    2012-12-26 04:22:27 CST: ERROR - Path:PIS.ear (103 Errors)
    2012-12-26 04:22:27 CST: ERROR - Path:PIS.ear (103 Errors)
    2012-12-26 04:22:27 CST: ERROR - Path:pisWAR.war (103 Errors)
    2012-12-26 04:22:27 CST: ERROR - Class:ziic.util.DBManager (4 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.sql.DriverManager" not allowed.
    (Line No:37 Method
    Name:java.sql.DriverManager->registerDriver(java.sql.Driver))
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.sql.DriverManager" not allowed.
    (Line No:38 Method
    Name:java.sql.DriverManager->getConnection(java.lang.String,
    java.lang.String, java.lang.String))
    2012-12-26 04:22:27 CST: ERROR - 3:Type "java.sql.DriverManager" not allowed.
    (Line No:56 Method
    Name:java.sql.DriverManager->registerDriver(java.sql.Driver))
    2012-12-26 04:22:27 CST: ERROR - 4:Type "java.sql.DriverManager" not allowed.
    (Line No:57 Method
    Name:java.sql.DriverManager->getConnection(java.lang.String,
    java.lang.String, java.lang.String))
    2012-12-26 04:22:27 CST: ERROR - Class:ziic.xmlengine.controller.XmlHandler (4 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.sql.DriverManager" not allowed.
    (Line No:308 Method
    Name:java.sql.DriverManager->registerDriver(java.sql.Driver))
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.sql.DriverManager" not allowed.
    (Line No:309 Method
    Name:java.sql.DriverManager->getConnection(java.lang.String,
    java.lang.String, java.lang.String))
    2012-12-26 04:22:27 CST: ERROR - 3:Type "java.sql.DriverManager" not allowed.
    (Line No:331 Method
    Name:java.sql.DriverManager->registerDriver(java.sql.Driver))
    2012-12-26 04:22:27 CST: ERROR - 4:Type "java.sql.DriverManager" not allowed.
    (Line No:332 Method
    Name:java.sql.DriverManager->getConnection(java.lang.String,
    java.lang.String, java.lang.String))
    2012-12-26 04:22:27 CST: ERROR - Path:WEB-INF****-5.3.2.jar (95 Errors)
    2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.PdfEncryption (2 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.lang.Runtime" not allowed.
    (Line No:486 Method Name:java.lang.Runtime->getRuntime())
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.lang.Runtime" not allowed.
    (Line No:486 Method Name:java.lang.Runtime->freeMemory())
    2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.RandomAccessFileOrArray (8 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.nio.ByteBuffer" not allowed.
    (Return type at method:getNioByteBuffer
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Line No:696 Field Name:java.nio.channels.FileChannel.MapMode->READ_ONLY)
    2012-12-26 04:22:27 CST: ERROR - 3:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Line No:696 Field Name:java.nio.channels.FileChannel.MapMode->READ_ONLY
    ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
    2012-12-26 04:22:27 CST: ERROR - 4:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:696 Method Name:java.nio.channels.FileChannel->size())
    2012-12-26 04:22:27 CST: ERROR - 5:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:696 Method
    Name:java.nio.channels.FileChannel->map(java.nio.channels.FileChannel.
    MapMode, long, long))
    2012-12-26 04:22:27 CST: ERROR - 6:Type "java.nio.ByteBuffer" not allowed.
    (Line No:698 Method Name:java.nio.ByteBuffer->wrap(byte[]))
    2012-12-26 04:22:27 CST: ERROR - 7:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:693 Variable Name:java.nio.channels.FileChannel channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 8:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:695 Variable Name:java.nio.channels.FileChannel channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.crypto.IVGenerator (2 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.lang.Runtime" not allowed.
    (Line No:57 Method Name:java.lang.Runtime->getRuntime())
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.lang.Runtime" not allowed.
    (Line No:57 Method Name:java.lang.Runtime->freeMemory())
    2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.MappedRandomAccessFile.1 (5 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.nio.ByteBuffer" not allowed.
    (Signature for field:val$buffer ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.nio.ByteBuffer" not allowed.
    (Argument signature at index (starting with 0):0 for method:<init>
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 3:Type "java.nio.ByteBuffer" not allowed.
    (Line No:256 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile.1->val$buffer
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 4:Type "java.nio.ByteBuffer" not allowed.
    (Line No:259 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile.1->val$buffer
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 5:Type "java.nio.ByteBuffer" not allowed.
    (Line No:261 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile.1->val$buffer
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.MappedRandomAccessFile (49 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.nio.channels.FileChannel" not allowed.
    (Signature for field:channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.nio.MappedByteBuffer" not allowed.
    (Signature for field:mappedBuffers ->Array component-type
    ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 3:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:66 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 4:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Line No:82 Field Name:java.nio.channels.FileChannel.MapMode->READ_WRITE)
    2012-12-26 04:22:27 CST: ERROR - 5:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Line No:82 Field Name:java.nio.channels.FileChannel.MapMode->READ_WRITE
    ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
    2012-12-26 04:22:27 CST: ERROR - 6:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:82 Method
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->init(java.nio.
    channels.FileChannel, java.nio.channels.FileChannel.MapMode))
    2012-12-26 04:22:27 CST: ERROR - 7:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Line No:86 Field Name:java.nio.channels.FileChannel.MapMode->READ_ONLY)
    2012-12-26 04:22:27 CST: ERROR - 8:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Line No:86 Field Name:java.nio.channels.FileChannel.MapMode->READ_ONLY
    ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
    2012-12-26 04:22:27 CST: ERROR - 9:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:86 Method
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->init(java.nio.
    channels.FileChannel, java.nio.channels.FileChannel.MapMode))
    2012-12-26 04:22:27 CST: ERROR - 10:Type "java.nio.channels.FileChannel" not allowed.
    (Argument signature at index (starting with 0):0 for method:init
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 11:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Argument signature at index (starting with 0):1 for method:init
    ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
    2012-12-26 04:22:27 CST: ERROR - 12:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:101 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 13:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:104 Method Name:java.nio.channels.FileChannel->size())
    2012-12-26 04:22:27 CST: ERROR - 14:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:109 Type Name:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 15:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:109 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 16:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:114 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 17:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:114 Method
    Name:java.nio.channels.FileChannel->map(java.nio.channels.FileChannel.
    MapMode, long, long))
    2012-12-26 04:22:27 CST: ERROR - 18:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:115 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 19:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:115 Method Name:java.nio.MappedByteBuffer->load())
    2012-12-26 04:22:27 CST: ERROR - 20:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:101 Variable Name:java.nio.channels.FileChannel channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 21:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Line No:101 Variable Name:java.nio.channels.FileChannel.MapMode mapMode
    ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
    2012-12-26 04:22:27 CST: ERROR - 22:Type "java.nio.channels.FileChannel" not allowed.
    (Return type at method:getChannel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 23:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:135 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 24:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:147 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 25:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:150 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 26:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:150 Method Name:java.nio.MappedByteBuffer->limit())
    2012-12-26 04:22:27 CST: ERROR - 27:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:153 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 28:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:153 Method Name:java.nio.MappedByteBuffer->get(int))
    2012-12-26 04:22:27 CST: ERROR - 29:Type "java.nio.BufferUnderflowException" not allowed.
    (Line No:158 Variable Name:java.nio.BufferUnderflowException e
    ->OnClassSignature:java.nio.BufferUnderflowException)
    2012-12-26 04:22:27 CST: ERROR - 30:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:176 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 31:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:178 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 32:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:179 Method Name:java.nio.MappedByteBuffer->limit())
    2012-12-26 04:22:27 CST: ERROR - 33:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:181 Method Name:java.nio.MappedByteBuffer->position(int))
    2012-12-26 04:22:27 CST: ERROR - 34:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:182 Method Name:java.nio.MappedByteBuffer->remaining())
    2012-12-26 04:22:27 CST: ERROR - 35:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:183 Method Name:java.nio.MappedByteBuffer->get(byte[], int, int)
    2012-12-26 04:22:27 CST: ERROR - 36:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:178 Variable Name:java.nio.MappedByteBuffer currentBuffer
    ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 37:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:224 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 38:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:225 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 39:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:226 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 40:Type "java.nio.ByteBuffer" not allowed.
    (Line No:226 Method
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->clean(java.nio.
    ByteBuffer))
    2012-12-26 04:22:27 CST: ERROR - 41:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:227 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 42:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:231 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 43:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:232 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 44:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:232 Method Name:java.nio.channels.FileChannel->close())
    2012-12-26 04:22:27 CST: ERROR - 45:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:233 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 46:Type "java.nio.ByteBuffer" not allowed.
    (Argument signature at index (starting with 0):0 for method:clean
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 47:Type "java.nio.ByteBuffer" not allowed.
    (Line No:252 Method Name:java.nio.ByteBuffer->isDirect())
    2012-12-26 04:22:27 CST: ERROR - 48:Type "java.nio.ByteBuffer" not allowed.
    (Line No:255
    Constructor:com.itextpdf.text.pdf.MappedRandomAccessFile.1(java.nio.
    ByteBuffer))
    2012-12-26 04:22:27 CST: ERROR - 49:Type "java.nio.ByteBuffer" not allowed.
    (Line No:252 Variable Name:java.nio.ByteBuffer buffer
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.CompareTool (15 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.lang.Runtime" not allowed.
    (Line No:108 Method Name:java.lang.Runtime->getRuntime())
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.lang.Runtime" not allowed.
    (Line No:108 Method Name:java.lang.Runtime->exec(java.lang.String))
    2012-12-26 04:22:27 CST: ERROR - 3:Type "java.lang.Process" not allowed.
    (Line No:109 Method Name:java.lang.Process->getInputStream())
    2012-12-26 04:22:27 CST: ERROR - 4:Type "java.lang.Process" not allowed.
    (Line No:110 Method Name:java.lang.Process->getErrorStream())
    2012-12-26 04:22:27 CST: ERROR - 5:Type "java.lang.Process" not allowed.
    (Line No:120 Method Name:java.lang.Process->waitFor())
    2012-12-26 04:22:27 CST: ERROR - 6:Type "java.lang.Runtime" not allowed.
    (Line No:122 Method Name:java.lang.Runtime->getRuntime())
    2012-12-26 04:22:27 CST: ERROR - 7:Type "java.lang.Runtime" not allowed.
    (Line No:122 Method Name:java.lang.Runtime->exec(java.lang.String))
    2012-12-26 04:22:27 CST: ERROR - 8:Type "java.lang.Process" not allowed.
    (Line No:123 Method Name:java.lang.Process->getInputStream())
    2012-12-26 04:22:27 CST: ERROR - 9:Type "java.lang.Process" not allowed.
    (Line No:124 Method Name:java.lang.Process->getErrorStream())
    2012-12-26 04:22:27 CST: ERROR - 10:Type "java.lang.Process" not allowed.
    (Line No:133 Method Name:java.lang.Process->waitFor())
    2012-12-26 04:22:27 CST: ERROR - 11:Type "java.lang.Runtime" not allowed.
    (Line No:159 Method Name:java.lang.Runtime->getRuntime())
    2012-12-26 04:22:27 CST: ERROR - 12:Type "java.lang.Runtime" not allowed.
    (Line No:159 Method Name:java.lang.Runtime->exec(java.lang.String))
    2012-12-26 04:22:27 CST: ERROR - 13:Type "java.lang.Process" not allowed.
    (Line No:160 Method Name:java.lang.Process->getErrorStream())
    2012-12-26 04:22:27 CST: ERROR - 14:Type "java.lang.Process" not allowed.
    (Line No:165 Method Name:java.lang.Process->waitFor())
    2012-12-26 04:22:27 CST: ERROR - 15:Type "java.lang.Process" not allowed.
    (Line No:108 Variable Name:java.lang.Process p
    ->OnClassSignature:java.lang.Process)
    2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.PdfEncodings (14 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.nio.CharBuffer" not allowed.
    (Line No:189 Method Name:java.nio.CharBuffer->wrap(char[]))
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.nio.CharBuffer" not allowed.
    (Line No:190 Method
    Name:java.nio.charset.CharsetEncoder->encode(java.nio.CharBuffer))
    2012-12-26 04:22:27 CST: ERROR - 3:Type "java.nio.ByteBuffer" not allowed.
    (Line No:191 Method Name:java.nio.ByteBuffer->rewind())
    2012-12-26 04:22:27 CST: ERROR - 4:Type "java.nio.ByteBuffer" not allowed.
    (Line No:192 Method Name:java.nio.ByteBuffer->limit())
    2012-12-26 04:22:27 CST: ERROR - 5:Type "java.nio.ByteBuffer" not allowed.
    (Line No:194 Method Name:java.nio.ByteBuffer->get(byte[]))
    2012-12-26 04:22:27 CST: ERROR - 6:Type "java.nio.CharBuffer" not allowed.
    (Line No:189 Variable Name:java.nio.CharBuffer cb
    ->OnClassSignature:java.nio.CharBuffer)
    2012-12-26 04:22:27 CST: ERROR - 7:Type "java.nio.ByteBuffer" not allowed.
    (Line No:190 Variable Name:java.nio.ByteBuffer bb
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 8:Type "java.nio.CharBuffer" not allowed.
    (Line No:246 Method Name:java.nio.CharBuffer->wrap(char[]))
    2012-12-26 04:22:27 CST: ERROR - 9:Type "java.nio.CharBuffer" not allowed.
    (Line No:247 Method
    Name:java.nio.charset.CharsetEncoder->encode(java.nio.CharBuffer))
    2012-12-26 04:22:27 CST: ERROR - 10:Type "java.nio.ByteBuffer" not allowed.
    (Line No:248 Method Name:java.nio.ByteBuffer->rewind())
    2012-12-26 04:22:27 CST: ERROR - 11:Type "java.nio.ByteBuffer" not allowed.
    (Line No:249 Method Name:java.nio.ByteBuffer->limit())
    2012-12-26 04:22:27 CST: ERROR - 12:Type "java.nio.ByteBuffer" not allowed.
    (Line No:251 Method Name:java.nio.ByteBuffer->get(byte[]))
    2012-12-26 04:22:27 CST: ERROR - 13:Type "java.nio.CharBuffer" not allowed.
    (Line No:246 Variable Name:java.nio.CharBuffer cb
    ->OnClassSignature:java.nio.CharBuffer)
    2012-12-26 04:22:27 CST: ERROR - 14:Type "java.nio.ByteBuffer" not allowed.
    (Line No:247 Variable Name:java.nio.ByteBuffer bb
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - PIS.ear Failed with 103 error(s).
    2012-12-26 04:22:27 CST: Whitelist validation failed.
    2012-12-26 04:22:27 CST: "API Whitelist" complete: status FAILED
    If anybody knows solution let me know thanks in advance

    Hello,
    What you're seeing is whitelist violations. These are APIs which may be perfectly fine in an on-premise implementation, but are not compatible with the Java Cloud Service (JCS). See http://docs.oracle.com/cloud/CSJSU/dev_app.htm#BCEEFEBF for more information about the JCS whitelist. In particular, I see violations in your error due to direct SQL access, non-blocking IO, and so on.
    To deploy your application to the JCS, you'll need to remove these APIs and dependencies. You can also use the whitelist tool included with the Cloud SDK to check your application before you attempt to deploy it to the cloud.
    Hope that helps!
    Best regards,
    Chris Loschen
    Oracle Java Cloud Service Support

  • Need to Import an application built using Oracle Service Bus on Oracle Public Cloud

    I have built an application using Oracle Service Bus (OSB) eclipsed IDE which transfers file from server1 to server2, reads the transferred file, transforms it into a payload and calls a webservice. I have tested this application locally by installing Oracle Service Bus on one on my servers.
    I have java as a service account on Oracle Public Cloud. I would like to import the above application onto Oracle Public Cloud. I am not sure if the Weblogic domain on Oracle Public Cloud has enabled OSB or not.
    Let me know if someone can help me.

    Hello,
    Oracle Service Bus is currently not supported in Oracle Java Cloud Service.
    Oracle Java Cloud Service supports deployment of JavaEE and ADF applications.
    -- Nilesh

Maybe you are looking for

  • Help with scripting

    Hi Iam using Data merge in indesign to produce some school reports to print for pupils in year 11 there are 22 subjects but some of the children only do say 8 of those 22 subjects. i need to be able to automatically delete tables text boxes and pages

  • Viewer crashes if any data exists in field

    Hi there, Wonder if you would be able to help me out. We are doing a very simple query onto the database using a Data Template (see below). We've set the 3 parameters and Auto Generated a Layout. When viewing this report (clicking View) all is fine w

  • ITunes cannot find my External HD Library

    I have had a few problems, some(all) of my own making I admit. I was using Doug's script iTunes Library Manager and kind of dug(no pun intended) a hole in getting it to work right. Emailing Doug has had no answer in four days(vacation?), I then took

  • Iphone 4s calender one day off last week in October and beyond

    My iphone 4s for the last week in October and beyond is one day off(ahead of schedule) after syncing with outlook?

  • Why is the purchasing option down and when will it be back up?

    I'm trying to buy a record and it keeps saying they credit card option is down right now.  when will it be back up?