[Design of JBoss IIOP on JBoss] - CORBA_BAD_INV_ORDER running AS 5 IIOP tests with JDK 6
by smcgowan@redhat.com
There are some iiop test failures seen running the AS 5 testsuite with JDK 6 (hot topic these days). The exceptions occur during InputStream or OutputStream operations within the invoke() method in:
./iiop/src/main/org/jboss/proxy/ejb/DynamicIIOPStub.java
The nested exception is org.omg.CORBA.BAD_INV_ORDER
Caused by: org.omg.CORBA.BAD_INV_ORDER: vmcid: 0x0 minor code: 4 completed: No
at org.jacorb.orb.ORB.work_pending(Unknown Source)
at org.jacorb.orb.Delegate.checkORB(Unknown Source)
at org.jacorb.orb.Delegate.invoke_internal(Unknown Source)
at org.jacorb.orb.Delegate.invoke(Unknown Source)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:124)
The class imports:
import org.omg.CORBA_2_3.portable.InputStream;
import org.omg.CORBA_2_3.portable.OutputStream;
These classes are in jacorb.jar and in jre/lib/rt.jar of JDK 6 . Looking for suggestions on how to reconcile running in this configuration. Seems more than just a test config issue.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137209#4137209
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137209
18 years
[Design the new POJO MicroContainer] - Re: JBMC 2.0.0.Beta11
by alesj
"adrian(a)jboss.org" wrote :
| JBMICROCONT-28 - BeanMetaData as ValueMetaData - this looks like an unimplemented edge case?
|
This is partially done.
BeanMetaData does implement VMD.
It's the cloning that's not done.
"adrian(a)jboss.org" wrote :
| JBMICROCONT-25 - Configurator tidyup - like it says just tidyup
|
We can close this one, since I doubt it will ever get more tidy.
As for this FIXME
| // FIXME the isAssignable and isProgression currently needs a classloader
| // to work properly, use the bean's classloader if there isn't one provided
| if (cl == null)
| cl = info.getClassInfo().getType().getClassLoader();
|
The method was changed long ago to take classloader as parameter.
And I don't see what more we can do regarding classloader if one is not provided than what we already do.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137204#4137204
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137204
18 years
[Design of Security on JBoss] - Security aspects failing in AS trunk
by kabir.khan@jboss.com
When running the org.jboss.test.aop.test.SecurityUnitTestCase testcase in AS trunk I get the following error:
| <testcase classname="org.jboss.test.aop.test.SecurityUnitTestCase" name="testAnnotated" time="0.984">
| <error type="javax.management.RuntimeMBeanException">javax.management.RuntimeMBeanException
| at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:165)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:270)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
| at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:815)
| at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:416)
| at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
| at sun.rmi.transport.Transport$1.run(Transport.java:153)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
| at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.jboss.security.SubjectInfo.getAuthenticationPrincipal()Ljava/security/Principal;
| at org.jboss.test.aop.bean.SecurityTester.org$jboss$test$aop$bean$SecurityTester$testAnnotated$aop(SecurityTester.java:380)
| at org.jboss.test.aop.bean.SecurityTester$SecurityTesterAdvisor.testAnnotated6887871432162944908(SecurityTester$SecurityTesterAdvisor.java)
| at org.jboss.test.aop.bean.SecurityTester.testAnnotated(SecurityTester.java)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| ... 41 more
| Caused by: java.lang.NoSuchMethodError: org.jboss.security.SubjectInfo.getAuthenticationPrincipal()Ljava/security/Principal;
| at org.jboss.security.plugins.JBossSecurityContextUtil.getUserPrincipal(JBossSecurityContextUtil.java:81)
| at org.jboss.security.SecurityAssociation.getPrincipal(SecurityAssociation.java:200)
| at org.jboss.aspects.security.SecurityActions$PrincipalInfoAction$2.getPrincipal(SecurityActions.java:163)
| at org.jboss.aspects.security.SecurityActions.getPrincipal(SecurityActions.java:362)
| at org.jboss.aspects.security.AuthenticationInterceptor.authenticate(AuthenticationInterceptor.java:108)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:66)
| at org.jboss.test.aop.bean.JoinPoint_constructor_AnnotatedSecuredPOJO_0_291$aop.invokeNext(JoinPoint_constructor_AnnotatedSecuredPOJO_0_291$aop.java)
| at org.jboss.test.aop.bean.JoinPoint_constructor_AnnotatedSecuredPOJO_0_291$aop.invokeJoinpoint(JoinPoint_constructor_AnnotatedSecuredPOJO_0_291$aop.java)
| at org.jboss.test.aop.bean.AnnotatedSecuredPOJO$AnnotatedSecuredPOJOAdvisor.AnnotatedSecuredPOJOAdvisor_new_$aop(AnnotatedSecuredPOJO$AnnotatedSecuredPOJOAdvisor.java)
| at org.jboss.test.aop.bean.AnnotatedSecuredPOJO.AnnotatedSecuredPOJO_new_$aop(AnnotatedSecuredPOJO.java)
| at org.jboss.test.aop.bean.SecurityTester.org$jboss$test$aop$bean$SecurityTester$testAnnotated$aop(SecurityTester.java:240)
| ... 48 more
| </error>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137202#4137202
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137202
18 years