Unknown port name error

Has anyone seen this before? I find a service in the registry, then instantiate a stub from that and invoke the method on the stub. Here's the error:
java.rmi.ServerException: Internal Server Error (unknown port name: MyServiceIF)
at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:346)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:221)
at mypackage.MyServiceIF_Stub.getMyData(Unknown Source)
This is the code:
Iterator sbIter = serviceBindings.iterator();
while (sbIter.hasNext()) {
System.out.println("getting next service binding");
ServiceBinding sb = (ServiceBinding) sbIter.next();
endpoint = sb.getAccessURI();
MyServiceIF_Stub stub =
(MyServiceIF_Stub)(new ServiceData_Impl().getMyServiceIFPort());
stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,
endpoint);
//this seems to be where the error occurs
result = stub.getMyData();
Any help would be appreciated.
Thanks!

ok - it has nothing to do with the code. I am actually trying to create two services with two different endpoints. However, when I publish the second service, tomcat tells me that it supports the port of the first service! Is it because I am using the same context? Here is the message when I enter in the url for the second service
-> http://localhost:8080/data-server/data/MyService2IF
Here is the response:
->A Web Service is installed at this URL.
It supports the following ports: "MyServiceIF"
(http://localhost:8080/data-server/data/MyServiceIF)
Any ideas? Thanks!

Similar Messages

  • OpenDocument fails because of unknown field name error

    Hi,
    I am trying to execute reports on the server. The reports contain records filters and formulas which are necessary and cannot be removed. When I attempt to open a report with the openDocument function the application throws an error, that the field name is not known.
    Both reports work fine when I execute them directly via the BO Central Management Console.
    I hope, anybody can help me?
    Thanks in advance.
    IReportAppFactory reportAppFactory = (IReportAppFactory) eSession
                             .getService("RASReportFactory");
                   reportClientDocument = reportAppFactory.openDocument(infoObject, 0,
                             java.util.Locale.getDefault());
    Cannot open report document. --- This field name is not known.
    Details: errorKind
    Error in File {...}.rpt:
    Error in formula  Record Selection:
    'my filter
    This field name is not known.
    Details: errorKind
    The exception originally thrown was com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: This field name is not known.
    Error in File {...}.rpt:
    Error in formula ' my formula '
    This field name is not known.
    Details: errorKind---- Error code:-2147217383 Error code name:formulaParseError
    at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)

    Hi,
    thanks for your answer. The reports were build on a simple SQL statement and use custom DB logon in CMC.
    I have created a similar report with no formulas or record filter. This new report works fine.
    I also use user input parameters. I thought the problems depends on that these parameters are not set into
    the implemented formulas and so the report cannot be parsed correctly.?
    Do you have any additional information about the similar issue (only matter of interest)? Do you know if there are new JAR files released within this new version?
    I hope the update will help. Thanks in advance.

  • The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError) Log on failed. Ensure the user name and password are correct. (rsLogonFailed) Logon failure: unknown user name or bad

    The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError)
    Log on failed. Ensure the user name and password are correct. (rsLogonFailed)
    Logon failure: unknown user name or bad password 
    am using Windows integrated security,version of my sql server 2008R2
    I have go throgh the different articuls, they have given different answers,
    So any one give me the  exact soluction for this problem,
    Using service account then i will get the soluction or what?
    pls help me out it is urgent based.
    Regards
    Thanks!

    Hi Ychinnari,
    I have tested on my local environment and can reproduce the issue, as
    Vaishu00547 mentioned that the issue can be caused by the Execution Account you have configured in the Reporting Services Configuration Manager is not correct, Please update the Username and Password and restart the reporting services.
    Please also find more details information about when to use the execution account, if possible,please also not specify this account:
    This account is used under special circumstances when other sources of credentials are not available:
    When the report server connects to a data source that does not require credentials. Examples of data sources that might not require credentials include XML documents and some client-side database applications.
    When the report server connects to another server to retrieve external image files or other resources that are referenced in a report.
    Execution Account (SSRS Native Mode)
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Error in Abap code - Unknown column name

    Hi
    I have this error in my code.
    Unknown column name "SUM(EKBE-MENGE)" field list. field list. field
    My code
    *Select sum(ekbe-menge)
           into MCSTRUCT-ZQuant
          from ekbe*
    How do I resolve this.
    thanks

    Hi,
    Try the following statement:
    Select sum( menge )
    into MCSTRUCT-ZQuant
    from ekbe.
    hope it helps...
    regards,
    Raju

  • Error: sql.SQLError: [-4008] (at 1) Unknown user name/password combination

    Hello Experts,
    After a Test refresh for SCM system, we restored Livecache. The database has been changed and starts using database manager, during registration (Register LCApps) it gives the following error:
    Logical Command: DBMRFC
    Parameter: exec_lcinit register
    Name and Server     : LCQ - dusepierp12
    DBMRFC Function     : DBM_EXECUTE
    Command             : exec_lcinit register
    Error               : DBM Error
    Return Code         :     -24964
    Error Message       : ERR_EXECUTE: error in program execution#
    0,sap\lcinit LCQ  register -uDBM , -uDBA , -uSQL ,
    liveCache LCQ (register)
    The liveCache state is ONLINE
    DBMServer 7.6.04   Build 009-123-182-193
    Creating liveCache application procedures
    ERROR : liveCache LCQ not registered (see "s:\sapdb\data\wrk\LCQ\lcinit.log").
    START *****************************
    liveCache LCQ (register)
    Thu 07/30/2009
    10:26 PM
    installation path = S:\sapdb\LCQ\db
    OK
    DBMServer 7.6.04   Build 009-123-182-193
    Creating liveCache application procedures
    ERR
    -24964,ERR_EXECUTE: error in program execution
    1,""S:\sapdb\LCQ\db\bin\x_python" "S:\sapdb\LCQ\db\env\lapps.py" -R "S:\sapdb\LCQ\db" -d LCQ -u DBADMIN,*"
    Traceback----
    Error----
    sql.SQLError: [-4008] (at 1) Unknown user name/password combination
    Traceback (most recent call last):
      File "S:\sapdb\LCQ\db\env\lapps.py", line 38, in ?
        connectAndInstall (install, install.__doc__)
      File "S:\sapdb\LCQ\db\env\installib.py", line 398, in connectAndInstall
        session = connect (options)
      File "S:\sapdb\LCQ\db\env\installib.py", line 350, in connect
        alterUserNotExclusive(options)
      File "S:\sapdb\LCQ\db\env\installib.py", line 338, in alterUserNotExclusive
        session.release()
    AttributeError: 'NoneType' object has no attribute 'release'
    ERROR : liveCache LCQ not registered
    Thu 07/30/2009
    10:26 PM
    END ******************************
    Many Thanks,
    TIA,
    Nisch

    Nischal Mahakal wrote:>
    > Hello Experts,
    >
    > After a Test refresh for SCM system, we restored Livecache. The database has been changed and starts using database manager, during registration (Register LCApps) it gives the following error:
    > -24964,ERR_EXECUTE: error in program execution
    > 1,""S:\sapdb\LCQ\db\bin\x_python" "S:\sapdb\LCQ\db\env\lapps.py" -R "S:\sapdb\LCQ\db" -d LCQ -u DBADMIN,*"
    > -
    Traceback----
    Hi there,
    looks like you entered "DBADMIN" when you created the liveCache instance in DBMGUI as the DBM Operator.
    For SAP installations, this user is always named "CONTROL".
    So, drop the instance again, recreate it with "CONTROL" and re-do the recovery of the liveCache backup.
    regards,
    Lars

  • Report data binding error unknown column name

    Hi,
    I am having a problem with the new 7.02 update of Report
    Builder. The issue is it's not finding my SQL query.
    I have wrote my query initally in the advance mode, and it
    doesn't seem to reconize it. Is there an issue with this?
    I did manage to fix one of my reports by using the basic mode
    and selecting all my tables and seting my linkage and criteria.
    I have other computers that i have not updated to 7.02 and
    they do not have this issue. Below is the error:
    Error Occurred While Processing Request
    Report data binding error Unknown column name : work_phone.
    Please try the following:
    Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Remote Address 127.0.0.1
    Referrer
    Date/Time 13-Jul-06 02:33 PM
    Stack Trace (click to expand)
    coldfusion.runtime.report.Report$ReportDataBindingException:
    Report data binding error Unknown column name : work_phone.
    at
    coldfusion.runtime.report.Report.runReport(Report.java:420)
    at
    coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:96)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:106)
    at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:157)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at
    org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    This report works in 7.01. So all query variables match with
    a variable in the SQL select statement.
    Anyone have any Ideas??
    Thanks,
    Daniel

    Thank you very much for help.
    The "Unknown column name " is a field still used in my
    report, so I can't remove it.
    After I clear the query in the report and reopen the report
    and apply the same query back to it, I get different error message:
    Element TASKNUM is undefined in QUERY.
    The error occurred in : line 1
    -1 : Unable to display error's location in a CFML template.
    I know for sure this "Element TASKNUM is undefined in QUERY."
    is defined in query. each time it complains something different. I
    get really confused.
    Thanks again.
    Yueming

  • Unknown User Name(Server) error

    Got the following error message in Fabric Manager "Unknown User Name(Server)". Any clues to what it might mean?
    Cheers.

    It means 1 of 2 things. That there was a timeout before FM could discover that switch or that username/password is not correct for that switch. If this is local authentication, then reset the password for the snmp user you are using to login to this switch. Is this one of many switches and the other ones are accessible?

  • ORACLE 10g : Datapump-Import : Error: unknown parameter name 'REMAP_TABLE'

    Hi,
    I am working on Oracle 10g. When executed import datapump script in the UNIX box with option “RMAP_TABLE” I received the error “unknown parameter name 'REMAP_TABLE' “Can you please give me solution for it?
    Scripts :-
    impdp eimsexp/xyz TABLES=EIMDBO.DIVISION DIRECTORY=DATAMART_DATA_PUMP_DIR DUMPFILE=expdp_DATAMART_tables_%u_$BATCH_ID.dmp LOGFILE=impdp_DATAMART_tables.log REMAP_TABLE=EIMDBO.DIVISION:EIM2DBO:YR2009_DIM_DIVISION
    Note :- The YR2009_DIM_DIVISION table is available in the target database. It is without partition table. The EIMDBO.DIVISION is partition table.
    Thanks,

    See your post here
    ORACLE 10g : Datapump-Import : Error: unknown parameter name 'REMAP_TABLE'
    Srini

  • Catalog backup getting Error resolving host - unknown host name in dataset

    I have new install of OSB version 10.3.0.1.0 [Admin, Mediaserver, Client] installed on the same OEL server. My Catalog Backup jobs end up with error " unknown host name in dataset" and the job detail shows only "Error resolving host - unknown host name in dataset" while I can ping the admin host with obtool pingh command. The standard auto created Catalog backup dataset looks like this:
    Dataset: OSB-CATALOG-DS
    # Dataset for backing up the OSB Catalog on this administrative host
    include catalog
    I am able to create a separate dataset with the hostname defined and able to backup filesystems on the same host, np . Only the catalog backup from system generated dataset and schedule doesn't run. I appreciate any help or tip to make this catalog backup work. Thanks.

    This problem is fixed by just restarting observiced on admin server.

  • Dbanalyzer ERROR 25: SQLDBC error -4008, POS(1) Unknown user name/password combination (SQL state "28000").

    Hello Gurus,
    we have a unusual problem with our MaxDB 7.9.8.25
    We want to check the parameter like discribed in note 1111426, but dbanalyzer throws the following error.
    tttadm >/sapdb/TTT/db/bin/dbanalyzer -d TTT -u superdba,****** -f dbanalyzer_InstanceParameterCheck.cfg -o /tmp -i -c 1 -t 1,1
    SAP MaxDB Database Analyzer, The Performance Analysis Tool, Version 7.9.08.25
    Copyright 2000-2014 by SAP AG
    ERROR 25: SQLDBC error -4008, POS(1) Unknown user name/password combination (SQL state "28000").
    But with dbmcli we can connect with the same user.
    tttadm >  dbmcli -d TTT -u superdba,******
    dbmcli on KBP>
    Has anyone a suggestion?!

    Have you tried, if you can actually do SQL with that user? Maybe there is a problem with the SQL authorization?
    Does the following work for you?
    >sqlcli -d tz79 -u dba,dba select * from dual
    | DUMMY |
    | ----- |
    | a   
    1 row selected (1318 usec)
    dbmcli -d tz79 -u dba,dba sql_execute select * from dual
    OK
    END 'a'

  • System Error: Logon failure: unknown user name or bad password

    Hello experts,
    my system NW2004s (SPS14.1) is producing a lot of the following error messages caused by the internal user Guest... The system user Guest has all the necessary rights using a service user.
    *getting mapped math - java.io.IOException: Logon failure: unknown user name or bad password*
    at java.io.WinNTFileSystem.canonicalize0(Native Method)
    at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:333)
    at java.io.File.getCanonicalPath(File.java:513)
    at com.sapportals.wcm.repository.util.file.StdFileImpl.getCanonicalPath(StdFileImpl.java:74)
    at com.sapportals.wcm.repository.util.file.StdFileImpl.getCanonicalFile(StdFileImpl.java:70)
    at com.sapportals.wcm.repository.manager.sfs.FSRepositoryManager.startUpImpl(FSRepositoryManager.java:141)
    at com.sapportals.wcm.repository.manager.AbstractRepositoryManager.start(AbstractRepositoryManager.java:538)
    at com.sapportals.wcm.crt.CrtThreadSafeComponentHandler.tryToStart(CrtThreadSafeComponentHandler.java:246)
    at com.sapportals.wcm.crt.CrtThreadSafeComponentHandler$1.run(CrtThreadSafeComponentHandler.java:252)
    at java.util.TimerThread.mainLoop(Timer.java:432)
    at java.util.TimerThread.run(Timer.java:382)
    I am not sure about the severity of the error. I can observe the error message almost every minute in the Log file and I have the impression that this message occours more often before the portal has more "problems" in general and is for a short time not accecible (it freezes and sometimes a java server restarts itself). I am asking myself if this error message could give a hint for the system crash we have had today. (a restart of the host was needed.)
    However I would like to know what causes the error message?
    It is a critical error message? It means can it cause a system crash? Or is it not important?
    What can I do to solve the problem?
    I appreciate your helful answers.
    Thanks in advance.
    Thomas

    I think the password for the proxy account needs to be changed (expired)
    Arthur My Blog

  • Authorization error; unknown user name or incorrect password

    Hi,
    We are facing the issue logging into Integration Builder in PI system getting "Authorization error; unknown user name or incorrect password" for all the users.I able to login NWA in PI system.Please find the default trace details below.help us.
    #1.#5611B888D81000840000018F0284005E0004B97914AC4703#1329829595847#com.sap.engine.services.security.authentication.logonapplication#sap.com/com.sap.security.
    core.admin#com.sap.engine.services.security.authentication.logonapplication.doLogon#J2EE_GUEST#0##fxtcs.unix_FXT_336466250#Guest#e2057c775c8c11e1bb605611b888d
    810#SAPEngine_Application_Thread[impl:3]_49##0#0#Error##Java###doLogon failed
    [EXCEPTION]
    #1#com.sap.security.core.logon.imp.UMELoginException: USER_AUTH_FAILED
            at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:946)
            at com.sap.security.core.logonadmin.ServletAccessToLogic.logon(ServletAccessToLogic.java:208)
            at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.doLogon(SAPMLogonLogic.java:914)
            at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.uidPasswordLogon(SAPMLogonLogic.java:578)
            at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.executeRequest(SAPMLogonLogic.java:158)
            at com.sap.security.core.sapmimp.logon.SAPMLogonServlet.doPost(SAPMLogonServlet.java:60)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
            at java.security.AccessController.doPrivileged(AccessController.java:219)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Regrads,
    Mani

    Hi,
    Check this for the roles required for integration builder [http://help.sap.com/SAPHELP_NW04S/helpdata/en/c4/51104159ecef23e10000000a155106/content.htm]
    Accordingly get the required role assigned to the user you are using there.
    Unlock the user if it is locked
    Reset the password and provide the new password in the login settings
    Give a try again
    Regards,
    Venkata S Pagolu
    Edited by: Venkata Pagolu on Feb 22, 2012 4:23 PM

  • Windows Security Error! Logon failure: unknown user name or bad password

    We RANDOMLY can't access one of the computers in our company's network. It is now saying - Windows Security - Logon failure: unknown user name or bad password. It doesn't matter what I put in for a user name and pw it still doesn't work.
    Any help is much appreciated!

    To be added, if it is part of domain, is this computer had local account? If so, try to logon local account for test, If sucessfully, follow Cyber's suggestion remove PC from domain and rejoin it for test.
    If not, you can try to boot system into recovery mode and choose recovery computer for test.
    Press F8 at startup, then choose Recovery system.
    Roger Lu
    TechNet Community Support

  • [SOLVED] Unknown SSL protocol error in connection

    Hi there. I'm trying to get a website with curl but i'm getting this error:
    [martriay@atila ~]$ curl -v "https://servicios1.afip.gov.ar"
    * Rebuilt URL to: https://servicios1.afip.gov.ar/
    * Hostname was NOT found in DNS cache
    * Adding handle: conn: 0x20412c0
    * Adding handle: send: 0
    * Adding handle: recv: 0
    * Curl_addHandleToPipeline: length: 1
    * - Conn 0 (0x20412c0) send_pipe: 1, recv_pipe: 0
    * Trying 200.1.116.53...
    * Connected to servicios1.afip.gov.ar (200.1.116.53) port 443 (#0)
    * successfully set certificate verify locations:
    * CAfile: /etc/ssl/certs/ca-certificates.crt
    CApath: none
    * SSLv3, TLS handshake, Client hello (1):
    * Unknown SSL protocol error in connection to servicios1.afip.gov.ar:443
    * Closing connection 0
    curl: (35) Unknown SSL protocol error in connection to servicios1.afip.gov.ar:443
    And when i try with SSLv3:
    [martriay@atila ~]$ curl -3 -v "https://servicios1.afip.gov.ar"
    * Rebuilt URL to: https://servicios1.afip.gov.ar/
    * Hostname was NOT found in DNS cache
    * Adding handle: conn: 0x8032c0
    * Adding handle: send: 0
    * Adding handle: recv: 0
    * Curl_addHandleToPipeline: length: 1
    * - Conn 0 (0x8032c0) send_pipe: 1, recv_pipe: 0
    * Trying 200.1.116.53...
    * Connected to servicios1.afip.gov.ar (200.1.116.53) port 443 (#0)
    * Unsupported SSL protocol version
    * Closing connection 0
    curl: (35) Unsupported SSL protocol version
    That's from my archlinux server, while on my desktop's fedora it works just fine. Both computers are within the same network.
    openssl version:
    [martriay@atila ~]$ openssl version
    OpenSSL 1.0.1e 11 Feb 2013
    openssl connection attempt
    [martriay@atila ~]$ openssl s_client -connect servicios1.afip.gov.ar:443
    CONNECTED(00000003)
    write:errno=104
    no peer certificate available
    No client certificate CA names sent
    SSL handshake has read 0 bytes and written 322 bytes
    New, (NONE), Cipher is (NONE)
    Secure Renegotiation IS NOT supported
    Compression: NONE
    Expansion: NONE
    If I add the -ssl3 option:
    [martriay@atila ~]$ openssl s_client -connect servicios1.afip.gov.ar:443 -ssl3
    CONNECTED(00000003)
    depth=1 C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO High-Assurance Secure Server CA
    verify error:num=20:unable to get local issuer certificate
    verify return:0
    Certificate chain
    0 s:/C=AR/postalCode=1086/ST=Ciudad Autonoma de Buenos Aires/L=Capital Federal/street=Hipolito Yirigoyen 370/O=ADMINISTRACION FEDERAL DE INGRESOS PUBLICOS/OU=Issued through ADMINISTRACION FEDERAL DE INGRESOS PUBLICOS E-PKI/OU=InstantSSL/CN=servicios1.afip.gov.ar
    i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO High-Assurance Secure Server CA
    1 s:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO High-Assurance Secure Server CA
    i:/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root
    Server certificate
    -----BEGIN CERTIFICATE-----
    -----END CERTIFICATE-----
    subject=/C=AR/postalCode=1086/ST=Ciudad Autonoma de Buenos Aires/L=Capital Federal/street=Hipolito Yirigoyen 370/O=ADMINISTRACION FEDERAL DE INGRESOS PUBLICOS/OU=Issued through ADMINISTRACION FEDERAL DE INGRESOS PUBLICOS E-PKI/OU=InstantSSL/CN=servicios1.afip.gov.ar
    issuer=/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO High-Assurance Secure Server CA
    No client certificate CA names sent
    SSL handshake has read 3048 bytes and written 485 bytes
    New, TLSv1/SSLv3, Cipher is RC4-MD5
    Server public key is 2048 bit
    Secure Renegotiation IS NOT supported
    Compression: NONE
    Expansion: NONE
    SSL-Session:
    Protocol : SSLv3
    Cipher : RC4-MD5
    Session-ID: F34244E0C2E402103FC9B7216E504E89761FDAF31CC1AC3A7939BE99AD8D0C57
    Session-ID-ctx:
    Master-Key: 146C91E59E259AD38C1E7A0B8E5DBEAE2D768622DE4045CD927D60A40FF8CA527A2694E227FEE30CC0909ADE0B72B0C8
    Key-Arg : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1389232087
    Timeout : 7200 (sec)
    Verify return code: 20 (unable to get local issuer certificate)
    Any ideas?
    Last edited by martriay (2014-01-09 14:05:02)

    Downgrade curl to 7.33.0-3. There is a known bug that is now fixed and should be released with the next version. I got bit by this too
    Scott

  • Logon failure: unknown user name or bad password... ?Authenticator class?

    I'm connecting to a MS Exchange server (internally) but I'm getting the following error:
    ........Non SSL........
    POP3: connecting to host "xxxx.xxx.com", port 110
    S: +OK Microsoft Exchange POP3 server version 5.5.2658.25 ready
    C: USER [email protected]
    S: +OK
    C: PASS
    S: -ERR Logon failure: unknown user name or bad password.
    C: QUIT
    S: +OK Microsoft Exchange POP3 server version 5.5.2658.25 signing off
    test2 :: javax.mail.AuthenticationFailedException: Logon failure: unknown user name or bad password.
    I can get my email using Outlook because I don't have to provide a password to connect. So I left it blank in my program but I still can't
    login. Does this mean that I need to use the authenticator class?
    Here's the code I'm using to connect:
    public class ListMailSubjectLines
         private static void ListMailSubjectsLines()
              try
                   Properties pop3Props = new Properties();     
                     Session session = null;
                     Store store = null;
                   pop3Props.put("mail.pop3.host","xxxx.xxx.com");
                   pop3Props.put("mail.user","[email protected]");
                   pop3Props.setProperty("mail.passwd","");
                   //     String host = "";
                   //     String username = "";
                   //     String password = "";
                     if((pop3Props.getProperty("mail.pop3.ssl") != null) && (pop3Props.getProperty("mail.pop3.ssl").equalsIgnoreCase("true")))
                        System.out.println("........SSL........");
                           String SSL_FACTORY = "javax.net.ssl.SSLSocketFactory";
                           pop3Props.setProperty("mail.pop3.socketFactory.class", SSL_FACTORY);
                           pop3Props.setProperty("mail.pop3.socketFactory.fallback", "false");
                           String portStr = ((pop3Props.getProperty("mail.pop3.port") != null) ? pop3Props.getProperty("mail.pop3.port") : "110");
                           pop3Props.setProperty("mail.pop3.port",  portStr);
                           pop3Props.setProperty("mail.pop3.socketFactory.port", portStr);
                           URLName url = new URLName("pop3://"+pop3Props.getProperty("mail.user")+":"+pop3Props.getProperty("mail.passwd")+"@"+pop3Props.getProperty("mail.host")+":"+pop3Props.getProperty("mail.pop3.port"));
                           session = Session.getInstance(pop3Props, null);
                           store = new POP3SSLStore(session, url);
                     else
                          System.out.println("........Non SSL........");
                           session = Session.getInstance(pop3Props, null);
                           store = session.getStore("pop3");
    session.setDebug(true);
                   store.connect(pop3Props.getProperty("mail.host"), pop3Props.getProperty("mail.user"), pop3Props.getProperty("mail.passwd"));
                     //store.connect(host, username, password);
                     Folder folder = store.getFolder("INBOX");
                     folder.open(Folder.READ_WRITE);
                     Message[] Msgs = folder.getMessages();
                     for(int i = 0; i < Msgs.length; i++)
                       System.out.println(Msgs.getSubject());
                   folder.close(true);
                   store.close();
                   System.out.println(Msgs[0].getSubject() + "test");
                   catch(NoSuchProviderException ec)
                        System.out.println("test1");
                   catch(MessagingException em)
                        System.out.println("\ntest2 :: " + em);
         public static void main( String args[] )
                   ListMailSubjectsLines();
    Thanks,
    ls6

    In case anyone wants to see the format and the final code here it is:
    Login name format:
    pop3Props.setProperty("mail.user","TEST_DOMAIN\\UserID\\mailboxID");
    Code
    import com.sun.mail.pop3.POP3SSLStore;
    import javax.mail.URLName;
    import javax.mail.Session;
    import javax.mail.Store;
    import javax.mail.Folder;
    import javax.mail.Message;
    import javax.mail.NoSuchProviderException;
    import javax.mail.MessagingException;
    import java.util.Properties;
    public class ListMailSubjectLines
         private static void ListMailSubjectsLines()
              try
              Properties pop3Props = new Properties();     
                Session session = null;
              Store store = null;                 
              pop3Props.put("mail.pop3.host","mailHOST");
              pop3Props.setProperty("mail.user","TEST_DOMAIN\\UserID\\mailboxID");
              pop3Props.setProperty("mail.passwd","passWord");               
                if((pop3Props.getProperty("mail.pop3.ssl") != null) && (pop3Props.getProperty("mail.pop3.ssl").equalsIgnoreCase("true")))
                   System.out.println("### SSL ###");
                      String SSL_FACTORY = "javax.net.ssl.SSLSocketFactory";
                      pop3Props.setProperty("mail.pop3.socketFactory.class", SSL_FACTORY);
                      pop3Props.setProperty("mail.pop3.socketFactory.fallback", "false");
                      String portStr = ((pop3Props.getProperty("mail.pop3.port") != null) ? pop3Props.getProperty("mail.pop3.port") : "110");
                      pop3Props.setProperty("mail.pop3.port",  portStr);
                      pop3Props.setProperty("mail.pop3.socketFactory.port", portStr);
                      URLName url = new URLName("pop3://"+pop3Props.getProperty("mail.user")+":"+pop3Props.getProperty("mail.passwd")+"@"+pop3Props.getProperty("mail.pop3.host")+":"+pop3Props.getProperty("mail.pop3.port"));
                      session = Session.getInstance(pop3Props, null);
                      store = new POP3SSLStore(session, url);
                else
                     System.out.println( "### Non SSL ###" );
                      session = Session.getInstance( pop3Props, null );
                      store = session.getStore( "pop3" );
    //System.out.println(session.getStore());
    session.setDebug( true );
                   store.connect(pop3Props.getProperty( "mail.host" ), pop3Props.getProperty("mail.user"), pop3Props.getProperty("mail.passwd"));
                   if( store.isConnected() )
                           System.out.println( "\nCONNECTED\n" );
                   Folder folder = store.getDefaultFolder();
                   folder = folder.getFolder( "INBOX" );
                   folder.open( Folder.READ_WRITE );
                   Message[] Msgs = folder.getMessages();
                   for( int i = 0; i < Msgs.length; i++ )
                                         System.out.println( Msgs.getSubject() );
                   folder.close( true );
                   store.close();
              Folder folder = store.getFolder( "INBOX" );
              //Folder folder = store.getDefaultFolder();
              //folder = folder.getFolder( "INBOX" );
              folder.open( Folder.READ_ONLY );
              Message[] Msgs = folder.getMessages();
              for( int i = 0; i < Msgs.length; i++ )
                   System.out.println( folder.getUnreadMessageCount() );
                   System.out.println( Msgs[i].getSubject() );
                   System.out.println( Msgs[i].getContentType() );
                   System.out.println( Msgs[i].getSize() );
              folder.close( true );
              store.close();
              catch(NoSuchProviderException nSPE)
                   System.err.print( "### Line[88] ### " );
                   System.err.println( nSPE );
              catch(MessagingException mE)
                   System.err.print( "### Line[93] ### " );
                   System.err.println( mE );
    public static void main( String args[] )
              ListMailSubjectsLines();

Maybe you are looking for

  • PO with FREE of charge position - goods receipt change the average price

    Hi Experts, in our SAP system we have a special situation concerning the PO with free of charge (FOC) items. We set the flag "Free" in the PO position for all FOC items. When we book the good receipt for these FOC items SAP creates no accounting docu

  • W510 problems with Nvidia driver recovery under Windows 7 (64 bit)?

    Lenovo W510, Nvidia Qudardo FX 880M video, FHD: What I'm seeing on occasion is a Windows 7 (64-bit) recovery, screen blanks out, goes 2-3 seconds, then recovers, things go back to normal, but a message displays saying that an error was detected in th

  • FW800 and Airport conflicting

    I posted this at the end of a thread started a few months ago and got nothing. So here's a second try at getting some help. Bottom line: FW800 and Airport don't like each other on my 24-inch iMac. I tried a WD MyBook Pro 500GB external drive and the

  • Using Family Sharing without sharing payment method

    I love the family sharing feature. My yougest daughter is in the family sharing group. I want my oldest daughter to be in it to, to use the shared photo group, and the calander and the location sharing. However, I don't want her to buy things using m

  • PDF File and Applications

    Hi! We currently have our store application saved as a PDF file and it's on our website. The user has to print the application and fax it. What Adobe software do we need to convert the file to one they can fill out online and then submit electronical