1 of 1 people found this helpful
Although I'm a little surprised it seems the Tomcat plugin does not define any bundle-targets. That means it does not provide any hooks for deploying bundles directly under the Tomcat Server itself. So, deploying at the platform level would be required, I think. For example, JBoss AS7/EAP servers can deploy bundles directly.
The alernative is to implement this feature in the plugin. We would happily accept the contribution. I can't quite remember but it may not even reuire any Java coding, it may be a fairly easy addetion to the plugin descriptor (rhq-plugin.xml). You could take a look at https://git.fedorahosted.org/cgit/rhq/rhq.git/tree/modules/plugins/jboss-as-7/src/main/resources/META-INF/rhq-plugin.xml… which is where we define bundle-targets for an AS7 standalone server.
Thanks for the reply. I was surprised too, so I asked about it. I was almost sure, that it's possible. I know that deploy to Jboss is supported. We use it, and I think it's very useful tool.
Therefore I would like use similar mechanism for tomcat's server. I think I'll try implement this stuff to tomcat's plugin. Wish me good luck
I added few lines in rhq-server.xml file and now RHQ can deploy packages to tomcats servers.
It was really easy... So of course I would like to add my changes to rhq-project.
What have I to do?
Should I create bug on bugzilla, create new brand based on brand 4.14.0-snapshot, send request pull to to rhq-project and write email to firstname.lastname@example.org.
Am I right?
I need to deploy to Tomcat also. Are you able to specify a Context? I would need to add environment variable for Solr homes. Tomcat can run multiple Solr instances easily with the Context file that links the war file with its environment, but I was shocked to learn this is a pain in JBoss (there's no way to run multiple solr instances without rejarring the war file or some other hard options). The Jetty options are far worse than JBoss however it seems... Resin has a similar Context config to Tomcat that could do it... would like to run Solr on JBoss because there would be more instrumentation, but the requirements to add env vars for the WAR is a deal-breaker unless I'm missing something, which is always possible. someone did the work for me in this case: