[JBoss JIRA] Created: (JGRP-974) Make 2.8 run with JBoss 5.x
by Bela Ban (JIRA)
Make 2.8 run with JBoss 5.x
---------------------------
Key: JGRP-974
URL: https://jira.jboss.org/jira/browse/JGRP-974
Project: JGroups
Issue Type: Task
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 2.8
Currently, 2.8 does not run with JBoss 5.x because 2.8 removed some JMX classes (see below).
java.lang.NoSuchMethodError: org.jgroups.jmx.JmxConfigurator.registerChannel(Lorg/jgroups/JChannel;Ljavax/management/MBeanServer;Ljava/lang/String;Ljava/lang/String;Z)Lorg/jgroups/jmx/JChannel;
at org.jboss.ha.framework.server.JChannelFactory.registerChannel(JChannelFactory.java:1019)
at org.jboss.ha.framework.server.JChannelFactory.createMultiplexerChannel(JChannelFactory.java:279)
at org.jboss.ha.framework.server.JChannelFactory.createMultiplexerChannel(JChannelFactory.java:309)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)
at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)
at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)
at javax.management.StandardMBean.invoke(StandardMBean.java:391)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.messaging.core.impl.jchannelfactory.MultiplexerChannelFactory.createControlChannel(MultiplexerChannelFactory.java:130)
at org.jboss.messaging.core.impl.postoffice.GroupMember.start(GroupMember.java:116)
at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.start(MessagingPostOffice.java:367)
at org.jboss.messaging.core.jmx.MessagingPostOfficeService.startService(MessagingPostOfficeService.java:462)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:269)
and
2009-05-06 12:23:15,553 ERROR [org.jboss.mx.server.registry.BasicMBeanRegistry] (main) Cannot register MBean
java.lang.NoClassDefFoundError: org/jgroups/jmx/JChannelFactoryMBean
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.privateGetPublicMethods(Class.java:2557)
at java.lang.Class.getMethods(Class.java:1410)
at org.jboss.mx.metadata.StandardMetaData.build(StandardMetaData.java:208)
at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:224)
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:202)
at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.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.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
at org.jboss.ha.cachemanager.CacheManager.registerCache(CacheManager.java:266)
at org.jboss.cache.CacheManagerImpl.getCache(CacheManagerImpl.java:124)
at org.jboss.ha.cachemanager.CacheManager.getCache(CacheManager.java:244)
at org.jboss.ha.framework.server.HAPartitionCacheHandlerImpl.acquireCache(HAPartitionCacheHandlerImpl.java:53)
at org.jboss.ha.framework.server.ClusterPartition.startService(ClusterPartition.java:355)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
at org.jboss.system.ServiceMBeanSupport.pojoStart(ServiceMBeanSupport.java:216)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[JBoss JIRA] Created: (EJBTHREE-1045) Improve error message when binding fails
by Carlo de Wolf (JIRA)
Improve error message when binding fails
----------------------------------------
Key: EJBTHREE-1045
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1045
Project: EJB 3.0
Issue Type: Feature Request
Affects Versions: AS 4.2.1.GA
Reporter: Carlo de Wolf
Fix For: AS 4.2.2.GA, EJB 3.0 RC11 - FD
2007-09-03 14:58:50,737 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2
ee:ear=jbilling.ear,jar=jbilling.jar,name=com/xxx/yyy/server/item/ItemSession,service=EJB3
java.lang.ClassCastException: $Proxy76 cannot be cast to javax.naming.Context
at org.jboss.util.naming.Util.createSubcontext(Util.java:69)
at org.jboss.util.naming.Util.rebind(Util.java:125)
at org.jboss.util.naming.Util.rebind(Util.java:113)
at org.jboss.ejb3.stateless.StatelessRemoteProxyFactory.start(StatelessRemoteProxyFactory.java:115)
In EJB 3 a stateful session bean can be created directly via a loopup on it's business interface. By default this one is bound to <ejb-name>/remote (or /local). The home interface is bound to <ejb-name>/home (or /localHome). If you override the JNDI name for the bean by <ejb-name> then this exception occurs. The log file should show "Binding proxy for <ejb-name> in JNDI at <jndi-name>" just before this happens.
It should say an error message in the likes of:
"Can't bind ItemSession/remoteHome, because ItemSession is already bound"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[JBoss JIRA] Created: (JBAS-4810) mail-ra.rar make SSL configurable
by Kurt Stam (JIRA)
mail-ra.rar make SSL configurable
---------------------------------
Key: JBAS-4810
URL: http://jira.jboss.com/jira/browse/JBAS-4810
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: JCA service
Affects Versions: JBossAS-4.2.1.GA
Reporter: Kurt Stam
Assigned To: Weston Price
Attachments: mail-ra-patch.txt
We are using it in JBossESB now, but in my (test) case I did not want SSL with my IMAP
connection, so I'm suggesting to make this setting configurable in the
connector/src/main/org/jboss/resource/adapter/mail/inflow/MailFolder.java
- sessionProps.setProperty("mail.imap.starttls.enable", "true");
+ sessionProps.setProperty("mail.imap.starttls.enable", starttls + "");
I have attached the patch.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[JBoss JIRA] Created: (JBMESSAGING-1628) lack of support for java 1.4 clients
by alexguev (JIRA)
lack of support for java 1.4 clients
------------------------------------
Key: JBMESSAGING-1628
URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1628
Project: JBoss Messaging
Issue Type: Bug
Components: JMS Remoting
Affects Versions: 1.4.3.GA
Environment: windows xp, j2sdk1.4.2_13 and jdk1.6.0_05
Reporter: alexguev
Assignee: Tim Fox
The messaging clients libraries are java 5 bytecode, which prevents the use of jboss messaging from java 1.4 code. I made an attempt to retro-translate the messaging client libraries using the retrotranslator project with limited success. Basically, things went pretty well up to the point where the java vm complained with this error:
java.lang.ClassFormatError: org/jboss/jms/client/delegate/ClientConnectionFactoryDelegate (Invalid start_pc/length in local var table)
I was wondering if there are any plans for jboss-messaging to support java 1.4 clients ? also, should I try using the jboss-retro project instead ?
thanks in advance.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months