powered by Jive Software

Can anyone tell me what this means?

Caused by: org.jivesoftware.stringprep.IDNAException: Contains non-LDH characters.

Jeff

Some string contained non-“Letter/Digit/Hyphen” characters.

Ok, so how do I avoid that ?

Not sure. Where did you see it? Can you provide any context from the logs?

Jeff,

To follow-up, can you post the full stack trace? That will tell us specifically where this error came from. My guess is that somebody tried to use a JID with invalid characters. One thing that the XMPP specification details is exactly what characters are allowed in an address, and which are not. For example, you can’‘t have a space character in an address like “matt tucker@example.com”. These rules for which characters are allowed and which are not are called stringprep. There’‘s also a spec for international domain handling called IDNA (which is what you’'re error is about).

Usually we try to make the error messages a bit friendlier. It looks like in this case a more low-level error popped-up, which is why I’'m curious as to the context.

Regards,

Matt

Sorry as I feared, the logs were overwritten. I do have another error message that is sort of troubling for me though… I am going to stop and start the server right now to see if it pops back up again. if so I will post this one in DEV.

Jeff

Hi Matt,

I did get one (src: http://www.jivesoftware.org/community/thread.jspa?threadID=20104 ) so I’'ll create issue JM-705.

LG

2006.06.02 22:41:04 [org.jivesoftware.wildfire.XMPPServer.startModules(XMPPServer.java:504)

] Internal server error

java.lang.IllegalArgumentException: Illegal JID: my cool conference.jabber.tld

at org.xmpp.packet.JID.init(JID.java:401)

at org.xmpp.packet.JID.(XMPPServer.java:142)

at org.jivesoftware.wildfire.XMPPContextListener.contextInitialized(XMPPContextLis tener.java:32)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:372 7)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4162)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)

at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.j ava:119)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)

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.core.StandardService.start(StandardService.java:450)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

at org.apache.catalina.startup.Catalina.start(Catalina.java:551)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

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

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Caused by: org.jivesoftware.stringprep.IDNAException: Contains non-LDH characters.

at org.jivesoftware.stringprep.IDNA.toASCII(IDNA.java:106)

at org.jivesoftware.stringprep.IDNA.toASCII(IDNA.java:46)

at org.xmpp.packet.JID.init(JID.java:366)

… 31 more