Rakesh Gupta

Greenhorn
+ Follow
since Mar 06, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rakesh Gupta

Guys please respond, I am eagerly waiting for solution......

7 years ago
Getting below error while creating QueueSession:

java.lang.ClassCastException: com.ibm.ejs.jms.JMSSessionHandle incompatible with com.ibm.mq.jms.MQSession

I am using JMS and WAS 7.0 and trying to connect to MQ via JNDI(Queue and Queue manager) created in WAS admin console.


factory = (ConnectionFactory)ctx.lookup("jndi/NewMQManager");
System.out.println("Factory has been looked up-"+factory);

queue = (Queue) ctx.lookup("jms/XMLError");//
System.out.println("Queue Looked Up has been done-"+queue);

qCon= factory.createConnection();
System.out.println("Queue Factory Connection -"+qCon);

QueueSession queueSession =(QueueSession) qCon.createSession(false, Session.AUTO_ACKNOWLEDGE);
7 years ago
ok can you copy and paste first 15-20 line of web.xml over here.
11 years ago
We just migrated our web application from WAS 2.0 (using JDK 1.4) to Tomcat 7.0 (JDK 1.6). We are using vfabric-tc-server-standard-2.7.0.RELEASE. After migration we are seeing some of the unusual error which happened frequently. Each and every day we are getting error -

1. "com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-1044, SQLSTATE=57014, SQLERRMC=null, DRIVER=3.63.75 DB2 SQL Error: SQLCODE=-1044, SQLSTATE=57014, SQLERRMC=null, DRIVER=3.63.75".

2. com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2030][11211][3.63.75] A communication error occurred during operations on the connection's underlying socket, socket input stream, or socket output stream. Error location: Reply.fill() - insufficient data (-1). Message: Insufficient data. ERRORCODE=-4499, SQLSTATE=08001 [jcc][t4][2030][11211][3.63.75] A communication error occurred during operations on the connection's underlying socket, socket input stream, or soc ket output stream. Error location: Reply.fill() - insufficient data (-1). Message: Insufficient data. ERRORCODE=-4499, SQLSTATE=08001.

There are different module and this error is not fixed any particular module or point, sometime it go through and sometime it gives error.

This error happened again and again in Tomcat 7.0. Same code is working in WAS 2.0.

Thanks
11 years ago