• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

invoker-mbean missing

 
Ranch Hand
Posts: 128
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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



Any help would be appreciated.

Thanks,
Uttam Kumar
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you even look at he error messages? Here are the first two lines:



Apparently the web app is configured for access control but you haven't provided the necessary file.

By the way, always fix the first error before attempting to look at other errors because the first error might be causing the others.

 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Peter,

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?

Thanks,
Uttam Kumar
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jai/Peter,

Thanks for your input. I created the files user.properties and roles.properties and the first problem wiped out. Still I am getting the following problem while ear is getting deployed



As told earlier, I tried making an entry of entity-rmi-invoker into standardjboss.xml but the problem still persist. Please suggest.

Thanks,
Uttam Kumar
 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any guess ??
 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I even made the following entry into each jboss.xml still its of no use:


I am stuck. Please suggest.

Thanks,
Uttam Kumar
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Peter,

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.

Regards,
Uttam Kumar
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) Who's using that jboss:service=invoker,type=rmi?
2) Post your entire jboss.xml (with that invoker-proxy-binding that you added) and also the new logs which you see after adding that binding.
 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jai, here is the complete jboss.xml



The logs are same as I've already posted above.

Thanks,
Uttam Kumar
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Remove this:



By adding that you are telling the server to wait till a MBean with that name is deployed. I think you are after the unified invoker MBean, for which you have to use:



(For an example, search the standardjboss.xml in AS5.1 for jboss:service=invoker,type=unified).


 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So you mean that we can replace with and it will work perfectly.
 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, it resolved the error. Thanks Jai for your support.

Thanks,
Uttam Kumar
 
I just had the craziest dream. This tiny ad was in it.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic