VMware Cloud Community
sadeMan
Contributor
Contributor

Tomcat instance in HQ

I was wanting to run another program on the same Tomcat instance as hyperic. Where in the directory would I put the war file?
0 Kudos
4 Replies
admin
Immortal
Immortal

Our application server is JBoss, which embeds a Tomcat instance. To deploy your WAR file, you'll need to copy it here: hq-engine/server/default/deploy

Charles
sadeMan
Contributor
Contributor

Thanks Charles,

Is there anything else I need to do? The web app that I wrote does not seem to be running. I restarted the hyperic server. Is there a jboss manager that I can look at to see if the application has been deployed?

Brian
0 Kudos
admin
Immortal
Immortal

Hi Brian,

Deploying your own webapp in JBoss is beyond the scope of what I can
help you with. You should try to hit up JBoss' forums directly.
JBoss includes a jmx-console webapp that displays the internals of
what has been deployed and what services are available, but we
removed it for security reasons. However, it's easy enough to
download JBoss 4.0.3-SP1 and drop the jmx-console.war into the
directory that I said and access it at http://localhost:7080/jmx-
console. Good luck.

Charles



0 Kudos
sadeMan
Contributor
Contributor

Thanks for the help Charles,
I figured out the problem. I built my application with JDK 1.5 and hyperics built in JDK was 1.4 so the application was not getting launched. To fix the problem I used the hyperic version with no jre. I also had to add the appropriate jar files to the server lib directory (of course). I put the application in the deploy directory and it works like a charm.

Brian
0 Kudos