|
From: ejbca-support <ejb...@pr...> - 2012-07-25 18:21:27
|
This seems wrong:
[echo] j2ee.web-nohttps = false
So does this:
[copy] Warning: /opt/glassfish/client does not exist.
Regards
Anders
On 2012-07-25 17:36, Antoine Louiset wrote:
> In fact, the library {$j2ee.appserver.home}/appserv-rt.jar was not
> recognized by NetBeans. I think j2ee.appserver.home is not regognized
> because I do not add glassfish server in NetBeans (I don't find the
> plugin for the new version of NetBeans 7.2).
>
> I made a mistake in my precedent mail. Do not consider the problem of $
> and {}.
>
> You will find attached output_test.txt which contains all the results of
> the command and the output_test_error.txt for the error output.
>
> I do not understand erros in output_test.txt : "[junit]
> Testcase:testReloadConfiguration(org.signserver.adminws.client.AdminWebServiceTest):
> Caused an ERROR
> [junit] Failed to access the WSDL at:
> https://localhost:8181/signserver/AdminWSService/AdminWS?wsdl.
> It failed with:
> [junit] java.lang.RuntimeException: Unexpected error:
> java.security.InvalidAlgorithmParameterException: the trustAnchors
> parameter must be non-empty."
>
> The property j2ee.web-nohttps has to set to true to launch the tests but
> there are many cases where we use https so I do not understand. Is this
> functionality used in glassfish ?
>
> Thanks a lot !
>
> Good evening Markus !
>
> Best regards,
>
> Le 25/07/2012 14:42, Markus Kilås a écrit :
>> It all looks okay to me.
>>
>> If you use client certificates or not shouldn't make the compilation
>> fail so it must be something else.
>>
>> I am not sure I fully understand what you mean by "The variable
>> {$j2ee.appserver.home} was not recognized for appserv-rt.jar, it was
>> replaced by j2ee.appserver.home without $ and {}." Do you mean that you
>> get an error or other message where you can see that the variable
>> ${j2ee.appserver.home} was not replaced with the actual path to the
>> application server?
>>
>> Could you also send the complete output when you run "ant test:run"?
>>
>> I would try to checkout SignServer again to see that it isn't any
>> corrupted files.
>>
>>
>> Best regards,
>> Markus
>>
>>
>> On 2012-07-25 11:26, Antoine Louiset wrote:
>>> Hi Markus,
>>>
>>> Thanks for your answer. Here the results of the echo command of my
>>> environment variables.
>>>
>>> vm-manager@debian6:/opt/signserver$ echo $APPSRV_HOME
>>> /opt/glassfish
>>> kvm-manager@debian6:/opt/signserver$ echo $SIGNSERVER_HOME
>>> /opt/signserver
>>> kvm-manager@debian6:/opt/signserver$ echo $ANT_HOME
>>> /usr/share/ant
>>> kvm-manager@debian6:/opt/signserver$ echo $ANT_OPTS
>>> -Xmx512m -XX:MaxPermSize=256m
>>> kvm-manager@debian6:/opt/signserver$ echo $SIGNSERVER_NODEID
>>> node1
>>>
>>> These environment variables are set in /etc/bash.bashrc
>>>
>>> I change the MaxPermSize to 256 instead of 128.
>>>
>>> kvm-manager@debian6:/opt/signserver$ java -version
>>> java version "1.6.0_26"
>>> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
>>> Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
>>>
>>> kvm-manager@debian6:/opt/signserver$ ant -version
>>> Apache Ant version 1.8.0 compiled on March 11 2010
>>>
>>> I don't use client authentication with certificate. I don't know if it
>>> could be linked.
>>>
>>> Thanks for your help, have a nice day !
>>>
>>> Le 25/07/2012 11:02, Markus Kilås a écrit :
>>>> export APPSRV_HOME=
>>>
>>> ------------------------------------------------------------------------------
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond. Discussions
>>> will include endpoint security, mobile security and the latest in malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>
>>>
>>>
>>> _______________________________________________
>>> Signserver-develop mailing list
>>> Sig...@li...
>>> https://lists.sourceforge.net/lists/listinfo/signserver-develop
>>>
|