-
1. Re: How to deploy application in Jboss EAP6.0.0 ?
wdfink Nov 11, 2013 7:55 AM (in response to hari790)Hi,
deploy an application depends on what you prefer.
In standalone mode you might use the filesystem and simple drop the file to standalone/deployments, single files will be picked up and deployed. A directory 'exploded' deployment need to have a trigger file <application dir name>.dodeploy
Better is to use managed deploment, here you need to run CLI or even the Management console to deploy the application.
You might have a look to the administration Application deployment - JBoss AS 7.2 or the EAP 6 documentation
BTW, if you start with EAP6 you should use the EAP6.1.1 (latest) version as there are fixex and enhancements, 6.0.0 will be a old version and might have issues.
-
2. Re: How to deploy application in Jboss EAP6.0.0 ?
hari790 Nov 12, 2013 5:45 AM (in response to wdfink)Thanks
Will follow up with EAP 6 documentation link which provided by you.
-
3. Re: How to deploy application in Jboss EAP6.0.0 ?
hari790 Nov 21, 2013 7:00 AM (in response to wdfink)Hi All,
I had deployed War file (application) in standalone mode through management console.
Now i need to run/test the application.
Request anyone to guide me the steps to be followed to run the application.
Thanks in advance
-
4. Re: How to deploy application in Jboss EAP6.0.0 ?
wdfink Nov 21, 2013 9:39 AM (in response to hari790)If you deploy the war you should have access to ip:8080/yourWarName in a browser if you do not change the ports and override the content-root for the application.
-
5. Re: How to deploy application in Jboss EAP6.0.0 ?
hari790 Nov 22, 2013 12:06 AM (in response to wdfink)Hi All,
I tried to browse http://localhost:8080/Certi_Event.war ,to run my application in linux machine,but i am facing error as:
HTTP Status 404 -/Certi_Event.war
Description:The requested source not available
Request anyone to help me out ,as i am new to Jboss .
Thanks in advance
-
6. Re: How to deploy application in Jboss EAP6.0.0 ?
wdfink Nov 22, 2013 8:38 AM (in response to hari790)If you look to the logfile you should see a message like this
JBAS018210: Register web context: /multi-server-MainApp
If your war is Certi_Event.war the context should be available here http://localhost:8080/Certi_Event as long as you did not change the default server configuration for IP or port.
-
7. Re: How to deploy application in Jboss EAP6.0.0 ?
hari790 Nov 24, 2013 2:07 AM (in response to wdfink)Hi,
Request you to guide,how can we look into logfile .
And also how to check default server configuration for IP or port.Thanks in advance
-
8. Re: How to deploy application in Jboss EAP6.0.0 ?
wdfink Nov 24, 2013 7:15 AM (in response to hari790)The logfiles are in the standalone/log directory, also you can see a part of it in the console.
If you don't change the configuration and start standalone.sh withou options the IP address is 'localhost' with port 8080.
I strongly recommend that you read the documentation to become familiar with the administration. Also the quickstarts might be helpful.
-
9. Re: How to deploy application in Jboss EAP6.0.0 ?
hari790 Nov 27, 2013 6:59 AM (in response to wdfink)Hi,
I went through the log files,but couldn't see the message(JBAS018210:Regester web context :/multi-server-MainApp) as told by you.
Below is the part of the log file in console:
16:53:00,104 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]
16:53:00,557 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http-/127.0.0.1:8080
16:53:00,801 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
16:53:01,622 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-2) JBoss Web Services - Stack CXF Server 4.0.4.GA-redhat-1
16:53:02,235 INFO [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on 127.0.0.1:9999
16:53:02,261 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory /home/cmadmin/Hari/JBoss/jboss-eap-6.0/standalone/deployments
16:53:02,265 INFO [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on 127.0.0.1:4447
16:53:02,345 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
16:53:02,349 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss EAP 6.0.0.GA (AS 7.1.2.Final-redhat-1) started in 6963ms - Started 133 of 212 services (78 services are passive or on-demand)
I didn't change my default server configuration for ip or port.
Request ,you to guide me how shall I run my application.
Thanks in advance.
-
10. Re: How to deploy application in Jboss EAP6.0.0 ?
wdfink Nov 27, 2013 7:40 AM (in response to hari790)You should look for the JBAS018210 message, the multi-server-MainApp is my application context, you should see a different one.
To have a simple start you should use a fresh copy and start it. After successful start with bin/standalone.sh you should copy your application into the standalone/deployments.
You should see messages at the console which show that the *.war file is picked an deployed (or failed)
-
11. Re: How to deploy application in Jboss EAP6.0.0 ?
hari790 May 16, 2014 9:25 AM (in response to wdfink)Hi All,
Successfully started standalone .sh and copied the war file to standalone/deployments directory.And able to run the application in localhost:8080/hello/ .
But ,when i tried to deploy the same war file using management console i.e by browsing the war file and enabling it.In this case i am not able to run my application and its showing error.
Could anyone please tell why the deployment done by management console is not working and difference between boith the deployments .
Thanks in advance.
Regards,
Hari
-
12. Re: How to deploy application in Jboss EAP6.0.0 ?
wdfink May 16, 2014 6:07 PM (in response to hari790)You should provide more details. Also there are examples in the documentation and you can have a look to the deploy-domain.cli script of the ejb-multi-server quickstart.
In short the command is deploy application.war for standalone mode