[JBoss JIRA] Created: (JBESB-1329) Collections (unbounded xs:elements) can't be first element in xs:sequence
by Per-Anders Backstrom (JIRA)
Collections (unbounded xs:elements) can't be first element in xs:sequence
-------------------------------------------------------------------------
Key: JBESB-1329
URL: http://jira.jboss.com/jira/browse/JBESB-1329
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web Services
Affects Versions: 4.2.1
Environment: JBoss 4.2.GA
Reporter: Per-Anders Backstrom
Collections can't be the first element in a xs:sequence or else the OGNL-mapping will fail.
I have narrowed the bug down to the org.jboss.internal.soa.esb.soap.OGNLUtils class and the getOGNLExpression() method.
The bug is easily reproduced, in the soapui-client test-cases, in file orderprocessing/OrderProcessingSchema.xsd, just see to that the
element name "lineItems" gets positioned first in complexType named "order".
Btw, collections are asserted in OGNLUtils.java by checking for the first occurrence of a comment-string containing "1 or more repetitions" at the parent node of the actual element, but as far as I can see my collections are always commented with "Zero or more repetitions". If the first comment is rather "Optional", e.g the collection isn't first element in the parent node, this assertion would probably fail anyway?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 3 months
[JBoss JIRA] Created: (JBESB-1564) CourierException should be visible on higher than DEBUG level
by Jiri Pechanec (JIRA)
CourierException should be visible on higher than DEBUG level
-------------------------------------------------------------
Key: JBESB-1564
URL: http://jira.jboss.com/jira/browse/JBESB-1564
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Rosetta
Affects Versions: 4.2.1 CP1
Reporter: Jiri Pechanec
Assigned To: Mark Little
Fix For: 4.2.1 CP2
When the Courier exception is thrown in courier (like Failed to serialize ESB message in JMS courier) the excpetion is logged by ServiceInvoker only at DEBUG level
logger.debug("Badly formed EPR [" + targetEPR + "] for Service [" + service + "] and Message ["+message.getHeader()+"]. " + e.getMessage());
This makes identification of error extremly difficult and as it is erroneous state it should be logged at at least INFO level.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 3 months
[JBoss JIRA] Created: (JBESB-1554) JMSCourier incorrectly looks for topic
by Pavel Kadlec (JIRA)
JMSCourier incorrectly looks for topic
--------------------------------------
Key: JBESB-1554
URL: http://jira.jboss.com/jira/browse/JBESB-1554
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Rosetta
Affects Versions: 4.2.1 CP1
Reporter: Pavel Kadlec
I created jms-bus topic and I am not able to deploy esb archive.
I am getting this exception
13:49:02,459 ERROR [STDERR] org.jboss.soa.esb.couriers.CourierException: Unable to create Message Consumer
13:49:02,462 ERROR [STDERR] at org.jboss.internal.soa.esb.couriers.JmsCourier.pickupPayload(JmsCourier.java:532)
13:49:02,466 ERROR [STDERR] at org.jboss.internal.soa.esb.couriers.JmsCourier.pickup(JmsCourier.java:513)
13:49:02,479 ERROR [STDERR] at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.pickup(TwoWayCourierImpl.java:223)
13:49:02,483 ERROR [STDERR] at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.pickup(TwoWayCourierImpl.java:205)
13:49:02,496 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.MessageAwareListener.waitForEventAndProcess(MessageAwareListener.java:304)
13:49:02,501 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.MessageAwareListener.doRun(MessageAwareListener.java:264)
13:49:02,506 ERROR [STDERR] at org.jboss.soa.esb.listeners.lifecycle.AbstractThreadedManagedLifecycle.run(AbstractThreadedManagedLifecycle.java:
5)
13:49:02,515 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
13:49:02,519 ERROR [STDERR] Caused by: org.jboss.soa.esb.couriers.CourierException: javax.jms.JMSException: This destination does not exist !TOPIC.t
ic/aggregator
13:49:02,528 ERROR [STDERR] at org.jboss.internal.soa.esb.couriers.JmsCourier.createMessageConsumer(JmsCourier.java:642)
13:49:02,533 ERROR [STDERR] at org.jboss.internal.soa.esb.couriers.JmsCourier.pickupPayload(JmsCourier.java:524)
13:49:02,544 ERROR [STDERR] ... 7 more
13:49:02,548 ERROR [STDERR] Caused by: javax.jms.JMSException: This destination does not exist !TOPIC.topic/aggregator
13:49:02,552 ERROR [STDERR] at org.jboss.mq.server.JMSDestinationManager.createTopic(JMSDestinationManager.java:622)
13:49:02,557 ERROR [STDERR] at org.jboss.mq.server.JMSServerInterceptorSupport.createTopic(JMSServerInterceptorSupport.java:116)
13:49:02,562 ERROR [STDERR] at org.jboss.mq.server.TracingInterceptor.createTopic(TracingInterceptor.java:290)
13:49:02,567 ERROR [STDERR] at org.jboss.mq.server.JMSServerInvoker.createTopic(JMSServerInvoker.java:122)
13:49:02,575 ERROR [STDERR] at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:145)
13:49:02,580 ERROR [STDERR] at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:395)
13:49:02,585 ERROR [STDERR] at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398)
13:49:02,598 ERROR [STDERR] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
13:49:02,603 ERROR [STDERR] ... 1 more
I looked at the code of JMSCourier. There is function createMessageConsumer() and inside is
else if (JMSEpr.TOPIC_TYPE.equals(sType)) {
TopicSession tSess = (TopicSession) getJmsSession(_epr.getAcknowledgeMode());
Topic topic = tSess.createTopic(_epr.getDestinationName());
_messageConsumer = tSess.createConsumer(topic, _epr
.getMessageSelector());
}
I think that there should be something like
else if (JMSEpr.TOPIC_TYPE.equals(sType)) {
TopicSession tSess = (TopicSession) getJmsSession(_epr.getAcknowledgeMode());
Topic topic = null;
try {
topic = (Topic) oJndiCtx.lookup(_epr
.getDestinationName());
}
catch (NamingException ne) {
topic = tSess.createTopic(_epr.getDestinationName());
}
_messageConsumer = tSess.createConsumer(topic, _epr
.getMessageSelector());
}
Everything is OK with this change.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 3 months
[JBoss JIRA] Created: (JBESB-1563) Extends jms-jca-provider to support activation-config properties
by Daniel Bevenius (JIRA)
Extends jms-jca-provider to support activation-config properties
----------------------------------------------------------------
Key: JBESB-1563
URL: http://jira.jboss.com/jira/browse/JBESB-1563
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Documentation, Examples, Transports
Affects Versions: 4.2.1 CP1
Reporter: Daniel Bevenius
Fix For: 4.3
We would like to be able to specify activation-config properties for the jms-jca-provider. This would give us a jms redelivery functionality by simple configuration.
The reason for this extension is that we have listeners that are not gateways, but still need to be able to set properties like dLQMaxResent.
This is the suggestion:
<jms-jca-provider
name="JBossMessaging"
....
>
<jms-bus busid="quickstartGwChannel">
....
</jms-bus>
<activation-config>
<property name="dLQMaxResent" value="12"/>
<property name="dLQJNDIName" value="/queue/quickstart_jms_transacted_error"/>
<property name="reconnectInterval" value="1000"/>
</activation-config>
</jms-jca-provider>
This requires an update to the jbossesb-1.0.1.xsd and modifying JmsListenerMapper.
The gain here is that we can then specify the number of times that we should try to redeliver a message. One can also specify an interval so that the message is not redelivered straight away.
I noticed that jca seems to have the dLQMaxResent but the JMS queue definitions also have their own.
If one has set dLQMaxResent to a value larger then the JMS queues MaxDeliveryAttempts value, then the JMS queues value will kickin. But by simply increasing MaxDeliveryAttempts to larger value then dLQMaxResent everything works.
I've verified this by modifying the jms_transacted quickstart and trying it out.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 4 months
[JBoss JIRA] Created: (JBESB-1567) Update helloworld_ftp_action to use a cron schedule.
by Daniel Bevenius (JIRA)
Update helloworld_ftp_action to use a cron schedule.
----------------------------------------------------
Key: JBESB-1567
URL: http://jira.jboss.com/jira/browse/JBESB-1567
Project: JBoss ESB
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Examples
Affects Versions: 4.3
Reporter: Daniel Bevenius
Assigned To: Daniel Bevenius
Fix For: 4.3
Update the helloworld_ftp_action quickstart to demonstrate how a cron schedule can be used with an ftp listener:
<schedule-provider name="cronExample">
<cron-schedule scheduleid="cron-schedule" cronExpression="0/5 * * * * ?"/>
</schedule-provider>
...
<ftp-listener name="FtpGateway"
busidref="helloFTPChannel"
maxThreads="1"
is-gateway="true"
scheduleidref="cron-schedule"/>
This can be useful if one has several ftp listener listening to the same remote directory and this gives more control over when a specific listener should go and look for files. This is a simple way to avoid having two or more nodes process the same file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 4 months
[JBoss JIRA] Created: (JBESB-1475) 'Table not found' errors when using management console with MySQL on Linux
by Bernard Tison (JIRA)
'Table not found' errors when using management console with MySQL on Linux
--------------------------------------------------------------------------
Key: JBESB-1475
URL: http://jira.jboss.com/jira/browse/JBESB-1475
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Management
Affects Versions: 4.2.1
Environment: OS: Fedora 8
RDBMS: MySQL v5.0.45
Reporter: Bernard Tison
When deploying the management console (management.esb) on the ESB, using MySQl as RDBMS (OS = Linux), 'Table not found' errors appear.
Reason: the org.jboss.soa.esb.monitoring.server.StaticsHelper and org.jboss.soa.esb.monitoring.server.OperationsHelper classes use native SQL queries, in which the table names are referred in proper case. The Hibernate mapping files use upper case for the table names. Mysql on Linux is case sensitive.
Attached are versions of the two classes where the table names in the native SQL queries use upper case.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 4 months