[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] - Microcontainer Demos

2009-05-19 Thread uaark...@gmail.com
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.

Even after doing that (and including the models classes with JMXBean or 
bootstrap.Main) I get the following error.

Appreciate any help.

Regards,
Uday
...

:/Users/uaarkoti/Repository/JavaOne/mc2/models/target/jboss-demos-models.jar 
org.jboss.demos.bootstrap.Main
Using bootstrap: 
file:/Users/uaarkoti/Repository/JavaOne/mc2/bootstrap/src/main/resources/META-INF/bootstrap-beans.xml
JBoss-MC-Demo DEBUG [19-05-2009 20:27:27] KernelFactory - Starting JBoss Kernel 
construction...
JBoss-MC-Demo DEBUG [19-05-2009 20:27:28] KernelFactory - Completed JBoss 
Kernel construction.  Duration: 301 milliseconds
JBoss-MC-Demo DEBUG [19-05-2009 20:27:28] SaxJBossXBParser - Created parser: 
org.apache.xerces.jaxp.saxparseri...@3dccf342, isNamespaceAware: true, 
isValidating: true, isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:28] SaxJBossXBParser - 
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:28] SaxJBossXBParser - 
http://xml.org/sax/features/namespaces set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:28] SaxJBossXBParser - 
http://apache.org/xml/features/validation/dynamic set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:28] SaxJBossXBParser - Created parser: 
org.apache.xerces.jaxp.saxparseri...@3dccf342, isNamespaceAware: true, 
isValidating: true, isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] IterableTimedVFSCache - Creating 
timed cache policy, lifetime: null, threadSafe: true, resolution: null
JBoss-MC-Demo  INFO [19-05-2009 20:27:29] VFSCacheFactory - Initializing 
VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
JBoss-MC-Demo  INFO [19-05-2009 20:27:29] VFSCacheFactory - Using VFSCache 
[CombinedVFSCache[real-cache: null]]
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage Not 
Installed before null
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage Parse 
before controllerst...@5e9a867{preinstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage PostParse 
before controllerst...@5e9a867{preinstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage 
PreDescribe before controllerst...@5e9a867{preinstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage Describe 
before controllerst...@5e9a867{preinstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage 
ClassLoader before controllerst...@5e9a867{preinstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage 
PostClassLoader before controllerst...@5e9a867{preinstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage PreReal 
before controllerst...@5e9a867{preinstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage Real 
before controllerst...@5e9a867{preinstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage Installed 
before controllerst...@5e9a867{preinstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] VFSStructuralDeployersImpl - Added 
structure deployer 
org.jboss.deployers.vfs.plugins.structure.explicit.declaredstruct...@7393ccd5
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] VFSStructuralDeployersImpl - Added 
structure deployer 
org.jboss.deployers.vfs.plugins.structure.jar.jarstruct...@3f1e86da
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] VFSStructuralDeployersImpl - Added 
structure deployer 
org.jboss.deployers.vfs.plugins.structure.file.filestruct...@616b9190
JBoss-MC-Demo DEBUG [19-05-2009 20:27:30] DeployersImpl - Added deployer 
org.jboss.deployers.vfs.deployer.kernel.beandeplo...@22b64866 for stage Parse
org.jboss.deployers.vfs.deployer.kernel.beandeplo...@22b64866{inputs=[] 
outputs=[org.jboss.kernel.spi.deployment.KernelDeployment]}

JBoss-MC-Demo DEBUG [19-05-2009 20:27:30] DeployersImpl - Added deployer 
org.jboss.deployers.vfs.deployer.kernel.kerneldeploymentdeplo...@196ea1eb for 
stage Real
org.jboss.deployers.vfs.deployer.kernel.kerneldeploymentdeplo...@196ea1eb{inputs=[org.jboss.beans.metadata.spi.beanmetadata,
 org.jboss.kernel.spi.deployment.KernelDeployment] 
outputs=[org.jboss.beans.metadata.spi.BeanMetaData]}

JBoss-MC-Demo DEBUG [19-05-2009 20:27:30] DeployersImpl - Added deployer 
org.jboss.deployers.vfs.deployer.kernel.beanmetadatadeplo...@39f46204 for stage 
Real
org.jboss.deployers.vfs.deployer.kernel.kerneldeploymentdeplo...@196ea1eb{inputs=[org.jboss.beans.metadata.spi.beanmetadata,
 org.jboss.kernel.spi.deployment.KernelDeployment] 
outputs=[org.jboss.beans.metadata.spi.BeanMetaData]}
org.jboss.deployers.vfs.deployer.kernel.beanmetadatadeplo...@39f46204{i