[jboss-user] [Installation, Configuration & Deployment] - Pb start jboss in windows service mode

sanouk do-not-reply at jboss.com
Fri Sep 11 02:47:25 EDT 2009


Hello, 
I try to start jboss in service windows on windows server 2003 r2 french. 
I ran on bin folder service.bat install. 
The new service appaired in the services list of windows. 
I started the service but I can't connect on my web site. 
If I stop the service and run jboss by run.bat, it's ok. 
In the run.log, I have these informations: 

Starting JBoss Application Server 5.1 [2009-09-08 15:08:56] 
Calling C:\jboss_home\bin\run.conf.bat 
JAVA_HOME is not set. Unexpected results may occur. 
Set JAVA_HOME to the directory of your local JDK to avoid this message. 
=============================================================================== 

JBoss Bootstrap Environment 

JBOSS_HOME: C:\jboss_home 

JAVA: java 

JAVA_OPTS: -Dprogram.name=run.bat -Xrs 

CLASSPATH: ;C:\jboss_home\bin\run.jar 

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

15:08:58,202 INFO [ServerImpl] Starting JBoss (Microcontainer)... 
15:08:58,202 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634) 
15:08:58,202 INFO [ServerImpl] Bootstrap URL: null 
15:08:58,202 INFO [ServerImpl] Home Dir: C:\jboss_home 
15:08:58,202 INFO [ServerImpl] Home URL: file:/C:/jboss_home/ 
15:08:58,202 INFO [ServerImpl] Library URL: file:/C:/jboss_home/lib/ 
15:08:58,202 INFO [ServerImpl] Patch URL: null 
15:08:58,202 INFO [ServerImpl] Common Base URL: file:/C:/jboss_home/common/ 
15:08:58,202 INFO [ServerImpl] Common Library URL: file:/C:/jboss_home/common/lib/ 
15:08:58,218 INFO [ServerImpl] Server Name: default 
15:08:58,218 INFO [ServerImpl] Server Base Dir: C:\jboss_home\server 
15:08:58,218 INFO [ServerImpl] Server Base URL: file:/C:/jboss_home/server/ 
15:08:58,218 INFO [ServerImpl] Server Config URL: file:/C:/jboss_home/server/default/conf/ 
15:08:58,218 INFO [ServerImpl] Server Home Dir: C:\jboss_home\server\default 
15:08:58,218 INFO [ServerImpl] Server Home URL: file:/C:/jboss_home/server/default/ 
15:08:58,218 INFO [ServerImpl] Server Data Dir: C:\jboss_home\server\default\data 
15:08:58,218 INFO [ServerImpl] Server Library URL: file:/C:/jboss_home/server/default/lib/ 
15:08:58,218 INFO [ServerImpl] Server Log Dir: C:\jboss_home\server\default\log 
15:08:58,218 INFO [ServerImpl] Server Native Dir: C:\jboss_home\server\default\tmp\native 
15:08:58,218 INFO [ServerImpl] Server Temp Dir: C:\jboss_home\server\default\tmp 
15:08:58,218 INFO [ServerImpl] Server Temp Deploy Dir: C:\jboss_home\server\default\tmp\deploy 
15:08:59,452 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss_home/server/default/conf/bootstrap.xml 
15:09:00,390 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache] 
15:09:00,406 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]] 
15:09:00,874 INFO [CopyMechanism] VFS temp dir: C:\jboss_home\server\default\tmp 
15:09:00,874 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled. 
15:09:02,937 INFO [ServerInfo] Java version: 1.6.0_16,Sun Microsystems Inc. 
15:09:02,937 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_16-b01) 
15:09:02,937 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 14.2-b01,Sun Microsystems Inc. 
15:09:02,937 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86 
15:09:02,937 INFO [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xrs -Djava.endorsed.dirs=C:\jboss_home\lib\endorsed 
15:09:03,015 INFO [JMXKernel] Legacy JMX core initialized 
15:09:07,031 INFO [ProfileServiceBootstrap] Loading profile: ProfileKey at f6fd54[domain=default, server=default, name=default] 
15:09:11,265 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 
15:09:23,140 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core 
15:09:23,140 INFO [NativeServerConfig] 3.1.2.GA 
15:09:24,468 INFO [AttributeCallbackItem] Owner callback not implemented. 
15:09:27,218 INFO [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl at 15151aa[ defaultDomain='jboss' ] 
15:09:44,265 ERROR [ProfileDeployAction] Failed to add deployment: admin-console.war 
org.jboss.deployers.spi.DeploymentException: Error populating deployment vfsfile:/C:/jboss_home/server/default/deploy/admin-console.war/ 
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) 
at org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder.populateContext(AbstractStructureBuilder.java:86) 
at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:89) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1004) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300) 
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.addDeployment(MainDeployerAdapter.java:86) 
at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:61) 
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) 
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) 
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) 
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) 
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) 
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) 
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) 
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) 
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) 
at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) 
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) 
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) 
at org.jboss.Main.boot(Main.java:221) 
at org.jboss.Main$1.run(Main.java:556) 
at java.lang.Thread.run(Unknown Source) 
Caused by: java.lang.OutOfMemoryError: Java heap space 
at java.util.zip.ZipFile$2.nextElement(Unknown Source) 
at java.util.zip.ZipFile$2.nextElement(Unknown Source) 
at org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(ZipEntryContext.java:491) 
at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:619) 
at org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:773) 
at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChild(ZipEntryContext.java:817) 
at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.createChildHandler(ZipEntryHandler.java:191) 
at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:684) 
at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(ZipEntryHandler.java:165) 
at org.jboss.virtual.plugins.context.DelegatingHandler.getChild(DelegatingHandler.java:107) 
at org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:481) 
at org.jboss.virtual.VFSUtils.getManifest(VFSUtils.java:252) 
at org.jboss.virtual.VFSUtils.addManifestLocations(VFSUtils.java:185) 
at org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder.applyContextInfo(VFSStructureBuilder.java:210) 
at org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder.populateContext(AbstractStructureBuilder.java:82) 
at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:89) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1004) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300) 
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.addDeployment(MainDeployerAdapter.java:86) 
at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:61) 
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) 
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) 
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) 
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) 
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) 
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) 
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) 
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) 
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) 
at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) 
15:09:48,906 ERROR [ProfileDeployAction] Failed to add deployment: mail-ra.rar 
org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(mail-ra.rar) 
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) 
at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:85) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1004) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300) 
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.addDeployment(MainDeployerAdapter.java:86) 
at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:61) 
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) 
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) 
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) 
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) 
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) 
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) 
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) 
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) 
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) 
at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) 
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) 
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) 
at org.jboss.Main.boot(Main.java:221) 
at org.jboss.Main$1.run(Main.java:556) 
at java.lang.Thread.run(Unknown Source) 
Caused by: java.lang.OutOfMemoryError: Java heap space 
at java.util.zip.InflaterInputStream.(Unknown Source) 
at java.util.zip.ZipFile$1.(Unknown Source) 
at java.util.zip.ZipFile.getInputStream(Unknown Source) 
at java.util.zip.ZipFile.getInputStream(Unknown Source) 
at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.openStream(ZipFileWrapper.java:214) 
at org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(ZipEntryContext.java:560) 
at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:619) 
at org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:773) 
at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChild(ZipEntryContext.java:817) 
at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.createChildHandler(ZipEntryHandler.java:191) 
at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:684) 
at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(ZipEntryHandler.java:165) 
at org.jboss.virtual.plugins.context.DelegatingHandler.getChild(DelegatingHandler.java:107) 
at org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:481) 
at org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.determineStructure(DeclaredStructure.java:64) 
at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73) 
at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196) 
at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221) 
at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1004) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300) 
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.addDeployment(MainDeployerAdapter.java:86) 
at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:61) 
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) 
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) 
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) 
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) 
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) 
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) 
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) 
15:10:35,062 ERROR [ProfileDeployAction] Failed to add deployment: PowerMobileWebApp.war 
org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(PowerMobileWebApp.war) 
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) 
at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:85) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1004) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390) 
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300) 
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.addDeployment(MainDeployerAdapter.java:86) 
at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:61) 
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) 
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) 
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) 
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) 
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) 
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) 
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) 
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) 
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) 
at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) 
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) 
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) 
at org.jboss.Main.boot(Main.java:221) 
at org.jboss.Main$1.run(Main.java:556) 
at java.lang.Thread.run(Unknown Source) 
Caused by: java.lang.OutOfMemoryError: Java heap space 
15:10:42,702 ERROR [ProfileDeployAction] Failed to add deployment: jmx-invoker-service.xml 
15:10:53,452 ERROR [ScopedProfileServiceController] Error installing to Deploy: name=ProfileKey at 1d50fd2[domain=default, server=default, name=applications] state=Start mode=On Demand requiredState=Installed 
java.lang.OutOfMemoryError: Java heap space 
15:10:58,562 ERROR [STDERR] Failed to boot JBoss: 
15:10:58,562 ERROR [STDERR] java.lang.IllegalStateException: Incompletely deployed: 

*** PROFILES IN ERROR: Name -> Error 
Profile: ProfileKey at 1d50fd2[domain=default, server=default, name=applications] in error due to java.lang.OutOfMemoryError: Java heap space 

*** PROFILES MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State} 
ProfileKey at f6fd54[domain=default, server=default, name=default] is missing following dependencies: ProfileKey at 1d50fd2[domain=default, server=default, name=applications]{Installed:**ERROR**} 
15:10:58,562 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileService.logErrors(AbstractProfileService.java:567) 
15:10:58,562 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileService.validate(AbstractProfileService.java:348) 
15:10:58,562 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileService.validateProfile(AbstractProfileService.java:331) 
15:10:58,562 ERROR [STDERR] at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:272) 
15:10:58,562 ERROR [STDERR] at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) 
15:10:58,562 ERROR [STDERR] at org.jboss.Main.boot(Main.java:221) 
15:10:58,562 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:556) 
15:10:58,562 ERROR [STDERR] at java.lang.Thread.run(Unknown Source) 
Shutdown JBoss Application Server 5.1 service [2009-09-08 15:16:45] 

Thanks for your help 

Sanouk

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254642#4254642

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254642



More information about the jboss-user mailing list