When I get an exception displayed from my Spring MVC app deployed to JBoss, there is a note at the bottom saying "The full stack trace of the root cause is available in the JBoss Web/2.1.7 logs."
Where can I find these logs?
In your JBoss's log directory, e.g. under server/default/log
Related
I want to land on directly log in page of JBOSS hence I removed the handler and now I am getting '404 not found error' on running jboss application. Can anyone please help.
/subsystem=undertow/configuration=handler/file=welcome-content:remove
/subsystem=undertow/server=default-server/host=default-host/location="/":remove
ran above two commands.
You are getting 404 not found error because you removed welcome content from your configuration.
Add all the removed configuration again and try to access the admin console using
http://<server-ip>:9990/console/index.html
you should be able to access jboss admin console.
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.
I am having trouble accessing ActiveMQ's web console.
On their website it says you can access the console through the URL : localhost:8161/admin
But all I get when I try this is "This webpage is not available"
I found another site saying I can access it through port '61616', which gives me a response in the form of the following :
I have done some extensive searching on this issue, and have found others with the same problem, but have not come across a solution.
I am fairly new to using ActiveMQ so please excuse me if I have left out any relevant information.
Any help is greatly appreciated.
The admin console is a web application (WAR-file) deployed in an embedded Jetty server that starts up along with ActiveMQ standalone distribution.
Since you intend to run ActiveMQ inside a web application inside Tomcat, it would not make sense to fire up a jetty server.
Simply deploy the web console WAR to your Tomcat. You need to point out the JMS/OpenWire connection URI as well as JMX connection URI to ActiveMQ Web Console to get it going. Typically in Tomcat setenv.sh (or similar file):
JAVA_OPTS="$JAVA_OPTS -Dwebconsole.type=properties -Dwebconsole.jms.url=tcp://localhost:61616- Dwebconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi -Dwebconsole.jmx.user=admin -Dwebconsole.jmx.password=mypassw0rd"
This requires you to have JMX setup on your Tomcat instance. If not, check this Tomcat doc page out.
This will deploy the console just like any app in your Tomcat (not port 8161).
Off-topic, but a nice feature with decoupling the web console from the actual broker is that you can access a the activem broker of a master/slave pair using failover protocol and comma separated jmx settings.
I am having trouble configuring my Tomcat on Eclipse. I followed the steps to set up a local Apache Tomcat Server on my Mac, and I also set up an SSL on the Tomcat Server successfully. However, after following instructions in setting up my Apache Tomcat server in eclipse, I keep getting errors saying the following:
HTTP Status 404 - /
type Status report
message /
description The requested resource is not available.
If it makes any difference, I removed the web project I was trying to make when creating my server. It also doesn't work when I try to boot it up on Terminal--I end up with the same message. Any help would be appreciated trying to decipher this error message! Thanks!
The "ROOT" folder of your tomcat seems to be empty. Either you did not add an application to your Tomact config ("Server" view) or you have to check your "Server location" settings, double click on your servers name in the same view.
A strange problem occurred yesterday on a production system which has been running fine for weeks on a JBoss 4.2.3 application server: the JAR file containing the web application was no longer in the deployment folder (so the clients could no longer access the application). The server is running on a Windows box.
There was no indication of undeployment in the server logs. Normally JBoss detects if somebody deletes (or moves) a deployed web application file and executes the standard undeployment procedure, so there would be a log entry in this case.
Other web applications on the same system continued to run fine, so it was only this JAR file which simply disappeared.
Has somebody seen a similar problem with web applications on JBoss?
I'd bet my shoes that's not possible to happen spontaneously.
Check your security settings - didn't you leave JMX console accessible? Etc.