[JBoss-dev] [Design of JBoss Eclipse IDE (dev)] - JBoss performance inside Eclipse

2005-04-14 Thread fredatwork
Hello,

I'm not sure if this is the right place to raise this user-related question.

I'm using Eclipse IDE 1.4 with Eclipse 3.1M5. 

I realize that JBoss is way slower when run inside Eclipse (for debugging 
purposes) that when it is run outside ouf Eclipse as a regular independant 
process. This is a real problem for me since it slows my development cycle too 
much. It does not seem to be related to recent versions of Eclipse since I 
experimented this kind of performance troublewith prior versions of the IDE.

Can you give me some advice about how to optimize the Eclipse configuration in 
order to have JBoss a little faster when executed inside Eclipse ? For your 
info, my eclipse command-line arguments are :
eclipse.exe -vmargs -Xms128M -Xmx256M

Thanks in advance for any clue.

Fred

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874001#3874001

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874001


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Mass removal of objects in cache

2005-03-02 Thread fredatwork
Hello,

I would liek to know if there is a way to remove objects from an AOP cache 
massively.

Let's say I entered several objects in an AOP cache :
cache.putObject(/root/1, object1);
  | cache.putObject(/root/2, object2);
  | .../...
  | cache.putObject(/root/999, object999);
  | 

Now I would like to remove all objects under the /root frq in a single call, 
like I want to reinitialize my cache. Any idea how should I do this ?

Fred

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868487#3868487

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868487


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss JIRA] Created: (JBCACHE-104) Mass Removal

2005-03-02 Thread fredatwork (JIRA)
Mass Removal


 Key: JBCACHE-104
 URL: http://jira.jboss.com/jira/browse/JBCACHE-104
 Project: JBoss Cache
Type: Feature Request
Reporter: fredatwork
 Assigned to: Bela Ban 


Hello,

I would like to propose to enhance JBossCache API with a mass-removal function :

Let's say I entered several objects in an AOP cache :
cache.putObject(/root/1, object1);
cache.putObject(/root/2, object2);
.../...
cache.putObject(/root/999, object999);

I would like to be able to remove masseively all objects under the /root frq, 
with a single method call.

The idea here is to be able to reset whole regions of the cache by removing all 
objects contained in this region. For instance, a servlet init method could use 
this new method to reset a cache dedicated to a particular enterprise 
application.

Whiout this method, there is no way to reseta cache region. With current 1.2 
version, you have to keep track of individual objects in order to remove them 
one after the other one.


Note: Ben Wang proposed me to create this feature request so he can add it to 
the roadmpa. See 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868494#3868494. 





-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Mass removal of objects in cache

2005-03-02 Thread fredatwork
I added a new JIRA entry as proposed by Ben (JBCACHE-104).

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868508#3868508

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868508


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Question about eviction policy and regions

2005-01-08 Thread fredatwork
Ben,

Good idea to put this the faq.

Could you also explain the functional of region's attribute 'timeToLiveSeconds' 
as well ?

Fred

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3861281#3861281

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861281


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Question about eviction policy and regions

2005-01-07 Thread fredatwork
I'd like to raise a functional question about JBossCache eviction policy of an 
Aop tree cache, more specifically the max number of nodes inside a region. 

Is the maximum nodes of a region of an eviction policy for an aop tree cache:

a/ the maximum number of root nodes you can put in the cache, that is the 
maximum number of calls to 'putObject' you can make with different frq's at 
each call,

or,

b/ the maximum number of objets put in the cache, an object being either a 
local root put in the cache with 'putObject' method, or a dependant object that 
you can reach from root POJOs.

I cannot answer thie question from the documentation provided by the project.

Fred

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3861200#3861200

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861200


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss JIRA] Created: (JBCACHE-34) Unexpected ClassNotFoundException and replSync-service.xml redeployment

2005-01-01 Thread fredatwork (JIRA)
Unexpected ClassNotFoundException and replSync-service.xml redeployment
---

 Key: JBCACHE-34
 URL: http://jira.jboss.com/jira/browse/JBCACHE-34
 Project: JBoss Cache
Type: Bug
 Environment: JBoss 4.0.0 (running on Windows XP SP2)
Reporter: fredatwork
 Assigned to: Bela Ban 


I'm running JBoss 4.0.0 with default configuration.

In order to enable JBossCache (and JBoss AOP) in default configuration, I copied
- ${JBOSS_HOME}/server/all/lib/jboss-cache.jar into 
${JBOSS_HOME}/server/default/lib
- ${JBOSS_HOME}/server/all/deploy/jboss-aop.deployer into 
${JBOSS_HOME}/server/default/deploy

