Web app deployed in JBOSS access via LAN/WiFi - jboss

I'm new to this server stuff, a web app is deployed on jboss-eap-6.4 and it works fine on localhost. Tried to access the webapp as (192.168.XXX.XXX:8080/myapp) through lan (WiFi) but end with Connection timeout. Is there any configurations to do with jboss server ?
Please, help me to resolve this. Thanks !

Related

tomcat localhost url return ERR_CONNECTION_REFUSED

I developed a spring MVC app in eclipse and trying to test in my laptop tomcat localhost. This URL works http://localhost:8080. It brings up the tomcat admin page. But when i call http://localhost:8080/mywebsite, as part of spring security port mapping it forwards to https://localhost:8443/mywebsite, but i get
This site can’t be reached
localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
This is definitely not firewall issue, as i uninstalled all my antivirus, disabled firewall in windows defender
I have also changed the server location to "use tomcat installation" in eclipse
I have cleaned up deployment folder multiple times and reinstalled app and restarted server multiple times. The server started successfully i can see the logs
I am using tomcat 9 and JDK-19
I dont see any calls in access logs, only a 302 when it redirects from http://localhost:8080/mywebsite to https://localhost:8443/mywebsite
I have been trying this for 2 days and it wont budge an inch. I need help please
As #nitin pointed out in the comment above, I had not configured SSL connector. My bad I thought SSl cert is not needed for localhost testing. But it is required. I following the steps in
https://medium.com/beingcoders/setup-ssl-on-apache-tomcat-in-just-10-minutes-step-by-step-guide-706484094bb2

500 Error: Failed to establish a backside connection, on bluemix when connecting to Exchange web services

I have a Liberty Websphere application hosted on Bluemix that connects to Exchange Web Services. When I run this api on localhost it works fine and returns the desired results. But when I host it on bluemix, it returns the error
"500 Error: Failed to establish a backside connection"
No errors in the logs.
i have tried the solutions given in other posts and searched a lot on internet. But still not able to solve this issue.
Finally the problem is resolved. There was a configuration error in the application as my company's Bluemix server is on dev environment and the application was trying to connect to the prod environment.
When we connected using the dev IDs, from dev bluemix servers to dev exchange servers, the application works fine.

Setup Wicket application/JBoss Server to use my domain URL

I just purchased a domain Url from Google Domains and I'd like to have my localhost project (Wicket app. deployed on Jboss server) to use my new domain (example.com). I have looked online for a process on doing this, but seeing as this is a very specific instance, I cannot find the proper documentation. I have made my ip addr. static, added my external IP addr. to the Google Domain website (I think this registers my domain to my ip?), and I've edited the Window's Host file to point 127.0.0.1 to example.com. What am I missing here? Is there a configuration in my wicket project's web.xml or maybe a configuration in my JBoss server? I'm using Wicket 7.0.0 (latest) and JBoss 7.0. Any help would be greatly appreciated! Thanks in advance!
I am not an network expert, but you could check if you are receiving any traffic on your JBOSS server port without application deployed, just to make sure that your firewall or any sort of Antivirus is blocking incoming traffic or not.

List webservices in JBoss AS 4

I have some applications deployed in JBoss Application Server 4.
I need to know how to get a list of deployed web services in that application server ?
Is there any informations in the jmx-console?
thanks
You should see all deployed web services at: http://localhost:8080/jbossws/services. Update IP and port information in that address accordingly.

How do I troubleshoot a 404 error on a webapp accessed via apache vhost?

In my development system ( macos ) I have a webapp running in a jetty container on port 8080
Part of this webapp is a REST service
I can hit the REST service as follows
curl http://fake.hostname.com:8080/find/http%3A%2F%2Fwww.nfl.com
and I get the expected JSON result from this call.
Because on the server I am deploying on, I have an apache front end using ajp to route to tomcat, on my dev system I have an apache vhost routing to port 8080. This helps with testing some oauth dependencies where facebook redirects to a specific host URL.
The webapp works fine in this configuration except when I try and hit the service using
curl http://fake.hostname.com/find/http%3A%2F%2Fwww.nfl.com
Nothing is showing up in the jetty console reporting a proplem and I am getting a 404 response from apache.
Can anyone suggest how to troubleshoot such an issue? Or things I should look at?
note 1. I know the issue of using apache as a proxy to tomcat or jetty is contentious but given there are other apps already living on apache port 80 I’m not willing to run tomcat in its place.
note 2. the webapp is in scala using the lift framework.
Not really an answer to the exact question, but did you consider to use nginx as a proxy+load balancer? It's a de-facto standard, as far as I know.
Also, what's in the logs? tomcat-s logs, apache logs..