- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Service-Modul update Fehler
Wenn ich mir eine neue Version meiner FSM erstelle und dieseUpdaten will bekomme ich eine ClassCastException. Der Classloader hat noch dasalte ServiceInterface geladen und kann nicht auf das die neue Klasse Casten. Soist jedenfalls meine Interpretation.
Update funktioniert eh nicht, deshalb deinstalliere ich vorherund dann installiere ich erneut. Trotdem die ClassCastException.
Es gibt ja ListenerMethoden fรผrinstallation/deinstallation/update, etc. Kann man an der Stelle vielleicht dem ClassLoadersagen, dass er die alten Klassen wegschmeiรen soll? Nur so eine Idee von mir.
Die Frage ist ob ich an meinem Modul etwas รคndern kann um denUpdate, bzw. Neuinstallation, ohne Fehler durchzufรผhren?
Danke...
- Labels:
-
Developers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo,
* auf welche FS-Version beziehen sie sich.
* kรถnnen Sie die ClassCastException hier posten, bitte
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Danke fรผr die Rรผckfrage.
Ich habe versucht die gleiche Version zu installieren. Habe die alte deinstalliert, das gleiche FSM gleich wieder installiert. Das geht... Jetzt will ich nur die Konfig des Service aufrufen und es kommt folgende ClassCastException:
Client Version: 4.2.38.35284
Java Version: 1.6.0_22 Sun Microsystems Inc.
FSVersion=4.2.38.35284#1873
java.lang.ClassCastException: com.arithnea.haupia.comments.fsm.service.HaupiaCommentsServiceProxy cannot be cast to com.arithnea.haupia.comments.fsm.service.IHaupiaCommentsService
at com.arithnea.haupia.comments.fsm.gui.HaupiaCommentsConfigurationManager.getService(HaupiaCommentsConfigurationManager.java:96)
at com.arithnea.haupia.comments.fsm.gui.HaupiaCommentsConfigurationManager.load(HaupiaCommentsConfigurationManager.java:154)
at de.espirit.firstspirit.admin.gui.ModuleConfigurationDialog.<init>(ModuleConfigurationDialog.java:37)
at de.espirit.firstspirit.admin.gui.ModuleConfigurationPanel.openConfigurationDialog(ModuleConfigurationPanel.java:406)
at de.espirit.firstspirit.admin.gui.ModuleConfigurationPanel.openConfigurationDialog(ModuleConfigurationPanel.java:390)
at de.espirit.firstspirit.admin.gui.ModuleConfigurationPanel.actionPerformed(ModuleConfigurationPanel.java:226)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at de.espirit.firstspirit.common.gui.FsButton.fireActionPerformed(FsButton.java:84)
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 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 de.espirit.firstspirit.admin.gui.ServerDialog.getResult(ServerDialog.java:242)
at de.espirit.firstspirit.admin.gui.CMSAdminConsole.actionPerformed(CMSAdminConsole.java:971)
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.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 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)
Danke...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
als Workaround hilft vermutlich nur ein Server-Neustart. Allerdings ist die Version 4.2.38 auch schon ziemlich alt, deshalb sollten Sie auf jeden Fall auf den letzen Ramp-Up-Build aktualisieren und es erneut probieren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
> 4.2.38.35284
Die Version ist natรผrlich sehr schon sehr alt (18.11.2009). Hier sollten sie auf jeden Fall auf eine neuere FS-Version wechseln. Mindestens auf die aktuelle Version der R2 Linie, idealerweise sogar aber auf die aktuelle Rampup-Version (R4).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ich werde upgraden und es nochmal versuchen.
Danke...

