• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

JBoss-as-7.1.1 unable to start

 
Ranch Hand
Posts: 72
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to JBoss and trying to configure it.
I unzipped JBoss-as-7.1.1 in root directory, from command prompt when I go to bin and type "standalone.bat" and press enter I see:
Calling "D:\jboss-as-7.1.1\bin\standalone.conf.bat"
and control return to the directory. when I check in browser (http://localhost:8080) the page is not displayed.
Though its running fine from eclipse.
Can anyone help me with this.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems like the batch file tripped over a command somewhere. Try editing the standalone.bat file, commenting out (or removing) the "@echo off" line. Then run it again. It will now echo the commands to the window. Look at the last thing that was done before you are returned to the command prompt, that should tell you what went wrong. If you can't figure it out, post the output.

Oh, and one more thing - make sure you are not running it in Eclipse when you do this - you'll end up with problems due to port conflicts. (Solving that is a different issue.)
 
nir sharma
Ranch Hand
Posts: 72
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


this is what I got when I tried to start the JBoss from command prompt after removing "@Echo off". I'm unable to understand what exactly is the problem. Can anyone help.
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess is that you are hitting the findstr problem: https://community.jboss.org/wiki/FindstrCommandNotFound

In older versions of JBoss it was easier to comment out the lines in run.bat that used finstr, but it looks like you will instead have to get and install a copy of findstr.
 
I am going down to the lab. Do NOT let anyone in. Not even this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic