It's because your JBOSS_HOME environment variable still points to 4.3
No, as I mentioned I have changed all my environment variables. JBOSS_HOME points to GateIn only
Ah I missed the stacktrace:12:33:42,250 ERROR [Naming] Could not start on port 1099java.net.BindException: Address already in use: JVM_Bind
You have 2 JBoss AS running on the same box, you can't do that unless you map all ports to different ones, see http://community.jboss.org/wiki/ConfiguringMultipleJBossInstancesOnOnemachine
I was reading another discussion on jboss forum that mentioned that MSOffice & Communicator will take up teh 1099 port, so we need to exit these and then start jboss. I did that but still my Gatein portal does not start but the stack trace that I get is different. Please find attached. further, I do not want to configure multiple instances of jboss. I just want the Gatein portal to be up on my machine.
mylog.txt.zip 175.4 KB
And you just unzipped and ran run.bat ?
You are missing a file which is zipped in the package, quiet weird.
You should also have a file:
the "gatein" name here is defined in run.conf.bat (last line)
set "JAVA_OPTS=%JAVA_OPTS% -Dexo.conf.dir.name=gatein"
1 of 1 people found this helpful
You should also try to remove the space in the path:
Yeah, I unzipped and ran run.bat. But there are no zipped files left in the package . The run.conf file has teh JAVA_OPTS set as below:
# GateIn configuration directory
I also have a $GATEIN_HOME/server/default/conf/gatein/configuration.properties file.
I'll remove the space from 'Portal Servers' and post back
It happens often that 1099 will be taken by a client socket of one of the applications - typically Internet Explorer.
To address this problem open C:\Windows\System32\drivers\etc\services file as an Administrator (Windows Start, type 'notepad', hover mouse over found Notepad icon, press Shift + Right mouse click, and select 'Run as administrator', then File/Open and copy C:\Windows\System32\drivers\etc\services into File name field)
Insert the following line into appropriate place (entries are ordered by port):
From now on windows will avoid assigning this port to client sockets.
Hey Thanks, That worked...i made this entry
in the services file and my portal server is up now. Thanks a lot