Hi Jens
There was an truncation error in the database level (Comment is type of
VARCHAR with some limit ). This is the root cause.
Thanks
Indika
Jens Goldhammer wrote:
Hello Ruwan,
no it does not work in firefox and ie with the comment I want to
insert. I am sure that it has something to do with the content of my
comment...
Can you try to put the following comment into the esbsite?
Hello,
I have downloaded the im mediator, copied the all jars and the
mediator-jar into the esb, configure synapse.xml:
<syn:im to="[EMAIL PROTECTED]" protocol="jabber"
username="[EMAIL PROTECTED]"
password="hidden">
<syn:message value="Das ist ein Test"/>
</syn:im>
but getting following error while starting the esb.
2008-03-27 09:30:40,751 [192.168.120.254-IBM-88A9A291E2F]
[WrapperSimpleAppMain] DEBUG IMMediator Creating IMWrapper.
protocol:jabber
2008-03-27 09:30:40,761 [192.168.120.254-IBM-88A9A291E2F]
[WrapperSimpleAppMain] DEBUG IMMediator Login IM.
username:[EMAIL PROTECTED]
java.lang.NoSuchMethodError:
org.jivesoftware.smack.XMPPConnection.addConnectionCreationListener(Lorg/jivesoftware/smack/ConnectionCreationListener;)V
at
org.jivesoftware.smackx.ServiceDiscoveryManager.<clinit>(ServiceDiscoveryManager.java:62)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at
org.jivesoftware.smack.SmackConfiguration.parseClassToLoad(SmackConfiguration.java:176)
at
org.jivesoftware.smack.SmackConfiguration.<clinit>(SmackConfiguration.java:81)
at
org.jivesoftware.smack.XMPPConnection.<clinit>(XMPPConnection.java:88)
at
org.wso2.imwrapper.jabber.JabberWrapperImpl.login(JabberWrapperImpl.java:44)
at org.apache.synapse.mediators.im.IMMediator.init(IMMediator.java:165)
at
org.apache.synapse.mediators.AbstractListMediator.init(AbstractListMediator.java:107)
at
org.apache.synapse.mediators.base.SequenceMediator.init(SequenceMediator.java:192)
at
org.apache.synapse.config.SynapseConfiguration.init(SynapseConfiguration.java:774)
at
org.apache.synapse.core.axis2.SynapseInitializationModule.getConfiguration(SynapseInitializationModule.java:197)
at
org.apache.synapse.core.axis2.SynapseInitializationModule.init(SynapseInitializationModule.java:84)
at
org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:222)
at
org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:200)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:76)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:180)
at org.apache.synapse.ServerManager.start(ServerManager.java:86)
at
org.wso2.esb.ServiceBusManager.startListeners(ServiceBusManager.java:147)
at
org.wso2.esb.transport.tomcat.StartUpServlet.init(StartUpServlet.java:81)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
at
org.wso2.esb.transport.tomcat.TomcatServer.start(TomcatServer.java:120)
at org.wso2.esb.ServiceBusManager.start(ServiceBusManager.java:118)
at org.wso2.esb.ServiceBus.start(ServiceBus.java:135)
at org.wso2.esb.ServiceBus.main(ServiceBus.java:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
at java.lang.Thread.run(Thread.java:595)
2008-03-27 09:30:40,821 [192.168.120.254-IBM-88A9A291E2F]
[WrapperSimpleAppMain] FATAL ServerManager Startup failed...
<-- Wrapper Stopped
Maybe a wrong file version of smack?
Thanks,
Jens
--------------------
Thanks,
Jens
Ruwan Linton schrieb:
Hi Jens,
I have tried to reproduce this issue, but was unable to. I was
successful in adding a comment to the IM mediator. Please have a look
at it again.
Thanks,
Ruwan
Jens Goldhammer wrote:
Hello,
I wanted to insert a comment to the im-meditor on esb-site, but I am
getting the error which is shown in the attachment...
Any idea?
Thanks,
Jens
------------------------------------------------------------------------
_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user