|
From: Jesús A. <jes...@0z...> - 2013-07-12 12:47:58
|
That is; commenting the next line:
----
<property name="webServiceHost">${jboss.bind.address}</property>
----
on "jboss-beans.xml" fixed the problem.
I see some warnings when I run my application:
---
log4j:WARN No appenders could be found for logger
(org.ejbca.util.dn.DnComponents).
log4j:WARN Please initialize the log4j system properly.
---
But I think it is due because everything is logged using jboss log (and
for me is ok).
Regards.
El 12/07/2013 14:33, Markus Kilås escribió:
> 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
>>
>
>
>
|