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 » WebSphere Message Broker (ACE) Support » WMQIv210; Java node errors

Post new topic  Reply to topic
 WMQIv210; Java node errors « View previous topic :: View next topic » 
Author Message
Neinie
PostPosted: Fri Oct 07, 2005 9:03 am    Post subject: WMQIv210; Java node errors Reply with quote

Newbie

Joined: 06 Aug 2003
Posts: 7

1) I am working on a java node that calls a business service using http protocol. At this point I am trying to implement SSL authentication and encoutnring problem in defining URL to connect to.

When I try to set the URL
URL SSL_URL = new URL("https://some.valid.url.com");
program throws malformed URL exception (unknown protocol:https).


2) Also, aside for error above, I am seeing lot of System generated errors on Application Log (WIN2K). Descritpion states "Failure to locate java class... Contact your IBM support". Does anyone know where should I define those missing java classes. I have tried to add those to CLASSPATH, to JSDK\lib dir, and to MQI21\jre\lib without any luck.


As always any help is greatly appreciated and TIA.

Neinie
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Oct 07, 2005 4:49 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I would recommend getting the "logic" portion of your java node to function fully *outside* broker first.

Then worry about patching it into a java node that will run in broker.

This will tell you exactly what classes and jars and such your code needs. Then you can go back to the documentation, and read about where to put those dependancies in the broker installation.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wbibrk
PostPosted: Mon Oct 10, 2005 5:42 am    Post subject: Reply with quote

Apprentice

Joined: 09 Jul 2005
Posts: 46

Hi,

Failure to locate java class errors are a result of broker unable to find the java classes from the CLASSPATH / loaded jar files from jplugin directory. Broker loads all the jar files from the jplugin directory and all user jar files from CLASSES directory.

If a java class A calls class B and class B calls class C etc, class B and class C should be found by the broker either by the jar file loading describe above via the CLASSPATH.

If they are not found then you would get the BIP4371S error. Also, remember to reboot your system after changing the CLASSPATH on Windows as Windows system variables do not take effect until a reboot (unless you use setx)
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMQIv210; Java node errors
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.