|
From: Markus K. <ma...@pr...> - 2013-07-12 12:33:25
|
Yes, sounds like the "web service problem in JBoss". Best regards, Markus On 2013-07-12 14:30, Jesús Arnáiz wrote: > Hi. > > I saw with a sniffer that I connect correctly to livecd (I have his IP > on my "hosts" file), and I receive the WSDL, but it has a 127.0.0.1 IP > on it, instead of "livecd" (or the IP of the network card), so I think > the problem is within the jboss configuration. > > I see some information on: > http://signserver.org/manual/installguide.html > --- > 6. Configure application server > --- > > I will test it and then tell you if that fix the problem. > > Thanks again. > > > El 11/07/2013 22:21, Markus Kilås escribió: >> Hi Jesús, >> >> The "connection refused" looks like the client application is not able >> to open a connection to the host livecd on port 8080. >> >> Please, make sure you can connect, from the same host as your client >> code is running, for instance using telnet: >> telnet livecd 8080 >> >> >> Best regards, >> Markus >> >> On 2013-07-10 19:14, Jesús Arnáiz wrote: >>> Hi. >>> >>> I'm trying to use SignServer API, my code is: >>> ------------ >>> >>> public static void sign(SignOptions options, InputStream input, >>> OutputStream output) >>> throws ConnectionProblemExeption { >>> try { >>> ISigningAndValidation signserver = new >>> SigningAndValidationWS(options.getHost(), options.getPort(), >>> options.getUseSSL()); >>> GenericSignResponse signResponse = >>> signserver.sign(options.getSigner(), IOUtils.toByteArray(input)); >>> >>> } >>> catch (Exception ex) { >>> throw new ConnectionProblemExeption(ex.getMessage()); >>> } >>> } >>> ---------------- >>> I set the options to be: "livecd" (host), 8080 (port), and false (useSSL). >>> >>> But I get: >>> >>> "HTTP transport error: java.net.ConnectException: Connection refused: >>> connect" exception due to the call to "signserver.sign". >>> >>> I'm able to sign using web JSP: >>> >>> http://livecd:8080/signserver/demo/genericsign.jsp >>> >>> using CMSSignerJ3 Signer and a string as Data. >>> >>> Why I'm getting "connection refused"? >>> >>> Any help would be appreciated. >>> >>> Thanks in advance. >>> >>> ------------------------------------------------------------------------------ >>> See everything from the browser to the database with AppDynamics >>> Get end-to-end visibility with application monitoring from AppDynamics >>> Isolate bottlenecks and diagnose root cause in seconds. >>> Start your free trial of AppDynamics Pro today! >>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> SignServer-develop mailing list >>> Sig...@li... >>> https://lists.sourceforge.net/lists/listinfo/signserver-develop >>> >> >> >> ------------------------------------------------------------------------------ >> See everything from the browser to the database with AppDynamics >> Get end-to-end visibility with application monitoring from AppDynamics >> Isolate bottlenecks and diagnose root cause in seconds. >> Start your free trial of AppDynamics Pro today! >> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >> _______________________________________________ >> SignServer-develop mailing list >> Sig...@li... >> https://lists.sourceforge.net/lists/listinfo/signserver-develop >> > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > SignServer-develop mailing list > Sig...@li... > https://lists.sourceforge.net/lists/listinfo/signserver-develop > -- Kind regards, Markus Kilås PKI Specialist PrimeKey Solutions AB Anderstorpsv. 16 171 54 Solna Sweden Phone: +46 70 424 94 85 Skype: markusatskype Email: mar...@pr... www.primekey.se |