[JBoss JIRA] (JGRP-1640) RELAY2: use strings as site IDs
by Bela Ban (JIRA)
Bela Ban created JGRP-1640:
------------------------------
Summary: RELAY2: use strings as site IDs
Key: JGRP-1640
URL: https://issues.jboss.org/browse/JGRP-1640
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.4
Investigate using strings instead of shorts as site-ids. This would eliminate the need for the string-short mapping file and would make life simpler for JDG and EAP as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] (WFLY-1402) Too Many Dependencies
by jaikiran pai (JIRA)
[ https://issues.jboss.org/browse/WFLY-1402?page=com.atlassian.jira.plugin.... ]
jaikiran pai commented on WFLY-1402:
------------------------------------
You can even just download the latest nightly binary from here https://community.jboss.org/thread/224262 and give it a try. That way, you can be sure that Alpha2 will have this fixed for your application.
> Too Many Dependencies
> ---------------------
>
> Key: WFLY-1402
> URL: https://issues.jboss.org/browse/WFLY-1402
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Affects Versions: 8.0.0.Alpha1
> Environment: W7 64 bit
> Reporter: Michael McGovern
> Assignee: Stuart Douglas
> Fix For: 8.0.0.Alpha2
>
>
> Large app ~ 1000 SLSB gets
> Caused by: java.lang.IllegalArgumentException: Too many dependencies specified (max is 16383)
> at org.jboss.msc.service.ServiceBuilderImpl.doAddDependency(ServiceBuilderImpl.java:216) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
> at org.jboss.msc.service.ServiceBuilderImpl.addDependenciesNoCheck(ServiceBuilderImpl.java:158) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
> at org.jboss.msc.service.ServiceBuilderImpl.addDependencies(ServiceBuilderImpl.java:152) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
> at org.jboss.msc.service.ServiceBuilderImpl.addDependencies(ServiceBuilderImpl.java:142) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
> at org.jboss.as.naming.deployment.JndiNamingDependencyProcessor.deploy(JndiNamingDependencyProcessor.java:59)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.0.0.Alpha1.jar:8.0.0.Alpha1]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] (WFLY-826) ModuleClassLoader breaks Aspect-J non-load-time-weaving aspects
by Jarkko Rantavuori (JIRA)
[ https://issues.jboss.org/browse/WFLY-826?page=com.atlassian.jira.plugin.s... ]
Jarkko Rantavuori edited comment on WFLY-826 at 6/4/13 3:31 AM:
----------------------------------------------------------------
Seems others are hitting this issue as well: http://forum.springsource.org/archive/index.php/t-113581.html http://pushpendrasinghbaghel.blogspot.fi/2013/01/spring-aop-and-jbossas-7... http://stackoverflow.com/a/16867315/365237
was (Author: jrantav):
Seems others are hitting this issue as well: http://forum.springsource.org/archive/index.php/t-113581.html http://pushpendrasinghbaghel.blogspot.fi/2013/01/spring-aop-and-jbossas-7... http://stackoverflow.com/questions/13943110/aspectj-aspect-under-jboss-as...
> ModuleClassLoader breaks Aspect-J non-load-time-weaving aspects
> ----------------------------------------------------------------
>
> Key: WFLY-826
> URL: https://issues.jboss.org/browse/WFLY-826
> Project: WildFly
> Issue Type: Bug
> Components: Class Loading
> Environment: Windows 7
> Reporter: Jarkko Rantavuori
> Assignee: David Lloyd
> Attachments: MyMethodTrace.java, MyMethodTraceAspect.java, spring-app-aop-datasource-1.0.0-BUILD-SNAPSHOT.war, spring-mvc-aop-datasource-app.zip
>
>
> Special measures need to be taken for load-time-weaving with aspects, but using them without load-time weaving works normally OOB. However, if this kind of Spring configuration is used:
> <!-- Test to get a data source -->
> <jee:jndi-lookup id="dataSource" jndi-name="jboss/datasources/ExampleDS"/>
> <!-- AOP part -->
> <bean id="methodTraceAspect" class="fi.eis.applications.jboss.poc.gemini.spring.aop.support.api.MyMethodTraceAspect"/>
> <aop:aspectj-autoproxy />
> <!-- end AOP -->
> <bean class="fi.eis.applications.controllers.HomeController">
> <constructor-arg ref="dataSource" />
> </bean>
> JBoss tries to use methodTraceAspect also on the data source. Data source is loaded by ModuleClassLoader that in has only visibility to org.jboss.jca.adapters* classes (confirmed with a debugger), so it cannot find the aspect class anymore, making aspect-j throw org.aspectj.weaver.reflect.ReflectionWorld$ReflectionWorldException: warning can't determine implemented interfaces of missing type
> fi.eis.applications.jboss.poc.gemini.spring.aop.support.api.MyMethodTraceAspect [Xlint:cantFindType].
> This has large problems in bigger applications, where general AOP pointcuts are used - no jboss-module stuff can be used as beans, anywhere. I'm aware of no workaround for this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] (WFLY-826) ModuleClassLoader breaks Aspect-J non-load-time-weaving aspects
by Jarkko Rantavuori (JIRA)
[ https://issues.jboss.org/browse/WFLY-826?page=com.atlassian.jira.plugin.s... ]
Jarkko Rantavuori commented on WFLY-826:
----------------------------------------
Seems others are hitting this issue as well: http://forum.springsource.org/archive/index.php/t-113581.html http://pushpendrasinghbaghel.blogspot.fi/2013/01/spring-aop-and-jbossas-7... http://stackoverflow.com/questions/13943110/aspectj-aspect-under-jboss-as...
> ModuleClassLoader breaks Aspect-J non-load-time-weaving aspects
> ----------------------------------------------------------------
>
> Key: WFLY-826
> URL: https://issues.jboss.org/browse/WFLY-826
> Project: WildFly
> Issue Type: Bug
> Components: Class Loading
> Environment: Windows 7
> Reporter: Jarkko Rantavuori
> Assignee: David Lloyd
> Attachments: MyMethodTrace.java, MyMethodTraceAspect.java, spring-app-aop-datasource-1.0.0-BUILD-SNAPSHOT.war, spring-mvc-aop-datasource-app.zip
>
>
> Special measures need to be taken for load-time-weaving with aspects, but using them without load-time weaving works normally OOB. However, if this kind of Spring configuration is used:
> <!-- Test to get a data source -->
> <jee:jndi-lookup id="dataSource" jndi-name="jboss/datasources/ExampleDS"/>
> <!-- AOP part -->
> <bean id="methodTraceAspect" class="fi.eis.applications.jboss.poc.gemini.spring.aop.support.api.MyMethodTraceAspect"/>
> <aop:aspectj-autoproxy />
> <!-- end AOP -->
> <bean class="fi.eis.applications.controllers.HomeController">
> <constructor-arg ref="dataSource" />
> </bean>
> JBoss tries to use methodTraceAspect also on the data source. Data source is loaded by ModuleClassLoader that in has only visibility to org.jboss.jca.adapters* classes (confirmed with a debugger), so it cannot find the aspect class anymore, making aspect-j throw org.aspectj.weaver.reflect.ReflectionWorld$ReflectionWorldException: warning can't determine implemented interfaces of missing type
> fi.eis.applications.jboss.poc.gemini.spring.aop.support.api.MyMethodTraceAspect [Xlint:cantFindType].
> This has large problems in bigger applications, where general AOP pointcuts are used - no jboss-module stuff can be used as beans, anywhere. I'm aware of no workaround for this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month