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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

installing an EAR Application with ANT for WebSphere

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am wondering if anybody faced a similar problem trying to install an EAR application to WebSphere using ANT.
I am running ANT outside (headless), WSAD using the CustomTags from wsadmin.jar.
I can start a server, I cant stop it, but trying to install an application I get
[24/10/03 09:39:40:749 EST] 5ff4e810 AbstractShell A WASX7093I: Issuing message: "WASX7023E: Error creating "SOAP" connection to host "localhost"; exception information: java.lang.NoClassDefFoundError: com/sun/mail/util/BASE64DecoderStream"
Strange why the script needs Sun�s class to connect over SAOP with the configuration service.
I checked all *.jars in $WAS_HOME/libs there is nothing by Sun.
Any ideas?
I tried to put every possible combination of parameters to invoke the Custom Tag com.ibm.websphere.ant.tasks.StartApplication
No effect. Must be the classpath�
cheers
Joe
 
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
base64decoder stream is part of javamail-1.2, try sticking that in the classpath to your task.
 
Joe Boxer
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Lewin Chan:
base64decoder stream is part of javamail-1.2, try sticking that in the classpath to your task.


it helped. found the class in mail.jar
cheers
 
I love a good mentalist. And so does this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic