I am working with some JEE web app using Apache TomEE
(apache-tomee-plus-1.5.2 on localhost) and trying to access these services
from links on TomEE's home page.

Now, I remember that earlier when I was starting with developing JEE apps, I
was deploying some simple exercises to TomEE server, apps were mostly about
some simple session beans and entities communicating with database. Then, I
have edited [tomee]/conf/tomcat-users.xml file, configured specific roles,
username and password (concretely username=tomee and password=tomee), and I
was able to go to localhost:8080/tomee (Tomcat GUI), sign in with these
credentials and I could see which beans are deployed to server, or which web
services are there.

Now, when I go to [tomee]/conf folder, there is tomcat-users.xml file and
there is also tomcat-users.xml.original (which is I believe automatically
generated file by TomEE at the moment when I had edited tomcat-users.xml)

In both these files, there are following lines:

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

In Eclipse, for server setting (Server Overview), option /Use Tomcat
installation/ is selected. Deploy path is set to: /wtpwebapps/. 

I am currently working with JEE webapp, that have several session beans and
entities, which I am persisting (wtih OpenJPA) to MySQL database. This app
is deployed to server using ant tool. Application files and folders are
included to *app.war*file, and then deployed to /[tomee]/webapps/ directory.
Application is working fine, I would like to know why can't I go to
*localhost:8080/tomee*, sign in and see deployed session beans?

You can see tomee's configuration file content above. Everytime I try to
sign in, I am getting message "Bad user or password. Please try again."
Why am I not able to access TomEE's services ("TomEE GUI", "Server Status",
"Manager App" and "Host Manager")?



--
View this message in context: 
http://openejb.979440.n4.nabble.com/Apache-TomEE-unable-to-access-TomEE-GUI-Server-Status-Manager-App-and-Host-Manager-services-tp4667582.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to