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.
Summary: | GFESB: Build and eventually deploy of projects fail with "[Fatal Error] catalog.xml:1:1: Premature end of file." | ||
---|---|---|---|
Product: | soa | Reporter: | us159569 <us159569> |
Component: | Composite Application | Assignee: | Kirill Sorokin <ksorokin> |
Status: | REOPENED --- | ||
Severity: | blocker | CC: | blaha, ksorokin, tli |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
us159569
2008-10-15 07:50:28 UTC
Is it consider as stopper in NB 6.5 RC1? Please, evaluate the bug ASAP. Thanks Petr, it's related to GF ESB and not related to NB 6.5. The project deployed OK. The [Fatal Error] message in the ant build log was generated by the xml parser complaining about an empty catalog file in the bpel service unit, RedeliveryDeleteBpel. The compapp build process was successful in generating the SA. I added a warning message to indicate which invalid catalog file was skipped: Merging component projects' catalogs... [Fatal Error] :-1:-1: Premature end of file. Skip Invalid SU Catalog: D:\nbugs\CompositeApp1\src\jbiServiceUnits\META-INF\RedeliveryDeleteBpel\catalog.xml Sergey, can you have the bpel project team take a look and see why the empty catalog.xml was generated. Thanks, -- Tientien Li In the last message, what I tried to say was it build OK, but deployment failed. The deployment error was again caused by the empty catalog file in bpel SU. * Component: sun-bpel-engine ERROR: (BPJBI-4001:BPELSE) BPJBI-7004:Service unit CompositeApp1-RedeliveryDeleteBpel failed to load deployment C:\openesb\glassfish-v2-ur2-b04-patch-20080819\domains\domain1\jbi\service-assemblies\CompositeApp1\CompositeApp1- RedeliveryDeleteBpel\sun-bpel-engine : BPJBI-6024:Error while loading BPEL file C:\openesb\glassfish-v2-ur2-b04-patch- 20080819\domains\domain1\jbi\service-assemblies\CompositeApp1\CompositeApp1-RedeliveryDeleteBpel\sun-bpel- engine\RedeliveryDelete.bpel, Exception details are BPMOD-7001:Parsing error encountered in file :C:\openesb\glassfish- v2-ur2-b04-patch-20080819\domains\domain1\jbi\service-assemblies\CompositeApp1\CompositeApp1-RedeliveryDeleteBpel\sun- bpel-engine\META-INF\catalog.xml, message :Premature end of file. * Component: sun-javaee-engine Point taken. The catalog packaging routine threw an exception when it encountered an invalid stale entry in the catalog. Fixed. The catalog packaging routine now properly avoids failing when it encounters an invalid entry. A warning message is displayed instead. Likewise if the catalog cannot be created at the build will fail. Changeset in {soa-dev}: http://hg.netbeans.org/soa-dev/rev/0fbcc71ca827 i was able to build the 2 bpel projects and then build and and deploy the comp app OK on 1019 build. This bug was filed based on QE automated test failures. There are no more failures related to this bug in the 20081017-1525 - WinXP build run of QE automated tests. So, closing this bug as it is resolved. Hi, My environment re-generated the same situation. Could you give the correction procedure? Thanks |