Announcement

Collapse

NextGen (Mirth) Connect 3.10.0 Released!

NextGen (Mirth) Connect 3.10.0 is now available as an appliance update and on our GitHub page. This release includes better SQL Server database support, security improvements through fixes and library updates, and improvements for the Advanced Clustering plugin with a focus on improving performance of many of the tasks that are carried out on a frequent interval. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

please correct JMS Writer Config

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • please correct JMS Writer Config

    hi to all,

    i am facing exceptions while deploying my Mirth channel it has JMS Writer as a destination, could u please the mistake in my jms writer config

    <name>Destination 1</name>
    <properties>
    <property name="template">${message.id}</property>
    <property name="host">//queue:testQueue</property>
    <property name="password">guest</property>
    <property name="jndiInitialFactory">org.jnp.interfaces.Namin gContextFactory</property>
    <property name="specification">1.1</property>
    <property name="connectionFactoryJndiName">java:/ConnectionFactory</property>
    <property name="DataType">JMS Writer</property>
    <property name="connectionFactoryProperties">&lt;properties/&gt;</property>
    <property name="durable">0</property>
    <property name="username">guest</property>
    <property name="clientId"></property>
    <property name="jndiProviderUrl">jnp://172.20.36.99:1099/</property>
    </properties>





    WARN 2007-05-07 19:23:11,640 [Thread-0] com.webreach.mirth.server.Mirth: Error
    deploying channels.
    org.mule.config.ConfigurationException: MuleManager Failed to initialise (org.mu
    le.config.ConfigurationException)
    at org.mule.config.builders.MuleXmlConfigurationBuild er.configure(MuleXm
    lConfigurationBuilder.java:196)
    at com.webreach.mirth.server.Mirth.startMule(Mirth.ja va:163)
    at com.webreach.mirth.server.Mirth.restartMule(Mirth. java:145)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:101 )
    Caused by: org.mule.config.ConfigurationException: MuleManager Failed to initial
    ise
    at org.mule.config.builders.MuleXmlConfigurationBuild er.configure(MuleXm
    lConfigurationBuilder.java:209)
    at org.mule.config.builders.MuleXmlConfigurationBuild er.configure(MuleXm
    lConfigurationBuilder.java:194)
    ... 3 more
    Caused by: org.mule.umo.lifecycle.InitialisationException: Failed to create Jms
    Connector
    at com.webreach.mirth.server.mule.providers.jms.JmsCo nnector.doInitialis
    e(JmsConnector.java:137)
    at org.mule.providers.AbstractConnector.initialise(Ab stractConnector.jav
    a:233)
    at org.mule.MuleManager.initialiseConnectors(MuleMana ger.java:776)
    at org.mule.MuleManager.initialise(MuleManager.java:6 52)
    at org.mule.MuleManager.start(MuleManager.java:721)
    at org.mule.config.builders.MuleXmlConfigurationBuild er.configure(MuleXm
    lConfigurationBuilder.java:207)
    ... 4 more
    Caused by: javax.naming.CommunicationException [Root exception is java.rmi.Serve
    rException: RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
    tion is:
    java.net.MalformedURLException: no protocol: Files/Mirth/./mirth-server.
    jar]
    at org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:722)
    at org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:587)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at com.webreach.mirth.server.mule.providers.jms.JmsCo nnector.createConne
    ctionFactory(JmsConnector.java:171)
    at com.webreach.mirth.server.mule.providers.jms.JmsCo nnector.doInitialis
    e(JmsConnector.java:130)
    ... 9 more
    Caused by: java.rmi.ServerException: RemoteException occurred in server thread;
    nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
    tion is:
    java.net.MalformedURLException: no protocol: Files/Mirth/./mirth-server.
    jar
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:325)
    at sun.rmi.transport.Transport$1.run(Transport.java:1 53)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport. java:149)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:4
    60)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport
    .java:701)
    at java.lang.Thread.run(Thread.java:595)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceiv edFromServer(Unknow
    n Source)
    at sun.rmi.transport.StreamRemoteCall.executeCall(Unk nown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
    at org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:625)
    ... 13 more
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested ex
    ception is:
    java.net.MalformedURLException: no protocol: Files/Mirth/./mirth-server.
    jar
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:282)
    at sun.rmi.transport.Transport$1.run(Transport.java:1 53)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport. java:149)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:4
    60)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport
    .java:701)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.net.MalformedURLException: no protocol: Files/Mirth/./mirth-serv
    er.jar
    at java.net.URL.<init>(URL.java:567)
    at java.net.URL.<init>(URL.java:464)
    at java.net.URL.<init>(URL.java:413)
    at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHand ler.java:747)
    at sun.rmi.server.LoaderHandler.loadClass(LoaderHandl er.java:147)
    at java.rmi.server.RMIClassLoader$2.loadClass(RMIClas sLoader.java:620)
    at org.jboss.system.JBossRMIClassLoader.loadClass(JBo ssRMIClassLoader.ja
    va:91)
    at java.rmi.server.RMIClassLoader.loadClass(RMIClassL oader.java:247)
    at sun.rmi.server.MarshalInputStream.resolveClass(Mar shalInputStream.jav
    a:197)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectI nputStream.java:153
    8)
    at java.io.ObjectInputStream.readClassDesc(ObjectInpu tStream.java:1460)
    at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1
    693)
    at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1299)
    at java.io.ObjectInputStream.readObject(ObjectInputSt ream.java:339)
    at javax.naming.CompoundName.readObject(CompoundName. java:554)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectS treamClass.java:919
    )
    at java.io.ObjectInputStream.readSerialData(ObjectInp utStream.java:1813)

    at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1
    713)
    at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1299)
    at java.io.ObjectInputStream.readObject(ObjectInputSt ream.java:339)
    at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRe f.java:290)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:279)
    ... 6 more

  • #2
    Release correct JMS Writer Config

    Change jnp to tcp in your host.
    Chris Lang

    Comment

    Working...
    X