Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

can not invoke web service from websphere portal  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing a problem related to axis.jar classes.

I have a WAR file that has axis.jar in its lib directory. this WAR deployed on IBM websphere environment1 and this WAR is working fine.

when I deploy the same WAR in IBM websphere environment2 not working.

I got the following exception when I try to invoke a webservice:

java.lang.NoClassDefFoundError: org.apache.axis.configuration.EngineConfigurationFactoryDefault

I have no idea why this class not loaded in environment2.

Note that the same WAR woking fine on environment1 and not working on environment2.

Any help please??
 
Ranch Hand
Posts: 38
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to remove axis*.jar from lib dir when deploy to env2, it seems your env2 already has reference to axis.jar, i have also faced this kind of issue due to double reference of jars. Please see if this resolves your issue.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!