javacloud.jar CLI add-datasource-jndiname

Hello people,

I'm trying my hands on the CLI commands for the javacloud SDK and I'm fighting to identify which user name is required for the execution of any command?

I used:

1 id like my name identitydomain

2. If like my associated service name javacloud or the database

User name; I used my account, SFTP and field SFTP service for the instance of the database and java, but I always get the error message "unknown user or password" message.

Please advise what username must be used for the CLI commands.

Thank you very much

For reference, the command I use to create a data source is:

java-jar javacloud.jar - add-datasource-jndiname - of the username-password - identitydomain - - dc serviceinstance - httpproxy - jndiname test

where:

  • / / / are the same details that I use to connect to the web INTERFACE
  • is the java instance name, something like 'javatrialXXXX '.
  • is the proxy that I use in my browser too

--

Jani Rautiainen

Relationship with the developers of Applications in fusion

https://blogs.Oracle.com/fadevrel/

Tags: Cloud Computing

Similar Questions

  • queue tree java applet usually run in admin add datasource

    Hi people

    I just installed a version of cf8 developers in a 32-bit version of windows 7.

    When I try and add a new data source I get an error saying that the applet (file tree) is not installed

    I tried just about everything I can think of?

    I have the same version in another computer with XP in it and it works very well

    Damn win7 @# $@ #$@ #$@ $ (lol)

    Any suggestion would be appreciated

    Thanks in advance

    GrabIt

    You say you have tried just about everything that you can think, but you don't say what it was. That said, the applet requires Java client-side work on your computer. You may need to install/reinstall Java, or try another browser.

    Dave Watts, CTO, Fig Leaf Software

  • Download platform.jar net_rim_bb_qm?

    I want to ask where to download net_rim_bb_qm platform.jar to add external libraries of pots (Messenger of connected blackberry application)?

    It comes with the SDK of BBM.  You will find here:

    http://us.BlackBerry.com/developers/blackberrymessenger/

  • Deployment to JAR classpath in MANIFEST lack. MF

    Hi all

    Since I moved to jdeveloper of Netbeans, I have a problem creating the executable JAR, as in java-jar-myapp.jar

    When you deploy a jar in Netbeans, it creates a MANIFEST. MF which includes the following

    Class-Path: lib/eclipselink.jar lib/javax.persistence_2.1.0.v201304241

    213.l jar

    It also creates a lib directory that contains the jar

    Now I use jDeveloper. When I run the POT inside of jDeveloper it works fine and it uses the command line includes the absolute location of each JAR to the classpath.

    If I copy and paste the line in a shell that works too, but it's not good because it is not transferable to other systems like absolute class paths are not the same...

    So what I want is for jDeveloper to deploy a JAR with an external directory to the if necessary libs and a MANIFESTO. MF that contains the classpath of the JAR used in the project

    Thank you very much

    Stuart

    Suart, the pot does not work on another machine if the target machine is not the libraries already installed in the class path. A pot using the command line does not resemble the classpath of manifests inside the pot. You must unpack the jar and add the folder to the classpath in order to make them accessible.

    Please see https://tompeez.wordpress.com/2011/06/01/creating-a-jar-file-in-jdeveloper/ for more information and http://stackoverflow.com/questions/2018257/how-to-combine-library-with-my-jar

    Timo

  • Java CLI and Powershell...

    I'm doing an export of all the components defined in vFabric AppDir (6.01) using the Java CLI interface.  If I had to program using a combination of Powershell with Java it should look like this:

    # PScript export vFabric components to the TempDir

    # Variables

    $AppDirServer = "vFabricAppDirServer".

    $loginAcct = "darwin_user".

    $loginAcctPass = "This is the field of password"

    $dateStr = get-Date - uformat "% Y.%m.%d".

    $outputDir = "T:\Exports\" + $dateStr

    # Start the java VAPP Dir CLI client

    java-jar cli.jar - darwin

    # Java CLI commands (commands to the CLI from here down)

    # Connect to the server of AppDir vFabric

    login - serverUrl https://$AppDirServer:8443/Darwin name of user - $loginAcct - password $loginAcctPass

    # Export applications

    export package - exportFilePath $outputDir + "\allApplications.pkg" - applicationVersion ALL

    # Export Services

    export package - exportFilePath $outputDir + "\allServices.pkg" - serviceVersion all THE

    # Exporting tasks

    export package - exportFilePath $outputDir + '\allTasks.pkg' - taskVersion all THE

    # Export of external Services

    export package - exportFilePath $outputDir + '\allExternalServices.pkg' - externalServiceVersion all THE

    # Export strategies

    export package - exportFilePath $outputDir + "\allPolicies.pkg" - policyVersion ALL

    # disconnect the session

    Logout

    Exit # CLI AppDir

    output

    I have the accessible to powershell CLI jar file and can start interactively.  I can also enter each line interactively in the CLI and make them run...  So, my thought is to do something like:

    # PScript export vFabric components to the TempDir

    # Variables

    $AppDirServer = "vFabricAppDirServer".

    $loginAcct = "darwin_user".

    $loginAcctPass = "This is the field of password"

    $dateStr = get-Date - uformat "% Y.%m.%d".

    $outputDir = "T:\Exports\" + $dateStr

    $outputTempDir = "T:\Exports\TempDir".

    # Start the java VAPP Dir CLI client

    java-jar darwin - cli.jar < CLI - cmds.txt

    # move the output of their home fields

    move $outputTempDir + ' / * ' $outputDir

    where CLI - cmds.txt is:

    # Connect to the server of AppDir vFabric

    login - serverUrl https://$AppDirServer:8443/Darwin name of user - $loginAcct - password $loginAcctPass

    # Export applications

    export package - exportFilePath $outputDir + "\allApplications.pkg" - applicationVersion ALL

    # Export Services

    export package - exportFilePath $outputDir + "\allServices.pkg" - serviceVersion all THE

    # Exporting tasks

    export package - exportFilePath $outputDir + '\allTasks.pkg' - taskVersion all THE

    # Export of external Services

    export package - exportFilePath $outputDir + '\allExternalServices.pkg' - externalServiceVersion all THE

    # Export strategies

    export package - exportFilePath $outputDir + "\allPolicies.pkg" - policyVersion ALL

    # disconnect the session

    Logout

    Exit # CLI AppDir

    output

    Of course, the < (redirect) does not work.  So my question then (after much tldr; and I checked out the site of java)...

    Is it possible to have these commands sent to the CLI when I invoke the java-jar darwin - cli.jar command?

    Thanks in advance,

    Roger

    OK, after a lucky search, I found a very convenient option to the java command...

    java-jar darwin - cli.jar script text-file-with - Commands.txt * > LogFile.log

    java-jar darwin - cli.jar script text-file-with - Commands.txt * > LogFile.log<-- for="" the="" latter="" lines="" (one="" line="" for="" each="" component="">

    This allows me to specify the appropriate commands to use to export the definitions with each resembling a txt file

    Login - serverUrl https://vFabricServerIP:8443 / darwin -username admin - password adminPassword

    export package - exportFilePath "export path - File.pkg"-ComponentTypeVersion ALLL - substituteSecuredProperties true

    Logout

    as there are 5 types of component, I have replaced the following for each ComponentTypeVersion above

    for Applications, I used applicationVersions

    for Services, I used serviceVersion

    for tasks, I used scriptTaskVersion

    for external Services, I used externalServiceVersion

    for politicians, I used policyVersion

  • Problems with the Java Extensions and new SDK 1.5

    Hello

    I had built a Java Extension with version 1.0 update modifing WidgetConfigImpl.java as PDF attached. And I was running properly.

    Now, with the 1.5 SDK don't work and Java not return a warning or an error.

    I have tried otherwise, generating a .jar and include it in the file ext with eclipse, but do not show the .jar in Add dialog, this same problem occurred at 1.0 and I solved adding that the Java plug-in with the attached PDF file.

    Y at - it new path by adding the extension modifing WidgetConfigImpl.java or something similar?

    Why anti-pop immediately following pushScreen in your code?  I don't even know what that would do, but there is a good chance that it will never show your screen.

    This does not work for the screen display?  Generally speaking, you would record your screen as a listener for an event and close the form this way, right?

    UiApplication.getUiApplication().invokeLater(new Runnable() {    public void run() {        try {            UiApplication.getUiApplication().pushScreen(_screen);        } catch (MediaException e) {             Dialog.alert("Error: " + e.getMessage());        }    }});
    
  • Cisco IOS router 837 - configure DDNS / dynamic DNS

    I have an Internet, connected to my Cisco router link. The package that I subscribed comes with a dynamic IP address. I said me, if I need remote access in the Cisco router, I need to enable the DDNS function. Is this possible on a Cisco router? I have been informed that this feature is not supported. Please help me

    Hi Bro

    Yes, Cisco ASA and Cisco IOS router supported DDNS. Just make sure you have the right version of IOS, which you could refer to this URL of Cisco http://www.cisco.com/en/US/docs/ios/12_3/12_3y/12_3ya8/gt_ddns.html#wp1202953.

    Please refer to the config below made with dyndns.org.

    !

    hostname INT-RTR1
    !
    IP domain name dyndns.org
    8.8.8.8 IP name-server
    !
    IP ddns update DynDNS method
    HTTP
    Add http://ramraj: [email protected] / * //nic/update?system=dyndns&hostname=&myip=>
    maximum interval of 30 0 0 0
    minimum interval 30 0 0 0
    !
    interface Dialer1
    IP ddns update hostname INT - RTR1.dyndns.org
    IP ddns update DynDNS
    !

    Note: hostname = INT - RTR1.dyndns.org was the host added/registered in the dyndns.org site.

    Note: Press Ctrl + V, then just type the symbol? When to add the CLI adds http://___ above.

    Note: ramraj:cisco123 is simply an example of an IDs in dyndns.org.

    You can also refer to this URL for more details http://www.petri.co.il/csc_configuring_dynamic_dns_in_cisco_ios.htm

    P/S: If you cela this comment is useful, please rate well :-)

  • OIM 11 g R2 PS2 erroneous Installation on RHEL6

    Hello

    I try to install OIM 11 g R2 PS2 in RHEL 6. It is failling in the verification of the prerequisite step.

    Here's the log of oraInstall-

    Assignment JVM_OPTIONS

    Adding/tmp/OraInstall2015-04-27_01-56-57 AM for deletion.

    Add to the classpath:file:/tmp/OraInstall2015-04-27_01-56-57AM/ext/jlib/webtiercd.jar

    Add to the classpath:file:/tmp/OraInstall2015-04-27_01-56-57AM/ext/jlib/template.jar

    configFileName:/tmp/OraInstall2015-04-27_01-56-57AM/ext/jlib/footprint.xml

    Validations of stand-alone current page setting to true

    Validations of stand-alone current page setting to true

    Validations of stand-alone current page setting to true

    Inside the startPreReqOperation... prereq

    contextFile:/tmp/OraInstall2015-04-27_01-56-57AM/prereq/oui/agent_prereq_context.xml

    The entry point is: oracle.installType.all

    Check the name: CertifiedVersions

    Check the Description: it is a precondition to check whether or not the Oracle software is certified on the current o/s.

    $$ $DEBUG > > > > CertifiedVersions

    Expected result: one of the oracle-6,oracle-5.6,enterprise-5.4,enterprise-4,enterprise-5,redhat-5.4,redhat-4,redhat-5,SuSE-10,SuSE-11

    Actual result: redhat - 6.2

    Full version. The result of this review is: failure of < < < <

    Name: packages to check
    Check the Description: it is a precondition to verify if packages recommended for installation of the product are available on the system.
    Full version. The result of this review is: do not run < < < <

    Check name: kernel
    Check the Description: it is a precondition to check if the minimum required kernel parameters are configured.
    Full version. The result of this review is: do not run < < < <

    Check name: GLIBC
    Check the Description: it is a precondition to check if the recommended glibc version is available on the system
    Full version. The result of this review is: do not run < < < <

    But the matrix certification says THAT RHEL 6 is certified. Help, please.

    Try to run the installer with the option ignoreSysPreReqs as follows: -.

    . / runInstaller - ignoreSysPreReqs

    It would ignore the prerequisite the OS version.

  • How to copy from one Application to another custom Page template

    Hello

    12.1.3 Jdev

    How can I copy a created exculpatory to one application to another?

    I don't want to create the existing application as a jar and add a library to the following. I want to copy an existing template and begin to change in the next request.

    See you soon

    AJ

    Each application that uses the model page, have the file called pagetemplate - metadata.xml, which is basically a repository of page template.

    When you create a page template, some entries are added to this file automatically for you.

    That's why I said lets you create a new model.

    Well, next to the source code of the template page, if the original model have pageDef, you need this pageDef too, so do the same - create Def page for your new template and just copy - paste the contents of the original.

  • Access to the local file System on JCS-SaaS

    Hello

    I am trying to access the local file system of my JCS-SaaS cloud with two options below. But it doesn't work anyway. Can you please give me some ideas to move my local file to domain JCS.

    Doc reference: http://docs.Oracle.com/cloud/latest/javacs_gs/CSJSU/GUID-1452AA1C-5B32-4c68-845E-A7802344A523.htm#CSJSU7273

    (1) using the file browser

    I have deployed the sample project given with SaaS - Cloud Java SDK extension. I am able to see the page but could not do anything on this page.

    Please see the attachment for the same thing. Nothing works on this page. He works for one of you?

    (2) using the file system Shell access: I am getting following error. Can you please.

    > java-jar %SDK_HOME%/lib/javacloud.jar - a http://SFTP.US2.cloud.Oracle.com:20 u [email protected] -id inaccenturetrial00450-TR javatrial2180 - fs Java shell access file system service

    [TIP] - check your network connections. If you are behind a proxy http (s), try using

    the option - httpproxy

    [TIP] - the service is perhaps out of service. We can also host name or the name of the port

    an error in the url http://SFTP.US2.cloud.Oracle.com:20

    [ERROR] - java.net.ConnectException: Connection timed out: connect

    Thanks in advance

    Samy

    I know that there was a problem at least on an older instance for the shell, however in the latest versions is should be fixed. Have you tried with the proxy as parameter suggests the error message? Also "-d" flag provide you additional details of debugging. Then try something like:

    java-jar javacloud.jar - user username - fs - id oracletrialXXXX-TR javatrialXXXX - dc US2 - hp host: port d

    --

    Jani Rautiainen

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

  • NoClassDefFoundError when you use the FOProcessor to print Gantt chart

    Hi all

    I've been implementing print function for a gantt scheduling and use the sample code in this post https://community.oracle.com/message/2782685#2782685

    It's my implementation for the method of management.

           
            if (GanttActionEvent.PRINT == ganttActionEvent.getActionType()) {
                try {
                    FacesContext context = FacesContext.getCurrentInstance();
                    HttpServletResponse response = (HttpServletResponse)
                              context.getExternalContext().getResponse();
                    response.setContentType("application/pdf");
                    OutputStream sos = response.getOutputStream();
                   
                    // Generate FO
                    GanttPrinter printer = new GanttPrinter(schedulingGantt);
                    File file = File.createTempFile("gantt", "fo");
                    OutputStream out = new FileOutputStream(file);
                    printer.print(out);
                    out.close();
                   
                    // generate pdf
                    FOProcessor processor = new FOProcessor();
                    processor.setData(new InputStreamReader(new FileInputStream(file), "UTF-8"));
                    processor.setOutputFormat(FOProcessor.FORMAT_PDF);
                    processor.setOutput(sos);
                    processor.generate();
                    sos.close();
                    context.responseComplete();
    
                } catch (Exception ex) {
                    //handler
                    ex.printStackTrace();
                }
            }                                          
        }
    
    

    In line 22, the FOProcessor.generate method, I got an exception to this.

    javax.el.ELException: java.lang.NoClassDefFoundError: oracle/apps/fnd/i18n/common/util/calendar

    at com.sun.el.parser.AstValue.invoke(AstValue.java:258)

    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1838)

    at oracle.adf.view.faces.bi.component.gantt.UIGantt.broadcast(UIGantt.java:2078)

    at oracle.adf.view.faces.bi.component.gantt.UISchedulingGantt.broadcast(UISchedulingGantt.java:565)

    Truncated. check the log file full stacktrace

    Caused by: java.lang.NoClassDefFoundError: oracle/apps/fnd/i18n/common/util/calendar

    at oracle.xdo.common.formula2.impl.DefaultContext.init(DefaultContext.java:114)

    to oracle.xdo.common.formula2.impl.DefaultContext. < init > (DefaultContext.java:94)

    at oracle.xdo.common.formula2.FPContextFactory.createDefaultContext(FPContextFactory.java:34)

    to oracle.xdo.template.fo.datatype.ExpressionCalc. < init > (ExpressionCalc.java:39)

    at oracle.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:359)

    Truncated. check the log file full stacktrace

    Caused by: java.lang.ClassNotFoundException: oracle.apps.fnd.i18n.common.util.Calendar

    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:335)

    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:302)

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

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

    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:180)

    Does anyone know what is the problem?

    Thank you

    Hoang

    java.lang.NoClassDefFoundError: oracle/apps/fnd/i18n/common/util/calendar

    The class is in the i18nAPI_v3.jar of BI Publisher jar. Add i18nAPI_v3.jar to the classpath.

  • Failed to create the connection to the Oracle Java Cloud Server

    Hi all

    I'm deploying simple ADF Oracle Cloud application.

    I am transferred HR diagram to my cloud database service and now I'm trying to create a connection to the instance of oracle java cloud service

    but it's not to create a connection to the cloud server and throwing the error message


    Tests of cloud-Admin... has failed.

    listApplications failed.

    Check the username, password, domain, for example.

    Check the location of the sdk cloud & version: Tools-> Preferences-> Oracle Cloud

    0 out of 1 tests successfully.

    Here are the details MyService

    JDEV: Build JDEVADF_11.1.1.6.0CLOUD_GENERIC_121118.1600.6229

    Cloud-version: 13.2.2.0.0

    I'm sure, that I am using the appropriate powers since am capable of service cloud console java with the same credentials.

    Please help me on this.

    Thank you

    Check the location of the SDK by browsing "Tools-> preferences-> Oracle Cloud-> Cloud Service SDK Java", navigate to the folder and navigate to the directory of sup 'lib '. Check the version with the command:

    java-jar javacloud.jar - version

    Oracle Cloud Java Deployer of Service tool.

    Version: 13.2.7.0

    What is the version that was posted to you? If something else "13.2.7.0" try to download the latest version of the SDK, unzip it somewhere and point your Jdev on the new version.

    --

    Jani Rautiainen

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

  • JDeveloper and PrimeFaces UI

    Hi all...

    I tried to add PrimeFaces help add JAR or Add Tag Lib to my project...

    my tests all failed:?  ..

    any way to do (Windows 8, Jdeveloper 11 g 2 [2.4])

    Thanks in advance...

    Hello

    PrimeFaces 2.2 version support JSF2 and Facerlets

    so

    1. Drop the primefaces-{version} .jar file into your WEB - INF folder
    2. your project properties--->Facelets tags library (not JSP tag libraries) and add your tags to the location of the primefaces jar and if you wish, change the prefix of 'p '.

    then test your adjustment by adding page as xhtml:

    http://www.w3.org/1999/xhtml.

    "xmlns:h ="http://java.sun.com/jsf/html"

    "xmlns:f ="http://java.sun.com/jsf/core"

    xmlns:p ="http://primefaces.org/ui" >. "

    Notes:

    1. in jdeveloper 11 g 2, if you use JSF2 without ADF, I suggest to use (html Wizard no jsf) and create your own model of xhtml .This step to avoid adding unnecessary tags of ADF, setting and web.xml entries that will be added by default.
    2. tag is important for loading resources, so be sure to have this tag even it's empty

    more info here:

    PrimeFaces_GetStarted

    PrimeFaces FQA

    PrimeFace_Documentation

    Thank you

  • java.lang.ClassNotFoundException: com.mysql.jdbc.DatabaseMetaDat

    Hello.

    First of all, I'm sorry for my English is bad.

    I'm developing a simple project. I'm following this tutorial: http://www.youtube.com/watch?v=3ED44XvRAh0

    I use the MySql database.

    I can connect to MySql in JDeveloper, but the project is, I get an error: java.lang.ClassNotFoundException: com.mysql.jdbc.DatabaseMetaDat

    When I look at deploying the file, I see MySql connector jar.

    Add some visual to express myself properly.

    The IDE library
    http://i47.Tinypic.com/jttkbp.jpg

    Profile of deployment properties
    http://i46.Tinypic.com/21lixcp.jpg

    Deployment folder
    http://i49.Tinypic.com/34qr04m.jpg

    Error
    http://i45.Tinypic.com/35mljig.jpg

    JDeveloper 11g Release 2 version
    MySql version 5.5 Server
    Conntector jar mysql-connector-java - 5.1.0 - bin

    Thanks in advance for your answers.

    You do not have ${CLASSPATHSEP} between Ant - contrib.jar and your pot.
    In addition, do not put jdbc driver on demand. Instead put this on the server file system.

    When you add the jar to the classpath, you will see that JAR out WLS (WLS starts) in order to check if the true path is correct.

    Dario

    Published by: kdario on November 8, 2012 03:00

  • Webutil problem

    Dear,
    Before I used JInitiator, and everything is Ok.
    but change using JInitiator by Sun JRE, after I faced a webutil error:

    Oracle.Forms.webutil.file. FileFunctions bean not found. WEBUTIL_FILE. FILE_SELECTION_DIALOG_INT will not be found


    Please, I beg you. help!

    If you are using JRE, then change these values in the file formsweb.cfg

    archive_jini = frmall_jinit.jar, frmwebutil.jar, Jacob.jar
    Archive = frmall.jar, frmwebutil.jar, Jacob.jar

    Add frmwebutil.jar, jacob.jar parameters as archive_jini & archive.

    Hopefully this will solve your problem.

Maybe you are looking for