[Design of POJO Server] - Re: Minimal now boots
by adrian@jboss.org
This looks to be the cause of the classloading issues as well.
The jboss-service.xml classloader is getting removed
because the deployment failed.
| 18:28:01,074 DEBUG [UnifiedLoaderRepository3] UnifiedLoaderRepository removed(true) org.jboss.mx.loading.UnifiedClassLoader3@106daba{ url=file:/home/ejort/mc-vdf-work/build/output/jboss-5.0.0.Beta/server/default/conf/jboss-service.xml ,addedOrder=21}
| 18:28:01,085 DEBUG [RepositoryClassLoader] Unregistering cl=org.jboss.mx.loading.UnifiedClassLoader3@106daba{ url=file:/home/ejort/mc-vdf-work/build/output/jboss-5.0.0.Beta/server/default/conf/jboss-service.xml ,addedOrder=21}
| 18:28:01,085 DEBUG [UnifiedLoaderRepository3] UnifiedLoaderRepository removed(false) org.jboss.mx.loading.UnifiedClassLoader3@106daba{ url=file:/home/ejort/mc-vdf-work/build/output/jboss-5.0.0.Beta/server/default/conf/jboss-service.xml ,addedOrder=21}
| 18:28:01,088 DEBUG [ServiceCreator] About to create bean: jboss.mq:service=InvocationLayer,type=HTTP with code: org.jboss.mq.il.http.HTTPServerILService
| 18:28:01,089 ERROR [AbstractKernelController] Error installing to Instantiated: name=jboss.mq:service=InvocationLayer,type=HTTP state=Described mode=Manual requiredState=Configured
| org.jboss.deployment.DeploymentException: Unable to createMBean for jboss.mq:service=InvocationLayer,type=HTTP
|
| <snipped/>
|
| Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.mq.il.http.HTTPServerILService
| at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
| at org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader.java:275)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:406)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1213)
| at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
| at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
| at org.jboss.system.ServiceCreator.installPlainMBean(ServiceCreator.java:197)
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:115)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971984#3971984
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971984
19 years, 6 months
[Design of POJO Server] - Re: Minimal now boots
by scott.stark@jboss.org
All of the services in the conf/jboss-service.xml are getting unloaded due to the failure of the jsr77 service to load due to not finding a MainDeployer:
09:34:50,153 DEBUG [LocalJBossServerDomain] Initialization failed jboss.management.local:j2eeType=J2EEDomain,name=Manager
javax.management.InstanceNotFoundException: jboss.system:service=MainDeployer is not registered.
1. We should get the lookup fixed to ensure all of the conf/jboss-service.xml services are loading. I'll take a look at this today.
2. With the loading of deployment definitions before creating/starting them, we really need to strip conf/jboss-service.xml down to the minimal static services and bring it more in line with the installer fine grained services breakout. This can wait until we switch to trunk.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971982#3971982
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971982
19 years, 6 months
[Design of POJO Server] - Re: Minimal now boots
by scott.stark@jboss.org
We are on to looking at the default configuration and want to get this to the point of only having deployers fail. Currently there are some class loading errors for services that need to be resolved before we flip this over to the trunk:
| 09:34:50,199 ERROR [AbstractKernelController] Error installing to Instantiated: name=jboss.remoting:protocol=rmi,service=JMXConnectorServer state=Described mode=Manual requiredState=Configured
| org.jboss.deployment.DeploymentException: Unable to createMBean for jboss.remoting:service=JMXConnectorServer,protocol=rmi
| at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52)
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:141)
| at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:45)
| at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
| at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
| at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
| at org.jboss.system.ServiceController.install(ServiceController.java:272)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:80)
| at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
| at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:395)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:406)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:346)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:316)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:235)
| at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
| at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:399)
| at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:338)
| at org.jboss.Main.boot(Main.java:210)
| at org.jboss.Main$1.run(Main.java:488)
| at java.lang.Thread.run()V(Unknown Source)
| Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.mx.remoting.service.JMXConnectorServerService
| at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
| at org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader.java:275)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:406)
| at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown Source)
| at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1213)
| at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
| at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
| at org.jboss.system.ServiceCreator.installPlainMBean(ServiceCreator.java:197)
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:115)
| at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:45)
| at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
| at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
| at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
| at org.jboss.system.ServiceController.install(ServiceController.java:272)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:80)
| at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
| at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:395)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:406)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:346)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:316)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:235)
| at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
| at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:399)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971976#3971976
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971976
19 years, 6 months
[TODO - DEVELOPMENT] - new LDAP Login Module
by rsoika
Hi,
I have developed a new LDAP Login Module with a comparable functionality like the org.jboss.security.SimpleGroup.LdapLoginModule.
The org.jboss.security.SimpleGroup.LdapLoginModule did a good job but when I tried to configure my IBM Lotus Domino Server with this Modul I run into some problems.
The first was that I could not configure that the user authenticates with an UserID but the CallerPricipal should be the destinguished name of the user. This is needed if you implementing an application with business logic that needs the "real" name of the user and not the login name when calling getCallerPrincipal(). Maybe this is a special functionality of IBM Lotus Domino LDAP that you can login with different names (?).
The second problem was that the LdapLoginModul only returns Roles (Groups) where the user is member but not Groups which are encapsulated. E.g. User is member of "Group A" and "Group A" is member of "Group B". So you got only the "Group A" in the Roles Set but not "Group B".
I implemented the new Login Modul org.imixs.jboss.security.LdapLoginModuleExt.
This Class addresses this two issues and works perfectly with the Lotus Domino LDAP Directory. I think this Modul can be an alternative to the org.jboss.security.auth.spi.LdapLoginModule.
I documented the Code at:
http://www.imixs.org/websites/imixs-org.nsf/chapter/0300.0100.0020.?OpenD...
and posted the source code also at:
http://www.imixs.org/websites/imixs-org.nsf/chapter/0100.0042./$file/org....
There are some ishues I could not implement (like the decode Function) which is protected in the org.jboss.security.auth.spi package.
Let me know if this Login module is of interest for you.
Ralph
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971966#3971966
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971966
19 years, 6 months