[Installation, Configuration & DEPLOYMENT] - updating AS from 4.0.2 to 4.2.2.GA
by inxaoc
Hello!
I've update AS from 4.0.2 to 4.2.2.GA. Make some changes in configuration (connected with tomcat container) and deploy app, that was working in 4.0.2. But now I have some problems.
Here the thrown exceptions:
2008-02-26 14:17:20,207 INFO [org.jboss.system.ServiceConfigurator] Problem configuring service jboss.mq.destination:service=Queue,name=VTBizRestRequest
| org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@c84051 on mbean jboss.mq.destination:service=Queue,name=VTBizRestRequest; - nested throwable: (java.lang.IllegalArgumentException: Negative redelivery limit: -1)
| at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:707)
| at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:462)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
| at org.jboss.system.ServiceController.install(ServiceController.java:226)
| at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.install(Unknown Source)
| at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy9.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Unknown Source)
| Caused by: java.lang.IllegalArgumentException: Negative redelivery limit: -1
|
I don't understand clearly what the problem. but I found piece of code where exception is thrown.
http://www.google.ru/url?sa=t&ct=res&cd=2&url=http%3A%2F%2Fviewvc.jboss.o...
I think it can give to developers by simple view on this piece of code to decide what the problem occured and help me (or to refer to a part of doc that describe changes in new version of AS in connection with this problem.
Thank you in advance!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132129#4132129
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132129
18 years, 1 month
[JCA/JBoss] - JCA close/destroy
by chavali
We have a requirement to maintain the session with the legacy system and the client. We want to persist the same connection for multiple requests from client. Upon clients logoff the legacy system to be notified may be by calling destroy instead of close. Upon the notification to (EIS)legacy system, the legacy system will processing and do some cleanup.
I donot know with the connection pooling will the destroy close the physical connection with the EIS legacy system.
Calling the destroy() instead of close() in JCA will the physical connection gets closed with the legacy system?
Will the EIS (legacy system) socket desc gets closed by calling the destroy().
Can some body help in this regard.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132121#4132121
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132121
18 years, 1 month
[JBoss Messaging] - Re: Error running in performance messaging benchmark framewo
by singhal_ashwani
In the statck trace , it is trying to connect "localhost:7777/local-messaging"
[java] java.rmi.NotBoundException: localhost:7777/local-messaging
The perf.xml is below
<!-- benchmark configuration -->
<db-url>jdbc:hsqldb:./output/db/perfdb</db-url>
<report-directory>./output/results</report-directory>
<color-step>15</color-step>
<!-- benchmark-wide test defaults -->
<default-executor-name>REMOTE</default-executor-name>
/queue/testQueue
<connection-factory>/ConnectionFactory</connection-factory>
<acknowledgment-mode>AUTO_ACKNOWLEDGE</acknowledgment-mode>
<delivery-mode>NON_PERSISTENT</delivery-mode>
<message-factory-class>org.jboss.jms.perf.framework.factories.MessageMessageFactory</message-factory-class>
<message-size>0</message-size>
<!-- safeguard for receive jobs that block waiting messages will never arrive -->
600000
org.jnp.interfaces.NamingContextFactory
jnp://localhost:1099
org.jboss.naming:org.jnp.interfaces
<!--
-->
255,0,0
org.jnp.interfaces.NamingContextFactory
jnp://localhost:1199
org.jboss.naming:org.jnp.interfaces
0,0, 255
org.apache.activemq.jndi.ActiveMQInitialContextFactory
tcp://localhost:61616
<jndi-property name="queue./queue/testQueue">TEST_QUEUE</jndi-property>
<jndi-property name="queue./queue/simpleQueue">SIMPLE_QUEUE</jndi-property>
<jndi-property name="connectionFactoryNames">/ConnectionFactory</jndi-property>
0, 255, 255
org.apache.qpid.jndi.PropertiesFileInitialContextFactory
<jndi-property name="connectionfactory./ConnectionFactory">amqp://guest:guest@/test?brokerlist='localhost'</jndi-property>
<jndi-property name="queue./queue/testQueue">testQueue</jndi-property>
<jndi-property name="queue./queue/simpleQueue">simpleQueue</jndi-property>
255, 0, 255
<performance-tests>
<!-- just makes sure the executors are deployed and ready -->
<!-- -->
<performance-test name="Ping" loops="1">
<!--
-->
<!--
-->
<!-- -->
</performance-test>
<!-- -->
<!-- -->
<performance-test name="Ping Remote Only" loops="1">
</performance-test>
<!-- -->
<!--
<performance-test name="Single Burst" loops="10">
/queue/simpleQueue
<message-size>0</message-size>
30000
</performance-test>
-->
<!--
<performance-test name="Throughput O KB Message Non-Persistent Non-Transactional, 1 sender, 1 receiver">
<message-size>0</message-size>
10000
</performance-test>
-->
<!--
<performance-test name="Throughput-Remote">
/queue/simpleQueue
<delivery-mode>NON_PERSISTENT</delivery-mode>
<message-size>0</message-size>
30000
</performance-test>
-->
<!--
<performance-test name="Throughput-INVM">
/queue/simpleQueue
<delivery-mode>NON_PERSISTENT</delivery-mode>
<message-size>0</message-size>
30000
</performance-test>
-->
<!--
<performance-test name="Measured Send Rate vs. Intended Send Rate INVM">
/queue/simpleQueue
<delivery-mode>NON_PERSISTENT</delivery-mode>
<message-size>0</message-size>
50000
</performance-test>
-->
<!--
<performance-test name="Measured Send Rate vs. Intended Send Rate Remote">
/queue/simpleQueue
<delivery-mode>NON_PERSISTENT</delivery-mode>
<message-size>0</message-size>
50000
</performance-test>
-->
<!--
<performance-test name="Send 50000 Non-Persistent Non-Transactional 0 KB Local">
/queue/simpleQueue
<delivery-mode>NON_PERSISTENT</delivery-mode>
<message-size>0</message-size>
50000
</performance-test>
-->
<!--
<performance-test name="Send 20000 Non-Persistent Non-Transactional 1 KB Text Local" loops="3">
/queue/simpleQueue
<delivery-mode>NON_PERSISTENT</delivery-mode>
<message-factory-class>org.jboss.jms.perf.framework.factories.TextMessageFactory</message-factory-class>
<message-size>1024</message-size>
30000
</performance-test>
-->
<!--
<performance-test name="Send 30000 Non-Persistent Non-Transactional 0 KB Remote">
/queue/simpleQueue
<delivery-mode>NON_PERSISTENT</delivery-mode>
<message-size>0</message-size>
30000
</performance-test>
-->
<!--
<performance-test name="Send 30000 Persistent Non-Transactional 0 KB Local">
/queue/simpleQueue
<delivery-mode>PERSISTENT</delivery-mode>
<message-size>0</message-size>
30000
</performance-test>
-->
<!--
<performance-test name="Send 30000 Persistent Non-Transactional 1 KB Text Remote">
/queue/simpleQueue
<delivery-mode>PERSISTENT</delivery-mode>
<message-factory-class>org.jboss.jms.perf.framework.factories.TextMessageFactory</message-factory-class>
<message-size>1024</message-size>
30000
</performance-test>
-->
</performance-tests>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132114#4132114
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132114
18 years, 1 month