openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gurkan Erdogdu <>
Subject Re: How to run the ejb-sample?
Date Tue, 10 Aug 2010 09:13:00 GMT
Which version you use for Tomcat? If you use Tomcat 7, in Tomcat 7 role names of 
manager applications have changed

Examples work for Tomcat 6 stack. Put the following into conf/tomcat-users.xml

<role rolename="manager"/>
<user username="admin" password="" roles="manager"/>



From: Lu Jiang <>
Sent: Tue, August 10, 2010 11:46:51 AM
Subject: Re: How to run the ejb-sample?

Hi Gurkan
Thanks a lot for your guidance!
But I  got trapped in step6 now,when running "mvn clean
tomcat:deploy".It will result in a BUILD ERROR.
[INFO] Deploying war to http://localhost:8080/ejb-sample
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Cannot invoke Tomcat manager

Embedded error: Server returned HTTP response code: 401 for URL:

I have set user name and password for
http://localhost:8080/manager/html in tomcat-users.xml. Do I need to
configure somewhere,then it's authorized to visit
http://localhost:8080/manager? Thanks in advance!

View raw message