Copying resources to client machine

Hi,
We have an application that I have to "web start enable". The application consists of a number of jars. During the "deployment" function of it, it copies jars from the install location to the "deployment" location.
Since I don't have an install location now, this is a problem. I found some posts that allows me to copy a specific file from a resource, but nothing on copying to whole resource. I have tested it with JDK 6
Is there a way to copy the jars?
Thanks in advance.

We have an application that I have to "web start enable". You say that, like it's a bad thing.
The application consists of a number of jars. During the
"deployment" ..'installer'*
..function of it, it copies jars from the install
location to the "deployment" location.Which is what? Typically or an example, will do.
Since I don't have an install location now, Why not?
You might use an installer to put the jar's in
a specific place (if that is what the application
requires), though I would advise to rework
that app. so these jars simply need to be
accessible on the class path.
Then the installer becomes unnecessary, and
the deployment is as simple as listing the jars
in the resources section of the JNLP file.

Similar Messages

  • Copy file from client machine to unix db server

    Dear all,
    I have oracle form 10g, and data base server using 10 r 2,
    I have an oracle for to browse client XML file and return the name of the file including the path to TEXT item what I want to do after that is to copy the seelcted file from the client to DB server (hint this server over Unix operating system)
    I tried
    V_Cpy_Result := Webutil_File.Copy_File ('C:\File_Name.Xml', '/u01/oradata/odsuat/ssr_xml_dir/Outbound/File_Name.Xml');
    but this does't work, please provide me with the way or the command that I can copy the selected file from client to Unix DB server...

    Hello,
    If you want to transfer files between client machine and A.S. or database machine, use the Webutil file_transfer package's functions.
    Francois

  • How to copy image from client machine to server machine?

    Hi ,
    Im doing a project in web applications...im using tomcat 5.0....when clients (using different machine) upload a image i need to make a copy of that in my "webapps" folder...can u help to solve it?
    The following code is working only in my machine..but not working when i upload from remote machines....
    can u sort out?
    try
                   FileInputStream input = new FileInputStream(fileSource);
                   byte b[] = new byte[input.available()];
                   input.read(b);
                   input.close();
                   fileDest.mkdirs();
                   FileOutputStream output = new FileOutputStream(new File(fileDest, fileSource.getName()));
                   output.write(b);
                   output.flush();
                   output.close();
              catch(IOException e)
                   System.out.println(e);
              }

    Hi,
    I having same problem. did you find solution for your issue.
    Can you please give your source if you dont mind?
    Thanks

  • Copying the PKCS#11 wrapper dll to the client machine in a signed applet

    Hello,
    I'm implementing in a signed Java Applet using the IAIK PKCS#11 Wrapper and the PKCS#11 module of my hardware token to communicate with it.
    I have to copy the pkcs11wrapper.dll to the client machine. All things works perfectly under Windows XP but when the client have Windows Vista as OS, it's not possible to copy the needed dll.
    Thank You for any help
    Nizar

    Use JNLP for this.

  • How stub gets copied in Client machine

    Hi,
    I'm new to EJB. Tutorial states that stub would be in client side and it would make communication to skeleton which is in EJB server. Could someone pls explain when /how stub gets copied to client machine ?
    Thanks.
    Patil

    When you request a page which contains Java Applet ( which is nothing but as .class file ) it gets transfered from server to the browser and gets executed using Browser's JVM. ( But I dont understand in what why this is related to my original questions )
    Thanks.

  • Copying client machine files into the Server BY Using APPLET

    Hi there,
    I created an applet which is DRAG and DROP enabled. In this applet content page i am dropping some file and trying to copy the same files in to the server. But when i am trying to save the files my code is saving the files in clients machine.
    I thought we are embedding the applet in a browser and the applet is running in clients machine, so for the applet SERVER is the local machine and if we create any files then they will be created in SERVER machine.
    But here the files are going to be saved in clients machine.
    I SIGNED THE APPLET TO ACCESS THE CLIENT MACHINE FILES TO DRAG AND DROP INTO MY APPLET. THAT IS NOT A PROBLEM , BUT COPYING THE FILES FROM CLIENT MACHINE TO SERVER HAS BECOME A BIG PROBLEM
    please any body can help in this regards?
    THANKS IN ADVANCE.
    batta

    I cannot see how you will copy files From the Applet to the Server.
    The only method I know to transfer data from a Java-Applet-Client to a Server and back is with the named method "HTTP-Tunneling".
    This means your, your applet made a connection e.q with a Java-Servlet wich resides on a Web-Server.
    This Servlet than can write to the Server-Filesystem and respond to the Applet.
    May be you can reach a Server with PHP, but I have not yet experience with this (I did not found anything about Servlet-Response to the Applet).
    Regards Dieter

  • Deployment of JavaFX Web application on client machine(Windows OS.)

    Problem Statement:
    Deployment of JavaFX Web application on client machine(Windows OS.)
    Error: unable to load the native libarary(JNI Windows dll) i.e. throws java.lang.UnsatisfiedLinkError exception.
    Problem Description:
    I have create the JavaFX application which have dependency on Native library written in Java Native Interface(JNI).
    When the application is deployed on Apache 6.0 Tomcat Server(Copied .html file *.jnlp file and .jar file) and when client machine hit the html page in internet explorer version 8.0 its throws the following error(java.lang.UnsatisfiedLinkError: no JNIHelloWorld in java.library.path)
    Note:
    I have created the jar file which have my "JNIHelloWorld' native library dll in root directory. I have signed the jar with same signature which i have used for signing for my application Jar file.
    I have mentioned the native library jar in JNLP file resource keyword as follows:
    <resources os=Windows>
    <nativelib href="JNIHelloWorld.jar" download="eager" />
    </resources>
    The complete jnlp file content is in "JavaFXApplication.jnlp file:" section below.
    The description of error is as follows:
    Match: beginTraversal
    Match: digest selected JREDesc: JREDesc[version 1.6+, heap=-1--1, args=null, href=http://java.sun.com/products/autodl/j2se, sel=false, null, null], JREInfo: JREInfo for index 0:
    platform is: 1.7
    product is: 1.7.0_07
    location is: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files\Java\jre7\bin\javaw.exe
    args is: null
    native platform is: Windows, x86 [ x86, 32bit ]
    JavaFX runtime is: JavaFX 2.2.1 found at C:\Program Files\Java\jre7\
    enabled is: true
    registered is: true
    system is: true
         Match: ignoring maxHeap: -1
         Match: ignoring InitHeap: -1
         Match: digesting vmargs: null
         Match: digested vmargs: [JVMParameters: isSecure: true, args: ]
         Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]
         Match: digest LaunchDesc: http://10.187.143.68:8282/KPIT/JavaFXApplication20.jnlp
         Match: digest properties: []
         Match: JVM args: [JVMParameters: isSecure: true, args: ]
         Match: endTraversal ..
         Match: JVM args final:
         Match: Running JREInfo Version match: 1.7.0.07 == 1.7.0.07
         *Match: Running JVM args match: have:<> satisfy want:<>*
    *java.lang.UnsatisfiedLinkError: no JNIHelloWorld in java.library.path*
    *     at java.lang.ClassLoader.loadLibrary(Unknown Source)*
    *     at java.lang.Runtime.loadLibrary0(Unknown Source)*
    *     at java.lang.System.loadLibrary(Unknown Source)*     at javafxapplication20.JavaFXApplication20.<clinit>(JavaFXApplication20.java:41)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at com.sun.javafx.applet.FXApplet2.init(FXApplet2.java:63)
         at com.sun.deploy.uitoolkit.impl.fx.FXApplet2Adapter.init(FXApplet2Adapter.java:207)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Java Plug-in 10.7.2.11
    Using JRE version 1.7.0_07-b11 Java HotSpot(TM) Client VM
    User home directory = C:\Users\io839
    Please find my native library code and JavaFX application code:
    Native library JNI Code:
    JavaFXApplication.java:
    JNIEXPORT jstring JNICALL Java_javafxapplication_SampleController_printString(JNIEnv *env, jobject envObject)
         string str = "hello JNI";
         jstring jniStr = env->NewStringUTF(str.c_str());
         return jniStr;
    JavaFX Application code:
    JavaFXApplication.java:
    package javafxapplication;
    import javafx.application.Application;
    import javafx.fxml.FXMLLoader;
    import javafx.scene.Parent;
    import javafx.scene.Scene;
    import javafx.stage.Stage;
    public class JavaFXApplication extends Application {
    @Override
    public void start(Stage stage) throws Exception {
    Parent root = FXMLLoader.load(getClass().getResource("Sample.fxml"));
    Scene scene = new Scene(root);
    stage.setScene(scene);
    stage.show();
    * The main() method is ignored in correctly deployed JavaFX application.
    * main() serves only as fallback in case the application can not be
    * launched through deployment artifacts, e.g., in IDEs with limited FX
    * support. NetBeans ignores main().
    * @param args the command line arguments
    public static void main(String[] args) {
    launch(args);
    static{
    System.loadLibrary("JNIHelloWorld");
    SampleController.java file:
    package javafxapplication;
    import java.net.URL;
    import java.util.ResourceBundle;
    import javafx.event.ActionEvent;
    import javafx.fxml.FXML;
    import javafx.fxml.Initializable;
    import javafx.scene.control.Label;
    public class SampleController implements Initializable {
    @FXML
    private Label label;
    private native String printString();
    @FXML
    private void handleButtonAction(ActionEvent event) {
    System.out.println("You clicked me!");
    String str = printString();
    label.setText(str);
    @Override
    public void initialize(URL url, ResourceBundle rb) {
    // TODO
    //String str = printString();
    JavaFXApplication.jnlp file:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="JavaFXApplication.jnlp">
    <information>
    <title>JavaFXApplication20</title>
    <vendor>io839</vendor>
    <description>Sample JavaFX 2.0 application.</description>
    <offline-allowed/>
    </information>
    <resources>
    <jfx:javafx-runtime version="2.2+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
    </resources>
    <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
    <jar href="JavaFXApplication.jar" size="20918" download="eager" />
    </resources>
    <resources os=Windows>
    <nativelib href="JNIHelloWorld.jar" download="eager" />
    </resources>
    <security>
    <all-permissions/>
    </security>
    <applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="JavaFXApplication" >
    <param name="requiredFXVersion" value="2.2+"/>
    </applet-desc>
    <jfx:javafx-desc width="800" height="600" main-class="javafxapplication.JavaFXApplication" name="JavaFXApplication" />
    <update check="always"/>
    </jnlp>

    No problem.
    Make sure your resources are set at the proper location. Could be that tje jni.jar is under a 'lib' folder?
    Normally you don't have to worry about deployment a lot if you are using like Netbeans 7.2 or higher.
    When you press 'Clean and build' it creates your deployed files in the 'dist' folder.
    You can change specification by adapting the build.xml file.
    Of course lot of different possibilities are available for deployment!
    You can find lot of info here:
    [http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm|http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm]
    Important to know is if you want to work with
    - a standalone application (self-contained or not)
    - with webstart
    - or with applets
    (In my case I'm using webstart, but also Self-Contained Application Packaging (jre is also installed!)

  • What needs to be installed on a client machine?

    Downloads Documentation Discussion Forums Articles Sample Code Training RSS Resources For
    Oracle Data Provider for .NET FAQ
    About ODP.NET
    I am familiar with SQL Server's .NET data provider, but am new to Oracle. Is it easy to learn to use ODP.NET? (Last Updated: 12/27/04)
    What are the different ways Oracle integrates with Microsoft .NET? (7/22/05)
    Where can I find ODP.NET help and sample code? (12/12/03)
    I have ODP.NET installed, but I can't find the ODP.NET Dynamic Help. Where is it? (4/11/05)
    What are the new features in this version of ODP.NET? (7/22/05)
    How do I make a feature enhancement request for ODP.NET? (12/04/02)
    What features will ODP.NET support in future releases? (12/04/02)
    Configuration and Certification
    Do I need to install ODP.NET on my Oracle database server? (7/22/05)
    Can ODP.NET work with Oracle8, Oracle8i, Oracle9i, and Oracle10g database (DB) servers? Can these DB servers be on Linux or Unix? (7/22/05)
    Can ODP.NET be used with an Oracle8, Oracle8i, or Oracle9i Release 1 client? (11/02/04)
    What do I need to have installed on my client machine to have ODP.NET work? (11/02/04)
    Does ODP.NET support Windows Server 2003, .NET Framework 1.1, and Visual Studio .NET 2003? (11/02/04)
    Common Runtime Issues
    How do I use distributed transactions with ODP.NET? (3/20/03)
    What if I have some applications that require an earlier Oracle client (e.g. using the Microsoft OLE DB Provider for Oracle with Server Explorer)? I want to be able to run both ODP.NET and these other applications from the same machine. (12/12/03)
    I get an error: "Unable to load DLL (OraOps.dll)". How do I fix this? (4/23/04)
    I want to use the Oracle9i Release 2 version of OraMTS with an Oracle8i database. I get a "No error information available: XACT_E_NOENLIST(0x8004D00A)" error when running an application using OraMTS. (12/04/02)
    ODP.NET and Other Oracle Providers for .NET
    Are ODP.NET and Microsoft .NET Framework Data Provider for Oracle the same product? (12/12/03)
    Which .NET data access driver should I use among ODP.NET, Microsoft .NET Framework Data Provider for Oracle, OLE DB .NET, and ODBC .NET? (12/04/02)
    I bundle ODP.NET with an application I've built, which I want to distribute or sell. Does Oracle charge licensing fees for this? (7/16/03)
    Q: I am familiar with SQL Server's .NET data provider, but am new to Oracle. Is it easy to learn to use ODP.NET?
    A: Yes. ODP.NET inherits from all the ADO.NET base classes, which is what SQL Server's .NET data provider, SqlClient, is based upon. The ADO.NET constructors, methods, and properties that you use with SQL Server will be the same with Oracle. For many applications, the only notable differences will be having all objects that were preceded with "Sql", such as SqlConnection, be preceded by "Oracle", such as OracleConnection, and accounting for differences between Oracle and SQL Server database data types, SQL, and stored procedure calls.
    Q: What are the different ways Oracle integrates with Microsoft .NET?
    A: Oracle integrates with .NET in a number of ways. For optimized .NET data access, ODP.NET enables access to all of the Oracle database's advanced features, such as RAC and XML DB, while ensuring the fastest performance from the .NET Framework.
    For .NET development tools that make Oracle easier to use, the Oracle Developer Tools for Visual Studio .NET provide wizards and designers that auto-generate ODP.NET code and can browse and edit schemas and stored procedures. Additionally, it includes a Data Window to modify and view data and context-sensitive help.
    Beginning with Oracle Database 10g Release 2, developers can build and deploy .NET stored procedures for their Oracle database.
    For application integration, web services can facilitate integration between your existing Oracle and .NET applications.
    Q: Where can I find ODP.NET help and sample code?
    A: ODP.NET documentation is available from within Visual Studio .NET using Dynamic Help. Just hit the F1 key when your cursor is on an ODP.NET API and a help page for that API will appear right within Visual Studio .NET.
    Additional ODP.NET documentation is available both locally installed and from the ODP.NET documentation page.
    Sample code can be found both locally as part of the ODP.NET installation (e.g. c:\oracle\<Oracle Home Name>\ODP.NET\samples) and on ODP.NET samples page.
    ODP.NET users can ask questions on the ODP.NET discussion forum.
    Q: I have ODP.NET installed, but I can't find the ODP.NET Dynamic Help. Where is it?
    A: This behavior sometimes occurs when installing new Visual Studio .NET versions over an ODP.NET installation. To enable ODP.NET Dynamic Help, go to Visual Studio .NET Combined Help Collection Manager located in Visual Studio .NET 2002 or Visual Studio .NET 2003. Make sure the box next to the Oracle Data Provider for .NET Help is checked and click on the Update VSCC button. Close Visual Studio .NET and re-open it to enable ODP.NET Dynamic Help.
    Note: Because of security restrictions, you may need to copy and paste the links above to a browser, rather than clicking on them. Once copied to a local browser, if you have a Windows service pack that prevents active content (e.g. Windows XP service pack 2), you will need to allow active content to view the complete page. To do this, click on the yellow bar at the top of the Visual Studio .NET Combined Help Collection Manager page, which indicates active content has been blocked. Select "Allow Blocked Content". A security warning will show up. Click "Yes" and you will be able to view the page in its entirety, including having the option to incorporate the Oracle Data Provider for .NET Help into Visual Studio .NET.
    Q: What are the new features in this version of ODP.NET?
    A:
    ODP.NET 10.2.0.1.0
    Server-side ODP.NET for .NET stored procedures
    RAC client-side connection load balancing and automatic connection cleanup
    Database Change Notification
    LOB and LONG retrieval - faster data retrieval, InitialLOBFetchSize can be up to 2GB, and full LOB functionality when InitialLOBFetchSize > 0 (i.e. GetOracleClob and GetOracleBlob methods are enabled). These same features are now enabled with LONGs with its respective APIs.
    Connection Pool Management - explicitly clear connection pool(s)
    Client Identifier property for supporting application context security, such as with VPD
    Input REF Cursor parameters
    ODP.NET 10.1.0.3.0
    Statement caching
    DeriveParameters - automatic population of stored procedure parameters
    Cancel long running queries
    ADO.Net 1.1 interfaces - HasRows and EnlistDistributedTransaction properties
    LOB and LONG retrieval - Entire LOB and LONG column data can be retrieved even if the select list does not contain a primary key, ROWID, or unique key.
    ODP.NET 10.1.0.2.0
    Grid support
    Schema-based XMLType
    BINARY_FLOAT and BINARY_DOUBLE datatypes
    Multiple Oracle Homes
    ODP.NET 9.2.0.4.01
    Improved XML DB and XMLType support
    PL/SQL associative arrays
    connection pool validation
    InitialLOBFetchSize property to improve LOB retrieval performance
    Q: How do I make a feature enhancement request for ODP.NET?
    A: You can contact Oracle Support or use the ODP.NET discussion forum to make an enhancement request.
    Q: What features will ODP.NET support in future releases?
    A: In general, Oracle does not discuss features in future product releases until the release date nears. We are well aware of enhancement requests made through the ODP.NET discussion forum and Oracle support. We encourage Oracle users to continue to make their requests known. Oracle will do its best to fulfill these requests in future releases.
    Q: Do I need to install ODP.NET on my Oracle database server?
    A: No. You only need to install ODP.NET for running client or middle-tier .NET applications. The exception is if you are using .NET stored procedures in the database server. The server-side ODP.NET provider will automatically be installed with the Oracle Database Extensions for .NET.
    Q: Can ODP.NET work with Oracle8, Oracle8i, Oracle9i, and Oracle10g database (DB) servers? Can these DB servers be on Linux or Unix?
    A: Yes and yes. Oracle clients can support older and newer versions of the Oracle database. Consult the Oracle on Windows FAQ for more information.
    Oracle clients on Windows can work with Oracle database servers on any platform.
    Q: Can ODP.NET be used with an Oracle8, Oracle8i, or Oracle9i Release 1 client?
    A: No. You need to use the Oracle9i Release 2 or higher client.
    Q: What do I need to have installed on my client machine to have ODP.NET work?
    What needs to be on a client machine when running an application compiled with the 10g ODP.NET?
    The FAQ states the following :-
    A: You will require the following:
    Windows 2000, Windows XP Professional, or Windows Server 2003
    Microsoft .NET Framework 1.0 or higher
    Oracle9i Client Release 2 (9.2) or higher
    Oracle Net Services (included with the client)
    Oracle Services for Microsoft Transaction Server, Release 2 (9.2) or higher. This is required for applications using distributed transacations.
    This implies that ODP.NET does NOT need to be installed on a client. However, I cannot find OraOPs9.dll on a machine with Client Release 9.2 installed. Should OraOps?.dll automatically come with a Client installation of 9.2 or higher?
    Also, if an application is built with the 10g ODP.NET, can it be run from a machine with OraOps9.dll?
    I'd be very grateful for anyone who can clear up my confusion.
    Mick

    This implies that ODP.NET does NOT need to be installed on a client. However, I cannot find OraOPs9.dll on a machine with Client Release 9.2 installed. Should OraOps?.dll automatically come with a Client installation of 9.2 or higher?
    ODP.NET needs to be installed on the client. OraOps9.dll is part of ODP.NET, not the Oracle Client.
    Also, if an application is built with the 10g ODP.NET, can it be run from a machine with OraOps9.dll?
    If an application is built with 10g ODP.NET, it can be run with 9.2 ODP.NET as long as you do not use any 10g APIs. The new features in 10g ODP.NET are included in the doc and the ODP.NET FAQ for your reference.

  • Regarding Merant ODBC  Driver for Client Machine.

    Dear All,
    We have installed Oracle BI Apps.
    Environment:
    Machine 1 : OBIEE , DAC Server, Informatica Server.
    Machine 2: DAC client(by copying DAC folder from Machine 1), Informatica Client.
    I have copied the DAC folder from Machine 1 and paste it to Machine 2 and then configure the bat file.
    Now when i am creating ODBC connect in Client machine, we dont have Merant ODBC driver in that, and it is available in Server machine...
    So my query is how to get the Merant ODBC driver in Client Machine ?
    Regards
    Tarang Jain

    Hi Damon,
    Thanks for your reply......
    Damon few weeks before you have told me that we can download the ERP from e-delivery/oracle .com.
    I went through the site and found there are so many applications of Peoplesoft.
    So we are planning to download this"http://edelivery.oracle.com/EPD/Download/get_form?egroup_aru_number=8888395 " application from this link" PeopleSoft Enterprise Human Resources Management System and Campus Solutions 9.0 (CD)"
    So, i will request you please have a look to the application and confirm can we use this application for Oracle BI apps and will this application have dummy data so that we can see Pre-Built Dashboards and Reports.
    If its not valid ERP then please provide us the link as well as the ERP name so that we can work on the same.
    Regards
    Tarang Jain

  • How do I detect if adobe digital edition is present on client machine or not ?

    Hello,
    I am working on a project, whihc involves finding out if the client machine has adobe digital edition Ver. 1.5 installed.
    I went through the Installer SDK, and the examples that come with it, especially ade_detect_layers.htm, however, I cant figure out the variable which will signify the presence of ADE.
    By the looks of it, G_nADEInstalled variable should have it, but it always 0, no matter if the ADE is installed or not.
    The ade_web_library.swf does reflect the state of ADE, i.e. if ADE is present, it displays - Launch, and if ADE is not present, is displays - INSTALL. However, I want the state information in a javascript variable.
    Anybody got any ideas ?
    -Thanks.

    You should be able to detect ADE using the following mechanism.
    Resources required:
    swfobject.js
    ADEBadgeLauncher.js
    DigitalEditionsDetection.js
    ade_web_library.swf
    The 4 files above are provided by Adobe. It might be worth copying the
    swf file in your web app, as I had some issues initially with using
    adobe-hosted swf.
    Apart from that, you need some new javascript functions:
    Call the below function inline from the page, where you want to detect the ADE.
    The second function below is the callback which is used by Adobe SWF.
    I hope this makes things clear. It might be worth getting this working
    on a local apache server before integrating with a web application.
    And, check on both IE and firefox.
    //Called inline from the page to detect ADE, and hide/show the layer
    for installing the button..
    function detectADE(swfPath) {
    ADE_Detect_doOnLoad('', false, false, swfPath);
    ///doOnLoad(swfPath);
    //This is a callback function invoked after the function
    ADE_Detect_doOnLoad() has finished.
    function setG_nADEInstalled(IS_INSTALLED) {
    var obj = document.getElementById('ADE_ShowContentDiv');
    if (IS_INSTALLED == '1') {
    if (obj != null && typeof(obj.style)!= "undefined"){
    //document.getElementById('ADE_ShowContentDiv').style.visibility = "hidden";
    Thanks

  • How to FTP a file from client machine to database server using forms 10g

    Hi
    I want to ftp a file from a client machine to the database server machine using forms 10G (or PL/SQL).
    could you please tell me how can I do this
    Regards

    hi
    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: Oracle_Home is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    Oracle_Home with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
    and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
    C:\webutile is the folder where you extracted Jacob, and will end in ...\jacob_18
    cd C:\webutile
    copy jacob.jar Oracle_Home\forms\java\.
    copy jacob.dll Oracle_Home\forms\webutil\.
    The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
    Open a DOS command prompt.
    Add Oracle_Home\jdk\bin to the PATH:
    set PATH=Oracle_Home\jdk\bin;%PATH%
    Sign the files, and check the output for success:
    Oracle_Home\forms\webutil\sign_webutil Oracle_Home\forms\java\frmwebutil.jar
    Oracle_Home\forms\webutil\sign_webutil Oracle_Home\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
    you may skip this step. Otherwise,
    Create a schema to hold the WebUtil stored code, and privileges needed to
    connect and create a stored package. Schema name "WEBUTIL" is recommended
    for no reason other than consistency over the user base.
    Open Oracle_Home\forms\create_webutil_db.sql in a text editor, and delete or comment
    out the EXIT statement, to be able to see whether the objects were created witout
    errors.
    Start SQL*Plus as SYSTEM, and issue:
    CREATE USER webutil IDENTIFIED BY [password]
    DEFAULT TABLESPACE users
    TEMPORARY TABLESPACE temp;
    GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
    CONNECT webutil/webutil@rcci
    @Oracle_Home\forms\create_webutil_db.sql
    -- Inspect SQL*Plus output for errors, and then
    CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
    Reconnect as SYSTEM, and issue:
    grant execute on webutil_db to public;
    5) Modify Oracle_Home\forms\server\default.env, and append Oracle_Home\jdk\jre\lib\rt.jar
    to the CLASSPATH entry.
    6) Modify Oracle_Home\forms\server\formsweb.cfg insde [default] add :
    archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar
    archive=frmall.jar
    also add :
    [webutil]
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm
    archive_jini=frmall_jinit.jar
    WebUtilArchive=frmwebutil.jar,jacob.jar,f90all.jar
    archive=frmwebutil.jar,f90all.jar
    lookAndFeel=oracle
    7) Modify Oracle_Home\forms\server\webutil.cfg and add :
    transfer.database.enabled=TRUE
    transfer.appsrv.enabled=TRUE
    8) Start the OC4J instance
    9) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
    Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
    It is important to generate the PLX, to avoid the FRM-40039 discussed in Note 303682.1
    If the PLX is not generated, the Webutil.pll library would have to be attached with
    full path information to all forms wishing to use WebUtil. This is NOT recommended.
    10) Create a new FMB.
    Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
    There is no need to Subclass the WebutilConfig object.
    Attach the Webutil.pll Library, and remove the path.
    Add an ON-LOGON trigger with the code
    NULL;
    to avoid having to connect to an RDBMS (optional).
    Create a new button on a new canvas, with the code
    show_webutil_information (TRUE);
    in a WHEN-BUTTON-PRESSED trigger.
    Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    11) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
    the "Application Server URL" is empty.
    Then append "?config=webutil" at the end, so you end up with a URL of the form
    http://server:port/forms/frmservlet?config=webutil
    12) Run your form.

  • JSP to Upload file from client machine to Web Server!

    Hi,
    I want to upload a file from client machine to web server in order to send it as email attachment, How can I do it? After uploading the file the class should give me the path where the file is stored on the web server and the file name in return!
    I know the HTML <file> field but dont know how to copy it on web server, HTML Part will be:
    <FORM ENCTYPE="multipart/form-data"
    method="POST" action="My.jsp">
    <INPUT TYPE="file" NAME="mptest">
    <INPUT TYPE="submit" VALUE="upload">
    </FORM>
    Please help!
    Thanks,
    - Rahul

    You can use cos.jar provided by O'Reilly from http://www.servlets.com/cos/. Take a look at com.oreilly.servlet.multipart.* classes.
    Package is provided with source, classes, documentation and, of course, ready-to-use jar file.
    It is really usefull and - ready!

  • Unable to connect report to database on client machine

    I am using C# and Visual Studio 2010 with several Crystal Reports embedded into my application as resources.  This is a Windows application running on Vista.  I am trying to connect to a SQL Server database.  I created the reports using the design wizard in VS.  I am allowing for the server and database name to be changed at runtime through values stored in the project manifest.
    As experienced by hundreds of other frustrated developers, my reports run fine on my development machine but fail on my client machine.  On the client machine I am prompted with a database login window.  The server name is properly populated with the server name pulled from the ...exe.config file.  The database name is blank and the field is disabled.  The integrated security checkbox is not checked.  I am programatically providing the server name, the database name and specifying integrated security to be true using sample code I found on this forum.  See below. 
    I reviewed the Troubleshooting Guide to Database Connectivity Issue with Crystal Reports in Visual Studio .NET Applications.  Accordingly, I am running the SP1 for Visual Studio 2010 on my development machine and the most recent runtime module on the client machine.
    Here is my application code.
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine; //jp
    using CrystalDecisions.Shared; //jp
    namespace WindowsFormsApplication1
        public partial class FormRptArtist : Form
            private CrystalReport1 crReportDocument = new CrystalReport1();
            public FormRptArtist()
                InitializeComponent();
            private void FormRptArtist_Load(object sender, EventArgs e)
                try
                    ConnectionInfo connectionInfo = new ConnectionInfo();
                    connectionInfo.IntegratedSecurity = true;
                    connectionInfo.ServerName = Properties.Settings.Default.CrystalServer;   // SQLExpress
                    connectionInfo.DatabaseName = Properties.Settings.Default.CrystalDatabase;   // TriviaProd
                    SetDBLogonForReport(connectionInfo, crReportDocument);
                    SetDBLogonForSubreports(connectionInfo, crReportDocument);
                    crystalReportViewer1.ReportSource = crReportDocument;
                catch (Exception exp)
                    MessageBox.Show(exp.Message);
            private void SetDBLogonForSubreports(ConnectionInfo connectionInfo, ReportDocument reportDocument)
                Sections sections = reportDocument.ReportDefinition.Sections;
                foreach (Section section in sections)
                    ReportObjects reportObjects = section.ReportObjects;
                    foreach (ReportObject reportObject in reportObjects)
                        if (reportObject.Kind == ReportObjectKind.SubreportObject)
                            SubreportObject subreportObject = (SubreportObject)reportObject;
                            ReportDocument subReportDocument =
                                subreportObject.OpenSubreport(subreportObject.SubreportName);
                            SetDBLogonForReport(connectionInfo, subReportDocument);
            private void SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument)
                Tables tables = reportDocument.Database.Tables;
                foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                    TableLogOnInfo tableLogonInfo = table.LogOnInfo;
                    tableLogonInfo.ConnectionInfo = connectionInfo;
                    table.ApplyLogOnInfo(tableLogonInfo);

    Hello,
    Install the MS SQL Server Client tools on your PC and when setting location use the MS SQL Native 10 client as your database driver.
    Only one MS supports for Server 2008, there is a MS Kbase on this, you can't use MDAC version of the SQL Client engine.
    Then update your app to use RAS and search in this forum on ReplaceConnection_click and you'll find my sample code on how to set location to use the new DB server and connection properties.
    If that doesn't work then try hard coding the log on info rather than using variables. At the same time, unfortunately SQL Express doesn't have the Management Console, you want to watch the server using Profiler to see what your app is actually sending to the Server. If you have a full version of SQL 2008 then you can monitor what is going on. If not then you'll ahve to find some other tool you can use.
    Try ODBC, you can enable ODBC Trace to see is all other options are not available.
    If that doesn't work post to MS's forum and ask them why you connection info isn't working.
    Thank you
    Don

  • Crystal Report Viewer on Client Machine

    Hi all,
               I am new to Crystal Reports. I want Open the crystal Report from SAP Interprise Portal. I want to know the Crytal Report viewer needs to be installed on client machine or without that also we can show the report. Thanks for your support in advance.
    Thanks & Regards
    Sivaramakrishnan V

    Hi,
    If you have any issues with Crystal reports .Net SDK's then please post your questions in [Crystal Reports .NET SDK forum|SAP Crystal Reports, version for Visual Studio;.
    That forum is monitored by qualified technicians and you will get a faster response there. Also, all .NET SDK queries remain in one place and thus can be easily searched in one place.
    Thank you for your understanding,
    In order to run the reports on the server where Crystal Reports is not installed, you need to install the runtimes of the Crystal Reports on the server.
    Runtimes of Crystal Reports contains all the requiered dlls of CR to run the reports where CR in not installed.
    Link to download CR runtimes - click [here|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]
    The Wiki [here|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsforVisualStudio.NETRuntimeDistribution-Versions9.1to12.0] is currently the best resource for CR.NET Runtime information.
    Hope this will help!!
    Amit

  • Run MS Windows executable on client machine

    Hi All,
    I am using Dev9i. My client machines will be MS Windows. My Forms will execute over the web. I need to have a Form read the client machine MAC Address and display it in the Form. There is an executable on the client machines, getmac.exe that when run returns the MAC Address.
    So my user will bring up his browser and give the URL of my form, then the Form should run 'getmac.exe' on the client somehow and display the string that getmac returns. It also has to send the MAC to the db but I can handle that part.
    Does anyone know how I would go about doing this?
    Thanks

    I found installing WebUtil to be a straightforward exercise. The Installation checklist is comprehensive, and if you follow it mechanically you should be alright. If you feel really lost in the world of web-deployment and Forms Server architecture then you should hop over to the Forms Upgrade Centre and read some of the white papers.
    Having said that, No 7 Appendix A is simply asking you to add the location of the webutil directory. It even gives a cross-reference to the relevant page in the main body of the manual. You've already found the right section in the right file, what don't you know what to do? Copy is Crtl+C, paste is Crtl+V ;)
    As for installation options, you only need to worry about them if you want to download an executable. Do all your users already have getmac.exe? If so, forget about it. If you have new users then the process is simple. Add a new line mimicing the example given in the Manual, only with getmac.exe in the name and the size of getmac.exe in the size (you can find this by rightclicking on the getmac.exe and looking at its properties. Make sure that a copy of getmac.exe is in the webutil/libs directory.
    Being able to do this sort of configuration is going to be a vital skill in iour industry for the next few years. Increasingly, applications are built out of components from various sources that have been stitched together - some of the stitching can be quite crude (take a bow O9iAS R2 - only joking!). Eventually, there will be GUI tools to manage the myriad configuration files from a single point. Until then, MetaPad or Vi are going to be your best friends.
    Good luck, APC

Maybe you are looking for

  • How can I display more than 1 loop iteraction in a waveform chart?

    Using DAQmx, I am inputting a signal at a rate of 10k with 1k samples inside a while loop. I want the first 3 seconds of data to display on a waveform chart without having to change the rate or number of samples. Is there a way to stop the waveform c

  • Whats the difference between these types of classes?

    What's the difference between using a "private inner class", an "anonymous inner class", and a "class that implements on itself" to create a GUI? Also, what's the difference between regular classes, abstract classes, and interfaces? I ask because I'm

  • Forwarding links

    when i try to forward an email that has links in it, the links no longer work for the person receiving the message. how can i fix this so that the links work?

  • My iMAC is sooo slow what can I do?

    OS X 10.7.5  4 GB 1333 MHz DDR3

  • How to create new client

    can anybody tell me to create a new client at present i have 111,222,333 but i need 000 also. send me the comfiguration steps