NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
mfx
Joined: 03 Dec 2010 Posts: 4
|
Posted: Wed Oct 19, 2011 4:08 pm Post subject: 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 |
|
 |
tdeit62
Joined: 06 Oct 2011 Posts: 36
|
Posted: Thu Oct 20, 2011 12:10 am Post subject: Re: glassfish-resource.xml in war |
|
|
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
|
Posted: Thu Oct 20, 2011 1:17 pm Post subject: |
|
|
| 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 |
|
 |
|
|
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
|
|