File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Simple JBoss Web Service With Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply locked New topic

Simple JBoss Web Service With Eclipse

William Richards
Ranch Hand

Joined: Mar 27, 2009
Posts: 37

I am new to this site, forgive me if my question is out of place.
I am trying to deploy a simple web service using eclipse europa and jboss
doing exactly what is explained here
I am running on ubuntu server 8.10 and I have taken care to install the the software called out in the above link.

I am using JBoss-4.0.5.GA, jdk5, and eclipse europa all in one which I obtained from here
Platform: Linux (x86/GTK 2) (Supported Versions)
wtp-all-in-one-sdk-linux-gtk (252M) [md5]
All seems to work until I try to deploy. Deployment fails with a NullPointer Exception
as can be seen in the jboss logs.

The build finishes opening a browser page saying that the web service is not available.

Visiting http://localhost/jbossws and clicking the link to show deployed web services shows none.

Does anybody know how to fix this ???

I realize I am not using the most current packages, however, they are each of the same period
and I am attempting to gain some understanding of how it's all evolving in addition to attempting
to follow the example which I have posted.

The only way I have changed the code is that I am using no package and I call the jboss_app3 or jboss_app4, etc
with each new attempt. The java class I use is TestWs and the web.xml is modified only to remove the package declaration.

If someone knows different versions of JBoss and Eclipse for which this will work, please tell me.

Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3753

Please don't post in multiple forums. I had recommended you not use our April fools forum to post, but posting in 2 (here and JBoss) other forums is not allowed.

[OCA 8 Book] [Blog]
I agree. Here's the link:
subject: Simple JBoss Web Service With Eclipse
It's not a secret anymore!