I have built a small testcase with a valid POJO called SignalProgramCache. 
JbossCache already succeeded in putting it in the cache in some configurations 
(see below). Therefore, I assume it is  a ** valid ** serializable POJO. Since 
it is a serializable POJO, aop precompilation was not applied.

I have problems putting this object in the cache when I deploy it inside n EAR 
file.

I've built a small testcase to test this and reproduce the problem.

I would like to communicate this testcase to you but I do not know how to send 
you the associated archive. I've been told to fill in this form by Scott Stark 
(see http://www.jboss.org/index.html?module=bbop=viewtopict=58228). My email 
is [EMAIL PROTECTED] .

My SignalProgramCache POJO is created in memory by JBoss AS, but JBossCache 
fails to put it in the cache. The JBossCache is accessed by a session bean with 
a comparable snippet as the one provided below:

SimpleProgramCache object = ...; // Creates a valid POJO
String serviceName = ; // The valid name of my JBossCache TreeCacheAOP 
service
MBeanServer server = MBeanServerLocator.locate();
TreeCacheAopMBean cache = (TreeCacheAopMBean) MBeanProxyExt.create(
TreeCacheAopMBean.class,
serviceName,
server);
cache.putObject(/program/signals, object);

I receveive the following exception on the JBoss AS console when I attempt to 
put the object in the cache:
org.jboss.util.NestedRuntimeException: java.lang.ClassNotFoundException: No 
ClassLoaders found for: com.rubis.app.runtime.programs.SignalProgramCache; - 
nested throwable: (java.lang.IllegalArgumentException: 
java.lang.ClassNotFoundException: No ClassLoaders found for: 
com.rubis.app.runtime.programs.SignalProgramCache)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3176)
at org.jboss.cache.TreeCache.put(TreeCache.java:1735)
at org.jboss.cache.aop.TreeCacheAop._putObject(TreeCacheAop.java:293)
at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:128)
at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:109)
.../...

The SignalProgramCache.class file is put inside an EJB jar file, containing a 
session bean as well (the session acting as a facade for reading from and 
writing in the cache ; this session is remotely used by a basic RMI client). 
The EJB jar file is in turn contained in an EAR file with an *empty* WAR file, 
containing a dummy web.xml file. The EAR file is deployed to JBoss. The client 
is a basic java RMI client; no servlet is used by the testcase.

Now here is what I do not understand:

- When I deploy the EJB JAR file only (containing the session facade and the 
POJO), the testcase succeeds fine and I never get any problem (the cache is 
being written in and read afterwards by the RMI client through the session 
facade). The problem only happens when an EAR file is deployed.

- When I start JBoss AS 4.0.0, with the EAR file and the replSync-service.xml 
siting in the ${JBOSS-HOME}/server/default/deploy directory, then the testcase 
fails systematically. The cache cannot be written in by the RMI client and I 
get the exception described above. Then, I perform the following steps:
a. I redeploy the replSync-service.xml a first time (by removing from the 
deploy directory and coping it again in it). I then tried the test case: it 
fails.
b. I redeploy again the replSync-service.xml a second time (by removing from 
the deploy directory and coping it again in it).
Then, I run the test case and it works fine.

