PDA

View Full Version : Path to jdbc/repository.properties



quest
12-16-2009, 08:27 AM
Sory my bad English

I'm building metada-editor from SVN. When i want to save busines model i'm geting next error
org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository.
at org.pentaho.pms.core.CWM.getRepository(CWM.java:462)
at org.pentaho.pms.core.CWM.getRepositoryInstance(CWM.java:447)
at org.pentaho.pms.core.CWM.exists(CWM.java:553)
at org.pentaho.pms.ui.MetaEditor.saveFileAs(MetaEditor.java:2925)
at org.pentaho.pms.ui.MetaEditor.saveFile(MetaEditor.java:2910)
at org.pentaho.pms.ui.MetaEditor$13.handleEvent(MetaEditor.java:521)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:847)
at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3582)
Caused by: java.io.FileNotFoundException: jdbc/repository.properties (Нет такого файла или каталога)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at java.io.FileInputStream.<init>(FileInputStream.java:96)
at org.pentaho.pms.core.CWM.getRepository(CWM.java:456)
... 11 more

I understand that error in path, but i can't understand how declare root for my instance of pentaho-metadata-editor. In folder "eclipse-bin" exists folder jdbc and in this folder exists file repository.properties

How i can correct this problem?

quest
12-16-2009, 10:06 AM
closed.
jdbc must be in work directory, not in eclipse bin