I have a webapp running in tomcat, i need to build a website in joomla and would like to install xampp on that same server (Windows Server 2012) to run the site and the database, is this possible without affecting the Tomcat installation?
Sure it is. Tomcat uses port 8080 by default, while the Apache web server uses 80.
Related
I have a Vaadin and Spring Boot app that runs in the Tomcat instance on a local server.
Whenever I deploy it to the Tomcat instance on a virtual server hosted by a provider, I get a 404 and the application log isn't created. There are no errors in any Tomcat logs and Tomcat manager shows the app as running.
I've deployed another Vaadin / Spring Boot app to that same Tomcat instance that's just a static html page and it both runs and creates an application log. I've ran the app on an old mac with the same amount of memory as the virtual server just to rule out a memory issue.
Both my local server and the virtual server are running Debian with the same versions of Java and Tomcat. The only software difference I'm aware of is my local server is Debian 10 and the virtual server is Debian 9. No other software has been installed except UFW which is disabled.
The virtual server has no other firewalls. I tried adding a static html page to the project root, and that gives a 404 too.
I assume any careless errors in coding and configuration are automatically ruled out by the fact that it runs on a local server. How do I debug this?
I upgraded Tomcat server from 8.0 to 8.5. The web server is IIS. Binding in IIS server was www.test.abcurl.com for port 80. The application URL is http://test.abcurl.com.
After the upgrade, http://test.abcurl.com returns 500 internal server error.
But,
1) http://test.abcurl.com:8080 works
2) I changed the binding from www.test.abcurl.com to test.abcurl.com in IIS and http://test.abcurl.com started working.
Both 1) and 2) puzzle me. How is this related to Tomcat upgrade to 8.5? Please help to enlighten.
P.S: I had also tried changing connector port to 80 in server.xml initially, which did not work.
I have developed a Jooby-Application which is hosted on a netty server. I can access the application on localhost and tests were fine. Now I want to make the app accessable over internet and dont know what is the best way to reach this goal?
The complete application is hosted on a Windows Server, because it uses Excel. (Read/Write over Apache POI. For macros it has to be Windows) Should I try to connect the running netty-server with IIS or can I just forward the requests from outside to localhost? The last mentioned approach propably is a bad idea regarding security issues.
It works with reverse proxy over IIS. I had to install some features like Application Request Routing and URL Rewrite. Then I can start the jooby application (netty server) as usual on a specific port at localhost and set a reverse proxy to it.
I am not sure why being on a window is necessary, anyways, Netty is just a Java network programming framework, it can run on any platform where Java is installed.
You need to host a server, you can buy a VPS, install windows as OS, install Java, you can run your application as you like.
What I understand is you need to test it, for that you can use any port forwarding service like https://pagekite.net/support/intro/features/ to enable "world access" to localhost
I have a Mac running a CentOS VM. I successfully installed Neo4j and was able to start the server ([API] Remote interface ready and available at [http://0.0.0.0:5000/]).
I also uncommented the line org.neo4j.server.webserver.address=0.0.0.0 in the neo4j-server.properties file. I changed the webserver port from 7474 to 5000 (org.neo4j.server.webserver.port=5000) since I know for sure that the port works - as I run Flask web-apps on CentOS and view the UI on Mac by putting http://<vm-ip-address>:5000/on Chrome (I made sure the Flask process is stopped and no one is using that port). But this is not working for the Neo4j local server as I keep getting This webpage is not available for both 7474 and 5000. Am I missing something ?
i hosted an apache server by changing few details in the httpd.conf file, used this tutorial. i also did port forwarding so that the server is able to respond behind the wireless router (firewall), it worked completely fine ( i checked by typing the ip and port number from some other host outside the network). now i am trying to run servlets for which i need tomcat server. i have installed tomcat but i am unable to access the server from another host that is not on the same network. could somebody please guide as to how can i achieve this.
I guess I would go with The Apache-Tomcat Connector and use it to connect your new tomcat instance to your Apache.
I did the same thing just as I for apache server, except that I changed the listening port to something else. added that entry in the router. incorporated tomcat in eclipse and then started the sample project. using whatismyip.com, i got the ip address. i could access my webserver from elsewhere...