9 Replies Latest reply on Apr 5, 2010 2:31 AM by dorothy

    GateIn Portal does not come up

      Hi

       

      I have downloaded GateIn-3.0.0-GA-jbossas. Previously I had JBoss 4.3 installed on my machine. When I execute the run.bat file of GateIn, i continue to get JBoss 4.3 although I have modified all classpath entries. Could anyone please suggest how to get the gatein poral up and running? Attached are the messages I get when run.bat file is executed. I am running on a WINDOWS xp machine and java v6 update 19

        • 1. Re: GateIn Portal does not come up
          theute

          It's because your JBOSS_HOME environment variable still points to 4.3

          • 2. Re: GateIn Portal does not come up

            No, as I mentioned I have changed all my environment variables. JBOSS_HOME points to GateIn only

            • 3. Re: GateIn Portal does not come up
              theute

              Ah I missed the stacktrace:

               

              12:33:42,250 ERROR [Naming] Could not start on port 1099
              java.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

               

              • 4. Re: GateIn Portal does not come up

                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.

                 

                Thanks

                • 5. Re: GateIn Portal does not come up
                  theute

                  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:

                  $GATEIN_HOME/server/default/conf/gatein/configuration.properties

                   

                  the "gatein" name here is defined in run.conf.bat (last line)

                  set "JAVA_OPTS=%JAVA_OPTS% -Dexo.conf.dir.name=gatein"
                  
                  • 6. Re: GateIn Portal does not come up
                    theute

                    You should also try to remove the space in the path:

                    E:/SoftwareLib/Portal%20Servers

                    1 of 1 people found this helpful
                    • 7. Re: GateIn Portal does not come up

                      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
                      JAVA_OPTS="$JAVA_OPTS -Dexo.conf.dir.name=gatein"

                       

                      I also have a $GATEIN_HOME/server/default/conf/gatein/configuration.properties file.

                       

                      I'll remove the space from 'Portal Servers' and post back

                      • 8. Re: GateIn Portal does not come up
                        mstruk

                        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):

                         

                        jboss-jndi       1099/tcp

                         

                         

                        Save.

                         

                        From now on windows will avoid assigning this port to client sockets.

                         

                        - marko

                        • 9. Re: GateIn Portal does not come up

                          Hey Thanks, That worked...i made this entry 

                          jboss-jndi       1099/tcp

                           

                          in the services file and my portal server is up now. Thanks a lot