This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 75279 - [headless] Resources not deployed using headless deployment
Summary: [headless] Resources not deployed using headless deployment
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-20 13:05 UTC by Jiri Skrivanek
Modified: 2007-10-12 13:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2006-04-20 13:05:55 UTC
JDBC resources are not deployed when we use target 'ant run-deploy' from command
line. To reproduce:

- Go to Runtime view and add Glassfish server instance.
- Start Glassfish server.
- Create a new Enterprise Application project from template (use Glassfish server).
- Add JDBC Resource: Open new file wizard in Enterprise application project,
select Sun Resources|JDBC Resource and go through the wizard. There should be
created a connection pool and dataresource under Server Resources node.
- Create a new session bean in enclosed EJB project.
- Open command line and go to project folder.
- Execute 'ant run-deploy' command. Enterprise application is successfully
deployed but JDBC resources don't appear under Resources|JDBC node in Runtime
view. If you deploy application from IDE, resources are deployed successfully.

Build 20060419-1103, JDK1.5.0_06, WindowsXP.
Comment 1 Vince Kraemer 2006-05-11 20:04:50 UTC
Do the resources appear if you refresh the JDBC Resources and Connection Pools
nodes in the RTT?
Comment 2 Jiri Skrivanek 2006-05-12 08:53:14 UTC
No.
Comment 3 Vince Kraemer 2006-05-12 15:33:19 UTC
Please attach zip file of project directory that demonstrates this issue.
Comment 4 Vince Kraemer 2006-05-12 21:04:28 UTC
it looks like the replace task has some sort of platform dependency.

multi-line patterns seem to be fine on *nix and broken on windows.
Comment 5 Vince Kraemer 2006-09-11 19:15:26 UTC
no changes ready for check in today -- 5.5 code freeze
Comment 6 Vince Kraemer 2007-07-12 00:18:26 UTC
need to update the ant-deploy stuff.
Comment 8 Jiri Skrivanek 2007-10-12 13:02:48 UTC
Verified.