How to access my application in JBoss? - jboss

I'm learning how to use Jboss AS, so sorry for the stupid question.
I installed JBoss 7.1.1 Final and downloaded the geoserver application in the war format.
I fixed the issues that I found and I got no stacktraces when deploying the app.
21:55:07,808 INFO [org.jboss.web] (MSC service thread 1-3) JBAS018210: Registering web context: /geoserver
21:55:08,148 INFO [org.jboss.as.server] (HttpManagementService-threads - 5) JBAS018559: Deployed "geoserver.war"
But when I access localhost:8080/geoserver I get a 404. Any tips? Thanks

Related

Wildfly started, but is showing as lazy services & applications are not working

Using Wildfly 11, on windows OS 12.
Upon starting wildfly, below is displayed
WFLYSRV0025: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started in 2993ms - Started 103 of 113 services (31 services are lazy, passive or on-demand)
My wildfly deployments has 5 war files, none of which are starting/running/working now.
Can you pls help as to why this is happening & what is the solution for the same

Jboss EAP 6.4 Server logs are not properly updated

JBoss startup and Server logs are not getting updated completely like started in XXXX ms. But all the services are being deployed successfully. Is there any way to debug why the logs are not printing?
Thanks,
Kusuma
Just check on your the logging subsystem configuration in your standalone.xml.
If that's not the issue, this is probably a problem with your application configuration and not JBoss, probably you just have to exclude some logging libraries in your jboss-deployment-structure.xml, to use the provided and not the jboss instance libs.

JGroups with JBoss application server

Where can I find a basic example of code for using Jgroups with JBoss application server.
Jboss application server (version 7 or 6) ships with JGroups (used for custering).
I simply want to reuse this jgroups module in order to do server to server messaging.
[1] provides a good starting point.
[1] http://piotrnowicki.com/2013/02/using-jgroups-directly-from-jboss-as-7-component/

Long delay in JBoss start time

I'm running JBoss 7.1.1.Final and a fresh install of Eclipse (Juno). The JBoss server runs fine once it's started but I've noticed there is a long delay every time I try to start it. Take a look below, the first three lines pop into the console instantly, then it seems like nothing happens for two minutes. When it starts up again the rest of the server start takes about 30 seconds.
13:07:39,406 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
13:07:43,357 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
13:07:43,498 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
13:10:12,772 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
...
13:10:45,380 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "test-ear.ear"
Does anyone know what is going on in the time between lines 3 and 4?
Thanks
Chances are that it is performing a scan of your deployment. Turn on debug level logging for the category "org.jboss.modules" to see if the scanning is taking up this time.
Also check if you have anti-virus scanning turned on for the deployment directory (exclude this directory) since that can slow down startup as well.

How to monitor ejb deployments in jboss6

In Jboss4, I used to have an MDB listening to deployment messages for dynamically registering components in a system. I used the approach described at http://community.jboss.org/wiki/ExampleMinimalNotificationListener.
Apparently, this mechanism doesn't help anymore in JBoss 6.
So how can I get notified after an EJB has been deployed or before it gets undeployed?