Suttan Pym

Ranch Hand
+ Follow
since Jan 30, 2003
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 Suttan Pym

Hi Scott,
What I mean by a simple java client is that a client JVM, not at all running in a container or any server environment. From there I am doing a lookup to a Topic or Queue Connection Factory in WAS 6.0. When I do lookup I get an Object which if type javax.naming.Reference. I am not getting any Objects of ConnectionFactories.
I had the same problem with Queuea and Topics and adding couple of jar files in the CLASSPATH solved the problem. But for this I tried each and every jar file but still the problem persists. If you could tell me what are things which are required to be added in the classpath then it would be helpfull.

Regards and Thanks,
Sutttan
18 years ago
Hi All,

In WAS 5.1 we could lookup JMS resources from the simple java client and also send messages to destinations. I am not able to do the same in WAS 6.0. I am getting the following Exception:

Nov 22, 2005 3:17:45 PM com.ibm.ws.naming.util.Helpers
WARNING: jndiGetObjInstNoop
java.lang.ClassCastException: javax.naming.Reference

Have anyone faced similar problem and solved it. Please help.

Thanks in advance,
Suttan
18 years ago
Hi,

For this problem we got a patch from IBM. The patch basically was a updated ibmorb.jar. We had faced this problem with WAS 5.1.

Regards,
Suttan
18 years ago
Hi,
In the case of WebSphere there is only one option i.e. File store. Actually the Internal JMS Server of webSphere is totally based on WebSphereMQ architecture.

Regards and Thanks,
Subhash
19 years ago
Hi Satish,
Yes, I found the solution for the problem. It was a BUG in WebSphere and IBM had provided us with a patch for the same. Maybe you will be required to contact IBM for the patch.

Regards,
Suttan
19 years ago
Hi,
What is the isolation-level used during database access. The porblem seems that the select is getting lock on the table and you are not able to update the data. To confirm this just try to start the Transaction after the select and it would work. (Anyway select need not be within a Transaction - right).

Suttan
19 years ago
Hello:

I'm using Websphere 5.1 application server.

I'm sending a jms message which is received by an MDB. The MDB application is clustered. Suppose lets say the message msg1 (which is nonpersistent) is recieved by mdb1 in node1, and when the message is being processed in the OnMessage of mdb1, the node1 crashes.

I want that message to be redelievered to node2 which is running.

But it is not happening.

Could you please help me on this.

Thanks in advance,
Suttan
19 years ago
Hi Ibnul,
Yes, I fully agree with your point and it is valid in the case of usage of WebSphereMQ. The demarcation also makes sense in this case. My suggestion was only for the case of Embedded JMS server. In the case of WebSphereMQ it is an external JMS provider and it makes sense to create the resource there also.
But in the case of Embedded JMS server where evrything is internal my suggestion is there should not be requirement that the user should make two entries.
Thanks in advance,
Suttan
19 years ago
Hi Roland,
OK. As a design consideration from the IBM point of view having a trimmed down version of MQSeries to be used for Embedded JMS Server, this seems fine.
FYI:
In the case of WebLogic there is one point creation of Queue and Topic i.e. within the JMSServer. And any configuration in any other locations is not required. Similar approach to that of IBM is seen only in the case of Borland where it is using SoniqueMQ as the JMSServer.
The only point I am tring to make is as IBM knowns at runtime that during Queue creation it is creating a resource on an Embedded Queue or WebSphereMQ Queue. As the start point in both the cases are different (one is embedded and other is MQ), so based on that it could create an extra entry also.
Your statement related to DataSource holds valid in the case of creating resource using an external JMS provider, where two point configuration is required like in the case of webSphereMQ.
And as we do not have an option of configuring an Embedded JMS Server to be configured to an exteranl server so being tied up with it would not be a bad consideration considering the usability.
Thanks in advance,
Suttan
[ April 17, 2004: Message edited by: Suttan Pym ]
19 years ago
Hi Ronald,
The explanation binds good in the case of usage of WebSphere MQ. But when I am using an Embedded JMS Server would it not be easy in the point of view of usability? It is not only us here, I found that this is the common error done by many programmers and you can find it any user groups.
Yes, one can say go through the document or InfoCentre or get yourself trained. But yes, this is my point of view usability wise.
Thanks in advance,
Suttan
19 years ago
Hi,
I am not exactly sure of your problem, but I would make a try to help you. Normally this Exception occurs if all the Connections in the pool are used and when a request for a new Connection is given to the DataSource after the Connection timeout, it throws this Exception. May be by increasing the timeout time or by increasing the connections in the pool could solve the problem.
At the same time check it ther is any Connection leaks in the code. Whenever Connection use is complete close (it would be better you close the connection in finally, so that even in the case of Exception the Connection would be closed).
Suttan
19 years ago
Hi,
I am using WAS5.1 and WASND5.1 cluster. I require a particular folder to be in the PATH. I have an ear deployed on WASND5.1 with target as cluster. Now the requirement is that this ear while execution requires to access some dlls in folder which is added in the PATH. I tried adding it in the system PATH attribute and also tried appending it to WAS_PATH. But it did not solve the problem.
Also, even if appending it to the system PATH would solve the problem, is there any way in the WebSphere where I could add PATH also, the same way as we have for adding jar files n the server CLASSPATH?
Thanks in advance,
Suttan
19 years ago
Hi,
In the case of WAS5.1, when I create Queue, there is a requirement that I have to add the queue name in the jmsserver also. This is when I am using Embedded JMS Server.
Now my doubt is that, as this is required, is there any particular reason why it is implemented so, i.e. why could not WebSphere transparently add the the Queue name to the list in the jmsserver also?
Thanks in advance,
Suttan
19 years ago
Hi,
When you create a Queue, there is one more thing you have to do. i.e. Go to the location Appserver-> server1-> serverComponents->jmsserver. In this place there is an attribute QueueNames. Any queue you create has to be added in this location also. This is only required for Queues, but not required for Topics.
Suttan
19 years ago
Hi Serge,
Yes I went through the code once again. As such I did not see any problems related to Synchronize. The doubt arises when we lookup the HomeInterface and do a toString() on that object we get the following:
com.savvion.sbm.bizlogic.server.ejb._BLServerHome_Stub: no delegate set
The statement "no delegate set" comes in the end. This gives me the suspision that the HomeInterface which we get from the AppServer itself is not a valid one.
Regards and Thanks,
Suttan
20 years ago