Hi All, I run the run.bat file in the bin directory to test whether I can continue on with JBoss but I get the following error after the CLASSPATH line and line of equal signs comes up: Error: no 'server' JVM at 'C:\Program Files\Java\....'
I inserted the periods in place of the rest of the path. Any suggestions? Thanks.
Rob
Rob Hunter
Ranch Hand
Joined: Apr 09, 2002
Posts: 788
posted
0
To add on: when doing java -server I get that message so I guess it's caused by that command. I checked on the directory and there isn't a server directory just client. I saw it mentioned about a Hot-spot VM. 2 questions: 1) where can I download and how to install and 2) what does this VM do? Thanks in advance.
The client VM is Sun but I guess I need to download the server VM as well? Right now I'm looking to find where I can download it.
Rob Hunter
Ranch Hand
Joined: Apr 09, 2002
Posts: 788
posted
0
Here is the log file when attempting to perform run -c default at the DOS prompt. Can anyone give me a hand on this? I'm getting extremely frustrated with it.
12:11:55,859 INFO [Server] Starting JBoss (MX MicroKernel)... 12:11:55,859 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339) 12:11:55,859 DEBUG [Server] Using config: org.jboss.system.server.ServerConfigImpl@143c8b3 12:11:55,875 DEBUG [Server] Server type: class org.jboss.system.server.ServerImpl 12:11:55,875 DEBUG [Server] Server loaded through: org.jboss.system.server.NoAnnotationURLClassLoader 12:11:55,875 DEBUG [Server] Boot URLs: 12:11:55,875 DEBUG [Server] file:/C:/Program Files/jboss-4.0.5.GA/lib/endorsed/resolver.jar 12:11:55,875 DEBUG [Server] file:/C:/Program Files/jboss-4.0.5.GA/lib/endorsed/serializer.jar 12:11:55,875 DEBUG [Server] file:/C:/Program Files/jboss-4.0.5.GA/lib/endorsed/xalan.jar 12:11:55,875 DEBUG [Server] file:/C:/Program Files/jboss-4.0.5.GA/lib/endorsed/xercesImpl.jar 12:11:55,875 DEBUG [Server] file:/C:/Program Files/jboss-4.0.5.GA/lib/endorsed/xml-apis.jar 12:11:55,875 DEBUG [Server] file:/C:/Program Files/jboss-4.0.5.GA/lib/jboss-jmx.jar 12:11:55,875 DEBUG [Server] file:/C:/Program Files/jboss-4.0.5.GA/lib/concurrent.jar 12:11:55,875 DEBUG [Server] file:/C:/Program Files/jboss-4.0.5.GA/lib/log4j-boot.jar 12:11:55,875 DEBUG [Server] file:/C:/Program Files/jboss-4.0.5.GA/lib/jboss-common.jar 12:11:55,875 DEBUG [Server] file:/C:/Program Files/jboss-4.0.5.GA/lib/jboss-system.jar 12:11:55,875 DEBUG [Server] file:/C:/Program Files/jboss-4.0.5.GA/lib/jboss-xml-binding.jar 12:11:55,875 DEBUG [Server] file:/C:/Program Files/jboss-4.0.5.GA/lib/namespace.jar 12:11:55,875 INFO [Server] Home Dir: C:\Program Files\jboss-4.0.5.GA 12:11:55,875 INFO [Server] Home URL: file:/C:/Program Files/jboss-4.0.5.GA/ 12:11:55,875 DEBUG [Server] Library URL: file:/C:/Program Files/jboss-4.0.5.GA/lib/ 12:11:55,875 INFO [Server] Patch URL: null 12:11:55,875 INFO [Server] Server Name: run.bat 12:11:55,875 INFO [Server] Server Home Dir: C:\Program Files\jboss-4.0.5.GA\server\run.bat 12:11:55,875 INFO [Server] Server Home URL: file:/C:/Program Files/jboss-4.0.5.GA/server/run.bat/ 12:11:55,875 INFO [Server] Server Log Dir: C:\Program Files\jboss-4.0.5.GA\server\run.bat\log 12:11:55,875 DEBUG [Server] Server Data Dir: C:\Program Files\jboss-4.0.5.GA\server\run.bat\data 12:11:55,875 INFO [Server] Server Temp Dir: C:\Program Files\jboss-4.0.5.GA\server\run.bat\tmp 12:11:55,875 DEBUG [Server] Server Config URL: file:/C:/Program Files/jboss-4.0.5.GA/server/run.bat/conf/ 12:11:55,875 DEBUG [Server] Server Library URL: file:/C:/Program Files/jboss-4.0.5.GA/server/run.bat/lib/ 12:11:55,875 INFO [Server] Root Deployment Filename: jboss-service.xml 12:11:55,906 DEBUG [Server] Starting General Purpose Architecture (GPA)... 12:11:56,187 DEBUG [Server] Created MBeanServer: org.jboss.mx.server.MBeanServerImpl@1b9ce4b[ defaultDomain='jboss' ] 12:11:56,281 DEBUG [Server] Boot url list: [file:/C:/Program Files/jboss-4.0.5.GA/server/run.bat/conf/] 12:11:56,281 DEBUG [Server] Creating loader for URL: file:/C:/Program Files/jboss-4.0.5.GA/server/run.bat/conf/ 12:11:56,296 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@641e9a, cl=org.jboss.mx.loading.UnifiedClassLoader3@115273a{ url=file:/C:/Program Files/jboss-4.0.5.GA/server/run.bat/conf/ ,addedOrder=0} 12:11:56,296 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@641e9a, cl=org.jboss.mx.loading.UnifiedClassLoader3@115273a{ url=file:/C:/Program Files/jboss-4.0.5.GA/server/run.bat/conf/ ,addedOrder=0} 12:11:56,296 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@115273a{ url=file:/C:/Program Files/jboss-4.0.5.GA/server/run.bat/conf/ ,addedOrder=0} 12:11:56,312 DEBUG [UnifiedLoaderRepository3] Failed to update pkgs for cl=org.jboss.mx.loading.UnifiedClassLoader3@115273a{ url=file:/C:/Program Files/jboss-4.0.5.GA/server/run.bat/conf/ ,addedOrder=1} java.io.FileNotFoundException: C:\Program Files\jboss-4.0.5.GA\server\run.bat\conf (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at org.jboss.mx.loading.ClassLoaderUtils$ClassPathIterator.<init>(ClassLoaderUtils.java:594) at org.jboss.mx.loading.ClassLoaderUtils.updatePackageMap(ClassLoaderUtils.java:251) at org.jboss.mx.loading.UnifiedLoaderRepository3.updatePackageMap(UnifiedLoaderRepository3.java:783) at org.jboss.mx.loading.UnifiedLoaderRepository3.addRepositoryClassLoader(UnifiedLoaderRepository3.java:740) at org.jboss.mx.loading.UnifiedLoaderRepository3.addClassLoader(UnifiedLoaderRepository3.java:662) at org.jboss.mx.loading.UnifiedLoaderRepository3.registerClassLoader(UnifiedLoaderRepository3.java:946) at org.jboss.mx.loading.UnifiedLoaderRepository3.newClassLoader(UnifiedLoaderRepository3.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:628) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:429) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:490) at java.lang.Thread.run(Unknown Source) 12:11:56,531 DEBUG [Server] Failed to create xmbean for: org.jboss.system.server.ServerInfo 12:11:56,562 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc. 12:11:56,562 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_11-b03,Sun Microsystems Inc. 12:11:56,562 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 12:11:56,562 DEBUG [ServerInfo] Full System Properties Dump 12:11:56,562 DEBUG [ServerInfo] java.vendor: Sun Microsystems Inc. 12:11:56,562 DEBUG [ServerInfo] sun.java.launcher: SUN_STANDARD 12:11:56,562 DEBUG [ServerInfo] sun.management.compiler: HotSpot Server Compiler 12:11:56,562 DEBUG [ServerInfo] os.name: Windows XP 12:11:56,562 DEBUG [ServerInfo] sun.boot.class.path: C:\Program Files\jboss-4.0.5.GA\bin\\..\lib\endorsed\resolver.jar;C:\Program Files\jboss-4.0.5.GA\bin\\..\lib\endorsed\serializer.jar;C:\Program Files\jboss-4.0.5.GA\bin\\..\lib\endorsed\xalan.jar;C:\Program Files\jboss-4.0.5.GA\bin\\..\lib\endorsed\xercesImpl.jar;C:\Program Files\jboss-4.0.5.GA\bin\\..\lib\endorsed\xml-apis.jar;C:\Program Files\Java\jre1.5.0_11\lib\rt.jar;C:\Program Files\Java\jre1.5.0_11\lib\i18n.jar;C:\Program Files\Java\jre1.5.0_11\lib\sunrsasign.jar;C:\Program Files\Java\jre1.5.0_11\lib\jsse.jar;C:\Program Files\Java\jre1.5.0_11\lib\jce.jar;C:\Program Files\Java\jre1.5.0_11\lib\charsets.jar;C:\Program Files\Java\jre1.5.0_11\classes 12:11:56,562 DEBUG [ServerInfo] sun.desktop: windows 12:11:56,562 DEBUG [ServerInfo] java.vm.specification.vendor: Sun Microsystems Inc. 12:11:56,562 DEBUG [ServerInfo] java.runtime.version: 1.5.0_11-b03 12:11:56,562 DEBUG [ServerInfo] user.name: wisl11 12:11:56,562 DEBUG [ServerInfo] jboss.bind.address: 0.0.0.0 12:11:56,562 DEBUG [ServerInfo] jboss.home.dir: C:\Program Files\jboss-4.0.5.GA 12:11:56,562 DEBUG [ServerInfo] user.language: en 12:11:56,562 DEBUG [ServerInfo] sun.boot.library.path: C:\Program Files\Java\jre1.5.0_11\bin 12:11:56,562 DEBUG [ServerInfo] jboss.home.url: file:/C:/Program Files/jboss-4.0.5.GA/ 12:11:56,562 DEBUG [ServerInfo] java.version: 1.5.0_11 12:11:56,562 DEBUG [ServerInfo] user.timezone: America/New_York 12:11:56,562 DEBUG [ServerInfo] jboss.server.home.dir: C:\Program Files\jboss-4.0.5.GA\server\run.bat 12:11:56,562 DEBUG [ServerInfo] sun.arch.data.model: 32 12:11:56,640 DEBUG [ServerInfo] java.endorsed.dirs: C:\Program Files\jboss-4.0.5.GA\bin\\..\lib\endorsed 12:11:56,640 DEBUG [ServerInfo] jboss.server.home.url: file:/C:/Program Files/jboss-4.0.5.GA/server/run.bat/ 12:11:56,640 DEBUG [ServerInfo] sun.cpu.isalist: 12:11:56,640 DEBUG [ServerInfo] sun.jnu.encoding: Cp1252 12:11:56,640 DEBUG [ServerInfo] file.encoding.pkg: sun.io 12:11:56,640 DEBUG [ServerInfo] file.separator: \ 12:11:56,640 DEBUG [ServerInfo] java.specification.name: Java Platform API Specification 12:11:56,640 DEBUG [ServerInfo] java.class.version: 49.0 12:11:56,640 DEBUG [ServerInfo] jboss.server.config.url: file:/C:/Program Files/jboss-4.0.5.GA/server/run.bat/conf/ 12:11:56,640 DEBUG [ServerInfo] user.country: US 12:11:56,640 DEBUG [ServerInfo] java.home: C:\Program Files\Java\jre1.5.0_11 12:11:56,640 DEBUG [ServerInfo] java.vm.info: mixed mode 12:11:56,640 DEBUG [ServerInfo] jboss.lib.url: file:/C:/Program Files/jboss-4.0.5.GA/lib/ 12:11:56,640 DEBUG [ServerInfo] os.version: 5.1 12:11:56,640 DEBUG [ServerInfo] path.separator: ; 12:11:56,640 DEBUG [ServerInfo] java.vm.version: 1.5.0_11-b03 12:11:56,640 DEBUG [ServerInfo] user.variant: 12:11:56,640 DEBUG [ServerInfo] java.protocol.handler.pkgs: org.jboss.net.protocol 12:11:56,640 DEBUG [ServerInfo] java.awt.printerjob: sun.awt.windows.WPrinterJob 12:11:56,640 DEBUG [ServerInfo] sun.io.unicode.encoding: UnicodeLittle 12:11:56,640 DEBUG [ServerInfo] awt.toolkit: sun.awt.windows.WToolkit 12:11:56,640 DEBUG [ServerInfo] jboss.server.temp.dir: C:\Program Files\jboss-4.0.5.GA\server\run.bat\tmp 12:11:56,640 DEBUG [ServerInfo] sun.rmi.dgc.client.gcInterval: 3600000 12:11:56,640 DEBUG [ServerInfo] user.home: C:\Documents and Settings\Brian Parker 12:11:56,640 DEBUG [ServerInfo] java.specification.vendor: Sun Microsystems Inc. 12:11:56,640 DEBUG [ServerInfo] java.library.path: C:\WINDOWS\system32;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Perl\bin\;C:\Program Files\ActiveState Komodo 3.5\;C:\Program Files\ActiveState Perl Dev Kit 6.0\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program Files\Sony\SimpleDVDMaker\AS_Libs;C:\PROGRA~1\COMMON~1\SONICS~1\;C:\Program Files\Java\jdk1.5.0_07\bin;C:\Program Files\GeRep 12:11:56,640 DEBUG [ServerInfo] java.vendor.url: http://java.sun.com/ 12:11:56,640 DEBUG [ServerInfo] program.name: run.bat 12:11:56,640 DEBUG [ServerInfo] java.vm.vendor: Sun Microsystems Inc. 12:11:56,640 DEBUG [ServerInfo] sun.rmi.dgc.server.gcInterval: 3600000 12:11:56,640 DEBUG [ServerInfo] java.runtime.name: Java(TM) 2 Runtime Environment, Standard Edition 12:11:56,640 DEBUG [ServerInfo] java.class.path: \lib\tools.jar;C:\Program Files\jboss-4.0.5.GA\bin\\run.jar 12:11:56,640 DEBUG [ServerInfo] jboss.server.log.dir: C:\Program Files\jboss-4.0.5.GA\server\run.bat\log 12:11:56,640 DEBUG [ServerInfo] jbossmx.loader.repository.class: org.jboss.mx.loading.UnifiedLoaderRepository3 12:11:56,640 DEBUG [ServerInfo] java.vm.specification.name: Java Virtual Machine Specification 12:11:56,640 DEBUG [ServerInfo] java.vm.specification.version: 1.0 12:11:56,640 DEBUG [ServerInfo] sun.cpu.endian: little 12:11:56,640 DEBUG [ServerInfo] sun.os.patch.level: Service Pack 2 12:11:56,640 DEBUG [ServerInfo] jboss.server.lib.url: file:/C:/Program Files/jboss-4.0.5.GA/server/run.bat/lib/ 12:11:56,640 DEBUG [ServerInfo] java.io.tmpdir: C:\DOCUME~1\BRIANP~1\LOCALS~1\Temp\ 12:11:56,640 DEBUG [ServerInfo] java.vendor.url.bug: http://java.sun.com/cgi-bin/bugreport.cgi 12:11:56,640 DEBUG [ServerInfo] jboss.server.data.dir: C:\Program Files\jboss-4.0.5.GA\server\run.bat\data 12:11:56,640 DEBUG [ServerInfo] os.arch: x86 12:11:56,640 DEBUG [ServerInfo] java.awt.graphicsenv: sun.awt.Win32GraphicsEnvironment 12:11:56,640 DEBUG [ServerInfo] java.ext.dirs: C:\Program Files\Java\jre1.5.0_11\lib\ext 12:11:56,640 DEBUG [ServerInfo] user.dir: C:\Program Files\jboss-4.0.5.GA\bin 12:11:56,640 DEBUG [ServerInfo] line.separator:
12:11:56,640 DEBUG [ServerInfo] java.vm.name: Java HotSpot(TM) Server VM 12:11:56,640 DEBUG [ServerInfo] jboss.server.base.dir: C:\Program Files\jboss-4.0.5.GA\server 12:11:56,640 DEBUG [ServerInfo] jboss.server.base.url: file:/C:/Program Files/jboss-4.0.5.GA/server/ 12:11:56,640 DEBUG [ServerInfo] javax.management.builder.initial: org.jboss.mx.server.MBeanServerBuilderImpl 12:11:56,640 DEBUG [ServerInfo] file.encoding: Cp1252 12:11:56,640 DEBUG [ServerInfo] java.specification.version: 1.5 12:11:56,640 DEBUG [ServerInfo] jboss.server.name: run.bat 12:11:56,718 DEBUG [Server] Created system MBean: jboss.system:type=ServerInfo 12:11:56,718 DEBUG [Server] Failed to create xmbean for: org.jboss.system.ServiceController 12:11:56,796 DEBUG [ServiceController] Controller MBean online 12:11:56,796 DEBUG [Server] Created system MBean: jboss.system:service=ServiceController 12:11:56,828 DEBUG [Server] Failed to create xmbean for: org.jboss.deployment.MainDeployer 12:11:56,968 DEBUG [Server] Created system MBean: jboss.system:service=MainDeployer 12:11:56,968 DEBUG [ServiceController] Creating service jboss.system:service=MainDeployer 12:11:56,984 DEBUG [MainDeployer] Creating jboss.system:service=MainDeployer 12:11:57,015 DEBUG [Files] Failed to delete dir: C:\Program Files\jboss-4.0.5.GA\server\run.bat\tmp\deploy 12:11:57,031 DEBUG [MainDeployer] Created jboss.system:service=MainDeployer 12:11:57,031 DEBUG [ServiceController] Creating dependent components for: jboss.system:service=MainDeployer dependents are: [] 12:11:57,031 DEBUG [ServiceController] starting service jboss.system:service=MainDeployer 12:11:57,031 DEBUG [MainDeployer] Starting jboss.system:service=MainDeployer 12:11:57,031 DEBUG [MainDeployer] Started jboss.system:service=MainDeployer 12:11:57,031 DEBUG [ServiceController] Starting dependent components for: jboss.system:service=MainDeployer dependent components: [] 12:11:57,031 DEBUG [Server] Shutdown hook added 12:11:57,109 DEBUG [Server] Failed to create xmbean for: org.jboss.deployment.JARDeployer 12:11:57,140 DEBUG [Server] Created system MBean: jboss.system:service=JARDeployer 12:11:57,140 DEBUG [ServiceController] Creating service jboss.system:service=JARDeployer 12:11:57,140 DEBUG [JARDeployer] Creating jboss.system:service=JARDeployer 12:11:57,296 DEBUG [JARDeployer] Created jboss.system:service=JARDeployer 12:11:57,296 DEBUG [ServiceController] Creating dependent components for: jboss.system:service=JARDeployer dependents are: [] 12:11:57,296 DEBUG [ServiceController] starting service jboss.system:service=JARDeployer 12:11:57,296 DEBUG [JARDeployer] Starting jboss.system:service=JARDeployer 12:11:57,296 DEBUG [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer@f6438d 12:11:57,296 DEBUG [MainDeployer] jboss.system:service=JARDeployer does not support EnhancedSuffixes 12:11:57,296 DEBUG [JARDeployer] Started jboss.system:service=JARDeployer 12:11:57,296 DEBUG [ServiceController] Starting dependent components for: jboss.system:service=JARDeployer dependent components: [] 12:11:57,312 DEBUG [Server] Failed to create xmbean for: org.jboss.deployment.SARDeployer 12:11:57,328 DEBUG [Server] Created system MBean: jboss.system:service=ServiceDeployer 12:11:57,328 DEBUG [ServiceController] Creating service jboss.system:service=ServiceDeployer 12:11:57,328 DEBUG [SARDeployer] Creating jboss.system:service=ServiceDeployer 12:11:57,359 DEBUG [SARDeployer] Created jboss.system:service=ServiceDeployer 12:11:57,359 DEBUG [ServiceController] Creating dependent components for: jboss.system:service=ServiceDeployer dependents are: [] 12:11:57,359 DEBUG [ServiceController] starting service jboss.system:service=ServiceDeployer 12:11:57,359 DEBUG [SARDeployer] Starting jboss.system:service=ServiceDeployer 12:11:57,359 DEBUG [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@e95a56 12:11:57,546 DEBUG [SARDeployer] Started jboss.system:service=ServiceDeployer 12:11:57,546 DEBUG [ServiceController] Starting dependent components for: jboss.system:service=ServiceDeployer dependent components: [] 12:11:57,546 INFO [Server] Core system initialized 12:11:57,656 DEBUG [Server] Failed to start 12:11:57,656 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true 12:11:57,656 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false 12:11:57,656 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true org.jboss.deployment.DeploymentException: url file:/C:/Program Files/jboss-4.0.5.GA/server/run.bat/conf/jboss-service.xml could not be opened, does it exist? at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:214) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:781) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:490) at java.lang.Thread.run(Unknown Source) 12:11:57,656 INFO [Server] Runtime shutdown hook called, forceHalt: true 12:11:57,656 INFO [Server] JBoss SHUTDOWN: Undeploying all packages 12:11:57,671 DEBUG [MainDeployer] Undeployed 0 deployed packages 12:11:57,671 DEBUG [Server] Shutting down all services 12:11:57,671 DEBUG [ServiceController] Stopping 4 services 12:11:57,671 DEBUG [ServiceController] stopping service: jboss.system:service=ServiceDeployer 12:11:57,671 DEBUG [ServiceController] stopping dependent services for: jboss.system:service=ServiceDeployer dependent services are: [] 12:11:57,671 DEBUG [SARDeployer] Stopping jboss.system:service=ServiceDeployer 12:11:57,671 DEBUG [MainDeployer] Removing deployer: org.jboss.deployment.SARDeployer@e95a56 12:11:57,671 DEBUG [SARDeployer] Stopped jboss.system:service=ServiceDeployer 12:11:57,671 DEBUG [ServiceController] destroying service: jboss.system:service=ServiceDeployer 12:11:57,671 DEBUG [ServiceController] destroying dependent services for: jboss.system:service=ServiceDeployer dependent services are: [] 12:11:57,671 DEBUG [SARDeployer] Destroying jboss.system:service=ServiceDeployer 12:11:57,671 DEBUG [SARDeployer] Destroyed jboss.system:service=ServiceDeployer 12:11:57,671 DEBUG [ServiceController] removing service: jboss.system:service=ServiceDeployer 12:11:57,671 DEBUG [ServiceController] removing jboss.system:service=ServiceDeployer from server 12:11:57,671 DEBUG [ServiceController] stopping service: jboss.system:service=JARDeployer 12:11:57,671 DEBUG [ServiceController] stopping dependent services for: jboss.system:service=JARDeployer dependent services are: [] 12:11:57,671 DEBUG [JARDeployer] Stopping jboss.system:service=JARDeployer 12:11:57,671 DEBUG [JARDeployer] Stopped jboss.system:service=JARDeployer 12:11:57,671 DEBUG [ServiceController] destroying service: jboss.system:service=JARDeployer 12:11:57,671 DEBUG [ServiceController] destroying dependent services for: jboss.system:service=JARDeployer dependent services are: [] 12:11:57,671 DEBUG [JARDeployer] Destroying jboss.system:service=JARDeployer 12:11:57,671 DEBUG [JARDeployer] Destroyed jboss.system:service=JARDeployer 12:11:57,671 DEBUG [ServiceController] removing service: jboss.system:service=JARDeployer 12:11:57,671 DEBUG [ServiceController] removing jboss.system:service=JARDeployer from server 12:11:57,718 DEBUG [ServiceController] stopping service: jboss.system:service=MainDeployer 12:11:57,718 DEBUG [ServiceController] stopping dependent services for: jboss.system:service=MainDeployer dependent services are: [] 12:11:57,718 DEBUG [MainDeployer] Stopping jboss.system:service=MainDeployer 12:11:57,718 DEBUG [MainDeployer] Stopped jboss.system:service=MainDeployer 12:11:57,718 DEBUG [ServiceController] destroying service: jboss.system:service=MainDeployer 12:11:57,718 DEBUG [ServiceController] destroying dependent services for: jboss.system:service=MainDeployer dependent services are: [] 12:11:57,718 DEBUG [MainDeployer] Destroying jboss.system:service=MainDeployer 12:11:57,718 DEBUG [MainDeployer] Destroyed jboss.system:service=MainDeployer 12:11:57,718 DEBUG [ServiceController] removing service: jboss.system:service=MainDeployer 12:11:57,718 DEBUG [ServiceController] removing jboss.system:service=MainDeployer from server 12:11:57,718 DEBUG [ServiceController] Stopped 3 services 12:11:57,718 DEBUG [Server] Deleting server tmp/deploy directory 12:11:57,718 INFO [Server] Shutdown complete
12:11:55,875 INFO [Server] Server Name: run.bat 12:11:55,875 INFO [Server] Server Home Dir: C:\Program Files\jboss-4.0.5.GA\server\run.bat 12:11:55,875 INFO [Server] Server Home URL: file:/C:/Program Files/jboss-4.0.5.GA/server/run.bat/ 12:11:55,875 INFO [Server] Server Log Dir: C:\Program Files\jboss-4.0.5.GA\server\run.bat\log
This does not look right. Try the following:
- From the command prompt, go to C:\Program Files\jboss-4.0.5.GA\bin - Run the following command
Also, though not related, its recommended to install JBoss under some folder which does not have a space in its name. Currently the "Program Files" has a space in it and you might run into some issues later on
- From the command prompt, go to C:\Program Files\jboss-4.0.5.GA\bin - Run the following command
Also, though not related, its recommended to install JBoss under some folder which does not have a space in its name. Currently the "Program Files" has a space in it and you might run into some issues later on
Yeah that popped out at me too, wondering what the heck happened there.
The space issue is actually more related to ANT than anything else, however, not always ANT. Personally I have always had my stuff in Program Files and I run ANT and everything is great, but I see everyone else have issue, and I can't explain why it always works for me, but I recommend to everyone else to not install Java related stuff into a dir with a space in its name.
The space issue is actually more related to ANT than anything else, however, not always ANT. Personally I have always had my stuff in Program Files and I run ANT and everything is great, but I see everyone else have issue, and I can't explain why it always works for me
For me this had happened once, when i had tried to access a jsp. My JBoss was installed in a folder which had a space in its name. When the jsp was accessed, the compilation of the jsp failed because of the space in the folder name.
Rob Hunter
Ranch Hand
Joined: Apr 09, 2002
Posts: 788
posted
0
The space seemed to be a problem, thanks so much for that info (i.e. installed in JBoss instead). I've tried using localhost:8080/ in the browser and the JBoss page is coming up but I have a few questions (since I was playing around frantically with it and not keeping good notes ):
1) what way can I find out what VM JBoss is using? Like I said earlier, I had been having some problems so I started trying everything to get it up and running. A while back I used to type in java -server and it came up with a message like 'server' could not be found or something along those lines. Now typing this in gives me a help listing of the java command. Here is the first part of the listing after running the run.bat file from command line if this helps (i.e. run.bat -c all).
You can find this information in the logs when JBoss is starting. Similar to:
12:11:56,562 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc. 12:11:56,562 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_11-b03,Sun Microsystems Inc.
Rob Hunter
Ranch Hand
Joined: Apr 09, 2002
Posts: 788
posted
0
I've used JavaService to set up JBoss to run as a service, managed to pick throught that. In the documentation for JavaService it ask what VM directory to use: {hotspot|server|default - I believe}. In the output after starting JBoss from command line it says Server Hotspot. I chose the server directory earlier since the only directory in jre/bin. How would I know if Server Hotspot would be there? Are Server and Server Hotspot 2 of the same? Since I don't work with Java hardly at all the whole terminology and everything being named similarly gets a bit.... much. Thanks for the help.
Thanks Jaikiran Pai. I knew the differences between client and server in the way they process but hotspot I thought was something else. The doc you referenced talks between client and server which I read somewhere before. I guess hotspot is just another term is it or is a hotspot VM totally independent of client and server? God I hate Java terminology! Thanks again.