This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have an ear which contains several ejb jar and one war file. In the war file we have defined references to some ejb inside the web.xml. The problem is when I am deploying the ear into Oracle App Server its working fine but as soon as I deploy it into JBoss 5.0.1 GA it throws error.
There is no file such as users.properties or defaultUsers.properties. I made following entry into standardjboss.xml to solve this problem, but its of no use
There is no such file in the ear and the ear is working fine when I deploy that into Oracle App Server. I tried over google too but didnt find any satisfactory answer to why this error is coming.
What kind of file you want me to add and what should be its content?
You are using UsersRolesLoginModule which expects a users.properties and a roles.properties in your application classpath (usually packaged within the application). Do you have one? If not, see this for some details.
The last list of "errors" you posted is the deployment report that the deployer prints out at the end of deployment phase. This report rarely provides any information on root causes. You should instead look for the first ERROR log entry in the console log or in server.log and post that ERROR entry, including the full stack trace. Including the dozen or some lines from before the ERROR entry sometimes also helps.
There is no other error in the server.log as well as in boot.log. The logging level is DEBUG and I have investigated it thoroughly. The error shows only in the deployment report that the deployer prints out at the end of deployment phase. Please suggest.