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

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

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

  • Folder structure for Java Cloud Service applications

    I have a Tomcat application that I wish to deploy. I have created a war file for this and included those folders as in the visitors.war (as shown in the demo) and also included MANIFEST.MF and also META-INF folder in the WEB-INF with persistence.xml just as in the visitors.war. But still, I am getting the following problem.
    There was a failure when processing annotations for application /customer/applications/sample/app/sample.war. Please make sure that the annotations are valid. The error is Class bytes found but defineClass()failed for: 'MainSer' “
    I haven't used an annotations in the class. I am stumped with this error.
    Kindly, reply me.

    Hello,
    please ensure your application complies with WLS 10.3.6 expectations "on premises", where your application might be easier to develop and debug.
    You might also have a corrupted class in your delivery...
    Regards
    Patrick.

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

  • 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

  • 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

  • To create a database link from oracle to sqlserver with NT authentication

    Hi ,
    I need to create a database link from oracle 9i to sql server database with windows authentication.I dont have the database username and password instead the access is given to my NT ID and password.So can anyone provide me the information about creating a dblink to sql server with windows authentication.
    Thanks

    Oracle is attempting to log in to SQL Server using NT authentication.
    The Oracle process, however, is running presumably with a local admin account (normal for a Windows service). SQL Server has no idea what this local account is, so it denies the login.
    You could change the Oracle service to run as a known user (presumably not as your Windows ID but some other Windows ID you create explicitly for Oracle) and then grant that Windows ID in SQL Server appropriate privileges. That would mean, though, that when you queried tables over the database link, you'd be using that new Windows ID's privileges on SQL Server, not your Windows ID's privileges.
    As I've said, though, this is a general architectural limitation for a multi-tier architecture. The end system (SQL Server) generally has no idea who the end user (your Windows ID) is when that user is coming through a middle tier (Oracle). So it cannot apply end-user permissions to connections created by the middle tier.
    Justin

  • Create a Database Link from Oracle to MYSQL on windows

    Hi
    I need to create a database link from oracle to mysql database on windows to fetch some records.Can anyone help me on this?

    Search for Transparent Gateways, Heterogeneous Services...
    The Oracle SQL Developer have drivers to Access, MySQL and SQL Server.

  • Could not run the bookstore1 example from the Java Web Services Tutorial

    The bookstore1 servlets example from the Java Web Services Tutorial (issue Aug 1, 2002) was built and deployed successfully by using the deploytool (following the steps described on pages 498ff of the tutorial).
    After deploying the application the Tomcat Web Application Manager shows the entry:
    /bookstore1:stopped:0:D:\Programme\Java\tomcat\jakarta-tomcat-4.1.8\work\Standalone\localhost\manager\bookstore1.war
    when entering the command: http://localhost:8080/manager/list.
    After entering the command: http://localhost:8080/manager/start?path=/bookstore1, the (uncomplete) message appears:
    FAIL - Application at context path /bookstore1 could not
    It should be noted that I was able to build and deploy the application GSApp (chapter 3 of the tutorial) successfully.

    Did you set up the database as described in
    http://java.sun.com/webservices/docs/1.0/tutorial/doc/WebApp13.html#69868

  • Creation of database link from oracle to sql server 2000

    Hi
    I need to create a database link from oracle to sql server 2000.

    Assuming your Oracle database is running on Windows, you can set up a database link using ODBC using Heterogeneous Services and Generic Connectivity, but there are some functional limitations (i.e. no two-phase commits). If you can live with those limitations but aren't on Windows, you can generally purchase an ODBC driver for your operating system that will connect to SQL Server through someone like DataDirect and still use Generic Connectivity. If you cannot live with those limitations, you can purchase one of Oracle's Transparent Gateway products (though this can get somewhat pricey).
    What version of Oracle are you on?
    What operating system(s) are you using?
    What are you going to use the database link for?
    Justin

  • Is there a way to restart my Java cloud service? What are "non-dynamic configuration changes"?

    I am trying to deploy an ADF application to my trial instance of Java cloud, I am getting the following error:
    2013-10-15 08:24:18 CDT: Deploy Application started
    2013-10-15 08:24:19 CDT: weblogic.management.DeploymentException: [Deployer:149189]An attempt was made to execute the 'deploy' operation on an application named 'xyzAPP' that is not currently available. The application may have been created after non-dynamic configuration changes were activated. If so, the operation can not be performed until server is restarted so that the application will be available.
    2013-10-15 08:24:19 CDT: WL action state: failed
    2013-10-15 08:24:19 CDT: Action FAILED with WL action state: failed
    2013-10-15 08:24:19 CDT: Check the server log of your Java cloud service for more info about the failure.
    There are tutorials available for deploying your first ADF app to the cloud, which I followed carefully. Except for one thing, the ADF app was originally developed in Jdeveloper 11.1.2.4 and then migrated to 11.1.1.6. Could that be what is causing the problem? How can I try to troubleshoot this?

    Hi,
    You will have to raise an sr towards the hosting team to perform the restart.
    Kind regards,
    Flori

  • How to distribute Oracle Argus Cloud Service?

    Hi,
    In order to apply to distribute Oracle Argus Cloud Service Knowledge Zone products, you must meet the following criteria:
    Be a Gold, Platinum, or Diamond member of the Oracle PartnerNetwork in good standing with a valid OPN Agreement.
    Have a valid Full Use Program Distribution Agreement (FUDA) with Oracle, or be in the process of applying for one.
    Have a valid Cloud Services Distribution Addendum (CSDA) to the FUDA Agreement, or be in the process of applying for one.
    Have met the resale competency criteria set forth below.
    Job Role
    Assessment
    Staff Criteria
    Sales
    Oracle Health Sciences Cloud Service Solutions Sales Specialist 
    Guided Learning Path
    Assessment
    2
    Sales
    Oracle Argus Standard Edition 7 Sales Specialist 
    Guided Learning Path
    Assessment
    1
    Sales
    Oracle Argus Enterprise Edition 7 Sales Specialist 
    Guided Learning Path
    Assessment
    1
    PreSales
    Oracle Argus Standard Edition 7 PreSales Specialist 
    Guided Learning Path
    Assessment
    1
    PreSales
    Oracle Argus Enterprise Edition 7 PreSales Specialist 
    Guided Learning Path
    Assessment
    1
    Support
    General Product Support Specialist v4.0 
    Guided Learning Path
    Assessment
    1
    For more detailed information for Oracle Argus Cloud Service product, please refer to OPN site.
    Thanks.
    Yu Cui

    Hi Tarek Fathy,
    Oracle Documents Cloud Service has the capability to integrate with on premise or cloud applications via a published REST API. A new version of this API has recently been released. You can find deals on the API at:
    http://docs.oracle.com/cloud/latest/documentcs_welcome/WCCCD/odcs-getstarted.htm#WCCCD3106
    If you require assistance with integration, please don't hesitate to contact me.
    Regards
    Craig
    Oracle Documents Cloud Service

  • Database link from oracle to db2

    Can any help me to create a database link from oracle to db2. It would be greatful if you can provide me detail steps

    <p>You don't give us much information to go on. What version of Oracle? What platform is DB2 running on? You might want to take a look at <b>this</b>. You might also look <b>here</b> and <b>here</b>.</p>
    Tom

  • Creating Database Link from Oracle to SQL Server

    I am trying to create a database link from Oracle to SQL Server, and the documentation is about as clear as mud to me. Can anyone send me clear instructions on exactly what I need to do? What needs to be in tnsnames.ora and listener.ora files? Is there anything other than those two files that needs to be set up? Do I set up an ODBC connection? Anything else? I want to execute queries against a SQL Server database and load data into Oracle database.
    Thanks so much,
    Susan

    These are the instructions from an old document I created. The steps are same for SQL Server and Sybase. Hope it helps.
    The 9i Transparent Gateway Software is in Oracle Software CD -> oracle9i database -> Custom -> Oracle Transparent Gateways
    The gateway can be installed on the same machine as the Oracle database or
    on the Sybase server or on a third machine as a stand-alone.
    We have installed the gateway software in one of oracle database
    servers in a separate oracle home.
    These are the steps involved in configuring a gateway to a Sybase database
    1.     Install Sybase client and Gateway software on the Gateway Server
    2.     Configure <initsidfile> in the Gateway Server's <gatewayhome>
         /u00/app/oracle/product/9.2.0/tg4sybs/admin/init<gatewaysid>.ora
    Sybase server and database information is required for this step.
    eg: HS_FDS_CONNECT_INFO=USTRUD01.uwd
    3.     Add an entry in listener.ora in <listnenerhome>
         (/u00/app/oracle/product/9.0.1/network/admin/listener.ora) for the <gatewaysid>
    4.     Edit the tnsnames file (/u00/app/oracle/product/9.0.1/network/admin/tnsnames.ora)
    to add an entry <tnsalias> for the <gatewaysid>
    5.     Create a database link to the Sybase database in the oracle database.
    The steps for creating the database link are
    a. create a login oracle_tgw in the sybase server
    b. add the user to the sybase database with the necessary privilege on the tables
    c. create the database link in the required oracle database using the command
         "create public database link <dblinkname> connect to oracle_tgw identified by password using 'tnsalias'; "
    6.     Restart the gateway listener.

Maybe you are looking for