aspose file tools*
The moose likes JBoss/WildFly and the fly likes what is thios ERROR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "what is thios ERROR" Watch "what is thios ERROR" New topic
Author

what is thios ERROR

anarkali perera
Ranch Hand

Joined: Sep 10, 2009
Posts: 237
what is thios ERROR?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

I do not understand why you find this error message hard to decipher:


JBoss In Action
Prathamesh Mhatre
Greenhorn

Joined: Nov 10, 2009
Posts: 5
You get this error when the permisions are not set for the file which is being modified.

You can do one thing
Go to E:\dev\jboss-4.2.2.GA\server\default\conf\

and do chmod -R 777 test.keystore and then try starting the server.

also make sure that the user ID being used for starting JBoss server is either the owner of this file or member of the group to which the owner belongs.

For setting owner you can use chown command .

chown -R username:groupname foldername

eg; chown -R testuser:testgroup conf.

After this try running JBoss server using run.bat from JBoss/Bin folder.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Prathamesh, the commands you suggested using (chmod, chown) are not available on Windows. And even if you have cygwin installed I would not advocate using them because Windows access control is so much different from that of *nix.
Prathamesh Mhatre
Greenhorn

Joined: Nov 10, 2009
Posts: 5
Yes.These commands aren't available in Windows.
I get these errors in Unix whenever I do some fresh deployment as internally access rights get changed after starting JBoss.

Also I wasnt able to spot test.keystore file(The file for which the exception is coming) under \server\default\conf in JBoss(in Both Unix and Windows ) .
The version I use is jboss-4.2.1.GA.
Is this some new file added for version jboss-4.2.2.GA??

Also what I can suggest is although even if its windows platform may be the owner of JBoss installed files is different and account being used for starting JBoss has limited privileges.
In this case it could be resolved by Windows access management as well.


Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

Prathamesh Mhatre wrote:

Also I wasnt able to spot test.keystore file(The file for which the exception is coming) under \server\default\conf in JBoss(in Both Unix and Windows ) .
The version I use is jboss-4.2.1.GA.
Is this some new file added for version jboss-4.2.2.GA??



That's not a file shipped by JBoss. It looks like the user edited the server.xml file to point to this non-existent test.keystore and hence this error.


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is thios ERROR