MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
bobcoss
Post subject: services.xml not getting redeployed  PostPosted: Jul 11, 2006 - 05:31 PM
Registered Member
Registered Member


Joined: Aug 04, 2005
Posts: 35

I've been messing around with the Webservices tools, and noticed that on subsequent redeploys, the /web-inf/classes/meta-inf/xfire/services.xml is not being copied from the project to the exploded subdirectory.

My Environment:

ME 5 M2
Eclilpse 3.2
Weblogic 8.1 SP4

I followed the tutorial, created the deployment using my weblogic 8.1 configuration, deployed in an exploded format.
Later, I had to modify things, so I undeployed, made my changes, and redeployed, and now I cannot get the deployment wizard to deploy from the services.xml file. It won't even create the meta-inf subdirectory.

Thanks,

Bob
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Jul 11, 2006 - 08:09 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2515

Bob,

Can you verify that the services.xml file in your project is OK? you can look at the MyEclipse-Web Serices project properties page, which specifies the location of the file. You should be editing this file; an internal builder will copy this file into the classes path in your project so that it will be automatically deployed - this version is not to be edited.

You might already be following the above, but I just wanted to confirm this with you.
Also confirm that you actually "remove depployment" and then deploy again, not not simply "redeploy".

Are there any errors in the log? Does touching the web.xml file help?

Best,
Brian.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
bobcoss
Post subject: Services.sml is fine  PostPosted: Jul 12, 2006 - 01:42 PM
Registered Member
Registered Member


Joined: Aug 04, 2005
Posts: 35

I verified, that the services.xml file is fine. I did a "remove deployemt", and then did a new deployement and the meta-inf subdirectory doesn't get copied.

Then I turned off autobuild, Did another "remove deployement", did a clean project, build, and new deploy, and the subdirectories and the services.xml got copied.

It looks like a bug to me. It works the first time, but not subsequent times.

Bob
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
bobcoss
Post subject:   PostPosted: Jul 12, 2006 - 02:25 PM
Registered Member
Registered Member


Joined: Aug 04, 2005
Posts: 35

Oh, and when hitting the "redeploy" button, the meta-info subdirectory is removed along with the services.xml. I never touched the services.xml in the application.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Jul 14, 2006 - 01:54 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2515

Bob,

I investigated this issue, and noticed a problem with deployment and redeployment if we had an explorer window open inside the deployment folder. Our team is having a look at this now.

If I didn't have something pointed to my deployment folder, redeploy and remove deployment worked just fine for repeated attempts. The service.xml file was consistently copied.
You might have had an explorer window pointed to your deployment folder in case you were examining it for deployment issues.

Could you let us know if this was the case with you? Does closing the explorer windows help?

Best,
Brian.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
bobcoss
Post subject:   PostPosted: Jul 15, 2006 - 04:33 AM
Registered Member
Registered Member


Joined: Aug 04, 2005
Posts: 35

Yes, I do believe I had the windows explorer open looking to see what files were copied. I'll try deploying with it closed on Monday. Thank you.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits