cancel
Showing results for 
Search instead for 
Did you mean: 

Could not read manifest file when trying to register sqlanaywhere.jpr for SA 11

g_g_99
Participant
0 Kudos
1,738

I was working on the sqlanywhere 11.0.0 application and sybase central for quite a while. Suddendly after weird and long system reboot Monday, I started having trouble connecting the sybase central to the sqlanywhere database. recovery to recent windwos 10 checkpoint did not help, manually attempt to load the sqlanywhere.jpr gave me the could not read manifest error.

java.io.FileNotFoundException: C:\\PgmF\\Sybase\\SQLAnywhere11\\java\\saplugin.jar (The system cannot find the path specified) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at com.sybase.util.JARManifestReader.getValueFromManifest(JARManifestReader.java:46) at com.sybase.central.viewer.SCJARManifestReader.getRequiredViewerVersionFromJARManifest(SCJARManifestReader.java:137) at com.sybase.central.viewer.RegisterPlugInDialogController.registerProvider(RegisterPlugInWizard.java:277) at com.sybase.central.viewer.RegisterPlugInDialogController.onWizardFinish(RegisterPlugInWizard.java:187) at com.sybase.central.viewer.ScjQuickWizardDialog.onWizardFinish(ScjQuickWizardDialog.java:816) at com.sybase.central.viewer.ScjQuickWizardDialog.actionPerformed(ScjQuickWizardDialog.java:899) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.sybase.util.EventMonitor.dispatchEvent(EventMonitor.java:435) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at com.sybase.central.viewer.ScjBaseDialog.showDialog(ScjBaseDialog.java:474) at com.sybase.central.viewer.ScjQuickWizardDialog.render(ScjQuickWizardDialog.java:367) at com.sybase.central.viewer.ScjDialogSupport.render(ScjDialogSupport.java:161) at com.sybase.central.viewer.RegisterPlugInWizard.displayWizardDialog(RegisterPlugInWizard.java:72) at com.sybase.central.viewer.PluginDlg.registerButtonPressed(PluginDlg.java:307) at com.sybase.central.viewer.PluginDlg.actionPerformed(PluginDlg.java:622) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.sybase.util.EventMonitor.dispatchEvent(EventMonitor.java:435) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at com.sybase.central.viewer.ScjBaseDialog.showDialog(ScjBaseDialog.java:474) at com.sybase.central.viewer.ScjDialog.render(ScjDialog.java:112) at com.sybase.central.viewer.ScjDialogSupport.render(ScjDialogSupport.java:161) at com.sybase.central.viewer.ViewerManager.showPluginDlg(ViewerManager.java:1136) at com.sybase.central.viewer.ViewerManager.menuItemSelected(ViewerManager.java:1277) at com.sybase.central.viewer.BaseMenuItem.actionPerformed(BaseMenuItem.java:223) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.sybase.util.EventMonitor.dispatchEvent(EventMonitor.java:435) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

I also discover the system has no clue that SA was installed. the w10 pro was upgraded a few times, from vista pro to w7 pro, w8 pro, and hardware upgrade a couple of times.)

what can I do?

View Entire Topic
g_g_99
Participant
0 Kudos

I found out the problem was the jpr file content . somehow the old version with invalid path reappear. fix that, the problem went away.