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.SAXParserImpl@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.SAXParserImpl@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
ControllerState@5e9a867{PreInstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage PostParse before
ControllerState@5e9a867{PreInstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage PreDescribe before
ControllerState@5e9a867{PreInstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage Describe before
ControllerState@5e9a867{PreInstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage ClassLoader before
ControllerState@5e9a867{PreInstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage PostClassLoader
before ControllerState@5e9a867{PreInstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage PreReal before
ControllerState@5e9a867{PreInstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage Real before
ControllerState@5e9a867{PreInstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] DeployersImpl - Added stage Installed before
ControllerState@5e9a867{PreInstall}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] VFSStructuralDeployersImpl - Added structure
deployer org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure@7393ccd5
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] VFSStructuralDeployersImpl - Added structure
deployer org.jboss.deployers.vfs.plugins.structure.jar.JARStructure@3f1e86da
JBoss-MC-Demo DEBUG [19-05-2009 20:27:29] VFSStructuralDeployersImpl - Added structure
deployer org.jboss.deployers.vfs.plugins.structure.file.FileStructure@616b9190
JBoss-MC-Demo DEBUG [19-05-2009 20:27:30] DeployersImpl - Added deployer
org.jboss.deployers.vfs.deployer.kernel.BeanDeployer@22b64866 for stage Parse
org.jboss.deployers.vfs.deployer.kernel.BeanDeployer@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.KernelDeploymentDeployer@196ea1eb for stage Real
org.jboss.deployers.vfs.deployer.kernel.KernelDeploymentDeployer(a)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.BeanMetaDataDeployer@39f46204 for stage Real
org.jboss.deployers.vfs.deployer.kernel.KernelDeploymentDeployer(a)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.BeanMetaDataDeployer(a)39f46204{inputs=[org.jboss.beans.metadata.spi.BeanMetaData]
outputs=[]}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:30] DeployersImpl - Added deployer
org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer@65cad579 for stage Parse
org.jboss.deployers.vfs.deployer.kernel.BeanDeployer@22b64866{inputs=[]
outputs=[org.jboss.kernel.spi.deployment.KernelDeployment]}
org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer@65cad579{inputs=[]
outputs=[org.jboss.classloading.spi.metadata.ClassLoadingMetaData]}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:30] DeployersImpl - Added deployer
org.jboss.deployers.plugins.classloading.ClassLoadingDefaultDeployer@341ad6e5 for stage
PreDescribe
org.jboss.deployers.plugins.classloading.ClassLoadingDefaultDeployer(a)341ad6e5{inputs=[org.jboss.classloading.spi.metadata.ClassLoadingMetaData]
outputs=[org.jboss.classloading.spi.metadata.ClassLoadingMetaData]}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:30] DeployersImpl - Added deployer
org.jboss.deployers.vfs.plugins.classloader.VFSClassLoaderClassPathDeployer@46d74af3 for
stage Describe
org.jboss.deployers.vfs.plugins.classloader.VFSClassLoaderClassPathDeployer(a)46d74af3{inputs=[org.jboss.classloading.spi.metadata.ClassLoadingMetaData]
outputs=[org.jboss.classloading.spi.metadata.ClassLoadingMetaData]}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:30] DeployersImpl - Added deployer
org.jboss.deployers.vfs.plugins.classloader.VFSClassLoaderDescribeDeployer@5e97dadf for
stage Describe
org.jboss.deployers.vfs.plugins.classloader.VFSClassLoaderClassPathDeployer(a)46d74af3{inputs=[org.jboss.classloading.spi.metadata.ClassLoadingMetaData]
outputs=[org.jboss.classloading.spi.metadata.ClassLoadingMetaData]}
org.jboss.deployers.vfs.plugins.classloader.VFSClassLoaderDescribeDeployer(a)5e97dadf{inputs=[org.jboss.classloading.spi.metadata.ClassLoadingMetaData]
outputs=[]}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:30] DeployersImpl - Added deployer
org.jboss.deployers.plugins.classloading.AbstractLevelClassLoaderSystemDeployer@21bc6f41
for stage ClassLoader
org.jboss.deployers.plugins.classloading.AbstractLevelClassLoaderSystemDeployer(a)21bc6f41{inputs=[org.jboss.deployers.structure.spi.ClassLoaderFactory]
outputs=[java.lang.ClassLoader]}
JBoss-MC-Demo INFO [19-05-2009 20:27:35] CopyMechanism - VFS temp dir: /tmp
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] MainDeployerImpl - Add deployment:
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] MainDeployerImpl - Scheduling deployment:
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/ parent=null
JBoss-MC-Demo INFO [19-05-2009 20:27:35] HDScanner - Deploy:
DelegatingHandler(a)1632409556[path=jboss-demos-models.jar
context=file:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/
real=file:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar]
JBoss-MC-Demo INFO [19-05-2009 20:27:35] HDScanner - Process deployments...
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] DeployersImpl - Deploying
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsing file:
jboss-demos-models.jar/META-INF/alias-beans.xml for type: interface
org.jboss.kernel.spi.deployment.KernelDeployment
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@4abf6d1e, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/namespaces set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-base-uris set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-language set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/dynamic set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/schema set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@4abf6d1e, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsed file:
jboss-demos-models.jar/META-INF/alias-beans.xml to:
AbstractKernelDeployment@24dc002{name=null installed=false}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsing file:
jboss-demos-models.jar/META-INF/guice-beans.xml for type: interface
org.jboss.kernel.spi.deployment.KernelDeployment
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@321881a2, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/namespaces set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-base-uris set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-language set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/dynamic set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/schema set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@321881a2, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsed file:
jboss-demos-models.jar/META-INF/guice-beans.xml to:
AbstractKernelDeployment@14cb6b96{name=null installed=false
beanFactories=[AbstractBeanMetaData@4a761bf{name=GuicePlugin
bean=org.jboss.guice.spi.GuiceKernelRegistryEntryPlugin properties=
constructor=AbstractConstructorMetaData@6a9b65cc{parameters=[null]}
autowireCandidate=true}]}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsing file:
jboss-demos-models.jar/META-INF/injection-beans.xml for type: interface
org.jboss.kernel.spi.deployment.KernelDeployment
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@6ca9e1af, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/namespaces set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-base-uris set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-language set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/dynamic set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/schema set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@6ca9e1af, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsed file:
jboss-demos-models.jar/META-INF/injection-beans.xml to:
AbstractKernelDeployment@2e771a72{name=null installed=false
beanFactories=[AbstractBeanMetaData@d694a33{name=FromGuice
bean=org.jboss.demos.models.plain.FromGuice properties=[guicePojo]
constructor=AbstractConstructorMetaData@3354037e{parameters=[null]}
autowireCandidate=true}, AbstractBeanMetaData@50b15f85{name=AllPojos
bean=org.jboss.demos.models.plain.AllPojos properties=[exposedMBean, directMBean,
exposedMBean] constructor=null autowireCandidate=true}]}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsing file:
jboss-demos-models.jar/META-INF/jmx-beans.xml for type: interface
org.jboss.kernel.spi.deployment.KernelDeployment
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@779325ee, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/namespaces set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-base-uris set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-language set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/dynamic set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/schema set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@779325ee, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsed file:
jboss-demos-models.jar/META-INF/jmx-beans.xml to:
AbstractKernelDeployment@367d438{name=null installed=false
beanFactories=[AbstractBeanMetaData@159daa47{name=AnnotatedJMXPojo
bean=org.jboss.demos.models.jmx.AtJmxPojo properties= constructor=null
autowireCandidate=true}, AbstractBeanMetaData@22162667{name=XmlJMXPojo
bean=org.jboss.demos.models.mbeans.Pojo properties= constructor=null
autowireCandidate=true
annotations=[AbstractAnnotationMetaData@2a234e7e{expr=(a)org.jboss.aop.microcontainer.aspects.jmx.JMX(exposedInterface=org.jboss.demos.models.mbeans.PojoMBean.class,
registerDirectly=true)}]}, AbstractBeanMetaData@2de460dc{name=ExposedPojo
bean=org.jboss.demos.models.jmx.Pojo properties= constructor=null autowireCandidate=true},
AbstractBeanMetaData@6c93230d{name=AnnotatedExposePojo
bean=org.jboss.demos.models.jmx.ExposePojo properties=
constructor=AbstractConstructorMetaData@2fe2622b{parameters=[null]}
autowireCandidate=true}]}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsing file:
jboss-demos-models.jar/META-INF/plain-beans.xml for type: interface
org.jboss.kernel.spi.deployment.KernelDeployment
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@21c59a65, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/namespaces set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-base-uris set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-language set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/dynamic set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/schema set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@21c59a65, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsed file:
jboss-demos-models.jar/META-INF/plain-beans.xml to:
AbstractKernelDeployment@7dee05dc{name=null installed=false
beanFactories=[AbstractBeanMetaData@15c2ef1b{name=PlainPojo
bean=org.jboss.demos.models.plain.Pojo properties= constructor=null
autowireCandidate=true}, GenericBeanFactoryMetaData@30dfe0c6{}]}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsing file:
jboss-demos-models.jar/META-INF/security-beans.xml for type: interface
org.jboss.kernel.spi.deployment.KernelDeployment
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@6b429a7d, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/namespaces set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-base-uris set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-language set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/dynamic set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/schema set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@6b429a7d, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsed file:
jboss-demos-models.jar/META-INF/security-beans.xml to:
AbstractKernelDeployment@47a2c1d8{name=null installed=false
beanFactories=[AbstractBeanMetaData@e6470a6{name=XMLLoginConfig
bean=org.jboss.demos.models.old.XMLLoginConfig properties= constructor=null
autowireCandidate=true}, AbstractBeanMetaData@641fa9ab{name=SecurityConfig
bean=org.jboss.demos.models.old.SecurityConfig properties=[defaultLoginConfig]
constructor=null autowireCandidate=true},
AbstractBeanMetaData@5abc4ce7{name=SecurityChecker bean=org.jboss.demos.models.old.Checker
properties=[loginConfig, securityConfig] constructor=null autowireCandidate=true}]}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsing file:
jboss-demos-models.jar/META-INF/spring-beans.xml for type: interface
org.jboss.kernel.spi.deployment.KernelDeployment
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@4af8d139, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/namespaces set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-base-uris set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-language set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/dynamic set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/schema set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@4af8d139, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossEntityResolver - Cannot resolve
[publicID=urn:jboss:spring-beans:2.0,systemID=beans]
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsed file:
jboss-demos-models.jar/META-INF/spring-beans.xml to:
AbstractSpringDeployment@2c6951e2{name=null installed=false
beanFactories=[AbstractBeanMetaData@367ee335{name=SpringAnnotationPlugin
bean=org.jboss.spring.annotations.SpringBeanAnnotationPlugin properties= constructor=null
autowireCandidate=true
annotations=[AbstractAnnotationMetaData@4476c886{expr=(a)org.jboss.spring.annotations.SpringBean}]},
AbstractBeanMetaData@5266f887{name=SpringPojo bean=org.jboss.demos.models.spring.Pojo
properties=[beanName] constructor=null autowireCandidate=true
annotations=[AbstractAnnotationMetaData@66469154{expr=(a)org.jboss.spring.annotations.SpringBean}]}]}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsing file:
jboss-demos-models.jar/META-INF/z-mbeanquery-beans.xml for type: interface
org.jboss.kernel.spi.deployment.KernelDeployment
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@4bc95033, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/namespaces set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-base-uris set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/xinclude/fixup-language set to: false
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/dynamic set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://apache.org/xml/features/validation/schema set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser -
http://xml.org/sax/features/validation set to: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] SaxJBossXBParser - Created parser:
org.apache.xerces.jaxp.SAXParserImpl@4bc95033, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] JBossXBHelper - Parsed file:
jboss-demos-models.jar/META-INF/z-mbeanquery-beans.xml to:
AbstractKernelDeployment@72b29138{name=null installed=false
beanFactories=[AbstractBeanMetaData@295c2e5c{name=MBeanServerQuery
bean=org.jboss.demos.models.jmx.MBeanServerQuery properties=
constructor=AbstractConstructorMetaData@62e7af3a{parameters=[null]}
autowireCandidate=true}]}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] Domain -
org.jboss.classloading.spi.dependency.Domain@5b69dbd3{DefaultDomain} add module
VFSDeploymentClassLoaderPolicyModule jboss-demos-models.jar:0.0.0
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] ClassLoaderSystem -
DefaultClassLoaderSystem@598360d5 registered
domain=ClassLoaderDomain@5672a77d{name=DefaultDomain parentPolicy=BEFORE
parent=sun.misc.Launcher$AppClassLoader@799134f4}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] BaseClassLoader - Created
BaseClassLoader@50d9370d{vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/}
with policy
VFSClassLoaderPolicy@64ad5ff2{name=vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
domain=null roots=[DelegatingHandler(a)1632409556[path=jboss-demos-models.jar
context=file:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/
real=file:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar]]
delegates=null exported=[, org.jboss.demos.models.mbeans, org.jboss.demos.models.old,
META-INF.maven.org.jboss.demos.jboss-demos-models, org.jboss.demos.models.plain,
org.jboss.demos.models.spring, org.jboss.demos.models.jmx, org.jboss.demos.models,
org.jboss.demos.models.guice, org.jboss.demos.models.annotated, META-INF]
<IMPORT-ALL>NON_EMPTY}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] BaseClassLoaderDomain -
ClassLoaderDomain@5672a77d{DefaultDomain} registerClassLoader
BaseClassLoader@50d9370d{vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
AnnotatedJMXPojo to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
XmlJMXPojo to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
ExposedPojo to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
AnnotatedExposePojo to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
SpringAnnotationPlugin to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
SpringPojo to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
MBeanServerQuery to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
FromGuice to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
AllPojos to vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
PlainPojo to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
PojoFactory to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
GuicePlugin#1 to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
GuicePlugin to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
XMLLoginConfig to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
SecurityConfig to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:35] AbstractDeploymentContext - Added component
SecurityChecker to
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
JBoss-MC-Demo DEBUG [19-05-2009 20:27:36] AbstractInjectionValueMetaData - FromGuice:
Contextual injection usage (class -> classloader): class
org.jboss.demos.models.guice.Pojo -> sun.misc.Launcher$AppClassLoader@799134f4 defined
by AbstractPropertyMetaData@624c53ab{name=guicePojo
value=AbstractInjectionValueMetaData@56c99877{value=null injectionType=BY_CLASS
propertyMetaData=guicePojo}}
JBoss-MC-Demo DEBUG [19-05-2009 20:27:36] XMLLoginConfig - Creating XMLLoginConfig
JBoss-MC-Demo DEBUG [19-05-2009 20:27:36] XMLLoginConfig - Created XMLLoginConfig
JBoss-MC-Demo DEBUG [19-05-2009 20:27:36] XMLLoginConfig - Starting XMLLoginConfig
Starting
JBoss-MC-Demo DEBUG [19-05-2009 20:27:36] XMLLoginConfig - Started XMLLoginConfig
JBoss-MC-Demo DEBUG [19-05-2009 20:27:36] SecurityConfig - Creating SecurityConfig
JBoss-MC-Demo DEBUG [19-05-2009 20:27:36] SecurityConfig - Created SecurityConfig
JBoss-MC-Demo DEBUG [19-05-2009 20:27:36] SecurityConfig - Starting SecurityConfig
defaultLoginConfig = org.jboss.demos.models.old.XMLLoginConfig@7cb154fd
JBoss-MC-Demo DEBUG [19-05-2009 20:27:36] SecurityConfig - Started SecurityConfig
JBoss-MC-Demo DEBUG [19-05-2009 20:27:36] DeployersImpl - Fully Deployed
vfszip:/Users/uaarkoti/Repository/JavaOne/mc2/sandbox/jboss-demos-models.jar/
Scan failed: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "AllPojos" is missing the following dependencies:
Dependency "springPojo" (should be in state "Configured", but is
actually in state "** NOT FOUND Depends on 'springPojo' **")
Dependency "jboss.demos:service=pojo" (should be in state
"Configured", but is actually in state "** NOT FOUND Depends on
'jboss.demos:service=pojo' **")
Dependency "jboss.demos:service=ExposedPojo" (should be in state
"Configured", but is actually in state "** NOT FOUND Depends on
'jboss.demos:service=ExposedPojo' **")
Dependency "annotated-pojo" (should be in state "Configured", but
is actually in state "** NOT FOUND Depends on 'annotated-pojo' **")
Dependency "jboss.demos:service=ExposedPojo" (should be in state
"Configured", but is actually in state "** NOT FOUND Depends on
'jboss.demos:service=ExposedPojo' **")
Deployment "MBeanServerQuery" is missing the following dependencies:
Dependency "JMXKernel" (should be in state "Instantiated", but is
actually in state "** NOT FOUND Depends on 'JMXKernel' **")
Deployment "SecurityChecker" is missing the following dependencies:
Dependency "jboss.security:service=SecurityConfig" (should be in state
"Configured", but is actually in state "** NOT FOUND Depends on
'jboss.security:service=SecurityConfig' **")
Dependency "jboss.security:service=XMLLoginConfig" (should be in state
"Configured", but is actually in state "** NOT FOUND Depends on
'jboss.security:service=XMLLoginConfig' **")
DEPLOYMENTS IN ERROR:
Deployment "annotated-pojo" is in error due to the following reason(s): ** NOT
FOUND Depends on 'annotated-pojo' **
Deployment "jboss.demos:service=ExposedPojo" is in error due to the following
reason(s): ** NOT FOUND Depends on 'jboss.demos:service=ExposedPojo' **
Deployment "JMXKernel" is in error due to the following reason(s): ** NOT
FOUND Depends on 'JMXKernel' **
Deployment "jboss.security:service=SecurityConfig" is in error due to the
following reason(s): ** NOT FOUND Depends on
'jboss.security:service=SecurityConfig' **
Deployment "jboss.security:service=XMLLoginConfig" is in error due to the
following reason(s): ** NOT FOUND Depends on
'jboss.security:service=XMLLoginConfig' **
Deployment "springPojo" is in error due to the following reason(s): ** NOT
FOUND Depends on 'springPojo' **
Deployment "jboss.demos:service=pojo" is in error due to the following
reason(s): ** NOT FOUND Depends on 'jboss.demos:service=pojo' **
Process finished with exit code 143
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232085#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...