facebook

JBOSS 4 configuration setup [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #222828 Reply

    tiongtingkun
    Member

    Hi,

    I was able to install and start JBOSS on the dos prompt with no problems.

    Now I want to configure JOBSS 4 inside myEclipse.

    I read and try to follow the Applcation Development and Server Mgmt Quckstart.

    I enabled the Server and specify the JBoss Home Directory.

    questions
    =======

    1) Specify the JDK environment — By defininga new JDK installation for Eclipse and then specifiy a JRE name. What happen if I make a mistake. How do I make changes to the JVM information?

    2 ) After all the configuration I JBOSS. I go the following error message
    – jboss: unused non-option argument: 4: What is non-option argument 4:
    — Not sure who error it is : C:/java/jboss-4.0.1RC1/server/Jboss/conf/jboss-service.xml. My jboss-service.xml is in the C:\java\jboss-4.0.1RC1\server\default\conf directory.

    ============ Error message from myEclispe when I try to start JBOSS 4.

    jboss: unused non-option argument: 4
    19:33:32,852 INFO [Server] Starting JBoss (MX MicroKernel)…
    19:33:32,852 INFO [Server] Release ID: JBoss [Zion] 4.0.1RC1 (build: CVSTag=JBoss_4_0_1_RC1 date=200411041143)
    19:33:32,852 INFO [Server] Home Dir: C:\java\jboss-4.0.1RC1
    19:33:32,852 INFO [Server] Home URL: file:/C:/java/jboss-4.0.1RC1/
    19:33:32,852 INFO [Server] Library URL: file:/C:/java/jboss-4.0.1RC1/lib/
    19:33:32,862 INFO [Server] Patch URL: null
    19:33:32,862 INFO [Server] Server Name: Jboss
    19:33:32,862 INFO [Server] Server Home Dir: C:\java\jboss-4.0.1RC1\server\Jboss
    19:33:32,862 INFO [Server] Server Home URL: file:/C:/java/jboss-4.0.1RC1/server/Jboss/
    19:33:32,862 INFO [Server] Server Data Dir: C:\java\jboss-4.0.1RC1\server\Jboss\data
    19:33:32,872 INFO [Server] Server Temp Dir: C:\java\jboss-4.0.1RC1\server\Jboss\tmp
    19:33:32,882 INFO [Server] Server Config URL: file:/C:/java/jboss-4.0.1RC1/server/Jboss/conf/
    19:33:32,882 INFO [Server] Server Library URL: file:/C:/java/jboss-4.0.1RC1/server/Jboss/lib/
    19:33:32,882 INFO [Server] Root Deployment Filename: jboss-service.xml
    19:33:32,882 INFO [Server] Starting General Purpose Architecture (GPA)…
    19:33:34,234 INFO [ServerInfo] Java version: 1.4.0_03,Sun Microsystems Inc.
    19:33:34,234 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.0_03-b04,Sun Microsystems Inc.
    19:33:34,244 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
    19:33:34,875 INFO [Server] Core system initialized
    Failed to boot JBoss:
    org.jboss.deployment.DeploymentException: url file:/C:/java/jboss-4.0.1RC1/server/Jboss/conf/jboss-service.xml could not be opened, does it exist?
    at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:175)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:717)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:702)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:175)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
    at org.jboss.Main.boot(Main.java:151)
    at org.jboss.Main$1.run(Main.java:405)
    at java.lang.Thread.run(Thread.java:536)
    19:33:35,015 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
    Shutting down
    19:33:35,035 INFO [Server] Shutdown complete
    Shutdown complete
    Halting VM

    #222829 Reply

    tiongtingkun
    Member

    Hi,

    Ok, I fixed the jboss-service.xml config file problem.

    Do I need to worry about “jboss: unused non-option argument: 4”?

    Thanks.

    #222861 Reply

    tiongtingkun
    Member

    Hi,

    I finally figure out what I was doing wrong when configurating the server.

    tiong

    #222867 Reply

    Riyad Kalla
    Member

    Thank you for following up.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: JBOSS 4 configuration setup [Closed]

You must be logged in to post in the forum log in