Hi Team,

I am new to Jibx and I am facing problem during migration project from WAS 7 to 
WAS 8.5.5.4, where java VERSION is upgraded from IBM Java 1.6 to IBM Java 1.7


Requirement: To Generate Globalfiles.jar, in which we require to generate 
JiBX_binding<ClassName>_access.class files using jibx.jar.
Issue: Occurred while generating JiBX_binding<ClassName>_access.class


Issue occurred while executing jibx binding

When I have used old Jibx jars,

jibx-bind.jar
jibx-extras.jar
jibx-run.jar
xpp3.jar

I dont get any error, but when i replaced with Jibx jar file with version 1.2.5
and execute under IBM sdk 1.7, I am getting Binding error: Binding binding.xml 
is unusable because of validation errors



     [bind] Warning: Class com.aegon.bup.value.waarborg.Waarborg extends 
com.aegon.bup.value.ValueObject which has a base mapping with extensions, but 
this mapping does not extend it; on mapping element at (line 4962, col 72, in 
binding.xml)
     [bind] Error running binding compiler
     [bind] org.jibx.runtime.JiBXException: Binding binding.xml is unusable 
because of validation errors
     [bind]               at 
org.jibx.binding.Utility.loadBinding(Utility.java:358)
     [bind]               at 
org.jibx.binding.Utility.loadFileBinding(Utility.java:420)
     [bind]               at org.jibx.binding.Compile.compile(Compile.java:217)
     [bind]               at 
org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
     [bind]               at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
     [bind]               at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [bind]               at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
     [bind]               at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
     [bind]               at java.lang.reflect.Method.invoke(Method.java:613)
     [bind]               at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [bind]               at org.apache.tools.ant.Task.perform(Task.java:348)
     [bind]               at 
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
     [bind]               at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
     [bind]               at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [bind]               at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
     [bind]               at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
     [bind]               at java.lang.reflect.Method.invoke(Method.java:613)
     [bind]               at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [bind]               at org.apache.tools.ant.Task.perform(Task.java:348)
     [bind]               at 
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
     [bind]               at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
     [bind]               at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [bind]               at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
     [bind]               at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
     [bind]               at java.lang.reflect.Method.invoke(Method.java:613)
     [bind]               at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [bind]               at org.apache.tools.ant.Task.perform(Task.java:348)
     [bind]               at 
org.apache.tools.ant.Target.execute(Target.java:435)
     [bind]               at 
org.apache.tools.ant.Target.performTasks(Target.java:456)
     [bind]               at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
     [bind]               at 
org.apache.tools.ant.Project.executeTarget(Project.java:1364)
     [bind]               at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [bind]               at 
org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
     [bind]               at 
org.apache.tools.ant.Project.executeTargets(Project.java:1248)
     [bind]               at 
org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:423)
     [bind]               at 
org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:137)

BUILD FAILED
C:\Aelink2\Myworkspace\GlobalFiles\build\build.xml:63: The following error 
occurred while executing this line:
C:\Aelink2\Repository\build\common-tasks.xml:532: JiBXException in JiBX binding 
compilation
                at 
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:568)
                at 
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:399)
                at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
                at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
                at java.lang.reflect.Method.invoke(Method.java:613)
                at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
                at org.apache.tools.ant.Task.perform(Task.java:348)
                at org.apache.tools.ant.Target.execute(Target.java:435)
                at org.apache.tools.ant.Target.performTasks(Target.java:456)
                at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
                at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
                at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
                at 
org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
                at 
org.apache.tools.ant.Project.executeTargets(Project.java:1248)
                at 
org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:423)
                at 
org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:137)
Caused by: C:\Aelink2\Repository\build\common-tasks.xml:532: JiBXException in 
JiBX binding compilation
                at 
org.jibx.binding.ant.CompileTask.execute(CompileTask.java:252)
                at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
                at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
                at java.lang.reflect.Method.invoke(Method.java:613)
                at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
                at org.apache.tools.ant.Task.perform(Task.java:348)
                at 
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
                at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
                at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
                at java.lang.reflect.Method.invoke(Method.java:613)
                at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
                at org.apache.tools.ant.Task.perform(Task.java:348)
                at 
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
                ... 16 more
Caused by: org.jibx.runtime.JiBXException: Error running binding compiler
                at org.jibx.binding.Compile.compile(Compile.java:318)
                at 
org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
                ... 32 more
Caused by: org.jibx.runtime.JiBXException: Binding binding.xml is unusable 
because of validation errors
                at org.jibx.binding.Utility.loadBinding(Utility.java:358)
                at org.jibx.binding.Utility.loadFileBinding(Utility.java:420)
                at org.jibx.binding.Compile.compile(Compile.java:217)
                ... 33 more

Total time: 9 seconds


Environment and software details as below:
Java version: 1.7.0
Java(TM) SE Runtime Environment (build pwa6470sr9fp20-20151106_01(SR9 FP20))
IBM J9 VM (build 2.6, JRE 1.7.0 Windows 7 amd64-64 Compressed References 2015101
9_272770 (JIT enabled, AOT enabled)
J9VM - R26_Java726_SR9_20151019_2234_B272770
JIT  - tr.r11_20151005_102425.01
GC   - R26_Java726_SR9_20151019_2234_B272770_CMPRSS
J9CL - 20151019_272770)
JCL - 20151105_01 based on Oracle jdk7u91-b15

ANT version: 1.9.4

jibx.jar: 1.2.5


Kindly help me to identify and resolve the issue.

Thanks & Regards
Ravi Kumar



::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on 
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written 
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please 
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to