ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Windows 2000 Advanced Server Java Multithreading Issue

Post new topic  Reply to topic
 Windows 2000 Advanced Server Java Multithreading Issue « View previous topic :: View next topic » 
Author Message
Veloscot
PostPosted: Wed Dec 04, 2002 6:20 am    Post subject: Windows 2000 Advanced Server Java Multithreading Issue Reply with quote

Newbie

Joined: 04 Dec 2002
Posts: 2
Location: Des Moines, IA

I'm having trouble with a multithreaded Java app running as a service on Windows 2000 Advanced Server. The service runs fine on Windows NT 4.0 and Windows 2000 Professional.

When I try to connect to a queue manager, I'm getting a 2019 error. When I try to use 5 threads, one of the threads errors out. 10 threads, 4 or so will error out. 50 threads, 15 or so will error. I've considered that maybe the connections are getting created too quickly causing some type of contention, but that doesn't seem to be the case. I also thought maybe this is a security issue, but why would most connect with no problem, while others don't? Has anyone heard of this Windows 2000 Server vs. NT issue?

code:

Code:
 MQEnvironment.hostname = getSourceHost();
        System.out.println(MQEnvironment.hostname);
        MQEnvironment.port = getSourcePort();
        System.out.println(MQEnvironment.port);
        MQEnvironment.channel = getSourceChannel();
        System.out.println(MQEnvironment.channel);
        setMqQM(new MQQueueManager(getSourceQM()));
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Dec 04, 2002 10:25 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I found a hit on an internal database that looks identical to this problem. It was solved in February 2001. The problem ended up being related to a mismatch between various components of MQ on the system. Is it possible that you are running a version of MA88 that is different from the base MQ code?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Veloscot
PostPosted: Wed Dec 04, 2002 10:28 am    Post subject: Reply with quote

Newbie

Joined: 04 Dec 2002
Posts: 2
Location: Des Moines, IA

I just got this figured out. The difference in the NT to 2000 environment was throwing me. I just synchronized the connection method and it seemed to solve it. I'm not sure why the same JVM performs differently on NT than on 2000, but it seems to.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Windows 2000 Advanced Server Java Multithreading Issue
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.