NetBeans Forums

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

glassfish-resource.xml in war

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



Joined: 03 Dec 2010
Posts: 4

PostPosted: Wed Oct 19, 2011 4:08 pm    Post subject: glassfish-resource.xml in war Reply with quote

i have the glassfish-resource.xml inside WEB-INF. i was expecting that when i paste my .war file in remote server autodeploy directory my connection pool e jdbc resource will be created but application is ok and no resource were created.
What is wrong? When using "deploy" in netbeans 7.0.1 and glassfish 3.1.1 in my local machine the same glassfish-resource.xml is used to create automatic resources
Back to top
tdeit62



Joined: 06 Oct 2011
Posts: 36

PostPosted: Thu Oct 20, 2011 12:10 am    Post subject: Re: glassfish-resource.xml in war Reply with quote

For a .war the correct file is glassfish-web.xml. I have no idea whether any
other name is acceptable.

Tony Dietrich


-----Original Message-----
From: mfx [mailto:address-removed]
Sent: 19 October 2011 17:08
To: address-removed
Subject: [nbj2ee] glassfish-resource.xml in war

i have the glassfish-resource.xml inside WEB-INF. i was expecting that when
i paste my .war file in remote server autodeploy directory my connection
pool e jdbc resource will be created but application is ok and no resource
were created.
What is wrong? When using "deploy" in netbeans 7.0.1 and glassfish 3.1.1 in
my local machine the same glassfish-resource.xml is used to create automatic
resources
Back to top
mfx



Joined: 03 Dec 2010
Posts: 4

PostPosted: Thu Oct 20, 2011 1:17 pm    Post subject: Reply with quote

thanks but with glassfish-web.xml in .war autodeply also does not create my resources. i decide to use the admin console or admin add-resource command.
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