Where do you change the hostname(servername) for your application server. For example, if there is an application server JBoss which is running on local machine, port 8080 and is accessed using "http://localhost:8080/index.jsp, and if I want to change lets say to "http://www.myserver.com/index.jsp, how do i do this?
This is called "virtual hosting". You can find the instructions for doing this with JBoss 5.1 here.
Related
i want to install multiple instance of jboss fuse and then integrate each jboss instance with different environment .
eg suppose we have 6 SIT env then we need 6 different jboss fuse to be connected.
and suppose we have 10 different unix user on one server and jboss fuse is install on this server now how we can install fuse on each unix user.
can we create jboss domain same as web-logic domain?
Currently we have downloaded zip file of jboss fuse from red-hat site and unzip this file and do configuration changes per environment that is we unzip file in 6 different users and integrated to SIT env.
what is standard way of doing this?
The solution for this is
Fabric
with the help Fabric we can support multiple environment without any issue.
.
You can run multiple instances
for that you would require to change in etc\system.properties
Change port for below attribute
org.osgi.service.http.port=<Port> #Every Instance should have different port
If you accessing it via putty. It is better to change sshPort as well to prevent the conflict. in etc\org.apache.karaf.shell.cfg
sshPort=8107
Last thing you would require to change is RMI Server Port in etc\org.apache.karaf.management.cfg for each instance.
rmiServerPort = 44444
How do I check and set the URL and port number for JBoss 5? I have a existing JBoss installation in a zip file that I am trying to use. How do I find out what URL and port number I need to type in my browser to access it when it's running? How would I go about modifying this setting to change the URL and port number?
I'm running this in windows 7.
I solved my problem by finding in the file /jboss.5.1.0.ga/server/default/jbossweb.sar/server.xml the HTTP connector was commented out so it was using the AJP connector. I enabled the HTTP connector and was able to connect to jboss using the standard http://localhost:8080 address. I believe you can change the port number as well as the URL in this same area.
in my system i am using eclipse and tomcat server. I hav 3 different versions of tomcat servers.
But i am trying to run only one server at a time. But by default Already one server is running on port number 8080. When i am trying to start the tomcat server in 8081 port, the tomcat server is not getting start.
I have configured my tomcat home, and server.xml in eclipse properly. But I don't know what I am missing. please guide me.
It sounds like you don't have your port numbers defined and each tomcat instance is fighting to grab the port range first before the others.
Check your config file to make sure the port numbers are specified for each instance.
see how to change port in y=tomcat , may be you forgot to change some where
http://www.mkyong.com/tomcat/how-to-change-tomcat-default-port/
you can stop another tomcat service before you start your tomcat gets started , end process tomcatX(X is version) from task-manager
What is the default web container in JBoss 6? If what I read was correct, the answer to this question should be JBoss Web (the custom built web container based on Apache Tomcat).
Am I correct in understanding that JBoss 6 completely supports the Servlet 3.0 specification?
I want to make my web application deployed on my machine in JBoss 6 accessible to other machines on my network (LAN). How can I do this? Will passing -b 0.0.0.0 as a start argument suffice? What if I want to make my application accessible all over the internet (I don't really want to do this, but I am interested in knowing how)?
yes
yes since milestone 2
yes, -b 0.0.0.0 -- all over the internet: have your router forward port 80 or 8080 to your machine running AS 6
I'm trying to write a Servlet in eclipse configured to use Tomcat 5.5 and I get the following error when I try to run it:
Several ports (8080, 8009) required by Tomcat v5.5 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s)
As far as I know, Tomcat 5.5 is the one using port 8080, and when I go to http://localhost:8080 I do get the Tomcat success page, so it looks like eclipse tries to run another instance of Tomcat without shutting down the original and fails. How do I solve this?
like it says, something is using the port.
there are two solutions for your problem.
identify (on windows with netstat command) what is using the port (e.g. skype, ...) and stop it
change the port of your tomcat runtime in eclipse -> http://techteam.wordpress.com/2009/02/13/changing-the-tomcat-port-settings-in-eclipse/
hope this helps