Authentication problem (401) using ReportExecutionService

Hi
I want to encapsulate the SSRS authentication process to provide access to external users, so I'm using SSRS web service.
My ASP.NET code use System.Net.NetworkCredential with a valid user in the SSRS server, but when executing the code, a prompt windows appears asking for a user/password
If I fill it with the same user/pwd used in code, the report is showed.
When I open a trace to watch the web traffic, what I see is several 401 auth errors (see attached image)
Do you know why "System.Net.NetworkCredential" is not working here?
Thank you in advance
[Code]
Protected Sub Page_Load_(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim report As Byte() = Nothing
' Create an instance of the Reporting Services Web Reference.
Dim rs As RptExecSvc.ReportExecutionService = New RptExecSvc.ReportExecutionService
Dim reportPath As String
reportPath = "/TestFolder/TestReport"
' The rendering format for the report.
Dim format As String = "HTML4.0"
' The devInfo string tells the report viewer
' how to display with the report.
Dim devInfo As String = _
"<DeviceInfo>" + _
"<Toolbar>True</Toolbar>" + _
"<Parameters>False</Parameters>" + _
"<DocMap>True</DocMap>" + _
"<Zoom>100</Zoom>" + _
"</DeviceInfo>"
' Create an array of the values for the report parameters (No parameters needed)
'Dim parameters(0) As RptExecSvc.ParameterValue
' Create variables for the remainder of the parameters
Dim historyID As String = Nothing
Dim credentials() As RptExecSvc.DataSourceCredentials = Nothing
Dim showHideToggle As String = Nothing
Dim encoding As String
Dim mimeType As String
Dim warnings() As RptExecSvc.Warning = Nothing
Dim reportHistoryParameters() As _
RptExecSvc.ParameterValue = Nothing
Dim streamIDs() As String = Nothing
Dim execInfo As New RptExecSvc.ExecutionInfo
Dim execHeader As New RptExecSvc.ExecutionHeader
rs.ExecutionHeaderValue = execHeader
' Create the credentials that will be used when accessing
' Reporting Services
rs.Credentials = New System.Net.NetworkCredential("user", "pwd", "domain")
rs.PreAuthenticate = True
execInfo = rs.LoadReport(reportPath, historyID)
'rs.SetExecutionParameters(parameters, "en-us")
Try
' Execute the report.
report = rs.Render(format, devInfo, "", mimeType, "", warnings, streamIDs)
' Flush any pending response.
Response.Clear()
' Set the HTTP headers for a PDF response.
HttpContext.Current.Response.ClearHeaders()
HttpContext.Current.Response.ClearContent()
HttpContext.Current.Response.ContentType = "text/html"
' filename is the default filename displayed
' if the user does a save as.
HttpContext.Current.Response.AppendHeader( _
"Content-Disposition", _
"filename=""TestReport""")
' Send the byte array containing the report
' as a binary response.
HttpContext.Current.Response.BinaryWrite(report)
HttpContext.Current.Response.End()
Catch ex As Exception
If (ex.Message <> "Thread was being aborted.") Then
HttpContext.Current.Response.ClearHeaders()
HttpContext.Current.Response.ClearContent()
HttpContext.Current.Response.ContentType = "text/html"
HttpContext.Current.Response.Write( _
"<HTML><BODY><H1>Error</H1><br><br>" & _
ex.Message & "</BODY></HTML>")
HttpContext.Current.Response.End()
End If
End Try
End Sub

Hi. Apologize for the delay
More info about this issue.
When I access a "plain" report, it works fine. No window prompt is showed.
But if I try to access a report with a "map report item", the issue arises.
The trace in Fiddler first shows a POST request to ReportExecution2005.asmx with no auth problem:
POST /ReportServer/ReportExecution2005.asmx HTTP/1.1
But after that it shows a GET request to the report itself:
GET /ReportServer?%2FMapas%2FGender%20Population%20by%20State&rs%3ASessionID=s4lavxi0eaewhh554arovf55&rs%3AFormat=HTML4.0&rs%3AImageID=M_8_1 HTTP/1.1
It is in this request when a window prompt asking for a user/pwd appears. If I put the same user/pwd used in code, the report with the map is showed
Authentication configuration in the ASP.NET app "Web.config":
<authentication mode="Windows"/>
<identity impersonate="true"/>
Authentication configuration in "rsreportserver.config":
Authentication>
<AuthenticationTypes>
<RSWindowsNTLM/>
</AuthenticationTypes>
<RSWindowsExtendedProtectionLevel>Off</RSWindowsExtendedProtectionLevel>
<RSWindowsExtendedProtectionScenario>Proxy</RSWindowsExtendedProtectionScenario>
<EnableAuthPersistence>true</EnableAuthPersistence>
</Authentication>
What's the problem if a map report item is included in the report?
Thank you in advance!

Similar Messages

  • JAX-WS Authentication problem -javax.xml.ws.WebServiceException Response: '

    Dear Friends ,
    i am doing Webservice using JAX-WS technology .
    client - jaxws one (exposed to client with WSDL ) and - calls 2nd service implemented in JAX-WS which has authentication
    communication between client - jaxws one (exposed to client with WSDL ) is OK .
    communication between jaxws one (exposed to client with WSDL ) and - calls 2nd service - exception occured due to authentication
    {color:#ff0000}javax.xml.ws.WebServiceException Response: '401: Unauthorized' for url: 'http://host/HelloService'
    at com.sun.xml.ws.wsdl.WSDLContext.<init>(WSDLContext.java:68)
    at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:207)
    at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:165)
    at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:49)
    at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:18)
    Caused by: java.io.FileNotFoundException: Response: '401: Unauthorized' for url: 'http://host/HelloService'
    {color}i had written autheticator class also
    one more thing this works good as Junit (stand alone ) and in Tomcat when i am deploying in weblogic i am getiing above exception .
    public class MyAuth extends Authenticator{
    String rctUserName;
    String rctPassword;
    public MyAuth(String username,String password)
    super();
    rctUserName = username;
    rctPassword = password;
    protected PasswordAuthentication getPasswordAuthentication() {
    char[] pwdChar = rctPassword.toCharArray();
    return new PasswordAuthentication(rctUserName,pwdChar);
    Authenticator.setDefault (new MyAuth("usr","pwd"));
    try {
    HelloService service = new HelloService(new URL(
    "[http://host/HelloService]"), new QName(
    "[http://webservices.services.hello.com/]",
    "HelloService"));
    catch (MalformedURLException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    MyService myservice = service.getMyService();
    ((BindingProvider)myservice ).getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "usr");
    System.out.println("3");
    ((BindingProvider)myservice ).getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "pwd");
    ((BindingProvider)myservice ).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
    "[http://host/HelloService]");Please suggest what needs to be done ? ( it is working as Junit and in tomcat ... in weblogic it is giving problem )
    Thanks
    Ganesh Gowtham
    [http://ganesh.gowtham.googlepages.com/]
    Edited by: GowthamGanamukala on Feb 10, 2009 3:20 AM

    Hi,
    Weblogic uses its own URLStreamHandler that for some reason ignores authentication. You can get around this problem by using Suns stream handler like this:
    MyService myservice = new MyService(new URL("http", "yourhost", port, "/yourfile", new sun.net.www.protocol.http.Handler()), new QName(...));
    You should now have no problems using your authenticator. I would still very much like to find out how weblogic wants us to solve this though, since this is a work-around solution.
    Regards
    Morten

  • How to solve the error message "Could not activate cellular data network: PDP authentication failure"when using 3g or gPRS on safari with an iphone 4 and latest software updates

    Please can someone help me to solve the error message "Could not activate cellular data network: PDP authentication failure"when using 3G or GPRS on safari with an iphone 4GS and latest software updates. I have tried resetting the network and phone settings. I have restored the factory settings on itunes and still the problem persists.

    All iPhones sold in Japan are sold carrier locked and cannot be officially unlocked by the carrier. If you unlocked it, it was by unauthorized means (hacked), and support cannot be given to you in this forum.
    Hacked iPhones are subject to countermeasures by Apple, particularly when updating the firmware. It is likely permanently re-locked or permanently disabled.
    Message was edited by: modular747

  • Authentication problem - solved, but maybe a bug in Mac OS X?

    Hi,
    I've a rather small installation with only a handful of users configured on a Mac mini (Mac OS X Server, 10.6.8). All of them use the mail, calendar and addressbook server on the Mac, nothing more. They use it with Mac, iPhone and iPad. Everything worked fine for months but suddenly all of them were faced authentication problems: it was not possible to login on the imap server, the calendar server, the addressbook server. It was possible to login using the admin account on the server directly. Moreover, all users disappeared from the workgroup manager, however they still were available on the servers LDAP server and findable using ldapsearch.
    First, I used to completely restart the server to solve the problem, but it reappeared after only few hours again.
    Second, after understanding more about the authentication process, I found the "killall DirectoryService" was sufficient to solve the problem, but it still reappeared after few hours.
    Then I found the, once the problem occured, there was nearly no more communication to the local LDAP server on port 389 on localhost. When everything was working fine, the was a lot of such communication, including queries for usernames, when a login attempt was made. I started a "tcpdump -n -i lo0 port 389" and waited for the problem again. After the problem occured, I found in the pcap files that there were a few final query attempts, actually attempts the open a port 389 TCP connection to the slapd running on localhost, which were answered with a TCP RST. Then, no more attempts were made until l restarted the DirectoryService. Using the logfile of the slapd I found that this happened exactly at the time the slapd was stopped and restarted. And - surprisingly for me - stopping and restarting the slapd happened exactly once an hour.
    I then found that it happened exactly at the time the time machine backup process was started and indeed it was possible to trigger the event of restarting the slapd by manually starting a time machine backup.
    (Indeed, I switched my backup strategy from SuperDuper to time machine the other day and maybe that was the time the problem occured for the first time. I know that time machine is not considered as the best backup strategy for a server but I wanted to try on my own.)
    Google helped my to find a hint that time machine will actually stop and restart slapd - which is a generally a good idea, since otherwise a backup from some open database files would be made, which could work but may fail. So, I thing, someone of the developers thought about that problem too and has considered time machine for backups of a server.
    However, a not running slapd can not answer queries from a DirectoryService and a stopping or starting process might indeed end up with TCP SYNs answered with TCP RST.
    My solution was to disable time machine again and from that time the problem does not occur again.
    I'm wondering why the DirectoryService process isn't starting to query the slapd again after a failed connection. Isn't this a bug? After this experience I consider time machine as not only the not preferred backup solution for a server but as completely incompatible with Mac OS X server - although, as I said, it seems that someone thought about backing up the LDAP database using time machine.
    (On a Lion server this problem does not occur, the slapd will not be stopped and restarted when time machine is running. Moreover, I saw a com.apple.slapd.start notification in the slapd.log ... maybe this tells DirectoryService to try again.)
    Cheers,
    Wolfgang

    Another problem I found with the MacOS X key bindings: the 6 key doesn't work!
    In the config that ships with SQL Developer, I found this:
    <Item class="oracle.javatools.util.Pair">
    <first class="java.lang.String">DOCUMENT_6_CMD_ID</first>
    <second class="oracle.ide.keyboard.KeyStrokes">
    <data>
    <Item class="javax.swing.KeyStroke">6</Item>
    </data>
    </second>
    </Item>
    which should be:
    <Item class="oracle.javatools.util.Pair">
    <first class="java.lang.String">DOCUMENT_6_CMD_ID</first>
    <second class="oracle.ide.keyboard.KeyStrokes">
    <data>
    <Item class="javax.swing.KeyStroke">meta 6</Item>
    </data>
    </second>
    </Item>

  • Problem with use of COM+ Transaction and DB Transaction

    Problem with use of COM+ Transaction and DB Transaction
    We build a Web site that use sometime COM+ Transaction and sometime DB
    Transaction. If we use a COM+ Transaction and a few seconds later we try to use
    a Database Transaction (OracleConnection.BeginTransaction), we get the error
    Connection is already part of a local or a distributed transaction
    Of course the error does not produce everytime; it takes some try before we get
    the problem. And of course, if i use pooling=false on the connection string,
    the problem does not appear.
    i run the Web page
    and push the COM+ Transaction and DB Transaction one after the other for some
    times and the problem should appear.
    Environment: Windows server 2003, .Net Framework 1.1, ODP.Net 9.2.0.401,
    Database Server 9.2.0.4

    > Why in form builder can't I...
    Is this happening at runtime or at buildtime? You'll need to provide more info on what you are actually doing that's causing the problem.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Problem while using receive after invoke activity

    Hi,i have got a problem while using a receive activity,after a invoke activity.The invoke acivity seems that does not work and also the debugger runs forever....But if i remove the receive activity,the invoke activity works fine.
    <h2>The output of GlassfishV2 is:<h2>
    This is from the exception block.
    com.sun.bpel.model.meta.impl.RInvokeImpl@f590c6={<?xml version="1.0" encoding="utf-8" ?>
    *<invoke name="Invoke1"*
    partnerLink="PartnerLink2"
    portType="tns:test_service3"
    operation="luizao"
    inputVariable="LuizaoIn"
    outputVariable="LuizaoOut"
    xmlns:tns="http://dim.test.org/"></invoke>}
    *[Fatal Error] :1:1: Content is not allowed in prolog.*
    System exception occured while executing a business process instance.
    java.lang.NullPointerException: WSDL message model is null
    at com.sun.jbi.engine.bpel.core.bpel.debug.WSDLMessageImpl.<init>(WSDLMessageImpl.java:56)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.CallFrame.onFault(CallFrame.java:380)
    at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.SyntheticThrowUnitImpl.doAction(SyntheticThrowUnitImpl.java:91)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:145)
    at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:76)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:818)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:261)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:742)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processRequest(BPELSEInOutThread.java:401)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:240)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:158)
    This is from the exception block.
    I think correlation sets are ok(i have two receive activities).
    I use Netbeans6.0 IDE.
    Can anyone help me?
    Sorry,but i don't speak English fluently

    I can't debug it more,because the bpel variables window disappears when the proccess comes to invoke activity.
    The bpel code is simple:I have got a sequence with follow activities:
    receive
    assign
    invoke
    receive
    assign
    reply
    The code is:
    <?xml version="1.0" encoding="UTF-8"?>
    <process
        name="Testfile2"
        targetNamespace="http://enterprise.netbeans.org/bpel/Test2/Testfile2"
        xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:tns="http://enterprise.netbeans.org/bpel/Test2/Testfile2" xmlns:ns0="http://xml.netbeans.org/schema/Testfile2" xmlns:ns1="http://j2ee.netbeans.org/wsdl/Testfile2">
       <import namespace="http://j2ee.netbeans.org/wsdl/Testfile2" location="Testfile2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://enterprise.netbeans.org/bpel/test_service3Wrapper" location="Partners/test_service3/test_service3Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://dim.test.org/" location="Partners/test_service3/test_service3.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://enterprise.netbeans.org/bpel/test_service2Wrapper" location="Partners/test_service2/test_service2Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://dim.test.org/" location="Partners/test_service2/test_service2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <partnerLinks>
          <partnerLink name="PartnerLink3" xmlns:tns="http://enterprise.netbeans.org/bpel/test_service2Wrapper" partnerLinkType="tns:test_service2LinkType" myRole="test_service2Role"/>
          <partnerLink name="PartnerLink2" xmlns:tns="http://enterprise.netbeans.org/bpel/test_service3Wrapper" partnerLinkType="tns:test_service3LinkType" partnerRole="test_service3Role"/>
          <partnerLink name="PartnerLink1" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" partnerLinkType="tns:Testfile21" myRole="Testfile2PortTypeRole"/>
       </partnerLinks>
       <variables>
          <variable name="Testfile2OperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" messageType="tns:Testfile2OperationReply"/>
          <variable name="Operation1In" xmlns:tns="http://dim.test.org/" messageType="tns:operation1"/>
          <variable name="LuizaoOut" xmlns:tns="http://dim.test.org/" messageType="tns:luizaoResponse"/>
          <variable name="LuizaoIn" xmlns:tns="http://dim.test.org/" messageType="tns:luizao"/>
          <variable name="Testfile2OperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" messageType="tns:Testfile2OperationRequest"/>
       </variables>
       <correlationSets>
          <correlationSet name="CorrelationSet1" properties="ns1:My_Property"/>
       </correlationSets>
       <sequence>
          <receive name="Receive1" createInstance="yes" partnerLink="PartnerLink1" operation="Testfile2Operation" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" portType="tns:Testfile2PortType" variable="Testfile2OperationIn">
             <correlations>
                <correlation set="CorrelationSet1" initiate="yes"/>
             </correlations>
          </receive>
          <assign name="Assign1">
             <copy>
                <from>$Testfile2OperationIn.part1/ns0:ena</from>
                <to>$LuizaoIn.parameters/ena</to>
             </copy>
             <copy>
                <from>$Testfile2OperationIn.part1/ns0:id</from>
                <to>$LuizaoIn.parameters/id</to>
             </copy>
          </assign>
          <invoke name="Invoke1" partnerLink="PartnerLink2" operation="luizao" xmlns:tns="http://dim.test.org/" portType="tns:test_service3" inputVariable="LuizaoIn" outputVariable="LuizaoOut"/>
          <receive name="Receive2" createInstance="no" partnerLink="PartnerLink3" operation="operation1" xmlns:tns="http://dim.test.org/" portType="tns:test_service2" variable="Operation1In">
             <correlations>
                <correlation set="CorrelationSet1" initiate="no"/>
             </correlations>
          </receive>
          <assign name="Assign2">
             <copy>
                <from>$Operation1In.parameters/hik</from>
                <to>$Testfile2OperationOut.part1/ns0:hik</to>
             </copy>
          </assign>
          <reply name="Reply1" partnerLink="PartnerLink1" operation="Testfile2Operation" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" portType="tns:Testfile2PortType" variable="Testfile2OperationOut"/>
       </sequence>
    </process>If it's a bug,that means that i can't use second receive after invoke any more?

  • Cisco ACS 4.2.1 authentication problem

    We are using cisco ACS 4.2.1 on windows 2003  to authenticate  with windows 2003 Actice Directory. We have update Active directory server windows 2008 version. We have checked the configuration of ACS on windows database and no problem but we can't see in ACS dynamic user. I have authentication problem ACS 4.2.1 to Windows 2008 R2 active directory.

    Hi there,
    There is a section in the ACS 4.x where you can define if the ACS should show the dynamic users or not, make sure that this option is unchecked, for this go to External User Databases/Unknown User Policy/Configure Caching Unknown Users
    Also if you are facing authentication issues with ACS 4.x and Windows 2008 R2, you may want ready my previous answer.
    Let me know if this helps.

  • WLC 5508 WPA Authentication Problems

    Hello,
    We have a WLC 5508 with 7.4.100.0 Firmware.
    We are using 1141 and 1142 APs and we are having authentication problems with clients that are connecting to our WLAN with WPA+AES autentication. The clients receive in her laptop a password error, and we receive the following log in wlc:
    Client Excluded: MACAddress:f8:f1:eb:dd:ff:cd Base Radio MAC :08:ad:dd:76:4d:30 Slot: 0 User Name: unknown Ip Address: unknown Reason:802.1x Authentication failed 3 times. ReasonCode: 4
    The strange thing is that the problem is solved restarting the Access-points.
    Anyone had this problem previusly?
    Thanks in advance.

    I made the configuration using the Cisco Recommended settings, the strange thing its that the users connect normally, until they starts with authentication problems. I restart the access points and the problem its solved.
    Cisco Recommended  and not recommended Authentication Settings
    Security encryption settings need to be identical for WPA and WPA2 for TKIP and AES as shown in this image:
    These images provide examples of incompatible settings for TKIP and AES:
    Note: Be aware that security settings permit unsupported features.
    These images provide examples of compatible settings:

  • Is server authentication mandatory for using SSL?

    Is server authentication mandatory for using SSL sockets, or is there a way around it?
    In other words, how can I take advantage of SSL sockets without dealing with any kind of certificates? Do I have any other options?

    Ok folks, I found my answer.Here�s the deal.
    Here are some helpful sites: I hope they will also help you understand this topic better and make your life little easier.
    //====================================
    http://www.onjava.com/pub/a/onjava/2001/05/03/java_security.html
    http://www-105.ibm.com/developerworks/education.nsf/java-onlinecourse-bytitle/96B42A25DD270CA886256BAA006351B4?OpenDocument
    http://www.ddj.com/documents/s=870/ddj0102a/rl1
    //====================================
    Neither Server nor Client authentication is mandatory. However, if you don�t use proper ciphersuite (that doesn�t require any authentication), the connection will die so to avoid this problem, you need to enable those ciphersuites manually. Read on.
    In most modes, SSL encrypts data being sent between client and server and also provides (optional) peer authentication.
    These kinds of protection are specified by a "cipher suite", which is a combination of cryptographic algorithms used by a given SSL connection. During the negotiation process, the two endpoints must agree on a ciphersuite that is available in both environments. If there is no such suite in common, no SSL connection can be established, and no data can be exchanged.
    The cipher suite used is established by a negotiation process called "handshaking".
    There are two groups of cipher suites which you will need to know about when managing cipher suites:
    �     Supported cipher suites: all the suites which are supported by the SSL implementation. This list is reported using getSupportedCipherSuites.
    �     Enabled cipher suites, which may be fewer than the full set of supported suites.
    This group is set using the setEnabledCipherSuites method, and queried using the getEnabledCipherSuites method. Initially, a default set of cipher suites will be enabled on a new socket that represents the minimum suggested configuration.
    Implementation defaults require that only cipher suites which authenticate servers and provide confidentiality be enabled by default. Only if both sides explicitly agree to unauthenticated and/or non-private (unencrypted) communications will such a ciphersuite be selected.
    When SSLSockets are first created, no handshaking is done so that applications may first set their communication preferences: what cipher suites to use, whether the socket should be in client or server mode, etc. However, security is always provided by the time that application data is sent over the connection.
    The suite is chosen based upon the credentials that each side possesses and suites that each side supports. For example, a server can�t support an RSA cipher suite unless it has an available RSA private key.
    The client and server must support at least one common cipher suite in order to communicate; if they both support multiple ciphers, the strongest available suite will be chosen.
    The strings are part of the SSL specification and are defined as:
    SSL_<key exchange algorithm>with<encryption algorithm>_<hash algorithm>
    When a number appears in the encryption algorithm, it refers to the key strength of the encryption: higher numbers are more secure.
    setEnabledCipherSuites(String[] suites) method controls which particular cipher suites are enabled for use on this connection.
    �     The cipher suites must have been listed by getSupportedCipherSuites() as being supported.
    �     Even if a suite has been enabled, it might never be used if no peer supports it, or the requisite certificates (and private keys) are not available.
    getSupportedProtocols(): Returns the names of the protocols which could be enabled for use on an SSL connection.
    setEnabledCipherSuites(String[] suites): Controls which particular cipher suites are enabled for use on this connection.
    Let me give you some code that will help you understand little better.
    One is Client.java for the client and the other one is Server.java for the server.
    Compile and run them in two separate consoles.
    ( By the way, I assume that you have properly installed JSSE on your system.)
    //===== Client.java: ===================================================
    import java.io.*;
    import java.net.*;
    import javax.net.ssl.*;
    public class Client
         public static void main(String[] args)
              (new Client()).doIt();
         }//end main
         private void doIt()
              int port = 3333;
              String host = "localhost";
    /*          String[] enable = {"SSL_DH_anon_WITH_RC4_128_MD5",
                        "SSL_DH_anon_WITH_DES_CBC_SHA",
                        "SSL_DH_anon_WITH_3DES_EDE_CBC_SHA",
                        "SSL_DH_anon_EXPORT_WITH_RC4_40_MD5",
                        "SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA"};
    */          try
              SSLSocketFactory sslFact =
              (SSLSocketFactory)SSLSocketFactory.getDefault();
              SSLSocket s =
              (SSLSocket)sslFact.createSocket(host, port);
                   //String[] suites;
                   //Get all the default CipherSuites
                   System.out.println("\n*** Default CipherSuites ***\n");
                   String [] defaultSuites=sslFact.getDefaultCipherSuites();
                   for(int i = 0; i<defaultSuites.length; i++)
                        System.out.println("["+i+"] Default CipherSuite ="+defaultSuites);
                   //Get all the supported CipherSuites
                   System.out.println("*** ================= ***");               
                   System.out.println("\n*** CipherSuites Enabled by default ***\n");
                   String [] enabledSuites=s.getEnabledCipherSuites();
                   for(int i = 0; i<enabledSuites.length; i++)
                        System.out.println("["+i+"] Enabled CipherSuite="+enabledSuites[i]);
                   System.out.println("*** ================= ***\n");
                   System.out.println("***\n Supported CipherSuites ***\n");
                   String [] supportedSuites=sslFact.getSupportedCipherSuites();
                   for(int i = 0; i<supportedSuites.length; i++)
                        System.out.println("["+i+"]Enabled Supported CipherSuite ="+supportedSuites[i]);
                   //Get all enabled CipherSuites
                   System.out.println("*** ================= ***\n");
                   System.out.println("\n*** Old and Newly enabled Anonymous CipherSuites ***\n");
                   //s.setEnabledCipherSuites(enable);
                   //Enable all supported CipherSuites
                   s.setEnabledCipherSuites(supportedSuites);
                   String [] suites=s.getEnabledCipherSuites();
                   for(int i = 0; i<suites.length; i++)
                        System.out.println("["+i+"] Newly enabled Anonymous CipherSuites="+suites[i]);
                   System.out.println("*** ================= ***\n");
                   System.out.println(" The strongest available CipherSuite is chosen by the System.");
                   System.out.println(" But it has to be enabled first, otherwise it ignores it. ");
                   System.out.println("Currently Selected CipherSuite = "+s.getSession().getCipherSuite()+"\n");
                   System.out.println("*** ================= ***");
                   // Send messages to the server through
              // the OutputStream
              // Receive messages from the server
              // through the InputStream
              OutputStream out = s.getOutputStream();
              InputStream in = s.getInputStream();
                   PrintWriter p = new PrintWriter(out);
                   p.println("Hi Buddy!");
                   p.println("Wanna have a beer?");
                   p.println("All right, let's have some.");
                   p.flush();
                   out.close();
         in.close();
         s.close();
              catch (IOException e)
                   System.out.println(""+e);
    }//end class
    //===== Here's Server.java ==============================================
    import java.io.*;
    import java.net.*;
    import javax.net.ssl.*;
    public class Server
         public static void main(String[] args)
              (new Server()).doIt();
         }//end main
         private void doIt()
              int port = 3333;
              SSLServerSocket ss;
              String[] enable = {"SSL_DH_anon_WITH_RC4_128_MD5",
                        "SSL_DH_anon_WITH_DES_CBC_SHA",
                        "SSL_DH_anon_WITH_3DES_EDE_CBC_SHA",
                        "SSL_DH_anon_EXPORT_WITH_RC4_40_MD5",
                        "SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA"};
              try
              SSLServerSocketFactory sslSrvFact =
              (SSLServerSocketFactory)
              SSLServerSocketFactory.getDefault();
                   //Get all the default CipherSuites
                   String [] suites=sslSrvFact.getDefaultCipherSuites();
                   for(int i = 0; i<suites.length; i++)
                        System.out.println(""+i+". DEFAULT CIPHER SUITE="+suites[i]);
                   suites=sslSrvFact.getSupportedCipherSuites();
                   for(int i = 0; i<suites.length; i++)
                        System.out.println(""+i+". SUPPORTED CIPHER SUITE="+suites[i]);
                   System.out.println("*** ================= ***");
              ss =(SSLServerSocket)sslSrvFact.createServerSocket(port);
                   suites=ss.getEnabledCipherSuites();
                   for(int i = 0; i<suites.length; i++)
                        System.out.println(""+i+". ENABLED CIPHER SUITE="+suites[i]);
                   ss.setEnabledCipherSuites(enable);
                   suites=ss.getEnabledCipherSuites();
                   for(int i = 0; i<suites.length; i++)
                        System.out.println(""+i+". NEW ENABLED CIPHER SUITE="+suites[i]);
                   System.out.println("*** ================= ***");
              SSLSocket c = (SSLSocket)ss.accept();
    //          ServerSocket ss = new ServerSocket(port);
    //          Socket c = ss.accept();
              OutputStream out = c.getOutputStream();
              InputStream in = c.getInputStream();
                   BufferedReader br = new BufferedReader(new InputStreamReader(in));
              // Send messages to the client through
              // the OutputStream
              // Receive messages from the client
              // through the InputStream
              while(true)
    //               int i = in.read();
                        String inputString = br.readLine();
                        if(inputString != null)
                        System.out.println(inputString);
                   else
                        out.close();
                        in.close();
                        c.close();
                   ss.close();
              catch (IOException e)
                   System.out.println(""+e);
    }//end class
    //========= Good Luck! ===================

  • Cannot email pdf using Acrobat Reader XI v11.0.3 in Windows 8. No problem when using in ms vista. ge

    Cannot email pdf using Acrobat Reader XI v11.0.3 in Windows 8. No problem when using in ms vista. get "authentication error". Sometimes will get a very quick dialogue box showing the gmail login screen but then disappears. I use firefox and IE

    Hi Rodney
    Welcome to Apple Discussions
    This sounds like one of those "oddities", contributed to by a few sources.
    I can clear the Safari cache files as a temporary solution, but I encounter the same difficulties with the “problematic” files once they have been opened again.
    Wondering if you disabled the Safari Cache would the refresh function work correctly? As a test you can disable the Safari Cache by Emptying the Cache first via the Safari menu, then Quit Safari. Now go to the Finder>Your User Library>Caches>Safari. Single click on the Safari folder, then Apple Key + I to open Info panel. There, check the "locked" box. This prevents further additions to the cache. The downside, you lose your ability to upload images etc. within Safari (my cache is disabled, so I use Firefox for the uploads).
    Then restart Safari. Try the PDF from within Safari.
    Post back

  • WiFi Authentication problem

    I have an iMac, and iPad, a Blackberry (forgive me) and Airport for my WiFi all of my pieces are working fine with my WiFi.  I had guests over the other day and we could not allow my guests iPads or iPhone to sign onto my network.  I bought my dad a generic tablet to use for solving cross words, etc., and I cannot sign into my own network.  No opportunity exists to put in a password because it just reads "Authentication Problem".
    No opportunity exists, therefore, to enter the password.  Signal strength is excellent, Securty is WPA2 PSK, I touch connect and it says Saved Secured with WPA2 and then goes back to "Authentication Problem."
    I've unplugged (and plugged back in) both the Airport / router and Internet Service provider's modem. I've rebooted my iMac and the new generic pad 3 times each. 
    I had 2 networks one for me and one for guests, can't get into either, identical problem. I can see all of the neighbour's networks and they're all locked and say secured with (various WPA/WPA2, etc., just mine says Authentication Problem.  I plugged the tablet into my iMac and it's functioning well.
    I now deleted the guest network and can't open a new network. 
    I've triple checked my passwords, hand written and in the Key Chain.
    I've checked my Apple ID (I'm able to get into this forum).
    Both my iPad (purchased May 2013) and BlackBerry (received free July 2013) signed in without any problems.
    I cannot see why I can't get into my network ~ any ideas?

    Hello,
    Hmmm..."problem"...pretty hard to understand. Can you provide more details? What exactly do you try? What exactly happens at each step of what you try? What is the exact and complete content of any error messages presented?
    Please remember that we can't see you nor your device. We have only your words to help us understand your situation, and such understanding is the natural prerequisite to providing you with any useful guidance.
    Thanks and let us know.
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Email authentication problem on only some of Verizon's servers

    I use Eudora 6.2.4 on an iMac Core 2 Duo 2.0 20" (Al) Macintosh running OX 10.5.5.  Like many others (see one thread each under FiOS Internet and High Speed Internet and Dialup), since about mid-November, I have been receiving intermittent (about 10% of the time) authentication errors when Eudora checks for new mail.  I have 3 VZ e-mail accounts and one at my employer; the errors occur only on the VZ accounts.
    I've used the freeware app Eavesdrop (http://code.google.com/p/eavesdrop/) to observe the TCP conversations between Eudora and the server. The VZ server offers SASL CRAM-MD5 PLAIN, and Eudora uses CRAM-MD5.  I see the challenge from the server, Eudora's response, and the server's authentication-failure response.  Since the response is hashed, I have no way of telling if Eudora is sending the correct response, but it works most of the time.  (After it fails, Eudora then assumes its stored password is NG, discards it, and prompts me for it on the next mail-check, which is just a bit annoying.)
    Here is an example of a successful mail-check:
    +OK Messaging Multiplexor (Sun Java(tm) System Messaging Server 6.2-6.01 (built Apr  3 2006)) <[email protected]>
    CAPA
    +OK list follows
    TOP
    PIPELINING
    UIDL
    RESP-CODES
    AUTH-RESP-CODE
    USER
    SASL PLAIN CRAM-MD5
    IMPLEMENTATION MMP-6.2p6.01 Apr  3 2006
    auth CRAM-MD5
    + PDQ5MzU1ZWY3LmRlZWZlMEB2bXMxMDkubWFpbHNydmNzLm5ldD4=
    amp3b2xmOSA3MDA0MmE5YWQwYzEzOWRkYjE5NDk0OWZjYjY1NzBmMg==
    +OK Maildrop ready
    STAT
    +OK 0 0
    QUIT
    And here's a failure:
    +OK Messaging Multiplexor (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008)) <[email protected]>
    CAPA
    +OK list follows
    TOP
    PIPELINING
    UIDL
    RESP-CODES
    AUTH-RESP-CODE
    USER
    SASL CRAM-MD5 PLAIN
    IMPLEMENTATION MMP-6.3p7.04 Sep 26 2008
    auth CRAM-MD5
    + PGZjMDAxY2M0ZjZlNDAyNjM3ZTI1MTVmMGU1MWEyYzVjQHZtczE3MTAxMy5tYWlsc3J2Y3MubmV0Pg==
    amp3b2xmOSA1NWNmNzJhYzRhZDdlMmE1ZGExZmIwZDVkMzA3NTc5OQ==
    -ERR [AUTH] Authentication failed
    You'll notice that the VZ server identifies itself at the onset of each conversation, including a build ID and date, followed by a timestamp and a server ID (e.g., vms109.mailsrvcs.net).  I'm in eastern Massachusetts, and when my client connects to incoming.verizon.net, one of a pool of V servers responds.  I've observed about 15 different servers, of which two (vms171011 and vms171013) show "6.3-7.04 (built Sep 26 2008)" and all the others show "6.2-6.01 (built Apr  3 2006)".  Furthermore, I observe that vms171011 and vms171013 consistently give this authentication failure for CRAM-MD5, but all the others (with the older build) consistently succeed in authenticating my accounts.
    I called FiOS Support, and the CSR took down took down some relevant info, said she'd pass it on the the e-mail folks.  Within 2 hours I got a call from a Verizon tech.  He said they "knew" about it and that it was a Mac problem.  It wasn't specific to VZ, and it occurred only on Macs.   He had no explanation for my observation that mail-check authentication works with 13 of VZ's servers and consistently fails with two which have a later build version/date, but he believed it was consistent with it being an Apple problem.  So naturally he was off the hook.
    He referred me to an Apple Support Forum discussion to back up his position.  I hadn't seen (or thought of looking in) the Apple forums, so I had a look and found a total of 5 threads under "Mail and Address Book".  Of course, these deal with Mail.app, .  Comcast as well as VZ.  This is the lengthiest of them:
      http://discussions.apple.com/message.jspa?messageID=8478765#8478765 
    These Apple discussion threads and the two Verizon Forum threads all mention Macintoshes, which lends credence to the tech's assertion that it's a Mac problem, not Verizon's.  I've found one that seems to depict the same thing on a PC (http://groups.google.com/group/comp.mail.eudora.ms-windows/browse_thread/thread/b426c0ca59841ca9), but it's not conclusive. 
    I don't know what PeeCee users use for a mail client or what method they use for authentication (the POP3 protocol, as amended,has several possibilities).  My Eudora app has settings for "Password", "Kerberos", and "APOP", but VZ doesn't offer Kerberos, and Eudora seems to ignore the APOP setting, so it uses only the CRAM-MD5 method, so I'm stuck.  I can't disprove that this is a Mac-only problem, but I can't understand why the CRAM-MD5 authentication always works with 13 of VZ's servers and always fails with 2 others (which happen to have a different build version/date).
    Solved!
    Go to Solution.

    With the help of a Windows-using friend, I have additional evidence that the mail-check authentication problem is NOT Mac-specific, but also can be shown to occur with a POP3 client (the final version, Eudora 7.1.0.9) using a secure authentication method (APOP) on Windows (XP Home, SP 3).  He had been observing no authentication problems, but investigation showed that his authentication setting was for "Password", which uses the basic (and very insecure) USER/PASS messages.  His Eudora does not allow CRAM-MD5, but it does have APOP authentication, which is another secure method that also uses the MD5 algorithm to encrypt the password.
    When he changed the setting to use APOP authentication, he observed the same behavior that I've reported above:
       - with most of the VZ servers (e.g., vms095.mailsrvcs.net, vms104.mailsrvcs.net) that show "6.2-6.01 (built Apr  3 2006)", the authentication succeeds
       - with vms171011.mailsrvcs.net and vms171013.mailsrvcs.net, which show "6.3-7.04 (built Sep 26 2008)", the authentication fails.
    See examples below.
    Here's a successful mail-check (these excerpts are from the Eudora log; I've edited his username):
    3244    64:13.20 Rcvd: "+OK Messaging Multiplexor (Sun Java(tm) System Messaging Server 6.2-6.01 (built Apr  3 2006)) <[email protected]> [ISafe POP3 Proxy] \r\n"
    3244    32:13.20 Sent: "CAPA\r\n"
    3244    64:13.20 Rcvd: "+OK list follows\r\n"
    3244    64:13.20 Rcvd: "TOP\r\n"
    3244    64:13.20 Rcvd: "PIPELINING\r\n"
    3244    64:13.20 Rcvd: "UIDL\r\n"
    3244    64:13.20 Rcvd: "RESP-CODES\r\n"
    3244    64:13.20 Rcvd: "AUTH-RESP-CODE\r\n"
    3244    64:13.20 Rcvd: "USER\r\n"
    3244    64:13.20 Rcvd: "SASL PLAIN CRAM-MD5\r\n"
    3244    64:13.20 Rcvd: "IMPLEMENTATION MMP-6.2p6.01 Apr  3 2006\r\n"
    3244    64:13.20 Rcvd: ".\r\n"
    3244    32:13.20 Sent: "APOP XXXXX 8a45b60f3f4a52a472937e86edbfda70\r\n"
    3244    64:13.21 Rcvd: "+OK Maildrop ready\r\n"
    3244    32:13.21 Sent: "STAT\r\n"
    3244    64:13.21 Rcvd: "+OK 0 0\r\n"
    3244    32:13.21 Sent: "QUIT\r\n"
    3244    64:13.21 Rcvd: "+OK\r\n"
    And here's one that fails; note the different server build-date:
    460     64:13.23 Rcvd: "+OK Messaging Multiplexor (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008)) <[email protected]> [ISafe POP3 Proxy] \r\n"
    460     32:13.23 Sent: "CAPA\r\n"
    460     64:13.23 Rcvd: "+OK list follows\r\n"
    460     64:13.23 Rcvd: "TOP\r\n"
    460     64:13.23 Rcvd: "PIPELINING\r\n"
    460     64:13.23 Rcvd: "UIDL\r\n"
    460     64:13.23 Rcvd: "RESP-CODES\r\n"
    460     64:13.23 Rcvd: "AUTH-RESP-CODE\r\n"
    460     64:13.23 Rcvd: "USER\r\n"
    460     64:13.23 Rcvd: "SASL CRAM-MD5 PLAIN\r\n"
    460     64:13.23 Rcvd: "IMPLEMENTATION MMP-6.3p7.04 Sep 26 2008\r\n"
    460     64:13.23 Rcvd: ".\r\n"
    460     32:13.23 Sent: "APOP XXXXX ab2dde7d89cbbf0bf9cd409dce02e5a8\r\n"
    460     64:13.27 Rcvd: "-ERR [AUTH] Authentication failed\r\n"
    IMHO all this evidence validates my original hypothesis, that two (or more) of VZ's mail servers, which have server builds "6.3-7.04 (built Sep 26 2008)", advertise secure CRAM-MD5 and APOP authentication capabilities, but consistently fail such authentication attempts.  All the other servers with builds "6.2-6.01 (built Apr  3 2006)" handle these authentications correctly.  This has been shown to be the case on both Mac and Windows POP3 email clients.  Email clients that use the simpler and unsecure USER/PASS and AUTH PLAIN methods apparently see no authentication errors on any of the VZ servers.  This strongly points to this being a Verizon problem specific to two of the servers that we see here in eastern Massachusetts.  Others have also observed the same server-specificity; see for example http://eudorabb.qualcomm.com/showthread.php?t=13802 .  This problem has been reported since about mid-November.
    Verizon, the ball is in your court.  Find the problem and fix it!

  • Phone won't connect to wifi saying authentication problem

    My phone after being connected to sky wifi from sept 2013, has all of a sudden started hardly connecting, and always says 'authentication problem'. I have my iPad connected to the wifi too, but this has also been connecting fine since sept 2013.The connection to my phone drops a lot, and then when it is connected it is very, very slow. It doesn't drop at all on my iPad.  Please can someone help me. And put it in layman terms please, thank you. EM

    Two things to try. Change the wifi channel on the Sky router/Hub itself, instruction on a post at the top of this forum. And try forgetting the network on the iPhone; Settings->WiFi, and select the network ticked. Select Forget This Network and confirm it. Then reconnect to the Sky router/Hub by selecting the wifi network and entering the password again on the iPhone. Try the latter first, then change the wifi channel on the Sky Hub/router after this step. If you don't have an iPhone, then use the steps appropriate for that phone to basically do the same as above, for forgetting and reconnecting the phone to the wifi network.

  • Random Authentication Failures when using AdminConnectionFactory

    Has anyone experienced this problem when using the AdminConnectionFactory to create a JMXConnector. I have a Sun ticket open on this issue, but wanted to see if anyone else had any suggestions. Ticket # is 72502922
    Our application uses the Sun AdminConnectionFactory to obtain a JMXConnector object. The code is being executed in a loop at a regular frequency. There is no dynamic nature to the code. All the information required to open a connection using the AdminConnectionFactory comes from static property files. So there is no question of one call being any different than a second call.
    Every so often the call to create a connection fails with the exception message:
    Cannot create JMXConnector to JMS server [jmssys.putnaminv.com:7683] using username [JMXMetricsClient.User] and password [XXX]
    at com.putnam.jms.jmx.JMXUtil.<init>(JMXUtil.java:146)
    at com.putnam.jms.metrics.core.MetricsRetrievalJob.run(MetricsRetrievalJob.java:58)
    at com.putnam.jms.metrics.core.MetricsRetrievalJob.execute(MetricsRetrievalJob.java:37)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused by: javax.management.JMException: Caught exception when creating JMXConnector
    at com.sun.messaging.AdminConnectionFactory.createConnection(AdminConnectionFactory.java:219)
    at com.putnam.jms.jmx.JMXUtil.<init>(JMXUtil.java:138)
    ... 4 more
    Caused by: java.lang.SecurityException: JMX connector server jmxrmi: Failure detected during authentication java.security.AccessControlException: [B4043]: Connection not authenticated
    at com.sun.messaging.jmq.jmsserver.management.agent.MQJMXAuthenticator.authenticate(MQJMXAuthenticator.java:125)
    at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
    at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
    at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
    at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
    at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2312)
    at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:277)
    at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
    at com.sun.messaging.AdminConnectionFactory.createConnection(AdminConnectionFactory.java:217)
    ... 5 more
    The code to create a connection using the AdminConnectionFactory is straight forward:
         JMXConnector jmxc = null;
    try {
    AdminConnectionFactory acf = new AdminConnectionFactory();
    acf.setProperty(AdminConnectionConfiguration.imqAddress, hostname + ":" + port);
    jmxc = acf.createConnection(user, password);
    } catch (JMSException jmse) {
    message = logMsgPrefix + "Cannot create JMXConnector to JMS server [" + hostname + ":" + port + "] using username [" + user + "] and password [" + password + "]";
    log.error(message);
    throw new GenericJMXException(message, jmse);
    } catch (JMException jme) {
    message = logMsgPrefix + "Cannot create JMXConnector to JMS server [" + hostname + ":" + port + "] using username [" + user + "] and password [" + password + "]";
    log.error(message);
    throw new GenericJMXException(message, jme);
    What is causing this connection creation to fail. The same application will work just fine a few minutes later.
    Thanks
    Aspi Engineer
    Putnam Investments

    Thank you for the response.
    Bug 6906978 is a defect that shows itself under high concurrency situations. In our case, we have a single quart based timer that is being triggered every 2 minutes to open a JMX connector. So my guess is that bug 6906978 and the problem that we have been experiencing are two different things.
    But I am willing to try out 4.4U1P1. Any idea where I can download it from?
    - Aspi

  • E71 mail authentication problem

    Hi All
    After having setup email on my E71 (which i love!), i realize that it isn't working fine.
    I receive all incoming mail just fine. I have a problem with outgoing mail.
    All mails that i send to office folks who're on the same domain name (which is hosted on a POP3/IMAP server) get sent i.e. any mail sent to [email protected] .
    Mails to any other domain name yahoo, google, etc. don't get sent.
    I realized that my outgoing mail server requires authentication, and essentially uses the same user name and password as my incoming mail server.
    I noticed that this setting on my Outlook is set to on. However, I am unable to find a similar setting (i.e. outgoing mail server requires authentication) on my E71.
    Now I am unable to reach out to most of my customers, who write in from other email accounts.
    Someone please help!

    The E71's email problems have been around since almost the device was launched. 
    I just upgraded my E71 to latest firmware 400.21.013 and the SMTP with SSL sending problem still persists.
    When trying to send to an account configured to send with smtp+ssl the phone eventually responds with "General: feature not supported" and, on the server an error with "...SSL alert number 10" is reported.
    Doing some research, it seems there is some misbehavior with SSL v2 and SSL v3 between the client (E71) and the server in question (sendmail+openssl on linux in my case).
    The E71 is uncapable of working out how to operate in this setting (which other Nokia and non Nokia phones CAN do).
    That is why so many of us are getting problems that DO NOT allow the E71 to send emails through SSL SECURED smtp servers.
    Being this a business phone, high end phone with a high price tag, Nokia should assume responsibility of fixing this issues on this device.
    As many of you, I need my E71 to be able to receive and send emails. I DO NOT want to use Nokia Messagins (where all mails are read by Nokia's systems first and then on/to my phone). I want my E71 to speak POP3, SMTP, IMAP and be secured with SSL/TLS as every other piece of working technology does.
    Any comments are welcome and appreciated.

Maybe you are looking for

  • Maximum number of the "records" in: Aggregated bill and payment handling

    HI, currently we are dealing with proposal and design of processes/settings in area Aggregated bill and payment handling among distributor and suppliers. Do you have experience and/or knowledge with maximum amount of records in related processes , li

  • Decrypt problem

    Hello! I have problem decripting string if the string is long. I use <cfset session.algo = "DES"> <cfset session.key = GenerateSecretKey(session.algo)> <cfset session.enco = "HEX"> I have tried and other but nothing works for me. also i do the encryp

  • How to find function module exit name when i know the Include

    As per my requirement i should change the existing exit. I know the include name but i want to know exit name. How to find out exit name based on include name. I tried Where-used list but it is not giving the exit and function module name.Please let

  • Table which houses the status in delivery related billing

    hi guys,       In which sales table can we see the status(i.e order status,billing status,delivery status) of a delivery related billing and order related billing Thanks, Shamik

  • Re: using mac book pro

    how do I alternate keying in chinese and english with a mac book pro osx v 10.6.7?