Ok. So looking at this it seems as though the BaseClassLoaderDomain
is not finding a Loader for the specific class name. The policies may not be getting the
package information correctly. I will see if I can get more trace information to see
how the cl domain looks.
The root for that classloader is defined in conf/bootstrap/stdio.xml
<classloader name="stdio-classloader"
xmlns="urn:jboss:classloader:1.0" export-all="NON_EMPTY"
import-all="true">
<root>${jboss.lib.url}jboss-stdio.jar</root>
</classloader>
Since it has export-all="NON_EMPTY" it will be this class that
determines what packages to use:
You should be able to see a full list of what it has determined
if you enable DEBUG logging for org.jboss.classloader
On Mar 2, 2010, at 10:06 AM, Dimitris Andreadis wrote:
> BTW, I've modified the windows runs to keep the server.logs:
>
http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-6.0.x-wind...
>
> Jason T. Greene wrote:
>> I'll give it a shot.
>>
>> John Bailey wrote:
>>> Now I just need to get a windows machine to do some testing. Is there any
way we can get the debug logging from the classloader. Basically see the list of roots in
the profiles for the domain being used?
>>>
>>> Has anyone else been able to run the trunk on Windows?
>>>
>>>
>>>
>>>
>>> On Mar 2, 2010, at 8:12 AM, David M. Lloyd wrote:
>>>
>>>> Last guess: jboss-cl and jboss-bootstrap were both upgraded between #293
>>>> and #294.
>>>>
>>>> -
<version.org.jboss.bootstrap>2.1.0-alpha-3</version.org.jboss.bootstrap>
>>>> +
<version.org.jboss.bootstrap>2.1.0-alpha-4</version.org.jboss.bootstrap>
>>>> -
<version.org.jboss.cl>2.2.0.Alpha2</version.org.jboss.cl>
>>>> +
<version.org.jboss.cl>2.2.0.Alpha3</version.org.jboss.cl>
>>>>
>>>> On 03/02/2010 08:02 AM, Dimitris Andreadis wrote:
>>>>> lib/jboss-stdio.jar is there and boot.log is not really useful.
I've also reverted mladen's
>>>>> changes in run.bat and it doesn't help either.
>>>>>
>>>>> David M. Lloyd wrote:
>>>>>> Did you check to see whether jboss-stdio.jar is in lib/ in the
build output?
>>>>>>
>>>>>> Otherwise the only thing that I can think of would be that for
some reason,
>>>>>> ${jboss.lib.url} is not being set correctly... maybe related to
one of the
>>>>>> run.bat changes made before the build which started to fail?
>>>>>>
>>>>>> Though VFS3 is the biggest change, it's hard to imagine how
that could have
>>>>>> caused this...
>>>>>>
>>>>>> - DML
>>>>>>
>>>>>> On 03/02/2010 06:37 AM, Dimitris Andreadis wrote:
>>>>>>> Thanks, I've re-cleaned/rebuilds but it's still
there.
>>>>>>>
>>>>>>> The failure might be on windows, only:
>>>>>>>
http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-6.0.x-wind...
>>>>>>>
>>>>>>> E.g. booting minimal:
>>>>>>> 14:28:22,296 INFO [AbstractJBossASServerBase] Server
Configuration:
>>>>>>>
>>>>>>> JBOSS_HOME URL:
file:/X:/svn/jboss-trunk/build/target/jboss-6.0.0-SNAPSHOT/
>>>>>>> Bootstrap: $JBOSS_HOME\server/minimal/conf/bootstrap.xml
>>>>>>> Common Base: $JBOSS_HOME\common/
>>>>>>> Common Library: $JBOSS_HOME\common/lib/
>>>>>>> Server Name: minimal
>>>>>>> Server Base: $JBOSS_HOME\server/
>>>>>>> Server Library: $JBOSS_HOME\server/minimal/lib/
>>>>>>> Server Config: $JBOSS_HOME\server/minimal/conf/
>>>>>>> Server Home: $JBOSS_HOME\server/minimal/
>>>>>>> Server Data: $JBOSS_HOME\server/minimal/data
>>>>>>> Server Log: $JBOSS_HOME\server/minimal/log/
>>>>>>> Server Temp: $JBOSS_HOME\server/minimal/tmp
>>>>>>>
>>>>>>> 14:28:22,296 INFO [AbstractServer] Starting: JBossAS
[6.0.0.SNAPSHOT "Neo"]
>>>>>>> 14:28:22,812 INFO [AbstractMCServerBase] Starting
Microcontainer, Bootstrap Descriptors:
>>>>>>> [[UrlBootstrapDescriptor]:
>>>>>>>
file:/X:/svn/jboss-trunk/build/target/jboss-6.0.0-SNAPSHOT/server/minimal/conf/bootstrap/classloader.xml,
>>>>>>> [UrlBootstrapDescriptor]:
>>>>>>>
file:/X:/svn/jboss-trunk/build/target/jboss-6.0.0-SNAPSHOT/server/minimal/conf/bootstrap/stdio.xml,
>>>>>>> [UrlBootstrapDescriptor]:
>>>>>>>
file:/X:/svn/jboss-trunk/build/target/jboss-6.0.0-SNAPSHOT/server/minimal/conf/bootstrap/aop.xml,
>>>>>>> [UrlBootstrapDescriptor]:
>>>>>>>
file:/X:/svn/jboss-trunk/build/target/jboss-6.0.0-SNAPSHOT/server/minimal/conf/bootstrap/jmx.xml,
>>>>>>> [UrlBootstrapDescriptor]:
>>>>>>>
file:/X:/svn/jboss-trunk/build/target/jboss-6.0.0-SNAPSHOT/server/minimal/conf/bootstrap/deployers.xml,
>>>>>>> [UrlBootstrapDescriptor]:
>>>>>>>
file:/X:/svn/jboss-trunk/build/target/jboss-6.0.0-SNAPSHOT/server/minimal/conf/bootstrap/profile.xml]
>>>>>>> 14:28:23,640 ERROR [AbstractKernelController] Error
installing to PreInstall:
>>>>>>> name=JBossStdioSystemOutStream state=Not Installed:
java.lang.ClassNotFoundException:
>>>>>>> org.jboss.stdio.LoggingOutputStream
>>>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>>>>> at java.security.AccessController.doPrivileged(Native
Method)
>>>>>>> at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>>>>> at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>>> at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>>>>>> at java.lang.Class.forName0(Native Method)
>>>>>>> at java.lang.Class.forName(Class.java:247)
>>>>>>> at
>>>>>>>
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:297)
>>>>>>> at
>>>>>>>
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1129)
>>>>>>> at
org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:901)
>>>>>>> at
org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:523)
>>>>>>> at
org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:468)
>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>>> at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>>>>>> at java.lang.Class.forName0(Native Method)
>>>>>>> at java.lang.Class.forName(Class.java:247)
>>>>>>> at
>>>>>>>
org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.resolveComplexTypeInfo(IntrospectionTypeInfoFactoryImpl.java:420)
>>>>>>> at
>>>>>>>
org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:389)
>>>>>>> at
>>>>>>>
org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory.getTypeInfo(IntrospectionTypeInfoFactory.java:54)
>>>>>>> at
>>>>>>>
org.jboss.classadapter.plugins.BasicClassAdapterFactory.getClassAdapter(BasicClassAdapterFactory.java:61)
>>>>>>> at
org.jboss.config.plugins.AbstractConfiguration.getBeanInfo(AbstractConfiguration.java:86)
>>>>>>> at
>>>>>>>
org.jboss.kernel.plugins.config.AbstractKernelConfig.getBeanInfo(AbstractKernelConfig.java:80)
>>>>>>> at
>>>>>>>
org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:78)
>>>>>>> at
>>>>>>>
org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:97)
>>>>>>> at
>>>>>>>
org.jboss.kernel.plugins.dependency.PreInstallAction.installActionInternal(PreInstallAction.java:88)
>>>>>>> at
>>>>>>>
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
>>>>>>> at
>>>>>>>
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
>>>>>>> at
>>>>>>>
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
>>>>>>> at
>>>>>>>
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
>>>>>>> at
>>>>>>>
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
>>>>>>> at
>>>>>>>
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
>>>>>>> at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
>>>>>>> at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
>>>>>>> at
>>>>>>>
org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
>>>>>>> at
>>>>>>>
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
>>>>>>> at
>>>>>>>
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
>>>>>>> at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:873)
>>>>>>> at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:620)
>>>>>>> at
>>>>>>>
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)
>>>>>>> at
>>>>>>>
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)
>>>>>>> at
>>>>>>>
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
>>>>>>> at
org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
>>>>>>> at
>>>>>>>
org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:92)
>>>>>>> at
>>>>>>>
org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:193)
>>>>>>> at
>>>>>>>
org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:310)
>>>>>>> at
>>>>>>>
org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doStart(AbstractMCServerBase.java:257)
>>>>>>> at
>>>>>>>
org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.doStart(AbstractJBossASServerBase.java:381)
>>>>>>> at
>>>>>>>
org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:413)
>>>>>>> at java.lang.Thread.run(Thread.java:619)
>>>>>>> ...
>>>>>>>
>>>>>>>
>>>>>>> Adrian Brock wrote:
>>>>>>>> Its ok for me.
>>>>>>>>
>>>>>>>> $ svn update
>>>>>>>> At revision 101710.
>>>>>>>>
>>>>>>>> On Tue, 2010-03-02 at 14:10 +0200, Dimitris Andreadis
wrote:
>>>>>>>>> I've just cleaned/updated/rebuild trunk and it
doesn't boot cleanly.
>>>>>>>>>
>>>>>>>>> Is it me?
>>>>>>>>> _______________________________________________
>>>>>>>>> jboss-development mailing list
>>>>>>>>> jboss-development(a)lists.jboss.org
>>>>>>>>>
https://lists.jboss.org/mailman/listinfo/jboss-development
>>>>>>> _______________________________________________
>>>>>>> jboss-development mailing list
>>>>>>> jboss-development(a)lists.jboss.org
>>>>>>>
https://lists.jboss.org/mailman/listinfo/jboss-development
>>>>> _______________________________________________
>>>>> jboss-development mailing list
>>>>> jboss-development(a)lists.jboss.org
>>>>>
https://lists.jboss.org/mailman/listinfo/jboss-development
>>>> --
>>>> - DML ☍
>>>> _______________________________________________
>>>> jboss-development mailing list
>>>> jboss-development(a)lists.jboss.org
>>>>
https://lists.jboss.org/mailman/listinfo/jboss-development
>>> --
>>> John Bailey
>>> JBoss by Red Hat
>>> --
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> jboss-development mailing list
>>> jboss-development(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/jboss-development
>>
>>
> _______________________________________________
> jboss-development mailing list
> jboss-development(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jboss-development
--
John Bailey
JBoss by Red Hat
--
_______________________________________________
jboss-development mailing list
jboss-development(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development
--
xxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss by Redhat
xxxxxxxxxxxxxxxxxxxxx