tomee-admin is the needed role so:

<role rolename="tomee-admin" />
  <user username="wlad" password="123" roles="tomee-admin,manager-gui" />

would work

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/9/30 wlad <[email protected]>

> Romain Manni-Bucau wrote
> > Did you sign in?
> >
> > depending the version you can need to activate tomee user in
> > tomcat-users.xml -folder conf of tomee)
>
> Thanks for these tips, it is explained in "tomcat-users.xml" how to
> register
> a user, but I need advice.
> This is sample (wrapped in comments) user from "tomcat-users.xml":
>
>
>   <role rolename="tomcat"/>
>   <role rolename="role1"/>
>   <user username="tomcat" password="tomcat" roles="tomcat"/>
>   <user username="both" password="tomcat" roles="tomcat,role1"/>
>   <user username="role1" password="tomcat" roles="role1"/>
>
>   Activate those lines to get access to TomEE GUI
>
>   <role rolename="tomee-admin" />
>   <user username="tomee" password="tomee" roles="tomee-admin,manager-gui"
> />
>
> Now, I'm not sure about role tags. What should I put there? Lets say, that
> my username is "wlad" and password is "123", how can I register as user?
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/JNDI-LOOKUP-error-Cannot-open-input-stream-to-server-tp4665304p4665374.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to