Hi,
If I use dynamic AOP and the "Design by Contract" @Dbc at the same time I get
strange "duplicate method" error. This only occur for class methods that are
implementing an interface method but
the class method return type is overriding the method return type defined
defined in the interface
Hi,
I'm trying to use Aspects as the basis for a large number of unit tests in my
test suite. Its for a client server application.
Ideally I'd like to have a @Aspect class for each test that defines the
relevant pointcuts for the test case using annotations, with some logic in the
methods.
Th
I see that AspectAnnotationLoader iterates through the list of FileInputStreams
of the classes in the jboss.aop.class.path turning each one into
javassist.bytecode.ClassFile before checking each one for annotations.
I think a public method on AspectAnnotationLoader that allows the user to do
so
Thanks for this, I haven't had a chance to play with it yet but hopefully will
do next week.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949615#3949615
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949615
___
The latest distributions of the EJB standalone
(jboss-EJB-3.0_Embeddable_ALPHA_8.zip) comes as 3 big jars.
If a try and use;
-javaagent:jboss-ejb3-all.jar
I get;
Failed to load Premain-Class manifest attribute from jboss-ejb3-all.jar
If I use the jboss-aop-jdk50.jar from the AOP distribution
The Dbc stuff was the initial reason I started looking at JBossAOP, I think it
looks really promising.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949623#3949623
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949623
Hi,
I'm getting some strange behaviour with the DBC annotations.
Things seems to behave differently when being called from different threads.
I've adjusted the DbcTest class to illustrate what I mean by calling a dbc
annotated method from within run() which is called by the
ScheduledThreadPool
Hi,
I'm not sure if I'm doing something wrong in the way that I get the ClassFile
object? but I'm getting some strange behaviour using this new feature.
Using the annotated-aspects test as a starting point I run the test specifying
the classpath using -Djboss.aop.class.path=myclasspath - all wo
Its just dawned on me I need to prepare the objects for runtime instrumentation
as in the dynamic-aop example using a jboss-aop.xml defined in the jvm args
using -Djboss.aop.path=jboss-aop.xml.
|
|
|
|
|
When I do that it works fine, but its was hard to find.
Thanks again f
Yes, it hangs with multiple threads.
Sorry I don't have time to look at this at the moment either, using dbc isn't a
priority for us at the moment, I just wanted to make you aware of it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952514#3952514
Reply t
Hello,
How do I get the basedir of a web application at runtime?
thanks in advance
James
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855712#3855712
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855712
-
...from within a servlet
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855715#3855715
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855715
---
This SF.Net email is
Hello,
I recently upgraded to JBoss 3.2.5 and am trying to use Tomcat 5 instead of Jetty.
I can't seem to get Tiles in Struts working.
I keep get errors involving "if (_jspx_meth_xxtagxx_vvmethvv(
such as;
C:\jboss-3.2.5\server\default\work\jboss.web\localhost\tiles-documentation\org\apach
Hello,
I'm using Tomcat 5 on JBoss 3.2.5.
I am currently deploying a .war to "mydomain.com" by declaring in jboss-web.xml;
/
mydomain.com
How can I also include "www.mydomain.com" with just a single page that redirects to
"mydomain.com".
I tried a few things none of which wo
I don't really have the time to setup apache at the moment, does anybody know if it
can it be done in Tomcat/JBoss?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848039#3848039
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=re
Hello,
I'm using Hibernate with JBoss as an mbean.
I'm trying to turn the debug level for hibernate down, how do I do this?
I've turned off displaying SQL by putting
false
into jboss-service.xml
But I still get lots of debug message like;
2004-10-07 08:06:34,905 DEBUG [net.sf.hibernate.im
I added
< category name="net.sf.hibernate" >
< priority value="INFO"/ >
< /category>
to JBOSSDIR/conf/log4j.xml which seemed to do the trick
thanks anyway
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850608#3850608
Reply to the post :
http:
Hello,
I'm looking for some design advice. I'm using JBoss 3.2.5. Here's my
situation;
Users log into to the website (Tomcat within Jboss) to authenticate themselves.
When they do this a session bean is called which generates and stores a key for
the user. The key is returned to the user i
Hello,
I have a custom server that I run in JBoss within an MBean. This server needs
to dynamically initialise certain objects seperate from the main core of the
custom server.
I tried to load these classes with using standard Class.forName(..) type stuff
but I kept getting class loader error
Hello all,
I'm a bit confused though about the extent to which ebj3 entity beans are
clustered and updated.
Scenario.
We have 2 JBoss servers in a cluster.
An application running as an mbean in server1 gets old of a reference to an
entity bean.
It calls ref.getMyvalue() which returns "ori
Hi,
I need to write a unit test where a session bean connects to an MBean when
running as standalone. Is it possible to manually start the mbean server then
register an mbean with it when in standalone mode? or is that beyond the scope
of what is achievalable without the full JBoss server runn
21 matches
Mail list logo