[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[News.eclipse.technology.eclipselink] cache synchronization

Hi,

I've been looking at

http://wiki.eclipse.org/Configuring_a_Coordinated_Cache_%28ELUG%29

and have got a bit stuck as the user guide only refers to the workbench 
which I
have sucessfully got to run but the session editor in eclipselink 1.0M5 
doesn't seem
to have a Cache Coordination tab.

In the wiki there are no example session.xml files. I know there is a schema 
definition
but its a bit of a hassle trying to construct the session.xml file purely 
from the schema
definition!

Any hints welcome.

Peter.

p.s. I get a few null pointers trying to generate entity classes from 
database tables. Not
a big thing for me as I'm using JDeveloper for creating entities.

java.lang.NullPointerException
 at 
org.eclipse.persistence.tools.workbench.mappingsplugin.ui.db.DescriptorGenerationDialog.getGenerateAccessors(DescriptorGenerationDialog.java:70)
 at 
org.eclipse.persistence.tools.workbench.mappingsplugin.ui.db.DescriptorGenerationCoordinator.generateDescriptorsForTables(DescriptorGenerationCoordinator.java:105)
 at 
org.eclipse.persistence.tools.workbench.mappingsplugin.ui.db.DescriptorGenerationCoordinator.generateClassDescriptorsForTables(DescriptorGenerationCoordinator.java:75)
 at 
org.eclipse.persistence.tools.workbench.mappingsplugin.ui.db.DescriptorGenerationCoordinator.generateClassDescriptorsForAllTables(DescriptorGenerationCoordinator.java:67)
 at 
org.eclipse.persistence.tools.workbench.mappingsplugin.ui.db.GenerateDescriptorsFromAllTablesAction.execute(GenerateDescriptorsFromAllTablesAction.java:35)
 at 
org.eclipse.persistence.tools.workbench.framework.action.AbstractFrameworkAction.actionPerformed(AbstractFrameworkAction.java:147)
 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
 at 
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
 at 
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
 at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
 at 
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
 at 
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
 at java.awt.Component.processMouseEvent(Component.java:5488)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
 at java.awt.Component.processEvent(Component.java:5253)
 at java.awt.Container.processEvent(Container.java:1966)
 at java.awt.Component.dispatchEventImpl(Component.java:3955)
 at java.awt.Container.dispatchEventImpl(Container.java:2024)
 at java.awt.Component.dispatchEvent(Component.java:3803)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
 at java.awt.Container.dispatchEventImpl(Container.java:2010)
 at java.awt.Window.dispatchEventImpl(Window.java:1774)
 at java.awt.Component.dispatchEvent(Component.java:3803)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
 at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
 at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)