Error Imported Chart that was XSLT'd prior to import

mercredi 22 octobre 2014

Premise:

We have an old Mirth server running v1.8 (:eek: I know), and in order to get rid of that dinosaur we have to migrate all the channels off to our newer server.

All of these channels are LLP Listener sources, and File Writer destinations. (Each channel has only 1 destination)



So in order to prep this for moving to the new server, I wrote a quick "copy" XSLT that modifies the host on Source and Destination connectors to the new listening IP and file writing path. I also set "enabled" to false for the channel, so its not able to be turned on accidentally before we need it.



Issue:

I cant import these transformed channels into mirth, I get an cryptic error and no tools I have used say the XML is invalid.I have compared these files on a textual level (side by side in notepad++) and dont readily see what the issue is.



Attached are the converted and non converted channels. the one without "converted" in the name is the original export from the old Mirth 1.8 server.



When I attempted to import this XSLT'd channel, it barks and says this:


Quote:








Invalid channel file:

Content is not allowed in prolog.

org.apache.xerces.parsers.DOMParser.parse(Unknown Source)

org.apache.xerces.jaxp.DocumentBuilderImpl.parse(U nknown Source)

com.mirth.connect.model.util.ImportConverter.conve rtChannelString(ImportConverter.java:219)

com.mirth.connect.client.ui.Frame.importChannel(Fr ame.java:2921)

com.mirth.connect.client.ui.Frame.doImport(Frame.j ava:2912)

sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)

sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)

java.lang.reflect.Method.invoke(Unknown Source)

sun.reflect.misc.Trampoline.invoke(Unknown Source)

sun.reflect.GeneratedMethodAccessor3.invoke(Unknow n Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)

java.lang.reflect.Method.invoke(Unknown Source)

sun.reflect.misc.MethodUtil.invoke(Unknown Source)

java.beans.EventHandler.invokeInternal(Unknown Source)

java.beans.EventHandler.access$000(Unknown Source)

java.beans.EventHandler$1.run(Unknown Source)

java.security.AccessController.doPrivileged(Native Method)

java.beans.EventHandler.invoke(Unknown Source)

$Proxy9.actionPerformed(Unknown Source)

org.jdesktop.swingx.action.BoundAction.actionPerfo rmed(BoundAction.java:231)

javax.swing.AbstractButton.fireActionPerformed(Unk nown Source)

org.jdesktop.swingx.JXHyperlink.fireActionPerforme d(JXHyperlink.java:266)

javax.swing.AbstractButton$Handler.actionPerformed (Unknown Source)

javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source)

javax.swing.DefaultButtonModel.setPressed(Unknown Source)

javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(Unknown Source)

java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

java.awt.Component.processMouseEvent(Unknown Source)

javax.swing.JComponent.processMouseEvent(Unknown Source)

java.awt.Component.processEvent(Unknown Source)

java.awt.Container.processEvent(Unknown Source)

java.awt.Component.dispatchEventImpl(Unknown Source)

java.awt.Container.dispatchEventImpl(Unknown Source)

java.awt.Component.dispatchEvent(Unknown Source)

java.awt.LightweightDispatcher.retargetMouseEvent( Unknown Source)

java.awt.LightweightDispatcher.processMouseEvent(U nknown Source)

java.awt.LightweightDispatcher.dispatchEvent(Unkno wn Source)

java.awt.Container.dispatchEventImpl(Unknown Source)

java.awt.Window.dispatchEventImpl(Unknown Source)

java.awt.Component.dispatchEvent(Unknown Source)

java.awt.EventQueue.dispatchEventImpl(Unknown Source)

java.awt.EventQueue.access$000(Unknown Source)

java.awt.EventQueue$3.run(Unknown Source)

java.awt.EventQueue$3.run(Unknown Source)

java.security.AccessController.doPrivileged(Native Method)

java.security.ProtectionDomain$1.doIntersectionPri vilege(Unknown Source)

java.security.ProtectionDomain$1.doIntersectionPri vilege(Unknown Source)

java.awt.EventQueue$4.run(Unknown Source)

java.awt.EventQueue$4.run(Unknown Source)

java.security.AccessController.doPrivileged(Native Method)

java.security.ProtectionDomain$1.doIntersectionPri vilege(Unknown Source)

java.awt.EventQueue.dispatchEvent(Unknown Source)

java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)

java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)

java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)

java.awt.EventDispatchThread.pumpEvents(Unknown Source)

java.awt.EventDispatchThread.pumpEvents(Unknown Source)

java.awt.EventDispatchThread.run(Unknown Source)











Error Imported Chart that was XSLT'd prior to import

0 commentaires:

Enregistrer un commentaire