This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Jboss" Watch "Jboss" New topic
Author

Jboss

Sandip Sarkar
Ranch Hand

Joined: Nov 25, 2007
Posts: 55
Hi All,

Have installed JBOSS 4.2.2 GA.
My java is installed in C: drive and jboss in drive F:

The classpath is set as follows :

JAVA_HOME:C:\Program Files\Java\jdk1.5.0\bin
JBOSS_HOME:F:\jboss-4.2.2.GA\bin
CLASSPATH:C:\Program Files\Java\jdk1.5.0\bin;F:\jboss-4.2.2.GA\bin\run.jar

Still, whenever i go to the F drive Jboss folder and into the bin folder in command prompt and try "run.bat"...nothing happens.No errors...nothng.
What am i supposed to do?
Please guide.

Thanks,
Sandip
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3697
    
    5

You shouldn't need to add run.jar to the classpath, you should just need to be in the bin directory (from a command prompt) when you issue the run.bat command. I'd play around with the bat file (such as throwing echo hello world around) to see where its dying. Debugging isn't just restricted to java source code, but is a valuable skill anywhere.


My Blog: Down Home Country Coding with Scott Selikoff
Sandip Sarkar
Ranch Hand

Joined: Nov 25, 2007
Posts: 55
Thnaks Scott.
Let me try my hands a bit further.
But did you find any wrong parameters in my setting except the jar thing.

Thanks,
Sandip
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3697
    
    5

Can't really answer that without knowing how your computer is configured. You can put directories anywhere really.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109

JAVA_HOME:C:\Program Files\Java\jdk1.5.0\bin


Incorrect JAVA_HOME. It should be C:\Program Files\Java\jdk1.5.0


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss
 
Similar Threads
another Eclipse & JBoss question
Easy Eclipse and JBoss plug-in
Starting JBoss
Jboss not starting aka shutting down
Not able to Start JBoss(run.bat)