Note that ( I believe it is important), when I redeploy the 
replSync-service.xml file a second time (step b/), then I get the following 
traces on the JBoss AS console:
21:45:26 WARN  [GMS:[EMAIL PROTECTED] checkSelfInclusion() failed, 
192.168.0.5:1480 is not a member of view [192.168.0.5:1483|2] 
[192.168.0.5:1483]; discarding view
21:45:26 WARN  [GMS:[EMAIL PROTECTED] I (192.168.0.5:1480) am being shunned, 
will leave and rejoin group (prev_members are [192.168.0.5:1480 
192.168.0.5:1483 ])
21:45:26 INFO  [TreeCache:[EMAIL PROTECTED] viewAccepted(): new members: 
[192.168.0.5:1483]
21:45:26 WARN  [CoordGmsImpl:[EMAIL PROTECTED] I am the coord and I'm being am 
suspected -- will probably leave shortly

I realized that when this warning shows up, then the testcase works !!! 

Sometimes, I need to redeploy

[JBoss-dev] [JBoss JIRA] Updated: (JBCACHE-34) Unexpected ClassNotFoundException and replSync-service.xml redeployment

2005-01-01 Thread fredatwork (JIRA)
 [ http://jira.jboss.com/jira/browse/JBCACHE-34?page=history ]

fredatwork updated JBCACHE-34:
--

Attachment: replSync-service.xml

JBossCache service config file

 Unexpected ClassNotFoundException and replSync-service.xml redeployment
 ---

  Key: JBCACHE-34
  URL: http://jira.jboss.com/jira/browse/JBCACHE-34
  Project: JBoss Cache
 Type: Bug
  Environment: JBoss 4.0.0 (running on Windows XP SP2)
 Reporter: fredatwork
 Assignee: Bela Ban
  Attachments: replSync-service.xml, testcache.zip


 I'm running JBoss 4.0.0 with default configuration.
 In order to enable JBossCache (and JBoss AOP) in default configuration, I 
 copied
 - ${JBOSS_HOME}/server/all/lib/jboss-cache.jar into 
 ${JBOSS_HOME}/server/default/lib
 - ${JBOSS_HOME}/server/all/deploy/jboss-aop.deployer into 
 ${JBOSS_HOME}/server/default/deploy
 I have built a small testcase with a valid POJO called SignalProgramCache. 
 JbossCache already succeeded in putting it in the cache in some 
 configurations (see below). Therefore, I assume it is  a ** valid ** 
 serializable POJO. Since it is a serializable POJO, aop precompilation was 
 not applied.
 I have problems putting this object in the cache when I deploy it inside an 
 EAR file.
 I've built a small testcase to test this and reproduce the problem.
 Instructions for using this testcase are provided at the end of this 
 description.
 I would like to communicate this testcase to you but I do not know how to 
 send you the associated archive. I've been told to fill in this form by Scott 
 Stark (see http://www.jboss.org/index.html?module=bbop=viewtopict=58228). 
 My email is [EMAIL PROTECTED] .
 My SignalProgramCache POJO is created in memory by JBoss AS, but JBossCache 
 fails to put it in the cache. The JBossCache is accessed by a session bean 
 with a comparable snippet as the one provided below:
 SimpleProgramCache object = ...; // Creates a valid POJO
 String serviceName = ; // The valid name of my JBossCache TreeCacheAOP 
 service
 MBeanServer server = MBeanServerLocator.locate();
 TreeCacheAopMBean cache = (TreeCacheAopMBean) MBeanProxyExt.create(
 TreeCacheAopMBean.class,
 serviceName,
 server);
 cache.putObject(/program/signals, object);
 I receveive the following exception on the JBoss AS console when I attempt to 
 put the object in the cache:
 org.jboss.util.NestedRuntimeException: java.lang.ClassNotFoundException: No 
 ClassLoaders found for: com.rubis.app.runtime.programs.SignalProgramCache; - 
 nested throwable: (java.lang.IllegalArgumentException: 
 java.lang.ClassNotFoundException: No ClassLoaders found for: 
 com.rubis.app.runtime.programs.SignalProgramCache)
 at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3176)
 at org.jboss.cache.TreeCache.put(TreeCache.java:1735)
 at org.jboss.cache.aop.TreeCacheAop._putObject(TreeCacheAop.java:293)
 at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:128)
 at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:109)
 .../...
 The SignalProgramCache.class file is put inside an EJB jar file, containing a 
 session bean as well (the session acting as a facade for reading from and 
 writing in the cache ; this session is remotely used by a basic RMI client). 
 The EJB jar file is in turn contained in an EAR file with an *empty* WAR 
 file, containing a dummy web.xml file. The EAR file is deployed to JBoss. The 
 client is a basic java RMI client; no servlet is used by the testcase.
 Now here is what I do not understand:
 - When I deploy the EJB JAR file only (containing the session facade and the 
 POJO), the testcase succeeds fine and I never get any problem (the cache is 
 being written in and read afterwards by the RMI client through the session 
 facade). The problem only happens when an EAR file is deployed.
 - When I start JBoss AS 4.0.0, with the EAR file and the replSync-service.xml 
 siting in the ${JBOSS-HOME}/server/default/deploy directory, then the 
 testcase fails systematically. The cache cannot be written in by the RMI 
 client and I get the exception described above. Then, I perform the following 
 steps:
 a. I redeploy the replSync-service.xml a first time (by removing from the 
 deploy directory and coping it again in it). I then tried the test case: it 
 fails.
 b. I redeploy again the replSync-service.xml a second time (by removing from 
 the deploy directory and coping it again in it).
 Then, I run the test case and it works fine.
 Note that ( I believe it is important), when I redeploy the 
 replSync-service.xml file a second time (step b/), then I get the following 
 traces on the JBoss AS console:
 21:45:26 WARN  [GMS:[EMAIL PROTECTED] checkSelfInclusion() failed, 
 192.168.0.5:1480 is not a member of view [192.168.0.5:1483|2] 
 [192.168.0.5:1483]; discarding view
 21:45:26 WARN  [GMS:[EMAIL PROTECTED] I (192.168.0.5:1480) am being

[JBoss-dev] [JBoss JIRA] Updated: (JBCACHE-34) Unexpected ClassNotFoundException and replSync-service.xml redeployment

2005-01-01 Thread fredatwork (JIRA)
 [ http://jira.jboss.com/jira/browse/JBCACHE-34?page=history ]

fredatwork updated JBCACHE-34:
--

Attachment: testcache.zip

Test case (Eclipse project)

 Unexpected ClassNotFoundException and replSync-service.xml redeployment
 ---

  Key: JBCACHE-34
  URL: http://jira.jboss.com/jira/browse/JBCACHE-34
  Project: JBoss Cache
 Type: Bug
  Environment: JBoss 4.0.0 (running on Windows XP SP2)
 Reporter: fredatwork
 Assignee: Bela Ban
  Attachments: replSync-service.xml, testcache.zip


 I'm running JBoss 4.0.0 with default configuration.
 In order to enable JBossCache (and JBoss AOP) in default configuration, I 
 copied
 - ${JBOSS_HOME}/server/all/lib/jboss-cache.jar into 
 ${JBOSS_HOME}/server/default/lib
 - ${JBOSS_HOME}/server/all/deploy/jboss-aop.deployer into 
 ${JBOSS_HOME}/server/default/deploy
 I have built a small testcase with a valid POJO called SignalProgramCache. 
 JbossCache already succeeded in putting it in the cache in some 
 configurations (see below). Therefore, I assume it is  a ** valid ** 
 serializable POJO. Since it is a serializable POJO, aop precompilation was 
 not applied.
 I have problems putting this object in the cache when I deploy it inside an 
 EAR file.
 I've built a small testcase to test this and reproduce the problem.
 Instructions for using this testcase are provided at the end of this 
 description.
 I would like to communicate this testcase to you but I do not know how to 
 send you the associated archive. I've been told to fill in this form by Scott 
 Stark (see http://www.jboss.org/index.html?module=bbop=viewtopict=58228). 
 My email is [EMAIL PROTECTED] .
 My SignalProgramCache POJO is created in memory by JBoss AS, but JBossCache 
 fails to put it in the cache. The JBossCache is accessed by a session bean 
 with a comparable snippet as the one provided below:
 SimpleProgramCache object = ...; // Creates a valid POJO
 String serviceName = ; // The valid name of my JBossCache TreeCacheAOP 
 service
 MBeanServer server = MBeanServerLocator.locate();
 TreeCacheAopMBean cache = (TreeCacheAopMBean) MBeanProxyExt.create(
 TreeCacheAopMBean.class,
 serviceName,
 server);
 cache.putObject(/program/signals, object);
 I receveive the following exception on the JBoss AS console when I attempt to 
 put the object in the cache:
 org.jboss.util.NestedRuntimeException: java.lang.ClassNotFoundException: No 
 ClassLoaders found for: com.rubis.app.runtime.programs.SignalProgramCache; - 
 nested throwable: (java.lang.IllegalArgumentException: 
 java.lang.ClassNotFoundException: No ClassLoaders found for: 
 com.rubis.app.runtime.programs.SignalProgramCache)
 at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3176)
 at org.jboss.cache.TreeCache.put(TreeCache.java:1735)
 at org.jboss.cache.aop.TreeCacheAop._putObject(TreeCacheAop.java:293)
 at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:128)
 at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:109)
 .../...
 The SignalProgramCache.class file is put inside an EJB jar file, containing a 
 session bean as well (the session acting as a facade for reading from and 
 writing in the cache ; this session is remotely used by a basic RMI client). 
 The EJB jar file is in turn contained in an EAR file with an *empty* WAR 
 file, containing a dummy web.xml file. The EAR file is deployed to JBoss. The 
 client is a basic java RMI client; no servlet is used by the testcase.
 Now here is what I do not understand:
 - When I deploy the EJB JAR file only (containing the session facade and the 
 POJO), the testcase succeeds fine and I never get any problem (the cache is 
 being written in and read afterwards by the RMI client through the session 
 facade). The problem only happens when an EAR file is deployed.
 - When I start JBoss AS 4.0.0, with the EAR file and the replSync-service.xml 
 siting in the ${JBOSS-HOME}/server/default/deploy directory, then the 
 testcase fails systematically. The cache cannot be written in by the RMI 
 client and I get the exception described above. Then, I perform the following 
 steps:
 a. I redeploy the replSync-service.xml a first time (by removing from the 
 deploy directory and coping it again in it). I then tried the test case: it 
 fails.
 b. I redeploy again the replSync-service.xml a second time (by removing from 
 the deploy directory and coping it again in it).
 Then, I run the test case and it works fine.
 Note that ( I believe it is important), when I redeploy the 
 replSync-service.xml file a second time (step b/), then I get the following 
 traces on the JBoss AS console:
 21:45:26 WARN  [GMS:[EMAIL PROTECTED] checkSelfInclusion() failed, 
 192.168.0.5:1480 is not a member of view [192.168.0.5:1483|2] 
 [192.168.0.5:1483]; discarding view
 21:45:26 WARN  [GMS:[EMAIL PROTECTED] I (192.168.0.5:1480) am being shunned

[JBoss-dev] [JBoss JIRA] Updated: (JBCACHE-34) Unexpected ClassNotFoundException and replSync-service.xml redeployment

2005-01-01 Thread fredatwork (JIRA)
 [ http://jira.jboss.com/jira/browse/JBCACHE-34?page=history ]

fredatwork updated JBCACHE-34:
--

Attachment: build.xml

Updated build.xml file that provides the compile-client target.

 Unexpected ClassNotFoundException and replSync-service.xml redeployment
 ---

  Key: JBCACHE-34
  URL: http://jira.jboss.com/jira/browse/JBCACHE-34
  Project: JBoss Cache
 Type: Bug
  Environment: JBoss 4.0.0 (running on Windows XP SP2)
 Reporter: fredatwork
 Assignee: Bela Ban
  Attachments: build.xml, replSync-service.xml, testcache.zip


 I'm running JBoss 4.0.0 with default configuration.
 In order to enable JBossCache (and JBoss AOP) in default configuration, I 
 copied
 - ${JBOSS_HOME}/server/all/lib/jboss-cache.jar into 
 ${JBOSS_HOME}/server/default/lib
 - ${JBOSS_HOME}/server/all/deploy/jboss-aop.deployer into 
 ${JBOSS_HOME}/server/default/deploy
 I have built a small testcase with a valid POJO called SignalProgramCache. 
 JbossCache already succeeded in putting it in the cache in some 
 configurations (see below). Therefore, I assume it is  a ** valid ** 
 serializable POJO. Since it is a serializable POJO, aop precompilation was 
 not applied.
 I have problems putting this object in the cache when I deploy it inside an 
 EAR file.
 I've built a small testcase to test this and reproduce the problem.
 Instructions for using this testcase are provided at the end of this 
 description.
 I would like to communicate this testcase to you but I do not know how to 
 send you the associated archive. I've been told to fill in this form by Scott 
 Stark (see http://www.jboss.org/index.html?module=bbop=viewtopict=58228). 
 My email is [EMAIL PROTECTED] .
 My SignalProgramCache POJO is created in memory by JBoss AS, but JBossCache 
 fails to put it in the cache. The JBossCache is accessed by a session bean 
 with a comparable snippet as the one provided below:
 SimpleProgramCache object = ...; // Creates a valid POJO
 String serviceName = ; // The valid name of my JBossCache TreeCacheAOP 
 service
 MBeanServer server = MBeanServerLocator.locate();
 TreeCacheAopMBean cache = (TreeCacheAopMBean) MBeanProxyExt.create(
 TreeCacheAopMBean.class,
 serviceName,
 server);
 cache.putObject(/program/signals, object);
 I receveive the following exception on the JBoss AS console when I attempt to 
 put the object in the cache:
 org.jboss.util.NestedRuntimeException: java.lang.ClassNotFoundException: No 
 ClassLoaders found for: com.rubis.app.runtime.programs.SignalProgramCache; - 
 nested throwable: (java.lang.IllegalArgumentException: 
 java.lang.ClassNotFoundException: No ClassLoaders found for: 
 com.rubis.app.runtime.programs.SignalProgramCache)
 at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3176)
 at org.jboss.cache.TreeCache.put(TreeCache.java:1735)
 at org.jboss.cache.aop.TreeCacheAop._putObject(TreeCacheAop.java:293)
 at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:128)
 at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:109)
 .../...
 The SignalProgramCache.class file is put inside an EJB jar file, containing a 
 session bean as well (the session acting as a facade for reading from and 
 writing in the cache ; this session is remotely used by a basic RMI client). 
 The EJB jar file is in turn contained in an EAR file with an *empty* WAR 
 file, containing a dummy web.xml file. The EAR file is deployed to JBoss. The 
 client is a basic java RMI client; no servlet is used by the testcase.
 Now here is what I do not understand:
 - When I deploy the EJB JAR file only (containing the session facade and the 
 POJO), the testcase succeeds fine and I never get any problem (the cache is 
 being written in and read afterwards by the RMI client through the session 
 facade). The problem only happens when an EAR file is deployed.
 - When I start JBoss AS 4.0.0, with the EAR file and the replSync-service.xml 
 siting in the ${JBOSS-HOME}/server/default/deploy directory, then the 
 testcase fails systematically. The cache cannot be written in by the RMI 
 client and I get the exception described above. Then, I perform the following 
 steps:
 a. I redeploy the replSync-service.xml a first time (by removing from the 
 deploy directory and coping it again in it). I then tried the test case: it 
 fails.
 b. I redeploy again the replSync-service.xml a second time (by removing from 
 the deploy directory and coping it again in it).
 Then, I run the test case and it works fine.
 Note that ( I believe it is important), when I redeploy the 
 replSync-service.xml file a second time (step b/), then I get the following 
 traces on the JBoss AS console:
 21:45:26 WARN  [GMS:[EMAIL PROTECTED] checkSelfInclusion() failed, 
 192.168.0.5:1480 is not a member of view [192.168.0.5:1483|2] 
 [192.168.0.5:1483]; discarding view
 21:45:26 WARN  [GMS:[EMAIL PROTECTED] I

[JBoss-dev] [JBossCache] - Re: HELP: ClassNotFound exception

2004-12-31 Thread fredatwork
Hi Ben,

Thanks for your proposal. It's nice from you.

I've built a very small test case for you.

How can I mail it to you with proper instructions ?

My email is [EMAIL PROTECTED]

Happy new year !

Fred

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3860321#3860321

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860321


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Setup problem ?

2004-12-30 Thread fredatwork
Thanks for the proposals. I modified the xml file and removed the problems.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3860208#3860208

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860208


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: JBoss cache fails with a StringIndexOutOfBounds exceptio

2004-12-30 Thread fredatwork
Ben,

I'm running JBoss AS 4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418, says 
the startuplog trace).

Actually, I have put an object in the cache. I get the 
StringIndexOutOfBoundsException when I attempt to retrieve the object from the 
cache. The object has been put successfully in the cache by the init() method 
of a servlet loaded at deployment time of my ear file.

Here are my findings:

1/ I wanted to test my serializable POJOs to see if there was something wrong 
with them. I deployed a custom jar file with a session bean having 2 methods 
for putting and getting the object (and its dependant POJOs) in the JBossCache. 
It worked with no particular problem.

2/ But when I use an ear file (zith one EJB jar and one WAR file), the POJO 
class files being deployed in an EJB jar file, putting the object in the cache 
does not work anymore. I get a ClassNotFound exception with No ClassLoaders 
found for: com.rubis.app.runtime.programs.SignalProgramCache message. 

Then, when I wrap my SignalProgramCache POJO inside a 
org.jboss.aop.util.MarshalledValue instance (as proposed by a post of this 
forum), the putObject() method succeeds (the object being put in the cache by 
my servlet's init method).

However, when using my application, the getObject still triggers the 
StringIndexOutOfBoundsException exception when I attempt to get the object from 
the cache.

I do not know what to do now. Can you help ?

Fred

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3860210#3860210

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860210


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Source files of JBossCache

2004-12-30 Thread fredatwork
I need to debug a problem related to JBossCache.

Where can I get the source files of JBossCache being bundled zith JBoss 4.0.0 ?

Fred

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3860213#3860213

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860213


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - JBossCache version with JBoss AS 4.0.0

2004-12-30 Thread fredatwork
I'm wondering what version of JBossCache runs with JBoss AS 4.0.0. I'm also 
looking for source code of JBossCache for this exact version.

I run JBoss AS 4.0.0 in the default configuration. I copied the jboss-cache.jar 
file from the ${JBOSS_HOME}/all/lib directory to the ${JBOSS_HOME}/default/lib 
directory as well as the ${JBOSS_HOME}/all/jboss-aop.deployer file to 
${JBOSS_HOME}/default.

I also downloaded the JBossCache 1.2 distribution. The jboss-cache.jar file 
provided by this distribution does not look like to be the same as the one in 
${JBOSS_HOME}/all/lib . When I override the 
${JBOSS_HOME}/all/lib/jboss-cache.jar withe the jboss-cache.jar file provided 
by the JBossCache 1.2 distribution, I cannot deploy my replySync-service.xml 
file anymore.

Here are my 2 questions :

1/ What is the version of JBossCache distributed with JBoss AS 4.0.0 ? 

2/ Where can I get the source code of the version of JBossCache jar file 
bundled with JBoss AS 4.0.0 ? I checkout jboss-cache CVS module and it looks 
like the java files are not in synch with class files of 
${JBOSS_HOME}/all/lib/jboss-cache.jar (when debugging) ?



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3860236#3860236

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860236


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - HELP: ClassNotFound exception

2004-12-30 Thread fredatwork
I fail putting an object in the JBossCache from within a session bean.

I'm using JBoss AS 4.0.0.

The object I want to put in the cache is created (instance of 
com.rubis.app.runtime.programs.SignalProgramCache) in memory. However, I fail 
putting it in the cache because I get a ClassNotFoundException.

Here are the instructions I use to put the object in the cache:

  | SimpleProgramCache object = ...; // Creates a valid POJO
  | String serviceName = ; // The valid na;e of my JBossCache TreeCacheAOP 
service
  | MBeanServer server = MBeanServerLocator.locate();
  | TreeCacheAopMBean cache = (TreeCacheAopMBean) MBeanProxyExt.create(
  | TreeCacheAopMBean.class,
  | serviceName,
  | server);
  | cache.putObject(/program/signals, object);
  | 

Here is the exception I get :

  | org.jboss.util.NestedRuntimeException: java.lang.ClassNotFoundException: No 
ClassLoaders found for: com.rubis.app.runtime.programs.SignalProgramCache; - 
nested throwable: (java.lang.IllegalArgumentException: 
java.lang.ClassNotFoundException: No ClassLoaders found for: 
com.rubis.app.runtime.programs.SignalProgramCache)
  | at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3176)
  | at org.jboss.cache.TreeCache.put(TreeCache.java:1735)
  | at org.jboss.cache.aop.TreeCacheAop._putObject(TreeCacheAop.java:293)
  | at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:128)
  | at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:109)
  | .../...
  | 

I do not understand why JBossCache cannot find my custom SignalProgramCache 
class since JBoss AS created first in memory.
The class is available.

I suspect this could be linked to my EAR deployment that JBossCache cannot use 
properly. My ear file contains 1 EJB jar file and 1 WAR file (nothing weard 
...). The EJB jar file contains the 
com.rubis.app.runtime.programs.SignalProgramCache.class file (nothing weard 
either ...).

I really need some help here. I'm completely stucked.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3860239#3860239

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860239


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - JBoss cache fails with a StringIndexOutOfBounds exception

2004-12-25 Thread fredatwork
Hello,

JBoss cache throws a StringIndexOutOfBounds exception when I attempt to access 
to the cache. See below the exception stack.

Method getObject in called on an instance of TreeCacheAopMBean inside qn EJB 
ession bean, which then trigger the calls of getObject on an instance of 
TreeCacheAop as expected.  

At the time the getObject() is called, noobject is inthe cache yet. But looking 
at the exception, it looks like it does not matter. Constructor of 
org.jboss.cache.aop.CachedType triggers the exception.

How can I debug this failure ? Anybody has an idea why JBoss cache fails like 
this ? Is this a bug ?

Fred


java.lang.StringIndexOutOfBoundsException: String index out of range: 4
  | at java.lang.String.substring(Unknown Source)
  | at org.jboss.cache.aop.CachedType.attributeName(CachedType.java:202)
  | at org.jboss.cache.aop.CachedType.getAttribute(CachedType.java:210)
  | at org.jboss.cache.aop.CachedType.analyze(CachedType.java:155)
  | at org.jboss.cache.aop.CachedType.init(CachedType.java:55)
  | at org.jboss.cache.aop.TreeCacheAop.getCachedType TreeCacheAop.java:590)
  | at org.jboss.cache.aop.TreeCacheAop.getObject(TreeCacheAop.java:446)
  | at org.jboss.cache.aop.TreeCacheAop.getObject(TreeCacheAop.java:421)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy1065.getObject(Unknown Source)
  | at com.rubis.util.cache.JBossCacheAccessor.getObject 
JBossCacheAccessor.java:54)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859880#3859880

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859880


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Help needed with JBossCache used inside JBoss

2004-12-25 Thread fredatwork
Hello,

I cannot put an object into my TreeCacheAop from within JBoss. I get a 
ClassNoutFoundException with the following message
No ClassLoaders found for: com.rubis.app.runtime.programs.SignalProgramCache

My SignalProgramCache is deployed with an EJB jar inside an EAR file.; it 
should be found.

When I wrap the SignalProgramCache inside a org.jboss.aop.util.MarshalledValue 
instance (as proposed by a post of this forum), the putObject() method 
succeeds. But then the getObject() method fails and I get a 
java.lang.StringIndexOutOfBoundsException (see recent post of mine).

Can anybody help ?

Fred


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859884#3859884

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859884


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of AOP on JBoss (Aspects/JBoss)] - Re: JBoss 4 with JBoss AOP V1.0

2004-12-23 Thread fredatwork
Kabir made a reference to a 'injboss' tutorial.

Where is this tutorial that may help me ? An URL zould be appreciated.

Fred


---
Hi, 

Please take a look at the injboss tutorial example for an example of how to 
package aop apps to be run in JBoss. 

Cheers, 

Kabir

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859750#3859750

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859750


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of AOP on JBoss (Aspects/JBoss)] - Re: JBoss 4 with JBoss AOP V1.0

2004-12-23 Thread fredatwork
Kabir,

I installed the 'injboss' example and built it successfully (running 'ant 
deploy-ear-aop').

Hozever, JBoss fails deploying the resulting ear file. It's missing a class 
ClassFileFilter :
java.lang.NoClassDefFoundError: org/jboss/util/file/ClassFileFilter

For your information, I'm running JBoss 4.0.0 RC2 with 'default' configuration. 
As requested, I modified 
${JBOSSS_HOME}\server\default\deploy\jboss-aop-jdk50.deployer\META-INF\jboss-service.xml
 to turn loadtime transformations on :
true

Any idea what I'm missing ?

Fred

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859757#3859757

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859757


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of AOP on JBoss (Aspects/JBoss)] - Re: JBoss 4 with JBoss AOP V1.0

2004-12-23 Thread fredatwork
I found what is wrong. I had to run JBoss 4.0.0 instead of JBoss 4.0.0RC2.

Fred

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859761#3859761

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859761


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Setup problem ?

2004-12-23 Thread fredatwork
Hello,

I'm a newbie to JBoss Cache.

I would like to access to the JBoss cache service inside a session bean through 
the following code lines (as indicated by a post of this forum):

MBeanServer server = MBeanServerLocator.locate();
  | TreeCacheMBean cache = (TreeCacheMBean) 
  | MBeanProxyExt.create(
  | TreeCacheMBean.class,
  | jboss:service=JBossCache,
  | server);

However, I fail setting up the JBoss cache service.

I run JBoss 4.0.0 with 'all' configuration.

I copied the replSync-service.xml file provided by the tutorial sample in the 
jboss deploy directory (trying to setup the JBoss cache service). But JBoss 
fails to do so :

[ServiceConfigurator] Problem configuring service jboss.cache:service=TreeCache
  | org.jboss.deployment.DeploymentException: No Attribute found with name: 
MaxCapacity
  | at 
org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:340)
  | at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:160)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:200)

Can anybody tell me what I'm doing wrong ?

Fred


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859770#3859770

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859770


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - JBossCache and Aop

2004-12-23 Thread fredatwork
Hello,

I'm a newbie with JBossCache and JBoss AOP.

I sucessfully set up a jboss aop cache service and accessed the cache inside a 
session bean with the following snipet :
MBeanServer server = MBeanServerLocator.locate();
  | TreeCacheAopMBean cache = (TreeCacheAopMBean) MBeanProxyExt.create(
  | TreeCacheAopMBean.class,
  | jboss.cache:service=TreeCacheAop,
  | server);

I also successfully added an instance of the tutorial POJO to the cache ( 
Person with Address detail) and retrieved it later through another call. No 
problem !

But I do not understand how I managed to have it make working.

1/ I added an EMPTY jboss-aop.xml file to the META-INF directory of my EJB jar 
file containing the session bean.

