Jar files created in test server page

Hey everyone,
I have been trying to follow the steps listed at:
http://e-docs.bea.com/wls/docs81/webserv/client.html#1070561 to create a client jar. I was trying to use the jars created when you test the server code by running the webpage and d/l them. First off, i was never able to find a servicenamePORT.java file when i un-jarred it. is that a file that is only created when you run the clientgen? Second, if i was to use the clientgen, what is the domainName? is that like the workshop directory? and if that is the case, i don't have a setEnv.cmd file in that directory. can someone help me with that. and finally.... I want to take my client code and run it against a different webservice that will have the same methods, but obv. at a different location. How would i change the ip address that it points to?
THanks for all and any help
Jmgreen

1. Sun Java Studio Enterprise 8 is based on NetBeans 4.1 which does not provide direct support for packing an application. One alternative you may want to consider is to use NetBeans 5.0 (http://www.netbeans.info/downloads/download.php?type=5.0) or JSE 8.1 which is based on NB5.0 and which is now in beta (http://developers.sun.com/prodtech/javatools/jsenterprise/downloads/index.jsp).
You may want to refer to http://www.netbeans.org/kb/articles/javase-deploy.html for packing and deploying a standalone application is NB5.0 or JSE8.1.
2. Using JSE8, you may want to try copying all the library jars (including database drivers) used by your application to your projects dist directory manually and then package them all into one jar.
3. You should not have to know the exact location of the jdbc jar on the client machine. How are you instantiating the driver in your code? Are you using 'Class.forName()'? If so, java should be able to pick up the driver from the classpath. (Pl. ref to http://forum.sun.com/jive/thread.jspa?forumID=122&threadID=62696, which may be of help).

Similar Messages

  • Automatically updating files on local testing Server

    I'm using EasyPHP-5.3.5.0 as a testing server on my local machine (I've use EasyPHP for several years). I set up the Site Definition in DW8 using the testing server root folder (www) as the development area; however, this caused problems when I attempted to upload from within DW to the Remote (production) server.  I then modified the Site Definition to use a local folder. other then the Testing Server folder, for development which solved the upload problem.  Then in the Site Definition I setup the Testing Server using the "PHP MySQL" model with "Local/Network" access. The Testing Server folder was set to "C:\Program Files\EasyPHP-5.3.5.0\" and the "Refresh Testing file list automatically" box was checked.  The URL prefex was set to "http://127.0.0.1:8888/" as defined in the EasyPHP instructions.  My problem is that Dreamweaver is not updating the files on the testing server when I save a file in the development folder. The development folder and the Testing Server reside on the same computer. If I copy and paste a file to the testing server everything works fine.  I would like the testing server files to be automatically updated when I save a file in the development folder which is what the Site Definition seems to indicate should happen.  Any thoughts on what the problem is and how to fix it would be appreciated.

    > UPS tools that will only accept POST data coming from an
    https page
    Oh - I see. I think this will be hard to do. You'd need to
    get a local
    certificate and all - not sure how to go about that....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "(_seb_)" <[email protected]> wrote in message
    news:ev39uo$pm3$[email protected]..
    > Murray *ACE* wrote:
    >> Why do you want to do this?
    >>
    >
    > to test locally?... I've been able to test everything
    locally so far on my
    > virtual testing server, and thought it'd be nice if I
    could test the
    > shopping cart locally as well. But it uses third party
    UPS tools that will
    > only accept POST data coming from an https page.
    > And yes, I'm pretty sure it's a stupid idea... But as I
    said, maybe
    > there's a trick I'm not aware of...
    >
    > --
    > seb ( [email protected])
    >
    http://webtrans1.com | high-end web
    design
    >
    > An Ingenious WebSite Builder:
    http://sitelander.com

  • Extract BPEL process from the JAR file deployed to BPEL Server

    Hello All-
    We have a BPEL process deployed in our production environment but unfortunately we do not have a back-up copy in our test environment.
    I got the BPEL deployment JAR file from the production server but I am unable to extract the BPEL Process as well as the XSL file.
    I used WINRAR to extract but it was showing that the JAR file is not a valid archive. We need the prod deployed version of the XSL as well as the BPEL process for a change and we are unable to proceed.
    If anybody has faced similar kind of issue, please let me know how can it be resolved. Also please let me know if there are any tools which can extract the files.
    PLease note that we are on BPEL 10.1.2.0.2
    Appreciate your help and thanks in advance.
    Thanks,
    Dibya

    Hi Dibya
    jar -xvf <filename> will work as others said.
    However, please make sure you have another TEST/DEV Environment running in par with PROD.
    Always, suggested to test first on the TEST/DEV Env for applying any new patches/config changes...then appropriately migrate to actual PROD Environments.
    Also, always take a complete backup before you do some R&D on the SOA server.
    Regards
    A

  • Lost option to upload related files when using testing server.

    I used to get a dialogue box when I was previewing files on my local machine using my localhost testing server setup. It was kind of annoying having to click yes every time. Last week I accidentally clicked the don't show this anymore box and now when I preview a site on my localhost related files and updated files are not uploaded. I have to manually upload the css, php, and any other related files to the testing server's folder.
    I tried deleting preferences, re-installing Dreamweaver CS4, and everything else I can think of but I can't get this option back. Is there some way, other than using the same folder for the testing server and the site to avoid this problem?
    Thanks.

    Edit > Preferences > Site > Dependant Files > Check the box for "Prompt on Put or Check-in"
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • How to open a file created at the server through form/report at client end

    How to open a file created at the server through form/report at client end
    Dear Sir/Madame,
    I am creating a exception report at the server-end using utl file utility. I want to display this report at the client end. A user doesn't have any access to server. Will u please write me the solution and oblige me.
    Thanks
    Rajesh Jain

    One way of doing this is to write a PL/SQL procedure that uses UTL_FILE to read the file and DBMS_OUTPUT to display the contents to the users.
    Cheers, APC

  • File, create PDF, from web page, entire site...questions

    I am new to adobe, is this the proper forum for Adobe Acrobat 9 Pro for macintosh?  I think yes...
    Created a PDF from:  File, create PDF, from web page, entire site.
    Is there a way to print this without the background color?  If you printed from a browser, you could choose not to print the back ground color.  I know exactly the color.
    Is there a way to make this PDF look like the web, with no page breakes?  I have tried various things, but the page breaks are always displayed.
    Is there a way to create bookmarks on somthing other than the title tag in the web site?  The title tag is an SEO 1 sentence summary of the page, which makes for very long book mark names.
    Thanks for your help.
    bob
    www.answerstat.net

    I don't use v9, but what I would do is click the FILE--PRINT option, print to PDF, and enter to print one page (default is first page)

  • JAR files deployed to EBS server a not loaded by server

    Dear All,
    We deployed JAR files to Apache(Jserver) of EBS server, we put jar files to $OA_JAVA and added content of jar file names into jserv.properties, then we re-started the Apache(Jserver), but the JAR files are not loaded by server, we checked the properties file and the path of JAR files are both OK, what may cause this kind of issue?
    Currently, we are working on the Accounts Payables interface, which need to call java scripts to upload the log file to Google drive, and we need to include some Google java files in the class path, so these java files are third party's, how to config these java files under Oracle?
    Thanks,
    Jackie

    Hello Mike,
    It customization jar file.
    And customer wants to load this jar file to EBS apache server, so that they can use it to do some development work?
    Now, they wants to know how to load it?
    Thanks,
    Jackie

  • How to authenticate a JWS Client download of jar files on a web server

    Here is a history of how i tried to implement the auth system:
    The resources(jar files) cannot be downloaded by any HTTP client from the server without some authentication method.
    As JWS is not reliable when using cookies (only 1.5 supports them, but with problems when in JNLP file i specify j2se version=older that 1.5) , i implemented another mecanism that works like this:
    1. 1.The template JNLP looks like this
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp codebase="http://10.3.0.62/" href="mapped/#JWS_CODE#___#PLATFORM#___app2.2.jnlp">
        <information>
           bla bla
        </information>
        <security>
            <all-permissions/>
        </security>
        <resources>
            <j2se version="1.4"/>
            <jar href="http://10.3.0.62/mapped/gui.jar?jwsid=#JWS_CODE#" version="2.2"/>
            <jar href="http://10.3.0.62/mapped/data.jar?jwsid=#JWS_CODE#" version="2.2"/>
            <jar href="http://10.3.0.62/mapped/log4j.jar?jwsid=#JWS_CODE#"/>
        </resources>
        <application-desc main-class="com.bet.blues.gui.Application">
            <argument>-host</argument>
            <argument>ursus</argument>
            <argument>-port</argument>
            <argument>17771</argument>
        </application-desc>
    </jnlp>2. All resources found in /mapped/ directory are mapped to JWSServlet
    3. The users login to a site , clik on link , /mapped/app2.2.jnlp , the servlet checks if the session is active , gets the PLATFORM form browser request header , gets the JWSCODE for the logged user, replaces this in the template, and returns it to the client
    4.Now after the 1st download the JNLP file is opened by JWS Client , that checks for latest version , requesting the JNLP file again
    like this:
    GET http://10.3.0.62/mapped/f12ks21092___windows___app2.2.jnlp5.Now the servlet sees the the request has a JNLP file name with an ID and PLATFORM, and serves the JNLP as before
    6.The JWS Client will request for JAR Files
    GET http://10.3.0.62/mapped/gui.jar?jwscode=f12ks21092?version-id=2.2Note: that i have forced JWSID parameter in the URL, that's why the query string contains 2 "?"
    - forcing this is because the mapped/*.jar is redirected JnlpDownloadServlet that supports versions , diffs - i cannot use 'version' to put there the jswid param(e.g .../mapped/gui.jar version="fk12ks21092_2.2" because the JnlpDownloadServlet will not find this version , and if JWS Servlet will redirect to JnlpDownloadServlet with correct version param in request, the JWS Client will raise an exception because version responded is not right(JNLPDownloadServlet marks in response HTTP header the version of the jar so JWS CLient will chek it)
    JWS Client expects version 'fk12ks21092_ver2.2'; to correct this i should modify the JnlpDownloadServlet and i shouldnt
    THE PROBLEM :
    on older versions than 1.5 JWS Client raises an exception because it wants to create a temp file named
    " gui.jar?jwscode=f12ks21092" because it contains "?"
    Only with 1.5 that seems to parse the jar name until it meets "?" char :(
    Thats why i wanted to send an error to the client to upgrade to Java Web Start 1.5
    Now, maybe u have a solution to this problem...
    All i want is a solution to let JWS Client download jars only if the user is authenticated by some mecanism....and also support the versioning system.
    Also:
    Note that the jar names must preserve on the client JWS Cache dir ( i cannot use the same method to pass the JWSCODE when requesting the JARS as when requesting the JNLP).

    You need to look into JAAS

  • Can not open a fmb file created in W2000 Server in XP

    I create some fmb files in windows 2000 server, Developer 2000 Forms 6i & Patch 17, this forms work fine, but when i tried to open in Same release in Windows XP forms shutdown abnormaly with the next message
    "Oracle Forms Designer has encountered a problem and needs to close. We are sorry for the inconvenience."
    If i create a new in XP too work fine.
    I make a test with convert in W2000Server fmb -> fmt then,
    In XP convert fmt to fmb... it works but when i try to open shows the same failure.
    Thanks.

    hi..
    I dont think that this is a problem with forms, for me the forms created in windows 2000 works fine with my windows xp
    regards
    Kris

  • Creating a Testing Server

    I am using an Apple Mac and Dream Weaver.  I need to use PHP within HTML files.  While I have the Dream Weaver site working with ipage.com, I am having a difficult time setting up a local test server.  I have installed MAMP and have the Apache and Mysql servers running.  My DreamWeaver file is stored as
    User/rnharri/Documents/Sites/S/D/test.php.  When I configure the site I created
    Servername: =localtest
    Connect using: Local/Network
    Server Folder: /Users/rnharri/Documents/Sites/s/d
    Web URL: http://localhost/s/d
    At first I got "can not find file:" now every time I run the file it it guides me thorugh setting up a local server and executes the HTML code but ignore the PHP code.
    Can anyone tell me exactly what the Web URL: should include and how I can test on my mac to make sure the directories are what I am specifying.
    Thanks,
    Rick

    Rick,
    MAMP defaults to Applications/MAMP/htdocs folder and considers this as localhost, unless otherwise you've changed the setting.
    You may want to create your site folder within /htdocs and then configure the definition in Dreamweaver. This way, your site will be localhost/s/d and your file path will be htdocs/s/d.
    I use MAMP PRO. But, the setting is more or less similar for MAMP (free version) too.
    Notice 'Disk Location'. You can change this to your Documents/Sites folder if you prefer working with files from there. Then, restart MAMP. localhost will now point to Documents/Sites folder instead of MAMP/htdocs.
    -ST

  • How to save php files w/out testing server?

    Don't shoot me, I'm totally not a techie. I know HTML pretty
    well, but not php. But I did take over maintenance of a site built
    with php. I use DW MX and never installed php. The site doesn't do
    anything dynamic, but it does use includes. This is all fine, but
    here's the problem:
    My client bought DW8 and is now taking over maintenance
    himself. He's less techie than I am, by the way, but he has used
    DW4 without problems. So he's trying to play around with the site,
    creating a new file and saving it with his DW8. But he gets an
    error message saying that he's supposed to define a testing server.
    I told him to go into the edit sites section and specify "none" for
    server model and access (that's how I have it set up with my DW
    MX). He said he tried that and it still won't let him save his
    files.
    So is there some way to tell Dreamweaver that even though
    he's using a .php extension, the files don't need to be tested
    locally? I'm having a tough time helping him with a product I don't
    even have.
    Thanks.

    Have him IGNORE the error message by clicking NO.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "barngirl" <[email protected]> wrote in
    message
    news:el9tr1$br$[email protected]..
    > Don't shoot me, I'm totally not a techie. I know HTML
    pretty well, but not
    > php.
    > But I did take over maintenance of a site built with
    php. I use DW MX and
    > never
    > installed php. The site doesn't do anything dynamic, but
    it does use
    > includes.
    > This is all fine, but here's the problem:
    >
    > My client bought DW8 and is now taking over maintenance
    himself. He's less
    > techie than I am, by the way, but he has used DW4
    without problems. So
    > he's
    > trying to play around with the site, creating a new file
    and saving it
    > with his
    > DW8. But he gets an error message saying that he's
    supposed to define a
    > testing
    > server. I told him to go into the edit sites section and
    specify "none"
    > for
    > server model and access (that's how I have it set up
    with my DW MX). He
    > said he
    > tried that and it still won't let him save his files.
    >
    > So is there some way to tell Dreamweaver that even
    though he's using a
    > .php
    > extension, the files don't need to be tested locally?
    I'm having a tough
    > time
    > helping him with a product I don't even have.
    >
    > Thanks.
    >
    >
    >

  • Missing CRLF in file created on application server

    Hello,
    We have a requisite to create a file on the Application Server (AS/400) with CRLF at the end of every record. The records are stored in this structure:
    - OUTPUT: CHAR655, text to export;
    - LENGTH: NUMC4, length of the record (text to export).
    To create the file I have the following code:
      open dataset lv_filename
        for output in text mode
        encoding default
        with windows linefeed.
      loop at pt_output into ls_output.
        try.
            clear lv_length.
            lv_length = ls_output-length.
            transfer ls_output-output to lv_filename
              length lv_length.
          catch cx_root into gv_oref.
    *    TODO
        endtry.
      endloop.
    I have two problems:
    1º When I open the file in Notepad++ the records should have 500 caracters (lv_length = 500), but it has 502;
    2º Only LF appears, not CRLF.
    Can anyone help me please?
    Regards.

    Hello,
    Strangest thing, when I test it with 255 characters it works fine (CR+LF):
            clear lv_string.
            ls_output-output+254(1) = cl_abap_char_utilities=>cr_lf.
            lv_string = ls_output-output+0(255).
            transfer lv_string to lv_filename
              length 255.
    When I try with 256 characters it doesn't work, at the end of each record I can only find LF:
            clear lv_string.
            ls_output-output+255(1) = cl_abap_char_utilities=>cr_lf.
            lv_string = ls_output-output+0(256).
            transfer lv_string to lv_filename
              length 256.
    Don't understand why...
    Regards.

  • Where are the jar files located in the server in which the MS SQL Server is installed?

    Hello All,
    Please tell me the place where jar files are located in the system in which the MS SQL Server is installed.
    Please help me as early as possible.
    Thanks in advance.
    Thanks and Regards, Readers please vote for my posts if the questions i asked are helpful.

    Check BOL page: Using the JDBC Driver
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Alternative to specify the jar file location other than server classpath.

    Hi,
    We use weblogic 8.1 for our development purpose... and mostly work on ejb's. Every time a new ear file is created and deployed we need to specify the jar files needed to run that application in server classpath.... is there any alternate way so that v can avoid specifying these jar files in server classpath...

    vinod hadlee wrote:
    Hi,
    We use weblogic 8.1 for our development purpose... and mostly work on ejb's. Every time a new ear file is created and deployed we need to specify the jar files needed to run that application in server classpath.... is there any alternate way so that v can avoid specifying these jar files in server classpath...One alternative is you could bundle the jars in the EAR itself in APP-INF/lib.
    Gerald

  • What are the Jar files required for Tomcat server of jdev 11.1.2.0.0

    Hello Experts,
    My client wants to just check the adf application on tomcat server
    how do I create a war file and then deploy it into Tomcat server
    and what all JAR files do I require to do it??
    I am using jdev 11.1.2.0.0 and tomcat server is 6.0.35
    Thanks for the help..
    933601.

    https://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1
    http://docs.oracle.com/cd/B31017_01/web.1013/b28967/deployment_topics012.htm
    Tomcat Extension for JDeveloper is available.
    http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/130355.xml#shay.tomcat

Maybe you are looking for

  • Advice on best office grade A3 graphics colour printer/copier

    Currently we lease a Canon iR2200 (which is black & white) via IKON in the UK: http://www.canon-europe.com/ForWork/Products/Office_Print_Copy_Solutions/Digital_IRSeries/iR2200/index.asp?ComponentID=25508&SourcePageID=26027 http://www.uk.ikon.com/ But

  • My in-page html links don't work in Firefox.

    I've made som links within the same page in HTML, and they don't function in Firefox, though they work just fine in IE. I've already tried everything on this page: https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a

  • Temporary tablespace is not being used

    hello all, we have oracle 10g 10.2.1.0 on windows server 2003 platform (32-bit). we have 24*7 database. we have OLTP with heavy transactions. last night we ran a report which is supposed to fetch more than 2500 rows and query include group by and ord

  • CLID not shown on FXS port

    I am using Call-manager 6.0.1b, a MGCP controlled Gateway.On the Gateway i have installed a NM-HD-2V with a Vic2-2FXS module. On this module i connect 2 analog phone with capability to display the Caller-ID. When i call the analog port from a ip phon

  • Everytime I boot up firefox, this help page occurs, won't close and then will reappear dozens of times at the same time

    All of s a sudden, my home pages takes forever to come up and when I try to call up another web address,The mozilla hlp page appears. If I try to close it, new tabs will appear,often dozens of them all attempting to reopen the mozilla help page.