cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
195
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: null on 18-11-2005 05:07:22 PM
I am trying to call websphere webservice form Audium. From a regular java class I am able to get output from the webservice by placing the all the required jar files in the class path. But when I am trying to deploy the application which uses action element(which calls this webservive), I am not able to deploy the application. I placed all the jar files in the {application}/java/application/lib folder which I placed in the classpath when compiling the regular java class. I am getting the following error when I tried to deploy the application

***

Are you sure you want to update application 'WSImpl'? y

      • Unable to update the application 'WSImpl'. The error was: com.audium.server.
       
     
AudiumException: There was a problem loading classes local to the application WS
Impl: java.lang.NoClassDefFoundError: com/ibm/ws/webservices/engine/encoding/ser
/BeanSerializer ***
Press any key to continue . .

***

Any help is appreciated.

Thanks,
Ravi.

Subject: websphere webservice
Replied by: null on 18-11-2005 05:48:41 PM
I am able to resolve the above error by placing the required jar file..but now I am getting the following error when deploying the error. I got the following error when I added the webspher "core.jar"

***
Are you sure you want to deploy application 'WSImpl'? y

      • An error occurred while deploying the application 'WSImpl'. The error was: c
       
     
om.audium.server.AudiumException: There was a problem loading classes local to t
he application WSImpl: java.lang.SecurityException: Prohibited package name: jav
a.net

Press any key to continue . . .

***

Thanks in advance.
  • Ravi.

Subject: RE: websphere webservice
Replied by: Michael Bochynski on 18-11-2005 06:12:44 PM
Hi Ravi,

Please refer to the following Knowledge Base articles, which describe the exact same scenario you are trying to implement:
[list:f8f52c131d]
How to build and deploy a Java class to be called by a standard Action element
What is the difference between the application and util folders?
How to build and deploy a Java class to be called by a standard Decision element
[/list:u:f8f52c131d]
Please note that Audium Knowledge Base contains many articles and solutions for different issues. Please refer to the Customer Care section of our website at:

http://www.audiumcorp.com/customercare

Hope this helps,
Michael

Subject: Calling websphere jar file from Call Services
Replied by: null on 23-11-2005 05:17:07 PM
My action class which is {applicaiton}/deploy/java/[b:624cf8de96]application[/b:624cf8de96]/class folder is not able to access the jar files (websphere webservice jar files) which are in {application}/deploy/java/[b:624cf8de96]util[/b:624cf8de96]/lib folder. Am I missing something here?

Thanks,
ravi.

Subject: RE: Calling websphere jar file from Call Services
Replied by: Vance Vagell on 28-11-2005 05:00:41 PM
Hi Ravi,

How do you know that the classes in util are not accessible? If there is an error in a log, please post it here or attach the log.

You may wish to try placing these WebSphere JARs in the appropriate location under your WebSphere installation; they may either be accessed by WebSphere or rely on components installed with WebSphere.

Additionally, you could try placing a simple JAR file under util, such as a JAR with a class that simply outputs a message to the console when it is called. Access this test class from your custom code instead of the WebSphere classes to to determine if the problem you are experiencing is related to the WebSphere JAR file, or all JAR files placed under util.

Regards,
Vance

Subject: RE: Calling websphere jar file from Call Services
Replied by: null on 30-11-2005 06:56:14 PM
Thanks vance..
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links