[jira] [Updated] (AMQNET-450) NetTxTransaction replay is incorrect when using Failover Transport

2013-10-14 Thread Remo Gloor (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMQNET-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Remo Gloor updated AMQNET-450:
--

Attachment: TransactionState.cs.patch

> NetTxTransaction replay is incorrect when using Failover Transport
> --
>
> Key: AMQNET-450
> URL: https://issues.apache.org/jira/browse/AMQNET-450
> Project: ActiveMQ .Net
>  Issue Type: Bug
>  Components: ActiveMQ, NMS
>Affects Versions: 1.6.0
>Reporter: Remo Gloor
>Assignee: Jim Gomes
> Fix For: 1.6.1
>
> Attachments: TransactionState.cs.patch
>
>
> TransactionState.AddCommand must clone the operation because TransactionInfo 
> command instances are reused (e.g. in NetTxTransactionContext.Prepare()). 
> If they are not cloned then the list will contain the second command twice 
> and the no instance of the first command because the first command is changed 
> after added to the list by the reassignment of some values when it is reused. 
> This results in wrong replied messages on reconnects.
> Another solution is not to reuse any command instance in the whole code.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (AMQNET-450) NetTxTransaction replay is incorrect when using Failover Transport

2013-10-14 Thread Remo Gloor (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMQNET-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Remo Gloor updated AMQNET-450:
--

  Component/s: NMS
   ActiveMQ
Affects Version/s: 1.6.0
Fix Version/s: 1.6.1

> NetTxTransaction replay is incorrect when using Failover Transport
> --
>
> Key: AMQNET-450
> URL: https://issues.apache.org/jira/browse/AMQNET-450
> Project: ActiveMQ .Net
>  Issue Type: Bug
>  Components: ActiveMQ, NMS
>Affects Versions: 1.6.0
>Reporter: Remo Gloor
>Assignee: Jim Gomes
> Fix For: 1.6.1
>
> Attachments: TransactionState.cs.patch
>
>
> TransactionState.AddCommand must clone the operation because TransactionInfo 
> command instances are reused (e.g. in NetTxTransactionContext.Prepare()). 
> If they are not cloned then the list will contain the second command twice 
> and the no instance of the first command because the first command is changed 
> after added to the list by the reassignment of some values when it is reused. 
> This results in wrong replied messages on reconnects.
> Another solution is not to reuse any command instance in the whole code.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (AMQNET-450) NetTxTransaction replay is incorrect when using Failover Transport

2013-10-14 Thread Remo Gloor (JIRA)
Remo Gloor created AMQNET-450:
-

 Summary: NetTxTransaction replay is incorrect when using Failover 
Transport
 Key: AMQNET-450
 URL: https://issues.apache.org/jira/browse/AMQNET-450
 Project: ActiveMQ .Net
  Issue Type: Bug
Reporter: Remo Gloor
Assignee: Jim Gomes


TransactionState.AddCommand must clone the operation because TransactionInfo 
command instances are reused (e.g. in NetTxTransactionContext.Prepare()). 

If they are not cloned then the list will contain the second command twice and 
the no instance of the first command because the first command is changed after 
added to the list by the reassignment of some values when it is reused. This 
results in wrong replied messages on reconnects.

Another solution is not to reuse any command instance in the whole code.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


Build failed in Jenkins: ActiveMQ #1394

2013-10-14 Thread Apache Jenkins Server
See 

Changes:

[hiram] Expose a JMX attribute to show when the last leveldb replication log 
entry was recorded.

[gtully] https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g default

[gtully] https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g 
default so set expected value in test

[gtully] https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g 
default so set expected value in test

[gtully] https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g 
default so set expected value in test

[gtully] [maven-release-plugin] prepare release activemq-5.9.0

[gtully] [maven-release-plugin] prepare for next development iteration

--
[...truncated 2272 lines...]
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at 
org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
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:597)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:178)
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:597)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:130)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:67)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.xmlpull.v1.XmlPullParserException: unexpected type 
(position:END_DOCUMENT null@3:1 in java.io.InputStreamReader@31c9ff) 
at org.kxml2.io.KXmlParser.exception(Unknown Source)
at org.kxml2.io.KXmlParser.nextTag(Unknown Source)
at 
org.apache.felix.bundlerepository.impl.PullParser.parseRepository(PullParser.java:43)
at 
org.apache.felix.bundlerepository.impl.DataModelHelperImpl.repository(DataModelHelperImpl.java:147)
at 
org.apache.felix.bundlerepository.impl.DataModelHelperImpl.repository(DataModelHelperImpl.java:118)
at 
org.apache.felix.obrplugin.ObrUpdate.parseRepositoryXml(ObrUpdate.java:316)
... 34 more
[01:23:32] Oct 15, 2013 1:23:32 AM 
org.apache.maven.cli.event.ExecutionEventLogger projectSkipped
INFO: 
Oct 15, 2013 1:23:32 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectSkipped
INFO: 
Oct 15, 2013 1:23:32 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectSkipped
INFO: Skipping ActiveMQ :: Web Demo
Oct 15, 2013 1:23:32 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectSkipped
INFO: This project has been banned from the build due to previous failures.
Oct 15, 2013 1:23:32 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectSkipped
INFO: 
Oct 15, 2013 1:23:32 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectSkipped
INFO: 
Oct 15, 2013 1:23:32 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectSkipped
INFO: 
Oct 15, 2013 1:23:32 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectSkipped
INFO: Skipping ActiveMQ :: Web Console
Oct 15, 2013 1:23:32 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectSkipped
INFO: This project has been banned from the build due to previous failures.
Oct 15, 2013 1:23:32 AM org.apache.maven

Build failed in Jenkins: ActiveMQ » ActiveMQ :: MQTT Protocol #1394

2013-10-14 Thread Apache Jenkins Server
See 


Changes:

[gtully] [maven-release-plugin] prepare release activemq-5.9.0

[gtully] [maven-release-plugin] prepare for next development iteration

--
[01:02:13] Oct 15, 2013 1:02:20 AM 
org.apache.maven.cli.event.ExecutionEventLogger projectStarted
INFO: 
Oct 15, 2013 1:02:20 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: 
Oct 15, 2013 1:02:20 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: Building ActiveMQ :: MQTT Protocol 5.10-SNAPSHOT
Oct 15, 2013 1:02:20 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: 
Downloading: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/mqtt-client/mqtt-client/1.6/mqtt-client-1.6.pom
Downloaded: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/mqtt-client/mqtt-client/1.6/mqtt-client-1.6.pom
 (6 KB at 9.1 KB/sec)
Downloading: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/mqtt-client/mqtt-client-project/1.6/mqtt-client-project-1.6.pom
Downloaded: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/mqtt-client/mqtt-client-project/1.6/mqtt-client-project-1.6.pom
 (12 KB at 26.8 KB/sec)
Downloading: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/hawtdispatch/hawtdispatch-transport/1.18/hawtdispatch-transport-1.18.pom
Downloaded: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/hawtdispatch/hawtdispatch-transport/1.18/hawtdispatch-transport-1.18.pom
 (3 KB at 8.2 KB/sec)
Downloading: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/hawtdispatch/hawtdispatch-project/1.18/hawtdispatch-project-1.18.pom
Downloaded: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/hawtdispatch/hawtdispatch-project/1.18/hawtdispatch-project-1.18.pom
 (13 KB at 29.2 KB/sec)
Downloading: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/hawtdispatch/hawtdispatch/1.18/hawtdispatch-1.18.pom
Downloaded: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/hawtdispatch/hawtdispatch/1.18/hawtdispatch-1.18.pom
 (3 KB at 8.1 KB/sec)
Downloading: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/mqtt-client/mqtt-client/1.6/mqtt-client-1.6.jar
Downloading: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/hawtdispatch/hawtdispatch-transport/1.18/hawtdispatch-transport-1.18.jar
Downloading: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/hawtdispatch/hawtdispatch/1.18/hawtdispatch-1.18.jar
Downloaded: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/mqtt-client/mqtt-client/1.6/mqtt-client-1.6.jar
 (112 KB at 175.1 KB/sec)
Downloaded: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/hawtdispatch/hawtdispatch/1.18/hawtdispatch-1.18.jar
 (117 KB at 97.6 KB/sec)
Downloaded: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/hawtdispatch/hawtdispatch-transport/1.18/hawtdispatch-transport-1.18.jar
 (125 KB at 102.9 KB/sec)
Oct 15, 2013 1:02:24 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:02:24 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-clean-plugin:2.5:clean (default-clean) @ activemq-mqtt ---
[INFO] Deleting 

Oct 15, 2013 1:02:29 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:02:29 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-enforcer-plugin:1.0.1:enforce (default) @ activemq-mqtt ---
Oct 15, 2013 1:02:29 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:02:29 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-consolets-plugin:1.30:install (default) @ activemq-mqtt ---
Oct 15, 2013 1:02:29 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:02:29 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-bundle-plugin:2.3.7:cleanVersions (cleanVersions) @ 
activemq-mqtt ---
Oct 15, 2013 1:02:30 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:02:30 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- activemq-protobuf:1.1:compile (default) @ activemq-mqtt ---
[WARNING] No proto files found in directory: 

Oct 15, 2013 1:02:30 AM org.apache.maven.cli.event.ExecutionEv

Build failed in Jenkins: ActiveMQ » ActiveMQ :: LevelDB Store #1394

