Problem of DH handshake with the web service using ColdFusion 7 and 8 after java update 8

ColdFusion 7 and 8 are provided with a variant of JRE1.6.

I have a script that has consumed a web service for years with success.  Last week, the web service provider updated their version of Apache and Java on the server java 1.8 (or java-8).

I could no longer consume the web service once the web service provider updated to Apache and Java and would be the following error DH keypair every time that I try to consume the service:

-----------------

AxisFault

faultCode: {http://schemas.xmlsoap.org/soap/envelope/} Server.userException

faultSubcode:

faultString: javax.net.ssl.SSLException: java.lang.RuntimeException: could not generate keypairs DH

faultActor:

faultNode:

faultDetail:

{}http://xml.apache.org/axis/} stackTrace:javax .net .ssl .SSLException: java.lang.RuntimeException: could not generate keypairs DH

at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1554)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1537)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1130)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)

at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)

to org.apache.axis.transport.http.HTTPSender.getSocket (HTT... ''

-----------------

I asked the service provider web, why it would stop working and how we can solve this problem.  They suggested that upgrade to the latest version of Java on my server running ColdFusion.  I did some research and found the problem to be with the amount of memory allocated to the variable containing the encryption key.

The big problem is when I tried to update java on this particular server (Windows Server 2003), the installation has returned a messaged stating that he could not run on the older operating system and I need to update my OS to install java.

Does anyone have a workaround in ColdFusion 7 or 8 that you can establish the DH handshake using Java 1.6 on your local server while consuming a web service on a server using Java 1.8?

Hi, frank000000,

I know that we had a serious problem with any Java 7 after update 25.  They are off a lot of network permissions and other things, for safety, that used to be available in versions prior to the update 25.  But it's while we were in CF Server 9.

Since we switched to CF Server 10 (making sure that we got the CF Installer provided with Java 8), we had very few issues related to Java.

It seems strange to me that the upgrade to 1.8 host while your server is 1.6 would cause problems.  It could very well be something else.  I would like to ask the host for documentation describing exactly how/why their 1.8 may cause interference with your 1.6.

HTH,

^_^

Tags: ColdFusion

Similar Questions

  • Problems with the Web Service using XML in Flex

    Hello

    I use a ColdFusion CFC, which is configured to generate an XML string. It runs on ColdFusion MX 6.1 and is configured as a remote web service. I tested the call and it returns the string XML fine when it is called from another method of Flex unfounded. My problem is this simple Flex application to call the same function via a service web, I wrote below. I cannot get to the exit results, keeps showing as NULL. I can't use the HTTP of Flex appeal for remote access because I'm not under MX7. Does anyone know what is wrong with my code? BTW, I would do the work of cross - domain.xml file to call the cfc, let me know if you want to test and I can add your domain name. Thank you!

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" >

    <! - set Web Service to get the XML data of course catalog - >
    < mx:WebService
    ID = "cd".
    "WSDL =" http://training.wonderware.com/components/courses.cfc?wsdl "
    Load = "CD.getCourseCatalogXML.Send ()" "
    showBusyCursor = "true" fault = "Alert.show (event.fault.message), 'Error' ' result =" cdResult (event) ">"
    < mx:operation name = "getCourseCatalogXML" resultFormat = "e4x" >
    < mx:request >
    < IDCalendrier > 3 < / IDCalendrier >
    < / mx:request >
    < / mx:operation >
    < / mx:WebService >

    < mx:Script >
    <! [CDATA]
    Import mx.controls.Alert;
    Import mx.rpc.events.ResultEvent;
    Import mx.rpc.events.FaultEvent;

    [Bindable]
    public var outputString:String

    public void cdResult(event:ResultEvent):void
    {
    outputString = event.result as String
    }
    []] >
    < / mx:Script >

    < mx:Canvas horizontalScrollPolicy = "off" verticalScrollPolicy = "off" >
    < mx:Text width = '100% ' paddingLeft = "4" paddingRight = paddingTop "4" = "4" >
    < mx:text > OUTPUT: {outputString} < / mx:text >
    < / mx:Text >
    < / mx:Canvas >

    < / mx:Application >

    Thank you very much! I do not have the notion that the HTTPService is indded just an HTTP call. So yes that it a much simpler way to call just ColdFusion to return the XML string to the application. No reason to use Flash Remoting or CFCS etc... and certainly not a web server. This made the turn that I called a HTTPService now what charges by coldfusion page that returns XML and bam, works well with e4x result etc... Thanks tracy!

  • Another possibility to communicate with the web service other than the SOAPS in Adobe Reader

    Hi team

    It is another alternative method to communicate with the web service other than the SOAPS using Java script in Adobe Reader.

    Thank you

    Bala

    Yes, you can use FDF/XFDF to send data to the server and report information in the document. Take a look at the Doc.submitForm () method using the FDF/XFDF parameter: DC-Acrobat SDK Documentation - Doc.submitForm () you'll need fields for send/receive form data, but these can be hidden.

  • Problem with the web service call

    I use ajax with json to call webservice but its not working with the localhost url in the emulator of the ripple. If I use an ip address or external url does not call the webservice.

    I also tried with BlackBerry, webservice does not.

    can someone guide me how to call the Web service?

    Thank you

    Sundaram

    Your file config.xml needs the ip address or the url in the "whitelist".  Use the access for that tag.  for example:

    
    

    The piece above is not secure because it whitelists ALL------* areas.  You can put your url in the uri.

  • Problem running the report with the Web Service and BI Publisher

    Hello

    In fact, I'm trying to run a report of Bi Publisher via the Web Service.
    I use the following documents:
    -http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/bip_webservice_101331.htm
    -"How to integrate Oracle BI Publisher via Web Services in the form of Oracke.

    Everything works fine. But when I try to copy the file on the local computer is 0 length. I use the method of "getReportBytes".
    Here's the code I tried with:

    String userName = "Administrator";
    String password = "Administrator";

    System.out.println ("calling" + myPort.getEndpoint ());
    System.out.println (myPort.validateLogin (username, Password));

    ReportRequest repReq = new ReportRequest();
    RepRes ReportResponse = new ReportResponse();

    repReq.setAttributeFormat ("pdf");
    repReq.setAttributeLocale("en-US");
    repReq.setAttributeTemplate ("sales world");
    repReq.setReportAbsolutePath ("/ Sales Manager/World Sales/World Sales.xdo");

    repRes = myPort.runReport (repReq, userName, passWord);
    System.out.println (repRes.getReportContentType ());

    Byte [] binaryBytes = repRes.getReportBytes ();
    OutputStream out = new FileOutputStream ("D:
    out.pdf");
    out. Write (binaryBytes);
    out. Close();
    System.out.println ("success for performance report');

    Thanks in advance.

    Hello

    I assume you are using 10.1.3.4. Otherwise, my index is not relevant to you...

    There is a new parameter in the web service API to set the size of the segment. HéLas is by default not so, the behavior is as in versions (not size segment... the entire document at once). If you set the size of segment-1, you should get your document. So, try adding
    repRequest.setSizeOfDataChunkDownload(-1);

    concerning
    Rainer

  • two-way communication with the web service

    I need help with a problem with web services on 8.6.  I do not know if this is possible.

    I have a web service that works very well.  At this point all it defines a Boolean value.

    For the test, I'm just using IE to see the data.  This works.  I can see the Boolean value change each time I send a 0 or 1 value through the URL.

    My problem is this: when I change the Boolean value, I can't read the value of another application of IE.  In other words, I want to be able to open IE twice in two different windows.  When I change a value of an Internet Explorer session, I want to see the value changes in the other session of IE (after refresh).  From now on, it seems that each session of Internet Explorer is a separate instance of the web service.  How can I edit a Boolean value, and read this variation by another IE session?

    My cause is hopeless?  Are web services 'read only '?  Any help would be appreciated.

    Bad form for the double post but the forum wouldn't let me edit my post:

    This VI is a good example of a global LabVIEW 2 style. The registry value at offset uninitialized loop will be persist appealed to the other of this VI. So when the game is true the value of data is stored in the shift register. When all is false the value of the shift register is returned unchanged. Make sure you have 'Keep VI in memory' checked in the configuration of your web service.

    You could do the same thing without parameters selected using two screws separated

  • How to transfer data from oracle to the web service using ODI with axis2 tech

    Hi all

    Can someone cause a document or markets about 'How to transfer data from oracle to the web service with the help of ODI with AXIS2 technology'
    If any person with a document or markets, please share it with me

    Thank you
    Phani

    I can give you a few examples of web services in ODI, perhaps that you find them useful?
    Try: -.
    http://John-Goodwin.blogspot.com/2009/04/ODI-series-Web-services.html
    http://John-Goodwin.blogspot.com/2009/05/ODI-series-Web-services-part-3.html
    http://John-Goodwin.blogspot.com/2009/05/ODI-series-Web-services-part-4.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to consume the web service using PLSQL in 11g

    Hello

    I created a site using jDeveloper, web services which when I put in the web browser and press enter, it will display the settings screen and when I pass the value for the parameter, and then it displays the output of the XML returned by the PL/SQL (called in the Web Service) package. Now, I want to call this webservice in PL/SQL and read XML data and fill in the staging table. Can anyone suggest me how to achieve this functionality by using Oracle PL/SQL

    I use the database 11g and jDeveloper Version :-Studio Edition version 10.1.3.0

    Thank you very much in advance.

    Vijay

    The WSDL file describes the web service.

    To obtain the WSDL, you enter the URL of the web service and add some ? WSDL to the URL. This indicates the web service to return to its definition.

    For example

    URL of the Web Service: http://wsf.cdyne.com/WeatherWS/Weather.asmx

    WSDL URL: http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL

    When you read (using 'web browser' UTL_HTTPpackage) the XML response from the web service, read as strings (PL/SQL varchar2, size 32 K max).

    You should read the answer as the strings, then writing/writeappend these channels in a CLOB (using the DBMS_LOB package). If you are VERY sure that the web service call ALWAYS returns an XML of less than 32 k, you can skip using a CLOB.

    Whatever it is, read you the response from the web service in the form of text (such as plain text, it is what is sent). The next step on your part is to parse text into an XML DOM (document object model) - and storing the DOM in an Oracle XmlType variable.

    When in a DOM, you can use Oracle XML functions to extract the attributes and values of the key element of the response from the web service.

  • Results of long-term with the web service call process

    I'm starting a long-lived process that dragged out variables using a .net web service call. I would like to be able to get these output variables. I find all of the features in the JobManager service to do this... y at - it another way to do this? I am not above querying the Livecycle database...

    Thank you

    Mike

    It will work only after that the process is 'complete'.. then you need to check the status... .and when that is complete, then you can check the results.

    Paul

  • Problems with the screen resolution, Cloud based software and Photoshop after the last round of updates Windows 8.1.

    Original title: screen resolution problems.

    Since the last series of Windows 8.1 update the resolution of my monitors has been changed for the worse. I use an AOC 2367 M (resolution 1920 x 1080) as my first monitor and a 42 inch Sony Bravia (resolution 1920 x 1080) as my 2nd monitor. The changes are more noticeable on the Sony Bravia and any adjustment I make to the resolution only make worse it.

    I also have problems with some software clouds as I load using citrix and when I try and navigate once opened software, I can't because the pointer selects a point about 50 mm on the side of the where he is hovering. In fact it is very difficult to open and close as anything and I resorted to the laptop to get concrete results.

    Photoshop now also comes up with a message when I open it up to inform me that the monitor profile seems to be defective.

    Any suggestions would be helpful as I thought initially an another upgrade must follow to correct the ills of windows 8, but appears not to have happened.

    Hi Joseph,.

    Thanks for the reply.

    Method 1:

    I suggest you to download and install all Windows updates available including optional updates. You can also install the latest device drivers for all devices including display drivers and monitor drivers on the manufacturer's Web site.

    http://eSupport.Sony.com/Perl/select-System.pl

    http://www.aocmonitorap.com/root/ANZ/download_driver.php

    Method 2:
    Adobe Photoshop CC version 14 is compatible with Windows 8.1. See Windows Compatibility Center for more information. To solve the problem with Photoshop CC, I suggest you try the procedure described in the article and see if it helps.

    Cloud applications help creative /CC crash immediately after launch
    http://helpx.Adobe.com/Photoshop/KB/CC-applications-crash-immediately-launch.html

    If the problem persists, I suggest you to contact the Support from Adobe.

    http://helpx.Adobe.com/contact.html

    To solve the problem from software hosted accounts, you may need to contact the Support to count.

    Hope this information helps. Answer the post with an up-to-date issue report to help you further.

  • CallResponders and success with the Web Service tests

    You'll notice in my code below how I have save the user data I want to save them button enabled to false.  But what happens if the save fails on the side server, shouldn't I have test for you ensure that registration passed first?  At first I thought that I would create a procedure under the CallResponder which is called only during a success, but when I looked at the answering machine call the result property was already populated.  I assume by Flash Builder itself.  So, something is recorded in the token that says success there or should I create a function that does what is currently the result property and the Save button activated false?  Am I right that the result function is called only when there is a success?

    < s:CallResponder id = "setUserResult" result = "userDto = setUserResult.lastResult as UserDto" / >
    protected function saveBtn_clickHandler(event:MouseEvent):void
    {
    If (firstNameTextInput.text == ' ' | lastNameTextInput.text == "")
    Alert.Show (updateErrorMessage + "First and Last Name cannot be empty." + errorActionMessage);
    on the other
    {
    If (userDto is nothing)
    {
    userDto = new UserDto();
    usersDDL.dataProvider.addItem (userDto);
    usersDDL.selectedIndex = usersDDL.dataProvider.length - 1;
    }
    userDto.firstName = firstNameTextInput.text;
    userDto.lastName = lastNameTextInput.text;
    userDto.active = activeCB.selected;

    setUserResult.token = personnelBean.setUser (userDto);
    saveBtn.enabled = false;
    }
    }

    Consider this code snippet-

    
            
        
    
    
            
            
    
    

    Thus, when there is a failure (for example network failure), an event of default will be distributed and will be called faultHandler(). If all goes well, then result event will be distributed and will be called resultHandler().

    I hope this helps.

    Post edited by: Sameer Bhatt

  • Call SOAP Web Service using UTL_HTTP vs APEX_WEB_SERVICE. MAKE_REQUEST

    Dear all,

    When I call the SOAP using APEX_WEB_SERVICE Web services. MAKE_REQUEST, so I'm able to get the response from the web service. Character, however all the German are replaced by those of the JUNK. However the data just fine when I test web services using SOAP UI.

    To resolve this problem, I tried to call the web service using UTL_HTTP. However when I use UTL_HTTP, then I get following error.

    ORA-24247: access denied by network access control list

    Can someone advise me...

    < Li > why German characters are replaced with the data side when calling WebService from APEX, while it works very well in SOAP UI
    < Li > when can I access web service successfully using APEX_WEB_SERVICE, then why he throws error ORA-24247 when I call using UTL_HTTP?


    DB: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    APEX: 4.0.2.00.07
    Web server: EPG
    SELECT * FROM NLS_DATABASE_PARAMETERS;
    
    PARAMETER                      VALUE                                  
    ------------------------------ ----------------------------------------
    NLS_LANGUAGE                   AMERICAN                                 
    NLS_TERRITORY                  AMERICA                                  
    NLS_CURRENCY                   $                                        
    NLS_ISO_CURRENCY               AMERICA                                  
    NLS_NUMERIC_CHARACTERS         .,                                       
    NLS_CHARACTERSET               AL32UTF8                                 
    NLS_CALENDAR                   GREGORIAN                                
    NLS_DATE_FORMAT                DD-MON-RR                                
    NLS_DATE_LANGUAGE              AMERICAN                                 
    NLS_SORT                       BINARY                                   
    NLS_TIME_FORMAT                HH.MI.SSXFF AM                           
    NLS_TIMESTAMP_FORMAT           DD-MON-RR HH.MI.SSXFF AM                 
    NLS_TIME_TZ_FORMAT             HH.MI.SSXFF AM TZR                       
    NLS_TIMESTAMP_TZ_FORMAT        DD-MON-RR HH.MI.SSXFF AM TZR             
    NLS_DUAL_CURRENCY              $                                        
    NLS_COMP                       BINARY                                   
    NLS_LENGTH_SEMANTICS           BYTE                                     
    NLS_NCHAR_CONV_EXCP            FALSE                                    
    NLS_NCHAR_CHARACTERSET         AL16UTF16                                
    NLS_RDBMS_VERSION              11.2.0.1.0                               
    
     20 rows selected
    Kind regards
    Hari

    The solution was...

    I just put following line before making the call to the web service by using APEX_WEB_SERVICE. MAKE_REQUEST.

    /*In my case DB character-set is AL32UTF8, so I set it to UTF-8. */
    
    UTL_HTTP.SET_BODY_CHARSET ('UTF-8');
    

    More information see SET_BODY_CHARSET procedures

    If I do not set this, it uses the as ISO-8859-1 character set, which is the cause of my problem.

    Kind regards
    Hari

  • How can I create a query with the data control to the web service?

    I need to create a query with the order of web service data, WSDL, it is query operation, there is a message of parameter with possible query criteria and a return message contains the results. I googled but can't find anything on the query with the web service. I can't find a criterion "named" to the data control of web service as normal data control. Blog of Shay, I saw the topics on the update with the data of web service command. How can I create a query with the data control to the web service? Thank you.

    Hello

    This might help

    * 054.     Search form using control data WS ADF and complex of entry types *.

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html

  • The Web Service of LabVIEW error on restores model ESP

    Hello

    I was hoping that people would be able to help with the following problem:

    I'm currently on the Page Embedded Server (ESP), functionality of the LabVIEW webservices script and keep receiveing an error when you try to view a page.

    I think I put in place the Manager HTTP queries properly - buffered stream with headers

    The correct model is located and used as the page reaches the insertion point variable esp.

    I find that the AddressBook example works fine, unless I try and add an additional variable to the model, then the same error occurs.

    I have attached a sample project which shows the same behavior, and the error is less.

    Tested on LabVIEW 2014 (14.0.1 SP1) 32-bit on 64-bit Windows 7.

    See you soon

    John

    *****************************************************************************************************

    Error-67035 occurred at .vi NI_WebServices.lvlib:Error Converter (ErrCode or status)

    Possible reasons:

    LabVIEW: The Services Web of LabVIEW (Hex 0xFFFEFA25): error in the ESP.

    «"" "String of full appeal:»»"»
    NI_WebServices.lvlib:Error Converter (ErrCode or status) .vi
    NI_WebServices.lvlib:Web Request.lvclass:Render ESP Template.vi
    Test.VI
    Test.vi.ProxyCaller

    *****************************************************************************************************

    Hi John_Neutron,

    I worked on your code today and we managed to reproduce and to fix the error you saw.

    The Web service name ESP file and rendering the page, but it throws the error because the variable you are trying to set was not properly declared. We managed to make the error go away by changing the file text with Notepad like this ESP.

    --------------------------
    <%
    //This is a server side comment
    // Variables:
    var myvariable;
    //
    %>


    This is the test pattern



    It's the body:

    Here's the varaiable


    Variable: @@myvariable


    ---------------------------

    Before, you had / / in front of the variable (making a comment) and you don't have "var" to tell him you have said anything (it's all in the 4th line). Without the appropriate statement, the code generates an error when it is called.

    Vsenior

  • URL of the Web Service, LV2013 vs LV2012 length limits

    (* CROSS POST: http://lavag.org/topic/18435-web-service-url-length-limits-lv2013-vs-lv2012/ *)

    (* Please answer in this forum.  I scored the other thread for responses here. *)

    A that someone noticed a reduction in the limit on the length of the URL for the Web Services between the versions of LV 2012 and 2013?

    Under LV2012, a RESTful web service seems to accept URLS with lengths at least as long as 4096 characters.  With LV2013, the maximum length of URL seems to be 511 characters for RESTful web services as the project item. Unfortunately for me the project, I have converted just travel on this issue. My goal with posting this request here is my understanding of this limitation before deciding the best way to modify my code.  Certainly using POST instead of GET with a long URL is an option, but again, I am looking to understand the change in limitation before choosing a solution.

    To illustrate, I enclose three projects for the most part identical, demonstrating the issue.  In each case, the project contains a webservice consisting of a single VI, 'ComputeLength', which takes a string as an input parameter and that returns the length of the string.  The three projects are the following.

    1 LV2012 RESTful WebService.

    2 LV2013 RESTful WebService.

    3 LV2013 article project web service.

    The web service contains a single VI.  For the relaxing examples, the web service is started by selecting deploy menu of right-click Build specification.  For the example of project item, the web service is started by selecting start in right click menu position of work/WebService. The use of this example is shown with the following URL:

    (Note that the port is 8080 for both relaxing examples and 8001 for the project web service point if used in debug mode, which is the default value for the statement above.)

    http://localhost: 8080/webservice/computelength? string = 1234567890

    And the output looks like this.

    Workaround.  Apparently from 2013 of LV, there is a default limit of 512 to the length of the URL.  The default limit can be overridden as described below.

    Martin

    He is Brian in the technique of applications for National Instruments. I am following up about the 511 character limit in your Web Service HTTP request after the port number. After some research, I realized that the problem is related to a web site by default, the setting of the server called "LimitUri", which limits the maximum length of a URL. The default is 512 characters long that's why we are seeing this problem.

    There are several ways to modify the URL length limit depending on how you use your web service. If you publish the web service using the Application Web Server can change "C:\Program Files (x 86) \National WebServer\NIWebAppServer.conf" and add "LimitUri 4096" at the end of the file without the quotes.

    If you run the Debug Web server simply by clicking start on the web service, and then change "C:\Program Files (x 86) \National 2013\resource\webserver\niwsdebugserver.conf" and add "LimitUri 4096" at the end of the file without the quotes.

Maybe you are looking for