I need to host an Openfire XMPP Server in a Tomcat servlet container. Openfire itself uses an embedded Jetty Server. Is there any way to launch Openfire in a J2EE container to start it using Tomcat or any other way to accomplish that?
Related
I have an admin server and a managed server in my weblogic, and I have added the admin server(listening on 7001) in eclipse using weblogic tools suite and I can debug my applications which are on admin server. So now my question is I want to add the other managed server(listening on 7002) in my eclipse and want to debug the app's deployed on managed server. How can I achieve this functionality, is there a way that I can add managed server on to the servers tab in eclipse.
Is Apache Tomcat a web server or an application server?
Appache tomcat is only servlet container (as jetty). Real application server is Glassfish, Jboss...
Apache Tomcat is webserver with a servlet container. It is not full fledged application server like jboss or websphere. However, latest versions like tomcat 7 are more than the webserver. it is webcontainer.
I am trying to configure JBoss Web Server to connect to JBoss AS. We have a JBoss Web Server installed and configured on one machine, and JBoss AS installed and configured on another machine. How do i configure my JBoss Web Server so that when i call some url mapped to web server, it will redirect me to actual application deployed on JBoss AS. I tried to search on the web for the same, but couldn't find the specifics. This might be a very simple scenario, but i am novice in configuring it. Can somebody help me over here?
Depends on kind of application you have on your JBoss AS server: EJB or web application.
If this is EJB application then create EJB client in your Servlet or JSP page or Servlet Filter or whatever else is used on JBoss Web Server. That client would call EJB component on JBoss AS.
If on JBoss AS server you have also web application, then simply redirect request to the JBoss AS or
i've just created a web application and deployed it to Amazon EC2 , but now i want to create a java web service and deploy it to instance in Amazon AWS to be able to use it in my Application
There are many possible configurations. This can be one of them:
Start the application server (probably tomcat) with AJP enabled.
Use the apache HTTP server JK module to connect the webserver to the Tomcat application.
Deploy your web application on the application server and make it generate the WSDL using the external domain name or ip. For example: http://www.domain.com/application/service
Make sure that the Amazon firewall has the port 80 open for that instance.
If you use domain name, make your DNS point to that host.
Currently I have a Windows 2008 R2 server. On this server I have installed Glassfish 3.1. On my server, I also have a copy of Netbeans installed. I use Netbeans to develop a web service. I can get Netbeans to deploy the web service I have created correctly to Glassfish, but it deploys on localhost. Do I need to modify Glassfish or Netbeans so that the web service is deployed on the public ip address for the server and not local host?
Thanks
Glassfish in the standard configuration binds to all network interfaces (i.e. responds on all IP-numbers the machine has).
Hence, if you have deployed it to Glassfish on a machine you should be able to access it with an URL pointing to any of the machines names or IP-numbers.