Win a copy of Serverless Applications with Node.js this week in the NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Unable to start JBOSS 4.3 via run.bat in command prompt  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am unable to start JBOSS via command prompt and getting following messages

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>rem @echo off

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>rem

-------------------------------------------------------------------------

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>rem JBoss Bootstrap Script for Win32

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>rem

-------------------------------------------------------------------------

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>rem $Id: run.bat 103933 2010-04-13 20:24:29Z rachmatowicz@jboss.com $

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>set DIRNAME=.\

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>if "Windows_NT" == "Windows_NT" set DIRNAME=C:\ITBM\jboss-eap-

4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin\

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>set PROGNAME=run.bat

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>if "Windows_NT" == "Windows_NT" set PROGNAME=run.bat

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>pushd C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin\..

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as>set JBOSS_HOME=C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as>popd

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>REM Add bin/native to the PATH if present

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>if exist "C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin

\native" set PATH=C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin\native;C:\Program Files\BMC Software\ARSystem

\pluginsvr;C:\Program Files\BMC Software\ARSystem;C:\Program Files\Java\jre7\bin;C:\Program Files\Java\jre7\bin\server;C:\oracle

\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:

\Program Files\BMC Software\AtriumCore\cmdb\sdk\bin;C:\Program Files\BMC Software\AtriumCore\cmdb\plugins;C:\Program Files\BMC

Software\AtriumCore\cmdb\plugins\ne;C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>if exist "C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin

\native" set JAVA_OPTS= -Djava.library.path="C:\Program Files\BMC Software\ARSystem\pluginsvr;C:\Program Files\BMC Software

\ARSystem;C:\Program Files\Java\jre7\bin;C:\Program Files\Java\jre7\bin\server;C:\oracle\product\11.2.0\dbhome_1\bin;C:\Windows

\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\BMC Software\AtriumCore

\cmdb\sdk\bin;C:\Program Files\BMC Software\AtriumCore\cmdb\plugins;C:\Program Files\BMC Software\AtriumCore\cmdb\plugins\ne;C:\ITBM

\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin"

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>rem Find run.jar, or we can't continue

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>set RUNJAR=C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin

\run.jar

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>if exist "C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin

\run.jar" goto FOUND_RUN_JAR

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>if not "C:\Program Files\Java\jre7\bin\server" == "" goto ADD_TOOLS

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>set JAVA=C:\Program Files\Java\jre7\bin\server\bin\java

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>rem A full JDK with toos.jar is not required anymore since jboss web

packages

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>rem the eclipse jdt compiler and javassist has its own internal compiler.

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>if not exist "C:\Program Files\Java\jre7\bin\server\lib\tools.jar" goto

SKIP_TOOLS

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>rem If JBOSS_CLASSPATH or JAVAC_JAR is empty, don't include it, as this

will

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>rem result in including the local directory in the classpath, which makes

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>rem error tracking harder.

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>if not "" == "" set RUNJAR=;C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-

4.3\jboss-as\bin\run.jar

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>if "" == "" set RUN_CLASSPATH=C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-

4.3\jboss-as\bin\run.jar

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>if "C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin\run.jar" ==

"" set RUN_CLASSPATH=;C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin\run.jar

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>set JBOSS_CLASSPATH=C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as

\bin\run.jar

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>rem Setup JBoss specific properties

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>set JAVA_OPTS= -Dprogram.name=run.bat

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>rem Add -server to the JVM options, if supported

C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as\bin>"C:\Program Files\Java\jre7\bin\server\bin\java" -version 2>&1 | findstr

/I hotspot 1>nul

My JBOSS_HOME is "C:\ITBM\jboss-eap-4.3.0.GA_CP08\jboss-eap-4.3\jboss-as" and JAVA_HOME is "C:\Program Files\Java\jre7\bin\server".
Also, there is no logging on JBOSS directory since there is no log folder.

Please advise.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


and JAVA_HOME is "C:\Program Files\Java\jre7\bin\server"


It's always recommended to have Java installed in a folder which doesn't have a space in its path. So move it to some other folder like C:/Java/jre7/bin/server and point JAVA_HOME to that.

If that doesn't fix the problem then also take a look at this https://developer.jboss.org/wiki/FindstrCommandNotFound
 
Irfan Salar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jaikiran Pai wrote:


and JAVA_HOME is "C:\Program Files\Java\jre7\bin\server"


It's always recommended to have Java installed in a folder which doesn't have a space in its path. So move it to some other folder like C:/Java/jre7/bin/server and point JAVA_HOME to that.

If that doesn't fix the problem then also take a look at this https://developer.jboss.org/wiki/FindstrCommandNotFound



I changed JAVA_HOME to "C:\jre7\bin\server" but still getting same messages and JBOSS does not start

Can someone help on this issue?
I am stuck and not sure what it takes to start JBOSS 4.3 and followed all suggestions but cannot find a solution.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Based on the last line of output you posted, you might be running into the "findstr" problem which has been discussed in several posts including this one: http://www.coderanch.com/t/616955/JBoss/Jboss-working#2819039
 
It is no measure of health to be well adjusted to a profoundly sick society. -Krishnamurti Tiny ad:
global solutions you can do at home or in your backyard
https://www.kickstarter.com/projects/paulwheaton/better-world-boo
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!