[ https://issues.apache.org/activemq/browse/AMQ-895?page=comments#action_36862 ] Manuel Teira commented on AMQ-895: ----------------------------------
I've avoided the previous problem launching 'mvn install:install-file ...' outside of the activemq directory. This way I reached compiling activemq-core, but it failed with this error: Downloading: http://repo1.maven.org/maven2/ant/ant/1.6.2/ant-1.6.2.jar 976K downloaded [INFO] [xbean:mapping {execution: default}] [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] com.thoughtworks.qdox.parser.ParseException: syntax error @[90,25] in fil e:/C:/src/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network /jms/JmsConnector.java [INFO] ------------------------------------------------------------------------ [INFO] Trace com.thoughtworks.qdox.parser.ParseException: syntax error @[90,25] in file:/C:/s rc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/Jm sConnector.java at org.apache.xbean.maven.XBeanMojo.execute(XBeanMojo.java:185) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: com.thoughtworks.qdox.parser.ParseException: syntax error @[90,25] in file:/C:/src/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/net work/jms/JmsConnector.java at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:611) at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:719) at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:592) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:30 0) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:31 6) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:31 2) at org.apache.xbean.spring.generator.QdoxMappingLoader.loadNamespaces(Qd oxMappingLoader.java:96) at org.apache.xbean.maven.XBeanMojo.execute(XBeanMojo.java:153) ... 18 more --- Nested Exception --- com.thoughtworks.qdox.parser.ParseException: syntax error @[90,25] in file:/C:/s rc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/Jm sConnector.java at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:611) at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:719) at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:592) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:30 0) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:31 6) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:31 2) at org.apache.xbean.spring.generator.QdoxMappingLoader.loadNamespaces(Qd oxMappingLoader.java:96) at org.apache.xbean.maven.XBeanMojo.execute(XBeanMojo.java:153) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5 minutes 10 seconds [INFO] Finished at: Mon Aug 28 09:35:45 CEST 2006 [INFO] Final Memory: 15M/28M [INFO] ------------------------------------------------------------------------ It seems that JmsConnector.java is one of the modified files for the fix we're on. Anyway, I don't know what that qdox.parser is expecting to find, the java code looks fine to me, and making a diff against the previous svn version of the file at that point is only finding some cosmetic changes. Waiting for help. :-) > JMS to JMS Bridge never reconnects under remote broker restarts. > ---------------------------------------------------------------- > > Key: AMQ-895 > URL: https://issues.apache.org/activemq/browse/AMQ-895 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 4.0 RC2, 4.0.1 > Reporter: Manuel Teira > > I'm using ActiveMQ (4.0.1) JMS to JMS Bridge functionality to connect to a > SunMQ JMS Broker (3.6 SP3 (Build 02-A)). I'm using two queues, an input and > an output one, with the following configuration: > <jmsBridgeConnectors> > <jmsQueueConnector outboundQueueConnectionFactory="#REMOTE"> > <outboundQueueBridges> > <outboundQueueBridge outboundQueueName="SUNRECV"/> > </outboundQueueBridges> > <inboundQueueBridges> > <inboundQueueBridge inboundQueueName="SUNSEND"/> > </inboundQueueBridges> > </jmsQueueConnector> > </jmsBridgeConnectors> > The system works really well until the SunMQ broker needed to be restarted. > This is what I found: > 1.-ActiveMQ is not aware of the remote broker shutdown. I waited for a while, > but no log on ActiveMQ indicates knowledge about the new situation. > 2.-When I send a message to the output queue SUNRECV, ActiveMQ complains that > the producer is closed: > [ERROR][2006/08/25.09:47:12.039][ActiveMQ Session Task]failed to forward > message: ActiveMQTextMessage {commandId = 5, responseRequired = false, > messageId = ID:trabucco-43457-1156491843149-3:4:1:1:1, originalDestination = > null, originalTransactionId = null, producerId = > ID:trabucco-43457-1156491843149-3:4:1:1, destination = queue://SUNRECV, > transactionId = null, expiration = 0, timestamp = 1156492032027, arrival = 0, > correlationId = null, replyTo = null, persistent = false, type = null, > priority = 0, groupID = null, groupSequence = 0, targetConsumerId = null, > compressed = false, userID = null, content = null, marshalledProperties = > null, dataStructure = null, redeliveryCounter = 0, size = 2, properties = > null, readOnlyProperties = true, readOnlyBody = true, text = 1}([C4064]: > Cannot perform operation, producer is closed.) > After this, it is automatically queueing messages without sending them, > showing the log: > [DEBUG][2006/08/25.09:47:42.721][RMI TCP Connection(4)-10.95.89.20]No > subscriptions registered, will not dispatch message at this time. > Even if SunMQ is started again, ActiveMQ is not detecting the new situation, > and continues queueing messages sent to SUNRECV. > Please, make me know if more information is needed to understand the > situation. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira