this application should come up by default (That means, we should get rid of /MySearch/SearchTopic
and also the port number. I already have an IP address that maps to www.mysearch.com
Thanks in advance
I'm able to deploy our application as default application now. As we are deploying our application as EAR file
I change the context path in application.xml as <context-root>/</context-root> and also updated the URL pattern in application web.xml to <url-pattern>/</url-pattern> from <url-pattern>/SearchTopic <url-pattern>
Now the issue we are facing
#1 On the Target server one application( deploy on different application server) is already
listening on port 80, so now requirment is that we have to configure our application on 8080 and it should be access with out specifying the port number in the URL like
You cannot bind two services for a same port for an IP address, however you can try configuring a Network Interface Card (NIC) where you can have two different IP addresses for the same machine.
If you want to bind to a specific network interface card (NIC), use
-bind_addr <IP-Address>, where <IP-Address> is the IP address of the NIC to which you want to bind. Use this parameter in both the sender and the receiver.
The request.getContextPath() would return ''" empty if the default context root is '/' according to the J2EE specs as the container does not decode this string.
I want to access my application without context root. I have renamed application as ROOT.war and deployed it and updated enable-welcome-root as "false" from "true". Am able to access the login page of my application, but moment i enter credentials and login i get "HTTP Status 404 - /favicon.ico". I don't konw where am going wrong. once i remove /favicon from URL and reload it, everything works normal. Please help me to resolve this problem. Help would be appreciated.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop