-
1. Re: jboss.identity file and JBoss 6 M1
jaikiran May 18, 2010 3:45 AM (in response to danescott)I haven't heard of any such file in any version of AS. Can you post its contents? How exactly did you start the server in 4.2.x? Also since you mention run.bat, I believe you are using Windows OS?
-
2. Re: jboss.identity file and JBoss 6 M1
danescott May 18, 2010 3:57 AM (in response to jaikiran)Thanks for the reply...
I am indeed running JBoss on Windows Vista x64, the jboss.identity file is created when I run a clean download of 4.2.3 GA from the run.bat. It looks like this:
b35e92a385e865f3x-c8a6687x128a6f1d438x-8000116
I have read about this file on the board here too:
http://community.jboss.org/message/367674#367674
In the past we have used this GUID to uniquely identify JBoss instances within a JMS context or storing application settings on a database. Its proved to be very useful.
Best Regards
Dan
-
3. Re: jboss.identity file and JBoss 6 M1
jaikiran May 18, 2010 4:16 AM (in response to danescott)1 of 1 people found this helpfulI just checked my local 4.2.3 instance. And indeed that file gets generated. However, I don't see it being generated in AS-5.1.0 or 6.x. So I guess, remoting no longer creates that file.
Daniel Escott wrote:
In the past we have used this GUID to uniquely identify JBoss instances within a JMS context or storing application settings on a database. Its proved to be very useful.
Best Regards
Dan
I don't know the details of your app, but can't you just generate a GUID of your own? Instead of relying for JBoss Remoting to do that?
-
4. Re: jboss.identity file and JBoss 6 M1
danescott May 18, 2010 4:40 AM (in response to jaikiran)Thank you for confirming that for me, I'll have a go at the manual GUID generation at startup.
Out of interest is there a common way to achieve this? I see the uuid-key-generator.sar, is there any information on a 'standard' way to achieve this?
Cheers
Dan