JBoss AS 5: starts but can't connect (Windows, remote)
Posted
by
Nuwan
on Server Fault
See other posts from Server Fault
or by Nuwan
Published on 2012-10-19T08:56:00Z
Indexed on
2012/10/20
11:05 UTC
Read the original article
Hit count: 682
Hello I installed Jboss 5.0GA and Its works fine in localhost.But I want It to access through remote Machine.Then I bind my IP address to my server and started it.This is the command I used
run.bat -b 10.17.62.63
Then the server Starts fine This is the console log when starting the server
> ===============================================================================
>
> JBoss Bootstrap Environment
>
> JBOSS_HOME: C:\jboss-5.0.0.GA
>
> JAVA: C:\Program Files\Java\jdk1.6.0_34\bin\java
>
> JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m
> -XX:MaxPermSize=25 6m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Ds un.rmi.dgc.server.gcInterval=3600000
>
> CLASSPATH: C:\jboss-5.0.0.GA\bin\run.jar
>
> ===============================================================================
>
> run.bat: unused non-option argument: ûb run.bat: unused non-option
> argument: 0.0.0.0 13:43:38,179 INFO [ServerImpl] Starting JBoss
> (Microcontainer)... 13:43:38,179 INFO [ServerImpl] Release ID: JBoss
> [Morpheus] 5.0.0.GA (build: SV NTag=JBoss_5_0_0_GA date=200812041714)
> 13:43:38,179 INFO [ServerImpl] Bootstrap URL: null 13:43:38,179 INFO
> [ServerImpl] Home Dir: C:\jboss-5.0.0.GA 13:43:38,179 INFO
> [ServerImpl] Home URL: file:/C:/jboss-5.0.0.GA/ 13:43:38,195 INFO
> [ServerImpl] Library URL: file:/C:/jboss-5.0.0.GA/lib/ 13:43:38,195
> INFO [ServerImpl] Patch URL: null 13:43:38,195 INFO [ServerImpl]
> Common Base URL: file:/C:/jboss-5.0.0.GA/common/
>
> 13:43:38,195 INFO [ServerImpl] Common Library URL:
> file:/C:/jboss-5.0.0.GA/comm on/lib/ 13:43:38,195 INFO [ServerImpl]
> Server Name: default 13:43:38,195 INFO [ServerImpl] Server Base Dir:
> C:\jboss-5.0.0.GA\server 13:43:38,195 INFO [ServerImpl] Server Base
> URL: file:/C:/jboss-5.0.0.GA/server/
>
> 13:43:38,210 INFO [ServerImpl] Server Config URL:
> file:/C:/jboss-5.0.0.GA/serve r/default/conf/ 13:43:38,210 INFO
> [ServerImpl] Server Home Dir: C:\jboss-5.0.0.GA\server\defaul t
> 13:43:38,210 INFO [ServerImpl] Server Home URL:
> file:/C:/jboss-5.0.0.GA/server/ default/ 13:43:38,210 INFO
> [ServerImpl] Server Data Dir: C:\jboss-5.0.0.GA\server\defaul t\data
> 13:43:38,210 INFO [ServerImpl] Server Library URL:
> file:/C:/jboss-5.0.0.GA/serv er/default/lib/ 13:43:38,210 INFO
> [ServerImpl] Server Log Dir: C:\jboss-5.0.0.GA\server\default \log
> 13:43:38,210 INFO [ServerImpl] Server Native Dir:
> C:\jboss-5.0.0.GA\server\defa ult\tmp\native 13:43:38,210 INFO
> [ServerImpl] Server Temp Dir: C:\jboss-5.0.0.GA\server\defaul t\tmp
> 13:43:38,210 INFO [ServerImpl] Server Temp Deploy Dir:
> C:\jboss-5.0.0.GA\server \default\tmp\deploy 13:43:39,710 INFO
> [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/j
> boss-5.0.0.GA/server/default/conf/bootstrap.xml 13:43:40,851 INFO
> [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.pl
> ugins.cache.IterableTimedVFSCache] 13:43:40,866 INFO
> [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifet
> ime=1800, resolution=60}] 13:43:41,616 INFO [CopyMechanism] VFS temp
> dir: C:\jboss-5.0.0.GA\server\defaul t\tmp 13:43:41,648 INFO
> [ZipEntryContext] VFS force nested jars copy-mode is enabled.
>
> 13:43:44,288 INFO [ServerInfo] Java version: 1.6.0_34,Sun
> Microsystems Inc. 13:43:44,288 INFO [ServerInfo] Java VM: Java
> HotSpot(TM) Server VM 20.9-b04,Sun Microsystems Inc. 13:43:44,288
> INFO [ServerInfo] OS-System: Windows XP 5.1,x86 13:43:44,569 INFO
> [JMXKernel] Legacy JMX core initialized 13:43:50,148 INFO
> [ProfileServiceImpl] Loading profile: default from: org.jboss
> .system.server.profileservice.repository.SerializableDeploymentRepository@e72f0c
> (root=C:\jboss-5.0.0.GA\server,
> key=org.jboss.profileservice.spi.ProfileKey@143b
> 82c3[domain=default,server=default,name=default]) 13:43:50,148 INFO
> [ProfileImpl] Using repository:org.jboss.system.server.profil
> eservice.repository.SerializableDeploymentRepository@e72f0c(root=C:\jboss-5.0.0.
> GA\server,
> key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,s
> erver=default,name=default]) 13:43:50,148 INFO [ProfileServiceImpl]
> Loaded profile: ProfileImpl@8b3bb3{key=o
> rg.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,na
> me=default]} 13:43:54,804 INFO [WebService] Using RMI server
> codebase: http://127.0.0.1:8083 / 13:44:12,147 INFO [CXFServerConfig]
> JBoss Web Services - Stack CXF Runtime Serv er 13:44:12,147 INFO
> [CXFServerConfig] 3.1.2.GA 13:44:29,788 INFO
> [Ejb3DependenciesDeployer] Encountered deployment AbstractVFS
> DeploymentContext@29776073{vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/myE-e
> jb.jar} 13:44:29,819 INFO [Ejb3DependenciesDeployer] Encountered
> deployment AbstractVFS
> DeploymentContext@29776073{vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/myE-e
> jb.jar} 13:44:29,819 INFO [Ejb3DependenciesDeployer] Encountered
> deployment AbstractVFS
> DeploymentContext@29776073{vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/myE-e
> jb.jar} 13:44:29,819 INFO [Ejb3DependenciesDeployer] Encountered
> deployment AbstractVFS
> DeploymentContext@29776073{vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/myE-e
> jb.jar} 13:44:37,116 INFO [JMXConnectorServerService] JMX Connector
> server: service:jmx
> :rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector 13:44:38,022
> INFO [MailService] Mail Service bound to java:/Mail 13:44:43,162 WARN
> [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RI SK. It
> has been detected that the MessageSucker component which sucks
> messages f rom one node to another has not had its password changed
> from the installation d efault. Please see the JBoss Messaging user
> guide for instructions on how to do this. 13:44:43,209 WARN
> [AnnotationCreator] No ClassLoader provided, using TCCL: org.
> jboss.managed.api.annotation.ManagementComponent 13:44:43,600 INFO
> [TransactionManagerService] JBossTS Transaction Service (JTA version)
> - JBoss Inc. 13:44:43,600 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 13:44:44,366 INFO
> [TransactionManagerService] Initializing recovery manager 13:44:44,678
> INFO [TransactionManagerService] Recovery manager configured
> 13:44:44,678 INFO [TransactionManagerService] Binding
> TransactionManager JNDI R eference 13:44:44,787 INFO
> [TransactionManagerService] Starting transaction recovery man ager
> 13:44:46,428 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on
> http-127.0.0 .1-8080 13:44:46,459 INFO [AjpProtocol] Initializing
> Coyote AJP/1.3 on ajp-127.0.0.1-80 09 13:44:46,459 INFO
> [StandardService] Starting service jboss.web 13:44:46,475 INFO
> [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.GA
> 13:44:46,616 INFO [Catalina] Server startup in 350 ms 13:44:46,709
> INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=manag
> ement/console-mgr.sar/web-console.war 13:44:48,553 INFO
> [TomcatDeployment] deploy, ctxPath=/juddi, vfsUrl=juddi-servi
> ce.sar/juddi.war 13:44:48,678 INFO [RegistryServlet] Loading jUDDI
> configuration. 13:44:48,694 INFO [RegistryServlet] Resources loaded
> from: /WEB-INF/juddi.prope rties 13:44:48,709 INFO [RegistryServlet]
> Initializing jUDDI components. 13:44:48,991 INFO [TomcatDeployment]
> deploy, ctxPath=/invoker, vfsUrl=http-invo ker.sar/invoker.war
> 13:44:49,162 INFO [TomcatDeployment] deploy, ctxPath=/jbossws,
> vfsUrl=jbossws.s ar/jbossws-management.war 13:44:49,475 INFO
> [RARDeployment] Required license terms exist, view vfszip:/C:
> /jboss-5.0.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
> 13:44:49,569 INFO [RARDeployment] Required license terms exist, view
> vfszip:/C:
> /jboss-5.0.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
> 13:44:49,741 INFO [RARDeployment] Required license terms exist, view
> vfszip:/C:
> /jboss-5.0.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
> 13:44:49,819 INFO [RARDeployment] Required license terms exist, view
> vfszip:/C:
> /jboss-5.0.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
> 13:44:49,912 INFO [RARDeployment] Required license terms exist, view
> vfszip:/C:
> /jboss-5.0.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
> 13:44:50,069 INFO [SimpleThreadPool] Job execution threads will use
> class loade r of thread: main 13:44:50,115 INFO [QuartzScheduler]
> Quartz Scheduler v.1.5.2 created. 13:44:50,131 INFO [RAMJobStore]
> RAMJobStore initialized. 13:44:50,131 INFO [StdSchedulerFactory]
> Quartz scheduler 'DefaultQuartzSchedule r' initialized from default
> resource file in Quartz package: 'quartz.properties'
>
> 13:44:50,131 INFO [StdSchedulerFactory] Quartz scheduler version:
> 1.5.2 13:44:50,131 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS TERED started. 13:44:51,194 INFO
> [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
> oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name
> 'java:DefaultDS' 13:44:51,819 WARN [QuartzTimerServiceFactory] sql
> failed: CREATE TABLE QRTZ_JOB
> _DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPT ION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT
> NULL, IS_DURABLE VARCHAR( 1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT
> NULL, IS_STATEFUL VARCHAR(1) NOT NULL, R EQUESTS_RECOVERY VARCHAR(1)
> NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAM E,JOB_GROUP))
> 13:44:51,912 INFO [SimpleThreadPool] Job execution threads will use
> class loade r of thread: main 13:44:51,928 INFO [QuartzScheduler]
> Quartz Scheduler v.1.5.2 created. 13:44:51,928 INFO [JobStoreCMT]
> Using db table-based data access locking (synch ronization).
> 13:44:51,944 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
> 13:44:51,944 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
> 13:44:51,944 INFO [JobStoreCMT] JobStoreCMT initialized. 13:44:51,944
> INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzSchedu
> ler' initialized from an externally provided properties instance.
> 13:44:51,959 INFO [StdSchedulerFactory] Quartz scheduler version:
> 1.5.2 13:44:51,959 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' st ate. 13:44:51,975 INFO [JobStoreCMT]
> Recovering 0 jobs that were in-progress at the time of the last
> shut-down. 13:44:51,975 INFO [JobStoreCMT] Recovery complete.
> 13:44:51,975 INFO [JobStoreCMT] Removed 0 'complete' triggers.
> 13:44:51,975 INFO [JobStoreCMT] Removed 0 stale fired job entries.
> 13:44:51,990 INFO [QuartzScheduler] Scheduler
> JBossEJB3QuartzScheduler_$_NON_CL USTERED started. 13:44:52,381 INFO
> [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started 13:44:52,569
> INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pa
> geSize=2000, downCacheSize=2000 13:44:52,584 INFO [QueueService]
> Queue[/queue/ExpiryQueue] started, fullSize=20 0000, pageSize=2000,
> downCacheSize=2000 13:44:52,709 INFO [ConnectionFactory] Connector
> bisocket://127.0.0.1:4457 has l easing enabled, lease period 10000
> milliseconds 13:44:52,709 INFO [ConnectionFactory]
> org.jboss.jms.server.connectionfactory.Co nnectionFactory@1a8ac5e
> started 13:44:52,725 WARN [ConnectionFactoryJNDIMapper]
> supportsFailover attribute is t rue on connection factory:
> jboss.messaging.connectionfactory:service=ClusteredCo nnectionFactory
> but post office is non clustered. So connection factory will *no t*
> support failover 13:44:52,725 WARN [ConnectionFactoryJNDIMapper]
> supportsLoadBalancing attribute is true on connection factory:
> jboss.messaging.connectionfactory:service=Cluste redConnectionFactory
> but post office is non clustered. So connection factory wil l *not*
> support load balancing 13:44:52,740 INFO [ConnectionFactory]
> Connector bisocket://127.0.0.1:4457 has l easing enabled, lease period
> 10000 milliseconds 13:44:52,740 INFO [ConnectionFactory]
> org.jboss.jms.server.connectionfactory.Co nnectionFactory@1d43178
> started 13:44:52,740 INFO [ConnectionFactory] Connector
> bisocket://127.0.0.1:4457 has l easing enabled, lease period 10000
> milliseconds 13:44:52,756 INFO [ConnectionFactory]
> org.jboss.jms.server.connectionfactory.Co nnectionFactory@52728a
> started 13:44:53,084 INFO [ConnectionFactoryBindingService] Bound
> ConnectionManager 'jb
> oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name
> 'java:JmsXA' 13:44:53,225 INFO [TomcatDeployment] deploy, ctxPath=/,
> vfsUrl=ROOT.war 13:44:53,553 INFO [TomcatDeployment] deploy,
> ctxPath=/jmx-console, vfsUrl=jmx-c onsole.war 13:44:53,975 INFO
> [TomcatDeployment] deploy, ctxPath=/TestService, vfsUrl=TestS
> erviceEAR.ear/TestService.war 13:44:55,662 INFO [JBossASKernel]
> Created KernelDeployment for: myE-ejb.jar 13:44:55,709 INFO
> [JBossASKernel] installing bean: jboss.j2ee:jar=myE-ejb.jar,n
> ame=RPSService,service=EJB3 13:44:55,725 INFO [JBossASKernel] with
> dependencies: 13:44:55,725 INFO [JBossASKernel] and demands:
> 13:44:55,725 INFO [JBossASKernel]
> jboss.ejb:service=EJBTimerService 13:44:55,725 INFO [JBossASKernel]
> and supplies: 13:44:55,725 INFO [JBossASKernel]
> jndi:RPSService/remote 13:44:55,725 INFO [JBossASKernel] Added
> bean(jboss.j2ee:jar=myE-ejb.jar,name=RP SService,service=EJB3) to
> KernelDeployment of: myE-ejb.jar 13:44:56,772 INFO
> [SessionSpecContainer] Starting jboss.j2ee:jar=myE-ejb.jar,na
> me=RPSService,service=EJB3 13:44:56,803 INFO [EJBContainer] STARTED
> EJB: com.monz.rpz.RPSService ejbName: RPSService 13:44:56,819 INFO
> [JndiSessionRegistrarBase] Binding the following Entries in G lobal
> JNDI:
>
>
> 13:44:57,381 INFO [DefaultEndpointRegistry] register:
> jboss.ws:context=myE-ejb, endpoint=RPSService 13:44:57,428 INFO
> [DescriptorDeploymentAspect] Add Service id=RPSService
> address=http://127.0.0.1:8080/myE-ejb/RPSService
> implementor=com.monz.rpz.RPSService
> invoker=org.jboss.wsf.stack.cxf.InvokerEJB3 mtomEnabled=false
> 13:44:57,459 INFO [DescriptorDeploymentAspect] JBossWS-CXF
> configuration genera ted:
> file:/C:/jboss-5.0.0.GA/server/default/tmp/jbossws/jbossws-cxf1864137209199
> 110130.xml 13:44:57,569 INFO [TomcatDeployment] deploy, ctxPath=/myE-ejb, vfsUrl=myE-ejb.j ar 13:44:57,709 WARN [config]
> Unable to process deployment descriptor for context '/myE-ejb'
> 13:44:59,334 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on
> http-127.0.0.1-8 080 13:44:59,397 INFO [AjpProtocol] Starting Coyote
> AJP/1.3 on ajp-127.0.0.1-8009 13:44:59,459 INFO [ServerImpl] JBoss
> (Microcontainer) [5.0.0.GA (build: SVNTag= JBoss_5_0_0_GA
> date=200812041714)] Started in 1m:21s:233ms
But Still I cant connect to It when I Type my IP address in my browser thanks
© Server Fault or respective owner