This content has been marked as final.
Show 2 replies
-
1. Re: JBoss start problem
jaikiran Apr 8, 2009 3:55 AM (in response to adnankhurram)Any other messages on the console? Can you post the log that you see on the console (not the one's in server.log)? How do you stop/start the server? Are you using any IDE? And which Java version do you use?
-
2. Re: JBoss start problem
adnankhurram Apr 8, 2009 4:21 AM (in response to adnankhurram)Hi,
I am running jboss as windows service using JBoss native. I have some JBoss services which use these beans which are missing.
What happens is that there are some services which obviously are loaded before the beans and loop through the exception until the beans are loaded and then start using them.14:12:10,587 INFO [ServerImpl] Starting JBoss (Microcontainer)... 14:12:10,587 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048) 14:12:10,587 INFO [ServerImpl] Bootstrap URL: null 14:12:10,587 INFO [ServerImpl] Home Dir: C:\jboss-5.0.1.GA 14:12:10,587 INFO [ServerImpl] Home URL: file:/C:/jboss-5.0.1.GA/ 14:12:10,587 INFO [ServerImpl] Library URL: file:/C:/jboss-5.0.1.GA/lib/ 14:12:10,587 INFO [ServerImpl] Patch URL: null 14:12:10,587 INFO [ServerImpl] Common Base URL: file:/C:/jboss-5.0.1.GA/common/ 14:12:10,587 INFO [ServerImpl] Common Library URL: file:/C:/jboss-5.0.1.GA/common/lib/ 14:12:10,587 INFO [ServerImpl] Server Name: all 14:12:10,587 INFO [ServerImpl] Server Base Dir: C:\jboss-5.0.1.GA\server 14:12:10,587 INFO [ServerImpl] Server Base URL: file:/C:/jboss-5.0.1.GA/server/ 14:12:10,587 INFO [ServerImpl] Server Config URL: file:/C:/jboss-5.0.1.GA/server/all/conf/ 14:12:10,587 INFO [ServerImpl] Server Home Dir: C:\jboss-5.0.1.GA\server\all 14:12:10,587 INFO [ServerImpl] Server Home URL: file:/C:/jboss-5.0.1.GA/server/all/ 14:12:10,587 INFO [ServerImpl] Server Data Dir: C:\jboss-5.0.1.GA\server\all\data 14:12:10,587 INFO [ServerImpl] Server Library URL: file:/C:/jboss-5.0.1.GA/server/all/lib/ 14:12:10,587 INFO [ServerImpl] Server Log Dir: C:\jboss-5.0.1.GA\server\all\log 14:12:10,587 INFO [ServerImpl] Server Native Dir: C:\jboss-5.0.1.GA\server\all\tmp\native 14:12:10,587 INFO [ServerImpl] Server Temp Dir: C:\jboss-5.0.1.GA\server\all\tmp 14:12:10,587 INFO [ServerImpl] Server Temp Deploy Dir: C:\jboss-5.0.1.GA\server\all\tmp\deploy 14:12:11,056 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss-5.0.1.GA/server/all/conf/bootstrap.xml 14:12:11,446 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache] 14:12:11,462 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]] 14:12:11,681 INFO [CopyMechanism] VFS temp dir: C:\jboss-5.0.1.GA\server\all\tmp 14:12:11,681 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled. 14:12:12,353 INFO [ServerInfo] Java version: 1.6.0_13,Sun Microsystems Inc. 14:12:12,353 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_13-b03) 14:12:12,353 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 11.3-b02,Sun Microsystems Inc. 14:12:12,353 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 14:12:12,384 INFO [JMXKernel] Legacy JMX core initialized 14:12:13,665 INFO [ProfileServiceImpl] Loading profile: all from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1b1ff47(root=C:\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey@b8292623[domain=default,server=default,name=all]) 14:12:13,665 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1b1ff47(root=C:\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey@b8292623[domain=default,server=default,name=all]) 14:12:13,665 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@d47880{key=org.jboss.profileservice.spi.ProfileKey@b8292623[domain=default,server=default,name=all]} 14:12:14,774 INFO [WebService] Using RMI server codebase: http://192.168.16.50:8083/ 14:12:19,103 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core 14:12:19,103 INFO [NativeServerConfig] 3.0.5.GA 14:12:32,634 INFO [ContainerDependencyMetaData] addJndiDependency, JndiDependencyMetaData@16ccfac{queue/A} 14:12:32,634 WARN [MappedReferenceMetaDataResolverDeployer] Unresolved references exist in JBossMetaData:[ejb-LogsTransferService.jar#DispatchLogsBean:AnnotatedEJBReferenceMetaData{name=LogsTransferService/LoggedDataBean/remote,ejb-ref-type=null,link=null,ignore-dependecy=false,mapped/jndi-name=LogsTransferService/LoggedDataBean/remote,resolved-jndi-name=null,beanInterface=class com.nextcontrols.dispatchLogs.DispatchLogsBean}] 14:12:32,774 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@23156716{vfszip:/C:/jboss-5.0.1.GA/server/all/deploy/LogsTransferService.ear/ejb-LogsTransferService.jar/} 14:12:32,774 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@23156716{vfszip:/C:/jboss-5.0.1.GA/server/all/deploy/LogsTransferService.ear/ejb-LogsTransferService.jar/} 14:12:34,415 INFO [CorbaNamingService] CORBA Naming Started 14:12:37,884 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://192.168.16.50/jndi/rmi://192.168.16.50:1090/jmxconnector 14:12:38,118 INFO [MailService] Mail Service bound to java:/Mail 14:12:39,165 INFO [SnmpAgentService] SNMP agent going active 14:12:40,618 INFO [DefaultPartition] Initializing partition DefaultPartition 14:12:40,681 INFO [STDOUT] ------------------------------------------------------- GMS: address is 192.168.16.50:11381 ------------------------------------------------------- 14:12:40,790 INFO [PlatformMBeanServerRegistration] JBossCache MBeans were successfully registered to the platform mbean server. 14:12:40,837 INFO [STDOUT] ------------------------------------------------------- GMS: address is 192.168.16.50:11381 ------------------------------------------------------- 14:12:42,759 INFO [DefaultPartition] Number of cluster members: 1 14:12:42,759 INFO [DefaultPartition] Other members: 0 14:12:42,868 INFO [RPCManagerImpl] Received new cluster view: [192.168.16.50:11381|0] [192.168.16.50:11381] 14:12:42,868 INFO [RPCManagerImpl] Cache local address is 192.168.16.50:11381 14:12:42,884 INFO [ComponentRegistry] JBoss Cache version: JBossCache 'Naga' 3.0.2.GA 14:12:42,884 INFO [DefaultPartition] Fetching serviceState (will wait for 30000 milliseconds): 14:12:42,884 INFO [DefaultPartition] State could not be retrieved (we are the first member in group) 14:12:42,946 INFO [HANamingService] Started HAJNDI bootstrap; jnpPort=1100, backlog=50, bindAddress=/192.168.16.50 14:12:42,962 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /192.168.16.50:1102, group=230.0.0.4, HA-JNDI address=192.168.16.50:1100 14:12:44,056 INFO [UnifiedInvokerHA] Service name is jboss:service=invoker,type=unifiedha 14:12:44,321 INFO [DeployHandler] Handle stream, deploymentTarget: names=[AlarmService.ear]phase=APPLICATIONcopyContent=truedescription=vfszip:/C:/jboss-5.0.1.GA/server/all/deploy-hasingleton/AlarmService.ear/ 14:12:44,368 INFO [DeployHandler] End handle stream, repositoryName: AlarmService.ear 14:12:44,384 INFO [DeployHandler] Handle stream, deploymentTarget: names=[DispatchService_1.ear]phase=APPLICATIONcopyContent=truedescription=vfszip:/C:/jboss-5.0.1.GA/server/all/deploy-hasingleton/DispatchService_1.ear/ 14:12:44,431 INFO [DeployHandler] End handle stream, repositoryName: DispatchService_1.ear 14:12:44,431 INFO [DeployHandler] Begin start, [AlarmService.ear, DispatchService_1.ear], phase: APPLICATION 14:12:44,431 INFO [SerializableDeploymentRepository] Adding application: vfszip:/C:/jboss-5.0.1.GA/server/all/deploy/AlarmService.ear/ / AbstractVFSDeployment(AlarmService.ear) 14:12:45,556 INFO [DeployHandler] Scheduling start for: AbstractVFSDeployment(AlarmService.ear) 14:12:46,212 INFO [SerializableDeploymentRepository] Adding application: vfszip:/C:/jboss-5.0.1.GA/server/all/deploy/DispatchService_1.ear/ / AbstractVFSDeployment(DispatchService_1.ear) 14:12:46,212 INFO [DeployHandler] Scheduling start for: AbstractVFSDeployment(DispatchService_1.ear) 14:12:55,462 INFO [STDOUT] Creating the Alarm Service....................................... 14:12:55,462 INFO [STDOUT] Starting the Alarm Service....................................... 14:12:55,462 INFO [STDOUT] AlarmService.getInstance....................................... 14:12:55,478 INFO [STDOUT] {} 14:12:55,478 INFO [STDOUT] Alarmservice started..... 14:12:55,493 INFO [STDOUT] {} 14:12:55,493 INFO [STDOUT] Start Monitoring... 14:12:55,524 INFO [STDOUT] Creating the Dispacth Service....................................... 14:12:55,524 INFO [STDOUT] Starting the Dispatch Service....................................... 14:12:55,524 INFO [STDOUT] Creating Dispatch service 14:12:55,524 INFO [STDOUT] DispatchService.getInstance....................................... 14:12:55,915 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this. 14:12:55,946 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent 14:12:56,087 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 14:12:56,087 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 14:12:56,290 INFO [TransactionManagerService] Initializing recovery manager 14:12:56,446 INFO [TransactionManagerService] Recovery manager configured 14:12:56,446 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference 14:12:56,462 INFO [TransactionManagerService] Starting transaction recovery manager 14:12:56,962 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-192.168.16.50-8080 14:12:56,962 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-192.168.16.50-8009 14:12:56,962 INFO [StandardService] Starting service jboss.web 14:12:56,962 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.2.GA 14:12:57,712 INFO [Catalina] Server startup in 820 ms 14:12:57,728 INFO [TomcatDeployment] deploy, ctxPath=/juddi 14:12:58,290 INFO [RegistryServlet] Loading jUDDI configuration. 14:12:58,290 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties 14:12:58,290 INFO [RegistryServlet] Initializing jUDDI components. 14:12:58,493 INFO [TomcatDeployment] deploy, ctxPath=/jbossws 14:12:58,540 INFO [TomcatDeployment] deploy, ctxPath=/invoker 14:12:58,603 INFO [TomcatDeployment] deploy, ctxPath=/web-console 14:12:59,009 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.1.GA/server/all/deploy/jboss-local-jdbc.rar/META-INF/ra.xml 14:12:59,040 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.1.GA/server/all/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml 14:12:59,056 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.1.GA/server/all/deploy/jms-ra.rar/META-INF/ra.xml 14:12:59,103 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.1.GA/server/all/deploy/mail-ra.rar/META-INF/ra.xml 14:12:59,134 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.1.GA/server/all/deploy/quartz-ra.rar/META-INF/ra.xml 14:12:59,243 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main 14:12:59,274 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 14:12:59,274 INFO [RAMJobStore] RAMJobStore initialized. 14:12:59,274 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 14:12:59,274 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 14:12:59,274 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 14:13:00,790 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' 14:13:01,243 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started 14:13:01,478 INFO [STDOUT] ------------------------------------------------------- GMS: address is 192.168.16.50:11381 ------------------------------------------------------- 14:13:03,493 INFO [GroupMember] org.jboss.messaging.core.impl.postoffice.GroupMember$ControlMembershipListener@d1b33a got new view [192.168.16.50:11381|0] [192.168.16.50:11381], old view is null 14:13:03,493 INFO [GroupMember] I am (192.168.16.50:11381) 14:13:03,493 INFO [GroupMember] New Members : 1 ([192.168.16.50:11381]) 14:13:03,493 INFO [GroupMember] All Members : 1 ([192.168.16.50:11381]) 14:13:03,493 INFO [STDOUT] ------------------------------------------------------- GMS: address is 192.168.16.50:7900 ------------------------------------------------------- 14:13:08,556 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000 14:13:08,868 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this. 14:13:09,415 INFO [ConnectionFactory] Connector bisocket://192.168.16.50:4457 has leasing enabled, lease period 10000 milliseconds 14:13:09,415 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1f45ff3 started 14:13:09,431 INFO [ConnectionFactory] Connector bisocket://192.168.16.50:4457 has leasing enabled, lease period 10000 milliseconds 14:13:09,431 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1168938 started 14:13:09,431 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000 14:13:09,431 INFO [QueueService] Queue[/queue/A] started, fullSize=200000, pageSize=2000, downCacheSize=2000 14:13:09,446 INFO [ConnectionFactory] Connector bisocket://192.168.16.50:4457 has leasing enabled, lease period 10000 milliseconds 14:13:09,446 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@e2a65c started 14:13:09,634 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 14:13:09,665 INFO [TomcatDeployment] deploy, ctxPath=/ 14:13:09,712 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console 14:13:09,759 ERROR [ProfileServiceBootstrap] Failed to load profile: java.lang.NullPointerException at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:775) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405) at org.jboss.Main.boot(Main.java:209) at org.jboss.Main$1.run(Main.java:547) at java.lang.Thread.run(Unknown Source) 14:13:09,774 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-192.168.16.50-8080 14:13:09,806 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-192.168.16.50-8009 14:13:09,806 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)] Started in 59s:219ms
now the beans which are there are not picked up by the jboss.
I am using Eclipse and the java version in 1.6.
thanks for your help.
Adnan