-
1. Re: problem deploying Jboss cache
ben.wang Apr 2, 2004 7:19 PM (in response to tperrigo)Hi,
I don't see anything obvious right now. But did you remember to copy the jboss-cache.jar to the lib directory?
Thanks,
-Ben -
2. Re: problem deploying Jboss cache
tperrigo Apr 5, 2004 6:57 AM (in response to tperrigo)Thanks for the reply. Yeah, the jboss-cache.jar is in the default server's lib directory. I forgot to mention in my last post that I'm using jboss 4.0DR3. Do I need to edit anything in the configuration file (local-service-eviction.xml)?
-
3. Re: problem deploying Jboss cache
ben.wang Apr 7, 2004 8:59 AM (in response to tperrigo)Oh, one other thing. Under 4.0DR3, did you run with "-c all"? It also requires jgroups.jar which is in all/lib directory. Alternatively, you can copy it to default/lib yourself.
Thanks,
-Ben -
4. Re: problem deploying Jboss cache
tperrigo Apr 8, 2004 7:26 AM (in response to tperrigo)Still no luck...I switched to the "all" server and made sure the jgroups.jar was also in the lib directory, but I get the same message on startup. I'm new to jboss, so I'm not sure what else to try. Any suggestions?
-
5. Re: problem deploying Jboss cache
ben.wang Apr 8, 2004 9:32 AM (in response to tperrigo)Here is what I did to deploy jboss cache under 4.0DR4.
1. copy jboss-cache.jar to server/all/lib
2. start up JBOss as "run.sh -c all" to make sure everything starts up fine
3. modify local-service.xml and change DummyTransactionManagerLookup to JBossTransactionManagerLookup to use JBOss TM.
4. copy the new local-service.xml to server/all/deploy to start the cache deployment.
Hope this help,
-Ben -
6. Re: problem deploying Jboss cache
tperrigo Apr 9, 2004 10:03 AM (in response to tperrigo)Aha...the local-service.xml file works just fine, but the local-service-eviction.xml file (that I've been using) causes the original exception. I'd like to use an eviction policy with the cache...do I have to use the local-service-eviction.xml file? Do you know why one would work, but the other doesn't?
Thanks for all your help, Ben. -
7. Re: problem deploying Jboss cache
ben.wang Apr 9, 2004 5:51 PM (in response to tperrigo)To deploy as a jboss service, the xml file has to be *-service.xml. So simply rename the local-service-eviction.xml to some-service.xml should work. This is an oversight from my part as well. I will rename it in the next release so it is compatibile.
Thanks,
-Ben