Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Aphorismen
Applications
Business Economics & Admin.
My Computers
Cooking
Devices
Folders
Food
Hardware
Infos
Software Development
Sports
Operation Instructions
Todos
Test
Help
Glossary
Community portal
adaptions
Sidebar anpassen
Wiki RB4
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
JBoss
(section)
Page
Discussion
English
Read
Edit
View history
Toolbox
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Operation== ===CLI=== Command Line interface (examples see build file of [[Uweheuer|uweheuer]]): * '''Operation requests''' is considered a raw low level way to manage things. Normally, for convenience and friendliness users would use * '''Commands''' instead /bin/jboss-cli.sh or jboss-cli.bat [disconnected /] connect 192.168.0.10:9990 Examples: [standalone@localhost:9999 /] /subsystem=logging/root-logger=ROOT:change-root-log-level(level=DEBUG) {"outcome" => "success"} [standalone@localhost:9999 /] /deployment=*:read-resource Check Server State: [standalone@localhost:9990 /] :read-attribute(name=server-state) Reload Configuration: [standalone@localhost:9990 /] :reload Restart Server: [standalone@localhost:9990 /] :shutdown(restart=true) ===CLI Batch=== The batches are located in the bin directory: jboss-cli.bat or jboss-cli.sh ====Disable Application==== jboss-cli.bat --controller=192.168.178.202 --connect --user=admin --password=Halloo0@1 -c "undeploy uweheuer.war --keep-content" ====Enable Disabled Application==== jboss-cli.bat --controller=192.168.178.202 --connect --user=admin --password=Halloo0@1 -c "deploy --name=uweheuer.war" ====Shutdown Server==== ./jboss-cli.sh --connect --command=:shutdown ===Start the server=== ====JBoss < 7==== * [[HomePCNew#JBoss_5|HomePCNew]] * on Windows systems: <JBOSS_HOME>/bin/run.bat * on Linux systems: <JBOSS_HOME>/bin/run.sh > /dev/null & ====JBoss 7==== =====Windows===== * by cmd line: <JBOSS_HOME>\bin\MyStandalone.bat (s. also [[EONISLaptop#Dienste|Dienste]]) * by eclipse Window -> Show View -> Other -> Other -> Server -> Servers =====Ubuntu===== * on HomePC: /etc/init.d/jboss7 start ===Start the server for debugging=== ====HP EBS laptop installation==== * open server tab * select server 'Red Hat JBoss EAP 6.1+' -> right click-> debug * select 'set the server adapter to 'started' without launching a new server' * select server 'Red Hat JBoss EAP 6.1+' -> right click-> restart in debug ===Stop the server=== ====JBoss < 7==== * Windows: <JBOSS_HOME>/bin/MyShutdown.bat * Linux-Standard is <JBOSS_HOME>/bin/shutdown.sh --server=localhost * on HOME PC because of service installation: manual start or stop in terminal with sudo /etc/init.d/jboss [start|stop] ====JBoss 7==== =====Windows===== * if started in cmd shell just press CTRl+C =====Ubuuntu===== * on HomePC: /etc/init.d/jboss7 stop =====HomePC New===== ===Deployment of Applications=== ====JBoss < 7==== #copy the ear file to <JBOSS_HOME>/server/<CONFIGURATION>/ directory #it will be expanded to <JBOSS_HOME>/server/<CONFIGURATION>/tmp/deploy/... ====JBoss 7==== * copy war file to <JBOSS_DIR>\standalone\deployments or * deployement via [[#CLI|CLI]] (see [[Uweheuer|uweheuer]] generantion) * copy extracted war file to <JBOSS_DIR>\standalone\deployments and create empty file <WAR_FILENAME>'''.dodeploy''' ===Start the Hypersonic (HSQL) Database Manager=== * start [http://localhost:8080/jmx-console/ JBoss JMX Console] * follow link '''database=localDB,service=Hypersonic''' * search startDatabaseManager() and press Invoke * new client start after some seconds
Summary:
Please note that all contributions to Wiki RB4 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Uwe Heuer Wiki New:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width