Hi all
I am trying to install
JBoss with MyEclipse and downloaded JBoss 4.22 to C:\jboss-4.2.2.GA and set the JBOSS_HOME environment variable to the same directory and then clicked on Windows->Preferences->Servers and set the enable server with the same JBOss_home and server name to JBoss 4.2.2-localhost. I clicked on servers and run for JBoss server to run and I get this error.
jboss: unused non-option argument: 4.2.2-localhost
08:46:50,855 INFO [Server] Starting JBoss (MX MicroKernel)...
08:46:50,856 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
08:46:50,858 INFO [Server] Home Dir: C:\jboss-4.2.2.GA
08:46:50,866 INFO [Server] Home URL: file:/C:/jboss-4.2.2.GA/
08:46:50,867 INFO [Server] Patch URL: null
08:46:50,867 INFO [Server] Server Name: JBoss
08:46:50,867 INFO [Server] Server Home Dir: C:\jboss-4.2.2.GA\server\JBoss
08:46:50,867 INFO [Server] Server Home URL: file:/C:/jboss-4.2.2.GA/server/JBoss/
08:46:50,867 INFO [Server] Server Log Dir: C:\jboss-4.2.2.GA\server\JBoss\log
08:46:50,868 INFO [Server] Server Temp Dir: C:\jboss-4.2.2.GA\server\JBoss\tmp
08:46:50,868 INFO [Server] Root Deployment Filename: jboss-service.xml
08:46:51,322 INFO [ServerInfo]
Java version: 1.5.0_11,Sun Microsystems Inc.
08:46:51,322 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_11-b03,Sun Microsystems Inc.
08:46:51,322 INFO [ServerInfo] OS-System: Windows Vista 6.0,x86
08:46:51,614 INFO [Server] Core system initialized
Failed to boot JBoss:
08:46:51,633 INFO [Server] Runtime shutdown hook called, forceHalt: true
08:46:51,634 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
org.jboss.deployment.DeploymentException: url file:/C:/jboss-4.2.2.GA/server/JBoss/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:508)
at java.lang.Thread.run(Unknown Source)
08:46:51,639 INFO [Server] Shutdown complete
Shutdown complete
Halting VM
I checked to see if jboss-service.xml existed and it is there in the right directory. Should I run the run.bat file from the command line? If so, how to do it. When I do that nothing happens. Please help me with the installation.
Thanks,
Vidya
[ June 13, 2008: Message edited by: Vidya Moorthy ]