I was unable to access java web application with static ip(public ip) of Windows Server it was getting that site cant be reached,
but it was working with local IP.
This is the first time i am deploying my java web application in windows server, I exported the WAR from eclipse and deployed in Apache tomcat server of Windows Server.
Please help me how to deploy in live windows server. and what is the process to deploy in live windows server.
Thanks
I found the solution for this question, the issue is that, the port i have given in tomcat, the same port is running on some other application, so i have change the port then it works fine.
Related
I am using tomcat 7.0.8 in windows server 2008 remote machine(using it a server machine). Where I have hosted my java webapp running on port 80.
I start the tomcat server by running the startup.batch file. The issue is that the tomcat server shutdowns automatically whenever logoff from remote machine and not using the application for sometime like 30-40mins. I even disabled the tomcat shutdown 8005 but still the problem persists.
Please help me to solve this.
Thank you.
I am kind of a newbie on server, environment stuff, so I need help on setting up a new Tomcat server.
Actually I have installed one instance and it is running already on my dedicated server, but I can't access it's main page, so it is made possible to deploy my apps.
These are the internet proccess in the server. Tomcat is running on port 8080. I tried to access it by IP:8080 and it doesn't work
So is there some extra configuration on a dedicated server to be made? Some security stuff?
I am a .NET Developer trying to learn Java. I have created a simple CRUD based EJB application and it works in Netbeans.
I am trying to add a remote Glassfish server (installed on another PC) to Netbeans so that I can deploy the application (EJBs) from Netbeans. Think of the remote server as a live server (though it is not).
Is it possible to add a remote Glassfish server to Netbeans 7.4. It only seems to allow you to add a local instance.
Assuming you have done asadmin enable-secure-admin (etc) on your remote server, the only way I have found is to remotely mount the (physical) server and then you can point Netbeans at the glassfish directory on the remotely mounted server.
So I've been doing a java webservice in Eclipse in which I have launched on a localhost tomcat from Eclipse. This has worked very good as long as I've been connecting to the tomcat started from Eclipse.
However now I want to try deploy it on my tomcat separated from Eclipse but still on localhost. So I exported my web project to a .war file and deployed it with the tomcat manager app. However now I cant reach it from my client any longer. I'm running the tomcat on port 8080, just as my Eclipse tomcat did. BUT I can go to a reasource URL from my web browser and receive proper information, so the service is running(which the manager app is saying as well).
The client is a android device connected to the same network. The service fetches information from a MySQL database on the same machine. This connection worked fine before exporting it to war on my other tomcat
What am I doing wrong here? Just ask if you need any further information!
Ok so after testing I found it strange that I got connection time-outs and not something else. It also took at least 10 seconds before any feedback occurred. Sooo it felt like a firewall problem which indeed it was.
First I needed to portforward the tomcat port in my router to the machine ip that was hosting it. Then I remembered I had Windows firewall on that very machine which was also blocking conenctions on that port. So I allowed connections on tomcat port and BAM! It worked.
Thanks for all your comments, of course I should have thought about opening my ports before coming here.
I have a linux server where tomcat server is installed I can access it by http://omx.td.com:8080 from my LAN. I have 20 computers in LAN and 16 developer for a enterprise project which is deployed on that tomcat server. In each machine eclipse is installed.
I want my developers will work on that project not creating any local instance of tomcat or I dont want local project like every machine should be installed with tomcat.
Can anyone please help me how to setup this centralized environment ?
I have tried with eclipse remote debug on tomcat but no luck.
I want my developers should update on the same single server.
Please help !!!
Thanks
While I concur with user1291492 about source control, you had specific requirements. In each developer's eclipse machine,
Click Window/Show View/Servers
Right-click in the servers pane (window):
New/Server
From the List, click on Apache, then click on the tomcat that's on the server.
For server's host name, type the ip address of the server.