I've troubles to deploy ActiveMQ 5.3.0 (and in 5.2.0 too) to zOS (Mainframe). I know there is a description for 5.0.0 available (http://activemq.apache.org/zos.html).
As it seems to be easy to deploy, we cannot start ActiveMq. stdout: activemq_stdout.txt ActiveMq-Log: activemq.log config XML: activemq.xml I uploaded the above files, but i'm not sure if it worked. The u/wrzrid/activemq/apache-activemq-5.3.0/l is a symbolic link to the lib directory and the u/wrzrid/activemq/apache-activemq-5.3.0/lo is a symbolic link to the lib/optional directory Has anybody further experience in deploying on zOS and can provide me assistance in solving the problem ?. If the upload didn't work, the output of activemq_stdout.txt, i've embedded some lines to the message MY CLASSPATH classpath: /products_nonshr/javafiles/java150/J5.0/lib/tools.jar:/bin:/u/wrzrid/activemq/apache-activemq-5.3.0/conf:/u/wrzrid/activemq/apache-activemq-5.3.0/activemq-all-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/bin/run.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/bin/wrapper.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/activation-1.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/activemq-console-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/activemq-camel-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/activemq-core-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/activemq-jaas-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/activemq-protobuf-1.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/activemq-web-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/camel-core-2.0.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/camel-jms-2.0.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/camel-spring-2.0.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/commons-logging-1.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/geronimo-j2ee-management_1.0_spec-1.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/geronimo-jms_1.1_spec-1.1.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/geronimo-jta_1.0.1B_spec-1.0.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/jaxb-api-2.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/jaxb-impl-2.1.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/kahadb-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/stax-1.2.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/stax-api-1.0.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/activeio-core-3.1.2.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/activemq-jmdns_1.0-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/activemq-optional-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/activemq-pool-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/activemq-rar-5.3.0.rar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/activemq-xmpp-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-beanutils-1.6.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-codec-1.2.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-collections-3.2.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-dbcp-1.2.2.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-httpclient-3.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-httpclient-3.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-net-2.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-pool-1.4.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/geronimo-j2ee-connector_1.5_spec-2.0.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/jettison-1.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/log4j-1.2.14.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/spring-aop-2.5.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/spring-beans-2.5.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/spring-context-2.5.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/spring-core-2.5.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/spring-jms-2.5.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/spring-oxm-tiger-1.5.8.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/spring-tx-2.5.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/wstx-asl-3.0.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/xbean-spring-3.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/xmlpull-1.1.3.4d_b4_min.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/xstream-1.3.1.jar Java Runtime: IBM Corporation 1.5.0 /SYSB/products_nonshr/javafiles/java150/J5.0 Heap sizes: current=1024k free=101k max=524288k JVM args: -Xjcl:jclscar_23 -Dcom.ibm.oti.vm.bootstrap.library.path=/SYSB/products_nonshr/javafiles/java150/J5.0/bin -Dsun.boot.library.path=/SYSB/products_nonshr/javafiles/java150/J5.0/bin -Djava.library.path=/SYSB/products_nonshr/javafiles/java150/J5.0/bin:/SYSB/products_nonshr/javafiles/java150/J5.0/bin/classic/libjvm.so:/SYSB/products_nonshr/javafiles/java150/J5.0/bin/classic:/SYSB/products_nonshr/javafiles/java150/J5.0/bin/:/lib:/usr/lib:/products_nonshr/javafiles/java150/J5.0/bin:/products_nonshr/javafiles/java150/J5.0/bin/classic: -Djava.home=/SYSB/products_nonshr/javafiles/java150/J5.0 -Djava.ext.dirs=/SYSB/products_nonshr/javafiles/java150/J5.0/lib/ext -Duser.dir=/u/wrzrid _j2se_j9=70912 vfprintf -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Dactivemq.classpath=/products_nonshr/javafiles/java150/J5.0/lib/tools.jar:/bin:/u/wrzrid/activemq/apache-activemq-5.3.0/conf:/u/wrzrid/activemq/apache-activemq-5.3.0/activemq-all-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/bin/run.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/bin/wrapper.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/activation-1.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/activemq-console-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/activemq-camel-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/activemq-core-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/activemq-jaas-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/activemq-protobuf-1.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/activemq-web-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/camel-core-2.0.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/camel-jms-2.0.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/camel-spring-2.0.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/commons-logging-1.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/geronimo-j2ee-management_1.0_spec-1.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/geronimo-jms_1.1_spec-1.1.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/geronimo-jta_1.0.1B_spec-1.0.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/jaxb-api-2.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/jaxb-impl-2.1.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/kahadb-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/stax-1.2.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/l/stax-api-1.0.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/activeio-core-3.1.2.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/activemq-jmdns_1.0-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/activemq-optional-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/activemq-pool-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/activemq-rar-5.3.0.rar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/activemq-xmpp-5.3.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-beanutils-1.6.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-codec-1.2.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-collections-3.2.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-dbcp-1.2.2.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-httpclient-3.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-httpclient-3.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-net-2.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/commons-pool-1.4.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/geronimo-j2ee-connector_1.5_spec-2.0.0.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/jettison-1.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/log4j-1.2.14.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/spring-aop-2.5.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/spring-beans-2.5.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/spring-context-2.5.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/spring-core-2.5.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/spring-jms-2.5.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/spring-oxm-tiger-1.5.8.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/spring-tx-2.5.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/wstx-asl-3.0.1.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/xbean-spring-3.6.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/xmlpull-1.1.3.4d_b4_min.jar:/u/wrzrid/activemq/apache-activemq-5.3.0/lo/xstream-1.3.1.jar: -Dactivemq.home=/u/wrzrid/activemq/apache-activemq-5.3.0 -Dactivemq.base=/u/wrzrid/activemq/apache-activemq-5.3.0 -Dinvokedviajava -Djava.class.path=/u/wrzrid/activemq/apache-activemq-5.3.0/bin/run.jar vfprintf _port_library -Xdump ACTIVEMQ_HOME: /u/wrzrid/activemq/apache-activemq-5.3.0 ACTIVEMQ_BASE: /u/wrzrid/activemq/apache-activemq-5.3.0 Loading message broker from: xbean:activemq.xml INFO | Refreshing org.apache.xbean.spring.context.resourcexmlapplicationcont...@654c654c: display name [org.apache.xbean.spring.context.resourcexmlapplicationcont...@654c654c]; startup date [Mon Nov 09 15:12:11 GMT+01:00 2009]; root of context hierarchy INFO | Loading XML bean definitions from class path resource [activemq.xml] INFO | Bean factory for application context [org.apache.xbean.spring.context.resourcexmlapplicationcont...@654c654c]: org.springframework.beans.factory.support.defaultlistablebeanfact...@352a352a INFO | Loading properties file from URL [file:/u/wrzrid/activemq/apache-activemq-5.3.0/conf/credentials.properties] INFO | Pre-instantiating singletons in org.springframework.beans.factory.support.defaultlistablebeanfact...@352a352a: defining beans [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,org.apache.activemq.xbean.XBeanBrokerService#0]; root of factory hierarchy INFO | Destroying singletons in org.springframework.beans.factory.support.defaultlistablebeanfact...@352a352a: defining beans [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,org.apache.activemq.xbean.XBeanBrokerService#0]; root of factory hierarchy ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: 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 class path resource [activemq.xml]: Cannot create inner bean 'policyEntry#bc20bc2' 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#bc20bc2' defined in class path resource [activemq.xml]: 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? java.lang.RuntimeException: Failed to execute start task. Reason: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: 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 class path resource [activemq.xml]: Cannot create inner bean 'policyEntry#bc20bc2' 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#bc20bc2' defined in class path resource [activemq.xml]: 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? at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:98) at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57) at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:129) at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57) at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.apache.activemq.console.Main.runTaskClass(Main.java:251) at org.apache.activemq.console.Main.main(Main.java:107) This is the activemq.xml <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:amq="http://activemq.apache.org/schema/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd"> <!-- Allows us to use system properties as variables in this configuration file --> <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="locations"> <value>file:${activemq.base}/conf/credentials.properties</value> </property> </bean> <!-- The <broker> element is used to configure the ActiveMQ broker. --> <broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.base}/data"> <!-- The managementContext is used to configure how ActiveMQ is exposed in JMX. By default, ActiveMQ uses the MBean server that is started by the JVM. For more information, see: http://activemq.apache.org/jmx.html --> <managementContext> <managementContext createConnector="false"/> </managementContext> <!-- Configure message persistence for the broker. The default persistence mechanism is the KahaDB store (identified by the kahaDB tag). For more information, see: http://activemq.apache.org/persistence.html --> <persistenceAdapter> <kahaDB directory="${activemq.base}/data/kahadb"/> </persistenceAdapter> <!-- For better performances use VM cursor and small memory limit. For more information, see: http://activemq.apache.org/message-cursors.html Also, if your producer is "hanging", it's probably due to producer flow control. For more information, see: http://activemq.apache.org/producer-flow-control.html --> <destinationPolicy> <policyMap> <policyEntries> <policyEntry topic=">" producerFlowControl="true" memoryLimit="1mb"> <pendingSubscriberPolicy> <vmCursor /> </pendingSubscriberPolicy> </policyEntry> <policyEntry queue=">" producerFlowControl="true" memoryLimit="1mb"> <!-- Use VM cursor for better latency For more information, see: http://activemq.apache.org/message-cursors.html <pendingQueuePolicy> <vmQueueCursor/> </pendingQueuePolicy> --> </policyEntry> </policyEntries> </policyMap> </destinationPolicy> <!-- The systemUsage controls the maximum amount of space the broker will use before slowing down producers. For more information, see: http://activemq.apache.org/producer-flow-control.html <systemUsage> <systemUsage> <memoryUsage> <memoryUsage limit="20 mb"/> </memoryUsage> <storeUsage> <storeUsage limit="1 gb" name="foo"/> </storeUsage> <tempUsage> <tempUsage limit="100 mb"/> </tempUsage> </systemUsage> </systemUsage> --> <!-- The transport connectors expose ActiveMQ over a given protocol to clients and other brokers. For more information, see: http://activemq.apache.org/configuring-transports.html --> <transportConnectors> <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/> </transportConnectors> </broker> <!-- Uncomment to enable Camel Take a look at activemq-camel.xml for more details <import resource="camel.xml"/> --> <!-- Enable web consoles, REST and Ajax APIs and demos Take a look at activemq-jetty.xml for more details <import resource="jetty.xml"/> --> </beans> best regards, Ewald -- View this message in context: http://old.nabble.com/Deploying-to-zOS-5.3.0-tp26267556p26267556.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.