activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kay Stanke (JIRA)" <>
Subject [jira] Created: (AMQ-1110) JMS to JMS Bridge fails with Number format exception on physical name
Date Thu, 28 Dec 2006 13:24:02 GMT
JMS to JMS Bridge fails with Number format exception on physical name

                 Key: AMQ-1110
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 4.1.0
         Environment: Using Windows XP SP2, JDK 1.6.0, Bea Weblogic Server 8.1 SP6
            Reporter: Kay Stanke
         Attachments: activemq.xml

Maybe this is just some missconfiguration from my site but ...

I'm trying to use activemq to integrate some c++ code with the j2ee world. My task is to forward
messages generated on the c++ side to the JMS of Bea Weblogic 8.1. ActiveMQ is running outside
the WLS in a separate process. The startup looks fine as the wls context can be used to get
references to the ConnectionFactory and the configured test destination WLSTestQ. On sending
a message to the local queue of the bridge i get the following stacktrace:

 java.lang.NumberFormatException: For input string: "WLSTESTQ"
at java.lang.NumberFormatException.forInputString(
at java.lang.Integer.parseInt(
at java.lang.Integer.parseInt(
at org.apache.activemq.command.ActiveMQTempDestination.setPhysicalName(
at org.apache.activemq.command.ActiveMQDestination.<init>(
at org.apache.activemq.command.ActiveMQTempDestination.<init>(
at org.apache.activemq.command.ActiveMQTempQueue.<init>(
at org.apache.activemq.command.ActiveMQDestination.transform(
at org.apache.activemq.command.ActiveMQMessage.setJMSDestination(
at weblogic.jms.client.JMSProducer.sendInternal(
at weblogic.jms.client.JMSProducer.send(
at weblogic.jms.client.JMSProducer.send(
at org.apache.activemq.ActiveMQMessageConsumer.dispatch(
at org.apache.activemq.ActiveMQSessionExecutor.dispatch(
at org.apache.activemq.ActiveMQSessionExecutor.iterate(
at org.apache.activemq.thread.DedicatedTaskRunner.runTask(
at org.apache.activemq.thread.DedicatedTaskRunner.access$000(
at org.apache.activemq.thread.DedicatedTaskRunner$

ERROR DestinationBridge - failed to forward message on attempt: 1 
reason: java.lang.NumberFormatException: 
For input string: "WLSTESTQ" message: 
ActiveMQTextMessage {
commandId = 14, 
responseRequired = false, 
messageId = ID:KStanke-1523-1167310376227-0:0:1:1:10, 
originalDestination = null, 
originalTransactionId = null, 
producerId = ID:KStanke-1523-1167310376227-0:0:1:1, 
destination = queue://TEST.FOO, 
transactionId = null, 
expiration = 0, 
timestamp = 1167310385795, 
arrival = 0, 
correlationId = null, 
replyTo = null, 
persistent = false, 
type = null, 
priority = 4, 
groupID = null, 
groupSequence = 0, 
targetConsumerId = null,
compressed = false, 
userID = null, 
content = null, 
marshalledProperties = null,
dataStructure = null, 
redeliveryCounter = 0, 
size = 0, 
properties = null, 
readOnlyProperties = true, 
readOnlyBody = true, 
droppable = false, 
text = Message: 9 sent at: Thu Dec 28 13:53:05 CET 2006
[Skipped some blank lines]

I'm using the message producer from the example to test the routing to wls JMS.  I also attached
my activemq.xml configuration for you reference.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message