It's not a secret anymore!
The moose likes JBoss/WildFly and the fly likes Need help on the type of server.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Need help on the type of server.." Watch "Need help on the type of server.." New topic

Need help on the type of server..

Syahir Jai

Joined: Apr 17, 2010
Posts: 10
Is there a difference if i use the "ALL" server instead of "DEFAULT"?

Also, in the book "JBoss In Action" page 25, on how to set the classpath, i keep getting the error when I type the 1st line of command in the command prompt.
javac:-d requires an argument

Does it mean that my servlet-api.jar is not there? If it does mean that, I do have the servlet-api.jar file in the folder. Or maybe because I did the wrong way of placing the file there. Because in the 1st place my .jar was not there and how i got it was to download it from some website and just cut and paste it into that folder. Is this wrong?
Peter Johnson

Joined: May 14, 2008
Posts: 5852

The 'all' configuration includes clustering support, while the 'default' config does not. Other than that, they include all of the same services. Thus 'all' == 'default' + clustering. This is covered in JBoss in Action, page 17, table 1.3.

Regarding page 25, please note that the 2 lines of the command should be typed on a single line. (The error you are getting is that '-d' requires a parameter, and in the book the -d and its parameter, "helloapp.war/WEB-INF/classes src/com/manning/jbia/intro/*" are split between two lines). The funny arrow in front of the second line is a continuation character (see page xxv in the intro)

JBoss In Action
I agree. Here's the link:
subject: Need help on the type of server..
It's not a secret anymore!