0

Currently I'm trying to install Mobile First Server on VM and Mobile First Studio on local machine.

I started with Mobile Server Installation, For this I followed this link. I'm facing an issue at Step 5(b) i.e Unable to open application center console. http://localhost:9080/appcenterconsole/.

Error 404: com.ibm.ws.webcontainer.servlet.exception.NoTargetForURIException: No target servlet configured for uri: /appcenterconsole

Idan Adar
  • 44,156
  • 13
  • 50
  • 89
  • Have you restarted Liberty after you did run Install Manager ? If yes, do you have an error in the Liberty log ? (usr/servers//logs/message.log ) – Didier Vidal Sep 18 '15 at 11:12
  • @DidierVidal Here is the message.log file https://www.dropbox.com/s/o8e0911z91azozf/messages.log?dl=0 – Vinod Kumar Marupu Sep 18 '15 at 11:29
  • Your Liberty server failed to open 8080 - com.ibm.ws.tcpchannel.internal.TCPPort E CWWKO0221E: TCP Channel defaultHttpEndpoint initialization did not succeed. The socket bind did not succeed for host * and port 9080. The port might already be in use. – Didier Vidal Sep 18 '15 at 11:38
  • So you probably have another instance of Liberty running. That's why you could not see the apps you installed. – Didier Vidal Sep 18 '15 at 11:39
  • I meant Liberty failed to open 9080. – Didier Vidal Sep 18 '15 at 11:49
  • @Didier Vidal 9080 port is free, no other application using this port number. – Vinod Kumar Marupu Sep 18 '15 at 12:00
  • What happens if you stop your liberty server and go to http://localhost:9080 ? If you see a Liberty screen it means that there is another instance of liberty running. – Didier Vidal Sep 18 '15 at 12:50
  • @Didier Vidal Error 404: com.ibm.ws.webcontainer.servlet.exception.NoTargetForURIException: No target servlet configured for uri: / – Vinod Kumar Marupu Sep 18 '15 at 13:10
  • This error means that there is someone (Liberty) listening to that port. It's a Java exception that you have. – Didier Vidal Sep 18 '15 at 15:19
  • @VinodKumarMarupu, does this still happen after killing the Java process and start the server, or after a re-start of the host machine? – Idan Adar Sep 20 '15 at 21:01
  • @Idan Adar, Still it is same after restarting VM. – Vinod Kumar Marupu Sep 21 '15 at 11:56
  • You need to talk with whomever is controlling your VM machine. The log file clearly states that port 9080 is already taken. You need to understand what in your network setup has taken it despite thinking that nothing has taken it. – Idan Adar Sep 21 '15 at 12:04
  • That, or use a different port in server.xml – Idan Adar Sep 21 '15 at 12:11

1 Answers1

1

Despite the mentioned in the comments, the logs clearly state that the port is taken.

My suggestion is to edit the server.xml file to use different HTTP and HTTPS ports instead of the default ones.

Idan Adar
  • 44,156
  • 13
  • 50
  • 89
  • To do this, edit server.xml and change both HTTP and HTTPS ports by replacing by Then restart the server and use this test URL: http://localhost:9081/appcenterconsole/. – Didier Vidal Sep 22 '15 at 07:48