Where to store the ppk file in server?

Hi All,
I am pushing the files to remote server using SFTP with ppk authentication.
I wrote the program to connect to remote path by keeping the ppk file in class path and working fine.
for testing this would be fine but as application moves from system to system, ppk file has to be updated.
so I want to store this ppk file in particular server location and want to download this ppk file at runtime;
can you please suggest the standard server location where we generally store ppks?
and how can we load the file from this server location?

Here is some extra infomation, i did the war file in eclipse. but this is the structure of the war file
http://www.java-tips.org/other-api-tips/eclipse/how-to-make-war-file-in-eclipse.html
A WAR file must contain the following directories (in addition to its root directory)
WEB-INF
WEB-INF/classes
WEB-INF/lib
The root directory contains JSPs (covered in the next chapter), HTML files, JavaScript files, and CSS files.
WEB-INF contains deployment descriptors such as web.xml.
WEB-INF/classes contains the compiled code (.class files) and may optionally contain property files. Just as with any Java classes, the directory structure must match the package structure, therefore this directory typically contains several subdirectories corresponding to the classes contained in it.
WEB-INF/lib contains JAR files containing any library dependencies our code
might have.
The root directory, WEB-INF, and WEB-INF/classes directories can have sub directories. Any resources on a subdirectory of the root directory (other than
WEB-INF) can be accessed by prepending the subdirectory name to its file name. For example, if there was a subdirectory called css containing a CSS file called style.css, this CSS file could be accessed in JSPs and HTML files in the root directory by the following line:
<link rel="stylesheet" type="text/css" media="screen" href="css/style.css" />
Notice the css prefix to the file name, corresponding to the directory where the CSS file resides.
To create our WAR file "from scratch", create the above directory structure in any directory in your system, then follow the following steps:
1. Copy the web.xml file to WEB-INF.
2. Create the following directory structure under WEB-INF/classes: net/ensode/glassfishbook/simpleapp.
3. Copy SimpleServlet.class to the simpleapp directory from step 2.
4. From the command line, issue the following command from the directory right above WEB-INF: jar cvf simpleapp.war.
Thanks
Martin

Similar Messages

  • Where Firefox stores the FLV files in windows 7

    Where Firefox stores the FLV files in windows 7
    == This happened ==
    Not sure how often
    == Where Firefox stores the FLV files in windows 7

    FLV files played by the Flash plugin are usually streamed and not saved to the hard drive.
    They may be kept in the memory cache during the playing.
    Video DownloadHelper: https://addons.mozilla.org/firefox/addon/3006

  • Any way to change the location where itunes stores the backup files?

    I am running low on my C: drive in XP. Any way to change the location where itunes stores the backups of my various devices?

    i am currently in the same situation. i purchased an external hard drive and set itunes to save to it in the preferences, and this worked, but only for new additions. all of my current music still plays from my mac HD and not the external. i am assuming i will need to re-add every song. the only plus is that when i transferred my songs to the external, it saved my settings. hopefully it saves the play counts.

  • Where to store the servlet class files ?

    If, I store the class files for servlets under WEB-INF/classes folder,
              i get file not found exception while using WL 6.1 sp2. But, if i store
              the class file under DefaultWebApp folder, it works fine.
              Any help about where to store the class files for servlets would be
              great help.
              Thanks.
              hiren
              

    Copy Servlet in DefaultWebApp/Web-Inf/classes directory.
              Configure Servlet in web.xml deployment descriptor.
              <servlet>
              <servlet-name></servlet-name>
              <servlet-class></servlet-class>
              </servlet>
              <servlet>
              <servlet-name></servlet-name>
              <servlet-class></servlet-class>
              </servlet>
              <servlet-mapping>
              <servlet-name></servlet-name>
              <url-pattern></url-pattern>
              </servlet-mapping>
              hiren dossani wrote:
              > If, I store the class files for servlets under WEB-INF/classes folder,
              > i get file not found exception while using WL 6.1 sp2. But, if i store
              > the class file under DefaultWebApp folder, it works fine.
              > Any help about where to store the class files for servlets would be
              > great help.
              >
              > Thanks.
              >
              > --
              > hiren
              

  • Where to store the servlet classes

    can anyone tell me where to store the servlet classes(inside a package)in oracle9iAS used with oracle8i database ?
    Also how to deploy an ejb in oracle9iAS. should we have to use oracle8i deployment guide or any other procedure??
    thanks in advance

    Copy Servlet in DefaultWebApp/Web-Inf/classes directory.
              Configure Servlet in web.xml deployment descriptor.
              <servlet>
              <servlet-name></servlet-name>
              <servlet-class></servlet-class>
              </servlet>
              <servlet>
              <servlet-name></servlet-name>
              <servlet-class></servlet-class>
              </servlet>
              <servlet-mapping>
              <servlet-name></servlet-name>
              <url-pattern></url-pattern>
              </servlet-mapping>
              hiren dossani wrote:
              > If, I store the class files for servlets under WEB-INF/classes folder,
              > i get file not found exception while using WL 6.1 sp2. But, if i store
              > the class file under DefaultWebApp folder, it works fine.
              > Any help about where to store the class files for servlets would be
              > great help.
              >
              > Thanks.
              >
              > --
              > hiren
              

  • Where is the bookmarks stored? I Install the Firefox once again since I upgrade my computer.Is there any folder just like "favourite"to store the html file? I really want to find out the bookmarks because actually i can't remember all the website that ar

    Where is the bookmarks stored?
    I Install the Firefox once again since I upgrade my computer.
    And I try to move the bookmarks from the old computer to the new one.
    But I can't find anyone of them.
    Is there any folder just like "favourite" to store the html file?
    I really want to find out the bookmarks because actually i can't remember all the website that are important to me~ URGENT!!!~THANKS~

    You can move file named places.sqlite from your old profile to the new one. It contains bookmarks and browsing history.
    Here's a knowledge base article about it: [[Recovering important data from an old profile]]
    If you don't care about saving your current bookmarks, you can skip creating new profile (Firefox does it by itself at first run anyway).
    I'd might suggest you to install addon https://addons.mozilla.org/en-US/firefox/addon/2410/|Xmarks Bookmark and Password Sync]. It is a free web service which synchronizes bookmarks and (optionally) passwords with central server, and then to other computers, if you installed it on more. You may treat is as a backup too.

  • Where should I store the collatoral files that are associated with photos stored in lightroom?

    Where should I store the collatoral files that are associated with photos stored in lightroom? Items such as pdf files, word documents, etc. How should I connect them to each other so I can find both the photo and the related data?

    Lightroom itself will not help you with pdf, word, etc.
    However, there is a plugin you can use called AnyFile which will allow you to manage these documents in Lightroom (by assigning keywords and other metadata) so that you can search for all documents (photos, pdf, word, music, powerpoint, etc.) with given metadata.
    Because you do this via metadata, it doesn't matter where you put these files. Put them anywhere you want.

  • Where does Bridge CS5 store the metadata files?

    Where does Bridge CS5 store the metadata files that are created under the Tools menu?  I moved CS5 from one drive to another on my Mac Pro and lost all of them.  I'd like to recover them is possible.

    Yikes!
    genenphoto wrote:
    …I moved CS5 from one drive to another on my Mac Pro…
    First of all, all Adobe applications really need to be installed and reside permanently on your boot volume, i.e. the same volume where your OS resides.  There will be endless grief if you install the applications elsewhere.
    Secondly, I hope by "moved" you mean that you deactivated CS5 and then used the Adobe Uninstaller to uninstall CS5, then re-installed CS5 from the original media, from scratch, and not just drag-copied the Application folder.  And hopefully there's an OS installation on that other drive that will allow you to boot off that drive.
    Third, you need to refer to your preferences in Bridge as you set them to find out whether you were keeping the cache in distributed folders or were using the central database, whether you were using separate xmp sidecar files, whether you had Export Cache to Distributed Folders set in Bridge preferences, etc..
    Wo Tai Lao Le
    我太老了

  • Where should I store the rendered files?

    (My Color projects are in "Documents")
    Where should I store the rendered files?
    On my external HD with my FCP media? Or on my Hard Disk is fine ?
    Can I calculate that 1 Go of DV NTSC = 1 Go of rendered file in 10 bits?
    Many thanks

    this came up as a topic at a recent FCPUG seminar.
    Since the dawn of time, it is recommended practice to keep your media off the application drive.
    The more disks you have spinning, the better the chance that you will get the data throughput rates that will support the demands of your media. Whether that's a RAID or a JBOD, its up to you how you value your time and assets.
    I keep things as 'external' as possible, mostly because clients are anxious to get the material back, but I'd have to keep moving stuff around just to maintain the space. And I still have to get merciless with all the temporary FCP render stuff.
    jPo

  • Where microsoft stores the information of each file? like .....

    I would like to know where microsoft stores the information about each file in my computer,
    because I want to search a specific folder in my computer that contains more than 400 files
    and stores the name of each file and its size and the modified date of it in an
    Excel sheet?
    Please, tell how to do it
    it's urgent

    Firstly the platform independance of Java is maintained (in part) by allowing the JVM to negotiate with the Operating System and the developer to command only the JVM.
    Secondly the Security Mangager of Java would not being functioning correctly if you were able to access arbitary memory in this way.
    Thirdly, do you have no compassion for Linux users?
    It is possible to conduct this search using the Java Core API
    Bamkin

  • Not able to read the wsdl file from server Premature EOF encounter

    Hi All,
    I am facing issue while accessing a web Service from server. Here is the clear view about it.
    I created a simple SyncBpel process in a composite and deployed in to the server and it is working fine. Later i created a new Asyn bpel process in a composite and in the external reference i dragged a web Service and imported the wsdl url from server of the SyncBpel and wired the Asynbpel process to webserive .
    Now here i am facing peculiar behavior which i am not able to trace it out.
    1) For the first time when i import the url of syncBpel from the server i am not facing any error and it is working fine as expected but when i close the Jdeveloper and open it i am not able to user the web Service and it is saying as "Not able to read the wsdl file from server Premature EOF encounter"
    2)When i close and open the Jdeveloper i can see the url of the wsdl which imported in webserver is changing from http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL to http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/BPELsync.wsdl
    3)when I open and see the url http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL I can see the soap address as *<soap:address location="http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel!1.0*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c/bpelsync_client_ep"/>*
    I don’t understand why the soap end contains “*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c” and this kind of url for soap address is coming to all the bpel process which I am deploying in the server.
    I checked the in Jdeveloper where webproxy is uncheck and the server is also up but still I am facing issue of reading the error.
    Can someone please help in resolving the issue.
    I am using SOA 11g 11.1.1.5 and Jdeveloper 11.1.1.5
    Many thanks.
    Tarak
    Edited by: user11896572 on Jan 17, 2012 5:22 PM

    Hi,
    Setting default from the jdeveloper -
    During composite deployment from Jdeveloper (wizard driven), you will be given an option to choose the version of the composite and there will also be an option for you to choose if the composite needs to be deployed as default.
    Setting default from the em console -
    After deploying a composite, login to the em console and click on the composite that you want to set as default, and you will find a tab - "Set as Default". please note that this tab will not be seen, if the composite is already set as default.
    Refer -
    http://docs.oracle.com/cd/E12839_01/integration.1111/e10226/soacompapp_mang.htm
    8.2 Managing the State of Deployed SOA Composite Applications
    Thanks

  • How to store the pdf file

    hi all,
    i need a pl/sql code to store the pdf file into the oracle database using blob.
    help me.
    Thanks in advance

    rabbott wrote:
    My first question is "where is the PDF file located"? If the answer is "on a file system accessible to the Oracle database" Then you can use directory objects and the DBMS_LOB package. It would look something like this:
    as SYS user do:
    -- assume the PDF files are in /data/documents <font face="tahoma,verdana,sans-serif" size="1" color="#000">files</font>ystem directory
    create or replace directory pdfdir as '/data/documents';
    grant read on directory pdfdir to <USER>;
    as USER do:
    create table mydocs (id integer primary key, doc blob);
    declare
    bf bfile;
    b blob;
    src_offset integer := 1;
    dest_offset integer := 1;
    begin
    -- insert a new blob and return it to local variable
    insert into mydocs values(1, empty_blob()) returning doc into b;
    -- open the bfile for file "summary.pdf"
    bf := bfilename('PDFDIR', 'summary.pdf');
    dbms_lob.loadBlobFromFile(b, bf, dbms_lob.lobmaxsize, dest_offset, src_offset);
    -- done
    commit;
    end;
    /I have the issue which is similar to what you have faced, I'll follow what you said to take a try, Thanks a lot!

  • Where to retrieve the downloaded files?

    Hi All,
    I m E61i user. I have no ideas where to find the downloaded files? I m appreciate that someone from the forum help me on this matter.

    Hi deenesh,
    I assumed you are using iPlanet Application Server.You can put jsp file in
    ..war file and deployed it.
    just go thru fortune sample it will give you the better Idea.
    please get back to me if it you have any question.
    thanks
    Deepak
    deenesh wrote:
    hi everyone,
    when installing iplanet, i am not able to figure out where to put the jsp
    files such that the iplanet can recognise it. I know this may seem a sillty
    question, but i need the answer urgent.
    thanks in advance

  • Where to store the attachments before sending a mail

    can any one help me
    when user clicks on attachfiles where to store the attachments before sending an email
    thanks in advance

    pengyou wrote:
    jschell wrote:
    pengyou wrote:
    However, if I just want store the html file in a file system for quich test purpose, how can I store the url and keep a link to the related file.Instead of storing the content in the database you instead store a file system location (either a path or a file url.)
    That file system location is where you store the content.Indeed, the file system location is where I store the content which I crawled from Internet. However, it is not the initial url from which I crawled this content. I would like to store the initial url of this content too. This is still a problem.No it isn't.
    You have two pieces of data: Url and content.
    If you want to store the content on the file system then your database table would have two columns: url and file_location.
    You then do the following
    1. Save the content to the file system. Derive a file path from that process.
    2. Write a record to the database consisting two data items : url and that file path.

  • Where to store the url of a webpage for indexing and searching?

    Dear Java gurus,
    We have a set of html files stroing in a file system. We can use Lucene to index those files with two fields "path" and "content ". Then using Lucene we can search and the result will be the relevant content and its path (path in the file system).
    As each of these html file is a real web page, we know its url in Internet too. However, I don’t know where to store this real url and let Lucene to index not only the path, content but also this url. If this is possible, then the search result will display the url also.
    Do you have any idea about this ?
    This is the last obstacle for us to develop a small Google like search engine. We have already a crawler that works well.
    Thanks for any suggestions.
    Pengyou

    pengyou wrote:
    jschell wrote:
    pengyou wrote:
    However, if I just want store the html file in a file system for quich test purpose, how can I store the url and keep a link to the related file.Instead of storing the content in the database you instead store a file system location (either a path or a file url.)
    That file system location is where you store the content.Indeed, the file system location is where I store the content which I crawled from Internet. However, it is not the initial url from which I crawled this content. I would like to store the initial url of this content too. This is still a problem.No it isn't.
    You have two pieces of data: Url and content.
    If you want to store the content on the file system then your database table would have two columns: url and file_location.
    You then do the following
    1. Save the content to the file system. Derive a file path from that process.
    2. Write a record to the database consisting two data items : url and that file path.

Maybe you are looking for

  • Why increase in monthly billing

    My bill was quoted at $101.49 and has been that amount; however, upcoming bill is for $120.14, a difference of $18.65. Please explain why the increase. Thank you.

  • Need installation cd for a HPF335 all-in-one deskjet printer.

    NEED INSTALLATION CD FOR AN HP F335 ALL-IN-ONE DESKJET PRINTER. WHERE CAN I GET A COPY?

  • No preview on jpegs

    We've just bought a MacBook Pro with Retina Screen and basically when I transfer my jpegs (sports photos) to another iMac there is no picture display on the jpeg, just the jpeg number, which is a bit annoying as I don't know the jpegs by their number

  • Opening garageband projects in logic

    opening garageband projects in logic seems to be a very simple procedure, however im having some difficulties. I've tried to open all my garageband projects in logic pro 7, but none are working. I get a message saying "Damaged song, or not a Logic Ex

  • How to see what sites was viewed and deleted?

    I need to know what was viewed and deleted on firefox when I was at work? I asked comcast but they said I have to ask you guys. The history isn't there and will not restore. Can you please give me a list of viewed websites for this week or how can I