|
From: Simon L. <ky...@ce...> - 2003-11-21 16:00:37
|
Hi HK,
Hermes could be put in a mode that authenticates client requests (i.e.
clients need so supply username and password in order to register/send etc)
. This mode will be activated once the tag
Property/MSH/Config/AuthenticationFile in the msh.properties.xml has been
specified. I guess your problem is that you have activated this mode (i.e.
leaves this tag uncommented), but your Hermes server cannot find that
authentication file (because it doesn't exist). If you don't want to use
client authentication(at this time), you can comment out the tag and restart
your tomcat sever.
Hope this helps.
Simon
----- Original Message -----
From: "Han Kim Ngo" <hk...@ni...>
To: <ebx...@li...>
Sent: Friday, November 21, 2003 11:25 PM
Subject: [ebxmlms-general] Re:LoopBack problems
Hi,
I installed the 0931 release with Tomcat 4.1.12 and the JDK1.4.1 on win2k.
I did tried to ping http://localhost:8080/msh/ but the servlet was made
unavailable.
Indeed, I encountered the following problem when trying to start tomcat
reported in the msh.log file:
[10001] Initialization error - authentication file setup error (not
exist/not a file/zero size)
That generates an exception in the MessageServiceHandler servlet.
Here's an extract of the msh.properties.xml file:
<DigitalSignature>
<TrustedAnchor>
<KeyStore>
<Path>/hermes</Path>
<File>msh.keystore</File>
<Password>mshUser</Password>
</KeyStore>
</TrustedAnchor>
<AckSign>
<KeyStore>
<Path>/hermes</Path>
<File>msh.keystore</File>
<Algorithm>dsa-sha1</Algorithm>
<Alias>mshUser</Alias>
<Password>mshUser</Password>
</KeyStore>
</AckSign>
</DigitalSignature>
I did generate a file called msh.keystore using the java keytool and put it
in the hermes directory.
I also tried to comment that digitalSignature part. In that case I retrieved
the following error:
[10001] Initialization error - Missing
MSH/DigitalSignature/AckSign/KeyStore/Alias or
MSH/DigitalSignature/AckSign/KeyStore/Password property
I didn't find anything in the documentation about the authentication except
the 5.4 paragraph but I guess this is related to another issue.
Anyways, thanks for your help.
Best regards,
HK.
|