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

about JBoss

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Hi,

i am newbie to jboss4.2. how to change server port number and also how to deploy war file into jboss

i studied from google also,but still i want more information.

please explain me
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

hi,

some day back, I asked the same question and they gave me this link !

and regarding your question , you can change this file (same as tomcat server.xml) server\default\deploy\jboss-web.deployer\server.xml for the port

and

put your .war file in this directory , server\default\deploy, It deployed by JBoss, observe the console ! I`m using JBoss 4.2.2


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

hi Sagar,

Thanks, now i deploy and i can run the war.

in tomcat, we put war under webapp then after starting the folder structure of war will come...but i can not find in jbosss...where can i find that?
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

I`m just a week older than you in using JBoss and thing is that , the JBoss is deployed it without extracting it to a "folder" . It ll work whenever you start the jBoss!

The same question I Have (about extracted folder) .May be we hav to look deeper into JBoss wiki !!
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

You both are looking for this?


[My Blog] [JavaRanch Journal]
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

ohhh, Thanks Jaikiran !
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Originally posted by Sagar Rohankar:
ohhh, Thanks Jaikiran !


i can not understand.

can you explain?
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

I thank Jikiran for pointing me to solution , the link he had given !
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Originally posted by Sagar Rohankar:
I thank Jikiran for pointing me to solution , the link he had given !



hi,, i read the link..i can not understand the link...

can you explain?
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

link says that, either you can paste the war file as it is OR you post the exploded form of war , Exploded means just unzipped the war and paste the folder in deply directory , The advantage of using exploded form is you can change the web apps resources on the fly , like JSPs !!

If there is other than this , then I failed to understand !
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Thanks a lot Sagar Rohankar
Sondre Kval�
Greenhorn

Joined: Aug 14, 2008
Posts: 8
Hi all!

In JBoss all packaged deployments (war,ear,rar,sar files etc) are extracted to a temporary folder when they are deployed.
Look at the folder JBOSS_HOME/server/default/tmp/deploy
The folders created for the extracted archives are given names such as "tmpXXXXXarchivename.ext" (your yourapp.war file may be extracted to a folder named "tmp23623yourapp.war")

What happens when you redeploy (i.e copies a new version of yourapp.war to the "deploy" folder) is that this also gets extracted to the temp deploy folder but under a different name. This means that you may find more than one folder under tmp/deploy for your application.

The tmp/deploy folder is always emptied during startup, so it is now point in making alterations to any of the files stored there.

With "exploded deployment" JBoss will not create any temporary files but will load the files directly from the "server/servername/deploy" folder.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Thanks Sondre, crystal clear now ,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: about JBoss