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 Process Server (WID/WPS/WAS+) » Inconceivable!

Post new topic  Reply to topic
 Inconceivable! « View previous topic :: View next topic » 
Author Message
alastor52
PostPosted: Sat May 01, 2010 11:43 am    Post subject: Inconceivable! Reply with quote

Apprentice

Joined: 09 May 2006
Posts: 37

I have a two node WPS cluster running behind a Tivoli Identity/Access Manager single sign-on. The domain for the SSO is, let's say, 'https://www.global.com' with a junction called 'my-junction' defined.

In WPS I have configured a naming variable as such:

JNDI name: config/my/value
String value: https://www.server.com/services/mywebservice.aspx

I am retrieving the value with this code:

Code:

public static String getContextProperty(String property) {
  InitialContext context = new InitialContext();
  return (String)context.lookup(property);
}


In my application I have this code:

Code:

String urlStr = PropertyReader.getContextProperty("config/my/value");
System.out.println("URL: " + urlStr);


Now here is the mystery. In my SystemOut.log file is see:

Code:

[4/30/10 21:17:19:766 EDT] 00000039 SystemOut     O URL: https://www.global.com/my-junction/services/mywebservice.aspx


As far as I know, TIM/TAM should have nothing to do with getting a naming value from WPS, however it seem to be rewriting the URL in the string value to match the junction name.

I have tried changing the lookup name to verify I did not the same value defined somewhere else and that did not resolve the problem. I tried changing the string value to:

https://www.server.com/services/myweb.html

and the value comes through as:

https://www.global.com/my-junction/services/myweb.html

If anyone has any suggestions at all, I would greatly appreciate it.
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 » WebSphere Process Server (WID/WPS/WAS+) » Inconceivable!
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.