You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-users@jakarta.apache.org by aymenroma <ay...@hotmail.com> on 2007/08/16 16:29:35 UTC

Remote Cache Server

hi , I am on Web project which uses JBoss and I would like to know how to
parameterize the server and where to put the files ccf in JBoss and also it
is which file web.xml which is necessary to modify it.
Please give me an advise,
Aymen
-- 
View this message in context: http://www.nabble.com/Remote-Cache-Server-tf4279981.html#a12182403
Sent from the JCS - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Re: Remote Cache Server

Posted by ch...@gsa.gov.
I'll defer to others on remote configuration...good luck 

Thank you, 
Christopher

~~~~~~~~~~~~~~~~~
Christopher McCauley
Unisys Consultant
GSA - Federal Acquisition Service
CP3 11028B
(703) 605 9160
chris.mccauley@gsa.gov
chris.mccauley@unisys.com




"aymenroma" <ay...@hotmail.com> 
08/16/2007 11:12 AM
Please respond to
"JCS Users List" <jc...@jakarta.apache.org>


To
jcs-users@jakarta.apache.org
cc

Subject
Re: Remote Cache Server







thank you for th response 
but i don't need to modify the web.xml in the JBoss (put the remote cache
servelet start);
and i have this problem
2007-08-16 17:10:52,875 ERROR [main] remote.RemoteCacheManager
(RemoteCacheManager.java:127) - Problem finding server at
[//localhost:1101/org.apache.jcs.auxiliary.remote.behavior.IRemoteCacheService]
java.rmi.UnmarshalException: error unmarshalling return; nested exception
is: 
        java.io.EOFException
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
        at java.rmi.Naming.lookup(Naming.java:84)
        at
org.apache.jcs.auxiliary.remote.RemoteCacheManager.<init>(RemoteCacheManager.java:107)
        at
org.apache.jcs.auxiliary.remote.RemoteCacheManager.getInstance(RemoteCacheManager.java:307)
        at
org.apache.jcs.auxiliary.remote.RemoteCacheFactory.createCache(RemoteCacheFactory.java:105)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseAuxiliary(CompositeCacheConfigurator.java:551)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:343)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:264)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegions(CompositeCacheConfigurator.java:241)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure(CompositeCacheConfigurator.java:136)
        at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:311)
        at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:255)
        at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:242)
        at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:191)
        at
org.apache.jcs.engine.control.CompositeCacheManager.getInstance(CompositeCacheManager.java:119)
        at org.apache.jcs.JCS.ensureCacheManager(JCS.java:99)
        at org.apache.jcs.JCS.getInstance(JCS.java:64)
        at
eu.businesssquare.dispatch.cache.CacheIMPL.init(CacheIMPL.java:53)
        at
eu.businesssquare.dispatch.cache.CacheIMPL.<init>(CacheIMPL.java:38)
        at
eu.businesssquare.dispatch.cache.CacheIMPL.main(CacheIMPL.java:85)
Caused by: java.io.EOFException
        at
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2498)
        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1273)
        at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
        at
sun.rmi.server.MarshalInputStream.readLocation(MarshalInputStream.java:285)
        at
sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:167)
        at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
        at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
        at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
        ... 20 more
2007-08-16 17:10:52,875 DEBUG [main] remote.RemoteCacheMonitor
(RemoteCacheMonitor.java:101) - Notified of an error.
best regards.

chris.mccauley wrote:
> 
> ccf can go in server/name/conf and it will be picked up.
> 
> Thank you, 
> Christopher
> 
> ~~~~~~~~~~~~~~~~~
> Christopher McCauley
> Unisys Consultant
> GSA - Federal Acquisition Service
> CP3 11028B
> (703) 605 9160
> chris.mccauley@gsa.gov
> chris.mccauley@unisys.com
> 

-- 
View this message in context: 
http://www.nabble.com/Remote-Cache-Server-tf4279981.html#a12182695
Sent from the JCS - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org




Re: Remote Cache Server

