openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gurkan Erdogdu <gurkanerdo...@yahoo.com>
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

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

Regards;


--Gurkan




________________________________
From: Lu Jiang <jessyever@gmail.com>
To: user@openwebbeans.apache.org
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] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot invoke Tomcat manager

Embedded error: Server returned HTTP response code: 401 for URL:
http://localhost:8080/manager/deploy?path=%2Fejb-sample&war=

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!



Mime
View raw message