[jboss-user] [Microcontainer] - Re: Microcontainer Demos

2009-05-20 Thread alesj
"uaark...@gmail.com" wrote : 
  | I guess the most misleading of all is the fact that "Main" class in 
bootstrap module also has a main method and people are bound to try to run it.
  | 
That's actually intentional.

As the idea is to be able to run various *Main classes,
depending on the "flavor" you wanna use.
e.g.
Main --> plain kernel bootstrap
JMXMain --> add jmx support
ClassLoadingMain --> additional cl deployers
...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232387#4232387

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232387
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Microcontainer Demos

2009-05-20 Thread uaark...@gmail.com
Ales,

That did it.

I guess the most misleading of all is the fact that "Main" class in bootstrap 
module also has a main method and people are bound to try to run it.

Thanks anyway.

Regards,
Uday

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232356#4232356

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232356
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Microcontainer Demos

2009-05-20 Thread alesj
"uaark...@gmail.com" wrote : Although there is some good documentation and 
enough information on these forums I still cannot figure out how to run these 
(http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/) 
examples.
  | 
  | First of all, the sprint-int, guice-int, springframework and guice 
libraries need to be included with the JMXMain and bootstrap.Main modules. Not 
sure why they are not included.
  | 
No, they are only needed at models module (see models' pom.xml).

What you need to do is to run JMXMain from the models module,
using its classpath, which includes the right jars - bootstrap, jmx, 
spring-int, guice-int, ...


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232162#4232162

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232162
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user