2 Replies Latest reply on Apr 27, 2008 11:25 AM by jaikiran pai

    Jboss 4.2.2 installation

    aneesh vasanthan Newbie

      I've downloaded a jboss4.2.2 ga server and configured it to run in the all configuration.

      ===============================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: C:\Documents and Settings\testuser\Desktop\jboss-4.2.2.GA

      JAVA: C:\Program Files\Java\jdk1.5.0_03\bin\java

      JAVA_OPTS: -Djboss.partition.name=TestPartition -Djboss.partition.name=Te
      tPartition -Djboss.partition.name=TestPartition -Djboss.partition.name=TestPa
      tition -Djboss.partition.name=TestPartition -Dprogram.name=run.bat -server -X
      s128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcI
      terval=3600000

      CLASSPATH: C:\Program Files\Java\jdk1.5.0_03\lib\tools.jar;C:\Documents and S
      ttings\testuser\Desktop\jboss-4.2.2.GA\bin\run.jar

      ===============================================================================

      12:28:12,312 INFO [Server] Starting JBoss (MX MicroKernel)...
      12:28:12,312 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag
      JBoss_4_2_2_GA date=200710221139)
      12:28:12,312 INFO [Server] Home Dir: C:\Documents and Settings\testuser\Deskto
      \jboss-4.2.2.GA
      12:28:12,312 INFO [Server] Home URL: file:/C:/Documents and Settings/testuser/
      esktop/jboss-4.2.2.GA/
      12:28:12,312 INFO [Server] Patch URL: null
      12:28:12,312 INFO [Server] Server Name: all
      12:28:12,312 INFO [Server] Server Home Dir: C:\Documents and Settings\testuser
      Desktop\jboss-4.2.2.GA\server\all
      12:28:12,312 INFO [Server] Server Home URL: file:/C:/Documents and Settings/te
      tuser/Desktop/jboss-4.2.2.GA/server/all/
      12:28:12,312 INFO [Server] Server Log Dir: C:\Documents and Settings\testuser\
      esktop\jboss-4.2.2.GA\server\all\log
      12:28:12,328 INFO [Server] Server Temp Dir: C:\Documents and Settings\testuser
      Desktop\jboss-4.2.2.GA\server\all\tmp
      12:28:12,328 INFO [Server] Root Deployment Filename: jboss-service.xml
      12:28:12,562 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.
      12:28:12,562 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_03-b0
      ,Sun Microsystems Inc.
      12:28:12,578 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      12:28:13,093 INFO [Server] Core system initialized
      12:28:15,734 INFO [WebService] Using RMI server codebase: http://127.0.0.1:808
      /
      12:28:15,734 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resou
      ce:jboss-log4j.xml
      12:28:16,125 INFO [TransactionManagerService] JBossTS Transaction Service (JTA
      version) - JBoss Inc.
      12:28:16,125 INFO [TransactionManagerService] Setting up property manager MBea
      and JMX layer
      12:28:16,312 INFO [TransactionManagerService] Starting recovery manager
      12:28:16,421 INFO [TransactionManagerService] Recovery manager started
      12:28:16,421 INFO [TransactionManagerService] Binding TransactionManager JNDI
      eference
      12:28:19,390 INFO [EJB3Deployer] Starting java:comp multiplexer
      12:28:20,562 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is 10.100.45.36:2531
      -------------------------------------------------------
      12:28:22,656 INFO [TreeCache] viewAccepted(): [10.100.45.40:2309|1] [10.100.45
      40:2309, 10.100.45.36:2531]
      12:28:22,671 INFO [TreeCache] TreeCache local address is 10.100.45.36:2531
      12:28:22,687 INFO [TreeCache] received the state (size=1024 bytes)
      12:28:22,703 INFO [TreeCache] state was retrieved successfully (in 32 millisec
      nds)
      12:28:22,703 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty
      12:28:22,812 INFO [STDOUT] no object for null
      12:28:22,828 INFO [STDOUT] no object for null
      12:28:22,843 INFO [STDOUT] no object for null
      12:28:22,859 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
      12:28:22,875 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
      12:28:24,609 INFO [NativeServerConfig] JBoss Web Services - Native
      12:28:24,609 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=2007102
      0837)
      12:28:25,265 INFO [SnmpAgentService] SNMP agent going active
      12:28:25,796 INFO [TestPartition] Initializing
      12:28:25,859 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is 10.100.45.36:2537
      -------------------------------------------------------
      12:28:27,921 INFO [TestPartition] Number of cluster members: 2
      12:28:27,921 INFO [TestPartition] Other members: 1
      12:28:27,937 INFO [TestPartition] Fetching state (will wait for 30000 millisec
      nds):
      12:28:29,250 INFO [TestPartition] state was retrieved successfully (in 1313 mi
      liseconds)
      12:28:29,312 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, ba
      klog=50, bindAddress=/127.0.0.1
      12:28:29,312 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /1
      7.0.0.1:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100
      12:28:29,484 INFO [TreeCache] No transaction manager lookup class has been def
      ned. Transactions cannot be used
      12:28:29,609 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is 10.100.45.36:2544
      -------------------------------------------------------
      12:28:31,656 INFO [TreeCache] viewAccepted(): [10.100.45.40:2320|1] [10.100.45
      40:2320, 10.100.45.36:2544]
      12:28:31,656 INFO [TreeCache] TreeCache local address is 10.100.45.36:2544
      12:28:31,906 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is 10.100.45.36:2549
      -------------------------------------------------------
      12:28:33,968 INFO [TreeCache] viewAccepted(): [10.100.45.40:2324|1] [10.100.45
      40:2324, 10.100.45.36:2549]
      12:28:33,968 INFO [TreeCache] TreeCache local address is 10.100.45.36:2549
      12:28:34,406 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F
      D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E30000000
      0000200000000000000F4000102000000000A3132372E302E302E31000DC8000000114A426F7373
      F4E616D696E672F726F6F74000000000000050000000000000008000000004A4143000000000100
      0001C00000000000100010000000105010001000101090000000105010001000000210000007000
      00000000000010000000000000024000000200000007E00000000000000010000000D31302E3130
      02E34352E333600000DC90040000000000008060667810201010100000017040100080606678102
      101010000000764656661756C740000000000000000000000000000000000000000200000000400
      000000000001F000000040000000300000001000000200000000000000002000000200000000400
      000000000001F0000000400000003]
      12:28:34,468 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000
      00003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E4661637
      6F72794578743A312E30000000000200000000000000F4000102000000000A3132372E302E302E3
      000DC8000000144A426F73732F5472616E73616374696F6E732F460000000500000000000000080
      0000004A414300000000010000001C0000000000010001000000010501000100010109000000010
      010001000000210000007000000000000000010000000000000024000000200000007E000000000
      0000010000000D31302E3130302E34352E333600000DC9004000000000000806066781020101010
      0000170401000806066781020101010000000764656661756C74000000000000000000000000000
      0000000000002000000004000000000000001F00000004000000030000000100000020000000000
      0000020000002000000004000000000000001F0000000400000003]
      12:28:34,781 INFO [Embedded] Catalina naming disabled
      12:28:34,921 INFO [AprLifecycleListener] The Apache Tomcat Native library whic
      allows optimal performance in production environments was not found on the jav

      .library

        • 1. Re: Jboss 4.2.2 installation
          aneesh vasanthan Newbie

          NDOWS;C:\windows\system32;C:\Program Files\Java\jdk1.5.0_03\bin
          12:28:35,000 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.
          .1-8080
          12:28:35,000 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8
          09
          12:28:35,000 INFO [Catalina] Initialization processed in 228 ms
          12:28:35,000 INFO [StandardService] Starting service jboss.web
          12:28:35,000 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
          12:28:35,046 INFO [Catalina] Server startup in 48 ms
          12:28:35,156 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-
          eb.deployer/ROOT.war/
          12:28:35,781 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy
          httpha-invoker.sar/invoker.war/
          12:28:35,953 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy
          jbossws.sar/jbossws-context.war/
          12:28:36,093 INFO [TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/j
          ddi-service.sar/juddi.war/
          12:28:36,187 INFO [RegistryServlet] Loading jUDDI configuration.
          12:28:36,187 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.prop
          rties
          12:28:36,187 INFO [RegistryServlet] Initializing jUDDI components.
          12:28:36,859 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../de
          loy/management/console-mgr.sar/web-console.war/
          12:28:37,484 INFO [MailService] Mail Service bound to java:/Mail
          12:28:37,718 INFO [RARDeployment] Required license terms exist, view META-INF/
          a.xml in .../deploy/jboss-ha-local-jdbc.rar
          12:28:37,750 INFO [RARDeployment] Required license terms exist, view META-INF/
          a.xml in .../deploy/jboss-ha-xa-jdbc.rar
          12:28:37,781 INFO [RARDeployment] Required license terms exist, view META-INF/
          a.xml in .../deploy/jboss-local-jdbc.rar
          12:28:37,796 INFO [RARDeployment] Required license terms exist, view META-INF/
          a.xml in .../deploy/jboss-xa-jdbc.rar
          12:28:37,843 INFO [RARDeployment] Required license terms exist, view META-INF/
          a.xml in .../deploy/jms/jms-ra.rar
          12:28:37,875 INFO [RARDeployment] Required license terms exist, view META-INF/
          a.xml in .../deploy/mail-ra.rar
          12:28:37,906 INFO [RARDeployment] Required license terms exist, view META-INF/
          a.xml in .../deploy/quartz-ra.rar
          12:28:37,921 INFO [QuartzResourceAdapter] start quartz!!!
          12:28:37,984 INFO [SimpleThreadPool] Job execution threads will use class load
          r of thread: main
          12:28:38,015 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
          12:28:38,015 INFO [RAMJobStore] RAMJobStore initialized.
          12:28:38,015 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzSchedul
          r' initialized from default resource file in Quartz package: 'quartz.properties

          12:28:38,015 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
          12:28:38,015 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLU
          TERED started.
          12:28:38,156 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'j
          oss.jca:service=DataSourceBinding,name=evosDataSource' to JNDI name 'java:evosD
          taSource'
          12:28:38,609 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'j
          oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
          12:28:38,843 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'j
          oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
          12:28:39,140 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'j
          oss.jca:service=DataSourceBinding,name=jdbc/ngaaORAJDBC' to JNDI name 'java:jdb
          /ngaaORAJDBC'
          12:28:39,156 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'j
          oss.jca:service=DataSourceBinding,name=SmsCpJDBC' to JNDI name 'java:SmsCpJDBC'
          12:28:39,156 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'j
          oss.jca:service=DataSourceBinding,name=iLoyaltyDataSource' to JNDI name 'java:i
          oyaltyDataSource'
          12:28:39,171 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'j
          oss.jca:service=DataSourceBinding,name=UPNDS' to JNDI name 'java:UPNDS'
          12:28:39,187 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'j
          oss.jca:service=DataSourceBinding,name=OracleDS' to JNDI name 'java:OracleDS'
          12:28:39,203 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../de
          loy/jmx-console.war/
          12:28:39,500 INFO [TomcatDeployer] deploy, ctxPath=/testEpps, warUrl=.../tmp/d
          ploy/tmp55231testEpps-exp.war/
          12:28:39,640 INFO [TomcatDeployer] deploy, ctxPath=/testSms, warUrl=.../tmp/de
          loy/tmp55232testSms-exp.war/
          12:28:39,750 INFO [EARDeployer] Init J2EE application: file:/C:/Documents and
          ettings/testuser/Desktop/jboss-4.2.2.GA/server/all/farm/ngaa.ear
          12:28:40,421 INFO [EjbModule] Deploying CommonEJB
          12:28:40,468 INFO [EjbModule] Deploying SystemAdministratorEJB
          12:28:40,812 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CommonEJB' to j
          di 'local/CommonEJB@7643448'
          12:28:40,812 INFO [ProxyFactory] Bound EJB Home 'CommonEJB' to jndi 'CommonEJB

          12:28:40,828 INFO [ProxyFactory] Bound EJB Home 'SystemAdministratorEJB' to jn
          i 'SystemAdministratorEJB'
          12:28:40,843 INFO [EJBDeployer] Deployed: file:/C:/Documents and Settings/test
          ser/Desktop/jboss-4.2.2.GA/server/all/tmp/deploy/tmp55233ngaa.ear-contents/ngaa
          jar
          12:28:40,875 INFO [TomcatDeployer] deploy, ctxPath=/ngaa, warUrl=.../tmp/deplo
          /tmp55233ngaa.ear-contents/ngaa-exp.war/
          12:28:41,015 INFO [EARDeployer] Started J2EE application: file:/C:/Documents a
          d Settings/testuser/Desktop/jboss-4.2.2.GA/server/all/farm/ngaa.ear
          12:28:41,156 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-
          080
          12:28:41,218 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
          12:28:41,234 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBo
          s_4_2_2_GA date=200710221139)] Started in 28s:906ms


          I'm able to access my apps with the url
          http://localhost:8080/web-context

          When i tried with my machine ip itz not working..
          http://ip-add:8080/web-context


          Is it becoz of the tomcat native library missing...?

          Any help is appreciated......

          • 2. Re: Jboss 4.2.2 installation
            jaikiran pai Master

            Use the -b option to start JBoss. See this for more details http://wiki.jboss.org/wiki/JBoss42FAQ