activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: How to run ActiveMQ on z/OS in EBCDIC without setting default file.encoding=ISO8859-1?
Date Thu, 04 Feb 2010 18:17:00 GMT
I guess you could run without xml configuration and set any non default
values via code...

BrokerService broker = new BrokerService();
broker.addConnector("tcp://...");
etc.

On 4 February 2010 15:21, Fred Moore <fred.moore77@gmail.com> wrote:

> Hi folks,
>
> we have an application hosting an embedded broker instance which needs to
> run on z/OS box.
>
> Unfortunately the application heavily relies on EBCDIC I/O, so passing
> -Dfile.encoding=ISO8859-1 to the JVM (as suggested in
> http://activemq.apache.org/zos.html is not viable).
>
> We several things without success,  the most reasonable one seemed to be
> converting activem.xml di EBCDIC and adding an xml prolog asserting
> encoding=IBM-1047, but it did not work... here's the associated nasty
> exception ("             @@@@@@@@@" is actually non printable stuff in the
> real case):
>
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in URL
> [file:/home/USR930/sposagent/config/activemq.xml.EBCDIC]: Cannot create
> inner bean '(inner bean)' of type
> [org.apache.activemq.broker.region.policy.PolicyMap] while setting bean
> property 'destinationPolicy'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name '(inner bean)#2' defined in URL
> [file:/home/USR930/sposagent/config/activemq.xml.EBCDIC]: Cannot create
> inner bean 'policyEntry#1cde1cde' of type
> [org.apache.activemq.broker.region.policy.PolicyEntry] while setting bean
> property 'policyEntries' with key [0]; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name 'policyEntry#1cde1cde' defined in URL
> [file:/home/USR930/sposagent/config/activemq.xml.EBCDIC]: Error setting
> property values; nested exception is
> org.springframework.beans.NotWritablePropertyException: Invalid property
> '             @@@@@@@@@' of bean class
> [org.apache.activemq.broker.region.policy.PolicyEntry]: Bean property
> '             @@@@@@@@@             ' is not writable or has an invalid
> setter method. Does the parameter type of the setter match the return type
> of the getter
>
> Can anyone help?
> Cheers,
> F.
>



-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message