JMS/WS connection locks
Hello!
I have next configuration:
ws client <- -> service (soap/http) <- -> osb business service <- one-way ssl -> ws provider (basic authentification)
jms client <- -> service (soap/jms) <- -^
Problem:
If run load test ws client - service work fine, but if in moment this test jms client send message then ws service and jms service have locks by 2 min.
ThreadStackDump contains:
"[ACTIVE] ExecuteThread: '39' for queue: 'weblogic.kernel.Default (self-tuning)'" waiting for lock java.util.Vector@6a692986 BLOCKED
java.util.Vector.isEmpty(Vector.java:279)
weblogic.net.http.KeepAliveCache.get(KeepAliveCache.java:150)
weblogic.net.http.HttpClient.findInCache(HttpClient.java:230)
weblogic.net.http.HttpsClient.New(HttpsClient.java:499)
weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:239)If don't use ssl then problem go away.
Do you have ideas about problem?
Thanks
Edited by: laaam on Jun 17, 2010 2:44 PM
I don't know what the issue might be, or whether it involves JMS per se. Check for pools in your thread dump that appear to be completely used up - this situation can lead to having no new threads to process new work or to wake up sleeping threads. It might help to post more detail -- full stack dumps for the blocked JMS, WS, and HTTP threads, or, better yet, the full thread dump. You might also want to try posting to one of these newsgroups:
* WebLogic Server - Web Services
* WebLogic Server - WebApp / Servlet / JSP / Plugin
Regards,
Tom
Similar Messages
-
Weblogic Server 9.2 Crashes when using the JMS Wrapped Connection Pooling.
===== BEGIN DUMP =============================================================
JRockit dump produced after 0 days, 01:05:05 on Thu Sep 16 18:27:36 2010
Additional information is available in:
E:\obopay\servers\EWP_9.2_Domain\jrockit.4516.dump
E:\obopay\servers\EWP_9.2_Domain\jrockit.4516.mdmp
If you see this dump, please open a support case with BEA and
supply as much information as you can on your system setup and
the program you were running. You can also search for solutions
to your problem at http://forums.bea.com in
the forum jrockit.developer.interest.general.
Error Message: Illegal memory access. [54]
Exception Rec: EXCEPTION_ACCESS_VIOLATION (c0000005) at 0x0095065F - memory at 0x00740060 could not be read.
Minidump : Wrote mdmp. Size is 567MB
SafeDllMode : -1
Version : BEA JRockit(R) R27.2.0-131-78843-1.5.0_10-20070320-1457-windows-ia32
GC Mode : Garbage collection optimized for throughput
GC Strategy : Generational Parallel Mark & Sweep
: Current OC phase is: not running. YC is not running.
: GC strategy for GC 36 was genparpar
: GC strategy for GC 37 was genparpar
: GC strategy for GC 38 was genparpar
: GC strategy for GC 39 was genparpar
: GC strategy for GC 40 was genparpar
: mmHeap->data = 0x00C00000, mmHeap->top = 0x10C00000
: The nurserylist starts at 0x01BE75E8 and ends at 0x0CB52440
: mmStartCompaction = 0x00C00000, mmEndCompaction = 0x01C00000
: References are 32-bit.
CPU : Intel Pentium III/Pentium III Xeon SSE SSE2 SSE3 SSSE3 EM64T
Number CPUs : 2
Tot Phys Mem : 3451408384 (3291 MB)
OS version : Microsoft Windows XP version 5.1 Service Pack 3 (Build 2600) (32-bit)
Thread System: Windows Threads
State : JVM is running
Command Line : -Djava.library.path=E:\bea\jrockit90_150_10\bin;E:\bea\jrockit90_150_10\jre\bin;E:\bea\weblogic92\server\native\win\32;E:\bea\weblogic92\server\bin;E:\bea\weblogic92\server\native\win\32\oci920_8 -Dweblogic.management.discover=false -Dplatform.home=E:\bea\weblogic92 -Dwls.home=E:\bea\weblogic92\server -Dwli.home=E:\bea\weblogic92\integration -Dweblogic.Name=myserver -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic -Dweblogic.ext.dirs=E:\bea\patch_weblogic901\profiles\default\sys_manifest_classpath\weblogic_patch.jar Djava.security.auth.login.config=E://workspace/Bhopal/LoginModulesConfig/ewp_loginmodules.config -Djava.naming.factory.initial.ewp.remote=weblogic.jndi.WLInitialContextFactory -Dcom.ewp.proxy.is_remote=false -Djava.naming.provider.url.ewp.remote=t3://localhost:7001 -Dweblogic.webservice.verbose=true -Dweblogic.log.Log4jLoggingEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=true Xdebug -Xnoagent -Dcom.sun.management.jmxremote -Xms256m -Xmx1024m -Dsun.java.launcher=SUN_STANDARD weblogic.Server
java.home : E:\bea\jrockit90_150_10\jre
JAVA_HOME : <not set>
JAVAOPTIONS: <not set>
PATH : E:\bea\jrockit90_150_10\jre\bin;E:\oracle\product\10.2.0\client_1\bin;C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\TortoiseSVN\bin
C Heap : Good; no memory allocations have failed
StackOverFlow: 0 StackOverFlowErrors have occured
OutOfMemory : 0 OutOfMemoryErrors have occured
Registers (from ThreadContext: 0x4B29E378 / OS context: 0x4B29E764):
eax = 00740060 ecx = 00740060 edx = 45a45ba0 ebx = 08c953b8
esp = 4b29ea30 ebp = 00000000 esi = 4b29ea60 edi = 4b29efb4
es = 00000023 cs = 0000001b ss = 00000023 ds = 00000023
fs = 0000003b gs = 00000000
eip = 0095065f eflags = 00010206
Stack:
(* marks the word pointed to by the stack pointer)
4b29ea30: 00981099* 08c953b8 008ab310 4b29eb34 09e5c308 009810ea
4b29ea48: 4b29ead8 0098ecd2 4b29ea60 4b29ea90 48bd8960 48bd8960
4b29ea60: 00000001 45aa0278 45a45ba0 00000007 00000000 08c953b8
4b29ea78: 08512180 4b29ef60 00000000 09d56368 09d563b0 4b29efb4
Code:
(* marks the word pointed to by the instruction pointer)
0095062c: 5e5f0cc4 c35bc033 01b85e5f 5b000000 ccccccc3 0424448b
00950644: a5f06ca3 ccccc300 cccccccc 04244c8b 01a8018b e0830774
0095065c: 8bc88bfe* 40788301 44408b03 af0f0a75 c0830841 f8e08317
00950674: ccccccc3 cccccccc cccccccc 0424448b 00f4888b 158b0000
Loaded modules:
(* denotes the module causing the exception)
00400000-0040ffff E:\bea\jrockit90_150_10\bin\javaw.exe
7c900000-7c9b1fff C:\WINDOWS\system32\ntdll.dll
7c800000-7c8f5fff C:\WINDOWS\system32\kernel32.dll
7e410000-7e4a0fff C:\WINDOWS\system32\USER32.dll
77f10000-77f58fff C:\WINDOWS\system32\GDI32.dll
77dd0000-77e6afff C:\WINDOWS\system32\ADVAPI32.dll
77e70000-77f02fff C:\WINDOWS\system32\RPCRT4.dll
77fe0000-77ff0fff C:\WINDOWS\system32\Secur32.dll
77c10000-77c67fff C:\WINDOWS\system32\MSVCRT.dll
76390000-763acfff C:\WINDOWS\system32\IMM32.DLL
00820000-00a9cfff *E:\bea\jrockit90_150_10\jre\bin\jrockit\jvm.dll
76b40000-76b6cfff C:\WINDOWS\system32\WINMM.dll
71ab0000-71ac6fff C:\WINDOWS\system32\WS2_32.dll
71aa0000-71aa7fff C:\WINDOWS\system32\WS2HELP.dll
7c340000-7c395fff E:\bea\jrockit90_150_10\bin\MSVCR71.dll
5dac0000-5dac7fff C:\WINDOWS\system32\rdpsnd.dll
76360000-7636ffff C:\WINDOWS\system32\WINSTA.dll
5b860000-5b8b4fff C:\WINDOWS\system32\NETAPI32.dll
76bf0000-76bfafff C:\WINDOWS\system32\PSAPI.DLL
6d700000-6d70bfff E:\bea\jrockit90_150_10\jre\bin\verify.dll
6d370000-6d38cfff E:\bea\jrockit90_150_10\jre\bin\java.dll
6d2f0000-6d2f7fff E:\bea\jrockit90_150_10\jre\bin\hpi.dll
6d720000-6d72efff E:\bea\jrockit90_150_10\jre\bin\zip.dll
6d520000-6d527fff E:\bea\jrockit90_150_10\jre\bin\management.dll
6d530000-6d542fff E:\bea\jrockit90_150_10\jre\bin\net.dll
71a50000-71a8efff C:\WINDOWS\system32\mswsock.dll
662b0000-66307fff C:\WINDOWS\system32\hnetcfg.dll
71a90000-71a97fff C:\WINDOWS\System32\wshtcpip.dll
41c00000-41c26fff C:\WINDOWS\system32\DNSAPI.dll
41c30000-41c37fff C:\WINDOWS\System32\winrnr.dll
41c40000-41c6bfff C:\WINDOWS\system32\WLDAP32.dll
41c80000-41c85fff C:\WINDOWS\system32\rasadhlp.dll
68000000-68035fff C:\WINDOWS\system32\rsaenh.dll
769c0000-76a73fff C:\WINDOWS\system32\USERENV.dll
438b0000-438b8fff E:\bea\jrockit90_150_10\jre\bin\nio.dll
41ba0000-41ba9fff E:\bea\jrockit90_150_10\jre\bin\jmapi.dll
41bb0000-41bbdfff E:\bea\weblogic92\server\native\win\32\wlfileio2.dll
43ce0000-43cf8fff C:\WINDOWS\system32\iphlpapi.dll
43d10000-43d27fff C:\WINDOWS\system32\MPRAPI.dll
77cc0000-77cf1fff C:\WINDOWS\system32\ACTIVEDS.dll
43d30000-43d54fff C:\WINDOWS\system32\adsldpc.dll
43d60000-43d70fff C:\WINDOWS\system32\ATL.DLL
43d80000-43ebcfff C:\WINDOWS\system32\ole32.dll
43ec0000-43f4afff C:\WINDOWS\system32\OLEAUT32.dll
43f50000-43f5dfff C:\WINDOWS\system32\rtutils.dll
71bf0000-71c02fff C:\WINDOWS\system32\SAMLIB.dll
43f60000-44052fff C:\WINDOWS\system32\SETUPAPI.dll
44060000-44064fff E:\bea\weblogic92\server\native\win\32\wlntio.dll
44540000-44545fff E:\bea\jrockit90_150_10\jre\bin\rmi.dll
4d010000-4d122fff E:\bea\jrockit90_150_10\jre\bin\dbghelp.dll
"[STANDBY] ExecuteThread: '21' f" id=87 idx=0xf0 tid=4208 lastJavaFrame=0x4B29EB4C
Stack 0: start=0x4B260000, end=0x4B2A0000, guards=0x4B263000 (ok), forbidden=0x4B261000
Thread Stack Trace:
at _mmGetPossibleMovedObjectSize+15()@0x0095065F
at _refIterInit+393()@0x00981099
at _refIterInit+474()@0x009810EA
at _trProcessLocksForThread+66()@0x0098ECD2
at _javalockCouldBeLock+1047()@0x008AB417
at _javalockConvertThinToFat+42()@0x008AC13A
at RJNIjrockit_vm_Locks_convertThinLockedToFatLocked@8+15()@0x00986B1F
-- Java stack --
at jrockit/vm/Locks.convertThinLockedToFatLocked(Ljava/lang/Object;)V(Native Method)
at jrockit/vm/Locks.createMonitorAndConvert(Ljava/lang/Object;Z)Ljrockit/vm/ObjectMonitor;(Unknown Source)
at java/lang/Object.wait(J)V(Native Method)
at java/lang/Object.wait(Object.java:474)
at weblogic/common/CompletionRequest.getResult(CompletionRequest.java:109)
^-- Holding lock: weblogic/common/CompletionRequest@0x09E5C2A8[thin lock]
at weblogic/store/gxa/internal/GXATransactionImpl.commitStoreIO(GXATransactionImpl.java:99)
at weblogic/store/gxa/internal/GXATransactionImpl.doOperationCallbacks(GXATransactionImpl.java:215)
at weblogic/store/gxa/internal/GXAResourceImpl.commit(GXAResourceImpl.java:1448)
at weblogic/transaction/internal/XAServerResourceInfo.commit(XAServerResourceInfo.java:1333)
at weblogic/transaction/internal/XAServerResourceInfo.commit(XAServerResourceInfo.java:577)
at weblogic/transaction/internal/ServerSCInfo.startCommit(ServerSCInfo.java:514)
at weblogic/transaction/internal/ServerTransactionImpl.localCommit(ServerTransactionImpl.java:1993)
at weblogic/transaction/internal/ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:2658)
at weblogic/transaction/internal/ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:2580)
at weblogic/transaction/internal/ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:278)
at weblogic/transaction/internal/ServerTransactionImpl.commit(ServerTransactionImpl.java:227)
at weblogic/deployment/jms/WrappedTransactionalSession.delistFromTransaction(WrappedTransactionalSession.java:258)
^-- Holding lock: weblogic/deployment/jms/PooledSession_weblogic_jms_client_JMSXASession@0x09D56368[thin lock]
at weblogic/deployment/jms/WrappedMessageProducer.send(WrappedMessageProducer.java:149)
at com/obopay/jms/helper/BaseQueueHelper.sendMessage(BaseQueueHelper.java:107)
The above is the jrockit crash dump file..
I am using the JMS Wrapper Connection Poooling provided by Weblogic. When i use Jmeter and do the load testing for around 10 users, the server gets crashed.
I doubt something is going wrong with the Weblogic JMS Connection Pooling, please help me..The problem doesn't look like it has anything to do with wappers per se. The stack indicates that the JVM died when the persistent store tried to invoke a standard Java synchronize operation. JVM crashes need to be analyzed by a JVM expert, so I second the suggestion to solicit help from JVM experts and/or filing a case with customer support. In the mean-time, you can probably work-around the issue by either (A) ensuring you have a recent version of the JVM installed, or (B) temporarily switching to the Sun JVM.
Regards,
tom
Edited by: TomB on Sep 17, 2010 2:33 PM -
Hello!
I have next configuration:
ws client <- -> service (soap/http) <- -> osb business service <- one-way ssl -> ws provider (basic authentification)
jms client <- -> service (soap/jms) <- -^
Problem:
If run load test ws client - service work fine, but if in moment this test jms client send message then ws service and jms service have locks by 2 min.
ThreadStackDump contains:
"[ACTIVE] ExecuteThread: '39' for queue: 'weblogic.kernel.Default (self-tuning)'" waiting for lock java.util.Vector@6a692986 BLOCKED
java.util.Vector.isEmpty(Vector.java:279)
weblogic.net.http.KeepAliveCache.get(KeepAliveCache.java:150)
weblogic.net.http.HttpClient.findInCache(HttpClient.java:230)
weblogic.net.http.HttpsClient.New(HttpsClient.java:499)
weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:239)If don't use ssl then problem go away.
Do you have ideas about problem?
Thanks
Edited by: laaam on Jun 17, 2010 2:44 PMHi,
Maybe this is caused by the Vector is synchronized instead of the List, if so there is this limitation in the WLS http connection. Not sure whether you can use the JDK https connection instead:
System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
HTH,
kevin -
PI7.1 JMS Adapter - connect to NW6.40
Hello,
We are facing following problem on SAP PI:
We have a scenario where PI (version 7.1) is connecting to another SAP NetWeaver system (version 6.40). There is an application that reads/puts messages from/to JMS Queues running on this system. PI has to connect the JMS Provider of 6.40 system and read/put these messages from/to these JMS Queues.
This scenario worked fine till we used XI 3.0 (NW6.40). We configured sender JMS channel with link to remote JMS Server and parameter "force_remote".
After installation of new PI7.1 we noticed some issues:
1.the connection is unstable. Sending JMS messages from PI to NW6.40 queue works a while but then we get error like this:
Adapter Framework caught exception: Unable to write new JMS message body for message: 00237d29-13fc-02ed-ba85-01d046631592: ConnectorException: Connector for ConnectionProfile of channel: EON_CC_jms_rcv_omsmessageon node: 922834950 having object id: 70855b1c6c483e869982ea2fe9787b36 was unable to create a new javax.jms.TextMessage message: javax.jms.IllegalStateException: Session is closed.
2. we cannot read messages from JMS Queue of NW6.40 at all. The messages are there in queue, communication channel is running and succesfully connected to queue but no message is processed and no error shows in communication channel monitoring.
Has anybody solve similar problem with connection between 7.1 and 6.40 NetWeaver?
I think the problem can be backward incompatibility of 7.1 SAP JMS libraries against 6.40. If this is true then the question is whether it is possible to deploy old libraries and run them simultaneously with native 7.1 libraries?
Thanksproblem sorted - factory property settings were not configured correctly in JMS Adapter connection pool
-
Using JMS to connect to Sun's 1.4 J2EE server
Hi,
I've been reading around various postings detailing how to connect to J2EE servers at runtime, and they all seem to follow the format:
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.enterprise.naming.SerialInitContextFactory");
props.put(Context.PROVIDER_URL, "rmi://localhost");
// Create a JNDI API InitialContext object
// (may throw a NamingException)
jndiContext = new InitialContext(props);
But none of the discussion is totally complete. It seems incredibly difficult to connect to a J2EE server, and the documentation on the issue is incredibly poor.
I'd like to do this without the 'appclient' program that comes with Sun's J2EE server as I wish to have a development environment that can start up, connect to the J2EE server, and send messages.
So has anyone managed to get this to work?
I'm confused to where the username and password go. I've seen other suggestions to make the above work, including:
props.put("org.omg.CORBA.ORBInitialPort", "3700");
props.put("org.omg.CORBA.ORBInitialHost", "localhost");
ORB orb = ORB.init(new String[] {}, props);
props.put("java.naming.corba.orb", orb);
Therefore can anyone clear this up for me! A few lines of code, showing exactly how I can connect to a J2EE server.
All I want to do is send a few messages.. :)
Cheers
JohnHello everyone;
Actually I have a error below;
Feb 23, 2006 11:52:27 PM com.sun.corba.ee.spi.logging.LogWrapperBase doLog
INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/1973"
Feb 23, 2006 11:52:36 PM com.sun.enterprise.connectors.util.SetMethodAction handleException
WARNING: RAR7096: Exception null while trying to set the value on property Name
Feb 23, 2006 11:52:36 PM com.sun.enterprise.naming.SerialContext lookup
SEVERE: NAM0004: Exception during name lookup : {0}
com.sun.enterprise.resource.PoolingException
at com.sun.enterprise.connectors.AdministeredObjectResource.createAdministeredObject(AdministeredObjectResource.java:143)
at com.sun.enterprise.naming.factory.AdministeredObjectFactory.getObjectInstance(AdministeredObjectFactory.java:89)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at javaapplication17.Main.main(Main.java:39)
Caused by: java.security.PrivilegedActionException: com.sun.enterprise.connectors.ConnectorRuntimeException
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.enterprise.connectors.AdministeredObjectResource.createAdministeredObject(AdministeredObjectResource.java:139)
... 5 more
Caused by: com.sun.enterprise.connectors.ConnectorRuntimeException
at com.sun.enterprise.connectors.util.SetMethodAction.handleException(SetMethodAction.java:110)
at com.sun.enterprise.connectors.util.SetMethodAction.run(SetMethodAction.java:96)
... 7 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.connectors.util.SetMethodAction.run(SetMethodAction.java:69)
... 7 more
Caused by: java.lang.IllegalArgumentException: MQ:Queue:Invalid Queue Name -
at com.sun.messaging.Queue.setName(Queue.java:64)
... 12 more
javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.resource.PoolingException]
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:317)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at javaapplication17.Main.main(Main.java:39)
Caused by: com.sun.enterprise.resource.PoolingException
at com.sun.enterprise.connectors.AdministeredObjectResource.createAdministeredObject(AdministeredObjectResource.java:143)
at com.sun.enterprise.naming.factory.AdministeredObjectFactory.getObjectInstance(AdministeredObjectFactory.java:89)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
... 2 more
Caused by: java.security.PrivilegedActionException: com.sun.enterprise.connectors.ConnectorRuntimeException
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.enterprise.connectors.AdministeredObjectResource.createAdministeredObject(AdministeredObjectResource.java:139)
... 5 more
Caused by: com.sun.enterprise.connectors.ConnectorRuntimeException
at com.sun.enterprise.connectors.util.SetMethodAction.handleException(SetMethodAction.java:110)
at com.sun.enterprise.connectors.util.SetMethodAction.run(SetMethodAction.java:96)
... 7 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.connectors.util.SetMethodAction.run(SetMethodAction.java:69)
... 7 more
Caused by: java.lang.IllegalArgumentException: MQ:Queue:Invalid Queue Name -
at com.sun.messaging.Queue.setName(Queue.java:64)
... 12 more
I tried everything in this form but I could not send a message to queue from my standalone client.
I am trying to communicate with my application server throught JMS almost a week. But I could not get any result. I even read twice some forms. Actually all I can say I progressed to here..
My code is below...
Context initialContext = new InitialContext();
javax.jms.QueueConnectionFactory factory = (javax.jms.QueueConnectionFactory) initialContext.lookup("jmsFactory");
Destination queue = (javax.jms.Queue) initialContext.lookup("jmsQueue");
javax.jms.QueueConnection connection = factory.createQueueConnection();
javax.jms.QueueSession session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
On the jmsQueue lookup there is the error... I create all the resources in my Sun System Application Server 8.2 PE...
Please help or say some thing?
..... -
Javax.jms: Interface Connection
Hi all.
In the above interface is said:
"A Connection object is a client's active connection to its JMS provider. It typically allocates provider resources outside the Java virtual machine (JVM). "
What does this part exactly mean?
"It typically allocates provider resources outside the Java virtual machine (JVM)."
Thanks in advance.Can you also help me on this please; I have this piece of code; factory is an object of type: progress.message.jclient.ConnectionFactory
Then createConnection() returns an object of type: Connection: javax.jms Interface Connection
But shouldn't Connection be a class and not an interface?
Any help is greatly appreciated.
public class Chat
implements javax.jms.MessageListener
private javax.jms.Connection connect = null;
private javax.jms.Session pubSession = null;
private javax.jms.Session subSession = null;
private javax.jms.MessageProducer publisher = null;
/** Create JMS client for publishing and subscribing to messages. */
private void chatter( String broker, String username, String password)
// Create a connection.
try
// factory is an object of type: progress.message.jclient.ConnectionFactory
javax.jms.ConnectionFactory factory;
factory = (new progress.message.jclient.ConnectionFactory (broker));
connect = factory.createConnection (username, password);
pubSession = connect.createSession(false,javax.jms.Session.AUTO_ACKNOWLEDGE);
subSession = connect.createSession(false,javax.jms.Session.AUTO_ACKNOWLEDGE);
catch (javax.jms.JMSException jmse)
System.err.println("error: Cannot connect to Broker - " + broker);
jmse.printStackTrace();
System.exit(1);
} -
HP Laserjet m602 firmware upgrade successful_network connection locks up printer
Our laserjet m602dn control panel displayed that a firmware update was successful, but connecting the ethernet cable to the printer locks it up. The update removed a blinking amber attention light (on control panel) that kept the printer from going into "Ready" mode.
After the firmware update, the printer displays "Ready"; printing works through a local connection; pinging to the ip address fails. Can a firmware update be successful on a defective jetdirect/formatter board? If the board is defective, why does a local connection work?
Are there any known issues with the following part: CE988-67906?
Thank you.
JPJP_VA,
I am sorry, but to get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial printer. You can do this at http://h30499.www3.hp.com/hpeb/ .
I hope this helps.
↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓ -
Hi Experts ,
I have a sticky problem while posting the data from JMS to File System ,
in CC monitoring i got success message that adapter is successfully connected to JMS queue but no data is available while checking 'sxmb_moni'
Note :in this requirement we are doing content conversion in JMS Sender adapter
we r not able to get the data into XI even we connected to JMS with all the proper connections of the JMS queue
the mesage we got in the CC:Sucessfully connected to destination 'jms/queue/SendEscFeedweblogic_DXG'
help me how to get the data into XI for Suitable reward
Thanks
Shoukathhi shoukath,
Can you check in message monitoring, to check out audit logs and we come to what is the error exactly.
or even you can check the logs at
http://<Hostname>:<portnumber>/MessagingSystem/monitor/monitor.jsp
regards
Ramesh P -
Error with the Receiver JMS Adapter (Connection On-Demand feature)
Hi,
In high volume we are experiencing errors with the Receiver JMS Adapter and the connection On-demand feature:
Adapter Framework caught exception: while trying to invoke the method com.sap.aii.adapter.jms.api.connector.DisconnectorListener.notifyEvent(java.lang.String) of an object loaded from local variable 'listener'
Delivering the message to the application using connection JMS_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: while trying to invoke the method com.sap.aii.adapter.jms.api.connector.DisconnectorListener.notifyEvent(java.lang.String) of an object loaded from local variable 'listener'.
The message status was set to WAIT.
Looks like the message is successfuly reprocess after the wait period but the ALEAUD/Akcnowledgment are not successful in the sender ECC system. (SAP -> PI - > JMS)
Any idea?
PI 7.1 EHP1
Thanks,
Martin
/people/sunil.ojha5/blog/2010/08/31/review-of-sap-pi-jms-adapter-on-demand-connection-feature
Edited by: Martin Lavoie Rousseau on Jun 3, 2011 3:21 PMPlease ensure to have specified an User and password to connect to JMS server (don't leave the fields empty).
-
HELP: Connectivity locked up problem
Firstly I am sorry about I don't know this is the right place to post this thread...
I have a Nokia 5800 Xpressmusic. And I have a problem with it. When I tap into "Menu-Settings-Connectivity" and try to exit from there my "Settings" menu locked up. It shows that "Settings" menu always running background. And I can't tap anymore "Settings" menu until restart my phone. How can I resolve this problem?I write my step by step and i attached two pictures to understand my problem easily.
And please replace extension to jpg from txt.
1) I tap menu button and it opens menu. (picture 5800mainmenu.jpg) but for now ignore red circle in the picture.
2) Then I tap "Settings" from main menu and it opens settings for phone (picture 28.jpg)
3) Then I tap "Connectivity" from settings menu and it opens another menu. (I couldn't attach third picture. sorry for that)
4) I tap "Exit" from "Connectivity" and it don't. It partially locked up. I mean i can't use "Settings" menu if dont restart my phone. It always show busy "Settings" menu like in picture 1 that marked with red circle.
I hope it would be more understandable...
Attachments:
5800mainmenu.txt 82 KB
28.txt 43 KB -
Connecting locked ipod to new computer
I have a 2nd generation ipod touch that is locked and the screen say connect to itunes. When I connect to my mac, itunes doesn't recognize the ipod because this computer is not the original computer that it was synced to. How can I reset the ipod and the passcode?
From http://support.apple.com/kb/HT1212
If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone and iPod touch software: http://support.apple.com/kb/HT1414 -
ORA-25228 error occurs when Foreign JMS Server connecting to the Oracle AQ
Hi,
I configure of a Foreign JMS Server that uses the Oracle JDBC Driver to connect to the AQ Topic. I use OSB messaging proxy service as a JMS client to connect the Foreign JMS Server. After the launch, I get the following error:
####<Jan 30, 2013 4:51:49 AM MSK> <Error> <EJB> <EPRUSARW0520> <osb_server1> <RequestEJB7826682746890400115XX35047bed.13c85602eea.X7f53> <<anonymous>> <> <0000Jm8w2Es6qI_5xRh8iW1H1sMk0001sD> <1359507109078> <BEA-010079> <An error occurred while attempting to receive a message from JMS for processing by a message-driven bean: oracle.jms.AQjmsException: JMS-120: Dequeue failed
Nested exception: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at line 11
ORA-25228: timeout or end-of-fetch during message dequeue from MDM.ALL_NSI
The exception is : oracle.jms.AQjmsException: JMS-120: Dequeue failed
at oracle.jms.AQjmsError.throwEx(AQjmsError.java:315)
at oracle.jms.AQjmsConsumer.jdbcDequeue(AQjmsConsumer.java:1620)
at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:1035)
at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:960)
at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:938)
at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:790)
at weblogic.deployment.jms.WrappedMessageConsumer.receive(WrappedMessageConsumer.java:201)
at weblogic.ejb.container.internal.JMSMessagePoller$1.run(JMSMessagePoller.java:262)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.ejb.container.internal.JMSConnectionPoller.doPrivilegedJMSAction(JMSConnectionPoller.java:2752)
at weblogic.ejb.container.internal.JMSMessagePoller.processOneMessage(JMSMessagePoller.java:257)
at weblogic.ejb.container.internal.JMSMessagePoller.pollContinuously(JMSMessagePoller.java:351)
at weblogic.ejb.container.internal.JMSMessagePoller.pollForParent(JMSMessagePoller.java:483)
at weblogic.ejb.container.internal.JMSMessagePoller.run(JMSMessagePoller.java:499)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at line 11
ORA-25228: timeout or end-of-fetch during message dequeue from MDM.ALL_NSI
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:397)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
at oracle.jdbc.driver.T4Caqdq.processError(T4Caqdq.java:497)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4Caqdq.doOAQDQ(T4Caqdq.java:183)
at oracle.jdbc.driver.T4CConnection.doDequeue(T4CConnection.java:4704)
at oracle.jdbc.driver.PhysicalConnection.dequeue(PhysicalConnection.java:17863)
at oracle.jdbc.driver.PhysicalConnection.dequeue(PhysicalConnection.java:17949)
at oracle.jdbc.OracleConnectionWrapper.dequeue(OracleConnectionWrapper.java:1624)
at weblogic.jdbc.wrapper.XAConnection_oracle_jdbc_driver_LogicalConnection.dequeue(Unknown Source)
at weblogic.jdbc.wrapper.JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection.dequeue(Unknown Source)
at oracle.jms.AQjmsConsumer.jdbcConnectionDequeueCheck25242(AQjmsConsumer.java:1713)
at oracle.jms.AQjmsConsumer.jdbcDequeue(AQjmsConsumer.java:1295)
... 13 moreHowever, when I put message to AQ topic, the OSB proxy receives and processes it. But SQLException occurs every five seconds and pollute logs.
Request help to resolve this.
Thanks in advance.
Regards
Alexander.Maybe this can help: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::p11_question_id:4018285967344
-
Connecting lock-in amplifier to USB-6009/6211
I am working on re-setting up a labview environment in the lab I work at. We are using a SR810 DSP lock-in amplifier and want to bring the data into labview. The labview code says that in the past we used a USB-6009 to read in data from the lock-in amplifier. The output ports on the lock-in are an RS232(DCE), a IEEE-488 port, and a preamp port. Is there someway to feed one of these outputs into the DAQ that we have. Thanks
An RS232 or GPIB connection directly to the computer would be best, but if you insist on using the 6009, run a line from the CH1 outut BNC on the front panel of the lockin into the DAQ device. Note that this is a -10 to 10 V output and that the mapping to the actual LIA voltage depends on the sensitivity setting of the lockin (see pgs 4-2 and 4-12 of the 810 manual).
-
Hi Guys:
I have a Server application in C++. This application connects with Oracle DataBase (9.2.0.5). The application fork in 8 child process, and each one keep a connection with the database. But after several transactions received and update in the DB, the child process is locked waiting for answer from oracle.
I think is init.ora issue. Could anybody guide me with that?
Thanks a lot.Hi,
Does each of the child processes do a commit after having done their part of insert/updates. There is every likelihood of processes waiting for a particular row to get unlocked (which happens only on a commit).
Thanks
Sumit -
JMS active connections to MQ Series
Hi There,
Is there any algorithm to calculate MDB's active connections opened to MQ?
Thanks in advance,
NaveenThe number of connections to MQ depends on the number of threads that your MDB uses
if yourMDB is configured to run with a custom work manager , than the easy way to track the number of connections is to monitor the number of thread scheduled to run the MDB insatances
also , if your MDB is using the JMSWrapper (foreign JMS server ) than you can monitor the number of jmsdispatcher threads
Maybe you are looking for
-
Hi all, I have a new 24 inch iMac, running 10.5.3 and lately it seems to wake up, sometimes of its own accord, and the mouse and all applications are frozen......this has occurred on about 4/5 occasions now. I do a force shutdown, which I don't like
-
Ipod touch doesn't work with latest itunes install
Ok, I've been around the block too many times. Somebody, pleez help! I have a 3rd generation ipod touch. Couldn't connect to itunes (previous install for our nano and classic). Uninstalled it. Downloaded fresh, latest, 64bit installation. Tons of pro
-
Double backup two MacBook Pros each physically connected to their own external disks?
We have two MacBook Pros 17" (an early 2008 and a late 2011) connected by WiFi, both running OSX 10.9.3 and each physically connected to their own My Book external disks. After I started the first MacBook Pro's backup to add the second MacBook Pro's
-
NFS and LDAP on different servers: Problems with location of home director
Dear Apple Experts. We are using LDAP server for user authentification and NFS server for home directories. Both are decictaed servers on differnt machines. on the NFS server there are directories /home/urpi for staff's home directories and /home/stu
-
Hi all, Here is a simple question concerning report and multithreading. I want to execute two sequences, called sequence A and sequence B, in parallel from a MainSequence. Both sequences should be execute in new threads. Here is my problem: The gener