Metric Extension for Flashback area utilization monitoring

OEM:12.1.0.3
How to create a metric extension for flashback area utilization monitoring.

Also refer the below document for creating metric extension on flash recovery area.
http://docs.oracle.com/cd/E24628_01/doc.121/e24473/metric_extension.htm#CACJABFC

Similar Messages

  • Why is there no updates to the firefox throttle add-ons ? Is there an alternative? throttle is Bandwidth utilization throttling and monitoring extension for Firefox

    Why is there no updates to the firefox throttle add-ons ? Is there an alternative? throttle is Bandwidth utilization throttling and monitoring extension for Firefox

    Well, it's probably one of two things: either the awesome dude(tte) who developed this awesome extension was tired of updating or the changes in FFox software architecture carried out between version 3.x and 4+ created challenges that were too difficult for him to surmount or a combination of both. Honestly, I love Mozilla but I think they dropped the ball on the throttle issue. It's such an obvious and necessary function and it's so easy to implement. They should have included it a long time ago as in built feature. And, if you are browsing and looking at this post and you agree. Add a suggestion in mozilla.org. The more of us asking for this function, the better.
    Meanwhile, I have the following solution for you:
    Solution 0.6.9.23.11 (DIY Version of my Solution ):
    Setting Up a Separate Portable Firefox 3.6.x that runs independently of and simultaneously to your latest version of Firefox
    Get FireFox Portable 3.6.24:
    http://portableapps.com/apps/internet/firefox_portable/localization#legacy36
    It's a portable app, meaning that it's got all it's profiles and preference and application files in the same directory. It won't compete with your current installation of Firefox, has it's own separate extension folder etc...
    Get Firefox Throttle 1.1.6
    http://firefox-throttle.en.softonic.com/ (I couldn't find it in the official mozilla site)
    It will be flagged as incompatible with even that old version of firefox (but it isn't). You just need to turn off compatibility checking. You can do that with this extension:
    https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/?src=search
    If you have Bookmarks you want to port to the portable (bad pun intend), backup them up to bookmarks.json file on your desktop and import them to the portable version. You can export/import more stuff using FEBE addon but that's a whole world of headaches if you don't your doing.
    Many of your extensions favourites extensions will no longer work on FFox 3.6.x but if, in that same addon's page, you look around until you find a link to previous versions of the addon, you will notice that the compatibility info is right below the version numbers. Just download and install the latest version that is compatible with you 3.6.x....
    Voila mon ami! Your FFox 3.6 portable has just become your own private Download Mule whom you can throttle to your hearts content (ever throttle a real Mule??? I wouldn't try it, personally...) Do your regular browsing in another (unthrottled) browser and do your big downloads in the Mule...
    If you want to keep using your brand spanking new Firefox for other types of browsing while using this portable Mule edition for the downloads, just add -p -no-remote to the shortcut leading to your Firefox Portable Mule edition.
    For example, my taskbar shortcut to my Firefox Portable is:
    ""C:\Program Files (x86)\FirefoxPortableLegacy36\FirefoxPortable.exe"
    I just changed it to:
    "C:\Program Files (x86)\FirefoxPortableLegacy36\FirefoxPortable.exe" -p -no-remote
    This will make it occupy it's own independent instance and I can use the both my Firefox Nightly and the Firefox Portable editions at the same time (each one, using a different profile ie. extensions, cookies, password, cache etc).
    If you're on Linux, you can just run this on Wine and set the Windows Version to Windows 2000 in the Wine config,
    If you want to get rid of the Portable Apps splash screen, click here:
    http://www.ghacks.net/2011/06/06/getting-rid-of-portableapps-splash-screens/
    Solution 0.6.9.23.11 (Non-DIY Version of my Solution):
    Download my preconfigured but SWAGGED-THE-HECK-UP PortableFirefox 3.6
    Having realized that some of you may find the above to be daunting. I took my own customize firefox portable, took out all my data and compressed the folder (it's portable, so it'll run as soon as you unzip it).
    Here is a screenshot:
    http://www.mediafire.com/?o95nkwo8y6q535j
    Here is the download link:
    http://www.mediafire.com/?xdw87ivf3184u2s
    Don't forget to modify your Start/Taskbar shortcuts:
    "C:\wherever you decide to put it\FirefoxPortableLegacy36-Swagged-UP!\FirefoxPortable.exe"
    I just changed it to:
    "C:\wherever you decide to put it\FirefoxPortableLegacy36-Swagged-UP!\FirefoxPortable.exe" -p -no-remote

  • How to use Flash recovery area only for flashback database feature

    I would like to use flash recovery area only for flashback database feature, which means, flash recovery area will store only flashback logs.
    I dont want to use that file system for any other files, like archive log files, database backups, control file copies, multiplex redo log, etc
    is it possible? I want to use this feature only for flashback database option and hence i dont want to disturb any existing configuration in my database
    including backup jobs. Is it required to store archive redo log files also in flash recovery area to use the flashback database feature?
    I certainly can't afford to have a copy of entire database in this file system as size of my DB is more than the flash recovery area file system I have.
    Thanks
    Sarayu

    user13312943 wrote:
    Aman,
    I think i was not clear in my question. Let me try again
    My only requirement is to use flashback database feature (or be prepared to use if required). I dont want to create a large file system to use this FRA to store all these files. Out of all the files being stored here copy of data files seems to be consuming more space. I see these files are classified as transient and permanent files. I am okay with permanent files. I fear that this file system may consume more space if i store backup files on disk. I want database backups to go to tapes, not to the FRA disk. Is it possible?
    Thanks for your reply
    Okay, well in that case you can use RMAN and push the backups to the tape drives. FLB logs would be stored on the FRA.
    Aman....

  • Where are the Extensions for Creative Suite 4?

    it's all in the title, where are the Extensions for Creative Suite 4? CS4 or CS3 or AS2 or AS3...

    Hi Patricia,
    In order to support the new Omniture workflows, we had to use some new CSXS features and Flash Pro features that were implemented in CS5 only for these extensions to work. Specifically, in Flash Pro, to enable new communication workflows between the design view and CSXS panels, we've introduced several new events that are triggered from design view to update the panels.
    We cannot backport these events to CS4, as this would be a very costly endeavor with limited applicability. In order to use the extensions, we recommend you moving to CS5. Aside from the extensions, you'll get also more than 250 great features, more speed, etc.
    Regarding the AS2 or AS3 support - we have both for the Flash Pro Test&Target extension, and we only support AS3 for the SiteCatalyst extension.
    I hope this helps,
    Sincerely,
    Alexandru

  • Planning buying the same newest ver but for Mac... well file extensions and compatibility are identi

    I have cs4 master collection for windows, planning buying the same newest ver but for Mac... well file extensions and compatibility are identical or...?

    I have cs4 master collection for windows, planning buying the same newest ver but for Mac... well file extensions and compatibility are identical or...?

  • I need an extension for my iphone earphones with Microphone capability, where are they?

    I need an extension for my iphone earphones with Microphone capability, where are they?  need with a 3.5mm and male and female ends

    ebay has a couple, but when asked the seller will state it will not work for mic on the phone..  thoughts?

  • Where are the extensions for versions older than CS6?

    When I go to the Adobe Exchange at https://www.adobeexchange.com/, the only clickable option I see is to download Adobe Exchange panel for CS6. Since I'm running CS5.5 for Mac, this won't install. There's no search feature. When I go to http://www.adobe.com/ and do a search for Adobe Extensions for CS5.5 for Mac, I get taken to links that ultimately all point back to https://www.adobeexchange.com/. I am caught in an endless loop. Why is this so difficult now? It used to be so easy!

    Hi d.duffee1962,
    There is a link in the Extension Manager CS6 web page which links to the older versions of Extensions Manager.
    Extension Manager CS5.5: http://www.adobe.com/exchange/em_download/em55_download.html
    Extension Manager CS5.5.3 patches: http://download.macromedia.com/pub/dw_exchange/extension_manager/mac/AdobeExtensionManager _5_5_3_mul_AdobeUpdate.dmg
    Thanks,
    Xiaoyi

  • Are extensions for older Dreamweaver (CS5) archived somewhere? Can an installed extension be exported?

    Today's wild goose chase is the extension that restored the deprecated validator into CS5.
    I'm trying to re-install the validator extension for CS5, but the link (http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=2188 524) just redirects to https://creative.adobe.com/addons, which no longer seems to offer any way to get to older extensions.
    Oddly, I can't seem to find the original package (I assume it was an mxp or zxp) on the computer where I already have the extension installed. Maybe it's got a different filename and is eluding my search, or maybe it just went into a temp folder I've long since emptied.
    I know that the Dreamweaver/Downloaded Extensions folder in Windows would contain the downloaded install file, but this is a Mac and I haven't been able to find out what the equivalent directory here is.
    I'd pack up the installed extension and copy that to the other computer if I knew how to do that, but I don't even know the filenames or locations involved in this extension.
    My employer isn't going to update my copy of Dreamweaver, so getting a current editor isn't an option.
    Blah, what a mess. Does anyone know where I can get my hands on an install file for this ancient extension? (Or have any other thoughts on how I can track it down?)
    Thanks!
    Al

    I don't think that extension exists anymore b/c DW ultimately put their built-in validation feature back in to CS6.  And CS5 is no longer supported.
    Why don't you just use W3C's online validation service which is much better than the DW feature? 
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    If you have Firefox's Web Developer Toolbar Add-on, among many other things it allows you to run a W3C validation on your local files directly from Firefox's Tools Menu.  See screenshot.
    Nancy O.

  • Where can I get the Adobe AIR extension for Dreamweaver CS5.5 ??

    I am either going insane or all the links I can find are broken.
    http://www.adobe.com/products/air/tools/ajax/ redirects to http://www.adobe.com/devnet/air.html, which has no apparent download link.
    Any help most welcome.

    I have been looking for the past couple of weeks.  Some dweeb at adobe decided to redirect all URLs that had "air" in them to the stupid dev site that of course has no information on it about dreamweaver (except to buy it). It would be logical to put something big on the right side that says "if you got here to download the adobe air extension for dreamweaver it has been moved to here..... I guess nobody is monitoring the thousands of redirects from the air/tools/ajax and might say.. hey I should fix that.....

  • Warranty extension for Satellite U400

    Hello!
    I have a question about possibility to extend warranty for my laptop.
    On the official web-ste there is information about my device and it;s written over there:
    "Standard Warranty
    Coverage: International Days:365 Expiration Date: 2010-05-25
    Extended Warranty
    Servicename: International Warranty Extension from 1 to 2 years Service Coverage: International Days: 730 Expiration Date: 2011-05-25 "
    It's written that I have already an extended warranty, but i've just register the standard warranty of my new laptop!
    Anyway, the question is: can i buy a warranty extansion in my cause and what type of extension i have to buy (from 2 to 4, from 2 to 3 e.t.c.)
    Thank you in advance!
    P.S. And one more question: my friend is going to buy Toshiba Satellite A500-1F2. The same question: which kind of warranty extension is he able to purchase?
    Thank you!
    Best regards,
    Dmitry

    Hi
    Usually all notebooks are covered by standard warranty for a 1 year.
    If you register the notebook on the Toshiba page, you will get an additional warranty year (altogether 2 years).
    I think this is what you can see on the Toshiba page.
    I think you can extend the warranty too.
    You have to look here:
    http://eu.computers.toshiba-europe.com -> Peripherals & Services -> Services -> Warranty extensions
    There you will have to check available Warranty Extensions for your notebook model.
    Greets

  • Using JSSE : "Invalid Netscape CertType extension for SSL client" Error

    Hi all,
    Im using the sample code given sun site for JSSE with Client Authentication. The sample as such it worked with the testkeys provided in that. But it didn't workout when I tried using other certificates.
    Both client and server certificates I generated from our internal Netscape Certificate Manager.
    Function of the server :
    The server will read a private key from the given keystore and starts listening on a port. This server will server only GET request.
    Function of the client :
    The Client sends a GET request to the server and gets the response back.
    I simply changed the key store name alone in the working sample code.
    It is not working.
    The Exception thrown on client side :
    D:\users\Jp\java\jssesamples\sockets\client\class>java SSLSocketClientWithClientAuth1 localhost 1089 /urls
    localhost
    1089
    /urls
    java.net.SocketException: Software caused connection abort: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at com.sun.net.ssl.internal.ssl.OutputRecord.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_az.j(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
    at SSLSocketClientWithClientAuth1.main(SSLSocketClientWithClientAuth1.java:119)
    Exception thrown on server side :
    D:\users\Jp\java\jssesamples\sockets\server\class>java ClassFileServer 1089 . TLS true
    USAGE: java ClassFileServer port docroot [TLS [true]]
    If the third argument is TLS, it will start as
    a TLS/SSL file server, otherwise, it will be
    an ordinary file server.
    If the fourth argument is true,it will require
    client authentication as well.
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Invalid Netscape CertType extension for SSL client
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA6275)
    at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406)
    at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:446)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at java.io.BufferedReader.fill(BufferedReader.java:136)
    at java.io.BufferedReader.readLine(BufferedReader.java:299)
    at java.io.BufferedReader.readLine(BufferedReader.java:362)
    at ClassServer.getPath(ClassServer.java:162)
    at ClassServer.run(ClassServer.java:109)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: java.security.cert.CertificateException: Invalid Netscape CertType extension for SSL client
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkClientTrusted(DashoA6275)
    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkClientTrusted(DashoA6275)
    ... 17 more
    error writing response: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateExce
    ption: Invalid Netscape CertType extension for SSL client
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: java.security.cert.Certificate
    Exception: Invalid Netscape CertType extension for SSL client
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.d(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.e(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
    at java.io.DataOutputStream.writeBytes(DataOutputStream.java:256)
    at ClassServer.run(ClassServer.java:128)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Invalid Netscape CertType extension
    for SSL client
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA6275)
    at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406)
    at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:446)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at java.io.BufferedReader.fill(BufferedReader.java:136)
    at java.io.BufferedReader.readLine(BufferedReader.java:299)
    at java.io.BufferedReader.readLine(BufferedReader.java:362)
    at ClassServer.getPath(ClassServer.java:162)
    at ClassServer.run(ClassServer.java:109)
    ... 1 more
    Caused by: java.security.cert.CertificateException: Invalid Netscape CertType extension for SSL client
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkClientTrusted(DashoA6275)
    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkClientTrusted(DashoA6275)
    ... 17 more
    The Client code :
    * @(#)SSLSocketClientWithClientAuth.java     1.5 01/05/10
    * Copyright 1995-2002 Sun Microsystems, Inc. All Rights Reserved.
    * Redistribution and use in source and binary forms, with or
    * without modification, are permitted provided that the following
    * conditions are met:
    * -Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    * -Redistribution in binary form must reproduct the above copyright
    * notice, this list of conditions and the following disclaimer in
    * the documentation and/or other materials provided with the
    * distribution.
    * Neither the name of Sun Microsystems, Inc. or the names of
    * contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    * This software is provided "AS IS," without a warranty of any
    * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
    * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
    * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
    * EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY
    * DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR
    * RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR
    * ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
    * FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT,
    * SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
    * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
    * THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN
    * ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    * You acknowledge that Software is not designed, licensed or
    * intended for use in the design, construction, operation or
    * maintenance of any nuclear facility.
    import java.net.*;
    import java.io.*;
    import javax.net.ssl.*;
    import javax.security.cert.X509Certificate;
    import java.security.KeyStore;
    * This example shows how to set up a key manager to do client
    * authentication if required by server.
    * This program assumes that the client is not inside a firewall.
    * The application can be modified to connect to a server outside
    * the firewall by following SSLSocketClientWithTunneling.java.
    public class SSLSocketClientWithClientAuth1 {
    public static void main(String[] args) throws Exception {
         String host = null;
         int port = -1;
         String path = null;
         for (int i = 0; i < args.length; i++)
         System.out.println(args);
         if (args.length < 3) {
         System.out.println(
              "USAGE: java SSLSocketClientWithClientAuth " +
              "host port requestedfilepath");
         System.exit(-1);
         try {
         host = args[0];
         port = Integer.parseInt(args[1]);
         path = args[2];
         } catch (IllegalArgumentException e) {
         System.out.println("USAGE: java SSLSocketClientWithClientAuth " +
              "host port requestedfilepath");
         System.exit(-1);
         try {
         * Set up a key manager for client authentication
         * if asked by the server. Use the implementation's
         * default TrustStore and secureRandom routines.
         SSLSocketFactory factory = null;
         try {
              SSLContext ctx;
              KeyManagerFactory kmf;
              KeyStore ks;
              char[] passphrase = "passphrase".toCharArray();
              ctx = SSLContext.getInstance("TLS");
              kmf = KeyManagerFactory.getInstance("SunX509");
              ks = KeyStore.getInstance("JKS");
    //          ks.load(new FileInputStream("testkeys"), passphrase);
              ks.load(new FileInputStream("clientkey"), passphrase);
              kmf.init(ks, passphrase);
              ctx.init(kmf.getKeyManagers(), null, null);
              factory = ctx.getSocketFactory();
         } catch (Exception e) {
              throw new IOException(e.getMessage());
         SSLSocket socket = (SSLSocket)factory.createSocket(host, port);
         * send http request
         * See SSLSocketClient.java for more information about why
         * there is a forced handshake here when using PrintWriters.
         socket.startHandshake();
         PrintWriter out = new PrintWriter(
                        new BufferedWriter(
                        new OutputStreamWriter(
                        socket.getOutputStream())));
         out.println("GET " + path + " HTTP/1.1");
              /* Some internet sites throw bad request error for HTTP/1.1 req if hostname is not specified so the foll line */
              out.println("Host: " + host);
         out.println();
         out.flush();
         * Make sure there were no surprises
         if (out.checkError())
              System.out.println(
              "SSLSocketClient: java.io.PrintWriter error");
         /* read response */
         BufferedReader in = new BufferedReader(
                        new InputStreamReader(
                        socket.getInputStream()));
         String inputLine;
         while ((inputLine = in.readLine()) != null)
              System.out.println(inputLine);
         in.close();
         out.close();
         socket.close();
         } catch (Exception e) {
         e.printStackTrace();
    The Server code :
    * @(#)ClassFileServer.java     1.5 01/05/10
    * Copyright 1995-2002 Sun Microsystems, Inc. All Rights Reserved.
    * Redistribution and use in source and binary forms, with or
    * without modification, are permitted provided that the following
    * conditions are met:
    * -Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    * -Redistribution in binary form must reproduct the above copyright
    * notice, this list of conditions and the following disclaimer in
    * the documentation and/or other materials provided with the
    * distribution.
    * Neither the name of Sun Microsystems, Inc. or the names of
    * contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    * This software is provided "AS IS," without a warranty of any
    * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
    * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
    * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
    * EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY
    * DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR
    * RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR
    * ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
    * FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT,
    * SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
    * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
    * THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN
    * ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    * You acknowledge that Software is not designed, licensed or
    * intended for use in the design, construction, operation or
    * maintenance of any nuclear facility.
    import java.io.*;
    import java.net.*;
    import java.security.KeyStore;
    import javax.net.*;
    import javax.net.ssl.*;
    import javax.security.cert.X509Certificate;
    /* ClassFileServer.java -- a simple file server that can server
    * Http get request in both clear and secure channel
    * The ClassFileServer implements a ClassServer that
    * reads files from the file system. See the
    * doc for the "Main" method for how to run this
    * server.
    public class ClassFileServer extends ClassServer {
    private String docroot;
    private static int DefaultServerPort = 2001;
    * Constructs a ClassFileServer.
    * @param path the path where the server locates files
    public ClassFileServer(ServerSocket ss, String docroot) throws IOException
         super(ss);
         this.docroot = docroot;
    * Returns an array of bytes containing the bytes for
    * the file represented by the argument <b>path</b>.
    * @return the bytes for the file
    * @exception FileNotFoundException if the file corresponding
    * to <b>path</b> could not be loaded.
    public byte[] getBytes(String path)
         throws IOException
         System.out.println("reading: " + path);
         File f = new File(docroot + File.separator + path);
         int length = (int)(f.length());
         if (length == 0) {
         throw new IOException("File length is zero: " + path);
         } else {
         FileInputStream fin = new FileInputStream(f);
         DataInputStream in = new DataInputStream(fin);
         byte[] bytecodes = new byte[length];
         in.readFully(bytecodes);
         return bytecodes;
    * Main method to create the class server that reads
    * files. This takes two command line arguments, the
    * port on which the server accepts requests and the
    * root of the path. To start up the server: <br><br>
    * <code> java ClassFileServer <port> <path>
    * </code><br><br>
    * <code> new ClassFileServer(port, docroot);
    * </code>
    public static void main(String args[])
         System.out.println(
         "USAGE: java ClassFileServer port docroot [TLS [true]]");
         System.out.println("");
         System.out.println(
         "If the third argument is TLS, it will start as\n" +
         "a TLS/SSL file server, otherwise, it will be\n" +
         "an ordinary file server. \n" +
         "If the fourth argument is true,it will require\n" +
         "client authentication as well.");
         int port = DefaultServerPort;
         String docroot = "";
         if (args.length >= 1) {
         port = Integer.parseInt(args[0]);
         if (args.length >= 2) {
         docroot = args[1];
         String type = "PlainSocket";
         if (args.length >= 3) {
         type = args[2];
         try {
         ServerSocketFactory ssf =
              ClassFileServer.getServerSocketFactory(type);
         ServerSocket ss = ssf.createServerSocket(port);
         if (args.length >= 4 && args[3].equals("true")) {
              ((SSLServerSocket)ss).setNeedClientAuth(true);
         new ClassFileServer(ss, docroot);
         } catch (IOException e) {
         System.out.println("Unable to start ClassServer: " +
                   e.getMessage());
         e.printStackTrace();
    private static ServerSocketFactory getServerSocketFactory(String type) {
         if (type.equals("TLS")) {
         SSLServerSocketFactory ssf = null;
         try {
              // set up key manager to do server authentication
              SSLContext ctx;
              KeyManagerFactory kmf;
              KeyStore ks;
              char[] passphrase = "passphrase".toCharArray();
              ctx = SSLContext.getInstance("TLS");
              kmf = KeyManagerFactory.getInstance("SunX509");
              ks = KeyStore.getInstance("JKS");
    //          ks.load(new FileInputStream("testkeys"), passphrase);
              ks.load(new FileInputStream("serverkey"), passphrase);
              kmf.init(ks, passphrase);
              ctx.init(kmf.getKeyManagers(), null, null);
              ssf = ctx.getServerSocketFactory();
              return ssf;
         } catch (Exception e) {
              e.printStackTrace();
         } else {
         return ServerSocketFactory.getDefault();
         return null;
    Could anyone help ?
    thanks in advance
    Jayaprakash

    The same thing.
    I have found the place where the exception throws.
    It is com.sun.net.ssl.internal.ssl.AVA class.
    It has a constructor AVA(StringReader)
    There is a check in this constructor of different certificate extensions
    (if-else). If it sees no familiar extension it throws exception and handshake fails.
    It is not difficult to fix this problem: just ignore unknown extension.
    Everything works fine with this "improved" class (under VA 3.5).
    But the problem is - the using of this class in applets.
    How can I say the browser to use my "improved" class and not the one it downloaded with java plug-in?

  • How to Package Photoshop Extension for cs4/cs5 with manifest.xml

    Hello,
    tl;dr: How can I package my extension for both cs4 and cs5 in a way that respects the extension's window geometry?
    I have a panel that specifies window geometry in it's manifest.xml. When the panel is installed into Photoshop's panels/ folder, the geometry gets ignored, so I'm trying to package the panel as an extension to be installed via the Extension Manager. I have run into different problems for each CS version. I've read quite a few pdfs about the Extension Manager, UCF command line packaging, etc, and have not been able to find a solution that works for both platforms.
    My understaning
    My trial and error research has lead me to understand that the extension's files must eventually end up in the (mac) /Library/Application Support/Adobe/<CSversion>ServiceManager/extensions/ directory. In CS5, if the extension's folder contains a manifest.xml file (ex: /extensions/GuideGuide/CSXS/manifest.xml) that specifies window geometry, Photoshop will respect that window geometry when the panel opens. However, in CS4, this is not enough. From my tests, Photoshop CS4 doesn't seem to do anything with the manifest.xml file. Instead, I had to modify /Library/Application Support/Adobe/CS4ServiceManager/ServiceManifest.xml and add my extension to it's contents. Once I did this, Photoshop CS4 launches my panel and respects it's window geometry.
    The problem with this is that it's a manual installation. I can't ask my users to dig around in their system files to install my panel. In addition, since it's unsigned using this method, it won't work if they're not flagged for debugging. I've started exploring using the Extension Manager, but I have run into problems that I cannot find ansers in the few pdfs about packaging that I've been able to find.
    CS5 Problems
    If I use the UCF command line tool, I can package and sign my file. It installs fine and does what I want. However, using this method, I haven't been able to find a way to specify the author and description that shows up in the Extension Manager.
    CS4 Problems
    The UCF command line tool doesn't appear to make packages that can be installed by CS4, and I haven't been able to find one that is compatable. I've had to result to using the Extension Manager to package my extension based on a .mxi file. The problem I have here is that installing files this way limits me to putting them in the /panels directory, which then causes the panel to ignore the indow geometry. Is there a way with an .mxi file to install in the /Library/Application Support/Adobe/<CSversion>ServiceManager/extensions/ directory and modify the /Library/Application Support/Adobe/CS4ServiceManager/ServiceManifest.xml file?
    There must be, because Kuler and other extensions are installed there.
    Thank you SO much for any help you might provide. I've spent weeks trying to get this to work and have run into nothing but dead ends and wild goose chases.

    Your extension is a CSXS extension. For CSXS extension it's introduced in Extension Manager 2.1. (You can download Extension manager 2.1 from http://www.adobe.com/exchange/em_download/em20_download.html)
    In Extension Manager CS2.1 only MXP package is supported. In Extension Manager CS5 CSXS extension must be packaged by ZXP format. So you have to generate two packages for CS4(mxp) and CS5(zxp)
    For CS5, you can use ucf.jar to generate the zxp package.
    For CS4, you have to create an MXI file and package it by Extension Manager 2.1 to mxp package. Here is a sample CSXS mxi file:
    <macromedia-extension
               name="CSXS_TEST_EXTENSION"
               version="1.0.0"
               type="Command"
               requires-restart="true">
              <author name="Macromedia" />
              <products>
                        <product name="Dreamweaver" version="10" primary="true" />
                        <product name="Fireworks" version="10" primary="true" />
                        <product name="Flash" version="10" primary="true" />
                        <product name="" version="11" familyname="Photoshop" primary="true" />
                        <product name="Illustrator" version="14" primary="true" />
                        <product name="CSXS" version="1" />
              </products>
              <description>
              <![CDATA[
              CSXS extension sample.
              ]]>
              </description>
              <ui-access>
              <![CDATA[
              Extension Name: kuler
              ]]>
              </ui-access>
              <license-agreement>
              <![CDATA[
              ]]>
              </license-agreement>
              <files>
                        <file source="test_extension" destination="" />
              </files>
    </macromedia-extension>

  • Cannot install Firefox extension for Contribute 4

    I'm trying out Contribute 4 and right away during
    installation there's a bomb: The installer tells me:
    Unavailable Components
    These components cannot be installed on your systemat the
    current time
    Contribute Extension for Mozilla Firefox
    Version Required: Mozilla Firefox Version 1.0 or later
    Version Installed: Mozilla Firefox must have been launched
    at least once
    The same thing happeneds when, after the original Contribute
    installation, I tried to use the Add/Remove Programs control panel
    to Modify the Contribute installation so as to install the Firefox
    extension.
    I'm running Firefox 1.5.0.8. Needless to say, I HAVE launched
    Firefox "at least once", indeed, many, many times.
    What could the problem be and how is it fixed???

    quote:
    Originally posted by:
    HangD
    Murray,
    The reason why the support tech recommended the steps to try
    installing Contribute and Firefox on a different user admin account
    on your machine is because another user may have installed Firefox
    for you (IT tech) and because
    the 'extensions' folder inside Firefox App has only Read-Only
    access for the users other than the one who has installed Firefox.
    Another place to check is whether Mozilla Firefox is installed in
    the default location c:\program files\. directory.
    If you can confirm that you have admin rights and installed
    both FF and Contribute 4 and it is located in the default
    directories, just post back.
    I can create a bug in your behalf or you can fill out a bug
    request directly here
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    I have admin rights for the account ("Administrator") on
    which I installed both Firefox and Contribute 4. However, neither
    is in the default location, as I NEVER install ANYTHING in
    C:\Program Files. (This is to make the whole system more granular
    for backup purposes.) All my programs (except recalcitrant ones
    from Microsoft) go into subject-area subdirectories of lanother
    ogical drive.
    And data goes onto yet another logical drive, with most going
    into a Documents directory there (which has been designated as what
    Windows XP brings up as Documents). Under that Documents I have my
    Firefox profile, inside that, the Firefox extensions.
    So I'm certainly suspecting now that Contribute 4, unlike
    other programs, did not attempt to handle non-default installations
    of Firefox (or possibly even of Contribute 4)!

  • I have been trying to uninstall several extensions for firefox. Nothing currently on the help site has resolved it.

    I have been trying to uninstall several extensions for firefox. I'm told by the Add-Ons window that these extensions will be uninstalled when I restart firefox, but they come back every time I restart. I've tried clearing the extensions cache from my firefox profile and it does not work. Following the steps in all of the active questions regarding this issue among other users have yielded no results. Nothing currently on the help site (which I've combed through for the last three hours) has helped.
    Most of the extensions I'm now trying to uninstall are old ones that stopped functioning/being compatible with one of the more recent updates of firefox. The rest are toolbars I've never used because they're unsightly and clutter up my screen
    * What I wound up doing was installing the newest of the newest versions of firefox (it's at 5.0 or something now, I think). That just made all the plugins, add-ons, and extensions I wanted to get rid of obsolete and it auto-removed them on its own.

    What I wound up doing was installing the newest of the newest versions of firefox (it's at 5.0 or something now, I think). That just made all the plugins, add-ons, and extensions I wanted to get rid of obsolete and it auto-removed them on its own.
    I do really appreciate you taking the time out to try and offer some solutions though. Thank you very much for your effort!

  • The list of extensions for InDesign now have a yellow triangle warning symbol in front of a good many of the extensions and when moused over i get one of two messages:  "Extensions may not function properly because it does not meet the dependency conditio

    The list of extensions for InDesign now have a yellow triangle warning symbol in front of a good many of the extensions and when moused over i get one of two messages:
    "Extensions may not function properly because it does not meet the dependency condition."
    OR
    Extension Status is not consistent with extension set configuration."
    The reason I opened the Extension Manager in the first place was to check to see if I had installed a third party extension.  And I was presented with these warning symbols.  I haven't added anything, I haven't done anything that would cause this.
    Does anyone know how to fix this???
    I am running OSX 10.9.5; Indesign CS6 version 8.0.2 And Adobe Extension Manager version  6.0.8.28.
    Thanks in advance!
    Nina

    Many InDesign pre-installed extensions (Those extensions you have immediately after InDesign installation) define dependency rules in their mxi files. Dependency means that one extension works well only if one or more other extensions are installed and enabled. If this condition is not met, the yellow triangle warning will be shown.
    You can select an extension with warning, click "Advanced" tag page in the lower right panel. You will see "This extension has dependency on: <extension name> ...". Check whether every extensions listed here are available and enabled. If not, enable them. Repeat these steps for all the extensions which have warning.

Maybe you are looking for

  • How many users are working on EBS

    is it possible to find out how many users are currenlty at the same time working on EBS. Like how many payable users, mfg uers OTL users.

  • How to start with OA Framewok.

    Hi All, Can you please let me know how to start with OAF and which software needs to install to start with. Also, please send me the document if you have for OAF. Thanks in Advance, Amol

  • Can't install drivers after a clean Windows installation

    I am using Lenovo g560 and my current OS is the 64 bit Windows 7. I can't wirelessly connect to the internet without the drivers, but entered the support site from another computer and downloaded the appropriate drivers. At first I tried to install a

  • Unable to minimise window by double-tapping on title bar.

    I have my system set to minimise windows by double-tapping/clicking them on the title bar. It works for most of windows (iTunes being exception). It's a system preference thingy, so it should work across all the board. After the recent update to 21.0

  • Price of goods movement will become negative...

    hi friends, i am facing a issue that cant post GRN for 3 line items..totally 46 line items are there...1,34,36 i  cant post GRN... GR     102     5035306439     1     01.03.2010     346,67-     USD     1-     M3     1.300,00 GR     101     5033242930