How to verify Application are Deployed [message #1219597] |
Wed, 04 December 2013 15:01  |
Eclipse User |
|
|
|
Hi, I am new to using Virgo. I am pretty familiar with Tomcat and am wondering if some of the features carried over to Virgo.
For instance, how can I confirm that my WAR files have successfully deployed? In Tomcat I could go to the manager UI (localhost:8080/manager/html) to confirm this. Also, you can stop and start applications from here. Can this be done in Virgo?
Also, how can I confirm that JNDI resources are deployed properly? In Tomcat 7.0.42 for example, I could go to localhost:8080/manager/text/resources to confirm this (see tomcat.apache.org/tomcat-7.0-doc/manager-howto.html). How can this be done in Virgo?
Lastly, where is the standard place to add VM arguments?
Thanks in advance!
|
|
|
|
|
|
|
|
Re: How to verify Application are Deployed [message #1220407 is a reply to message #1220007] |
Wed, 11 December 2013 09:39  |
Eclipse User |
|
|
|
On the logback issue side of things. It seems I was having some issues with multiple copies of slf4j, log4j, and logback on the classpath. Probably mostly because I was placing some of the logging JARs in $CATALINA_BASE/lib/ directory, which I had working I thought. But I realized it was not working correctly after I got more familiar with logback. So, I had to move the slf4j and logback dependencies into each WAR.
Then, to create separate log files, its seems that I need to leverage Mapped Diagnostic Context (MDC) with a SiftingAppender (http://java.dzone.com/articles/siftingappender-logging). Less than desirable when compared to log4j would honor each WAR's log4j.xml. So, now I have some fractured logs because I can't get the logs from a WAR to go to a unique file until I can get to an early entry point class to set a unique value to MDC based on the WAR's context-path. MDC seems like it could be useful with creating separate log files per user and/or user's session; however, logback's default MDCAdapter only allows one discriminator to be used in the serviceability.xml.
|
|
|
Powered by
FUDForum. Page generated in 2.42789 seconds