• 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

user creation in weblogic 8.1 and weblogic 10.3

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

We have our application deployed in weblogic 8.1 and it works fine. I tried with deploying it on weblogic 10.3. It is failing with the error message cannot resovle role-name : ges_user.
I created the user ges_user as I did in weblogic 8.1. But it is throwing the error.

Please let me know if I have to do anything differently in weblogic 10.3 with respect user creation.

Entry in web.xml
<run-as>
<role-name>ges_user</role-name>
</run-as>
</servlet>



Entry in weblogic-ejb-jar.xml
<security-role-assignment>
<role-name>ges_user_group</role-name>
<principal-name>ges_user</principal-name>
</security-role-assignment>



Entry in ejb-jar.xml
<security-identity>
<run-as>
<role-name>ges_user_group</role-name>
</run-as>
</security-identity>
</message-driven>


Exception log:
caused by: weblogic.management.DeploymentException: Cannot resolve role-Name ges_user

at weblogic.servlet.security.internal.WebAppSecurity.getRunAsPrincipalName(WebAppSecurity.java:421)
at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1454)
at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1407)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1185)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1120)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:910)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)


I tried creating the group ges_user_group and assinging the user ges_user. ges_user_group is added to the membership of administrators.
2. I tried creating the user ges_user and addign teh group Administrator. In weblogic 8.1 I haven't given any group to that user but it works.
3. I also tried creating teh user ges_user_group.

Thanks
Praveena
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

Its saying the Exception : not Resolving : " role-Name" but you mention the tags as ' role-name' .

try to Resolve by Replacing the role-Name ( may be in Deployment-plan ) into role-name.

send the Feedback ... how you resolve the Issue .


Thanks.
 
Live ordinary life in an extraordinary way. Details embedded in this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic