I too am trying to persist Hibernate objects in the JBoss Cache, and I hit the
same problem:
java.lang.VerifyError: class AOPClassProxy$2 overrides final method
I do not want to recompile Hibernate;
I had originally tries Mark's suggestion of using JBC as the second level cache
of Hibernate,
I want to use the Hibernate Second level cache for EJB3 Entity beans. It works
fine with simple Entitys, but in the case of many to many relations (for
example the 'Relationships' tutorial) it does not work. I think that, at a
Hibernate level, there is an explanation here:
I guess maybe I put this in the wrong forum. I have moved it to
http://www.jboss.org/index.html?module=bbop=viewtopicp=4246124#4246124.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4246126#4246126
Reply to the post :
I want to use the Hibernate Second level cache for Entity beans. It works fine
with simple Entitys, but in the case of many to many relations (for example the
'Relationships' tutorial) it does not work. I think that, at a Hibernate level,
there is an explanation here:
Peter:
(this is going to be a little long :-))
| C:\Other\eclipseall\ws\hsi\mm7-client2\workmyrun
|
| C:\Other\eclipseall\ws\hsi\mm7-client2\workmyconsume -k -s ../src -o tmp
mm7.wsdl
| C:\Sun\AppServer\jdk\bin\java
-Djava.endorsed.dirs=C:/jboss/jboss-4.2.2.GA\lib\endorsed
Peter,
Contents of myconsume.bat:
| @echo off
|
| @if not %ECHO% == echo %ECHO%
| @if %OS% == Windows_NT setlocal
|
| set DIRNAME=.\
| if %OS% == Windows_NT set DIRNAME=%~dp0%
| set PROGNAME=run.bat
| if %OS% == Windows_NT set PROGNAME=%~nx0%
|
| set
Can anybody kindly tell me how to turn on tracing in wsconsume?
wsconsume.bat runs WSConsume with
-Dlog4j.configuration=wstools-log4j.xml
According to the Jamae / Johnson book wstools-log4j.xm is now obsolete. But I
have tried replacing it with a reference to another log4j.xml file. To no
I have a 'Content is not allowed in prolog' problem. But I am pretty sure that
it is not any of the usual culprits (spaces or invalid characters where they
should not be).
I have a WSDL (below). This is for a document type WS, and the schema is at
Looking further at this, I think the trace before it blows up is relevent. it
is definitely parsing the soap envelope schema:
| 2009-05-05 18:03:59,380 DEBUG
[org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory] parse:
http://frpar-morisona1:8080/mm7/MM7Bean?wsdl
| 2009-05-05 18:03:59,568 TRACE
When I try to deploy JdbmCacheLoader with the MicroContainer, it fails. Same
syntax in my xx-jboss-beans.xml file as for FileCacheLoader (which works). Its
also fails for the JDBCCacheLoader. It's very odd, as I can not see any
difference, from a deployment point of view, between the
Having struggled for some time to get JBC 30 running in a cluster on JBossAS
50, I have put together a small Hello World type program to show how it is
done. It may be accessed here: http://www.opendoors.fr/dummies/dummies.zip. The
UserGuide does a very good job of explaining the general
Manik,
Thanks. Actually I have made progress since. I did not have a jar with the
classes to be instantiated in the lib directory.
You might say it was a bit impolite of the system to swallow an error like
that, without saying anything (there again, you might say it was pretty stupid
of me
JBossAS 501. JBC 303, also 302.
JBC clustered. I put something in the cache on one side of the cluster. On the
other side you see it arrive in the trace, CommandAwareRpcDispatcher is called;
then no more sign of it.
Extract from trace below, also the configuation which is closely modeled on
Mircea (or other),
Is it possible to configure implicitly created nodes so they are evicted?
I have a cache (JBC 303) which will have 100,000 entries, and a depth of 5. So
that is, potentially, 400,000 implicitly created nodes hanging around
indefinitely (if I have correctly understood).
Thanks,
I hit one or two little problems following the UserGuide to deploy the Cache.
So for the benefit of anyone who follows
I am using JBC 3.0.3 with JBossAS 5.0.1. (I copied the jbosscache-core.jar from
the release to the server/all/lib directory.)
First, contrary to what is stated in the
Manik,
Yes, that's it. Thanks.
I would certainly like to upgrade to a more recent version of the Cache. I need
to check out what my customer will accept (pay for), and how much I need to
touch my code.
Otherwise I will use REPL_SYNC.
Best Regards,
Angus
View the original post :
I had the same problem. I tried with a 1.6 jre and got this stack trace:
| java.lang.NoClassDefFoundError: Testsuite/output
| Caused by: java.lang.ClassNotFoundException: Testsuite.output
| at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
| at
I have had this problem again. it happens when you tick 'Copy projects into
workspace'.
So for the JBossWS samples testsuite in Eclipse I recommend:
Do NOT tick 'Copy projects into workspace'.
DO use a jre 1.5.
View the original post :
18 matches
Mail list logo