Java error: unknown protocol: socket

Did a full-system upgrade over Yaourt and it updated ~100 packages, and now my Java is semi-broken.
After the upgrade, I tried launching a usual .jnlp file that has worked flawlessly in the past, and now I get:
java.net.MalformedURLException: unknown protocol: socket
I have tried completely removing JDK and JRE and reinstalling them, and the error still shows up.  Any ideas?

Fixed
Last edited by corruptz0r (2011-07-06 02:32:39)

Similar Messages

  • Virtual Mail Setup - imapd-ssl error unknown protocol

    Hi,
    I have been relentlessly trying to setup my first email server and I think that I am almost there. I have been following the guide at:
    https://wiki.archlinux.org/index.php/Simple_Virtual_User_Mail_System
    I have followed it step by step and I'm 99% sure that I didn't miss a thing when setting it up.
    However, I cannot login to my roundcube mail. It just times out.
    This is the error that pops up in /var/log/mail.log:
    mail imapd-ssl: couriertls: accept: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
    this is the contents of /etc/authlib/authmysqlrc:
    ##VERSION: $Id: authmysqlrc,v 1.20 2007/10/07 02:50:45 mrsam Exp $
    # Copyright 2000-2007 Double Precision, Inc. See COPYING for
    # distribution information.
    # Do not alter lines that begin with ##, they are used when upgrading
    # this configuration.
    # authmysqlrc created from authmysqlrc.dist by sysconftool
    # DO NOT INSTALL THIS FILE with world read permissions. This file
    # might contain the MySQL admin password!
    # Each line in this file must follow the following format:
    # field[spaces|tabs]value
    # That is, the name of the field, followed by spaces or tabs, followed by
    # field value. Trailing spaces are prohibited.
    ##NAME: LOCATION:0
    # The server name, userid, and password used to log in.
    MYSQL_SERVER localhost
    MYSQL_USERNAME postfix_user
    MYSQL_PASSWORD *******MY PASSWORD*******
    ##NAME: SSLINFO:0
    # The SSL information.
    # To use SSL-encrypted connections, define the following variables (available
    # in MySQL 4.0, or higher):
    # MYSQL_SSL_KEY /path/to/file
    # MYSQL_SSL_CERT /path/to/file
    # MYSQL_SSL_CACERT /path/to/file
    # MYSQL_SSL_CAPATH /path/to/file
    # MYSQL_SSL_CIPHERS ALL:!DES
    ##NAME: MYSQL_SOCKET:0
    # MYSQL_SOCKET can be used with MySQL version 3.22 or later, it specifies the
    # filesystem pipe used for the connection
    # MYSQL_SOCKET /var/mysql/mysql.sock
    ##NAME: MYSQL_PORT:0
    # MYSQL_PORT can be used with MySQL version 3.22 or later to specify a port to
    # connect to.
    MYSQL_PORT 3306
    ##NAME: MYSQL_OPT:0
    # Leave MYSQL_OPT as 0, unless you know what you're doing.
    MYSQL_OPT 0
    ##NAME: MYSQL_DATABASE:0
    # The name of the MySQL database we will open:
    MYSQL_DATABASE postfix_db
    #NAME: MYSQL_CHARACTER_SET:0
    # This is optional. MYSQL_CHARACTER_SET installs a character set. This option
    # can be used with MySQL version 4.1 or later. MySQL supports 70+ collations
    # for 30+ character sets. See MySQL documentations for more detalis.
    # MYSQL_CHARACTER_SET latin1
    ##NAME: MYSQL_USER_TABLE:0
    # The name of the table containing your user data. See README.authmysqlrc
    # for the required fields in this table.
    MYSQL_USER_TABLE mailbox
    ##NAME: MYSQL_CRYPT_PWFIELD:0
    # Either MYSQL_CRYPT_PWFIELD or MYSQL_CLEAR_PWFIELD must be defined. Both
    # are OK too. crypted passwords go into MYSQL_CRYPT_PWFIELD, cleartext
    # passwords go into MYSQL_CLEAR_PWFIELD. Cleartext passwords allow
    # CRAM-MD5 authentication to be implemented.
    MYSQL_CRYPT_PWFIELD password
    ##NAME: MYSQL_CLEAR_PWFIELD:0
    # MYSQL_CLEAR_PWFIELD clear
    ##NAME: MYSQL_DEFAULT_DOMAIN:0
    # If DEFAULT_DOMAIN is defined, and someone tries to log in as 'user',
    # we will look up 'user@DEFAULT_DOMAIN' instead.
    # DEFAULT_DOMAIN example.com
    ##NAME: MYSQL_UID_FIELD:0
    # Other fields in the mysql table:
    # MYSQL_UID_FIELD - contains the numerical userid of the account
    MYSQL_UID_FIELD 5000
    ##NAME: MYSQL_GID_FIELD:0
    # Numerical groupid of the account
    MYSQL_GID_FIELD 5000
    ##NAME: MYSQL_LOGIN_FIELD:0
    # The login id, default is id. Basically the query is:
    # SELECT MYSQL_UID_FIELD, MYSQL_GID_FIELD, ... WHERE id='loginid'
    MYSQL_LOGIN_FIELD username
    ##NAME: MYSQL_HOME_FIELD:0
    MYSQL_HOME_FIELD "/home/vmail"
    ##NAME: MYSQL_NAME_FIELD:0
    # The user's name (optional)
    MYSQL_NAME_FIELD name
    ##NAME: MYSQL_MAILDIR_FIELD:0
    # This is an optional field, and can be used to specify an arbitrary
    # location of the maildir for the account, which normally defaults to
    # $HOME/Maildir (where $HOME is read from MYSQL_HOME_FIELD).
    # You still need to provide a MYSQL_HOME_FIELD, even if you uncomment this
    # out.
    MYSQL_MAILDIR_FIELD maildir
    ##NAME: MYSQL_DEFAULTDELIVERY:0
    # Courier mail server only: optional field specifies custom mail delivery
    # instructions for this account (if defined) -- essentially overrides
    # DEFAULTDELIVERY from ${sysconfdir}/courierd
    # MYSQL_DEFAULTDELIVERY defaultdelivery
    ##NAME: MYSQL_QUOTA_FIELD:0
    # Define MYSQL_QUOTA_FIELD to be the name of the field that can optionally
    # specify a maildir quota. See README.maildirquota for more information
    MYSQL_QUOTA_FIELD quota
    ##NAME: MYSQL_AUXOPTIONS:0
    # Auxiliary options. The MYSQL_AUXOPTIONS field should be a char field that
    # contains a single string consisting of comma-separated "ATTRIBUTE=NAME"
    # pairs. These names are additional attributes that define various per-account
    # "options", as given in INSTALL's description of the "Account OPTIONS"
    # setting.
    # MYSQL_AUXOPTIONS_FIELD auxoptions
    # You might want to try something like this, if you'd like to use a bunch
    # of individual fields, instead of a single text blob:
    # MYSQL_AUXOPTIONS_FIELD CONCAT("disableimap=",disableimap,",disablepop3=",disablepop3,",disablewebmail=",disablewebmail,",sharedgroup=",sharedgroup)
    # This will let you define fields called "disableimap", etc, with the end result
    # being something that the OPTIONS parser understands.
    ##NAME: MYSQL_WHERE_CLAUSE:0
    # This is optional, MYSQL_WHERE_CLAUSE can be basically set to an arbitrary
    # fixed string that is appended to the WHERE clause of our query
    # MYSQL_WHERE_CLAUSE server='mailhost.example.com'
    ##NAME: MYSQL_SELECT_CLAUSE:0
    # (EXPERIMENTAL)
    # This is optional, MYSQL_SELECT_CLAUSE can be set when you have a database,
    # which is structuraly different from proposed. The fixed string will
    # be used to do a SELECT operation on database, which should return fields
    # in order specified bellow:
    # username, cryptpw, clearpw, uid, gid, home, maildir, quota, fullname, options
    # The username field should include the domain (see example below).
    # Enabling this option causes ignorance of any other field-related
    # options, excluding default domain.
    # There are two variables, which you can use. Substitution will be made
    # for them, so you can put entered username (local part) and domain name
    # in the right place of your query. These variables are:
    # $(local_part), $(domain), $(service)
    # If a $(domain) is empty (not given by the remote user) the default domain
    # name is used in its place.
    # $(service) will expand out to the service being authenticated: imap, imaps,
    # pop3 or pop3s. Courier mail server only: service will also expand out to
    # "courier", when searching for local mail account's location. In this case,
    # if the "maildir" field is not empty it will be used in place of
    # DEFAULTDELIVERY. Courier mail server will also use esmtp when doing
    # authenticated ESMTP.
    # This example is a little bit modified adaptation of vmail-sql
    # database scheme:
    # MYSQL_SELECT_CLAUSE SELECT CONCAT(popbox.local_part, '@', popbox.domain_name), \
    # CONCAT('{MD5}', popbox.password_hash), \
    # popbox.clearpw, \
    # domain.uid, \
    # domain.gid, \
    # CONCAT(domain.path, '/', popbox.mbox_name), \
    # domain.quota, \
    # CONCAT("disableimap=",disableimap,",disablepop3=", \
    # disablepop3,",disablewebmail=",disablewebmail, \
    # ",sharedgroup=",sharedgroup) \
    # FROM popbox, domain \
    # WHERE popbox.local_part = '$(local_part)' \
    # AND popbox.domain_name = '$(domain)' \
    # AND popbox.domain_name = domain.domain_name
    ##NAME: MYSQL_ENUMERATE_CLAUSE:1
    # {EXPERIMENTAL}
    # Optional custom SQL query used to enumerate accounts for authenumerate,
    # in order to compile a list of accounts for shared folders. The query
    # should return the following fields: name, uid, gid, homedir, maildir, options
    # Example:
    # MYSQL_ENUMERATE_CLAUSE SELECT CONCAT(popbox.local_part, '@', popbox.domain_name), \
    # domain.uid, \
    # domain.gid, \
    # CONCAT(domain.path, '/', popbox.mbox_name), \
    # CONCAT('sharedgroup=', sharedgroup) \
    # FROM popbox, domain \
    # WHERE popbox.local_part = '$(local_part)' \
    # AND popbox.domain_name = '$(domain)' \
    # AND popbox.domain_name = domain.domain_name
    ##NAME: MYSQL_CHPASS_CLAUSE:0
    # (EXPERIMENTAL)
    # This is optional, MYSQL_CHPASS_CLAUSE can be set when you have a database,
    # which is structuraly different from proposed. The fixed string will
    # be used to do an UPDATE operation on database. In other words, it is
    # used, when changing password.
    # There are four variables, which you can use. Substitution will be made
    # for them, so you can put entered username (local part) and domain name
    # in the right place of your query. There variables are:
    # $(local_part) , $(domain) , $(newpass) , $(newpass_crypt)
    # If a $(domain) is empty (not given by the remote user) the default domain
    # name is used in its place.
    # $(newpass) contains plain password
    # $(newpass_crypt) contains its crypted form
    # MYSQL_CHPASS_CLAUSE UPDATE popbox \
    # SET clearpw='$(newpass)', \
    # password_hash='$(newpass_crypt)' \
    # WHERE local_part='$(local_part)' \
    # AND domain_name='$(domain)'
    I have been reading around about that error to no avail.
    i have extension=openssl.so uncommented in /etc/php/php.ini and round cube says my openssl is fine.
    Any help would be much appreciated!
    kush
    Last edited by kush (2012-01-05 16:49:18)

    Hey Kush I am having the same issue, did you ever get it working???

  • Web.show_document gives FRM-92020 error unknown protocol

    Hi I am hoping someone can help.
    I am using web.show_document in forms 10g and get an FRM-92020 unknown protocol error. The URL I am passing starts fddl:// this is a legitimate call to an Electronic Document management system image search engine. The URL works 100% outside of Forms, i.e cut and paste into an internet Explorer address bar. The problem is with web.show_document parsing for 'known' protocols.
    Is there any way I can stop this validation from taking place. Incidentally I can HOST out and call iexplore with the URL and again that works (client Server), however we do not have webutil installed for me to do the webutil equivalent in our live environment!
    Any help will be great, thanks in advance.
    Trev.

    Hi Francois,
    thanks for replying.
    Yes I am using '_blank' as the second parameter.
    The URL I am passing is dynamically genreated and held in a variable. My call is:
    web.show_document(l_url,'_blank');
    the url evaluates to something like below:
    l_url := 'fddl://fmhsqlserv/filedirector/...........................'
    I am struggling to find any documentation on web.show_document that will help with this scenario. It is frustrating as the url is 100% OK, its just the evaluation of it by the function call.
    Any help or ideas are welcome.
    Trev

  • Java.rmi.RemoteException: Protocol error reported by the card! why?

    Hello,
    I am currently trying to run the JCK 2.2.1 SecureRMIDemo using SmartCardIO instead of OCF, but getting an error:
    java.rmi.RemoteException: Protocol error reported by the card
    (in my last post I succesfully ran the RMIDemo using my SmartCardIO implementation, see http://forums.sun.com/thread.jspa?threadID=5405634&tstart=15)
    So here is what I did:
    - I succesfully loaded the server app (com.sun.javacard.samples.SecureRMIDemo) on the card without changes.
    - I created an new accessor class: public class PINCardAccessor extends SmartCardIOAccessor (I wrote SmartCardIOAccessor for the RMIDemo, it should work fine as an accessor)
    - The contents of PINCardAccessor class and SecureOCFCardAccessor are the same, just the class declration makes the difference
    - Here is the most important part of my main method:
                   ca = new PINCardAccessor(false);
                   JavaCardRMIConnect  jcRMI = new JavaCardRMIConnect(ca);                         
                   jcRMI.selectApplet(appAID);
                   // send PIN
                   System.out.println("Sending PIN...");
                if (! ((PINCardAccessor) ca).authenticateUser( PRINCIPAL_APP_PROVIDER_ID ))
                     System.out.println("Wrong PIN!");
                     System.exit(0);
                   Purse myServ = (Purse) jcRMI.getInitialReference();
                   if(myServ == null)
                      throw new Exception("Received null instead of the initial ref");
                   // print balance
                   System.out.println("Balance: "+myServ.getBalance());And finally here is the debug output:
    accessor: select command
    0 a4 4 0 a a0 0 0 0 62 3 1 c a 1 7f
    90 0 6f 42 6e 40 5e 3e 2 2 38 81 33 f1 0 26 63 6f 6d 2f 73 75 6e 2f 6a 61 76 61 63 61 72 64 2f 73 61 6d 70 6c 65 73 2f 53 65 63 75 72 65 52 4d 49 44 65 6d 6f f 53 65 63 75 72 65 50 75 72 73 65 49 6d 70 6c
    90 0 6f 42 6e 40 5e 3e 2 2 38 81 33 f1 0 26 63 6f 6d 2f 73 75 6e 2f 6a 61 76 61 63 61 72 64 2f 73 61 6d 70 6c 65 73 2f 53 65 63 75 72 65 52 4d 49 44 65 6d 6f f 53 65 63 75 72 65 50 75 72 73 65 49 6d 70 6c
    Sending PIN...
    80 39 0 0 4 12 34 0 46 7f
    90 0 0 0
    Le=2
    csum1=0
    csum2=0
    90 0
    80 38 2 2 6 33 f1 ec a8 ff b8 7f
    90 0 99 0 6 ff 9f
    Le=5
    csum1=-97
    csum2=-97
    90 0 99 0 6
    java.rmi.RemoteException: Protocol error reported by the card
         at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.throwError(Unknown Source)
         at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.throwException(Unknown Source)
         at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.getObject(Unknown Source)
         at com.sun.javacard.ocfrmiclientimpl.JCRemoteRefImpl.parseAPDU(Unknown Source)
         at com.sun.javacard.ocfrmiclientimpl.JCRemoteRefImpl.invoke(Unknown Source)
         at com.sun.javacard.samples.SecureRMIDemo.SecurePurseImpl_Stub.getBalance(Unknown Source)
         at SecureClient.main(SecureClient.java:60)Please help me, I cant find the reason for this exception.
    thank you
    sebastaian

    Oh, thanks for pointing at the JCRE Spec, it is very informative, but i still have not found the problem yet.
    If i understand everything right, the communication's flow is
    SecureClient <-> PINCardAccessor <-> SmartCardIOAccessor <-> MySecurityService <-> SecurePurseImpl (with help of SecurePurseApplet)
    probably i made a mistake in a protocol of one or more layers.
    - MySecurityService, SecurePurseImpl and SecurePurseApplet are EXACTLY the one's from com.sun.javacard.samples.SecureRMIDemo of JCDK 2.2.1, so there cant be any mistake (?).
    - SmartCardIOAccessor worked fine in my RMIDemo tests, see http://forums.sun.com/thread.jspa?threadID=5405634&tstart=15 - there is also the implementation)
    - SecureClient must be obviously correctly
    so maybe it's something about PINCardAccessor? hmm...i havent found anything, but here is the complete code:
    import javax.smartcardio.CardException;
    * Copyright © 2003 Sun Microsystems, Inc. All rights reserved.
    * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
    * @(#)SecureOCFCardAccessor.java     1.11 03/07/08
    public class PINCardAccessor extends SmartCardIOAccessor {
        public PINCardAccessor(boolean debug) throws CardException {
              super(debug);
         private static final byte INS_SELECT   = (byte)0xA4;
        private static final byte APDU_CMD_MASK = (byte)0xFC;
        private static final byte CLA_ISO7816 = (byte)0x00;
        private static final byte CLA_AUTH = (byte)0x80;
        private static final byte INS_AUTH = (byte)0x39;
        private static final boolean debug2 = false;
        /** Modifies the data and calls super.sendCommandAPDU to perform the actual send.
         * The data returned from the smart card is returned by this method within
         * the <CODE>ResponseAPDU</CODE> object
         * @param apdu The command APDU to be sent to the smart card
         * @return The response APDU returned from the card. <CODE>null</CODE> if none available.
         * @throws Exception if a communication error or timeout occurred
        public byte[] exchangeAPDU( byte[] sendData ) throws java.io.IOException{
            System.out.println("Send Data:"+SmartCardIOAccessor.getHexString(sendData));
            final boolean select = isSelect(sendData);
            byte[] dataWithChecksum;
            if(select) {
                dataWithChecksum = new byte[ sendData.length ];
                System.arraycopy(sendData, 0, dataWithChecksum, 0, sendData.length);
            else {
                dataWithChecksum = new byte[ sendData.length + 2];
                System.arraycopy(sendData, 0, dataWithChecksum, 0, sendData.length-1);
                dataWithChecksum[dataWithChecksum.length-1] = sendData[sendData.length-1];
                int Lc = dataWithChecksum[4];
                short csum = 0;
                for(short n = 5; n<Lc+5; ++n) {
                    csum += sendData[n];
                dataWithChecksum[Lc+5] = (byte) (csum>>8);
                dataWithChecksum[Lc+6] = (byte) (csum);
                dataWithChecksum[4] += 2;  // increase Lc
            if(debug2) {
                for(int i=0; i<dataWithChecksum.length;++i) {
                    System.out.print(Integer.toHexString(dataWithChecksum[i] & 0x00FF) + " ");
                System.out.println();
            byte[] receiveDataWithChecksum =  super.exchangeAPDU( dataWithChecksum );
            byte[] receiveData;
            if(debug2) {
                for(int i=0; i<receiveDataWithChecksum.length;++i) {
                    System.out.print(Integer.toHexString(receiveDataWithChecksum[i] & 0x00FF) + " ");
                System.out.println();
                System.out.println();
            if(!select)  // verify the checksum
                int Le = receiveDataWithChecksum.length - 2;   // 2 bytes reserved for SW
                if(debug2) {
                    System.out.println("Le=" + Le);
                short csum1 = 0;
                for(short n = 2; n<Le; ++n) {
                    csum1 += receiveDataWithChecksum[n];
                short csum2 = (short)
                (receiveDataWithChecksum[receiveDataWithChecksum.length - 2]<<8)
                |
                (receiveDataWithChecksum[receiveDataWithChecksum.length - 1] & 0x00FF)
                if(debug2) {
                    System.out.println("csum1=" + csum1);
                    System.out.println("csum2=" + csum2);
                System.out.println("csum1=" + Integer.toHexString(csum1));
                System.out.println("csum2=" + Integer.toHexString(csum2));
                if(csum1 != csum2) throw new java.io.IOException("Wrong checksum on returned data");
                receiveData = new byte[receiveDataWithChecksum.length-2];
                System.arraycopy(receiveDataWithChecksum, 0, receiveData, 0, receiveData.length);
            else {
                receiveData = new byte[receiveDataWithChecksum.length];
                System.arraycopy(receiveDataWithChecksum, 0, receiveData, 0, receiveData.length);
            if(debug2) {
                for(int i=0; i<receiveData.length;++i) {
                    System.out.print(Integer.toHexString(receiveData[i] & 0x00FF) + " ");
                System.out.println();
                System.out.println();
            System.out.println("Receive Data:"+SmartCardIOAccessor.getHexString(receiveData));
            return receiveData;
        boolean authenticateUser( short ID ){
            byte[] externalAuthCommand = new byte[8];
            externalAuthCommand[0] = CLA_AUTH;
            externalAuthCommand[1] = INS_AUTH;
            externalAuthCommand[4] = 2;  // Lc
            externalAuthCommand[5] = (byte)(ID>>8);
            externalAuthCommand[6] = (byte)ID;
            externalAuthCommand[7] = 0x7F;
            try {
                byte[] response = this.exchangeAPDU( externalAuthCommand );
                if(response[0] != (byte)0x90 || response[1] != 0x00) return false;
                else return true;
            }catch (Exception e){
                return false;
        private boolean isSelect(byte[] buffer) {
            if(buffer.length < 2) return false;
            if((buffer[0]&APDU_CMD_MASK)==CLA_ISO7816 && buffer[1]==INS_SELECT) {
                if(debug2) {
                    System.out.println("accessor: select command");
                return true;
            else {
                return false;
    }

  • Help me! digester has error MalForme URL ".." unknown protocol: classloader

    I have used validator which link to digester and error occured like this..
    13-04-07 08:18:59.840 ERROR - java.lang.IllegalArgumentException: Malformed URL
    'classloader:/org/apache/commons/digester/xmlrules/digester-rules.dtd' : unknown protocol: classloader :(ValidatorOperator.java:71)[HttpRequestHandler-5984162]
    13-04-07 08:18:59.855 DEBUG - ******************************************* :(ValidatorOperator.java:72)[HttpRequestHandler-5984162]
    this line comes from new ValidatorResources(inputstream in)
    which I already checked that inputstream is not null
    Please help!!

    I just think that it's related to what an URL is and that whatever you provided there isn't a valid one because there is no such protocol as "classloader". Which the error message already said.
    From the URL API docs:
    Protocol handlers for the following protocols are guaranteed to exist on the search path :-
    http, https, ftp, file, and jar
    Further:
    Protocol handlers for additional protocols may also be available.
    In other words, if there actually is a protocol named "classloader", you will have to have some JAR in the classpath that'll provide that information. Read the Digester docs to find out which one that might be.

  • Unknown protocol: jndi java.lang.Throwable: unknown protocol: jndi

    hi,
    i use WLI 8.1 sp6. in my application i have a JMS Queue to publish the message from first jpd and in the second JPD im reading the message using JMS EG. we have managed servers (MS1 and MS2) and 2 JMS Server. when the message is published to MS1 server its throwing the following exception
    <unknown protocol: jndi
    java.lang.Throwable: unknown protocol: jndi
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.lookupConnectionFactory(JMSWrapper.java:200)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.getConnectionFactory(JMSWrapper.java:169)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.ensureJNDILookupCache(JMSWrapper.java:127)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.acquirePooledJMSConnectionAndSession(JMSWrapper.java:64)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.getSession(JMSWrapper.java:325)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlMsg.createTextMsg(JMSControlMsg.java:115)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlMsg.createMessage(JMSControlMsg.java:72)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.createMessage(JMSControlImpl.jcs:1293)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.handleInvoke(JMSControlImpl.jcs:1279)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.invokeInternal(JMSControlImpl.jcs:377)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.invoke(JMSControlImpl.jcs:310)
    at com.bea.control.WliJMSControlImpl.invoke(WliJMSControlImpl.jcs:205)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
    at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)
    at $Proxy64.sendTextMessage(Unknown Source)
    but in MS2 its working perfectly. Any help in solving this issue would be appreciated.
    thanks,
    Anees.

    Check your java.security file
    probably in your line to set parameter login.config.url.1=files:c:/yourpath/xxx.conf you removed the "files" protocol to indicate the path.
    example
    login.config.url.1=c:/yourpath/xxx.conf
    with this you get the error
    "java.lang.SecurityException: unknown protocol: c".
    Regards,
    Alexandre Gonzalez

  • Error in the Socket Communication between Java Client and VC++ Server

    In my application, using Java Client to do socket bi-communication with VC++ Server, which is done by somebody else.
    The error is after the application properly running one or two days, the VC++ Server cannot receive the messages passed by java Client, but at Java client, everything is the same, although using CheckError() after every print(), there is no exception thrown.
    The JVM is jdk1.3.1, platform is Win2k Server.
    The outputstream is PrintWriter().
    Please help me to settle down this problem. Thanks in advance.

    I read some thread in the forum, and found somebody had the similar problem with me. Just want to know how to settle this problem.
    In the client/server program. Client is a JAVA program and Server a
    VC++ program. The connection works, and the problem appears after some time. The Client sends a lots of requests to Serverm, the server seems receive nothing. But at the same time, the server is able to send messages to Client. The Client also can get the messages and handle them. Don't understand why there this problem and why it appears when it wants.
    The client is a Win2k platorm with JDK1.3.1 and the server is also a Win2K platform with VC++ 6.0.
    In the Client, using:
    inputFromServer = new BufferedReader(new InputStreamReader(socket.getInputStream()));
    outputToServer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(socket.getOutputStream())),true);
    Hope can get your help.

  • Error during invokation of webservices: "error: unknown java type:"

    hi,
    I'm having issues with invoking a webservice from the "WebLogic Test Client". The webservice exposes the methods from a stateless session EJB and Weblogic Workshop was used to create the webservice controls
    Weblogic version: 10.0 mp1
    Pls. advise.
    Error message ...
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header />
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>error: unknown java type: com.margin.engine.entity.ClientSet</faultstring>
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">com.bea.xml.XmlRuntimeException: error: unknown java type: com.margin.engine.entity.ClientSet
    at com.bea.staxb.runtime.internal.FailFastErrorHandler.add(FailFastErrorHandler.java:45)
    at com.bea.staxb.runtime.internal.MarshalResult.addError(MarshalResult.java:265)
    at com.bea.staxb.runtime.internal.AnyTypeRuntimeBindingType.determineActualRuntimeType(AnyTypeRuntimeBindingType.java:84)
    at com.bea.staxb.runtime.internal.RuntimeBindingProperty.getActualRuntimeType(RuntimeBindingProperty.java:110)
    at com.bea.staxb.runtime.internal.PushMarshalResult.walkRankOneSoapArray(PushMarshalResult.java:570)
    at com.bea.staxb.runtime.internal.PushMarshalResult.walkSoapArray(PushMarshalResult.java:534)
    at com.bea.staxb.runtime.internal.PushMarshalResult.visit(PushMarshalResult.java:437)
    at com.bea.staxb.runtime.internal.SoapArrayRuntimeBindingType.accept(SoapArrayRuntimeBindingType.java:59)
    at com.bea.staxb.runtime.internal.PushMarshalResult.writeContents(PushMarshalResult.java:192)
    at com.bea.staxb.runtime.internal.PushMarshalResult.marshalTopType(PushMarshalResult.java:93)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalBindingType(MarshallerImpl.java:302)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalType(MarshallerImpl.java:435)
    at weblogic.wsee.bind.runtime.internal.LiteralSerializerContext.marshalType(LiteralSerializerContext.java:70)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.internalSerializeType(BaseSerializerContext.java:175)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.serializeType(BaseSerializerContext.java:95)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodePart(SoapEncoder.java:284)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeReturn(SoapEncoder.java:205)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeParts(SoapEncoder.java:192)
    at weblogic.wsee.codec.soap11.SoapEncoder.encode(SoapEncoder.java:119)
    at weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:128)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.encode(CodecHandler.java:103)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.handleResponse(CodecHandler.java:50)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:236)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:220)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:135)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:108)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:257)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3395)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    </bea_fault:stacktrace>
    </detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>

    Olivier, thank you so much
    SOAMANAGER does not exist in my system (sp level 8), so node "/sap/bc/soap/rfc" should be active. Actually, it is active.
    I think the problem is related to user rights/profiles.
    I have tried to create another WS after assigning role SAP_BC_WEBSERVICE_ADMIN. The same error when trying to activate it, but now, I can see this WS in SE80 (under "Enterprise Services->Service Definition"). It is not active there and if I try to activate it, a success message appears indicating that user "is not authorized to use function netzwerkadministration". I cannot see any new services in SICF...
    Probably the new entry in SICF will be created after activating WS in SE80...
    Do u know what user profile should I add in order to properly activate the WS in SE80?
    Thank you very much!
    Vicente

  • Protocol Error: Unknown error. (1)

    I have a Centro (sprint) which  has been giving me lots of problems. i want to focus at 1 the issue now. I restored each database separately and it gave me the same error "protocol error: unknown error (1)" Then i back up with nothing checked off to transfer -meaning it's not a particular database giving me this issue AND I STILL GOT THE SAME ERROR. i used dbfixit to check everything and it's fine.
    How do i get rid of this error. 
    Thanks
    Sam
    PS i backup my data (in addition the the computer) with RSCBACKUP which is amazing!

    I have a Palm TX with the same error. Has anyone found a solution to the problem

  • MDEX intermittantly not returning response, getting com.endeca.navigation.ENEConnectionException: Error reading from socket connection buffer.Connection reset

    Intermittant issue where certain portlets have the spinning wheel and error getting thrown in the log, and resulting in stuck threads, has anyone seen this?
    Caused by: com.endeca.navigation.ENEConnectionException: Error reading from socket connection buffer.Connection reset
            at com.endeca.navigation.OptiInputBuffer.read(Unknown Source)
            at com.endeca.navigation.OptiInputBuffer.readFully(Unknown Source)
            at com.endeca.navigation.OptiInputBuffer.readUInt(Unknown Source)
            at com.endeca.navigation.OptiInputBuffer.readLine(Unknown Source)
            at com.endeca.navigation.OptiBinaryInterp.FormatCat(Unknown Source)
            at com.endeca.navigation.OptiBinaryInterp.FormatCatsWithAncs(Unknown Source)
            at com.endeca.navigation.OptiBinaryInterp.FormatCatGroup(Unknown Source)
            at com.endeca.navigation.OptiBinaryInterp.FormatBin(Unknown Source)
            at com.endeca.navigation.OptiBinaryInterp.FormatBinList(Unknown Source)
            at com.endeca.navigation.OptiBinaryInterp.ParseBinaryNode(Unknown Source)
            at com.endeca.navigation.OptiBackend.getNavigation(Unknown Source)
            at com.endeca.navigation.HttpENEConnection.query(Unknown Source)
            at com.endeca.portal.mdex.MDEXUtil.execute(MDEXUtil.java:433)
            at com.endeca.portal.data.DataSource.execute(DataSource.java:546)

    Message appears in logs internmittantly during page rendering which has Breadcrumbs, Results Table, Guided Navigation portlets.  There are Agraphs in front of several Dgraphs.

  • Java Error message with Webdeploy

    Hello
    It seems that the current Java version 7.0.45 produces a new error message when connecting to an ASA running 8.4(6) with Anyconnect 3.1.04059 through WebLaunch. The java error (information) states:
    This application will be blocked in a future Java security update because the JAR file manifest does not contain the Permissions attribute. Please contact the Publisher for more information.
    Is this error/issue allready known?
    The installation will continue though, but I still don't like that my users get an error message.
    Thanks
    Patrick

    This appears to have been escalated with Java version 7 Update 51.  Now I can not open any ASDMs to my ASAs.  I get Unable to open device manager on .  Here's the java log from when I connect.  I even have the lastest version of ASDM from the bug above (7.1.5.100).
    Using JRE version 1.7.0_51 Java HotSpot(TM) Client VM
    User home directory = C:\Users\
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    m:   print memory usage
    q:   hide console
    s:   dump system properties
    OK button clicked
    java.lang.NullPointerException
    at com.sun.deploy.security.DeployManifestChecker.printWarningsIfRequired(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.doShowDialog(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
    at com.sun.deploy.security.X509Extended7DeployTrustManager.checkServerTrusted(Unknown Source)
    at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
    at sun.security.ssl.Handshaker.processLoop(Unknown Source)
    at sun.security.ssl.Handshaker.process_record(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at com.cisco.launcher.s.new(Unknown Source)
    at com.cisco.launcher.s.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Java couldn't trust Server
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
    at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
    at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
    at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
    at sun.security.ssl.Handshaker.processLoop(Unknown Source)
    at sun.security.ssl.Handshaker.process_record(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at com.cisco.launcher.s.new(Unknown Source)
    at com.cisco.launcher.s.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.security.cert.CertificateException: Java couldn't trust Server
    at com.sun.deploy.security.X509Extended7DeployTrustManager.checkServerTrusted(Unknown Source)
    ... 50 more
    java.lang.NullPointerException
    at com.sun.deploy.security.DeployManifestChecker.printWarningsIfRequired(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.doShowDialog(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
    at com.sun.deploy.security.X509Extended7DeployTrustManager.checkServerTrusted(Unknown Source)
    at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
    at sun.security.ssl.Handshaker.processLoop(Unknown Source)
    at sun.security.ssl.Handshaker.process_record(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at com.cisco.launcher.s.new(Unknown Source)
    at com.cisco.launcher.s.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Java couldn't trust Server
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
    at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
    at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
    at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
    at sun.security.ssl.Handshaker.processLoop(Unknown Source)
    at sun.security.ssl.Handshaker.process_record(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at com.cisco.launcher.s.new(Unknown Source)
    at com.cisco.launcher.s.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.security.cert.CertificateException: Java couldn't trust Server
    at com.sun.deploy.security.X509Extended7DeployTrustManager.checkServerTrusted(Unknown Source)
    ... 50 more
    Trying for ASDM Version file; url =
    https://oraappvpn01/admin/
    java.lang.NullPointerException
    at com.sun.deploy.security.DeployManifestChecker.printWarningsIfRequired(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.doShowDialog(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
    at com.sun.deploy.security.X509Extended7DeployTrustManager.checkServerTrusted(Unknown Source)
    at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
    at sun.security.ssl.Handshaker.processLoop(Unknown Source)
    at sun.security.ssl.Handshaker.process_record(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
    at com.cisco.launcher.y.a(Unknown Source)
    at com.cisco.launcher.y.if(Unknown Source)
    at com.cisco.launcher.r.a(Unknown Source)
    at com.cisco.launcher.s.do(Unknown Source)
    at com.cisco.launcher.s.null(Unknown Source)
    at com.cisco.launcher.s.new(Unknown Source)
    at com.cisco.launcher.s.access$000(Unknown Source)
    at com.cisco.launcher.s$2.a(Unknown Source)
    at com.cisco.launcher.g$2.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Java couldn't trust Server
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
    at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
    at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
    at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
    at sun.security.ssl.Handshaker.processLoop(Unknown Source)
    at sun.security.ssl.Handshaker.process_record(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
    at com.cisco.launcher.y.a(Unknown Source)
    at com.cisco.launcher.y.if(Unknown Source)
    at com.cisco.launcher.r.a(Unknown Source)
    at com.cisco.launcher.s.do(Unknown Source)
    at com.cisco.launcher.s.null(Unknown Source)
    at com.cisco.launcher.s.new(Unknown Source)
    at com.cisco.launcher.s.access$000(Unknown Source)
    at com.cisco.launcher.s$2.a(Unknown Source)
    at com.cisco.launcher.g$2.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.security.cert.CertificateException: Java couldn't trust Server
    at com.sun.deploy.security.X509Extended7DeployTrustManager.checkServerTrusted(Unknown Source)
    ... 21 more
    Trying for IDM. url=https://oraappvpn01/idm/idm.jnlp/
    java.lang.NullPointerException
    at com.sun.deploy.security.DeployManifestChecker.printWarningsIfRequired(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.doShowDialog(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
    at com.sun.deploy.security.X509Extended7DeployTrustManager.checkServerTrusted(Unknown Source)
    at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
    at sun.security.ssl.Handshaker.processLoop(Unknown Source)
    at sun.security.ssl.Handshaker.process_record(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at com.cisco.launcher.w.a(Unknown Source)
    at com.cisco.launcher.s.for(Unknown Source)
    at com.cisco.launcher.s.new(Unknown Source)
    at com.cisco.launcher.s.access$000(Unknown Source)
    at com.cisco.launcher.s$2.a(Unknown Source)
    at com.cisco.launcher.g$2.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Java couldn't trust Server
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
    at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
    at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
    at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
    at sun.security.ssl.Handshaker.processLoop(Unknown Source)
    at sun.security.ssl.Handshaker.process_record(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at com.cisco.launcher.w.a(Unknown Source)
    at com.cisco.launcher.s.for(Unknown Source)
    at com.cisco.launcher.s.new(Unknown Source)
    at com.cisco.launcher.s.access$000(Unknown Source)
    at com.cisco.launcher.s$2.a(Unknown Source)
    at com.cisco.launcher.g$2.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.security.cert.CertificateException: Java couldn't trust Server
    at com.sun.deploy.security.X509Extended7DeployTrustManager.checkServerTrusted(Unknown Source)
    ... 19 more

  • Java error in ei !

    hi...
    i had an error in enternet explorer at the java .
    the error is :
    Java Plug-in 1.5.0_04
    Using JRE version 1.5.0_04 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\admin
    network: Loading user-defined proxy configuration ...
    network: Done.
    network: Loading proxy configuration from Internet Explorer ...
    network: Done.
    network: Loading manual proxy configuration ...
    network: Convert proxy bypass list to regular expression:
    network: proxy1.emirates.net.ae:8080 --> PROXY1.EMIRATES.NET.AE:8080
    network: 192.168.1.1 --> 192.168.1.1
    network: <local> --> [^.]+
    network: Done.
    network: Proxy Configuration: Manual Configuration
    Proxy: http=proxy1.emirates.net.ae:8080,https=proxy1.emirates.net.ae:8080,ftp=proxy1.emirates.net.ae:8080,gopher=proxy1.emirates.net.ae:8080
    Proxy Overrides: proxy1.emirates.net.ae:8080,192.168.1.1,<local>
    basic: Cache is enabled
    basic: Location: C:\Documents and Settings\admin\Application Data\Sun\Java\Deployment\cache\javapi\v1.0
    basic: Maximum size: unlimited
    basic: Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@edc3a2, refcount=1
    java.net.MalformedURLException: unknown protocol: unsaved
         at java.net.URL.<init>(Unknown Source)
         at java.net.URL.<init>(Unknown Source)
         at sun.plugin.util.GrayBoxPainter.setProgressFilter(Unknown Source)
         at sun.plugin.AppletViewer.initApplet(Unknown Source)
         at sun.plugin.AppletViewer.appletInit(Unknown Source)
         at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
         at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@a6aeed
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    network: Connecting http://host2.digichet.com/DigiChat/DigiClasses/com/diginet/digichat/client/DigiChatApplet.class with proxy=HTTP @ proxy1.emirates.net.ae/195.229.241.17:8080
    network: Connecting http://host2.digichet.com/DigiChat/DigiClasses/com/diginet/digichat/client/DigiChatApplet/class.class with proxy=HTTP @ proxy1.emirates.net.ae/195.229.241.17:8080
    load: class com.diginet.digichat.client.DigiChatApplet.class not found.
    java.lang.ClassNotFoundException: com.diginet.digichat.client.DigiChatApplet.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    basic: Exception: java.lang.ClassNotFoundException: com.diginet.digichat.client.DigiChatApplet.class
    java.lang.ClassNotFoundException: com.diginet.digichat.client.DigiChatApplet.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    basic: Modality pushed
    basic: Modality popped
    basic: Modality pushed
    basic: Modality popped

    Umm, if you didn't make the program, we can't really help.

  • Unknown protocol: classpath when SOA server parses WSDL of ADF Web Services

    We used ADF 11.1.1.4 to create synchronous web services (via Application Module Service Interface). Everything worked fine, we were able to created SOA composites that references those ADF web services and deploy them to SOA server successfully.
    However, since last weekend, all SOA composites that reference the ADF web services started to give the following exception when loaded during SOA server startup:
    [2012-01-17T14:27:35.373-05:00] [soa_server1] [ERROR] [SOA-20003] [oracle.integration.platform] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@39ed0f9] [userId: <anonymous>] [ecid: 0000JJh8SfNFg4aPXMg8xb1F5Sgf000001,0] [APP: soa-infra] Unable to register service.[[
    oracle.fabric.common.FabricException: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/deployed-composites/default/MainOrch100000000002001Composite_rev1.0/SOAAMServiceRef.wsdl: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/apps/epm/fcc/service/SOAAMService.wsdl: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Invalid URL or file: classpath:/META-INF/wsdl/ServiceException.wsdl: java.net.MalformedURLException: unknown protocol: classpath: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/deployed-composites/default/MainOrch100000000002001Composite_rev1.0/SOAAMServiceRef.wsdl: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/apps/epm/fcc/service/SOAAMService.wsdl: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Invalid URL or file: classpath:/META-INF/wsdl/ServiceException.wsdl: java.net.MalformedURLException: unknown protocol: classpath
    at oracle.fabric.composite.model.CompositeModel.loadImports(CompositeModel.java:379)
    at oracle.fabric.composite.model.CompositeModel.getWSDLManager(CompositeModel.java:198)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.getDefinition(WebServiceEntryBindingComponent.java:240)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.load(WebServiceEntryBindingComponent.java:147)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.load(WebServiceEntryBindingComponent.java:98)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployServices(CompositeDeploymentConnection.java:161)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:92)
    at oracle.integration.platform.blocks.deploy.CompositeDeployerImpl.deploy(CompositeDeployerImpl.java:149)
    Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/apps/epm/fcc/service/SOAAMService.wsdl: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Invalid URL or file: classpath:/META-INF/wsdl/ServiceException.wsdl: java.net.MalformedURLException: unknown protocol: classpath
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:932)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:808)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:708)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:656)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:368)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:911)
    ... 32 more
    Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Invalid URL or file: classpath:/META-INF/wsdl/ServiceException.wsdl: java.net.MalformedURLException: unknown protocol: classpath
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:929)
    ... 37 more
    Caused by: java.net.MalformedURLException: unknown protocol: classpath
    at java.net.URL.<init>(URL.java:574)
    at java.net.URL.<init>(URL.java:465)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:901)
    ... 37 more
    Any suggestion about what might be causing this issue?
    Thanks,
    Fang

    Just thought to put the solution here, in case anyone else that uses SOA encounter the same issue.
    It turns out the setDomainEnv.cmd file for SOA server was corrupted, so that the list of PROTOCOL_HANDLERS are bad. It should have
    set PROTOCOL_HANDLERS=%PROTOCOL_HANDLERS%;oracle.fabric.common.classloaderurl.handler;oracle.fabric.common.uddiurl.handler;oracle.bpm.io.fs.protocol
    But something changed it to be only have oracle.mds.net.protocol, Therefore the classpath protocol could not be recognized by SOA server. Once we corrected the PROTOCOL_HANDLERS, this issue is gone.

  • Unknown protocol: https

    Hello
    I have just coded a program which calls upon Web servcies, I have declared on my classpath the libraries: jcert.jar, jnet.jar, jsse.jar. :
    but when I compile I have the following error :
    java.net.MalformedURLException: unknown protocol: https
         at java.net.URL.<init>(URL.java:586)
         at java.net.URL.<init>(URL.java:476)
         at java.net.URL.<init>(URL.java:425)
         at DynamicInvoke.findImplURI(DynamicInvoke.java:77)
         at DynamicInvoke.run(DynamicInvoke.java:62)
         at DynamicInvoke.main(DynamicInvoke.java:57)
    thanks in advance
    My code is as follows :
    import java.net.*;
    import java.util.*;
    import java.lang.reflect.*;
    import org.uddi4j.client.*;
    import org.uddi4j.request.*;
    import org.uddi4j.response.*;
    import org.uddi4j.datatype.*;
    import org.uddi4j.datatype.service.*;
    import org.uddi4j.datatype.binding.*;
    import org.uddi4j.datatype.tmodel.*;
    import com.ibm.wsdl.factory.*;
    import com.ibm.wsdl.*;
    import javax.wsdl.*;
    import javax.wsdl.factory.*;
    import javax.wsdl.xml.*;
    import org.apache.axis.wsdl.toJava.*;
    import org.apache.axis.encoding.*;
    import org.apache.axis.client.Call;
    import com.sun.net.ssl.*;//
    import sun.net.www.protocol.http.HttpURLConnection;//
    public class DynamicInvoke {
    private String uddiInquiryURL = "http://uddi.ibm.com/ubr/inquiryapi";
    private String uddiPublishURL = "https://uddi.ibm.com/ubr/publishapi";
    private String businessName = "Yap Tat Kwong";
    private String serviceName = "Nanyang Polytechnic";
    public static void main(String[] args) {
         DynamicInvoke di = new DynamicInvoke();
         di.run();
    public void run() {
         String implURI = findImplURI();
         if(implURI == null) return;
         try {
         parseWSDL(implURI);
         } catch(WSDLException wsdle) {
         wsdle.printStackTrace();
    public String findImplURI() {
         try {
         // create a proxy to the UDDI
         UDDIProxy proxy = new UDDIProxy(new URL(uddiInquiryURL), new URL(uddiPublishURL));
         // we need to find the business in the UDDI
         // we must first create the Vector of business name
         Vector names = new Vector();
         names.add(new Name(businessName));
         // now get a list of all business matching our search criteria
         BusinessList businessList = proxy.find_business(names, null, null, null, null, null,10);
         // now we need to find the BusinessInfo object for our business
         Vector businessInfoVector = businessList.getBusinessInfos().getBusinessInfoVector();
         BusinessInfo businessInfo = null;
         for (int i = 0; i < businessInfoVector.size(); i++) {
              businessInfo = (BusinessInfo)businessInfoVector.elementAt(i);
              // make sure we have the right one
              if(businessName.equals(businessInfo.getNameString())) {
              break;
         // now find the service info
         Vector serviceInfoVector = businessInfo.getServiceInfos().getServiceInfoVector();
         ServiceInfo serviceInfo = null;
         for (int i = 0; i < serviceInfoVector.size(); i++) {
              serviceInfo = (ServiceInfo)serviceInfoVector.elementAt(i);
              // make sure we have the right one
         if(serviceName.equals(serviceInfo.getNameString())) {
              break;
         // we now need to get the business service object for our service
         // we do this by getting the ServiceDetail object first, and
         // getting the BusinessService objects through it
         ServiceDetail serviceDetail = proxy.get_serviceDetail(serviceInfo.getServiceKey());
         Vector businessServices = serviceDetail.getBusinessServiceVector();
         BusinessService businessService = null;
         for (int i = 0; i < businessServices.size(); i++) {
              businessService = (BusinessService)businessServices.elementAt(i);
              // make sure we have the right one
         if(serviceName.equals(businessService.getDefaultNameString())) {
              break;
         // ok, now we have the business service so we can get the binding template
         Vector bindingTemplateVector = businessService.getBindingTemplates().getBindingTemplateVector();
         AccessPoint accessPoint = null;
         BindingTemplate bindingTemplate = null;
         for(int i=0; i<bindingTemplateVector.size(); i++) {
              // find the binding template with an http access point
              bindingTemplate = (BindingTemplate)bindingTemplateVector.elementAt(i);
              accessPoint = bindingTemplate.getAccessPoint();
              if(accessPoint.getURLType().equals("http")) {
              break;
         // ok now we know which binding template we're dealing with
         // we can now find out the overview URL
         Vector tmodelInstanceInfoVector = bindingTemplate.getTModelInstanceDetails().getTModelInstanceInfoVector();
         String wsdlImplURI = null;
         for(int i=0; i<tmodelInstanceInfoVector.size(); i++) {
              TModelInstanceInfo instanceInfo = (TModelInstanceInfo)tmodelInstanceInfoVector.elementAt(i);
              InstanceDetails details = instanceInfo.getInstanceDetails();
              OverviewDoc wsdlImpl = details.getOverviewDoc();
              wsdlImplURI = wsdlImpl.getOverviewURLString();
              if(wsdlImplURI != null) break;
         return wsdlImplURI;
         } catch(Exception e) {
         e.printStackTrace();
         return null;
    public void parseWSDL(String implURI) throws WSDLException {
         Definition implDef = null;
         Definition interfaceDef = null;
         String targetNamespace = null;
         String serviceName = null;
         String portName = null;
         String operationName = null;
         Object[] inputParams = null;
         // first get the definition object got the WSDL impl
         try {
         WSDLFactory factory = new WSDLFactoryImpl();
         WSDLReader reader = factory.newWSDLReader();
         implDef = reader.readWSDL(implURI);
         } catch(WSDLException e) {
         e.printStackTrace();
         if(implDef==null) {
         throw new WSDLException(WSDLException.OTHER_ERROR,"No WSDL impl definition found.");
         // now get the Definition object for the interface WSDL
         Map imports = implDef.getImports();
         Set s = imports.keySet();
         Iterator it = s.iterator();
         while(it.hasNext()) {
         Object o = it.next();
         Vector intDoc = (Vector)imports.get(o);
         // we want to get the ImportImpl object of it exists
         for(int i=0; i<intDoc.size(); i++) {
              Object obj = intDoc.elementAt(i);
              if(obj instanceof ImportImpl) {
              interfaceDef = ((ImportImpl)obj).getDefinition();
         if(interfaceDef == null) {
         throw new WSDLException(WSDLException.OTHER_ERROR,"No WSDL interface definition found.");
         // let's get the target namespace Axis will need from the WSDL impl
         targetNamespace = implDef.getTargetNamespace();
         // great we've got the WSDL definitions now we need to find the PortType so
         // we can find the methods we can invoke
         Vector allPorts = new Vector();
    Map ports = interfaceDef.getPortTypes();
         s = ports.keySet();
         it = s.iterator();
         while(it.hasNext()) {
         Object o = it.next();
         Object obj = ports.get(o);
         if(obj instanceof PortType) {
              allPorts.add((PortType)obj);
         // now we've got a vector of all the port types - normally some logic would
         // go here to choose which port type we want to use but we'll just choose
         // the first one
         PortType port = (PortType)allPorts.elementAt(0);
         List operations = port.getOperations();
         // let's get the service in the WSDL impl which contains this port
         // to do this we must first find the QName of the binding with the port type
         // that corresponds to the port type of our chosen part
         QName bindingQName = null;
         Map bindings = interfaceDef.getBindings();
         s = bindings.keySet();
         it = s.iterator();
         while(it.hasNext()) {
         Binding binding = (Binding)bindings.get(it.next());
         if(binding.getPortType()==port) {
              // we've got our binding
              bindingQName = binding.getQName();
         if(bindingQName==null) {
         throw new WSDLException(WSDLException.OTHER_ERROR,"No binding found for chosen port type.");
         // now we can find the service in the WSDL impl which provides an endpoint
         // for the service we just found above
         Map implServices = implDef.getServices();
         s = implServices.keySet();
         it = s.iterator();
         while(it.hasNext()) {
         Service serv = (Service)implServices.get(it.next());
         Map m = serv.getPorts();
         Set set = m.keySet();
         Iterator iter = set.iterator();
         while(iter.hasNext()) {
              Port p = (Port)m.get(iter.next());
              if(p.getBinding().getQName().toString().equals(bindingQName.toString())) {
              // we've got our service store the port name and service name
              portName = serv.getQName().toString();
              serviceName = p.getName();
              break;
         if(portName != null) break;
         // ok now we got all the operations previously - normally we would have some logic here to
         // choose which operation, however, for the sake of simplicity we'll just
         // choose the first one
         Operation op = (Operation)operations.get(0);
         operationName = op.getName();
         // now let's get the Message object describing the XML for the input and output
         // we don't care about the specific type of the output as we'll just cast it to an Object
         Message inputs = op.getInput().getMessage();
         // let's find the input params
         Map inputParts = inputs.getParts();
         // create the object array which Axis will use to pass in the parameters
         inputParams = new Object[inputParts.size()];
         s = inputParts.keySet();
         it = s.iterator();
         int i=0;
         while(it.hasNext()) {
         Part part = (Part)inputParts.get(it.next());
         QName qname = part.getTypeName();
         // if it's not in the http://www.w3.org/2001/XMLSchema namespace then
         // we don't know about it - throw an exception
         String namespace = qname.getNamespaceURI();
         if(!namespace.equals("http://www.w3.org/2001/XMLSchema")) {
              throw new WSDLException(WSDLException.OTHER_ERROR,"Namespace unrecognized");
         // now we can get the Java type which the the QName maps to - we do this
         // by using the Axis tools which map WSDL types to Java types in the wsdl2java tool
         String localPart = qname.getLocalPart();
         javax.xml.rpc.namespace.QName wsdlQName = new javax.xml.rpc.namespace.QName(namespace,localPart);
         TypeMapping tm = DefaultTypeMappingImpl.create();
         Class cl = tm.getClassForQName(wsdlQName);
         // if the Java type is a primitive, we need to wrap it in an object
         if(cl.isPrimitive()) {
              cl = wrapPrimitive(cl);
         // we could prompt the user to input the param here but we'll just
         // assume a random number between 1 and 10
         // first we need to find the constructor which takes a string representation of a number
         // if a complex type was required we would use reflection to break it down
         // and prompt the user to input values for each member variable in Object representing
         // the complex type
         try {
              Constructor cstr = cl.getConstructor(new Class[] { Class.forName("java.lang.String") });
              inputParams[i] = cstr.newInstance(new Object [] { ""+new Random().nextInt(10) });
         } catch(Exception e) {
              // shoudn't happen
              e.printStackTrace();
         i++;
         // great now we've built up all the paramters we need to invoke the Web service with Axis
         // now all we need to do is actually invoke it
         System.out.print("\nAxis parameters gathered:\nTargetNamespace = "+targetNamespace +"\n"+
         "Service Name = "+serviceName +"\n"+
         "Port Name = "+portName +"\n"+
         "Operation Name = "+operationName+"\n"+
         "Input Parameters = ");
         for(i=0; i<inputParams.length; i++) {
         System.out.print(inputParams);
         if(inputParams.length != 0 && inputParams.length-1 > i) {
              System.out.print(", ");
         System.out.println("\n");
         axisInvoke(targetNamespace, serviceName, portName, operationName, inputParams, implURI);
    public Class wrapPrimitive(Class cl) throws WSDLException {
         String type = cl.getName();
         try {
         if(type.equals("byte")) {
              return Class.forName("java.lang.Byte");
         } else if(type.equals("char")) {
              return Class.forName("java.lang.Character");
         } else if(type.equals("short")) {
              return Class.forName("java.lang.Short");
         } else if(type.equals("int")) {
              return Class.forName("java.lang.Integer");
         } else if(type.equals("double")) {
              return Class.forName("java.lang.Double");
         } else if(type.equals("float")) {
              return Class.forName("java.lang.Float");
         } else if(type.equals("long")) {
              return Class.forName("java.lang.Long");
         } else {
              throw new WSDLException(WSDLException.OTHER_ERROR,"Unrecognized primitive type");
         } catch(ClassNotFoundException e) {
         // this should never happen
         e.printStackTrace();
         return null;
    public void axisInvoke(String targetNamespace, String serviceName, String portName,
                   String operationName, Object[] inputParams, String implURI) {
         try {
         // first, due to a funny Axis idiosyncracy we must strip portName of
         // it's target namespace so we can pass it in as targetNamespace, localPart
         int index = portName.indexOf(":",portName.indexOf("http://")+new String("http://").length());
         String portNamespace = portName.substring(0,index);
         portName = portName.substring(index==0?index:index+1); // to strip the :
         javax.xml.rpc.namespace.QName serviceQN =
              new javax.xml.rpc.namespace.QName( portNamespace, portName );
         org.apache.axis.client.Service service =
              new org.apache.axis.client.Service(new URL(implURI), serviceQN);
         javax.xml.rpc.namespace.QName portQN =
              new javax.xml.rpc.namespace.QName( targetNamespace, serviceName );
         // This Call object will be used the invocation
         Call call = (Call) service.createCall();
         // Now make the call...
         System.out.println("Invoking service >> " + serviceName + " <<...");
         call.setOperation( portQN, operationName );
         Object ret = (Integer) call.invoke( inputParams );
         System.out.println("Result returned from call to "+serviceName+" -- "+ret);
         } catch(java.net.MalformedURLException e) {
         System.out.println("Error invoking service : "+e);
         } catch(javax.xml.rpc.ServiceException e2) {
         System.out.println("Error invoking service : "+e2);
         } catch(java.rmi.RemoteException e3) {
         System.out.println("Error invoking service : "+e3);

    Try adding the following line to the java command,
    -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol

  • Discoverer 9iASv2: does not run, produces java errors

    Hi,
    I am evaluating Discoverer9ias v2 for my company. We have set up 9iAs infrastructure on a Win2K box, with the main 9ias BI and Forms on another Win2K box.
    After installing everything, the disco plus demo ran fine for a few hours. After that the 9ias admin website and the demo stopped responding. A reboot of main 9ias box was required to fix this. And on the main 9ias servers admin website, the discoverer status always appears as unknown.
    We added a few public connections. The last public connection I tried to define had only the databse service name in it. I was trying to find out if Disco Plus will prompt the user for a userid/password. On clicking 'Apply' I got a Java error. I don't know if the connection got created or not. Since then, Discoverer is NOT WORKING AT ALL!
    The demo url produces this error:
    java.lang.NullPointerException
         at oracle.discoiv.session.model.Authentication.(Authentication.java:87)
         at oracle.discoiv.session.model.ConnectionManager.findConnection(ConnectionManager.java:306)
         at oracle.discoiv.session.model.ConnectionManager.findConnection(ConnectionManager.java:277)
         at oracle.discoiv.session.model.ConnectionManager.getConnection(ConnectionManager.java:74)
         at oracle.discoiv.session.model.ModelSession.openConnection(ModelSession.java:272)
         at oracle.discoiv.session.model.ModelSession.openAccount(ModelSession.java:331)
         at oracle.discoiv.state.LoginTransition.doTransition(LoginTransition.java:62)
         at oracle.discoiv.state.StateTransition.execute(StateTransition.java:37)
         at oracle.discoiv.state.StateTransition.execute(StateTransition.java:46)
         at oracle.discoiv.state.DiscoState.getState(DiscoState.java:155)
         at oracle.discoiv.state.DiscoState.getState(DiscoState.java:52)
         at oracle.discoiv.state.StateMachine.setState(StateMachine.java:75)
         at oracle.discoiv.controller.DiscovererController.setState(DiscovererController.java:236)
         at oracle.discoiv.servlet.DiscovererHttpHandler.processRequest(DiscovererHttpHandler.java:101)
         at oracle.discoiv.servlet.DiscoServlet.doRequest(DiscoServlet.java:314)
         at oracle.discoiv.servlet.DiscoServlet.doGet(DiscoServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
         at oracle.plus.servlet.Disco4iProxyServlet.doRequest(Disco4iProxyServlet.java:141)
         at oracle.plus.servlet.Disco4iProxyServlet.doGet(Disco4iProxyServlet.java:68)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    9ias Restarts and reboots have not helped. The Discoverer Services Configuration page on the 9ias admin website has a 'General Discoverer' option for creating and changing connections. But, clicking on this link also produces an error, even though 'Discoverer Viewer' and 'Discoverer Portlet Provider' links seem to work fine. This is the error:
    500 Internal Server Error
    java.lang.NullPointerException
         at oracle.disco.oem.configuration.ConnectionConfiguration.getConnection(ConnectionConfiguration.java:161)
         at oracle.disco.oem.configuration.ConnectionConfiguration.GetConnections(ConnectionConfiguration.java:64)
         at oracle.disco.oem.beans.GeneralBean.<init>(GeneralBean.java:98)
         at oracle.disco.oem.beans.BeansFactory.getGeneralBean(BeansFactory.java:47)
         at oracle.disco.oem.cabo.DiscovererPageHandler.loadGeneralPage(DiscovererPageHandler.java:610)
         at oracle.disco.oem.cabo.DiscovererPageHandler.prepareData(DiscovererPageHandler.java:252)
         at oracle.sysman.emSDK.eml.svlt.PageHandler.handleRequest(PageHandler.java:305)
         at oracle.sysman.emSDK.eml.svlt.EMServlet.myDoGet(EMServlet.java:649)
         at oracle.sysman.emSDK.eml.svlt.EMServlet.doGet(EMServlet.java:224)
         at oracle.sysman.eml.app.ConsoleSN.doGet(ConsoleSN.java:71)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)

    A few tips creating a public connection:
    1) Always use capital letters when typing a EUL name
    2) Never leave blank userid or password when defining public connections.
    Althought these are fixed in the up coming patch, you just need to follow the tips for the 9.0.2.39

Maybe you are looking for

  • IDVD Burning then not burning

    Hi, I have created my project in iDVD and I am making multiple copies. iDVD burns to DVD ok and the DVD's play fine in a DVD player or PC. After the 6th DVD the discs are now blank even though the iDVD progress bar tells me it has been burnt them. I

  • SQL_Developer and date format - possible bug

    I have encountered an error that I cannot explain. In Oracle SQL Developer very simple query: Select To_Date('01-JAN-0001 BC','DD-MON-YYYY BC') From Dual; returns: 01-JAN-02 The year is wrong. NLS_DATE_FORMAT for this session it is set as 'DD-MON-RR'

  • Putting music on Motorola V3 in 10.2.8

    Hi, I'm trying to put some music files on my Motorola V3, and i was already advised to use finder for this, but i can't find how to put music on it? Thx

  • Searching for ARCHIVLOG file.

    Hi all, I'm hitting this error. unable to find archive log archive log thread=1 sequence=4367 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571:

  • Please tell me the usage of automatic clearing a/c

    i want to know the automatic clearing a/c. i know ob74 for configuration, and f.13 , but why we are using automatic clearing a/c. please provide information on this. i posted earlier also. but i could not get the proper answer. Thank you  in advance