|
From: Markus K. <ma...@pr...> - 2012-07-25 18:34:03
|
NetBeans IDE 7.2 was just recently released and has until now not been
tested for SignServer development.
If you open any of the SignServer projects in version 7.2 it will
upgrade the auto-generated build scripts. For some reasons (bug in
NetBeans IDE?) the new build script does not compile.
Reverting the changes automagically done in */build-impl.xml,
*/genfiles.properties, */project.properties and */project.xml and use
NetBeans IDE 7.1.2 should work until the problem is found and fixed.
Best regards,
Markus
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
>>>
>>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
--
Kind regards,
Markus Kilås
Security Consultant & Developer
PrimeKey Solutions AB
Anderstorpsv. 16
171 54 Solna
Sweden
Phone: +46 70 424 94 85
Skype: markusatskype
Email: mar...@pr...
www.primekey.se
|