File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jboss" Watch "jboss" New topic


beata jane
Ranch Hand

Joined: Sep 10, 2009
Posts: 43
can anyone tell me how to run a sample client program in jboss.
I dont have any sample program.Besides i dont know how the client program should be.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
What do you mean by "sample client program"? Since you're saying that you don't know what the program should be like, and don't have an example of one, I'd suggest to ask whoever gave you this task to be more specific about it. If this is related to your BPEL question, then post any follow-up questions in that topic.
beata jane
Ranch Hand

Joined: Sep 10, 2009
Posts: 43
I am just a beginner.I have insatalled jboss5.0.0.cr2.
I wrote a simple html program to run on it.I have copied the html file into my d:/jboss 5.0.0.cr2/server/all/deploy/root.war/jmg.html
and in my browser i gave this http://localhost:8080/jmg.html
I got this file not found error(404 error).please help me to get through this.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

How did you start the app server? Did you pass in the option "-c all". If not, then you are running the 'default' config not the 'all' config. So your HTML file should be located at d:/jboss 5.0.0.cr2/server/default/deploy/root.war/jmg.html

Why are you running 5.0.0.CR2? That is a very old candidate release from about a year ago. You should be using 5.1.0.GA, or 5.0.1.GA

By the way, since you are new to JBoss AS, go to the JBoss in Action book's web site and get the free first chapter - it has everything you need to get started.

JBoss In Action
I agree. Here's the link:
subject: jboss
It's not a secret anymore!