473,405 Members | 2,262 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

axis library not found?

I am setting-up an experimental web service using Apache Axis but I'm having problems. AXIS can't find a library that I've verified exists on my computer and that CLASSPATH points to it.

I'm using a simple service for testing purposes (1 string IN, 1 string OUT) and I've found where the exception occures but not why.

But I've exhausted my own attempts.

I've researched the web for Axis issues and here is a brief description of the results of the debugging steps taken. I can provide any details you need.

Does anybody have an idea what I'm missing?




1. Run-time exception when trying to establish a Server Connection in a servlet. (java.lang.NoClassDefFoundError: org/apache/axis/client/Service)

2. Application versions
JavaSE: 1.4.2_07
Netbeans: 4
Tomcat: 5.0.28 2 4
Axis: 1.1 Built on Jun 13, 2003
Windows: XP x86 5.1

3. A simple stand-alone client works while one that extends HttpServlet doesn't.

4. The server is a simple 'JWS' file which is consumed by a static client.

5. AXIS HAPPINESS PAGE runs ok, all core libraries found, report includes
"The core axis libraries are present. 2 optional axis libraries are missing"

6. The Axis libraries exist in the FINGER PRINT output

7. ACTIVATION.JAR is in TOMCAT common library and ref'd in CLASSPATH.

8. AXIS.JAR libraries are in AXIS libraries and ref'd in CLASSPATH.

9. libraries using java.* or javax.* are in TOMCAT's common library and not AXIS'

10. AXIS.JAR is found by both JAVAC (without the -CLASSPATH option) and NETBEANS.

11.The latest XERCES parser is used (xercesImpl.jar and xml-apis.jar)

12. No duplicate parsers exist

13. No spaces are in the CLASSPATH (8x3 names are used when spaces exist)

14. All CLASSPATH entries match case with the directory entry

15. using Sun's JVM

16. verified the "org/apache/axis/client/Service" classes exists in the .JAR (using FILEALYZER)
Sep 19 '05 #1
1 10221
yitzle
1
Similar topic...
happyaxis.jsp tells me:
Error: could not find class javax.activation.DataHandler from file activation.jar
Axis will not work.
See http://java.sun.com/products/javabeans/glasgow/jaf.html
I downloaded the .jar but can't figure out where to put it so Axis will find it. Tried everywhere inside the TomCat folder (in which I got the webapps/Axis etc)...
Please help!

EDIT: Restarting TomCat helped.
Sorry for hijacking this thread ;)
May 24 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Gerrit Holl | last post by:
Hi, I have a dictionairy containing DateTime objects as keys and integers as values. What would be the easiest way to create a simple plot of these, with a number axis versus a time axis? What...
3
by: Maarten van Reeuwijk | last post by:
Hello, I am using the Numeric package, and I need to strip edge cells off an array (dimension unknown) in an a-priori unknown direction. I implented this as follows: def el_remove_bcells(var,...
2
by: RJGraham | last post by:
I've goggled a few posts about this but haven't found a definitive answer. I have an Apache Axis SOAP web service that I ned to write a C# client for. When I point VS.Net Studio 2003 at my Axis...
3
by: Jacky Zhu | last post by:
Hi all, I am having a problem trying to consume a webservice that is developed on ..Net. I can access it without any problem using a .net client, but when I use a java client (based on Axis...
3
by: Claus Haslauer | last post by:
Hi, I want to create a chart value (y-axis) vs. time (x-axis). In fact very similar to the xy(scatter) example in the graph10.chm help-file. I ran into problems, so I started a very basic *.mdb...
3
by: parrot toes | last post by:
Summary: I have been trying to make requests of a web service provided by Axis using a dotnet client with code generated by wsdl.exe and have been getting exceptions when trying to process the...
3
by: Tom_B | last post by:
Trying to consume with a VB.Net client a Java Axis web service that returns a DataHandler type. After much searching on the internet -- no clues found. Any ideas on how to do this? Thanks. ...
1
by: kelvlam | last post by:
Hello, I'm a brand new web service developer, so forgive me if my question have been asked before. I tried to search online and the only thread I can found in Google Group doesn't have any...
0
by: TraceyAnnison | last post by:
I wonder if you can help me - I'm new to this, and working in a project that has already been configured to work with Axis. We have a Java project built with the Spring framework, in order to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.