[jboss-user] [JBoss Cache: Core Edition] - Re: JBoss Cache (PojoCache) with Hibernate Collections (Pers

2009-07-30 Thread angusm
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,

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - EJB3 and Hibernate second level cache with manytomany relati

2009-07-27 Thread angusm
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:

[jboss-user] [EJB 3.0] - Re: Hibernate second level cache with manytomany relationshi

2009-07-27 Thread angusm
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 :

[jboss-user] [EJB 3.0] - Hibernate second level cache with manytomany relationships

2009-07-23 Thread angusm
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:

[jboss-user] [JBossWS] - Re: Tracing wsconsume

2009-05-14 Thread angusm
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

[jboss-user] [JBossWS] - Re: Tracing wsconsume

2009-05-11 Thread angusm
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

[jboss-user] [JBossWS] - Tracing wsconsume

2009-05-07 Thread angusm
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

[jboss-user] [JBossWS] - Obscure 'SAXParseException: Content is not allowed in prolog

2009-05-05 Thread angusm
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

[jboss-user] [JBossWS] - Re: Obscure 'SAXParseException: Content is not allowed in pr

2009-05-05 Thread angusm
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

[jboss-user] [JBoss Cache: Core Edition] - Failure to deploy JdbmCacheLoader with MicroContainer

2009-04-01 Thread angusm
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

[jboss-user] [JBoss Cache: Core Edition] - Hello World for Dummies

2009-03-30 Thread angusm
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

[jboss-user] [JBoss Cache: Core Edition] - Re: CommandAwareRpcDispatcher called, then nothing.

2009-03-26 Thread angusm
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

[jboss-user] [JBoss Cache: Core Edition] - CommandAwareRpcDispatcher called, then nothing.

2009-03-25 Thread angusm
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

[jboss-user] [JBoss Cache: Core Edition] - Re: LRUPolicy eviction policy

2009-03-24 Thread angusm
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,

[jboss-user] [JBoss Cache: Core Edition] - Problems deploying Cache via MicroContainer following UserGu

2009-03-20 Thread angusm
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

[jboss-user] [JBoss Cache: Core Edition] - Re: org.jboss.cache.GlobalTransaction never released

2009-03-17 Thread angusm
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 :

[jboss-user] [JBossWS] - Re: TestSuite in Eclipse problem

2008-12-29 Thread angusm
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

[jboss-user] [JBossWS] - Re: TestSuite in Eclipse problem

2008-12-29 Thread angusm
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 :