You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by dblevins <da...@visi.com> on 2010/10/21 03:46:44 UTC

Re: Can I use OpenEJB on a computer whose name contains non-ASCII characters?


Jan Slovak wrote:
> 
> Hi,
> It looks like the OpenEJB container system cannot be built on computers
> whose name (COMPUTERNAME on Windows) contains non-ASCII characters, e.g.
> "žluťoučký", because the assembler translates IP address 127.0.0.1 into
> the computer name (see the log below). Is it possible to turn this
> translation off somehow? And work only with IP addresses? I will be
> greatfull for any suggestions.
> 
> Jan
> 
> Here is the log:
> 
> 2010-04-27 21:43:12,693 - FATAL - OpenEJB has encountered a fatal error
> and cannot be started: Assembler failed to build the container system.
> org.apache.openejb.OpenEJBException:
> javax.resource.spi.ResourceAdapterInternalException?: Failed to startup an
> embedded broker:
> openejb:broker:(tcp://localhost:61616)?useJmx=false&persistent=false, due
> to: java.io.IOException: Illegal character in authority at index 6:
> tcp://?lu?ou?:61616: Failed to startup an embedded broker:
> openejb:broker:(tcp://localhost:61616)?useJmx=false&persistent=false, due
> to: java.io.IOException: Illegal character in authority at index 6:
> tcp://?lu?ou?:61616
> 
> 
> at
> org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:1124)
> at
> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:349)
> at
> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:272)
> at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
> at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
> at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
> 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.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
> at
> org.apache.openejb.client.LocalInitialContextFactory?.init(LocalInitialContextFactory?.java:71)
> at
> org.apache.openejb.client.LocalInitialContextFactory?.init(LocalInitialContextFactory?.java:53)
> at
> org.apache.openejb.client.LocalInitialContextFactory?.getInitialContext(LocalInitialContextFactory?.java:42)
> at javax.naming.spi.NamingManager?.getInitialContext(Unknown Source)
> at javax.naming.InitialContext?.getDefaultInitCtx(Unknown Source)
> at javax.naming.InitialContext?.init(Unknown Source)
> at javax.naming.InitialContext?.<init>(Unknown Source)
> at
> com.fss.eims.ejb.session.ServiceLocator?.getInitialContext(ServiceLocator?.java:153)
> at
> com.fss.eims.ejb.session.ServiceLocator?.<init>(ServiceLocator?.java:34)
> at
> com.fss.eims.ejb.session.ServiceLocator?.getInstance(ServiceLocator?.java:113)
> at com.fss.eims.impl.gp.gui.client.MainFrame?$16.run(MainFrame?.java:1384)
> at java.awt.event.InvocationEvent?.dispatch(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)
> 
> 
> Caused by: javax.resource.spi.ResourceAdapterInternalException?: Failed to
> startup an embedded broker:
> openejb:broker:(tcp://localhost:61616)?useJmx=false&persistent=false, due
> to: java.io.IOException: Illegal character in authority at index 6:
> tcp://?lu?ou?:61616
> 
> 
> at
> org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java:83)
> at
> org.apache.openejb.resource.activemq.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java:130)
> at
> org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:1122)
> ... 29 more
> 
> 
> Caused by: java.io.IOException: Illegal character in authority at index 6:
> tcp://?lu?ou?:61616
> 
> 
> at
> org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:43)
> at
> org.apache.activemq.transport.tcp.TcpTransportServer?.bind(TcpTransportServer?.java:94)
> at
> org.apache.activemq.transport.tcp.TcpTransportFactory?.doBind(TcpTransportFactory?.java:56)
> at
> org.apache.activemq.transport.TransportFactory?.bind(TransportFactory?.java:109)
> at
> org.apache.activemq.broker.BrokerService?.createTransportConnector(BrokerService?.java:1348)
> at
> org.apache.activemq.broker.BrokerService?.addConnector(BrokerService?.java:163)
> at
> org.apache.activemq.broker.DefaultBrokerFactory?.createBroker(DefaultBrokerFactory?.java:55)
> at
> org.apache.activemq.broker.BrokerFactory?.createBroker(BrokerFactory?.java:57)
> at
> org.apache.openejb.resource.activemq.OpenEjbBrokerFactory?.createBroker(OpenEjbBrokerFactory?.java:44)
> at
> org.apache.activemq.broker.BrokerFactory?.createBroker(BrokerFactory?.java:57)
> at
> org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java:80)
> ... 31 more
> 
> 
> Caused by: java.net.URISyntaxException: Illegal character in authority at
> index 6: tcp://?lu?ou?:61616
> 
> 
> at java.net.URI$Parser.fail(Unknown Source)
> at java.net.URI$Parser.parseAuthority(Unknown Source)
> at java.net.URI$Parser.parseHierarchical(Unknown Source)
> at java.net.URI$Parser.parse(Unknown Source)
> at java.net.URI.<init>(Unknown Source)
> at
> org.apache.activemq.transport.tcp.TcpTransportServer?.bind(TcpTransportServer?.java:91)
> ... 40 more
> 
> 
> 
> 

Dear user, we have recently discovered that in January Nabble changed the
"OpenEJB" Nabble Category to a Nabble Forum and allowed posts to be made
directly on it.  These posts were never delivered to any mailing list and
were not seen by the OpenEJB community.

We are moving all such threads to the "OpenEJB User" Nabble Forum so future
replies will go to the mailing lists, but please understand that your
original post and all previous replies are not in the Apache archives nor
visible to its subscribers.

If you still need help with your question please repost.


-- 
View this message in context: http://openejb.979440.n4.nabble.com/Can-I-use-OpenEJB-on-a-computer-whose-name-contains-non-ASCII-characters-tp2228689p3004913.html
Sent from the OpenEJB User mailing list archive at Nabble.com.