The tutorial provides an out-of-date advisable tag for the Address and Person 
classes. I commented it; this is how my jboss-aop.xml deployed with the EJB jar 
file file became empty :
aop
  | 
  | !--
  |   advisable class=com.rubis.app.cache.bean.Address
  |  fieldFilter=ALL
  |  methodFilter=ALL
  |  constructorFilter=ALL
  |   /
  |   advisable class=com.rubis.app.cache.bean.Person
  |  fieldFilter=ALL
  |  methodFilter=ALL
  |  constructorFilter=ALL
  |   /
  | --
  | /aop


2/ I configured JBoss AOP with no load time configuration (the 
jboss-service.xml file of my jboss-aop.deployer archive sets EnableTransformer 
to false, as it is proposed by default by JBoss 4.0.0). In principle, AOP 
precompilation of Address and Person should have been done. But I did not use 
the AOP precompiler. I understand I should have, says the tutorial.

Note: if I set EnableTransformer to true, I cannot start JBoss 4.0.0 inside 
Eclipse. JBoss is then super-slow and I also get Out Of Memory errors. Even if 
I extend my heap space when starting Eclipse. Therefore I keep 
EnableTransformer set to false.

How did my sample work ? Can you provide me with some input about this ?

Fred

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859777#3859777

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859777


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - aop precompilation vs. serialization

2004-12-23 Thread fredatwork
Hello,

I would like to understand if aop precompilation is required or simply 
recommended if you want to put  serializable POJOs in a JBoss cache.

I'm running JBoss 4.0.0 with AOP loadtime instrumentation turned off 
(EnableTransformer set to false).

I'm wondering if aop precompilation is required/recommended with the following 
aop xml file :
aop
  | typedef name=MyPojos expr=class(*.*) /
  | prepare expr=field(* $typedef{MyPojos}-*) /
  | /aop

From what I have tested, I believe :
- precompilation is not required if the POJOs are serializable. Transient 
fields are not cached.
- precompilation is required if the POJOs are not serializable

Is this true ?

Is there a subsequent performance overhead if AOP precompilation of 
serializable POJOs is not performed ?

Fred

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859799#3859799

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859799


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development