NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Automatic web service redeployment

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
kevinnnguyen



Joined: 18 Nov 2011
Posts: 1

PostPosted: Fri Nov 18, 2011 3:24 pm    Post subject: Automatic web service redeployment Reply with quote


Hi,

From NetBeans 7.0.1, I start up Glassfish 3.1 and deploy my web service. The web service works fine.

As I stop Glassfish and start it again, in the Services tab of NetBeans: under Servers -> Glassfish 3.1 -> Applications, my web service is shown to be already deployed but it is not. I have to reploy it even though I make no change to my web serivce.

Is there a way to configure Netbeans/Glassfish so that a web service is deployed once and it is automatically redeployed at the next startup of Glassfish ?
Back to top
jyeary



Joined: 21 Oct 2008
Posts: 612
Location: Simpsonville, SC

PostPosted: Tue Dec 06, 2011 3:42 am    Post subject: Re: Automatic web service redeployment Reply with quote

My guess is that you are doing a directory deployment of the service from NetBeans to an instance running in NetBeans. If you would like permanence, please try deploying the application in the auto-deploy directory on the server, or deploying it through the admin interface. This will do a war deployment on the server which does not rely on temporary directories in NetBeans.

John

On Fri, Nov 18, 2011 at 10:24 AM, kevinnnguyen <address-removed ([email]address-removed[/email])> wrote:
Quote:

Hi,

From NetBeans 7.0.1, I start up Glassfish 3.1 and deploy my web service. The web service works fine.

As I stop Glassfish and start it again, in the Services tab of NetBeans: under Servers -> Glassfish 3.1 -> Applications, my web service is shown to be already deployed but it is not. I have to reploy it even though I make no change to my web serivce.

Is there a way to configure Netbeans/Glassfish so that a web service is deployed once and it is automatically redeployed at the next startup of Glassfish ?







--
John Yeary
--
http://javaevangelist.blogspot.com
http://www.johnyeary.com
@jyeary

"Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the gray twilight that knows not victory nor defeat."
-- Theodore Roosevelt
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo