JSTL On Oracle Java Cloud

I am trying to use JSTL tags in a JSP page but keep getting errors of the following nature.
jstl.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
I see JSTL 1.2 on the whitelist, so this should have worked ok.
BTW the JSP works fine if I manually add the JSTL jar files to my lib. However that kinds of defeats the purpose of JSTL.
I would have expected the tags to work without me having to add any jar files.
Please let me know.
Thanks,
Harshad

Harshad ,
Have you added JSTL shared library in your Weblog.xml deployment descriptor ?
Please refer to Configuring JSF and JSTL Libraries - 11g Release 1 (10.3.6)

Similar Messages

  • 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

  • Unable to create connection to the Oracle Java Cloud server

    Hi All,
    I am trying to deploy simple ADF application to Oracle Cloud.
    I am successfully transfered HR schema to my database cloud service and now am trying to create a connection to the oracle java cloud service instance
    but it is failing to create a connection to the cloud server and throwing the error message
    Testing Cloud-Admin                    ... failed.
    listApplications failed.
    Check username, password, domain, instance.
    Check cloud sdk location & version: Tools->Preferences->Oracle Cloud
    0 of 1 tests successful.
    MyService details are as follows
    JDEV : Build JDEVADF_11.1.1.6.0CLOUD_GENERIC_121118.1600.6229
    Cloud version: 13.2.2.0.0
    I am pretty sure , i am using proper credentials since am able to java cloud service console with same credentials.
    Please help me out on this.
    Thanks

    Hi Thanks for the reply
    I check check-box of proxy settings and restarted the jdeveloper and tried again but still it throws the same error? one doubt here...what all we need to include / exclude in our proxy settings...
    and the I tried providing service name as both java and javatrial8477 but no luck i followed the same steps which are mentioned in the below document
    Part 2: Deploying ADF Applications to Oracle Java Cloud
    Do i need to do any other configuration? Or i can directly deploy my ear file to java service console rt instead of creating connection tot the server from IDE.
    Regards,
    Kotresh

  • 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

  • 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.

  • 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/

  • 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

  • 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>

  • When will oracle public cloud be available ????

    I have filled the registration at https://cloud.oracle.com/mycloud/f?p=service:home:0
    then I was going to hear from them by mail
    that was yesterday, is https://cloud.oracle.com/mycloud/f?p=service:home:0 available now ?
    Tks

    well i found this in the "Resources FAQ, Architecture, and Videos" section in the cloud site:
    "*How can I start using Oracle Cloud?*
    The Oracle Fusion CRM Cloud Service and Oracle Fusion HCM Cloud Service are currently available. P*lease engage your Oracle sales representative for more information and service access.*
    *Oracle Database and Oracle Java Cloud Service*, and Oracle Social Network are now available under *"preview availability"*. For details on how to subscribe, please follow the instructions on cloud.oracle.com or contact your Oracle sales representative.
    What does "preview availability" of Oracle Cloud mean?
    Oracle Database Cloud Service, Oracle Java Cloud Service and Oracle Social Network are currently in "preview availability" phase globally. During this phase, customers can register for access to these services on cloud.oracle.com. *Oracle will activate these services over time* and will notify the registrants accordingly.
    So I think this answer the questions and live them open in the same time :)
    Edited by: user10634144 on Jun 19, 2012 5:07 AM

  • 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

  • Check it out! The Oracle Marketing Cloud is officially on social.

    The Oracle Marketing Cloud is officially on social media. You can now follow us on:
    Facebook
    LinkedIn
    Twitter
    Google+
    Follow us here to get all the latest updates from the Marketing Cloud.

    Hi Thanks for the reply
    I check check-box of proxy settings and restarted the jdeveloper and tried again but still it throws the same error? one doubt here...what all we need to include / exclude in our proxy settings...
    and the I tried providing service name as both java and javatrial8477 but no luck i followed the same steps which are mentioned in the below document
    Part 2: Deploying ADF Applications to Oracle Java Cloud
    Do i need to do any other configuration? Or i can directly deploy my ear file to java service console rt instead of creating connection tot the server from IDE.
    Regards,
    Kotresh

  • 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

  • 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

  • Unable to redeploy ADF app and Java Cloud Console has errors

    Hi,
    I was redirected to this forum by the Oracle Cloud chat.
    I have trouble redeploying an ADF app. Yesterday the Virus-scan failed when deploying from Jdev 11.1.1.6 and directly from the Cloud Console. Today at first nothing seems to happen when trying to deploy from Jdev - it just blocks jdeveloper - but after 19 minutes and 33 secs it completed. The App is not working even though it may have completed the deploy.
    When trying to look at the Java Cloud Console both the "Data Sources"-portlet says "Error getting Data Sources" and the "Java Cloud Service Jobs"-portlet says "An error occurred while retrieving Java Cloud Service Jobs".
    My identity domain is "triala2kx"
    Any ideas?
    Best regards
    Kim

    I am experiencing the same stuck job on my java cloud instance - can Oracle support reset my job
    If I try to start/stop/redeploy or add an application I get the following error
    "Information
      The operation cannot be invoked because the service is running Java Cloud Service Job 170371. Wait for the job to complete, then re-run the operation."
    https://forums.oracle.com/thread/2548962
    https://forums.oracle.com/thread/2538152
    thank you
    /michael

Maybe you are looking for

  • Read last period of infotype without logical database

    Hi, I'm looking for a FM that retrieves last period of one infotype without using logical database pnp, so rp-provide-from-last isn't a solution Now, I'm using a home made solucion: First I use HR_READ_INFOTYPE function to read all periods of infotyp

  • Customer Credit limit and Exposure

    Dear Experts, I have an issue regading Customer Credit limit and Exposure in f.31. My customer have security deposit it is including in customer's credit exposure. My question is  this correct to show customer credit exposure along with spl gl indica

  • Related to addon

    how can we connect our application in vb.net with database to fetch data. Or let 1.)we have textboxes on form using screen painter 2.)and a table named usertable now fetch the data from table and show it in textboxes using user-id

  • Authorization  needed at GRN level

    Hi friends, In my company we are using Release strategy for purchase order. Now authorization is  needed at GRN level before invoice is paid. Is that possible. kindly give us solution. Regards, Krishna

  • Illegal constant pool type??

    Hi there, Anyone knows what's going on here????? any help appreciated! [java] java.lang.ClassFormatError: com/bellsouth/estore/cbs/sbvs/relatedaccount/ejb/RelatedAccountServiceBean (Illegal constant pool type] [java] at java.lang.ClassLoader.defineCl