Posted by aymenroma <ay...@hotmail.com>.
thank you for th response  
but i don't need to modify the web.xml in the JBoss (put the remote cache
servelet start);
best regards.

chris.mccauley wrote:
> 
> ccf can go in server/name/conf and it will be picked up.
> 
> Thank you, 
> Christopher
> 
> ~~~~~~~~~~~~~~~~~
> Christopher McCauley
> Unisys Consultant
> GSA - Federal Acquisition Service
> CP3 11028B
> (703) 605 9160
> chris.mccauley@gsa.gov
> chris.mccauley@unisys.com
> 

-- 
View this message in context: http://www.nabble.com/Remote-Cache-Server-tf4279981.html#a12182695
Sent from the JCS - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Re: Remote Cache Server

Posted by aymenroma <ay...@hotmail.com>.
thank you for th response  
but i don't need to modify the web.xml in the JBoss (put the remote cache
servelet start);
and i have this problem
2007-08-16 17:10:52,875 ERROR [main] remote.RemoteCacheManager
(RemoteCacheManager.java:127) - Problem finding server at
[//localhost:1101/org.apache.jcs.auxiliary.remote.behavior.IRemoteCacheService]
java.rmi.UnmarshalException: error unmarshalling return; nested exception
is: 
        java.io.EOFException
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
        at java.rmi.Naming.lookup(Naming.java:84)
        at
org.apache.jcs.auxiliary.remote.RemoteCacheManager.<init>(RemoteCacheManager.java:107)
        at
org.apache.jcs.auxiliary.remote.RemoteCacheManager.getInstance(RemoteCacheManager.java:307)
        at
org.apache.jcs.auxiliary.remote.RemoteCacheFactory.createCache(RemoteCacheFactory.java:105)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseAuxiliary(CompositeCacheConfigurator.java:551)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:343)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:264)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegions(CompositeCacheConfigurator.java:241)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure(CompositeCacheConfigurator.java:136)
        at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:311)
        at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:255)
        at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:242)
        at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:191)
        at
org.apache.jcs.engine.control.CompositeCacheManager.getInstance(CompositeCacheManager.java:119)
        at org.apache.jcs.JCS.ensureCacheManager(JCS.java:99)
        at org.apache.jcs.JCS.getInstance(JCS.java:64)
        at
eu.businesssquare.dispatch.cache.CacheIMPL.init(CacheIMPL.java:53)
        at
eu.businesssquare.dispatch.cache.CacheIMPL.<init>(CacheIMPL.java:38)
        at
eu.businesssquare.dispatch.cache.CacheIMPL.main(CacheIMPL.java:85)
Caused by: java.io.EOFException
        at
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2498)
        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1273)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
        at
sun.rmi.server.MarshalInputStream.readLocation(MarshalInputStream.java:285)
        at
sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:167)
        at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
        at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
        ... 20 more
2007-08-16 17:10:52,875 DEBUG [main] remote.RemoteCacheMonitor
(RemoteCacheMonitor.java:101) - Notified of an error.
best regards.

chris.mccauley wrote:
> 
> ccf can go in server/name/conf and it will be picked up.
> 
> Thank you, 
> Christopher
> 
> ~~~~~~~~~~~~~~~~~
> Christopher McCauley
> Unisys Consultant
> GSA - Federal Acquisition Service
> CP3 11028B
> (703) 605 9160
> chris.mccauley@gsa.gov
> chris.mccauley@unisys.com
> 

-- 
View this message in context: http://www.nabble.com/Remote-Cache-Server-tf4279981.html#a12182695
Sent from the JCS - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Re: Remote Cache Server

Posted by ch...@gsa.gov.
ccf can go in server/name/conf and it will be picked up.

Thank you, 
Christopher

~~~~~~~~~~~~~~~~~
Christopher McCauley
Unisys Consultant
GSA - Federal Acquisition Service
CP3 11028B
(703) 605 9160
chris.mccauley@gsa.gov
chris.mccauley@unisys.com