Sun Messaging Queue (Sun MQ) Connectivity Error - recv failed
Dear Readers
I am using following code to connect to SUN MQ Server.
I only have IP Address, Port number and username password of server. JMS Server has three brokers having their own ports.
com.sun.messaging.ConnectionFactory myConnFactory = new com.sun.messaging.ConnectionFactory();
myConnFactory.setProperty(com.sun.messaging.ConnectionConfiguration.imqBrokerHostName,"19.11.12.3");
myConnFactory.setProperty(com.sun.messaging.ConnectionConfiguration.imqBrokerHostPort,"141");
myConnFactory.setProperty(com.sun.messaging.ConnectionConfiguration.imqDefaultUsername,"ad1min");
myConnFactory.setProperty(com.sun.messaging.ConnectionConfiguration.imqDefaultPassword,"ad1min");
Connection myConn = myConnFactory.createConnection();
but when i try to run this code the exception comes given below
After then i just commented Hostname and Port section and added following to it:
myConnFactory.setProperty(com.sun.messaging.ConnectionConfiguration.imqAddressList, "mq://19.11.12.3:141");
but i got same exception with slight difference:
Exception:
+15 Feb, 2013 12:32:08 PM com.sun.messaging.jmq.jmsclient.ExceptionHandler throwConnectionException+
+Exception occurred : com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection creation [19.11.12.3:141]. - cause: java.net.SocketException: Software caused connection abort: recv failed+
+WARNING: [C4003]: Error occurred on connection creation [19.11.12.3:141]. - cause: java.net.SocketException: Software caused connection abort: recv failed+
+com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection creation [19.11.12.3:141]. - cause: java.net.SocketException: Software caused connection abort: recv failed+
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.throwConnectionException(ExceptionHandler.java:274)
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleConnectException(ExceptionHandler.java:220)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:241)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:150)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient.java:92)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>(TCPConnectionHandler.java:164)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TCPStreamHandler.java:135)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:778)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnectionNew(ConnectionInitiator.java:254)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:208)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:158)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:816)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.java:1529)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:2327)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:1024)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:418)
at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:60)
at com.sun.messaging.BasicConnectionFactory.createConnection(BasicConnectionFactory.java:147)
at com.sun.messaging.BasicConnectionFactory.createConnection(BasicConnectionFactory.java:132)
at demo.JAMS.main(JAMS.java:31)
Caused by: java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at com.sun.messaging.jmq.io.PortMapperTable.readLine(PortMapperTable.java:310)
at com.sun.messaging.jmq.io.PortMapperTable.read(PortMapperTable.java:266)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:235)
+... 17 more+
I also used imqadmin command and tried same credentials from console but i got same error
Anyone please guide me what issue is actually?
Is this server side issue? Is this access rights issue.
Tried to google it but unable to find correct solutions
>
I also used imqadmin command and tried same credentials from console but i got same errorTry using imqcmd
imqcmd query bkr -b 19.11.12.3:141
(you will be prompted for user and password)
Try running this command from your client machine and also from 19.11.12.3 (i.e. locally to the broker)
This command simply displays a few lines of info about the broker, and is a simple way to confirm that you can connect to the broker.
>
Anyone please guide me what issue is actually?
Is this server side issue? Is this access rights issue.
Tried to google it but unable to find correct solutionsCan you confirm that the broker listening on 19.11.12.3:141 has started correctly? Have you looked at the broker log? If the broker has started successfully there should be a message something like "Broker "19.11.12.3:141" ready".
Nigel
Similar Messages
-
Propagating AQ messages to Sun messaging queue
We have a business requirement to sync our application data with external application (.NET). Our approach is to use Oracle streams AQ and propagate the message to external Sun messaging queue.We are planing to write MDB for AQ messages and place this message on to Sun messaging Queue. Is there any easy approach to propagate the meesage from AQ to Sun messaging queue? I guess Oracle gateway message adapter supports only MQ series and TIBCO queues.
Thanks,
ManuSo far 50 people have viewed your posting and not replied so I'm going to throw in my two cents.
You have, in a single post devoid of version numbers, mentioned:
DOT NET
AQ
TIBCO
MQ
Sun
MDB
My impression is that you are grossly over-complicating something but having not given a business case I have no idea what that something is.
Just taking the first sentence ... please explain how one synchronizes application data with something that is a software component. That statement communicates nothing from which someone can give you any advice. -
"Software caused connection abort: recv failed" from Applet in IE to JBoss
Hi
We have an application hosted as applets on our web-site, but offer the
same application to customers as a "standalone" off-line version. This
off-line version is the same code-base, deploy and HTML but run from the
local file system (in the absence of a web-server).
I have a J2EE Jasper Reporting framework running in JBoss. On the off-line
product JBoss runs on the same machine.
The on-line version works perfectly in both IE and FireFox.
The off-line version works perfectly in FireFox, but alas, NOT in IE!
First, here's some code:
private JasperPrint generateReport() {
Hashtable enva = new Hashtable();
System.out.println("enva.put(\"java.naming.factory.initial\", \"org.jnp.interfaces.NamingContextFactory\");");
enva.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
System.out.println("enva.put(\"java.naming.factory.url.pkgs\", \"org.jboss.naming:org.jnp.interfaces\");");
enva.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
int port = 1099;
String host = "127.0.0.1";
System.out.println("enva.put(\"java.naming.provider.url\", \"jnp:// " + host + ":" + port);
enva.put("java.naming.provider.url", "jnp:// " + host + ":" + port);
try {
System.out.println("Context ictx = new InitialContext(enva);");
Context ictx = new InitialContext(enva);
System.out.println("Object o = ictx.lookup(\"java:/SessionReport\");");
Object o = ictx.lookup("java:/SessionReport");
System.out.println("SessionReportControllerHome home = (SessionReportControllerHome) PortableRemoteObject.narrow(o, SessionReportControllerHome.class);");
SessionReportControllerHome home = (SessionReportControllerHome) PortableRemoteObject.narrow(o, SessionReportControllerHome.class);
System.out.println("SessionReportController remote = home.create();");
SessionReportController remote = home.create();
PSIberRDSParameterSEIFSAPensionProvidendFund rVO = new PSIberRDSParameterSEIFSAPensionProvidendFund();
//call the function on remote
try {
JasperPrint jasperPrint = new JasperPrint();
JasperVO jasperVO = remote.generateMyJasperReport(rVO);
jasperPrint = jasperVO.getJasperPrint();
return jasperPrint;
} catch (Exception re) {
System.err.println("remote exception is " + re.getMessage());
} catch (Exception e) {
e.printStackTrace();
return null;
}This function returns a net.sf.jasperreports.engine.JasperPrint object wich I
feed to the JasperViewer.
Here's the output in my Java console:
enva.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
enva.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
enva.put("java.naming.provider.url", "jnp:// 127.0.0.1:1099
Context ictx = new InitialContext(enva);
Object o = ictx.lookup("java:/SessionReport");
javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
java.net.SocketException: Software caused connection abort: recv failed]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
at javax.naming.InitialContext.lookup(Unknown Source)
at psiber.v2.pp.psiberworks.server.MessageRouter_PAY.callSEIFSAPensionProvidentFundReport(MessageRouter_PAY.java:15159)
at psiber.v2.pp.psiberworks.server.MessageRouter_PAY.getPayAppletDataImpl(MessageRouter_PAY.java:14895)
at psiber.v2.pp.psiberworks.server.MessageRouter_PAY.getAppletDataImpl(MessageRouter_PAY.java:14228)
at psiber.v2.pp.psiberworks.server.MessageRouter.getAppletData(MessageRouter.java:135)
at psiber.v2.pp.psiberworks.server.RemoteSessionImpl.getAppletDataImpl(RemoteSessionImpl.java:734)
at psiber.v2.pp.psiberworks.server.RemoteSessionImpl.access$0(RemoteSessionImpl.java:710)
at psiber.v2.pp.psiberworks.server.RemoteSessionImpl$1.exec(RemoteSessionImpl.java:668)
at psiber.v2.pp.psiberworks.server.SynchronizedAccessController.doExecuteQuery(SynchronizedAccessController.java:61)
at psiber.v2.pp.psiberworks.server.SynchronizedAccessController.executeQuery(SynchronizedAccessController.java:137)
at psiber.v2.pp.psiberworks.server.RemoteSessionImpl.getAppletData(RemoteSessionImpl.java:690)
at psiber.v2.pp.psiberworks.client.RemoteSessionProxy.getAppletData(RemoteSessionProxy.java:109)
at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.getAppletData(PsiberPayReportWizardApplet.java:7094)
at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.callSEIFSAPensionProvidentFundReport(PsiberPayReportWizardApplet.java:14492)
at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.processSelectedReport(PsiberPayReportWizardApplet.java:14091)
at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.onNextButtonPressed(PsiberPayReportWizardApplet.java:13229)
at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.actionPerformed(PsiberPayReportWizardApplet.java:361)
at java.awt.Button.processActionEvent(Unknown Source)
at java.awt.Button.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
java.net.SocketException: Software caused connection abort: recv failed
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
... 28 more
Caused by: java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.DataInputStream.readByte(Unknown Source)
... 32 more
remote exception is null
You'll see just as the InitialContext.lookup is executed a
javax.naming.CommunicationException is thrown.
I have re-tried changing hostnames, ip addresses etc.
Port 1099 is allowed on Personal Firewall and I even diabled it to be sure.
Like I said, it works fine in FireFox.
I'm running Windows XP Version 5.1 (Build 2600.xpsp_sp2_gdr.050501-1519 : Service Pack 2)
and IE Version 6.0.2900.2180.xpsp_sp2_gdr.050501-1519
and SUN JAVA Version 1.4.2_06 (build 1.4.2_06-b03)
I have tested this on 1.5.0 (build 15.0_02-b09) with the same result.
Please help! F1! F1! F1!
Thanks in advance :DHello again
I have discovered more info. I'm not realy enthusiastic about these latests
findings and I realy hope someone can help me figure a work around.
Intermittently I get this stack trace in the java console:
enva.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
enva.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
enva.put("java.naming.provider.url", "jnp://localhost:1099
Context ictx = new InitialContext(enva);
Object o = ictx.lookup("java:/SessionReport");
javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.net.MalformedURLException: no protocol: Files/psiberworks/lib/pcl.jar]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
at javax.naming.InitialContext.lookup(Unknown Source)
at psiber.v2.pp.psiberworks.server.MessageRouter_PAY.callSEIFSAPensionProvidentFundReport(MessageRouter_PAY.java:15160)
at psiber.v2.pp.psiberworks.server.MessageRouter_PAY.getPayAppletDataImpl(MessageRouter_PAY.java:14895)
at psiber.v2.pp.psiberworks.server.MessageRouter_PAY.getAppletDataImpl(MessageRouter_PAY.java:14228)
at psiber.v2.pp.psiberworks.server.MessageRouter.getAppletData(MessageRouter.java:135)
at psiber.v2.pp.psiberworks.server.RemoteSessionImpl.getAppletDataImpl(RemoteSessionImpl.java:734)
at psiber.v2.pp.psiberworks.server.RemoteSessionImpl.access$0(RemoteSessionImpl.java:710)
at psiber.v2.pp.psiberworks.server.RemoteSessionImpl$1.exec(RemoteSessionImpl.java:668)
at psiber.v2.pp.psiberworks.server.SynchronizedAccessController.doExecuteQuery(SynchronizedAccessController.java:61)
at psiber.v2.pp.psiberworks.server.SynchronizedAccessController.executeQuery(SynchronizedAccessController.java:137)
at psiber.v2.pp.psiberworks.server.RemoteSessionImpl.getAppletData(RemoteSessionImpl.java:690)
at psiber.v2.pp.psiberworks.client.RemoteSessionProxy.getAppletData(RemoteSessionProxy.java:109)
at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.getAppletData(PsiberPayReportWizardApplet.java:7094)
at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.callSEIFSAPensionProvidentFundReport(PsiberPayReportWizardApplet.java:14492)
at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.processSelectedReport(PsiberPayReportWizardApplet.java:14091)
at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.onNextButtonPressed(PsiberPayReportWizardApplet.java:13229)
at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.actionPerformed(PsiberPayReportWizardApplet.java:361)
at java.awt.Button.processActionEvent(Unknown Source)
at java.awt.Button.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.net.MalformedURLException: no protocol: Files/psiberworks/lib/pcl.jar
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:534)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
... 28 more
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.net.MalformedURLException: no protocol: Files/psiberworks/lib/pcl.jar
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:249)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.MalformedURLException: no protocol: Files/psiberworks/lib/pcl.jar
at java.net.URL.<init>(URL.java:537)
at java.net.URL.<init>(URL.java:434)
at java.net.URL.<init>(URL.java:383)
at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147)
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631)
at org.jboss.system.JBossRMIClassLoader.loadClass(JBossRMIClassLoader.java:79)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:200)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at javax.naming.CompoundName.readObject(CompoundName.java:554)
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:324)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:297)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:246)
... 6 more
remote exception is null
So why would I get a java.net.MalformedURLException?!?! And why is the
classloader having problems loading on of the referenced jars?!
It's that space in "Program Files"......
So I copied the folder to D:\Temp and.... volla!! the off-line deploy of the
application now works fine in Internet Explorer. It's that space!
So this is my theory, when the initialcontext.lookup is called the classnames specified are reflected, instanciated etc. So when the applet gets the
document base from the browser IE gives it "C:\Program Files\" and not an
encoded "file://C:\Program%20Files\" and the spaces causes the classloader
(or something) to not parse the path correctly and causes a bad URL.
If I type the encoded URL in IE's address bar it finds the HTML, displayes it and changes the address bar contents back to "C:\Program Files".
FireFox doen't do this, and therefore works.
Does anyone know if their is a patch for IE, or if there is another way to
connect to JBoss?
How frustrating!! IE Stuffs up the encoded URLS!!! -
CreateTab ContentStorage, connect error SQLConnect failed
Hello All,
I am trying to create a content repository for our Content Server in transaction CSADMIN but am getting the following error message:
HTTP error: 500 (Internal Server Error)
"CreateTab ContentStorage, connect error
SQLConnect failed, [Microsoft][ODB Driver
Manager] Data s
The Database is Online, the 'SAPDB: UCS' service is running and the SAP_Content_Server IIS is running. I can see no error messages in the logs.
Anyone know what the cause of this error could be?
ThanksThanks for answering your own question for others to see James. Did you award yourself points?
Follow on question for you; did you use the word Livecache in the statement? I'm not familiar with ODBC so don't want to break anything.
This is the statement from note 301352. I'm installing Content Server, not LiveCache:
odbcreg LiveCache -i -p c:\sapdb\programs\pgm
Thanks,
David -
When I go to sign in it iTunes a message comes up stating: Connection Manager::invoke::Failed to find service connection url. Does anyone know what this means and how to fix this issue?
Check over on the right side of the thread here under More Like This. Look for one that has a green checkmark which means it is answered. I have read of this however, I do not know how to solve it. It seems as though it is one particular carrier this happens to.
-
Server recieved a message of an unititialized connection error
I received the following error in the log file (wl 6.1)
<Feb 12, 2004 3:56:22 PM EST> <Error> <ConnectionManager> <Closing:
\'weblogic.rjvm.t3.T3JVMConnection@5c6e36\' because of: \'Server received a
message over an uninitialized connection: \'JVMMessage from: \'null\' to:
\'-487357524724585114S:24.30.208.161:[80,80,443,443,80,443,-1]:starman:star\'
cmd: \'CMD_REQUEST\', QOS: \'101\', responseId: \'1\', invokableId: \'9\', flags:
\'JVMIDs Not Sent, TX Context Not Sent\', abbrev offset: \'174\'\'\'>
I searched the site and found similar but not exact matches to this.
Can someone give me some insite as to what this means or point me
to a place where I can read about it?
Thanks,
JimmyI received the following error in the log file (wl 6.1)
<Feb 12, 2004 3:56:22 PM EST> <Error> <ConnectionManager> <Closing:
\'weblogic.rjvm.t3.T3JVMConnection@5c6e36\' because of: \'Server received a
message over an uninitialized connection: \'JVMMessage from: \'null\' to:
\'-487357524724585114S:24.30.208.161:[80,80,443,443,80,443,-1]:starman:star\'
cmd: \'CMD_REQUEST\', QOS: \'101\', responseId: \'1\', invokableId: \'9\', flags:
\'JVMIDs Not Sent, TX Context Not Sent\', abbrev offset: \'174\'\'\'>
I searched the site and found similar but not exact matches to this.
Can someone give me some insite as to what this means or point me
to a place where I can read about it?
Thanks,
Jimmy -
Notification not using Sun Message Queue?
WHen I was in the MS land, I used MSMQ and SQL Server system procedures to
deliver emails when certain events occur. Now I am in Oracle, the Sun MQ costs
$4K/CPU... Any way I could achive this without spending the money on Sun MQ?
Thanks.
- ZackHi,
you can write some procedure/package/trigger to call the utl_smtp package to send the email messages when an event occurs.
thanks
srinivas. -
Hi,
Thanks in advance
I am really new to webservices can any one provide me code for sending a soap object using jms using WebSphere6.1don't crosspost.
And no, noone is going to tell you how to send SOAP messages to a JMS queue (which was what you were asking elsewhere). -
Io exception: Software caused connection abort: recv failed
Hi
I am using BPEL to integrate Oracle E-Business Suite with some vertical applications. the problem that I am facing is I need to have BPEL server running all the time and other servers (VA and Oracle E-Biss) are going down daily at night for backup. every day connection is aborted because of this and I have to bounce BPEL server again.
is there a soultion for this, any parameters need to be set in definning the connection or else.
ThanksThanks man there were some parameters need to be added in datasource.xml to keep validating the connection and it worked fine with Ebus. today I will try it with other VA
Regarding bouncing BPEL server also it is not possible since it connect different servers in different parts of the world were some servers get down for backup while others are running and making transaction
Thanks again -
What can I do to restore my Adobe Reader to working order. Worked fine yesterday. Today, won't open any pdf docs in Adobe or saved on the computer. Message keeps popping up: Fatal Error: Acrobat failed to connect to a DDE server.
DDE stands for Dynamic Data Exchange, check this threat
http://forums.adobe.com/message/1877300#1877300 -
Getting connection error on windows xp with connector-java-3.1.10 for Mysql
Hi,
I am using Mysql 4.1.13 with Tomcat 5 and Connector mysql-connector-java-3.1.10 on Windows XP machine. When I try to update the table in batch mode sometimes( When server is idle for a long time) get following error.
ERROR [com.userdefined.SchedulerJobs.DownloadDssPresetJob] com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2921)
=ERROR [com.userdefined.SchedulerJobs.DownloadDssPresetJob] com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1570)
=ERROR [com.userdefined.SchedulerJobs.DownloadDssPresetJob] com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
=ERROR [com.userdefined.SchedulerJobs.DownloadDssPresetJob] com.mysql.jdbc.Connection.execSQL(Connection.java:2972)
=ERROR [com.userdefined.SchedulerJobs.DownloadDssPresetJob] com.mysql.jdbc.Connection.execSQL(Connection.java:2902)
com.mysql.jdbc.Statement.execute(Statement.java:529)
I also get the following error :
com.mysql.jdbc.CommunicationsException
MESSAGE: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: Software caused connection abort: recv failed
STACKTRACE:
java.net.SocketException: Software caused connection abort: recv failed
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:105)
at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:148)
at com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:176)
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1899)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2348)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2858)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2972)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2902)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:822)
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:205)
at com.userdefined.DatabaseMapping.DatabaseParser.getColumns(DatabaseParser.java:388)
at com.userdefined.DatabaseMapping.Table.<init>(Table.java:62)
at com.userdefined.DatabaseMapping.DBMapping.parseAndSave(DBMapping.java:185)
at com.userdefined.SchedulerJobs.DownloadDssNewJob.downloadJob(DownloadDssNewJob.java:404)
at com.userdefined.SchedulerJobs.DownloadDssNewJob.execute(DownloadDssNewJob.java:113)
at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
I have searched the web for the same but could not come up with the exact solution.
Please help me with the same.
Regards,
veenaAnd, according to this release note:
http://java.sun.com/j2se/1.4.2/docs/guide/swing/SwingChanges.html#4668963
...sounds like exactly what you are seeing.
Metal Can Now Pick up Font Sizes from the Desktop on Microsoft Windows
The bugtraq reports that correspond to this change are: 4419964 and 4668963.
Prior to this release, the DefaultMetalTheme ignored the font size information from the Windows desktop. As of release 1.4.1, DefaultMetalTheme can use the font sizes specified in the Windows desktop. This can be disabled using the system property swing.useSystemFontSettings. An additional part of this bug is that our Windows look and feel was picking up the wrong fonts for a handful of components; this has been fixed. -
NullPointerException in message queue!!!
I'm using Sun Message Queue 3 3005Q4. I get the following error in one of the queues. The message size and no of messages is evrything in limit. Can anyone tell what this error is about???
[14/Aug/2006:02:53:44 EDT] [B1065]: Accepting: [email protected]:51890->jms:59200. Count=545
[14/Aug/2006:02:54:04 EDT] Internal Error Unable to consume [consumer:0, type=CLIENT_ACKNOWLEDGE]:null:
java.lang.NullPointerException
ThanksI'm using Sun Message Queue 3 3005Q4. I get the
following error in one of the queues. The message
size and no of messages is evrything in limit. Can
anyone tell what this error is about???
[14/Aug/2006:02:53:44 EDT] [B1065]: Accepting:
[email protected]:51890->jms:59200. Count=545
[14/Aug/2006:02:54:04 EDT] Internal Error Unable to
consume [consumer:0, type=CLIENT_ACKNOWLEDGE]:null:
java.lang.NullPointerException
ThanksMy interpretation of that errors is that the acknowledgement mode is null.
Could it be that you did not specify an acknowledgment mode? i.e:
subTopic = BusObjectStore.getTopic(jndiTopicName);
ts = tc.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
tsub = ts.createSubscriber(subTopic); -
Red Hat 4 -- Messaging Server 6 -symbol lookup error -- db_env_create_4002
I recieve this error when I run imsimta.
/opt/sun/messaging/lib/imtacli: symbol lookup error: /opt/sun/messaging/lib/libmailwave.so: undefined symbol: db_env_create_4002
I am running Messaging Server 6 on a Red Hat Enterprise 4 32 bit OS. I currently seem to be experiencing a library error. The library is linked when i use the ldd command. I have the libs in my environment path but keep getting the undefined symbol error. Is this a bug? Please advise.
-bash-3.00$ ldd /opt/sun/messaging/lib/imtacli
libimta.so => /opt/sun/messaging/lib/../lib/libimta.so (0x00111000)
libmsgsrvu.so => /opt/sun/messaging/lib/../lib/libmsgsrvu.so (0x00aa9000)
libmailwave.so => /opt/sun/messaging/lib/../lib/libmailwave.so (0x00863000)Sorry I forgot to include the version of msg sever.
-bash-3.00$ /opt/sun/messaging/lib/imtacli version
Sun Java(tm) System Messaging Server 6.2-3.04 (built Jul 15 2005)
libimta.so 6.2-3.04 (built 01:30:02, Jul 15 2005) -
Message Queue with SP executing xp_cmdshell not working in after DB migration
We are in a Database Migration Project.
DatabaseA is set to be migrated. It currently resides in ServerA. In DatabaseA lies an SP, which calls XP_CMDSHELL in it. This SP is being called by a messageQueue.
In ServerA, we do have a Local Windows System user as the application login. ( ServerA\LocalLogin). This login does not have any sysadmin privileges and only is a member of db_datareader and a custom executesp roles of the DatabaseA.
This database Needs to be migrated to ServerB. when migrating this to ServerB, the only change is that the LocalSystem user is replaced by a Domain User. The application is supposed to connect to the DatabaseA via the Domain User. (Domain\DomainUserB)
However, Once the database is migrated to ServerB, we get the following error related to the message queue:
The xp_cmdshell proxy account information cannot be retrieved or is invalid. Verify that the '##xp_cmdshell_proxy_account##' credential exists and contains valid information Message Queue Service Broker
This error never happen to come in ServerA and is no proxy_accounts are configured in it. The logins (ServerA\LocalLogin and Domain\DomainUserB) are identical in terms of privileges. What would be the problem ? Why is this error popping only in
ServerB ? How can i overcome this without creating a proxy account ?
Security Context of the MessageQueue is ExecuteAsUser with a principal of dbo.
Both the servers are SQL Server 2008, and Windows Server 2008.Hi Shamil,
In addition to other post, please make sure the following things.
1. Check that if the service account that SQL Server is running under has enough
local security policies rights on the current server.
2. Make sure the non-sysadmin user has a database user in the master database and GRANT your non-sysadmin user the rights to execute xp_cmdshell.
In order to do that, you can run the below scripts:
USE master;
GO
CREATE USER [Domain\user] FOR LOGIN [Domain\user];
GRANT EXECUTE ON xp_cmdshell TO [Domain\user];
Reference:
http://www.databasejournal.com/features/mssql/xpcmdshell-for-non-system-admin-individuals.html
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support -
Message Queue Blocking / MSGMNI Setting
Hi All,
Firstly, many thanks to all that can assists. I am currently getting Message Queue
Blocking messages in my ULOG files in my Tuxedo Application. (Tux ver 7.1 in Unix).
I am not sure what is causing this, but started to look into the Tux Config (UBB.MP)
and System message queue setting. Detailed as follows:
1)
Listed below is the system message queue setting:
set msgsys:msginfo_msgmni=2000
set msgsys:msginfo_msgmax=128000
set msgsys:msginfo_msgmnb=100000
set msgsys:msginfo_msgssz=256
set msgsys:msginfo_msgseg=25088
set msgsys:msginfo_msgtql=1550
set msgsys:msginfo_msgmap=1000
According to the BEA site, the MSGMNI is determined by this formula:
MSGMNI = MAXACCESSERS + 7 + (no. of servers with REPLYQ) + (no. MSSQ sets) - (no.
of servers with MSSQ sets)
The following is my current Tux. Config (UBB.MP) is set as :
- MAXACCESSERS = 2300
- Each servers (4 types in total) has its own REPLYQ and RQADDR.
- The same type of servers are set the same across 4 application servers.
Hence, my MSGMNI should be a minimum 2339 (ie. MSGMNI = 2300 + 16 + 16 - 0 = 2339).
But my current MSGMNI is 2000.
Would this contribute to my Message Queue Blocking?
Is my understanding correct and is this something I should change to avoid Message
Queue Blocking? Any helps and advice is much appreciated.Malcolm,
Your information and explanations behind these error messages are very useful.
It allow me to further understand Tuxedo internal processing and at the same time
give me a chance to start analysing these fields.
I am reluctant to ask further questions at the mean time. I will use your suggestions
as a starting point.
I will certainly keep you posted of the outcome when I have made the changes in
my UBB config and machine parameters.
Many thanks with your help/explanations Malcolm. It helps alot!
Cheers.
David.
"Malcolm Freeman" <[email protected]> wrote:
>
Hi David,
The MSGTQL reference you give (Solution S-00488) refers to the BEA MessageQ
product
and is not relevant to Tuxedo.
The error messages indicate that the queue buildup is probably due to
a restartable
server failing. What happens is this:
When a restartable server fails its IPC queue remains in place and continues
to
receive messages (which will be processed when the server restarts).
Depending
on the time taken to restart, the queue could become full and unable
to receive
any more messages, and this is probably why you got the message CMDTUX_CAT:1380
indicating that the BRIDGE process was unable to put a message on the
server's
queue.
A server is only restarted when the BBL does a SANITYSCAN check. If,
for example,
your SANITYSCAN interval is 300 seconds and your server fails immediately
after
the previous scan, then there will be a delay of almost 5 minutes before
the failure
is detected and the server restarted - plenty of time for the queue to
fill up.
There are a few things you could do:
The key thing would be to find out why the server is failing, and fix
the problem.
If this is not possible immediately, consider some of the other ideas
below.
Have several servers form an MSSQ to service this queue; then if one
fails the
others will continue processing the messages while the failed server
restarts
(this assumes, of course, that your application does not require the
messages
to be processed in strict order through the server).
Reduce the SANITYSCAN interval (but don't make it too small). This would
reduce
the average time taken to restart the server.
Increase the size of the IPC queue (MSGMNB) so that it can hold more
messages.
I'm not sure why you got a LIBTUX_CAT:1485 message, but this could be
due to a
BRIDGE failure as a result of the congestion.
The NETLOAD parameter would reduce the number of messages going to the
remote
machine, but only if the local machine offers the same service. If the
remote
machine is the only source of the service then NETLOAD will have no effect.
I
recommend you do a search of this newsgroup for postings on "load balancing"
there's some good stuff which will explain how load balancing works.
Depending how things go, it might not be a bad idea to open a case with
BEA Support
and ask for guidance (remember to submit your ubbconfig (or preferably
do a tmunloadcf)
together with the complete ULOGs from both the master and the slave machine).
Hope this helps some.
Regards,
Malcolm.
"Dave" <[email protected]> wrote:
Hi Malcolm,
Thank you for your reply. Interesting point you have made about theMSGTQL
value.
Based on your suggestion I went hunting around the BEA site and found
the following
snipplet:
"- The MSGTQL parameter must be set to a value greater than or
equal to the MSGMNI setting."
(http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_solution&answerpage=solution&page=msq/S-00488.htm)
If the above point is valid, then my MSGTQL is definitely way too low.
IF this
be the case, would you know of a method to work out what my MSGTQL bytes
value
should be?
Additionally, I have looked at other parameters which I could tune,and
would
adding a NETLOAD parameter in the *MACHINES section will reduce remote
servers
call? Which potentially, maybe reduce message queue blocking?
FYI:
The error messages I am seeing in my ULOG file are:
"LIBTUX_CAT: 1477 : ERROR .SysServerDied
LIBTUX_CAT: 1476 : ERROR: .SysServerRestarting"
Which then leads to message queue blocking
"CMDTUX_CAT: 1380 : ERROR: Message queue blocking prevented delivery,
Qaddr=..."
and potentially "LIBTUX_CAT: 1485 .SysNetworkDropped."
Many Thanks. Hope to hear from you (Malcolm) or other parties out there
that can
assists.
Thanks.
David
Maybe you are looking for
-
Painfully slow access to admin console (how can I fix it?)
Hi, I'm using using Sun Java System Web Server Version 7.0U4 B12/02/2008 02:17 running on CentOS (Redhat EL) release 4.4. The problem is that using the Admin Console (on port 8989) is painfully slow. It takes minutes for each page to load, but they d
-
pleas ehelp me fix this problem I am unable to update my Iphone or Ipad because of this.
-
Athorization Object for User Parameter ID
SAP gurus: In the project, we have introduced a Z_ user parameter. And users are allowed to flag this parameter on / off via su01 transaction. The question is: can we link user-parameter with authorization objects? In that case, we could further set-
-
Illustrator CS5.1 crashes when saving on Mountain Lion
I recently upgraded to mountain lion and Illustrator crashes each time I try to save a file. I've tried validating all fonts in Fontbook, which have passed and repairing permissions on my systema and also deleting the Illustrator preferences file, bu
-
Connect 2910-24G al with J9149A to Mellanox ConnectX MT26418
Hello there, I've got a 2910-24G al with a HP 2-port 10GbE CX4 al Module (J9149A) and I'm trying to connect to a Mellanox ConnectX MT26418 card using a Gore InfiniBand cable 5m, but the port status stays always "Down". The module its selftest went fi