Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

SOAP connect for WebSphere vs TomCat

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am programing using RAD (Rational Application Developer) a version of Eclipse which has built in WebSphere Server. When execute my program it works properly. But when I export it as a war file and run it with Apache Tomcat server I get the following error: ADMC0053E: The system cannot create a SOAP connector to connect to host localhost at port 8880 with SOAP connector security enabled.

my Code:

Properties connectProps = new Properties();
connectProps.setProperty("", "C:\\cacerts.jks");
connectProps.setProperty("", "C:\\cacerts.jks");
connectProps.setProperty("", "changeit");
connectProps.setProperty("", "changeit");

connectProps.setProperty(AdminClient.CONNECTOR_TYPE, AdminClient.CONNECTOR_TYPE_SOAP);

connectProps.setProperty(AdminClient.CONNECTOR_SECURITY_ENABLED, "true");

connectProps.setProperty(AdminClient.CONNECTOR_HOST, host);
connectProps.setProperty(AdminClient.CONNECTOR_PORT, port);

if (user!=null && !user.equalsIgnoreCase("null")){
connectProps.setProperty(AdminClient.USERNAME, user);
connectProps.setProperty(AdminClient.PASSWORD, password);

admin = AdminClientFactory.createAdminClient(connectProps);
The Error occurs at the last line.

Any idea how to resolve the issue?

Thanks in advance for your help.
New rule: no elephants at the chess tournament. Tiny ads are still okay.
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic