• Post Reply Bookmark Topic Watch Topic
  • New Topic

JWSDP tutorial is giving problem(beginer). Tried first application in examples/gs  RSS feed

 
babu hiran
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THE FOOLOWING IS THE ERROR MESSAGE THAT IS DISPLAYED WHEN I TRIED
c:\examples\gs> ant build
--------------------------------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\hx863c>cd \

C:\>cd exampl;es
The system cannot find the path specified.

C:\>cd examples

C:\examples>cd gs

C:\examples\gs>ant build
Buildfile: build.xml

init:

prepare:

copy:

build:
[javac] Compiling 1 source file to C:\examples\gs\build\WEB-INF\classes

BUILD FAILED
C:\examples\gs\build.xml:55: C:\Sun\jwsdp-1.5\common\lib not found.

Total time: 1 second
---------------------------
AS SOON AS I GOT THIS PROBLEM I CHECKED FOR
C:\Sun\jwsdp-1.5\common\lib
but nothing like common folder is not there....
i dont know how did it got missed.....
is there any way i can download it and paste there without reinstalling the whole thing? if u are already using one, then kindly mail me that common folder at
reddyvaribabu@rediffmail.com
 
Tim West
Ranch Hand
Posts: 539
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll need to reinstall the whole thing? Didn't you keep the installer? ;-) If for some reason you're missing something as fundamental as 'common', you're bound to be missing other stuff.

That said, I've had a similar problem when my version of JWSDP was out-of-synch with the version your examples expect. the common/lib directory was introduced (I think) in JWSDP 1.5, so if your examples are too old, you'll run into trouble.

I'd say this is much more likely than somehow randomly missing a directory - if I were you I'd be checking out version mismatches.


-Tim
 
babu hiran
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tim West:
You'll need to reinstall the whole thing? Didn't you keep the installer? ;-) If for some reason you're missing something as fundamental as 'common', you're bound to be missing other stuff.

That said, I've had a similar problem when my version of JWSDP was out-of-synch with the version your examples expect. the common/lib directory was introduced (I think) in JWSDP 1.5, so if your examples are too old, you'll run into trouble.

I'd say this is much more likely than somehow randomly missing a directory - if I were you I'd be checking out version mismatches.


-Tim


Exactly as you told, my examples are older and my jswdp is 1.5 version. I didnt miss the installer and the problem would be exactly due to the mismatch of versions between that example pack and the jswdp pack. Even i was expecting the same and got confirmed on this now. But the problem is that, i wanted to learn with tomcat and the version jswdp1.5's tutorial talks about web development on sun java application server and i want to learn with tomcat, as i am going to use it. I have been in quest on this for a long time and after loosing all my patience started doing this. found that 1.5 and higher versions never talk about tomcat. So i descided to run those tomcat oriented examples on jswdp1.5. And may be that i couldn't identify properly about the tomcat tutorial on sun.com and i am sure it has become a night mare for me now....Your direction about any tomcat web development tutorials using sun jswdp1.5 would be valuble for me. All those links shown in the documents about lower version downloads are now updated with latest versions. And if at all they are available,then i dont get all the supporting docs for those older versions and i had to go for latest versions.Kindly help me
 
Tim West
Ranch Hand
Posts: 539
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've not come across any documentation on doing this, but then I've never looked.

That said, it'll be virtually essential to have consistent versions of the tutorial and the examples. If I were you, I'd take JWSDP1.5 and the examples for JWSDP1.5, and try to get those running on Tomcat. Trying to use older examples with a newer version of JWDSP will probably mean re-writing the examples - not fun.


-Tim
 
Tim West
Ranch Hand
Posts: 539
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A final thought: depending on how much time you have, it might be worth learning a bit about JWSDP and Web services in the default setup using Sun Java Server (or whatever). Then, after that, you could try to "port" the setup to Tomcat.

If I were you, that's what I'd do. It'd let you build up some confidence in Web services fundamentals before you try a nonstandard configuration.


-Tim
 
babu hiran
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But being a starter with the whole j2ee and web services, i cry to find out the apt tutorial with examples for web services that involves tomcat and i believe it is no where available as popular document. But i never know if that is possible with any other app server and really fed up on this and would be excited to come to know about any other free ware app servers like sun java app server. And as u told i hope its is ideal to learn with sun java app server. And thankfull to you for supporting me and saving my time with this valuble suggestion.....keep in touch..
[ June 25, 2005: Message edited by: narayana babu reddyvari ]
 
Tim West
Ranch Hand
Posts: 539
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If Tomcat is more important than JWSDP, then why not learn Axis rather than JWSDP? I think the Axis examples run on Tomcat...

I'm not sure of the quality of documentation, though. In either case, buying a book is probably worth the money as it'll save you a lot of time. I originally learned Web services on Weblogic - their doco is very good, I find. It sure ain't freeware though.


-Tim
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!