There is a new project named JFireJbpmAOP. This project contains one aspect class and one jboss-aop.xml file that are packed into an AOP file in the JFireJbpmEAR project. And we need to update JFireIntegrationJBoss, JFireTrade and JFireIssueTracking. After we've updated/checked-out them, we need to restart our server in order to make it works.
...because some people asked me via IRC & e-mail, I feel the need to clarify:
Of course, you do not need to manually change anything when setting up a new server.
You only need to manually change your 'run.conf' or 'run.bat', if you already have an existing server.
To be more precise: When a ServerConfigurator ( https://www.jfire.org/modules/phpwiki/index.php/ServerConfigurator ) finds an unchanged 'run.conf'/'run.bat', it will modify it. This is the case either when setting up a new server or when switching from one ServerConfigurator to another (sometimes happening during a full server reset).
Note, that you additionally have to fine tune your server's run configuration in the Eclipse SDK when starting your server inside your IDE: Go to the 'Servers' view, double-click your server, click on "Open launch configuration" and adjust the "VM arguments" in the "Arguments" tab.
Without the "javaagent", you'll get the following warning immediately at startup:
14:38:44,784 WARN [ServiceController] Problem creating service jboss.aop:service=AspectManager
java.lang.NullPointerException
at org.jboss.aop.deployment.AspectManagerServiceJDK5.attachTranslator(AspectManagerServiceJDK5.java:42)
at org.jboss.aop.deployment.AspectManagerService.createService(AspectManagerService.java:138)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Best regards, Marco :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks for the clarification, but: Does this mean that the adjustment to the JFire-JBoss server has to be done for every (new) workspace?
If so, it should be added to the wiki article describing the setup. Additionally it might be useful to evaluate whether the initialize-workspace could do this adjustment as it already creates and configures the server instance.
Best regards
Alex
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately you haven't mentioned the actual value to be set in the VM parameters in the wiki, its only mentioned in this thread... Could you please correct this.
Best regards
Alex
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
DO NOT ANSWER TO THIS POST. ANSWER TO THE ORIGINAL POST INSTEAD.
Original post: https://www.jfire.org/modules/newbb/viewtopic.php?forum_id=2&topic_id=429#forumpost1509
by: Chairat (chairat)
on: Mon Aug 03 11:43:40 CEST 2009
Hello *,
There is a new project named JFireJbpmAOP. This project contains one aspect class and one jboss-aop.xml file that are packed into an AOP file in the JFireJbpmEAR project. And we need to update JFireIntegrationJBoss, JFireTrade and JFireIssueTracking. After we've updated/checked-out them, we need to restart our server in order to make it works.
Best regards, Yo ;-)
PS. For more information about AOP, please take a look at this http://docs.jboss.org/aop/1.3/aspect-framework/reference/en/html/index.html
DO NOT ANSWER TO THIS POST. ANSWER TO THE ORIGINAL POST INSTEAD.
Original post: https://www.jfire.org/modules/newbb/viewtopic.php?forum_id=2&topic_id=429#forumpost1510
by: Chairat (chairat)
on: Mon Aug 03 12:14:39 CEST 2009
Sorry, our jboss run.conf needs to be changed as well. So you need to add:
"-javaagent:../server/default/deploy/jboss-aop-jdk50.deployer/pluggable-instrumentor.jar"
to the JAVA_OPTS in the run.conf on your existing server manually.
DO NOT ANSWER TO THIS POST. ANSWER TO THE ORIGINAL POST INSTEAD.
Original post: https://www.jfire.org/modules/newbb/viewtopic.php?forum_id=2&topic_id=429#forumpost1514
by: Marco (marco)
on: Sat Aug 08 14:42:41 CEST 2009
...because some people asked me via IRC & e-mail, I feel the need to clarify:
Of course, you do not need to manually change anything when setting up a new server.
You only need to manually change your 'run.conf' or 'run.bat', if you already have an existing server.
To be more precise: When a ServerConfigurator ( https://www.jfire.org/modules/phpwiki/index.php/ServerConfigurator ) finds an unchanged 'run.conf'/'run.bat', it will modify it. This is the case either when setting up a new server or when switching from one ServerConfigurator to another (sometimes happening during a full server reset).
Note, that you additionally have to fine tune your server's run configuration in the Eclipse SDK when starting your server inside your IDE: Go to the 'Servers' view, double-click your server, click on "Open launch configuration" and adjust the "VM arguments" in the "Arguments" tab.
Without the "javaagent", you'll get the following warning immediately at startup:
14:38:44,784 WARN [ServiceController] Problem creating service jboss.aop:service=AspectManager
java.lang.NullPointerException
at org.jboss.aop.deployment.AspectManagerServiceJDK5.attachTranslator(AspectManagerServiceJDK5.java:42)
at org.jboss.aop.deployment.AspectManagerService.createService(AspectManagerService.java:138)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Best regards, Marco :-)
DO NOT ANSWER TO THIS POST. ANSWER TO THE ORIGINAL POST INSTEAD.
Original post: https://www.jfire.org/modules/newbb/viewtopic.php?forum_id=2&topic_id=429#forumpost1516
by: Alexander Bieber (Alex (aka fleque))
on: Mon Aug 10 22:01:52 CEST 2009
Hi Marco,
thanks for the clarification, but: Does this mean that the adjustment to the JFire-JBoss server has to be done for every (new) workspace?
If so, it should be added to the wiki article describing the setup. Additionally it might be useful to evaluate whether the initialize-workspace could do this adjustment as it already creates and configures the server instance.
Best regards
Alex
DO NOT ANSWER TO THIS POST. ANSWER TO THE ORIGINAL POST INSTEAD.
Original post: https://www.jfire.org/modules/newbb/viewtopic.php?forum_id=2&topic_id=429#forumpost1517
by: Alexander Bieber (Alex (aka fleque))
on: Tue Aug 11 14:30:06 CEST 2009
Thanks Chairat for adding a hint to the wiki page https://www.jfire.org/modules/phpwiki/index.php/Development%20Environment%20Setup%20-%20Manual.
Unfortunately you haven't mentioned the actual value to be set in the VM parameters in the wiki, its only mentioned in this thread... Could you please correct this.
Best regards
Alex
DO NOT ANSWER TO THIS POST. ANSWER TO THE ORIGINAL POST INSTEAD.
Original post: https://www.jfire.org/modules/newbb/viewtopic.php?forum_id=2&topic_id=429#forumpost1519
by: Chairat (chairat)
on: Thu Aug 13 19:59:40 CEST 2009
Sorry, I've just fixed it.
Best regards, Yo.
DO NOT ANSWER TO THIS POST. ANSWER TO THE ORIGINAL POST INSTEAD.
Original post: https://www.jfire.org/modules/newbb/viewtopic.php?forum_id=2&topic_id=429#forumpost1520
by: Marc Klinger (Marc)
on: Fri Aug 14 14:09:10 CEST 2009
Hi,
From now on, the JFireJbpmAOP project is needed in your workspace if you are using JFireJbpm.
Marc