[jboss-user] [Installation, Configuration & Deployment] - Beginner with JBoss getting a command line error

iturnthepage do-not-reply at jboss.com
Wed Sep 20 22:41:25 EDT 2006


I Greatly appreciate any help with this problem. I understand that a professional is taking time out of his/her busy schedule to help a student. Thanks for your time !!

JDK: 1.5.0_07      *can compile and run successfully

Environment Variables:

CLASSPATH :   c:\java_ee_sdk-5-windows\bin;c:\Program    Files\Java\jdk1.5.0_07\bin;c:\Program Files;C:\Program Files\jboss-4.0.3SP1\bin

JAVA_HOME:  %PATH%;c:\Program Files\Java\jdk1.5.0_07\bin;C:

JBOSS_HOME: C:\JBoss\jboss-4.0.3SP1\bin

PATH:  %PATH%;C:\Sun\AppServer\bin;c:\java_ee_sdk-5-windows\bin;c:\Program Files\Java\jdk1.5.0_07\bin;C:\JBoss\jboss-4.0.3SP1\bin

** When I try to test the JBoss installation and start the server using

C:\Jboss\jboss-4.0.3SP1\bin>run -c all
** I get the following error message over and over until I stop the command line output.
"The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect."  **etc.

or using this command line statement

C:\>%JBOSS_HOME%\bin\run -c all
The system cannot find the path specified.

The run.bat file

@echo off
rem -------------------------------------------------------------------------
rem JBoss Bootstrap Script for Win32
rem -------------------------------------------------------------------------

rem $Id: run.bat,v 1.13.4.2 2005/05/04 23:05:42 starksm Exp $

@if not "%ECHO%" == ""  echo %ECHO%
@if "%OS%" == "Windows_NT"  setlocal

set DIRNAME=.\
if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
set PROGNAME=run.bat
if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%

rem Read all command line arguments

REM
REM The %ARGS% env variable commented out in favor of using %* to include
REM all args in java command line. See bug #840239. [jpl]
REM
REM set ARGS=
REM :loop
REM if [%1] == [] goto endloop
REM         set ARGS=%ARGS% %1
REM         shift
REM         goto loop
REM :endloop

rem Find run.jar, or we can't continue

set RUNJAR=%DIRNAME%\run.jar
if exist "%RUNJAR%" goto FOUND_RUN_JAR
echo Could not locate %RUNJAR%. Please check that you are in the
echo bin directory when running this script.
goto END

:FOUND_RUN_JAR

if not "%JAVA_HOME%" == "" goto ADD_TOOLS


***** If there is any more info needed to help me solve this problem Please let me know...Thanks so very much!!!


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

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



More information about the jboss-user mailing list