2013-10-14 Thread Apache Jenkins Server
See 


Changes:

[hiram] Expose a JMX attribute to show when the last leveldb replication log 
entry was recorded.

[gtully] [maven-release-plugin] prepare release activemq-5.9.0

[gtully] [maven-release-plugin] prepare for next development iteration

--
[01:10:47] Oct 15, 2013 1:10:52 AM 
org.apache.maven.cli.event.ExecutionEventLogger projectStarted
INFO: 
Oct 15, 2013 1:10:52 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: 
Oct 15, 2013 1:10:52 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: Building ActiveMQ :: LevelDB Store 5.10-SNAPSHOT
Oct 15, 2013 1:10:52 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: 
Downloading: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/hawtdispatch/hawtdispatch-scala/1.18/hawtdispatch-scala-1.18.pom
Downloaded: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/hawtdispatch/hawtdispatch-scala/1.18/hawtdispatch-scala-1.18.pom
 (7 KB at 7.8 KB/sec)
Downloading: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/hawtdispatch/hawtdispatch-scala/1.18/hawtdispatch-scala-1.18.jar
Downloaded: 
http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/hawtdispatch/hawtdispatch-scala/1.18/hawtdispatch-scala-1.18.jar
 (135 KB at 144.3 KB/sec)
Oct 15, 2013 1:10:57 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:10:57 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-clean-plugin:2.5:clean (default-clean) @ activemq-leveldb-store 
---
[INFO] Deleting 

Oct 15, 2013 1:10:58 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:10:58 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-enforcer-plugin:1.0.1:enforce (default) @ 
activemq-leveldb-store ---
Oct 15, 2013 1:11:00 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:11:00 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-consolets-plugin:1.30:install (default) @ 
activemq-leveldb-store ---
Oct 15, 2013 1:11:00 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:11:00 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-bundle-plugin:2.3.7:cleanVersions (cleanVersions) @ 
activemq-leveldb-store ---
Oct 15, 2013 1:11:00 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:11:00 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- hawtbuf-protoc:1.9:compile (default) @ activemq-leveldb-store ---
[INFO] Compiling: 

Oct 15, 2013 1:11:01 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:11:01 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-remote-resources-plugin:1.3:process (default) @ 
activemq-leveldb-store ---
Oct 15, 2013 1:11:01 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:11:01 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-resources-plugin:2.5:resources (default-resources) @ 
activemq-leveldb-store ---
[01:11:01] [debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
Oct 15, 2013 1:11:01 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:11:01 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- scala-maven-plugin:3.1.0:compile (default) @ activemq-leveldb-store 
---
[INFO] 
:-1:
 info: compiling
[INFO] 
:-1:
 info: compiling
[INFO] 
:-1:
 info: compiling
[INFO] Compiling 41 source files to 

 at 1381799462609
[INFO] prepare-compile in 0 s
[INFO] compile in 23 s
Oct 15, 2013 1:11:26 AM org.apache.maven.cli.event.Exe

Build failed in Jenkins: ActiveMQ » ActiveMQ :: STOMP Protocol #1394

2013-10-14 Thread Apache Jenkins Server
See 


Changes:

[gtully] [maven-release-plugin] prepare release activemq-5.9.0

[gtully] [maven-release-plugin] prepare for next development iteration

--
[00:14:42] Oct 15, 2013 12:14:49 AM 
org.apache.maven.cli.event.ExecutionEventLogger projectStarted
INFO: 
Oct 15, 2013 12:14:49 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: 
Oct 15, 2013 12:14:49 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: Building ActiveMQ :: STOMP Protocol 5.10-SNAPSHOT
Oct 15, 2013 12:14:49 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: 
Oct 15, 2013 12:14:49 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 12:14:49 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-clean-plugin:2.5:clean (default-clean) @ activemq-stomp ---
[INFO] Deleting 

Oct 15, 2013 12:14:49 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 12:14:49 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-enforcer-plugin:1.0.1:enforce (default) @ activemq-stomp ---
Oct 15, 2013 12:14:49 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 12:14:49 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-consolets-plugin:1.30:install (default) @ activemq-stomp ---
Oct 15, 2013 12:14:49 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 12:14:49 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-bundle-plugin:2.3.7:cleanVersions (cleanVersions) @ 
activemq-stomp ---
Oct 15, 2013 12:14:50 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 12:14:50 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-remote-resources-plugin:1.3:process (default) @ activemq-stomp 
---
Oct 15, 2013 12:14:50 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 12:14:50 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-resources-plugin:2.5:resources (default-resources) @ 
activemq-stomp ---
[00:14:50] [debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 14 resources
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
Oct 15, 2013 12:14:50 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 12:14:50 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
activemq-stomp ---
[INFO] Compiling 24 source files to 

Oct 15, 2013 12:14:50 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 12:14:50 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
activemq-stomp ---
[00:14:50] [debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] Copying 3 resources
Oct 15, 2013 12:14:50 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 12:14:50 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
activemq-stomp ---
[INFO] Compiling 30 source files to 

Oct 15, 2013 12:14:51 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 12:14:51 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-surefire-plugin:2.10:test (default-test) @ activemq-stomp ---
[INFO] Surefire report directory: 

[00:14:51] 
[00:14:51] ---
[00:14:51]  T E S T S
[00:14:51] ---
[00:14:51] 
[00:14:51] ---
[00:14:51]  T E S T S
[00:14:51] ---
[00:14:51] Running org.apache.activemq.transport.stomp.ConnectTest
[00:15:26] Tests run: 3, Failures: 0, Errors: 0, S

Build failed in Jenkins: ActiveMQ » ActiveMQ :: RA #1394

2013-10-14 Thread Apache Jenkins Server
See 


Changes:

[gtully] [maven-release-plugin] prepare release activemq-5.9.0

[gtully] [maven-release-plugin] prepare for next development iteration

--
[01:20:00] Oct 15, 2013 1:20:06 AM 
org.apache.maven.cli.event.ExecutionEventLogger projectStarted
INFO: 
Oct 15, 2013 1:20:06 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: 
Oct 15, 2013 1:20:06 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: Building ActiveMQ :: RA 5.10-SNAPSHOT
Oct 15, 2013 1:20:06 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: 
Oct 15, 2013 1:20:06 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:20:06 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-clean-plugin:2.5:clean (default-clean) @ activemq-ra ---
[INFO] Deleting 

Oct 15, 2013 1:20:07 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:20:07 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-enforcer-plugin:1.0.1:enforce (default) @ activemq-ra ---
Oct 15, 2013 1:20:07 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:20:07 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-consolets-plugin:1.30:install (default) @ activemq-ra ---
Oct 15, 2013 1:20:07 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:20:07 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-bundle-plugin:2.3.7:cleanVersions (cleanVersions) @ activemq-ra 
---
Oct 15, 2013 1:20:07 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:20:07 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-xbean-plugin:3.14:mapping (default) @ activemq-ra ---
[INFO] Generating META-INF properties file: 

 for namespace: http://activemq.apache.org/schema/ra
[INFO] Generating Spring 2.0 handler mapping: 

 for namespace: http://activemq.apache.org/schema/ra
[INFO] Generating Spring 2.0 schema mapping: 

 for namespace: http://activemq.apache.org/schema/ra
[INFO] Generating HTML documentation file: 

 for namespace: http://activemq.apache.org/schema/ra
[01:20:08] Warning, could not load class: 
org.apache.activemq.ra.ActiveMQConnectionRequestInfo: 
java.lang.ClassNotFoundException: 
org.apache.activemq.ra.ActiveMQConnectionRequestInfo
[01:20:08] Warning, could not load class: 
org.apache.activemq.ra.ActiveMQConnectionRequestInfo: 
java.lang.ClassNotFoundException: 
org.apache.activemq.ra.ActiveMQConnectionRequestInfo
[INFO] Generating XSD file: 

 for namespace: http://activemq.apache.org/schema/ra
[INFO] Generating WIKI documentation file: 

 for namespace: http://activemq.apache.org/schema/ra
[INFO] ...done.
Oct 15, 2013 1:20:08 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:20:08 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-remote-resources-plugin:1.3:process (default) @ activemq-ra ---
Oct 15, 2013 1:20:08 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:20:08 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-resources-plugin:2.5:resources (default-resources) @ 
activemq-ra ---
[01:20:08] [debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 6 resources
[INFO] Copying 3 resources
Oct 15, 2013 1:20:09 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 15, 2013 1:20:09 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-compiler-plugin:2.5.1:compile

[jira] [Created] (AMQ-4804) "Unsupported Websocket version" for mqtt at websocket

2013-10-14 Thread Ayhan Alkan (JIRA)
Ayhan Alkan created AMQ-4804:


 Summary: "Unsupported Websocket version" for mqtt at websocket
 Key: AMQ-4804
 URL: https://issues.apache.org/jira/browse/AMQ-4804
 Project: ActiveMQ
  Issue Type: Test
Affects Versions: 5.9.0
 Environment: java version "1.7.0_25"
Ubuntu Server 12.04
iPad iOS 5.1.1
Reporter: Ayhan Alkan


I have a web application that clients connect through websocket/mqtt protocol.  
On iPad Safari browser (iOS 5.1.1) I get the following error and the client can 
not connect.

2013-10-11 14:56:08,317 | WARN  | Unsupported Websocket version: 2147483647 | 
org.eclipse.jetty.websoc
ket.WebSocketFactory | qtp1832580949-25

Is ithere a way of supporting these client by setting something?




--
This message was sent by Atlassian JIRA
(v6.1#6144)


[VOTE] Apache ActiveMQ 5.9.0 - RC2

2013-10-14 Thread Gary Tully
Hi all,

I've cut a second release candidate for the 5.9.0 release.
This release has 251 bug fixes and improvements.

It also contains a couple of new features which are summarized here:
https://cwiki.apache.org/confluence/display/ACTIVEMQ/New+Features+in+5.9

Could you review the artifacts and vote?

The list of resolved issues is:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311210&version=12323932

You can get binary distributions here:
https://repository.apache.org/content/repositories/orgapacheactivemq-171/org/apache/activemq/apache-activemq/5.9.0/

Source archives are here:
https://repository.apache.org/content/repositories/orgapacheactivemq-171/org/apache/activemq/activemq-parent/5.9.0

Maven2 repository is at:
https://repository.apache.org/content/repositories/orgapacheactivemq-171/

Source tag:
https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=tag;h=refs/tags/activemq-5.9.0


Please vote to approve this release

[ ] +1 Release the binary as Apache ActiveMQ 5.9.0
[ ] -1 Veto the release (provide specific comments)

Here's my +1

-- 
http://redhat.com
http://blog.garytully.com


[jira] [Updated] (AMQ-4799) Starting AMQ standalone - ws connector url/port not logged

2013-10-14 Thread Gary Tully (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMQ-4799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Tully updated AMQ-4799:


Fix Version/s: (was: 5.10.0)
   5.9.0

> Starting AMQ standalone - ws connector url/port not logged
> --
>
> Key: AMQ-4799
> URL: https://issues.apache.org/jira/browse/AMQ-4799
> Project: ActiveMQ
>  Issue Type: Improvement
>  Components: Broker
>Reporter: Claus Ibsen
>Assignee: Claus Ibsen
>Priority: Minor
> Fix For: 5.9.0
>
>
> Hi
> When starting the broker in standalone mode, we have a number of
> transports out of the box.
> As you can see for openwire, stomp, and mqtt, we also log listening
> for connections at 
> But for WS we do not do that. It would probably be nice if we could do
> that as well, so people can see the urls / ports in use.
> is there a reason why ws doesn't do that?
>  INFO | Listening for connections at:
> tcp://davsclaus.air:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
>  INFO | Connector openwire started
>  INFO | Listening for connections at:
> amqp://davsclaus.air:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600
>  INFO | Connector amqp started
>  INFO | Listening for connections at:
> stomp://davsclaus.air:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600
>  INFO | Connector stomp started
>  INFO | Listening for connections at:
> mqtt://davsclaus.air:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600
>  INFO | Connector mqtt started
>  INFO | Connector ws started



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (AMQ-4801) ActiveMQ web demo - chat example - Logs jetty IDLE ERROR 1st time

2013-10-14 Thread Gary Tully (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMQ-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Tully updated AMQ-4801:


Fix Version/s: (was: 5.10.0)
   5.9.0

> ActiveMQ web demo - chat example - Logs jetty IDLE ERROR 1st time
> -
>
> Key: AMQ-4801
> URL: https://issues.apache.org/jira/browse/AMQ-4801
> Project: ActiveMQ
>  Issue Type: Improvement
>Affects Versions: 5.9.0
>Reporter: Claus Ibsen
>Assignee: Claus Ibsen
> Fix For: 5.9.0
>
>
> When running the chat example in the web demos, then the first time you login 
> you get this error in the console
> {code}
>  WARN | Broker localhost not started so using amq-broker instead
>  WARN | Broker localhost not started so using amq-broker instead
> ERROR | Error receiving message java.lang.IllegalStateException: IDLE,initial
> java.lang.IllegalStateException: IDLE,initial
>   at 
> org.eclipse.jetty.server.AsyncContinuation.dispatch(AsyncContinuation.java:408)
>   at 
> org.eclipse.jetty.server.AsyncContinuation.resume(AsyncContinuation.java:815)
>   at 
> org.apache.activemq.web.AjaxListener.onMessageAvailable(AjaxListener.java:72)
>   at 
> org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1383)
>   at 
> org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
>   at 
> org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
>   at 
> org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:129)
>   at 
> org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:47)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>   at java.lang.Thread.run(Thread.java:724)
> {code}
> The web demos can be started with
> bin/activemq console xbean:examples/conf/activemq-demo.xml



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (AMQ-4803) Examples - Update instructions due recent moving of files to new directory

2013-10-14 Thread Gary Tully (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMQ-4803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Tully updated AMQ-4803:


Fix Version/s: (was: 5.10.0)
   5.9.0

> Examples - Update instructions due recent moving of files to new directory
> --
>
> Key: AMQ-4803
> URL: https://issues.apache.org/jira/browse/AMQ-4803
> Project: ActiveMQ
>  Issue Type: Task
>Affects Versions: 5.9.0
>Reporter: Claus Ibsen
>Assignee: Claus Ibsen
>Priority: Trivial
> Fix For: 5.9.0
>
>
> ./activemq-demo.xml:To run ActiveMQ with this configuration add 
> xbean:conf/activemq-demo.xml to your command
> ./activemq-demo.xml:e.g. $ bin/activemq console 
> xbean:conf/activemq-demo.xml
> ./activemq-dynamic-network-broker1.xml:$ bin/activemq console 
> xbean:conf/activemq-dynamic-network-broker1.xml
> ./activemq-dynamic-network-broker1.xml:$ bin/activemq console 
> xbean:conf/activemq-dynamic-network-broker2.xml
> ./activemq-dynamic-network-broker2.xml:$ bin/activemq console 
> xbean:conf/activemq-dynamic-network-broker1.xml
> ./activemq-dynamic-network-broker2.xml:$ bin/activemq console 
> xbean:conf/activemq-dynamic-network-broker2.xml
> ./activemq-jdbc-performance.xml:To run ActiveMQ with this configuration 
> add xbean:conf/activemq-jdbc.xml to your command
> ./activemq-jdbc-performance.xml:e.g. $ bin/activemq console 
> xbean:conf/activemq-jdbc.xml
> ./activemq-jdbc.xml:To run ActiveMQ with this configuration add 
> xbean:conf/activemq-jdbc.xml to your command
> ./activemq-jdbc.xml:e.g. $ bin/activemq console 
> xbean:conf/activemq-jdbc.xml
> ./activemq-scalability.xml:To run ActiveMQ with this configuration add 
> xbean:conf/activemq-scalability.xml to your command
> ./activemq-scalability.xml:e.g. $ bin/activemq console 
> xbean:conf/activemq-scalability.xml
> ./activemq-security.xml:To run ActiveMQ with this configuration add 
> xbean:conf/activemq-security.xml to your command
> ./activemq-security.xml:e.g. $ bin/activemq console 
> xbean:conf/activemq-security.xml
> ./activemq-static-network-broker1.xml:$ bin/activemq console 
> xbean:conf/activemq-static-network-broker1.xml
> ./activemq-static-network-broker1.xml:$ bin/activemq console 
> xbean:conf/activemq-static-network-broker2.xml
> ./activemq-static-network-broker2.xml:$ bin/activemq console 
> xbean:conf/activemq-static-network-broker1.xml
> ./activemq-static-network-broker2.xml:$ bin/activemq console 
> xbean:conf/activemq-static-network-broker2.xml
> ./activemq-stomp.xml:To run ActiveMQ with this configuration add 
> xbean:conf/activemq-stomp.xml to your command
> ./activemq-stomp.xml:e.g. $ bin/activemq console 
> xbean:conf/activemq-stomp.xml
> ./activemq-throughput.xml:To run ActiveMQ with this configuration add 
> xbean:conf/activemq-throughput.xml to your command
> ./activemq-throughput.xml:e.g. $ bin/activemq console 
> xbean:conf/activemq-throughput.xml



--
This message was sent by Atlassian JIRA
(v6.1#6144)


Re: [VOTE] Apache ActiveMQ 5.9.0

2013-10-14 Thread Gary Tully
changing my vote to -1 and cancelling this vote due to the issue with
the activemq-demo config.
Fix is already on trunk. Will cut a new RC.

On 11 October 2013 16:17, Gary Tully  wrote:
> Hi all,
>
> I've just cut a release candidate for the 5.9.0 release. This release has
> 248 bug fixes and improvements.
>
> It also contains a couple of new features which are summarized here:
> https://cwiki.apache.org/confluence/display/ACTIVEMQ/New+Features+in+5.9
>
> Could you review the artifacts and vote?
>
> The list of resolved issues is:
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311210&version=12323932
>
> You can get binary distributions here:
> https://repository.apache.org/content/repositories/orgapacheactivemq-163/org/apache/activemq/apache-activemq/5.9.0/
>
> Source archives are here:
> https://repository.apache.org/content/repositories/orgapacheactivemq-163/org/apache/activemq/activemq-parent/5.9.0
>
> Maven2 repository is at:
> https://repository.apache.org/content/repositories/orgapacheactivemq-163/
>
> Source tag:
> https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=commit;h=b276006911583ea62b4a24c4cc5df9697febe006
>
>
> Please vote to approve this release
>
> [ ] +1 Release the binary as Apache ActiveMQ 5.9.0
> [ ] -1 Veto the release (provide specific comments)
>
> Here's my +1
>
> --
> http://redhat.com
> http://blog.garytully.com



-- 
http://redhat.com
http://blog.garytully.com


Jenkins build became unstable: ActiveMQ » ActiveMQ :: LevelDB Store #1393

2013-10-14 Thread Apache Jenkins Server
See 




[jira] [Resolved] (AMQCPP-519) Add framework for DiscoveryTransport and underlying agents.

2013-10-14 Thread Timothy Bish (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMQCPP-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Bish resolved AMQCPP-519.
-

Resolution: Fixed

Discovery Transport added to trunk, no agents currently implemented. 

> Add framework for DiscoveryTransport and underlying agents.
> ---
>
> Key: AMQCPP-519
> URL: https://issues.apache.org/jira/browse/AMQCPP-519
> Project: ActiveMQ C++ Client
>  Issue Type: New Feature
>  Components: Transports
>Affects Versions: 3.8.1
>Reporter: Timothy Bish
>Assignee: Timothy Bish
> Fix For: 3.9.0
>
>
> Future versions might want to add in Discovery Agents to allow for automatic 
> discovery of running Brokers via multicast or http etc.  Before that can 
> happen we need the framework around discovery transports.  The basic 
> DiscoveryTransport is straight forward enough to add first and implement 
> using the FailoverTransport and its ability to have new URIs added and 
> removed.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)


Jenkins build is back to normal : ActiveMQ » ActiveMQ :: AMQP #1393

2013-10-14 Thread Apache Jenkins Server
See 




Re: {VOTE] Release Apache.NMS.ActiveMQ 1.6.1

2013-10-14 Thread Jim Gomes
All of the 1.6.1 unit tests are failing for me.  I run the 1.6.0 unit
tests, and they all succeed.  I am running with ActiveMQ 5.9-SNAPSHOT
broker.  Perhaps that is the source of the problem.  I'll update to the
latest 5.9 SNAPSHOT and try again.


On Mon, Oct 14, 2013 at 12:33 PM, Jim Gomes  wrote:

> Sure. I will try and dig in and find out what is happening.
>
>
> On Mon, Oct 14, 2013 at 12:27 PM, Timothy Bish wrote:
>
>> On 10/14/2013 03:23 PM, Jim Gomes wrote:
>>
>>> -1
>>>
>>> I am still having serious failures with the latest code that was checked
>>> in. I was waiting for it to settle-down before trying to figure out what
>>> is
>>> wrong.  All of my apps don't work with the latest 1.6.1 code.  I switch
>>> back to 1.6.0, and everything works perfectly.  The break came with the
>>> check-in on October 2.
>>>
>>>
>>> On Mon, Oct 14, 2013 at 11:22 AM, Timothy Bish 
>>> wrote:
>>>
>>>  Hello

 This is a call for a vote on the release of Apache.NMS.ActiveMQ v1.6.1

 New in this release:

 * Improved Discovery Transport and Agent API
 * Added new HTTP based discovery agent.
 * Minor bug fixes and stability improvements.

 The binaries and source bundles for the Release Candidate can be found
 here:
 http://people.apache.org/~tabish/nms-1.6.0
 
 >


 The Wiki Page for this release is here:
 http://activemq.apache.org/nms/apachenmsactivemq-v161.html
 
 >


 The list of issues resolved is here:
 https://issues.apache.org/jira/secure/ReleaseNote.jspa?
 projectId=12311201&version=12324792
 >


 Please cast your votes (the vote will be open for 72 hrs):

 [ ] +1 Release the source as Apache NMS.ActiveMQ v1.6.1
 [ ] -1 Veto the release (provide specific comments)

 Here's my +1

 Regards

 --
 Tim Bish
 Sr Software Engineer | RedHat Inc.
 tim.b...@redhat.com | www.fusesource.com | www.redhat.com
 skype: tabish121 | twitter: @tabish121
 blog: http://timbish.blogspot.com/


  The unit tests are passing and I don't see any open issues, can you
>> start to provide some issues or failing tests?
>>
>>
>> --
>> Tim Bish
>> Sr Software Engineer | RedHat Inc.
>> tim.b...@redhat.com | www.fusesource.com | www.redhat.com
>> skype: tabish121 | twitter: @tabish121
>> blog: http://timbish.blogspot.com/
>>
>>
>


[jira] [Created] (AMQCPP-519) Add framework for DiscoveryTransport and underlying agents.

2013-10-14 Thread Timothy Bish (JIRA)
Timothy Bish created AMQCPP-519:
---

 Summary: Add framework for DiscoveryTransport and underlying 
agents.
 Key: AMQCPP-519
 URL: https://issues.apache.org/jira/browse/AMQCPP-519
 Project: ActiveMQ C++ Client
  Issue Type: New Feature
  Components: Transports
Affects Versions: 3.8.1
Reporter: Timothy Bish
Assignee: Timothy Bish
 Fix For: 3.9.0


Future versions might want to add in Discovery Agents to allow for automatic 
discovery of running Brokers via multicast or http etc.  Before that can happen 
we need the framework around discovery transports.  The basic 
DiscoveryTransport is straight forward enough to add first and implement using 
the FailoverTransport and its ability to have new URIs added and removed.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)


Re: {VOTE] Release Apache.NMS.ActiveMQ 1.6.1

2013-10-14 Thread Jim Gomes
Sure. I will try and dig in and find out what is happening.


On Mon, Oct 14, 2013 at 12:27 PM, Timothy Bish  wrote:

> On 10/14/2013 03:23 PM, Jim Gomes wrote:
>
>> -1
>>
>> I am still having serious failures with the latest code that was checked
>> in. I was waiting for it to settle-down before trying to figure out what
>> is
>> wrong.  All of my apps don't work with the latest 1.6.1 code.  I switch
>> back to 1.6.0, and everything works perfectly.  The break came with the
>> check-in on October 2.
>>
>>
>> On Mon, Oct 14, 2013 at 11:22 AM, Timothy Bish 
>> wrote:
>>
>>  Hello
>>>
>>> This is a call for a vote on the release of Apache.NMS.ActiveMQ v1.6.1
>>>
>>> New in this release:
>>>
>>> * Improved Discovery Transport and Agent API
>>> * Added new HTTP based discovery agent.
>>> * Minor bug fixes and stability improvements.
>>>
>>> The binaries and source bundles for the Release Candidate can be found
>>> here:
>>> http://people.apache.org/~tabish/nms-1.6.0
>>> 
>>> >
>>>
>>>
>>> The Wiki Page for this release is here:
>>> http://activemq.apache.org/nms/apachenmsactivemq-v161.html
>>> 
>>> >
>>>
>>>
>>> The list of issues resolved is here:
>>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
>>> projectId=12311201&version=12324792>> apache.org/jira/secure/**ReleaseNote.jspa?projectId=**
>>> 12311201&version=12324792
>>> >
>>>
>>>
>>> Please cast your votes (the vote will be open for 72 hrs):
>>>
>>> [ ] +1 Release the source as Apache NMS.ActiveMQ v1.6.1
>>> [ ] -1 Veto the release (provide specific comments)
>>>
>>> Here's my +1
>>>
>>> Regards
>>>
>>> --
>>> Tim Bish
>>> Sr Software Engineer | RedHat Inc.
>>> tim.b...@redhat.com | www.fusesource.com | www.redhat.com
>>> skype: tabish121 | twitter: @tabish121
>>> blog: http://timbish.blogspot.com/
>>>
>>>
>>>  The unit tests are passing and I don't see any open issues, can you
> start to provide some issues or failing tests?
>
>
> --
> Tim Bish
> Sr Software Engineer | RedHat Inc.
> tim.b...@redhat.com | www.fusesource.com | www.redhat.com
> skype: tabish121 | twitter: @tabish121
> blog: http://timbish.blogspot.com/
>
>


Re: {VOTE] Release Apache.NMS.ActiveMQ 1.6.1

2013-10-14 Thread Timothy Bish

On 10/14/2013 03:23 PM, Jim Gomes wrote:

-1

I am still having serious failures with the latest code that was checked
in. I was waiting for it to settle-down before trying to figure out what is
wrong.  All of my apps don't work with the latest 1.6.1 code.  I switch
back to 1.6.0, and everything works perfectly.  The break came with the
check-in on October 2.


On Mon, Oct 14, 2013 at 11:22 AM, Timothy Bish  wrote:


Hello

This is a call for a vote on the release of Apache.NMS.ActiveMQ v1.6.1

New in this release:

* Improved Discovery Transport and Agent API
* Added new HTTP based discovery agent.
* Minor bug fixes and stability improvements.

The binaries and source bundles for the Release Candidate can be found
here:
http://people.apache.org/~**tabish/nms-1.6.0

The Wiki Page for this release is here:
http://activemq.apache.org/**nms/apachenmsactivemq-v161.**html

The list of issues resolved is here:
https://issues.apache.org/**jira/secure/ReleaseNote.jspa?**
projectId=12311201&version=**12324792

Please cast your votes (the vote will be open for 72 hrs):

[ ] +1 Release the source as Apache NMS.ActiveMQ v1.6.1
[ ] -1 Veto the release (provide specific comments)

Here's my +1

Regards

--
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.b...@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


The unit tests are passing and I don't see any open issues, can you 
start to provide some issues or failing tests?


--
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.b...@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/



Re: {VOTE] Release Apache.NMS.ActiveMQ 1.6.1

2013-10-14 Thread Jim Gomes
-1

I am still having serious failures with the latest code that was checked
in. I was waiting for it to settle-down before trying to figure out what is
wrong.  All of my apps don't work with the latest 1.6.1 code.  I switch
back to 1.6.0, and everything works perfectly.  The break came with the
check-in on October 2.


On Mon, Oct 14, 2013 at 11:22 AM, Timothy Bish  wrote:

> Hello
>
> This is a call for a vote on the release of Apache.NMS.ActiveMQ v1.6.1
>
> New in this release:
>
> * Improved Discovery Transport and Agent API
> * Added new HTTP based discovery agent.
> * Minor bug fixes and stability improvements.
>
> The binaries and source bundles for the Release Candidate can be found
> here:
> http://people.apache.org/~**tabish/nms-1.6.0
>
> The Wiki Page for this release is here:
> http://activemq.apache.org/**nms/apachenmsactivemq-v161.**html
>
> The list of issues resolved is here:
> https://issues.apache.org/**jira/secure/ReleaseNote.jspa?**
> projectId=12311201&version=**12324792
>
> Please cast your votes (the vote will be open for 72 hrs):
>
> [ ] +1 Release the source as Apache NMS.ActiveMQ v1.6.1
> [ ] -1 Veto the release (provide specific comments)
>
> Here's my +1
>
> Regards
>
> --
> Tim Bish
> Sr Software Engineer | RedHat Inc.
> tim.b...@redhat.com | www.fusesource.com | www.redhat.com
> skype: tabish121 | twitter: @tabish121
> blog: http://timbish.blogspot.com/
>
>


{VOTE] Release Apache.NMS.ActiveMQ 1.6.1

2013-10-14 Thread Timothy Bish

Hello

This is a call for a vote on the release of Apache.NMS.ActiveMQ v1.6.1

New in this release:

* Improved Discovery Transport and Agent API
* Added new HTTP based discovery agent.
* Minor bug fixes and stability improvements.

The binaries and source bundles for the Release Candidate can be found 
here:

http://people.apache.org/~tabish/nms-1.6.0

The Wiki Page for this release is here:
http://activemq.apache.org/nms/apachenmsactivemq-v161.html

The list of issues resolved is here:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311201&version=12324792

Please cast your votes (the vote will be open for 72 hrs):

[ ] +1 Release the source as Apache NMS.ActiveMQ v1.6.1
[ ] -1 Veto the release (provide specific comments)

Here's my +1

Regards

--
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.b...@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/



[jira] [Commented] (AMQ-4802) ActiveMQInputStream does not work for big content

2013-10-14 Thread Marc Leineweber (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-4802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794280#comment-13794280
 ] 

Marc Leineweber commented on AMQ-4802:
--

Hello Timothy,
I used the standard ActiveMQ 5.8.0 installation with the default configuration 
on my Mac OS 10.6.8 computer.

Regards,
Marc

> ActiveMQInputStream does not work for big content
> -
>
> Key: AMQ-4802
> URL: https://issues.apache.org/jira/browse/AMQ-4802
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: JMS client
>Affects Versions: 5.8.0
> Environment: Mac OS 10.6.8
>Reporter: Marc Leineweber
>
> Sending a file with size 4.6 MB with ActiveMQOutputStream works and results 
> in 71 messages on the ActiveMQ broker.
> Trying to receive this file / these messages using an ActiveMQInputStream 
> fails - after a while (720896 bytes received so far) inputStream.read(buffer) 
> never answers (it waits in ...). If inputStream is created with a timeout, I 
> get a ActiveMQInputStream$ReadTimeoutEcxeption. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (AMQ-4759) Upgrade to xstream 1.4.5

2013-10-14 Thread Timothy Bish (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-4759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794193#comment-13794193
 ] 

Timothy Bish commented on AMQ-4759:
---

We can fix this older issue with this new version of XStream, just need to tell 
it to ignore the unknown fields.

> Upgrade to xstream 1.4.5
> 
>
> Key: AMQ-4759
> URL: https://issues.apache.org/jira/browse/AMQ-4759
> Project: ActiveMQ
>  Issue Type: Task
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Minor
> Fix For: 5.10.0
>
> Attachments: AMQ-4759.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (AMQ-4802) ActiveMQInputStream does not work for big content

2013-10-14 Thread Timothy Bish (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-4802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794186#comment-13794186
 ] 

Timothy Bish commented on AMQ-4802:
---

Have a go at creating a unit test that captures your broker configuration and 
incorporates these test clients.  Could be you just are exceeding memory limits 
on the broker or some such, can't tell from what you've provided.  

> ActiveMQInputStream does not work for big content
> -
>
> Key: AMQ-4802
> URL: https://issues.apache.org/jira/browse/AMQ-4802
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: JMS client
>Affects Versions: 5.8.0
> Environment: Mac OS 10.6.8
>Reporter: Marc Leineweber
>
> Sending a file with size 4.6 MB with ActiveMQOutputStream works and results 
> in 71 messages on the ActiveMQ broker.
> Trying to receive this file / these messages using an ActiveMQInputStream 
> fails - after a while (720896 bytes received so far) inputStream.read(buffer) 
> never answers (it waits in ...). If inputStream is created with a timeout, I 
> get a ActiveMQInputStream$ReadTimeoutEcxeption. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (AMQ-4802) ActiveMQInputStream does not work for big content

2013-10-14 Thread Marc Leineweber (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-4802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794176#comment-13794176
 ] 

Marc Leineweber commented on AMQ-4802:
--

Hello Timothy,

my test case consists of two classes - one producer and one comsumer. My real 
implementation reads input from a file, but even with writing 0-bytes to the 
OutputStream, the InputFile reading fails. I write 64 MB (64*1024*1024 bytes). 
See my source code below.

Thanks in advance,
Marc

{code:title=The Consumer|borderStyle=solid}
package test;

import java.io.BufferedOutputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.jms.Connection;
import javax.jms.JMSException;
import javax.jms.Queue;
import javax.jms.Session;
import javax.naming.NamingException;
import org.apache.activemq.ActiveMQConnection;
import org.apache.activemq.ActiveMQConnectionFactory;

/**
 * Test class: test comsumer for ActiveMQInputStream.
 */
public class AMQStreamConsumer {

private static final Logger logger = 
Logger.getLogger(AMQStreamConsumer.class.getName());
public static final String outFilepath = "MyTestFile";

/**
 * @param args the command line arguments
 */
public static void main(String[] args) throws IOException {
try {
readInputStream("AMQStreamTest");
System.exit(0);
} catch (JMSException ex) {

Logger.getLogger(AMQStreamConsumer.class.getName()).log(Level.SEVERE, null, ex);
} catch (NamingException ex) {

Logger.getLogger(AMQStreamConsumer.class.getName()).log(Level.SEVERE, null, ex);
}
}


/**
 * Reads the inputStream from the given queue.
 * 
 * @param aStreamQueueName 
 * @throws JMSException
 * @throws NamingException 
 */
private static void readInputStream(String aStreamQueueName) throws 
JMSException, NamingException, FileNotFoundException, IOException {
ActiveMQConnectionFactory connectionFactory = new 
ActiveMQConnectionFactory("guest", "guest", "tcp://localhost:61616");
Connection connection = connectionFactory.createConnection();
connection.start();
Session session = connection.createSession(false, 
Session.AUTO_ACKNOWLEDGE); // CLIENT_ACKNOWLEDGE makes no difference
String exclusiveQueueName = aStreamQueueName; //  + 
"?consumer.exclusive=true"; // use the queue exclusively makes no difference
byte[] buf = new byte[1024];
OutputStream fileOutputStream = null;
InputStream queueInputStream = null;
try {
fileOutputStream = new BufferedOutputStream(new 
FileOutputStream(outFilepath));
Queue destination = 
session.createQueue(exclusiveQueueName);
queueInputStream = 
((ActiveMQConnection)connection).createInputStream(destination); 
long sumSize = 0;
int counter = 0;
for (int readCount = queueInputStream.read(buf); 
readCount != -1; readCount = queueInputStream.read(buf)) {
sumSize += readCount;
counter++;
logger.log(Level.INFO, "read [{0}] from input 
stream (bytes so far {1})", new Object[] {counter, sumSize});
fileOutputStream.write(buf, 0, readCount);
}
} finally {
if (fileOutputStream != null) {
fileOutputStream.close();
}
if (queueInputStream != null) {
queueInputStream.close();
}
}
session.close();
connection.close();
}
}
{code}
{code:title=The Producer|borderStyle=solid}

package test;

import java.io.IOException;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.jms.Connection;
import javax.jms.DeliveryMode;
import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.Session;
import javax.naming.NamingException;
import org.apache.activemq.ActiveMQConnection;
import org.apache.activemq.ActiveMQConnectionFactory;

/**
 * Test class: test producer for ActiveMQOutputStream.
 */
public class AMQStreamProducer {

private static final Logger logger = 
Logger.getLogger(AMQStreamProducer.class.getName());

/**
 * @param args the command lin

Re: [VOTE] Apache ActiveMQ 5.9.0

2013-10-14 Thread Hiram Chirino
Yep, I ran into some of these myself.  I think it's worth re-cutting
the RC to pickup those fixes.

On Mon, Oct 14, 2013 at 5:25 AM, Claus Ibsen  wrote:
> Ad 2)
> Works on trunk with
>
> /opt/apache-activemq-5.10-SNAPSHOT$ bin/activemq console
> xbean:examples/conf/activemq-demo.xml
>
>
>
> On Mon, Oct 14, 2013 at 9:53 AM, Claus Ibsen  wrote:
>> Hi
>>
>> 1)
>> I ran all unit tests of camel-jms with 5.9.0 and the first time one test 
>> failed
>>
>> Failed tests:
>>   
>> TwoConsumerOnSameQueueTest.testStopAndStartOneRoute:39->sendTwoMessagesWhichShouldReceivedOnBothEndpointsAndAssert:91->CamelTestSupport.assertMockEndpointsSatisfied:675
>> mock://a Received message count. Expected: <1> but was: <0>
>>
>> Tests run: 431, Failures: 1, Errors: 0, Skipped: 6
>>
>>
>> I re-ran the tests again
>>
>>   
>> TwoConsumerOnSameQueueTest.testRemoveOneRoute:66->sendTwoMessagesWhichShouldReceivedOnBothEndpointsAndAssert:91->CamelTestSupport.assertMockEndpointsSatisfied:675
>> mock://a Received message count. Expected: <1> but was: <0>
>>
>> Tests run: 431, Failures: 1, Errors: 0, Skipped: 6
>>
>>
>>
>> 2)
>> You cannot run the examples out of the box, as the files was moved
>> last minute. So now they are located in examples/conf instead of conf.
>>
>> So if you run:
>>
>> davsclaus:/opt/apache-activemq-5.9.0$ bin/activemq console
>> xbean:examples/conf/activemq-demo.xml
>>
>> You get this error:
>>
>> RROR | Failed to load: file
>> [/opt/apache-activemq-5.9.0/examples/conf/activemq-demo.xml], reason:
>> IOException parsing XML document from file
>> [/opt/apache-activemq-5.9.0/examples/conf/camel.xml]; nested exception
>> is java.io.FileNotFoundException: examples/conf/camel.xml (No such
>> file or directory)
>> org.springframework.beans.factory.BeanDefinitionStoreException:
>> IOException parsing XML document from file
>> [/opt/apache-activemq-5.9.0/examples/conf/camel.xml]; nested exception
>> is java.io.FileNotFoundException: examples/conf/camel.xml (No such
>> file or directory)
>> at 
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
>>
>> The problem is that camel.xml was not moved from conf to
>> examples/conf. After moving that it works fine.
>>
>>
>> 3)
>> I noticed this little error being logged in the console on one of the demos
>> https://issues.apache.org/jira/browse/AMQ-4801
>>
>>
>> 4)
>> It would be good if anyone with a Windows box, gave this 5.9 release
>> candidate a test spin. For example just to be sure it can startup in
>> standalone mode etc.
>>
>> Tim you have a windows box, could you give it a little test spin?
>>
>> On Fri, Oct 11, 2013 at 5:17 PM, Gary Tully  wrote:
>>> Hi all,
>>>
>>> I've just cut a release candidate for the 5.9.0 release. This release has
>>> 248 bug fixes and improvements.
>>>
>>> It also contains a couple of new features which are summarized here:
>>> https://cwiki.apache.org/confluence/display/ACTIVEMQ/New+Features+in+5.9
>>>
>>> Could you review the artifacts and vote?
>>>
>>> The list of resolved issues is:
>>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311210&version=12323932
>>>
>>> You can get binary distributions here:
>>> https://repository.apache.org/content/repositories/orgapacheactivemq-163/org/apache/activemq/apache-activemq/5.9.0/
>>>
>>> Source archives are here:
>>> https://repository.apache.org/content/repositories/orgapacheactivemq-163/org/apache/activemq/activemq-parent/5.9.0
>>>
>>> Maven2 repository is at:
>>> https://repository.apache.org/content/repositories/orgapacheactivemq-163/
>>>
>>> Source tag:
>>> https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=commit;h=b276006911583ea62b4a24c4cc5df9697febe006
>>>
>>>
>>> Please vote to approve this release
>>>
>>> [ ] +1 Release the binary as Apache ActiveMQ 5.9.0
>>> [ ] -1 Veto the release (provide specific comments)
>>>
>>> Here's my +1
>>>
>>> --
>>> http://redhat.com
>>> http://blog.garytully.com
>>
>>
>>
>> --
>> Claus Ibsen
>> -
>> Red Hat, Inc.
>> Email: cib...@redhat.com
>> Twitter: davsclaus
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>
>
>
> --
> Claus Ibsen
> -
> Red Hat, Inc.
> Email: cib...@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



-- 
Hiram Chirino

Engineering | Red Hat, Inc.

hchir...@redhat.com | fusesource.com | redhat.com

skype: hiramchirino | twitter: @hiramchirino

blog: Hiram Chirino's Bit Mojo


[jira] [Commented] (AMQ-4802) ActiveMQInputStream does not work for big content

2013-10-14 Thread Timothy Bish (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-4802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794121#comment-13794121
 ] 

Timothy Bish commented on AMQ-4802:
---

Need provide some additional information preferably a test case that 
demonstrates the problem.  

> ActiveMQInputStream does not work for big content
> -
>
> Key: AMQ-4802
> URL: https://issues.apache.org/jira/browse/AMQ-4802
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: JMS client
>Affects Versions: 5.8.0
> Environment: Mac OS 10.6.8
>Reporter: Marc Leineweber
>
> Sending a file with size 4.6 MB with ActiveMQOutputStream works and results 
> in 71 messages on the ActiveMQ broker.
> Trying to receive this file / these messages using an ActiveMQInputStream 
> fails - after a while (720896 bytes received so far) inputStream.read(buffer) 
> never answers (it waits in ...). If inputStream is created with a timeout, I 
> get a ActiveMQInputStream$ReadTimeoutEcxeption. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (AMQ-4801) ActiveMQ web demo - chat example - Logs jetty IDLE ERROR 1st time

2013-10-14 Thread Claus Ibsen (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMQ-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved AMQ-4801.
--

Resolution: Fixed
  Assignee: Claus Ibsen

> ActiveMQ web demo - chat example - Logs jetty IDLE ERROR 1st time
> -
>
> Key: AMQ-4801
> URL: https://issues.apache.org/jira/browse/AMQ-4801
> Project: ActiveMQ
>  Issue Type: Improvement
>Affects Versions: 5.9.0
>Reporter: Claus Ibsen
>Assignee: Claus Ibsen
> Fix For: 5.10.0
>
>
> When running the chat example in the web demos, then the first time you login 
> you get this error in the console
> {code}
>  WARN | Broker localhost not started so using amq-broker instead
>  WARN | Broker localhost not started so using amq-broker instead
> ERROR | Error receiving message java.lang.IllegalStateException: IDLE,initial
> java.lang.IllegalStateException: IDLE,initial
>   at 
> org.eclipse.jetty.server.AsyncContinuation.dispatch(AsyncContinuation.java:408)
>   at 
> org.eclipse.jetty.server.AsyncContinuation.resume(AsyncContinuation.java:815)
>   at 
> org.apache.activemq.web.AjaxListener.onMessageAvailable(AjaxListener.java:72)
>   at 
> org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1383)
>   at 
> org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
>   at 
> org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
>   at 
> org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:129)
>   at 
> org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:47)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>   at java.lang.Thread.run(Thread.java:724)
> {code}
> The web demos can be started with
> bin/activemq console xbean:examples/conf/activemq-demo.xml



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (AMQ-4803) Examples - Update instructions due recent moving of files to new directory

2013-10-14 Thread Claus Ibsen (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMQ-4803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved AMQ-4803.
--

Resolution: Fixed

> Examples - Update instructions due recent moving of files to new directory
> --
>
> Key: AMQ-4803
> URL: https://issues.apache.org/jira/browse/AMQ-4803
> Project: ActiveMQ
>  Issue Type: Task
>Affects Versions: 5.9.0
>Reporter: Claus Ibsen
>Assignee: Claus Ibsen
>Priority: Trivial
> Fix For: 5.10.0
>
>
> ./activemq-demo.xml:To run ActiveMQ with this configuration add 
> xbean:conf/activemq-demo.xml to your command
> ./activemq-demo.xml:e.g. $ bin/activemq console 
> xbean:conf/activemq-demo.xml
> ./activemq-dynamic-network-broker1.xml:$ bin/activemq console 
> xbean:conf/activemq-dynamic-network-broker1.xml
> ./activemq-dynamic-network-broker1.xml:$ bin/activemq console 
> xbean:conf/activemq-dynamic-network-broker2.xml
> ./activemq-dynamic-network-broker2.xml:$ bin/activemq console 
> xbean:conf/activemq-dynamic-network-broker1.xml
> ./activemq-dynamic-network-broker2.xml:$ bin/activemq console 
> xbean:conf/activemq-dynamic-network-broker2.xml
> ./activemq-jdbc-performance.xml:To run ActiveMQ with this configuration 
> add xbean:conf/activemq-jdbc.xml to your command
> ./activemq-jdbc-performance.xml:e.g. $ bin/activemq console 
> xbean:conf/activemq-jdbc.xml
> ./activemq-jdbc.xml:To run ActiveMQ with this configuration add 
> xbean:conf/activemq-jdbc.xml to your command
> ./activemq-jdbc.xml:e.g. $ bin/activemq console 
> xbean:conf/activemq-jdbc.xml
> ./activemq-scalability.xml:To run ActiveMQ with this configuration add 
> xbean:conf/activemq-scalability.xml to your command
> ./activemq-scalability.xml:e.g. $ bin/activemq console 
> xbean:conf/activemq-scalability.xml
> ./activemq-security.xml:To run ActiveMQ with this configuration add 
> xbean:conf/activemq-security.xml to your command
> ./activemq-security.xml:e.g. $ bin/activemq console 
> xbean:conf/activemq-security.xml
> ./activemq-static-network-broker1.xml:$ bin/activemq console 
> xbean:conf/activemq-static-network-broker1.xml
> ./activemq-static-network-broker1.xml:$ bin/activemq console 
> xbean:conf/activemq-static-network-broker2.xml
> ./activemq-static-network-broker2.xml:$ bin/activemq console 
> xbean:conf/activemq-static-network-broker1.xml
> ./activemq-static-network-broker2.xml:$ bin/activemq console 
> xbean:conf/activemq-static-network-broker2.xml
> ./activemq-stomp.xml:To run ActiveMQ with this configuration add 
> xbean:conf/activemq-stomp.xml to your command
> ./activemq-stomp.xml:e.g. $ bin/activemq console 
> xbean:conf/activemq-stomp.xml
> ./activemq-throughput.xml:To run ActiveMQ with this configuration add 
> xbean:conf/activemq-throughput.xml to your command
> ./activemq-throughput.xml:e.g. $ bin/activemq console 
> xbean:conf/activemq-throughput.xml



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (AMQ-4803) Examples - Update instructions due recent moving of files to new directory

2013-10-14 Thread Claus Ibsen (JIRA)
Claus Ibsen created AMQ-4803:


 Summary: Examples - Update instructions due recent moving of files 
to new directory
 Key: AMQ-4803
 URL: https://issues.apache.org/jira/browse/AMQ-4803
 Project: ActiveMQ
  Issue Type: Task
Affects Versions: 5.9.0
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Priority: Trivial
 Fix For: 5.10.0


./activemq-demo.xml:To run ActiveMQ with this configuration add 
xbean:conf/activemq-demo.xml to your command
./activemq-demo.xml:e.g. $ bin/activemq console xbean:conf/activemq-demo.xml
./activemq-dynamic-network-broker1.xml:$ bin/activemq console 
xbean:conf/activemq-dynamic-network-broker1.xml
./activemq-dynamic-network-broker1.xml:$ bin/activemq console 
xbean:conf/activemq-dynamic-network-broker2.xml
./activemq-dynamic-network-broker2.xml:$ bin/activemq console 
xbean:conf/activemq-dynamic-network-broker1.xml
./activemq-dynamic-network-broker2.xml:$ bin/activemq console 
xbean:conf/activemq-dynamic-network-broker2.xml
./activemq-jdbc-performance.xml:To run ActiveMQ with this configuration add 
xbean:conf/activemq-jdbc.xml to your command
./activemq-jdbc-performance.xml:e.g. $ bin/activemq console 
xbean:conf/activemq-jdbc.xml
./activemq-jdbc.xml:To run ActiveMQ with this configuration add 
xbean:conf/activemq-jdbc.xml to your command
./activemq-jdbc.xml:e.g. $ bin/activemq console xbean:conf/activemq-jdbc.xml
./activemq-scalability.xml:To run ActiveMQ with this configuration add 
xbean:conf/activemq-scalability.xml to your command
./activemq-scalability.xml:e.g. $ bin/activemq console 
xbean:conf/activemq-scalability.xml
./activemq-security.xml:To run ActiveMQ with this configuration add 
xbean:conf/activemq-security.xml to your command
./activemq-security.xml:e.g. $ bin/activemq console 
xbean:conf/activemq-security.xml
./activemq-static-network-broker1.xml:$ bin/activemq console 
xbean:conf/activemq-static-network-broker1.xml
./activemq-static-network-broker1.xml:$ bin/activemq console 
xbean:conf/activemq-static-network-broker2.xml
./activemq-static-network-broker2.xml:$ bin/activemq console 
xbean:conf/activemq-static-network-broker1.xml
./activemq-static-network-broker2.xml:$ bin/activemq console 
xbean:conf/activemq-static-network-broker2.xml
./activemq-stomp.xml:To run ActiveMQ with this configuration add 
xbean:conf/activemq-stomp.xml to your command
./activemq-stomp.xml:e.g. $ bin/activemq console 
xbean:conf/activemq-stomp.xml
./activemq-throughput.xml:To run ActiveMQ with this configuration add 
xbean:conf/activemq-throughput.xml to your command
./activemq-throughput.xml:e.g. $ bin/activemq console 
xbean:conf/activemq-throughput.xml



--
This message was sent by Atlassian JIRA
(v6.1#6144)


Re: [VOTE] Apache ActiveMQ 5.9.0

2013-10-14 Thread Claus Ibsen
Ad 2)
Works on trunk with

/opt/apache-activemq-5.10-SNAPSHOT$ bin/activemq console
xbean:examples/conf/activemq-demo.xml



On Mon, Oct 14, 2013 at 9:53 AM, Claus Ibsen  wrote:
> Hi
>
> 1)
> I ran all unit tests of camel-jms with 5.9.0 and the first time one test 
> failed
>
> Failed tests:
>   
> TwoConsumerOnSameQueueTest.testStopAndStartOneRoute:39->sendTwoMessagesWhichShouldReceivedOnBothEndpointsAndAssert:91->CamelTestSupport.assertMockEndpointsSatisfied:675
> mock://a Received message count. Expected: <1> but was: <0>
>
> Tests run: 431, Failures: 1, Errors: 0, Skipped: 6
>
>
> I re-ran the tests again
>
>   
> TwoConsumerOnSameQueueTest.testRemoveOneRoute:66->sendTwoMessagesWhichShouldReceivedOnBothEndpointsAndAssert:91->CamelTestSupport.assertMockEndpointsSatisfied:675
> mock://a Received message count. Expected: <1> but was: <0>
>
> Tests run: 431, Failures: 1, Errors: 0, Skipped: 6
>
>
>
> 2)
> You cannot run the examples out of the box, as the files was moved
> last minute. So now they are located in examples/conf instead of conf.
>
> So if you run:
>
> davsclaus:/opt/apache-activemq-5.9.0$ bin/activemq console
> xbean:examples/conf/activemq-demo.xml
>
> You get this error:
>
> RROR | Failed to load: file
> [/opt/apache-activemq-5.9.0/examples/conf/activemq-demo.xml], reason:
> IOException parsing XML document from file
> [/opt/apache-activemq-5.9.0/examples/conf/camel.xml]; nested exception
> is java.io.FileNotFoundException: examples/conf/camel.xml (No such
> file or directory)
> org.springframework.beans.factory.BeanDefinitionStoreException:
> IOException parsing XML document from file
> [/opt/apache-activemq-5.9.0/examples/conf/camel.xml]; nested exception
> is java.io.FileNotFoundException: examples/conf/camel.xml (No such
> file or directory)
> at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
>
> The problem is that camel.xml was not moved from conf to
> examples/conf. After moving that it works fine.
>
>
> 3)
> I noticed this little error being logged in the console on one of the demos
> https://issues.apache.org/jira/browse/AMQ-4801
>
>
> 4)
> It would be good if anyone with a Windows box, gave this 5.9 release
> candidate a test spin. For example just to be sure it can startup in
> standalone mode etc.
>
> Tim you have a windows box, could you give it a little test spin?
>
> On Fri, Oct 11, 2013 at 5:17 PM, Gary Tully  wrote:
>> Hi all,
>>
>> I've just cut a release candidate for the 5.9.0 release. This release has
>> 248 bug fixes and improvements.
>>
>> It also contains a couple of new features which are summarized here:
>> https://cwiki.apache.org/confluence/display/ACTIVEMQ/New+Features+in+5.9
>>
>> Could you review the artifacts and vote?
>>
>> The list of resolved issues is:
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311210&version=12323932
>>
>> You can get binary distributions here:
>> https://repository.apache.org/content/repositories/orgapacheactivemq-163/org/apache/activemq/apache-activemq/5.9.0/
>>
>> Source archives are here:
>> https://repository.apache.org/content/repositories/orgapacheactivemq-163/org/apache/activemq/activemq-parent/5.9.0
>>
>> Maven2 repository is at:
>> https://repository.apache.org/content/repositories/orgapacheactivemq-163/
>>
>> Source tag:
>> https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=commit;h=b276006911583ea62b4a24c4cc5df9697febe006
>>
>>
>> Please vote to approve this release
>>
>> [ ] +1 Release the binary as Apache ActiveMQ 5.9.0
>> [ ] -1 Veto the release (provide specific comments)
>>
>> Here's my +1
>>
>> --
>> http://redhat.com
>> http://blog.garytully.com
>
>
>
> --
> Claus Ibsen
> -
> Red Hat, Inc.
> Email: cib...@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



-- 
Claus Ibsen
-
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen


Re: [VOTE] Apache ActiveMQ 5.9.0

2013-10-14 Thread Claus Ibsen
Ad 1)
Okay that was a problem in camel-jms unit tests, which I have fixed on
the Camel side.



On Mon, Oct 14, 2013 at 9:53 AM, Claus Ibsen  wrote:
> Hi
>
> 1)
> I ran all unit tests of camel-jms with 5.9.0 and the first time one test 
> failed
>
> Failed tests:
>   
> TwoConsumerOnSameQueueTest.testStopAndStartOneRoute:39->sendTwoMessagesWhichShouldReceivedOnBothEndpointsAndAssert:91->CamelTestSupport.assertMockEndpointsSatisfied:675
> mock://a Received message count. Expected: <1> but was: <0>
>
> Tests run: 431, Failures: 1, Errors: 0, Skipped: 6
>
>
> I re-ran the tests again
>
>   
> TwoConsumerOnSameQueueTest.testRemoveOneRoute:66->sendTwoMessagesWhichShouldReceivedOnBothEndpointsAndAssert:91->CamelTestSupport.assertMockEndpointsSatisfied:675
> mock://a Received message count. Expected: <1> but was: <0>
>
> Tests run: 431, Failures: 1, Errors: 0, Skipped: 6
>
>
>
> 2)
> You cannot run the examples out of the box, as the files was moved
> last minute. So now they are located in examples/conf instead of conf.
>
> So if you run:
>
> davsclaus:/opt/apache-activemq-5.9.0$ bin/activemq console
> xbean:examples/conf/activemq-demo.xml
>
> You get this error:
>
> RROR | Failed to load: file
> [/opt/apache-activemq-5.9.0/examples/conf/activemq-demo.xml], reason:
> IOException parsing XML document from file
> [/opt/apache-activemq-5.9.0/examples/conf/camel.xml]; nested exception
> is java.io.FileNotFoundException: examples/conf/camel.xml (No such
> file or directory)
> org.springframework.beans.factory.BeanDefinitionStoreException:
> IOException parsing XML document from file
> [/opt/apache-activemq-5.9.0/examples/conf/camel.xml]; nested exception
> is java.io.FileNotFoundException: examples/conf/camel.xml (No such
> file or directory)
> at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
>
> The problem is that camel.xml was not moved from conf to
> examples/conf. After moving that it works fine.
>
>
> 3)
> I noticed this little error being logged in the console on one of the demos
> https://issues.apache.org/jira/browse/AMQ-4801
>
>
> 4)
> It would be good if anyone with a Windows box, gave this 5.9 release
> candidate a test spin. For example just to be sure it can startup in
> standalone mode etc.
>
> Tim you have a windows box, could you give it a little test spin?
>
> On Fri, Oct 11, 2013 at 5:17 PM, Gary Tully  wrote:
>> Hi all,
>>
>> I've just cut a release candidate for the 5.9.0 release. This release has
>> 248 bug fixes and improvements.
>>
>> It also contains a couple of new features which are summarized here:
>> https://cwiki.apache.org/confluence/display/ACTIVEMQ/New+Features+in+5.9
>>
>> Could you review the artifacts and vote?
>>
>> The list of resolved issues is:
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311210&version=12323932
>>
>> You can get binary distributions here:
>> https://repository.apache.org/content/repositories/orgapacheactivemq-163/org/apache/activemq/apache-activemq/5.9.0/
>>
>> Source archives are here:
>> https://repository.apache.org/content/repositories/orgapacheactivemq-163/org/apache/activemq/activemq-parent/5.9.0
>>
>> Maven2 repository is at:
>> https://repository.apache.org/content/repositories/orgapacheactivemq-163/
>>
>> Source tag:
>> https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=commit;h=b276006911583ea62b4a24c4cc5df9697febe006
>>
>>
>> Please vote to approve this release
>>
>> [ ] +1 Release the binary as Apache ActiveMQ 5.9.0
>> [ ] -1 Veto the release (provide specific comments)
>>
>> Here's my +1
>>
>> --
>> http://redhat.com
>> http://blog.garytully.com
>
>
>
> --
> Claus Ibsen
> -
> Red Hat, Inc.
> Email: cib...@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



-- 
Claus Ibsen
-
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen


[jira] [Created] (AMQ-4802) ActiveMQInputStream does not work for big content

2013-10-14 Thread Marc Leineweber (JIRA)
Marc Leineweber created AMQ-4802:


 Summary: ActiveMQInputStream does not work for big content
 Key: AMQ-4802
 URL: https://issues.apache.org/jira/browse/AMQ-4802
 Project: ActiveMQ
  Issue Type: Bug
  Components: JMS client
Affects Versions: 5.8.0
 Environment: Mac OS 10.6.8
Reporter: Marc Leineweber


Sending a file with size 4.6 MB with ActiveMQOutputStream works and results in 
71 messages on the ActiveMQ broker.
Trying to receive this file / these messages using an ActiveMQInputStream fails 
- after a while (720896 bytes received so far) inputStream.read(buffer) never 
answers (it waits in ...). If inputStream is created with a timeout, I get a 
ActiveMQInputStream$ReadTimeoutEcxeption. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)


Re: [VOTE] Apache ActiveMQ 5.9.0

2013-10-14 Thread Claus Ibsen
Hi

1)
I ran all unit tests of camel-jms with 5.9.0 and the first time one test failed

Failed tests:
  
TwoConsumerOnSameQueueTest.testStopAndStartOneRoute:39->sendTwoMessagesWhichShouldReceivedOnBothEndpointsAndAssert:91->CamelTestSupport.assertMockEndpointsSatisfied:675
mock://a Received message count. Expected: <1> but was: <0>

Tests run: 431, Failures: 1, Errors: 0, Skipped: 6


I re-ran the tests again

  
TwoConsumerOnSameQueueTest.testRemoveOneRoute:66->sendTwoMessagesWhichShouldReceivedOnBothEndpointsAndAssert:91->CamelTestSupport.assertMockEndpointsSatisfied:675
mock://a Received message count. Expected: <1> but was: <0>

Tests run: 431, Failures: 1, Errors: 0, Skipped: 6



2)
You cannot run the examples out of the box, as the files was moved
last minute. So now they are located in examples/conf instead of conf.

So if you run:

davsclaus:/opt/apache-activemq-5.9.0$ bin/activemq console
xbean:examples/conf/activemq-demo.xml

You get this error:

RROR | Failed to load: file
[/opt/apache-activemq-5.9.0/examples/conf/activemq-demo.xml], reason:
IOException parsing XML document from file
[/opt/apache-activemq-5.9.0/examples/conf/camel.xml]; nested exception
is java.io.FileNotFoundException: examples/conf/camel.xml (No such
file or directory)
org.springframework.beans.factory.BeanDefinitionStoreException:
IOException parsing XML document from file
[/opt/apache-activemq-5.9.0/examples/conf/camel.xml]; nested exception
is java.io.FileNotFoundException: examples/conf/camel.xml (No such
file or directory)
at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)

The problem is that camel.xml was not moved from conf to
examples/conf. After moving that it works fine.


3)
I noticed this little error being logged in the console on one of the demos
https://issues.apache.org/jira/browse/AMQ-4801


4)
It would be good if anyone with a Windows box, gave this 5.9 release
candidate a test spin. For example just to be sure it can startup in
standalone mode etc.

Tim you have a windows box, could you give it a little test spin?

On Fri, Oct 11, 2013 at 5:17 PM, Gary Tully  wrote:
> Hi all,
>
> I've just cut a release candidate for the 5.9.0 release. This release has
> 248 bug fixes and improvements.
>
> It also contains a couple of new features which are summarized here:
> https://cwiki.apache.org/confluence/display/ACTIVEMQ/New+Features+in+5.9
>
> Could you review the artifacts and vote?
>
> The list of resolved issues is:
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311210&version=12323932
>
> You can get binary distributions here:
> https://repository.apache.org/content/repositories/orgapacheactivemq-163/org/apache/activemq/apache-activemq/5.9.0/
>
> Source archives are here:
> https://repository.apache.org/content/repositories/orgapacheactivemq-163/org/apache/activemq/activemq-parent/5.9.0
>
> Maven2 repository is at:
> https://repository.apache.org/content/repositories/orgapacheactivemq-163/
>
> Source tag:
> https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=commit;h=b276006911583ea62b4a24c4cc5df9697febe006
>
>
> Please vote to approve this release
>
> [ ] +1 Release the binary as Apache ActiveMQ 5.9.0
> [ ] -1 Veto the release (provide specific comments)
>
> Here's my +1
>
> --
> http://redhat.com
> http://blog.garytully.com



-- 
Claus Ibsen
-
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen


[jira] [Created] (AMQ-4801) ActiveMQ web demo - chat example - Logs jetty IDLE ERROR 1st time

2013-10-14 Thread Claus Ibsen (JIRA)
Claus Ibsen created AMQ-4801:


 Summary: ActiveMQ web demo - chat example - Logs jetty IDLE ERROR 
1st time
 Key: AMQ-4801
 URL: https://issues.apache.org/jira/browse/AMQ-4801
 Project: ActiveMQ
  Issue Type: Improvement
Affects Versions: 5.9.0
Reporter: Claus Ibsen
 Fix For: 5.10.0


When running the chat example in the web demos, then the first time you login 
you get this error in the console

{code}
 WARN | Broker localhost not started so using amq-broker instead
 WARN | Broker localhost not started so using amq-broker instead
ERROR | Error receiving message java.lang.IllegalStateException: IDLE,initial
java.lang.IllegalStateException: IDLE,initial
at 
org.eclipse.jetty.server.AsyncContinuation.dispatch(AsyncContinuation.java:408)
at 
org.eclipse.jetty.server.AsyncContinuation.resume(AsyncContinuation.java:815)
at 
org.apache.activemq.web.AjaxListener.onMessageAvailable(AjaxListener.java:72)
at 
org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1383)
at 
org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
at 
org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
at 
org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:129)
at 
org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:47)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
{code}

The web demos can be started with
bin/activemq console xbean:examples/conf/activemq-demo.xml



--
This message was sent by Atlassian JIRA
(v6.1#6144)