-
Is that possible? The original class is an interface, so ... won't there be a conflict having the class defined twice in different ways?.
2009-06-13 00:14:19 UTC in Ejb3Unit
-
I'm not using ejb3unit 2.0, but the previous one. When I try to put a JavaMail resource into one of my EJBs, I get this wonderful stack trace:
com.bm.ejb3guice.inject.CreationException: Guice configuration errors:
1) Error at javax.mail.Session.(Unknown Source):
Error while injecting at books.backend.BooksBackendImpl.defaultEmailSession(Unknown Source): Could not find a suitable...
2009-06-08 04:58:47 UTC in Ejb3Unit
-
Okay, I got around that by configuring the logging system:
<jvm-options>-Dorg.aspectj.tracing.factory=default</jvm-options>
But now I am getting new error:
WARNING: java.lang.NullPointerException
at org.aspectj.weaver.patterns.WildTypePattern.matchesExactly(WildTypePattern.java:231)
at org.aspectj.weaver.patterns.TypePattern.matchesSubtypes(TypePattern.java:176)
at...
2009-04-27 16:24:05 UTC in Glassbox
-
I installed glassbox onto my glassfish 2.1 application and I'm getting this error on startup.
Any ideas?
Could not load Logmanager "com.sun.enterprise.server.logging.ServerLogManager"
java.lang.ClassNotFoundException: com.sun.enterprise.server.logging.ServerLogManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at...
2009-04-27 15:58:33 UTC in Glassbox
-
Also, you can use some variables to make the options portable instead of hard-coding the path to glassbox:
<jvm-options>-javaagent:${com.sun.aas.instanceRoot}/lib/aspectjweaver.jar</jvm-options>
<jvm-options>-Dglassbox.install.dir=${com.sun.aas.instanceRoot}/lib/glassbox</jvm-options>...
2009-04-27 15:51:36 UTC in Glassbox
-
Thanks, it works!
2009-04-16 03:25:01 UTC in MiniTemplator
-
OOps accidently created a second one by refreshing the page ...
2009-04-14 04:18:10 UTC in MiniTemplator
-
Current I can test for the presence of a condition, but it might be handy to test for its absence instead.
Right now I can simulate this using foo or by adding a special inverse condition foo
It would be more convenient to have a syntax either foo or ...
2009-04-14 04:17:35 UTC in MiniTemplator
-
Current I can test for the presence of a condition, but it might be handy to test for its absence instead.
Right now I can simulate this using foo or by adding a special inverse condition foo
It would be more convenient to have a syntax either foo or ...
2009-04-14 01:18:04 UTC in MiniTemplator
-
The new code seems to work well, thanks!
However, it is harder to construct the MiniTemplator using those TemplateSpec objects - some convenience constructors, especially one that takes just a string, would be nice.
2009-01-24 13:26:17 UTC in MiniTemplator