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 58352 - [Fatal Error] :1:1: Content is not allowed in prolog. during EJB module deployment
Summary: [Fatal Error] :1:1: Content is not allowed in prolog. during EJB module deplo...
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-26 17:02 UTC by Petr Blaha
Modified: 2006-03-24 13:13 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 Petr Blaha 2005-04-26 17:02:51 UTC
[Build netbeans41 RC1]
I created simple EJB module that uses database. According to the
http://java.sun.com/blueprints/code/projectconventions.html Blueprints
convention  copied sql file to setup directory and deployed.
ERROR messages in output window:
Start registering the project's server resources
[Fatal Error] :1:1: Content is not allowed in prolog.
Error while resource creation  
[Fatal Error] :1:1: Content is not allowed in prolog.
Error while resource creation  
[Fatal Error] :1:1: Content is not allowed in prolog.
Error while resource creation  
Finished registering server resources

It seems that algorithm that registers Sun resources doesn't check files that
should be registered.
Comment 1 Nitya Doraisamy 2005-10-28 20:19:17 UTC
Added filter to Plugin registration to ensure only files of type sun-resource
are registered.
Comment 2 Petr Blaha 2005-11-04 13:49:18 UTC
[build 20051103]