[JBoss-user] [Installation & Configuration] - Re: JBoss Deployment order within ear
Any JBoss developers have any idea about this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874352#3874352 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874352 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss Deployment order within ear
Yeah - I tried adding a element to the SAR to make my MBean start after the WAR. I tried adding depends tags like the following: jboss.management.local:J2EEApplication=tdi.ear,J2EEServer=Local,j2eeType=WebModule,name=tdi.war jboss.web:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/tdi When I added any depends tag, the Mbean would simply not deploy and say that the above MBeans were NOTYETINSTALLED. However, if I went to the jmx-console, they appeared exactly the same. One problem is that MainDeployer does not allow you to override its URLComparator. It declares the URLComparator as "private final". To workaround this problem and the fact that the depends tag did not work, I split my war out of my ear and used the Prefix Deployment Scanner sorter. This did deploy the war before the ear (in other words, the war before the MBean) but the war resources were still not available until after JBoss had fully started. To test if this was really the case I added a Thread.sleep() call to one of my MBeans and made it wait for a few minutes. At this point the war had already deployed, but the war resources could not be accessed from a web browser. So, I have two problems: | * I can't get the war to deploy before my MBean if they are in the same EAR. I have tried several depends elements to no avail. | | * Even when I do get the war to deploy before the MBean by separating it from my ear, the war resources are not available to the MBean and do not seem to be available until after JBoss completely starts up. | Any help would be greatly appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873071#3873071 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873071 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss Deployment order within ear
Just noticed that you're within in EAR file, so perhaps try setting J2EEApplication=... to the name of your ear. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872943#3872943 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872943 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss Deployment order within ear
Have you tried adding a depends element to your SAR's jboss-service.xml? Something like: | | jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=WebModule,name=my.war | ... | | I'm not sure what the JMX name should be for a deployed WAR, but looking through the JMX console, the above example would be my guess. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872942#3872942 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872942 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user