[JBoss Messaging] - Exception while executing the queue example from the 1.2.0 d
by georgesberscheid
Hi,
I followed the docs for installing JBMessaging 1.2.0 on JBAS 4.2.0CR1. However I get the following exception while running the validation test (examples/queue):
Queue /queue/testQueue exists
| 16:28:51,667 ERROR @main [SocketClientInvoker] Got marshalling exception, exiting
| java.io.EOFException
| at java.io.DataInputStream.readInt(DataInputStream.java:375)
| at org.jboss.jms.server.remoting.JMSWireFormat.read(JMSWireFormat.java:297)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedRead(MicroSocketClientInvoker.java:936)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:579)
| at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:269)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
| at org.jboss.remoting.LeasePinger.sendClientPing(LeasePinger.java:283)
| at org.jboss.remoting.LeasePinger.addClient(LeasePinger.java:117)
| at org.jboss.remoting.MicroRemoteClientInvoker.establishLease(MicroRemoteClientInvoker.java:398)
| at org.jboss.remoting.Client.setupClientLease(Client.java:1504)
| at org.jboss.remoting.Client.connect(Client.java:1404)
| at org.jboss.remoting.Client.connect(Client.java:441)
| at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:271)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:146)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.java)
| at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:83)
| at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.java)
| at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:71)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.java)
| at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.java)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
| at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:212)
| at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:88)
| at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:83)
| at org.jboss.example.jms.queue.QueueExample.example(QueueExample.java:72)
| at org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:137)
| at org.jboss.example.jms.queue.QueueExample.main(QueueExample.java:133)
| 16:28:51,667 WARN @main [LeasePinger] LeasePinger[SocketClientInvoker[1afae45, bisocket://127.0.0.1:4457](5c4o01x-cu35mx-ez1cunns-1-ez1cuo3n-5)] failed to ping to server: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is:
| java.io.EOFException
| The message was successfully sent to the testQueue queue
| Received message: Hello!
| The example connected to JBoss Messaging version 1.2.0.GA (1.2)
|
| #####################
| ### SUCCESS! ###
| #####################
Any ideas?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026284#4026284
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026284
19Â years, 1Â month
[JBoss Seam] - Using s:button action=
by pesalomo
In this case the removeTargetGroup parameter turns out to be NULL:
<h:dataTable value="#{project.targetGroups}"var="targetGroup">
| <h:column>
| <s:button value="#{targetGroup.name}" action="#{projectManager.removeTargetGroup(targetGroup)}"/>
| </h:column>
| </h:dataTable>
|
But in this case it is as it should be:
<h:dataTable value="#{project.targetGroups}"var="targetGroup">
| <h:column>
| <s:button value="#{targetGroup.name}" action="#{projectManager.removeTargetGroup(project.targetGroups[0])}"/>
| </h:column>
| </h:dataTable>
In both cases - targetGroup.name displays as it should.
How can it be that the action method parameter is NULL in the first case? Is it a configuration issue?
regards,
Peter
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026281#4026281
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026281
19Â years, 1Â month
[JBoss Getting Started Documentation] - oracle-ds.xml file has poor connection pooling
by ihety
I am currently using a vendor application (see oracle-ds.xml file below) and it seems that we have poorly managed connections from our workflow managers (where the application runs) to the Database. We are having some serious performance issues and would appreciate any help on what parameters I can tweak to ensure performance is improved:
<?xml version="1.0" encoding="UTF-8"?>
<!-- ===================================================================== -->
<!-- -->
<!-- JBoss Server Configuration -->
<!-- -->
<!-- ===================================================================== -->
<!-- $Id: oracle-ds-template.xml,v 1.6 2007/01/24 18:40:34 dave Exp $ -->
<!-- ==================================================================== -->
<!-- Datasource config for Oracle originally from Steven Coy -->
<!-- ==================================================================== -->
<local-tx-datasource>
<jndi-name>OracleDS</jndi-name>
<connection-url>jdbc:oracle:thin:@db01.dbt.pacs.com:1521:IMPAX</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<security-domain>OracleDSLogin</security-domain>
<min-pool-size>20</min-pool-size>
<max-pool-size>100</max-pool-size>
<blocking-timeout-millis>5000</blocking-timeout-millis>
<idle-timeout-minutes>1</idle-timeout-minutes>
<!--Uses the pingDatabase method to check a connection
is still valid before handing it out from the pool -->
<valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connectio
n-checker-class-name>
<!-- Checks the Oracle error codes and messages for fatal errors -->
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
<type-mapping>Oracle9i</type-mapping>
</local-tx-datasource>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026280#4026280
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026280
19Â years, 1Â month