[JBoss Messaging] - Re: long live consumer stops working
by bodrin
It is present. I haven't modified this configuration file at all, but I get:
> ERROR [ConnectionFactory] Parameter pingFrequency is not specified in the remoting congiguration
I have launched a debuger and these are all the params available at runtime:
| clientMaxPoolSize=50
| clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper
| dataType=jms
| marshaller=org.jboss.jms.wireformat.JMSWireFormat
| numberOfCallRetries=1
| numberOfRetries=1
| socket.check_connection=false
| timeout=0
| unmarshaller=org.jboss.jms.wireformat.JMSWireFormat
|
The remoting-bisocket-service.xml :
| <?xml version="1.0" encoding="UTF-8"?>
|
| <!--
| Standard bisocket-based Remoting service deployment descriptor.
|
| $Id: remoting-bisocket-service.xml 3409 2007-12-04 21:32:54Z timfox $
| -->
|
| <server>
|
| <!-- Standard bisocket connector - the bisocket transport only opens connection from client->server
| so can be used with firewalls where only outgoing connections are allowed.
| For examples of HTTP and SSL transports see docs/examples -->
| <mbean code="org.jboss.remoting.transport.Connector"
| name="jboss.messaging:service=Connector,transport=bisocket"
| display-name="Bisocket Transport Connector">
| <attribute name="Configuration">
| <config>
| <invoker transport="bisocket">
|
| <!-- There should be no reason to change these parameters - warning!
| Changing them may stop JBoss Messaging working correctly -->
| <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
| <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
| <attribute name="dataType" isParam="true">jms</attribute>
| <attribute name="socket.check_connection" isParam="true">false</attribute>
| <attribute name="timeout" isParam="true">0</attribute>
| <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
| <attribute name="serverBindPort">4457</attribute>
| <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
| <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
| <attribute name="numberOfCallRetries" isParam="true">1</attribute>
| <attribute name="pingFrequency" isParam="true">214748364</attribute>
| <attribute name="pingWindowFactor" isParam="true">10</attribute>
| <attribute name="onewayThreadPool">org.jboss.jms.server.remoting.DirectThreadPool</attribute>
| <!-- End immutable parameters -->
|
| <!-- Periodicity of client pings. Server window by default is twice this figure -->
| <attribute name="clientLeasePeriod" isParam="true">10000</attribute>
|
| <!-- Number of seconds to wait for a connection in the client pool to become free -->
| <attribute name="numberOfRetries" isParam="true">10</attribute>
|
| <!-- Max Number of connections in client pool. This should be significantly higher than
| the max number of sessions/consumers you expect -->
| <attribute name="JBM_clientMaxPoolSize" isParam="true">200</attribute>
|
| <!-- Use these parameters to specify values for binding and connecting control connections to
| work with your firewall/NAT configuration
| <attribute name="secondaryBindPort">xyz</attribute>
| <attribute name="secondaryConnectPort">abc</attribute>
| -->
|
| </invoker>
| <handlers>
| <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
| </handlers>
| </config>
| </attribute>
| </mbean>
|
| </server>
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124828#4124828
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124828
18 years, 2 months
[Installation, Configuration & DEPLOYMENT] - Configuring Embedded JBoss to run EJB2.1
by chrisrippe
I am trying to figure out how to configure Embedded JBoss to deploy EJB2.1. I am using embedded jboss to run my testng integration tests for a seam application. I am injecting existing EJB2.1 services using the @EJB notation
The application runs fine as configured for Jboss 4.2, but I am missing something when deploying under Embedded, because my EJBs are not deploying.
Does anyone how to configure Embedded JBoss to specify which jar's contain ejb-jar.xml's.
Warning to indicate it did not deploy
[testng] WARN 30-01 09:24:59,087 [org.jboss.injection.EJBHandler.ejbRefDependency():169] IGNORING DEPENDENCY: unable to find @EJB from interface only com.alldata.cis.ejb.beans.ExcelergyCustomerServiceHome in ejb-jar.xml of AccountServiceImplnot used by any EJBs
|
Error when it tries to inject @EJB
[testng] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: ExcelergyCustomerService not bound]
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124824#4124824
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124824
18 years, 2 months
[JBoss Messaging] - Re: long live consumer stops working
by jmesnil
"bodrin" wrote : Ok. I tried to setup jboss-messaging-1.4.0.SP3 on jboss-4.2.2.GA with jboss-remoting-2.2.2.SP4.
|
| I have done all the steps described in [4.1.1. Automated Installation] for clustered installation with two nodes.
|
| When starting there is a problem with the remoting configuration and the messaging factories failed to start:
|
| | 16:48:15,281 ERROR [ConnectionFactory] Parameter pingFrequency is not specified in the remoting congiguration
| |
|
This means that the pingFrequency parameter is not present in the remoting configuration file (presumably remoting-bisocket-service.xml).
You should check that in that file, you have a line like:
| <attribute name="pingFrequency" isParam="true">214748364</attribute>
|
for the bisocket transport configuration.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124811#4124811
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124811
18 years, 2 months
[JBoss Tools (users)] - Re: 64 bit version
by pettersonfp
Hi,
I tried to follow the instructions from naveed.hassam, but when I start the eclipse it crashes and generates a huge log, the begin of it:
| #
| # An unexpected error has been detected by HotSpot Virtual Machine:
| #
| # SIGFPE (0x8) at pc=0x00002b8e71ff8b83, pid=17008, tid=47890803582672
| #
| # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_14-b03 mixed mode)
| # Problematic frame:
| # C [ld-linux-x86-64.so.2+0x7b83]
| #
|
| --------------- T H R E A D ---------------
|
| Current thread (0x0000000040116310): JavaThread "main" [_thread_in_vm, id=17008]
|
| siginfo:si_signo=8, si_errno=0, si_code=1, si_addr=0x00002b8e71ff8b83
|
| Registers:
| RAX=0x00000000043e4d73, RBX=0x0000000000000000, RCX=0x0000000000000000, RDX=0x0000000000000000
| RSP=0x00007fff38ab08e0, RBP=0x00007fff38ab0ad0, RSI=0x00000000043e4d73, RDI=0x00002aaac03a21ff
| R8 =0x00002aaaae800bd0, R9 =0x0000000000000000, R10=0x0000000000000000, R11=0x0000000000000000
| R12=0x00007fff38ab0a90, R13=0x00002aaaae800920, R14=0x0000000000000000, R15=0x00002aaabff8a270
| RIP=0x00002b8e71ff8b83, EFL=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000000
| TRAPNO=0x0000000000000000
|
| Top of Stack: (sp=0x00007fff38ab08e0)
| 0x00007fff38ab08e0: 00002aaa00000000 0000000000000000
| 0x00007fff38ab08f0: 00007fff38ab0a90 00002aaac03a2150
| 0x00007fff38ab0900: 00000000043e4d73 00002aaac03a21ff
| 0x00007fff38ab0910: 0000000000000000 0000000000000008
| 0x00007fff38ab0920: 00002aaabff8a810 00002aaabff8ac56
| 0x00007fff38ab0930: 0000000000000000 0000000000000000
| 0x00007fff38ab0940: 00002b8e7221ea42 00002aaab0349ed8
| 0x00007fff38ab0950: 0000000000000002 00002b8e72321000
| 0x00007fff38ab0960: 00007fff38ab0920 00002aaaae8015e0
| 0x00007fff38ab0970: 00007fff38ab0ad0 00007fff38ab0a90
| 0x00007fff38ab0980: 00000000043e4d73 0000000000000000
| 0x00007fff38ab0990: 00002aaac03a21ff 00002b8e71ff8f9a
| 0x00007fff38ab09a0: 0000000000000000 00002b8e00000001
| 0x00007fff38ab09b0: 0000000000000000 00002aaa00000000
| 0x00007fff38ab09c0: 00007fff38ab0980 00007fff38ab0c90
| 0x00007fff38ab09d0: 00002aaabff8abcc 0000000000000000
| 0x00007fff38ab09e0: 0000000400000001 0000000040110d10
| 0x00007fff38ab09f0: 0000000000000000 00002aaaae8015d8
| 0x00007fff38ab0a00: 00007fff38ab0b88 00002aaaae801290
| 0x00007fff38ab0a10: 0000000000000000 00002aaab033a0e0
| 0x00007fff38ab0a20: 00007fff38ab09e0 00007fff38ab0c90
| 0x00007fff38ab0a30: 00002aaabff8abb3 00002b8e71ffb5c4
| 0x00007fff38ab0a40: 0000000000000001 00002b8e72009ab0
| 0x00007fff38ab0a50: 00007fff38ab0a10 00007fff38ab0c90
| 0x00007fff38ab0a60: 00002aaabff8aba8 00002b8e71ffb5c4
| 0x00007fff38ab0a70: 0000000000000001 00002aaaae800920
| 0x00007fff38ab0a80: 00007fff38ab0a40 0000001400000004
| 0x00007fff38ab0a90: 0000000000000000 0000000000000000
| 0x00007fff38ab0aa0: 59d6401219cd37e7 00002aaaae801290
| 0x00007fff38ab0ab0: 00002aaac03a1000 0000000000000006
| 0x00007fff38ab0ac0: 00002aaaae801290 00002aaac03a2af0
| 0x00007fff38ab0ad0: 00007fff38ab0bc0 00002b8e71ffa669
|
| Instructions: (pc=0x00002b8e71ff8b83)
| 0x00002b8e71ff8b73: 8b 85 20 03 00 00 48 89 44 24 48 48 8b 44 24 20
| 0x00002b8e71ff8b83: 48 f7 f3 49 8b 85 e0 02 00 00 44 8b 24 90 45 85
|
| Stack: [0x00007fff388b9000,0x00007fff38ab9000), sp=0x00007fff38ab08e0, free space=2014k
| Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
| C [ld-linux-x86-64.so.2+0x7b83]
| C [ld-linux-x86-64.so.2+0x9669]
| C [libc.so.6+0xfc623]
| C [ld-linux-x86-64.so.2+0xb7d1]
| C [libdl.so.2+0x1115]
|
| Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
| j java.lang.ClassLoader$NativeLibrary.load(Ljava/lang/String;)V+0
| j java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/io/File;)Z+300
| j java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+48
| j java.lang.Runtime.load0(Ljava/lang/Class;Ljava/lang/String;)V+57
| j java.lang.System.load(Ljava/lang/String;)V+7
| j org.mozilla.xpcom.internal.JavaXPCOMMethods.registerJavaXPCOMMethods(Ljava/io/File;)V+96
| j org.mozilla.xpcom.internal.MozillaImpl.initialize(Ljava/io/File;)V+1
| j org.mozilla.xpcom.Mozilla.initialize(Ljava/io/File;)V+199
| j org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.initXulRunner()V+38
| j org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.<init>(Lorg/eclipse/swt/widgets/Composite;)V+22
| j org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor.<init>(Lorg/eclipse/swt/widgets/Composite;)V+2
| j org.jboss.tools.vpe.editor.mozilla.MozillaEditor$4.<init>(Lorg/jboss/tools/vpe/editor/mozilla/MozillaEditor;Lorg/eclipse/swt/widgets/Composite;)V+7
| j org.jboss.tools.vpe.editor.mozilla.MozillaEditor.createPartControl(Lorg/eclipse/swt/widgets/Composite;)V+462
| j org.jboss.tools.vpe.editor.VpeEditorPart.createPartControl(Lorg/eclipse/swt/widgets/Composite;)V+520
| j org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.addPage(Lorg/eclipse/ui/IEditorPart;Lorg/eclipse/ui/IEditorInput;)I+65
| j org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.createPagesForWindows()V+40
| j org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.createPages()V+6
| j org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.createPartControl(Lorg/eclipse/swt/widgets/Composite;)V+10
| j org.eclipse.ui.internal.EditorReference.createPartHelper()Lorg/eclipse/ui/IEditorPart;+336
| j org.eclipse.ui.internal.EditorReference.createPart()Lorg/eclipse/ui/IWorkbenchPart;+27
| j org.eclipse.ui.internal.WorkbenchPartReference.getPart(Z)Lorg/eclipse/ui/IWorkbenchPart;+65
| j org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Lorg/eclipse/ui/IEditorReference;Z)Z+12
| j org.eclipse.ui.internal.EditorManager.setVisibleEditor(Lorg/eclipse/ui/IEditorReference;Z)Z+6
| j org.eclipse.ui.internal.EditorManager$5.runWithException()V+21
| j org.eclipse.ui.internal.StartupThreading$StartupRunnable.run()V+1
| j org.eclipse.swt.widgets.RunnableLock.run()V+11
| j org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Z)Z+29
| j org.eclipse.swt.widgets.Display.runAsyncMessages(Z)Z+5
| j org.eclipse.swt.widgets.Display.readAndDispatch()Z+41
| j org.eclipse.ui.application.WorkbenchAdvisor.openWindows()Z+44
| j org.eclipse.ui.internal.Workbench$25.runWithException()V+17
| j org.eclipse.ui.internal.StartupThreading$StartupRunnable.run()V+1
| j org.eclipse.swt.widgets.RunnableLock.run()V+11
| j org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Z)Z+29
| j org.eclipse.swt.widgets.Display.runAsyncMessages(Z)Z+5
| j org.eclipse.swt.widgets.Display.readAndDispatch()Z+41
| j org.eclipse.ui.internal.Workbench.runUI()I+212
| j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1
| j org.eclipse.ui.internal.Workbench$4.run()V+23
| j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
| j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18
| j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
| j org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+81
| j org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+102
| j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
| j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
| j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+149
| j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183
| v ~StubRoutines::call_stub
| j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
| j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
| j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
| j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
| j org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+210
| j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+114
| j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
| j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10
| v ~StubRoutines::call_stub
|
| --------------- P R O C E S S ---------------
|
| Java Threads: ( => current thread )
| 0x00002aaaaaf13690 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=17064]
| 0x00002aaabb38e800 JavaThread "Timer-0" daemon [_thread_blocked, id=17063]
| 0x00002aaabb35ddd0 JavaThread "Java indexing" daemon [_thread_blocked, id=17034]
| 0x00002aaaab291900 JavaThread "Thread-2" [_thread_blocked, id=17033]
| 0x00002aaaae7a5210 JavaThread "Thread-1" [_thread_blocked, id=17032]
| 0x00002aaabbf4a370 JavaThread "Worker-0" [_thread_blocked, id=17031]
| 0x00002aaaab1fe080 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=17022]
| 0x00002aaaae00daf0 JavaThread "State Saver" [_thread_blocked, id=17021]
| 0x00002aaaae00ce70 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=17020]
| 0x00002aaaaab7e960 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=17018]
| 0x00002aaaaab7cdc0 JavaThread "CompilerThread1" daemon [_thread_blocked, id=17017]
| 0x00002aaaaab7b8a0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=17016]
| 0x00002aaaaab7a1f0 JavaThread "AdapterThread" daemon [_thread_blocked, id=17015]
| 0x00002aaaaab78f60 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=17014]
| 0x00002aaaaab650b0 JavaThread "Finalizer" daemon [_thread_blocked, id=17013]
| 0x00002aaaaab64910 JavaThread "Reference Handler" daemon [_thread_blocked, id=17012]
| =>0x0000000040116310 JavaThread "main" [_thread_in_vm, id=17008]
|
Anyone knows what this error means? I use debian etch 64
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124806#4124806
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124806
18 years, 2 months