ClearCase extension for 11g?

It's not provided by default, nor is it listed in the available updates. Is there a plan for making it available? I was able to request a version that worked with TP4, perhaps there's also one available for the production release upon request?
Edit: Hm, just like with the JAR file download link, minutes after posting, my wish is granted (it's in the extensions list now). Next problem: the last time I started JDeveloper, it failed to deposit $1,000,000 into my bank account :).
Edited by: kschnei1 on Oct 7, 2008 11:41 AM

Just to clarify: Yes Clearcase is available through the check for updates feature

Similar Messages

  • Any chance of a ClearCase extension for TP4?

    I seem to recall that it's planned for the production release, but just thought I'd see if it might be available sooner. It's not currently available from the default update centers.

    Hi Frank,
    Any idea why not? The extension was available in TP1...
    Our group (Siebel CRM On Demand) is using ClearCase, and this will prevent us from switching to TP4.
    Thanks,
    - Bill

  • How to get (database) connections for building an extension in 11g?

    Hi,
    I have built an extension for jdeveloer/sqldeveloper and I used the ConnectionManager Class to start my dockable.
    Having migrated from Jdev10g to 11g it looks like that the ConnectionManager class was removed, at least I'm
    not able to locate it anymore.
    I've provided the source code below, to show how I used to work with the class.
    String connectionNames[] = ConnectionManager.getInstance().getConnectionNames();
    DatabaseConnections.getInstance();
    ... Loop ...
    if (i >= connectionNames.length)
    break;
    String name = connectionNames;
    if (name.equals(dockableId))
    ... Start dockable...
    What is the supported way to work with connections in 11g?
    Best regards,
    Ingo

    Hi,
    thanks for the quick response. Seems that my extension project in Jdev 10g was messed up by putting the new sqldevloper.jar in the class path. I've migrated to Jdev11g and the missing class is found.
    Where I'm lost right now is the way to get a connection from the pool. Most of the classes that I used for that (oracle.jdeveloper.cm.dt.ConnectionNode, oracle.jdeveloper.cm.dt.DatabaseConnectionNode;)
    are not longer existing and it looks like there is a new way to achieve this in Jdev11g.
    Is there a documentation available somewhere, where the "new" strategy is explained?
    Best reagards,
    Ingo

  • Announcement: OrindaBuild 5.0 Extension for SQL Developer 1.5.1

    Folks,
    OrindaBuild is now available as an extension for SQL Developer 1.5.1.
    OrindaBuild creates Java source code to run your existing PL/SQL. This is a non-trivial task and for large projects can consume hundreds on man hours as well as delay development.
    OrindaBuild does roughly the same thing that JPublisher does, but writes human readable code, doesn't need SQLJ and doesn't require that you use oracle TYPE objects as parameters for records and arrays.
    Another way of thinking of OrindaBuild is "We reach that parts of your application that Hibernate can't".
    OrindaBuild is available as extensions for JDeveloper and SQL Developer 1.1. After an unreasonably long gestation OrindaBuild is now available as an extension for SQL Developer 1.5.1 The delay has been caused by us rewriting both the JDeveloper and SQL Developer extensions so that code base has now been unforked. We've also standardized the functionality with that of our recently upgraded Eclipse extension.
    To install the demo select 'Help/Check for updates' and then use the 'Add' button to create an update center for Orinda Software using this URL:
    http://www.orindasoft.com/public/sqldev15Center.xml
    Functionality:
    The demo version is fully playable, with the only limitation being that it expires after 1 month. You can install the demo multiple times.
    In addition to generating Java to call PL/SQL it also allows you to create code to run any SQL statement and access database tables.
    OrindaBuild generates code for PL/SQL procedures that take %ROWTYPE and Package Records as parameters. Generated code uses a library. If you buy OrindaBuild you get the source code for the library and end up with a 100% source code solution - i.e. there are no mysterious runtime binary dependencies.
    Limitations:
    The extension does not work with versions of SQLDeveloper prior to 1.5.1 (build 5440). We expect you to buy a licence if you deploy generated code in a production environment.
    For more information see
    http://www.orindasoft.com/public/sdefeatures.php4
    David Rolfe

    It is possible that the patch has replaced you shortcut with one pointing to the version within the 11g home. Try running sqldeveloper directly from the executable in the 151 directory.

  • Java extension for SQL Developer 2.1 (SqlEditor)

    Hello,
    we are developing a java extension for SQL Developer. It was working fine in version 1.5.5 but it seems that some of the java classes were changed in version 2.1 so it does not any more. In the SQL editor, we want to have a context menu action that gets the selected SQL statement and calls a database function with it as an argument. Our code looks like
    @RegisteredByExtension("our.developer.extension")
    public final class OurCommand extends Command {
    public int doit() {
    SqlEditor sqlEditor = (SqlEditor)getContext().getView();
    String query = sqlEditor.getView().getSqlStatement();
    sqlEditor.executeSql(query, "");
    //or
    //sqlEditor.getView().scriptRunner(query);
    Unforunately, in SQL Developer 2.1 the class oracle.dbtools.sqlworksheet.sqlview.SqlEditor does not exist. Does anybody know how to write this example for version 2.1? Is there an API documentation (alas, [http://wiki.oracle.com/page/SDK+2.0] is an empty article)?
    BTW, does anybody know how to open the dialog for connecting to a database when sqlEditor.getConnection() is null?

    I got it to work using a BASIC call instead of my normal TNS call.
    We use MS SMS to package the Oracle client and SQL Developer and push it out to users so we don't have people visiting desktops. Also, we use OID to store the entries instead of a tnsnames file so that we don't have to maintain a TNSNAMES file.
    I am testing 2.1 as we would eventually upgrade when it goes GA.
    2.1 seems to be built on Oracle 11g. Issue will be that since 99% of our databases are 10gr2 as well as 100% of our client population will be be forced to upgrade the Oracle client to use 2.1 as we do today without lots of changes for the end user?
    We don't broadcast the information the average user requires for a BASIC connection so that is out for non technical users..
    We have SQL Developer 1.5.5 right now and this is not and issue.
    Hopefully, this will be resolved during EAI for 2.1.

  • JDeveloper Extension for SINGLE CLICK deployment of OIM customizations

    I am not sure most of OIM Developers, System Integrators and Architects aware of this Oracle Asset, hence sharing information.
    In most of the questions posted on forum related to event handler usages Plugin Registration utility and weblogic scripts to import / export meta data files into MDS. There is easy way to deploy OIM 11g even handler plugins , Scheduled Tasks, Request Datasets and Notification Events using OIM Customization Installer JDeveloper Extension.
    Oracle has published Oracle Identity Manager 11g Sample Assets some time back. You can use OIM Customization Installer JDeveloper Extension for SINGLE CLICK deployment of OIM customizations like Event Handlers, Plugins, Scheduled Tasks, Request Datasets and Notification Events.
    You can access and download Oracle Asset using below link,
    http://www.oracle.com/technetwork/middleware/id-mgmt/overview/oim-11g-assets-504842.html
    Thanks,
    Pradeep.

    Pradeep,
    Thanks for sharing this. I have gone through this asset sometime back. This is quite helpful w.r.t deployment but does not have any other added advantage. For example, it does not create the xml's automatically or does not validate them etc. If I remember it right, this plugin was supported till 11.1.1.3 only.
    Appreciate you sharing this as it would surely help folks here.
    -Bikash

  • 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

  • Custom service (using Reader Extensions) for REST invocation

    Hello,
    is it possible to implement and configure a custom service (using Reader Extensions) for REST invocation?
    Best regards
    CommanderPeek

    Yes LiveCycle does support REST as an endpoint http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=000562.html

  • 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>

  • Looking for a high-contrast extension for Safari for Windows

    First of all,what do we call them - extensions or plugins?
    Is there an extension for Safari for Windows for high-contrast? I can't find one anywhere. Windows 7 is set to a HC theme. IE just follows suit. Chrome detected this, ad offered to install a theme.
    Don't know why, but I still prefer Safari on my Win7 system. But really need HC. One that just inverts the colors would work, but one with several other options like the Chrome extension would be better.
    A Link! A Link! My kingdom for a Link!

    Apple has dropped support for Safari on Windows

  • Any Extension for Ruby On Rails on DW

    Hello,
    I am planning to quit PHP and start developing in Ruby on
    Rails. Their MVC model is really great and plus MS has also
    appreciated this model and getting this implemented in new Orcas
    Model ( New Asp.net 3.5 version ).
    Ruby really beats every one since its totally OOP and plus it
    offers more powerful features than PHP5 and Easily fights with
    asp.net in power.
    Ruby on Rails is the future. I need to practice this on DW8
    can any one prpvide me a working Extension for Ruby.
    Thanks

    Ruby doesn't even come close to the .NET framework. That is
    just wishful thinking.
    Anyways, here is a link:
    http://rubyweaver.gilluminate.com/

  • 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)!

  • Enterprise manager for 11g

    I have installed Oracle Enterprise Database 11g on a Windows 2003 Server. I have been going through some documentation and it sometimes refers to tabs and features that I cannot find in EM. I have since found out that the default install does not come with the 'Full' EM. The only one i seem to be able to find, download and install is for 10g.
    Also, I want to install this on a Client Machine, not the DB Server.
    Is there a full EM for 11g somewhere that I am not finding? All my searches point me back to the 10g EM download Page
    Thanks

    Oracle used to have a client-server Java Enterprise Manager console. Ths was popular and extremely functional in Oracle9i.
    With Oracle 10g, Oracle replaced the client-server console with a 3-tier 'browser based' console. That client-server tool was deprecated but still available on the Client CD. As of 11g that OEM Application was totally removed.
    However, looking at the statement you quote (from page 91):
    "The Oracle Enterprise Manager Central Console is a Web-based interface for managing the entire enterprise from the console. It offers a lot more functionality than the standard Oracle Enterprise Manager that comes with a typical database install."There are a few keywords here: "Central Console" and "managing the entire enterprise" lead me to believe the author is talking about the Grid Control. Similar to the DB Console that comes with the default install of the database, the Grid Control console has the following characteristics:
    - it is centralized (uses a separate computer to host the enterprise-wide OEM repository)
    - it allows monitoring and administration* of all Oracle products and many non-Oracle products
    - it it web-based and indeed, when looking at a database admin page, itr looks a lot like the DB console
    - it can consolidate the monitoring summary info about several products into a single page
    - it has reports and schedule capability not found in the native DB console
    - it places much less load on the db machine than the DB Console
    * in some cases Grid Control simply invokes the admin tool from the product rather than duplicating the product admin capability.

  • 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!

Maybe you are looking for

  • Problem with Creative MediaSource Organi

    I recently purchased a new laptop and installed the Creative software that came with my Zen Neeon. However, whereas on my old computer I could select a recording source, on my new computer it only allows?me to record using a mic. Is there any way to

  • MIRO Reference PO with many goods receipt

    Dear guru , I enter an  incoming invoice for a purchase order. I have many goods receipt for this po , the system show all the goods receipt with their amount and quantity. If I must do a change to the value is hard to distribute the new value  for a

  • Acrobat PDF plug-in is "outdated". How to update?

    Acrobat PDF plug-in is flagged as outdated by Firefox 19.0  browser. How to update?

  • Selecting Different Printer With Apple Script.

    Hi, I am currently in the process of making a script to be able to print off labels without the need of much user input (read from a document or e-mail) and I want to be able to set the printer when it goes to the print screen. this is the final appl

  • I cant activate an Acrobat Reader 7 licence

    I have a problem, some years ago, i bougth a licence for Acrobat Adobe 7.0, now, when i install from cd and try to activate, occurs, that appears a mesage that i have to download to the website, then i dont know what version or how can activate mi pr