Cache Coordingation configuration

View: New views
3 Messages — Rating Filter:   Alert me  

Cache Coordingation configuration

by cmathrusse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using EclipseLink 1.1.1.v20090430-r4097 with Sybase ASE 15. I'm trying to configure a Coordinated Cache using JMS. Currently I am using JPA Annotations for all configuration but I have configured my caches in persistence.xml. Looking through all the documentation it seems that the recommended approach for configuring a Coordinated Cache is to use the ExclipeLink Workbench. This seemed like a lot of lifting to get things to work correctly but I've begun to venture down this path only to hit issues.

First, Ping SQL. The XML element gets generated as follows: <toplink:ping-sql>  
I think this is a bug as there should be no reference to toplink. (I would imaging)

Next, when I deploy I get an exception pertaining to the 'server-platform'. (sunas-9-platform) I looked at the schema for sessions-1.1 and could find no server-platform defined for this type.

So at this point I guess my question is should I be using the Workbench or should I be defining a SessionCustomizer to configure the Cache Coordination?

Thanks...

Re: Cache Coordingation configuration

by Guy Pelletier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Have a look at EclipseLink's org.eclipse.persistence.annotations.Cache
annotation for this configuration.

Cheers,
Guy

----- Original Message -----
From: "cmathrusse" <Christopher.Mathrusse@...>
To: <eclipselink-users@...>
Sent: Tuesday, June 09, 2009 4:40 PM
Subject: [eclipselink-users] Cache Coordingation configuration


>
> I'm using EclipseLink 1.1.1.v20090430-r4097 with Sybase ASE 15. I'm trying
> to
> configure a Coordinated Cache using JMS. Currently I am using JPA
> Annotations for all configuration but I have configured my caches in
> persistence.xml. Looking through all the documentation it seems that the
> recommended approach for configuring a Coordinated Cache is to use the
> ExclipeLink Workbench. This seemed like a lot of lifting to get things to
> work correctly but I've begun to venture down this path only to hit
> issues.
>
> First, Ping SQL. The XML element gets generated as follows:
> <toplink:ping-sql>
> I think this is a bug as there should be no reference to toplink. (I would
> imaging)
>
> Next, when I deploy I get an exception pertaining to the
> 'server-platform'.
> (sunas-9-platform) I looked at the schema for sessions-1.1 and could find
> no
> server-platform defined for this type.
>
> So at this point I guess my question is should I be using the Workbench or
> should I be defining a SessionCustomizer to configure the Cache
> Coordination?
>
> Thanks...
> --
> View this message in context:
> http://www.nabble.com/Cache-Coordingation-configuration-tp23950887p23950887.html
> Sent from the EclipseLink - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> eclipselink-users mailing list
> eclipselink-users@...
> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>

_______________________________________________
eclipselink-users mailing list
eclipselink-users@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-users

Re: Cache Coordingation configuration

by Prabaharan Vijayaratnam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Also, for references take a look at the CacheCoordinationSessionCustomizer.java, a sample configuration for WebLogic:
Cheers,
Praba

Guy Pelletier wrote:
Have a look at EclipseLink's org.eclipse.persistence.annotations.Cache annotation for this configuration.

Cheers,
Guy

----- Original Message ----- From: "cmathrusse" Christopher.Mathrusse@...
To: eclipselink-users@...
Sent: Tuesday, June 09, 2009 4:40 PM
Subject: [eclipselink-users] Cache Coordingation configuration



I'm using EclipseLink 1.1.1.v20090430-r4097 with Sybase ASE 15. I'm trying to
configure a Coordinated Cache using JMS. Currently I am using JPA
Annotations for all configuration but I have configured my caches in
persistence.xml. Looking through all the documentation it seems that the
recommended approach for configuring a Coordinated Cache is to use the
ExclipeLink Workbench. This seemed like a lot of lifting to get things to
work correctly but I've begun to venture down this path only to hit issues.

First, Ping SQL. The XML element gets generated as follows:
<toplink:ping-sql>
I think this is a bug as there should be no reference to toplink. (I would
imaging)

Next, when I deploy I get an exception pertaining to the 'server-platform'.
(sunas-9-platform) I looked at the schema for sessions-1.1 and could find no
server-platform defined for this type.

So at this point I guess my question is should I be using the Workbench or
should I be defining a SessionCustomizer to configure the Cache
Coordination?

Thanks...
-- 
View this message in context: http://www.nabble.com/Cache-Coordingation-configuration-tp23950887p23950887.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.

_______________________________________________
eclipselink-users mailing list
eclipselink-users@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


_______________________________________________
eclipselink-users mailing list
eclipselink-users@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-users

--
Oracle
Praba Vijayaratnam | Principal Member Technical Staff | Phone: +6137834594
Oracle Server Technologies

ORACLE Canada | O'Connor Street | K1P1A4 Ottawa
Green Oracle Oracle is committed to developing practices and products that help protect the environment



_______________________________________________
eclipselink-users mailing list
eclipselink-users@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-users