[Design the new POJO MicroContainer] - Handling of null native values
by scott.stark@jboss.org
Related to https://jira.jboss.org/jira/browse/JBAS-6188, the following error occurs when one tries to pass a null value through to a native valued property:
| Caused by: java.lang.IllegalArgumentException: Wrong arguments. setUseTryLock for target org.jboss.resource.metadata.mcf
| .LocalDataSourceDeploymentMetaData@75687c expected=[long] actual=[null]
| at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395)
| at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:69)
| at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
| at org.jboss.beans.info.plugins.DefaultPropertyInfo.set(DefaultPropertyInfo.java:143)
| at org.jboss.managed.plugins.factory.AbstractInstanceClassFactory.setValue(AbstractInstanceClassFactory.java:378
| )
| at org.jboss.managed.plugins.factory.AbstractInstanceClassFactory.setValue(AbstractInstanceClassFactory.java:273
| )
| at org.jboss.managed.plugins.WritethroughManagedPropertyImpl.setValue(WritethroughManagedPropertyImpl.java:109)
| at org.jboss.resource.deployers.management.DsDataSourceTemplate.writeTemplate(DsDataSourceTemplate.java:154)
| at org.jboss.resource.deployers.management.DsDataSourceTemplate.applyTemplate(DsDataSourceTemplate.java:70)
| at org.jboss.profileservice.management.ManagementViewImpl.applyTemplate(ManagementViewImpl.java:673)
|
Is this something that the PropertyInfo implementation should be handling, or should this have been handled when the null MetaValue was unwrapped?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191349#4191349
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191349
15 years, 11 months
[Design of AOP on JBoss (Aspects/JBoss)] - Re: Privileged Blocks Issue : JBAOP-675
by anil.saldhana@jboss.com
Flavia, I spoke a bit soon
| java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
| at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
| at java.security.AccessController.checkPermission(AccessController.java:427)
| at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
| at java.lang.ClassLoader.getParent(ClassLoader.java:1224)
| at org.jboss.aop.asintegration.jboss5.VFSClassLoaderDomainRegistry.getClassLoaderDomainForLoader(VFSClassLoaderDomainRegistry.java:131)
| at org.jboss.aop.asintegration.jboss5.VFSClassLoaderDomainRegistry.getRegisteredDomain(VFSClassLoaderDomainRegistry.java:115)
| at org.jboss.aop.asintegration.jboss5.VFSClassLoaderScopingPolicy.getDomain(VFSClassLoaderScopingPolicy.java:68)
| at org.jboss.aop.AspectManager.instance(AspectManager.java:244)
| at org.jboss.aop.AspectManager.instance(AspectManager.java:230)
| at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:286)
| at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpoint.java:171)
| at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFactoryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:108)
| at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.createConnectionDelegate(ConnectionFactoryAdvised.java)
| at org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest.serverInvoke(ConnectionFactoryCreateConnectionDelegateRequest.java:91)
| at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191321#4191321
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191321
15 years, 11 months
[Design of AOP on JBoss (Aspects/JBoss)] - Re: Privileged Blocks Issue : JBAOP-675
by anil.saldhana@jboss.com
| 09:41:03,645 ERROR [STDERR] access: access allowed (java.io.FilePermission /home/anil/jboss-5.0/jboss-head/build/output/jboss-5.0.0.GA/common/lib read)
| 09:41:03,647 ERROR [STDERR] access: access denied (java.lang.RuntimePermission getClassLoader)
| 09:41:03,648 ERROR [STDERR] java.lang.Exception: Stack trace
| 09:41:03,648 ERROR [STDERR] at java.lang.Thread.dumpStack(Thread.java:1158)
| 09:41:03,648 ERROR [STDERR] at java.security.AccessControlContext.checkPermission(AccessControlContext.java:253)
| 09:41:03,648 ERROR [STDERR] at java.security.AccessController.checkPermission(AccessController.java:427)
| 09:41:03,648 ERROR [STDERR] at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
| 09:41:03,648 ERROR [STDERR] at java.lang.Class.getClassLoader(Class.java:588)
| 09:41:03,648 ERROR [STDERR] at org.jboss.aop.classpool.AOPClassPoolRepository.registerClass(AOPClassPoolRepository.java:166)
| 09:41:03,648 ERROR [STDERR] at org.jboss.aop.AspectManager.registerClass(AspectManager.java:825)
| 09:41:03,649 ERROR [STDERR] at org.jboss.aop.AspectManager.initialiseClassAdvisor(AspectManager.java:730)
| 09:41:03,649 ERROR [STDERR] at org.jboss.aop.AspectManager.getAdvisor(AspectManager.java:712)
| 09:41:03,649 ERROR [STDERR] at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.<clinit>(ConnectionAdvised.java)
| 09:41:03,649 ERROR [STDERR] at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:288)
| 09:41:03,649 ERROR [STDERR] at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpoint.java:171)
| 09:41:03,649 ERROR [STDERR] at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFactoryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:108)
| 09:41:03,649 ERROR [STDERR] at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.createConnectionDelegate(ConnectionFactoryAdvised.java)
| 09:41:03,649 ERROR [STDERR] at org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest.serverInvoke(ConnectionFactoryCreateConnectionDelegateRequest.java:91)
| 09:41:03,649 ERROR [STDERR] at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
| 09:41:03,649 ERROR [STDERR] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
| 09:41:03,649 ERROR [STDERR] at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
| 09:41:03,649 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:1708)
| 09:41:03,649 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:612)
| 09:41:03,649 ERROR [STDERR] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:171)
| 09:41:03,649 ERROR [STDERR] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeTarget(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
| 09:41:03,649 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
| 09:41:03,649 ERROR [STDERR] at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81)
| 09:41:03,649 ERROR [STDERR] at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_994617574.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_994617574.java)
| 09:41:03,649 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| 09:41:03,650 ERROR [STDERR] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
| ....
| ....09:41:03,651 ERROR [STDERR] access: domain that failed ProtectionDomain (vfsmemory://3j001-kwvps2-fnszzu3k-1-fnt004dg-6/ <no signer certificates>)
| null
| <no principals>
|
|
Flavia, this is with messaging built with your updated jar. I have not updated AS with your updated aop jar.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191310#4191310
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191310
15 years, 11 months
[Design of JBoss Build System] - Missing integration source jars
by scott.stark@jboss.org
When I run the current jbossas build or do a mvn package from the thirdparty directory, I'm not seeing the source jars for the jboss/integration or jboss/profileservice-spi being added:
| [713][valkyrie: thirdparty]$ ls jboss/integration/lib/
| jboss-classloading-spi.jar jboss-integration.jar
| jboss-corba-ots-spi.jar jboss-transaction-spi.jar
| jboss-deployment-spi.jar
| [714][valkyrie: thirdparty]$ ls jboss/profileservice-spi/lib/
| jboss-profileservice-spi.jar
|
Sources for other jars are there.
If I run a mvn dependency:sources is shows a bunch of skipped sources:
| [INFO] Searching repository for plugin with prefix: 'dependency'.
| WAGON_VERSION: 1.0-beta-2
| [INFO] ------------------------------------------------------------------------
| [INFO] Building JBoss Application Server Thirdparty Build
| [INFO] task-segment: [dependency:sources]
| [INFO] ------------------------------------------------------------------------
| [INFO] [dependency:sources]
| [INFO]
| [INFO] The following files have been resolved:
| [INFO] none
| [INFO]
| [INFO] The following files where skipped:
| [INFO] ant:ant:java-source:sources:1.6.5
| ...
| [INFO] org.jboss.integration:jboss-integration:java-source:sources:5.0.3.GA
| [INFO] org.jboss.integration:jboss-profileservice-spi:java-source:sources:5.0.3.GA
| [INFO] org.jboss.integration:jboss-transaction-spi:java-source:sources:5.0.3.GA
| ...
| [INFO]
| [INFO] ------------------------------------------------------------------------
| [INFO] BUILD SUCCESSFUL
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: 12 seconds
| [INFO] Finished at: Fri Nov 21 07:41:18 PST 2008
| [INFO] Final Memory: 27M/52M
| [INFO] ------------------------------------------------------------------------
| [716][valkyrie: thirdparty]$
|
The sources do exist in the local repository:
| [626][valkyrie: trunk]$ ls /home/svn/repository.jboss.org/org/jboss/integration/jboss-profileservice-spi/5.0.3.GA/
| jboss-profileservice-spi-5.0.3.GA-sources.jar
| jboss-profileservice-spi-5.0.3.GA-sources.jar.md5
| jboss-profileservice-spi-5.0.3.GA-sources.jar.sha1
| jboss-profileservice-spi-5.0.3.GA.jar
| jboss-profileservice-spi-5.0.3.GA.jar.md5
| jboss-profileservice-spi-5.0.3.GA.jar.sha1
| jboss-profileservice-spi-5.0.3.GA.pom
| jboss-profileservice-spi-5.0.3.GA.pom.md5
| jboss-profileservice-spi-5.0.3.GA.pom.sha1
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191309#4191309
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191309
15 years, 11 months
[Design of JBoss Portal] - My own authentication module
by rjim
My jboss portal is deployed in a kerberos environment.
For the authentication on jboss, i use Apache and ModJk. Because i know how to use kerberos with Apache.
But i can't communicate with a ldap server via kerberos between jboss and ldap.
Therefore i am developping my own auth module where i use JNDI + SASL.
My issue is when i'm trying to deploy my module.
anonymous wrote :
| 2008-11-20 15:53:40,872 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Configured: name=portal:identity=Module,type=User state=Instantiated
| org.jboss.joinpoint.spi.JoinpointException: Property jNDIName not found for AbstractBeanInfo(a)1290155{name=fr.xxxx.portail.login.Krb5LdapLoginModuleImpl classInfo= properties=[class] methods=[, ,
| , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] constructors=[] events=}
| at org.jboss.kernel.plugins.config.Configurator.resolveProperty(Configurator.java:659)
| at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoint(Configurator.java:433)
| at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoints(Configurator.java:398)
| at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getPropertySetterJoinPoints(AbstractKernelConfigurator.java:112)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$ConfigureAction.installAction(KernelControllerContextActions.java:313)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:147)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
|
Any ideas ?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191306#4191306
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191306
15 years, 11 months