[jira] [Commented] (OFBIZ-6535) EXCEPTION_ACCESS_VIOLATION zip.dll
[ https://issues.apache.org/jira/browse/OFBIZ-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14614176#comment-14614176 ] Paul Foxworthy commented on OFBIZ-6535: --- Hi Wangqiang, JDWP is the Java Debugging Wire Protocol. DestroyJavaVM is on the call stack. I think there was a failure while the OFBiz Java Virtual Machine was shutting down and trying to detach from a debugger. To my mind this is not a major problem. In a production situation there will not be a debugger, and if the OFBiz JVM is shutting down anyway, it hardly matters if it fails to communicate with the debugger on the way out. Could the problem be that you shut down the debugger first? If you are trying to run OFBiz while using a debugging tool like Eclipse, see if you can reproduce the problem when there is no debugger involved. Hope that helps. Paul Foxworthy EXCEPTION_ACCESS_VIOLATION zip.dll -- Key: OFBIZ-6535 URL: https://issues.apache.org/jira/browse/OFBIZ-6535 Project: OFBiz Issue Type: Bug Components: ALL APPLICATIONS Affects Versions: 12.04.05 Environment: OS: Windows 7 , 64 bit Build 7601 Service Pack 1 CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt Memory: 4k page, physical 8059132k(4174380k free), swap 16116428k(12087620k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (20.6-b01) for windows-amd64 JRE (1.6.0_31-b05), built on Feb 3 2012 18:34:57 by java_re with MS VC++ 8.0 (VS2005) Reporter: wangqiang Priority: Minor # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x6da9c5c2, pid=3472, tid=1496 # # JRE version: 6.0_31-b05 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode windows-amd64 compressed oops) # Problematic frame: # V [jvm.dll+0x1ec5c2] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # --- T H R E A D --- Current thread (0x0601a000): JavaThread JDWP Transport Listener: dt_socket daemon [_thread_in_vm, id=1496, stack(0x0662,0x0672)] siginfo: ExceptionCode=0xc005, reading address 0x0258 Registers: RAX=0x0200, RBX=0x0200, RCX=0x, RDX=0x08eeb460 RSP=0x0671f670, RBP=0x, RSI=0x0b5c6800, RDI=0x08eeb460 R8 =0x0200, R9 =0x0601a000, R10=0x, R11=0x R12=0x0006, R13=0x0671f7a8, R14=0x, R15=0x RIP=0x6da9c5c2, EFLAGS=0x00010206 Top of Stack: (sp=0x0671f670) 0x0671f670: 0004 6da9c81b 0x0671f680: 0601a000 08cbab38 0x0671f690: 0b5c6800 0005 0x0671f6a0: 0b5c6800 6da311b3 0x0671f6b0: 08cbab38 0671fed0 0x0671f6c0: 08eeb460 08cbab00 0x0671f6d0: 0x0671f6e0: 0671f7a8 0020e0e0 0x0671f6f0: 08cbab38 6d45 0x0671f700: 0601a1d0 0601a000 0x0671f710: 0020e0e0 0601a000 0x0671f720: 0601a000 0x0671f730: 0x0671f740: 0671f7f8 6d4dbd58 0x0671f750: 0671f7f8 08cbab38 0x0671f760: 08cbab38 0671f7f0 Instructions: (pc=0x6da9c5c2) 0x6da9c5a2: ca 5e 00 00 4c 8b 1f 49 f7 c3 fe ff ff ff 74 32 0x6da9c5b2: 41 f6 c3 01 74 98 eb 2a 48 83 e3 fe 48 89 5f 10 0x6da9c5c2: 48 8b 43 58 48 89 47 10 48 89 5f 18 e8 9d 5e 00 0x6da9c5d2: 00 4c 8b 1f 41 f6 c3 01 75 08 48 8b cb e8 8c e6 Register to memory mapping: RAX=0x0200 is an unknown value RBX=0x0200 is an unknown value RCX=0x is an unknown value RDX=0x08eeb460 is an unknown value RSP=0x0671f670 is pointing into the stack for thread: 0x0601a000 RBP=0x is an unknown value RSI=0x0b5c6800 is a thread RDI=0x08eeb460 is an unknown value R8 =0x0200 is an unknown value R9 =0x0601a000 is a thread R10=0x is an unknown value R11=0x is an unknown value R12=0x0006 is an unknown value R13=0x0671f7a8 is pointing into the stack for thread: 0x0601a000 R14=0x is an unknown
[jira] [Updated] (OFBIZ-6535) EXCEPTION_ACCESS_VIOLATION zip.dll
[ https://issues.apache.org/jira/browse/OFBIZ-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Foxworthy updated OFBIZ-6535: -- Priority: Minor (was: Major) EXCEPTION_ACCESS_VIOLATION zip.dll -- Key: OFBIZ-6535 URL: https://issues.apache.org/jira/browse/OFBIZ-6535 Project: OFBiz Issue Type: Bug Components: ALL APPLICATIONS Affects Versions: 12.04.05 Environment: OS: Windows 7 , 64 bit Build 7601 Service Pack 1 CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt Memory: 4k page, physical 8059132k(4174380k free), swap 16116428k(12087620k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (20.6-b01) for windows-amd64 JRE (1.6.0_31-b05), built on Feb 3 2012 18:34:57 by java_re with MS VC++ 8.0 (VS2005) Reporter: wangqiang Priority: Minor # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x6da9c5c2, pid=3472, tid=1496 # # JRE version: 6.0_31-b05 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode windows-amd64 compressed oops) # Problematic frame: # V [jvm.dll+0x1ec5c2] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # --- T H R E A D --- Current thread (0x0601a000): JavaThread JDWP Transport Listener: dt_socket daemon [_thread_in_vm, id=1496, stack(0x0662,0x0672)] siginfo: ExceptionCode=0xc005, reading address 0x0258 Registers: RAX=0x0200, RBX=0x0200, RCX=0x, RDX=0x08eeb460 RSP=0x0671f670, RBP=0x, RSI=0x0b5c6800, RDI=0x08eeb460 R8 =0x0200, R9 =0x0601a000, R10=0x, R11=0x R12=0x0006, R13=0x0671f7a8, R14=0x, R15=0x RIP=0x6da9c5c2, EFLAGS=0x00010206 Top of Stack: (sp=0x0671f670) 0x0671f670: 0004 6da9c81b 0x0671f680: 0601a000 08cbab38 0x0671f690: 0b5c6800 0005 0x0671f6a0: 0b5c6800 6da311b3 0x0671f6b0: 08cbab38 0671fed0 0x0671f6c0: 08eeb460 08cbab00 0x0671f6d0: 0x0671f6e0: 0671f7a8 0020e0e0 0x0671f6f0: 08cbab38 6d45 0x0671f700: 0601a1d0 0601a000 0x0671f710: 0020e0e0 0601a000 0x0671f720: 0601a000 0x0671f730: 0x0671f740: 0671f7f8 6d4dbd58 0x0671f750: 0671f7f8 08cbab38 0x0671f760: 08cbab38 0671f7f0 Instructions: (pc=0x6da9c5c2) 0x6da9c5a2: ca 5e 00 00 4c 8b 1f 49 f7 c3 fe ff ff ff 74 32 0x6da9c5b2: 41 f6 c3 01 74 98 eb 2a 48 83 e3 fe 48 89 5f 10 0x6da9c5c2: 48 8b 43 58 48 89 47 10 48 89 5f 18 e8 9d 5e 00 0x6da9c5d2: 00 4c 8b 1f 41 f6 c3 01 75 08 48 8b cb e8 8c e6 Register to memory mapping: RAX=0x0200 is an unknown value RBX=0x0200 is an unknown value RCX=0x is an unknown value RDX=0x08eeb460 is an unknown value RSP=0x0671f670 is pointing into the stack for thread: 0x0601a000 RBP=0x is an unknown value RSI=0x0b5c6800 is a thread RDI=0x08eeb460 is an unknown value R8 =0x0200 is an unknown value R9 =0x0601a000 is a thread R10=0x is an unknown value R11=0x is an unknown value R12=0x0006 is an unknown value R13=0x0671f7a8 is pointing into the stack for thread: 0x0601a000 R14=0x is an unknown value R15=0x is an unknown value Stack: [0x0662,0x0672], sp=0x0671f670, free space=1021k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x1ec5c2] [error occurred during error reporting (printing native stack), id 0xc005] --- P R O C E S S --- Java Threads: ( = current thread ) 0x0b5c6800 JavaThread GenericXaResource-Thread daemon [_thread_blocked, id=1892, stack(0x0d48,0x0d58)] 0x0b5c4800 JavaThread AWT-Windows daemon [_thread_in_native, id=852, stack(0x105a,0x106a)] 0x0b5c3000
[jira] [Comment Edited] (OFBIZ-6535) EXCEPTION_ACCESS_VIOLATION zip.dll
[ https://issues.apache.org/jira/browse/OFBIZ-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14614179#comment-14614179 ] Paul Foxworthy edited comment on OFBIZ-6535 at 7/5/15 8:34 AM: --- 6540 seems to be similar. The call stack there seems to show a crash in zip.dll. 6535 might be a consequence of that. was (Author: paul_foxworthy): Seems to be similar. The call stack in 6540 seems to show a crash in zip.dll. 6535 might be a consequence of that. EXCEPTION_ACCESS_VIOLATION zip.dll -- Key: OFBIZ-6535 URL: https://issues.apache.org/jira/browse/OFBIZ-6535 Project: OFBiz Issue Type: Bug Components: ALL APPLICATIONS Affects Versions: 12.04.05 Environment: OS: Windows 7 , 64 bit Build 7601 Service Pack 1 CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt Memory: 4k page, physical 8059132k(4174380k free), swap 16116428k(12087620k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (20.6-b01) for windows-amd64 JRE (1.6.0_31-b05), built on Feb 3 2012 18:34:57 by java_re with MS VC++ 8.0 (VS2005) Reporter: wangqiang Priority: Minor # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x6da9c5c2, pid=3472, tid=1496 # # JRE version: 6.0_31-b05 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode windows-amd64 compressed oops) # Problematic frame: # V [jvm.dll+0x1ec5c2] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # --- T H R E A D --- Current thread (0x0601a000): JavaThread JDWP Transport Listener: dt_socket daemon [_thread_in_vm, id=1496, stack(0x0662,0x0672)] siginfo: ExceptionCode=0xc005, reading address 0x0258 Registers: RAX=0x0200, RBX=0x0200, RCX=0x, RDX=0x08eeb460 RSP=0x0671f670, RBP=0x, RSI=0x0b5c6800, RDI=0x08eeb460 R8 =0x0200, R9 =0x0601a000, R10=0x, R11=0x R12=0x0006, R13=0x0671f7a8, R14=0x, R15=0x RIP=0x6da9c5c2, EFLAGS=0x00010206 Top of Stack: (sp=0x0671f670) 0x0671f670: 0004 6da9c81b 0x0671f680: 0601a000 08cbab38 0x0671f690: 0b5c6800 0005 0x0671f6a0: 0b5c6800 6da311b3 0x0671f6b0: 08cbab38 0671fed0 0x0671f6c0: 08eeb460 08cbab00 0x0671f6d0: 0x0671f6e0: 0671f7a8 0020e0e0 0x0671f6f0: 08cbab38 6d45 0x0671f700: 0601a1d0 0601a000 0x0671f710: 0020e0e0 0601a000 0x0671f720: 0601a000 0x0671f730: 0x0671f740: 0671f7f8 6d4dbd58 0x0671f750: 0671f7f8 08cbab38 0x0671f760: 08cbab38 0671f7f0 Instructions: (pc=0x6da9c5c2) 0x6da9c5a2: ca 5e 00 00 4c 8b 1f 49 f7 c3 fe ff ff ff 74 32 0x6da9c5b2: 41 f6 c3 01 74 98 eb 2a 48 83 e3 fe 48 89 5f 10 0x6da9c5c2: 48 8b 43 58 48 89 47 10 48 89 5f 18 e8 9d 5e 00 0x6da9c5d2: 00 4c 8b 1f 41 f6 c3 01 75 08 48 8b cb e8 8c e6 Register to memory mapping: RAX=0x0200 is an unknown value RBX=0x0200 is an unknown value RCX=0x is an unknown value RDX=0x08eeb460 is an unknown value RSP=0x0671f670 is pointing into the stack for thread: 0x0601a000 RBP=0x is an unknown value RSI=0x0b5c6800 is a thread RDI=0x08eeb460 is an unknown value R8 =0x0200 is an unknown value R9 =0x0601a000 is a thread R10=0x is an unknown value R11=0x is an unknown value R12=0x0006 is an unknown value R13=0x0671f7a8 is pointing into the stack for thread: 0x0601a000 R14=0x is an unknown value R15=0x is an unknown value Stack: [0x0662,0x0672], sp=0x0671f670, free space=1021k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x1ec5c2] [error occurred during error reporting (printing native stack), id 0xc005] --- P R O C E S S
[jira] [Commented] (OFBIZ-6535) EXCEPTION_ACCESS_VIOLATION zip.dll
[ https://issues.apache.org/jira/browse/OFBIZ-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14614179#comment-14614179 ] Paul Foxworthy commented on OFBIZ-6535: --- Seems to be similar. The call stack in 6540 seems to show a crash in zip.dll. 6535 might be a consequence of that. EXCEPTION_ACCESS_VIOLATION zip.dll -- Key: OFBIZ-6535 URL: https://issues.apache.org/jira/browse/OFBIZ-6535 Project: OFBiz Issue Type: Bug Components: ALL APPLICATIONS Affects Versions: 12.04.05 Environment: OS: Windows 7 , 64 bit Build 7601 Service Pack 1 CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt Memory: 4k page, physical 8059132k(4174380k free), swap 16116428k(12087620k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (20.6-b01) for windows-amd64 JRE (1.6.0_31-b05), built on Feb 3 2012 18:34:57 by java_re with MS VC++ 8.0 (VS2005) Reporter: wangqiang Priority: Minor # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x6da9c5c2, pid=3472, tid=1496 # # JRE version: 6.0_31-b05 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode windows-amd64 compressed oops) # Problematic frame: # V [jvm.dll+0x1ec5c2] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # --- T H R E A D --- Current thread (0x0601a000): JavaThread JDWP Transport Listener: dt_socket daemon [_thread_in_vm, id=1496, stack(0x0662,0x0672)] siginfo: ExceptionCode=0xc005, reading address 0x0258 Registers: RAX=0x0200, RBX=0x0200, RCX=0x, RDX=0x08eeb460 RSP=0x0671f670, RBP=0x, RSI=0x0b5c6800, RDI=0x08eeb460 R8 =0x0200, R9 =0x0601a000, R10=0x, R11=0x R12=0x0006, R13=0x0671f7a8, R14=0x, R15=0x RIP=0x6da9c5c2, EFLAGS=0x00010206 Top of Stack: (sp=0x0671f670) 0x0671f670: 0004 6da9c81b 0x0671f680: 0601a000 08cbab38 0x0671f690: 0b5c6800 0005 0x0671f6a0: 0b5c6800 6da311b3 0x0671f6b0: 08cbab38 0671fed0 0x0671f6c0: 08eeb460 08cbab00 0x0671f6d0: 0x0671f6e0: 0671f7a8 0020e0e0 0x0671f6f0: 08cbab38 6d45 0x0671f700: 0601a1d0 0601a000 0x0671f710: 0020e0e0 0601a000 0x0671f720: 0601a000 0x0671f730: 0x0671f740: 0671f7f8 6d4dbd58 0x0671f750: 0671f7f8 08cbab38 0x0671f760: 08cbab38 0671f7f0 Instructions: (pc=0x6da9c5c2) 0x6da9c5a2: ca 5e 00 00 4c 8b 1f 49 f7 c3 fe ff ff ff 74 32 0x6da9c5b2: 41 f6 c3 01 74 98 eb 2a 48 83 e3 fe 48 89 5f 10 0x6da9c5c2: 48 8b 43 58 48 89 47 10 48 89 5f 18 e8 9d 5e 00 0x6da9c5d2: 00 4c 8b 1f 41 f6 c3 01 75 08 48 8b cb e8 8c e6 Register to memory mapping: RAX=0x0200 is an unknown value RBX=0x0200 is an unknown value RCX=0x is an unknown value RDX=0x08eeb460 is an unknown value RSP=0x0671f670 is pointing into the stack for thread: 0x0601a000 RBP=0x is an unknown value RSI=0x0b5c6800 is a thread RDI=0x08eeb460 is an unknown value R8 =0x0200 is an unknown value R9 =0x0601a000 is a thread R10=0x is an unknown value R11=0x is an unknown value R12=0x0006 is an unknown value R13=0x0671f7a8 is pointing into the stack for thread: 0x0601a000 R14=0x is an unknown value R15=0x is an unknown value Stack: [0x0662,0x0672], sp=0x0671f670, free space=1021k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x1ec5c2] [error occurred during error reporting (printing native stack), id 0xc005] --- P R O C E S S --- Java Threads: ( = current thread ) 0x0b5c6800 JavaThread GenericXaResource-Thread daemon [_thread_blocked, id=1892, stack(0x0d48,0x0d58)]
[jira] [Commented] (OFBIZ-6015) Move Online Help Documentation from Webhelp into Trunk
[ https://issues.apache.org/jira/browse/OFBIZ-6015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14614234#comment-14614234 ] Sharan Foga commented on OFBIZ-6015: Webhelp code attachment is too large for Jira Move Online Help Documentation from Webhelp into Trunk -- Key: OFBIZ-6015 URL: https://issues.apache.org/jira/browse/OFBIZ-6015 Project: OFBiz Issue Type: Improvement Components: ALL APPLICATIONS Reporter: Sharan Foga Assignee: Sharan Foga Priority: Minor Attachments: Webhelp Analysis.ods This Jira has been created to manage the migration of all the documentation from the Webhelp branch into the current help system so that it will work with what we already have (essentially so that we dont lose it!). The original issue for the Webhelp is https://issues.apache.org/jira/browse/OFBIZ-4941 As well as HR, there is also online documentation for Accounting, Manufacturing (English, German and Dutch), Project Manager and Catalog - though not as complete, so I will be consolidating and moving those too. The files use the docbook format and are compatible with what we have although he implemented everything into one file (i.e book) per module. I now think this is the better way to go. Update as at July 2015 == The original code from the Webhelp branch was updated and converted to an OFBiz addon. The addon was created from the Webhelp branch but is setup as an addon. To see a what the webhelp will look like and function like. Go to https://demo.ofbizextra.org/accounting/control/main Login as admin/ofbiz Select HR and then click the help button (The docbook webhelp should be displayed) As well as using docbook and webhelp for displaying it. Some additonal funcitonality has been added. These are as follows: 1) There are some ant targets created (e.g. ant webhelp, clean-webhelp) 2) There is a flag setup to indicate whether a module has webhelp or uses OFBiz standard help (i.e. what we are using now). To test it on the ofbizextra demo Select Facilities and then click the help button (The normal OFBiz help menu is displayed because no webhelp exists for this module) I think this could be good thing as we convert the existing documentation from the current online help format to the webhelp because it wont break anything and leaves the option open for people who are using the existing help system. 3) There is also some functionality related to language that looks at the language of the user to see if the webhelp exists in that language. If it doesn't there is a message saying so but that documentation exists in another language The addon uses the patch Files. (.patch) I think this is because the addon tries to maintain compatibility with different OFBiz versions but I think it's still just xml or java code. I have done an initial (non technical) analysis of the files and attached that too -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (OFBIZ-6015) Move Online Help Documentation from Webhelp into Trunk
[ https://issues.apache.org/jira/browse/OFBIZ-6015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14614234#comment-14614234 ] Sharan Foga edited comment on OFBIZ-6015 at 7/5/15 1:02 PM: Webhelp code attachment is too large for Jira so have uploaded zip file to Wiki https://cwiki.apache.org/confluence/display/OFBIZ/Webhelp+Addon+Code was (Author: sharan ): Webhelp code attachment is too large for Jira Move Online Help Documentation from Webhelp into Trunk -- Key: OFBIZ-6015 URL: https://issues.apache.org/jira/browse/OFBIZ-6015 Project: OFBiz Issue Type: Improvement Components: ALL APPLICATIONS Reporter: Sharan Foga Assignee: Sharan Foga Priority: Minor Attachments: Webhelp Analysis.ods This Jira has been created to manage the migration of all the documentation from the Webhelp branch into the current help system so that it will work with what we already have (essentially so that we dont lose it!). The original issue for the Webhelp is https://issues.apache.org/jira/browse/OFBIZ-4941 As well as HR, there is also online documentation for Accounting, Manufacturing (English, German and Dutch), Project Manager and Catalog - though not as complete, so I will be consolidating and moving those too. The files use the docbook format and are compatible with what we have although he implemented everything into one file (i.e book) per module. I now think this is the better way to go. Update as at July 2015 == The original code from the Webhelp branch was updated and converted to an OFBiz addon. The addon was created from the Webhelp branch but is setup as an addon. To see a what the webhelp will look like and function like. Go to https://demo.ofbizextra.org/accounting/control/main Login as admin/ofbiz Select HR and then click the help button (The docbook webhelp should be displayed) As well as using docbook and webhelp for displaying it. Some additonal funcitonality has been added. These are as follows: 1) There are some ant targets created (e.g. ant webhelp, clean-webhelp) 2) There is a flag setup to indicate whether a module has webhelp or uses OFBiz standard help (i.e. what we are using now). To test it on the ofbizextra demo Select Facilities and then click the help button (The normal OFBiz help menu is displayed because no webhelp exists for this module) I think this could be good thing as we convert the existing documentation from the current online help format to the webhelp because it wont break anything and leaves the option open for people who are using the existing help system. 3) There is also some functionality related to language that looks at the language of the user to see if the webhelp exists in that language. If it doesn't there is a message saying so but that documentation exists in another language The addon uses the patch Files. (.patch) I think this is because the addon tries to maintain compatibility with different OFBiz versions but I think it's still just xml or java code. I have done an initial (non technical) analysis of the files and attached that too -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6450) Docbook and OFBIz Online Help
[ https://issues.apache.org/jira/browse/OFBIZ-6450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14614221#comment-14614221 ] Sharan Foga commented on OFBIZ-6450: I will add my initial analysis (from a non tech person) and the webhelp code for the addon to Jira 6015 (https://issues.apache.org/jira/browse/OFBIZ-6015) Docbook and OFBIz Online Help - Key: OFBIZ-6450 URL: https://issues.apache.org/jira/browse/OFBIZ-6450 Project: OFBiz Issue Type: Bug Reporter: Sharan Foga Assignee: Sharan Foga Attachments: 02-docbook_overview_diagram.pdf, humanres.xml Jira created based on the steps suggested by Taher as follows: - First, we attempt to fix whatever is wrong in DocBook at the moment. If you can share exactly what you spotted then this would save us a lot of time in trying to dig to the problem. So a repeat process to identify the bugs from you would be great. - Second, we decide on a category structure for the sections of the documentation if we do not like the existing one - We also introduce or enforce a workflow that mandates an update of the documentation on each JIRA that affects functionality that requires documentation. For example, if we add or modify a screen in the party component, then we must provide the documentation for that screen before closing the JIRA for example. - As a last step we decide on the appropriate technology to move forward. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6015) Move Online Help Documentation from Webhelp into Trunk
[ https://issues.apache.org/jira/browse/OFBIZ-6015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sharan Foga updated OFBIZ-6015: --- Attachment: Webhelp Analysis.ods Initial non tech analysis of webhelp addon files showing modifications to existing, new files created and comments on use of files Move Online Help Documentation from Webhelp into Trunk -- Key: OFBIZ-6015 URL: https://issues.apache.org/jira/browse/OFBIZ-6015 Project: OFBiz Issue Type: Improvement Components: ALL APPLICATIONS Reporter: Sharan Foga Assignee: Sharan Foga Priority: Minor Attachments: Webhelp Analysis.ods This Jira has been created to manage the migration of all the documentation from the Webhelp branch into the current help system so that it will work with what we already have (essentially so that we dont lose it!). The original issue for the Webhelp is https://issues.apache.org/jira/browse/OFBIZ-4941 As well as HR, there is also online documentation for Accounting, Manufacturing (English, German and Dutch), Project Manager and Catalog - though not as complete, so I will be consolidating and moving those too. The files use the docbook format and are compatible with what we have although he implemented everything into one file (i.e book) per module. I now think this is the better way to go. Update as at July 2015 == The original code from the Webhelp branch was updated and converted to an OFBiz addon. The addon was created from the Webhelp branch but is setup as an addon. To see a what the webhelp will look like and function like. Go to https://demo.ofbizextra.org/accounting/control/main Login as admin/ofbiz Select HR and then click the help button (The docbook webhelp should be displayed) As well as using docbook and webhelp for displaying it. Some additonal funcitonality has been added. These are as follows: 1) There are some ant targets created (e.g. ant webhelp, clean-webhelp) 2) There is a flag setup to indicate whether a module has webhelp or uses OFBiz standard help (i.e. what we are using now). To test it on the ofbizextra demo Select Facilities and then click the help button (The normal OFBiz help menu is displayed because no webhelp exists for this module) I think this could be good thing as we convert the existing documentation from the current online help format to the webhelp because it wont break anything and leaves the option open for people who are using the existing help system. 3) There is also some functionality related to language that looks at the language of the user to see if the webhelp exists in that language. If it doesn't there is a message saying so but that documentation exists in another language The addon uses the patch Files. (.patch) I think this is because the addon tries to maintain compatibility with different OFBiz versions but I think it's still just xml or java code. I have done an initial (non technical) analysis of the files and attached that too -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6015) Move Online Help Documentation from Webhelp into Trunk
[ https://issues.apache.org/jira/browse/OFBIZ-6015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sharan Foga updated OFBIZ-6015: --- Description: This Jira has been created to manage the migration of all the documentation from the Webhelp branch into the current help system so that it will work with what we already have (essentially so that we dont lose it!). The original issue for the Webhelp is https://issues.apache.org/jira/browse/OFBIZ-4941 As well as HR, there is also online documentation for Accounting, Manufacturing (English, German and Dutch), Project Manager and Catalog - though not as complete, so I will be consolidating and moving those too. The files use the docbook format and are compatible with what we have although he implemented everything into one file (i.e book) per module. I now think this is the better way to go. Update as at July 2015 == The original code from the Webhelp branch was updated and converted to an OFBiz addon. The addon was created from the Webhelp branch but is setup as an addon. To see a what the webhelp will look like and function like. Go to https://demo.ofbizextra.org/accounting/control/main Login as admin/ofbiz Select HR and then click the help button (The docbook webhelp should be displayed) As well as using docbook and webhelp for displaying it. Some additonal funcitonality has been added. These are as follows: 1) There are some ant targets created (e.g. ant webhelp, clean-webhelp) 2) There is a flag setup to indicate whether a module has webhelp or uses OFBiz standard help (i.e. what we are using now). To test it on the ofbizextra demo Select Facilities and then click the help button (The normal OFBiz help menu is displayed because no webhelp exists for this module) I think this could be good thing as we convert the existing documentation from the current online help format to the webhelp because it wont break anything and leaves the option open for people who are using the existing help system. 3) There is also some functionality related to language that looks at the language of the user to see if the webhelp exists in that language. If it doesn't there is a message saying so but that documentation exists in another language The addon uses the patch Files. (.patch) I think this is because the addon tries to maintain compatibility with different OFBiz versions but I think it's still just xml or java code. I have done an initial (non technical) analysis of the files and attached that too was: This Jira has been created to manage the migration of all the documentation from the Webhelp branch into the current help system so that it will work with what we already have (essentially so that we dont lose it!). The original issue for the Webhelp is https://issues.apache.org/jira/browse/OFBIZ-4941 As well as HR, there is also online documentation for Accounting, Manufacturing (English, German and Dutch), Project Manager and Catalog - though not as complete, so I will be consolidating and moving those too. The files use the docbook format and are compatible with what we have although he implemented everything into one file whereas we use one file per screen - so I'll need to split it up. Move Online Help Documentation from Webhelp into Trunk -- Key: OFBIZ-6015 URL: https://issues.apache.org/jira/browse/OFBIZ-6015 Project: OFBiz Issue Type: Improvement Components: ALL APPLICATIONS Reporter: Sharan Foga Assignee: Sharan Foga Priority: Minor This Jira has been created to manage the migration of all the documentation from the Webhelp branch into the current help system so that it will work with what we already have (essentially so that we dont lose it!). The original issue for the Webhelp is https://issues.apache.org/jira/browse/OFBIZ-4941 As well as HR, there is also online documentation for Accounting, Manufacturing (English, German and Dutch), Project Manager and Catalog - though not as complete, so I will be consolidating and moving those too. The files use the docbook format and are compatible with what we have although he implemented everything into one file (i.e book) per module. I now think this is the better way to go. Update as at July 2015 == The original code from the Webhelp branch was updated and converted to an OFBiz addon. The addon was created from the Webhelp branch but is setup as an addon. To see a what the webhelp will look like and function like. Go to https://demo.ofbizextra.org/accounting/control/main Login as admin/ofbiz Select HR and then click the help button (The docbook webhelp should be displayed) As well as using docbook and webhelp for displaying it. Some additonal funcitonality has been added. These
[jira] [Commented] (OFBIZ-6542) TERRITORY type not displayed in State/Province dropdown list
[ https://issues.apache.org/jira/browse/OFBIZ-6542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14614315#comment-14614315 ] Shi Jinghai commented on OFBIZ-6542: Thanks Gan Hong-Wai. I added EntityCondition.makeCondition(geoTypeId, TERRITORY) in CommonWorkers.java of Release 13.07. Tested the change on page /ecommerce/control/editcontactmechnosave with Australia as the country selected, the Australian Capital Territory (AU-ACT) and Northern Territory (AU-NT) are in state list now. The rev. is 1689263. TERRITORY type not displayed in State/Province dropdown list Key: OFBIZ-6542 URL: https://issues.apache.org/jira/browse/OFBIZ-6542 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: 13.07.02 Reporter: Gan Hong-Wai Assignee: Shi Jinghai Priority: Minor Labels: easyfix On the Create New Party Page, the State/Province dropdown list does not show regions marked out as TERRITORY. Similar issue: OFBIZ-1737. File: framework/common/src/org/ofbiz/common/CommonWorkers.java Line 144 is missing: EntityCondition.makeCondition(geoTypeId, TERRITORY), -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Re: svn commit: r1688503 [1/2] - in /ofbiz/trunk: ./ specialpurpose/ specialpurpose/ecommerce/webapp/ecommerce/customer/ specialpurpose/ecommerce/webapp/ecomseo/WEB-INF/ specialpurpose/ecommerce/widge
Ha sorry, I just came back home. Thanks Pierre! Personally, I don't think it's a big improvement. It's only a function extension under /specialpurpose and will not be included in releases. Awfully sorry if I offended anybody. I'll write a wiki on how to config it later. Kind Regards, Shi Jinghai/Langhua 在 2015-7-1,下午5:46,Pierre Smits pierre.sm...@gmail.com 写道: Why is this being dumped in the repository without some kind of apparent consensus about having it in? It seems to me that there was consensus regarding these kind of big improvements would go through a process of Review Than Commit in stead of having it in trunk and then review it. Meaning having it as patches of JIRA issue... Best regards, Pierre Smits *ORRTIZ.COM http://www.orrtiz.com* Services Solutions for Cloud- Based Manufacturing, Professional Services and Retail Trade http://www.orrtiz.com On Tue, Jun 30, 2015 at 9:38 PM, sh...@apache.org wrote: Author: shijh Date: Tue Jun 30 18:38:16 2015 New Revision: 1688503 URL: http://svn.apache.org/r1688503 Log: Refs OFBIZ-6135. The oauth2 login icons will appear in /ecomseo/checkLogin page if the seed data files are properly configured and imported into database. Added: ofbiz/trunk/specialpurpose/passport/ ofbiz/trunk/specialpurpose/passport/README (with props) ofbiz/trunk/specialpurpose/passport/build.xml (with props) ofbiz/trunk/specialpurpose/passport/config/ ofbiz/trunk/specialpurpose/passport/config/PassportUiLabels.xml (with props) ofbiz/trunk/specialpurpose/passport/config/gitHubAuth.properties (with props) ofbiz/trunk/specialpurpose/passport/config/linkedInAuth.properties (with props) ofbiz/trunk/specialpurpose/passport/data/ ofbiz/trunk/specialpurpose/passport/data/OAuth2CommonSeedData.xml (with props) ofbiz/trunk/specialpurpose/passport/data/OAuth2GitHubSeedData.xml (with props) ofbiz/trunk/specialpurpose/passport/data/OAuth2LinkedInSeedData.xml (with props) ofbiz/trunk/specialpurpose/passport/entitydef/ ofbiz/trunk/specialpurpose/passport/entitydef/entitymodel.xml (with props) ofbiz/trunk/specialpurpose/passport/ofbiz-component.xml (with props) ofbiz/trunk/specialpurpose/passport/src/ ofbiz/trunk/specialpurpose/passport/src/org/ ofbiz/trunk/specialpurpose/passport/src/org/ofbiz/ ofbiz/trunk/specialpurpose/passport/src/org/ofbiz/passport/ ofbiz/trunk/specialpurpose/passport/src/org/ofbiz/passport/event/ ofbiz/trunk/specialpurpose/passport/src/org/ofbiz/passport/event/GitHubEvents.java (with props) ofbiz/trunk/specialpurpose/passport/src/org/ofbiz/passport/event/LinkedInEvents.java (with props) ofbiz/trunk/specialpurpose/passport/src/org/ofbiz/passport/user/ ofbiz/trunk/specialpurpose/passport/src/org/ofbiz/passport/user/GitHubAuthenticator.java (with props) ofbiz/trunk/specialpurpose/passport/src/org/ofbiz/passport/user/GitHubUserGroupMapper.java (with props) ofbiz/trunk/specialpurpose/passport/src/org/ofbiz/passport/user/LinkedInAuthenticator.java (with props) ofbiz/trunk/specialpurpose/passport/src/org/ofbiz/passport/user/LinkedInUserGroupMapper.java (with props) ofbiz/trunk/specialpurpose/passport/src/org/ofbiz/passport/util/ ofbiz/trunk/specialpurpose/passport/src/org/ofbiz/passport/util/PassportUtil.java (with props) ofbiz/trunk/specialpurpose/passport/webapp/ ofbiz/trunk/specialpurpose/passport/webapp/passport/ ofbiz/trunk/specialpurpose/passport/webapp/passport/WEB-INF/ ofbiz/trunk/specialpurpose/passport/webapp/passport/WEB-INF/actions/ ofbiz/trunk/specialpurpose/passport/webapp/passport/WEB-INF/actions/login/ ofbiz/trunk/specialpurpose/passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy (with props) ofbiz/trunk/specialpurpose/passport/webapp/passport/WEB-INF/controller-passport.xml (with props) ofbiz/trunk/specialpurpose/passport/webapp/passport/images/ ofbiz/trunk/specialpurpose/passport/webapp/passport/images/alipay.png (with props) ofbiz/trunk/specialpurpose/passport/webapp/passport/images/github.png (with props) ofbiz/trunk/specialpurpose/passport/webapp/passport/images/linkedin.png (with props) ofbiz/trunk/specialpurpose/passport/webapp/passport/images/paypal.png (with props) ofbiz/trunk/specialpurpose/passport/webapp/passport/images/qq.png (with props) ofbiz/trunk/specialpurpose/passport/webapp/passport/images/renren.png (with props) ofbiz/trunk/specialpurpose/passport/webapp/passport/images/taobao.png (with props) ofbiz/trunk/specialpurpose/passport/webapp/passport/images/weibo.png (with props) ofbiz/trunk/specialpurpose/passport/webapp/passport/images/weixin.png (with props) ofbiz/trunk/specialpurpose/passport/webapp/passport/login/ ofbiz/trunk/specialpurpose/passport/webapp/passport/login/thirdPartyLogins.ftl (with props) ofbiz/trunk/specialpurpose/passport/widget/
[jira] [Closed] (OFBIZ-6540) JVM crash
[ https://issues.apache.org/jira/browse/OFBIZ-6540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-6540. -- Resolution: Incomplete Assignee: Jacques Le Roux JVM crash - Key: OFBIZ-6540 URL: https://issues.apache.org/jira/browse/OFBIZ-6540 Project: OFBiz Issue Type: Bug Affects Versions: 12.04.04 Reporter: wangqiang Assignee: Jacques Le Roux # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x6d8a50fa, pid=5748, tid=5076 # # JRE version: 6.0_45-b06 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode windows-amd64 compressed oops) # Problematic frame: # C [zip.dll+0x50fa] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # --- T H R E A D --- Current thread (0x1af35000): JavaThread http-0.0.0.0-8080-36 daemon [_thread_in_native, id=5076, stack(0x1d26,0x1d36)] siginfo: ExceptionCode=0xc005, reading address 0x117fb000 Registers: RAX=0x00018f0d, RBX=0x117fb000, RCX=0x10961760, RDX=0x00018f0d RSP=0x1d35e0d0, RBP=0x117e20f8, RSI=0x8a91, RDI=0x R8 =0x8a91, R9 =0x0fdf8e00, R10=0x0fdf8e00, R11=0xfffdfb89 R12=0xfffb, R13=0x029a, R14=0x0003, R15=0x0200 RIP=0x6d8a50fa, EFLAGS=0x00010293 Top of Stack: (sp=0x1d35e0d0) 0x1d35e0d0: 2328 0x1d35e0e0: b53c8840 b5dabee0 0x1d35e0f0: 0fdf8e00 6d8a5484 0x1d35e100: 6da154bd 0x1d35e110: 0003 029a 0x1d35e120: b53c8840 0x1d35e130: 0001 0x1d35e140: 0fdf8e00 6d8a3060 0x1d35e150: 10e66db0 6d8a279b 0x1d35e160: 143cd0d0 0x1d35e170: 0001 143cd0d0 0x1d35e180: 0x1d35e190: 0fdf8e00 6d8a29cb 0x1d35e1a0: 0024 6da1ba47 0x1d35e1b0: adf47408 0x1d35e1c0: 1d35e300 b8d94e70 Instructions: (pc=0x6d8a50fa) 0x6d8a50da: 42 10 41 0f b7 d3 66 f7 d2 66 c1 ea 08 88 14 01 0x6d8a50ea: 41 ff 42 28 45 85 db eb 17 49 8b 4a 10 48 63 d0 0x6d8a50fa: 8a 03 88 04 0a 41 ff 42 28 48 ff c3 41 83 c3 ff 0x6d8a510a: 41 8b 42 28 75 e3 48 83 c4 20 5b c3 cc cc 48 53 Register to memory mapping: RAX=0x00018f0d is an unknown value RBX=0x117fb000 is an unknown value RCX=0x10961760 is an unknown value RDX=0x00018f0d is an unknown value RSP=0x1d35e0d0 is pointing into the stack for thread: 0x1af35000 RBP=0x117e20f8 is an unknown value RSI=0x8a91 is an unallocated location in the heap RDI=0x is an unknown value R8 =0x8a91 is an unallocated location in the heap R9 =0x0fdf8e00 is an unknown value R10=0x0fdf8e00 is an unknown value R11=0xfffdfb89 is an unallocated location in the heap R12=0xfffb is an unknown value R13=0x029a is an unknown value R14=0x0003 is an unknown value R15=0x0200 is an unknown value Stack: [0x1d26,0x1d36], sp=0x1d35e0d0, free space=1016k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [zip.dll+0x50fa] Java_java_util_zip_ZipEntry_initFields+0x2e92 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j java.util.zip.Deflater.deflateBytes(J[BII)I+0 J org.apache.coyote.http11.filters.FlushableGZIPOutputStream.deflate()V J java.util.zip.DeflaterOutputStream.write([BII)V j java.util.zip.GZIPOutputStream.write([BII)V+4 j org.apache.coyote.http11.filters.FlushableGZIPOutputStream.flushLastByte()V+23 j org.apache.coyote.http11.filters.FlushableGZIPOutputStream.flush()V+26 J org.apache.coyote.http11.InternalOutputBuffer.flush()V j org.apache.coyote.http11.Http11Processor.action(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V+104 j org.apache.coyote.Response.action(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V+31 j org.apache.catalina.connector.OutputBuffer.doFlush(Z)V+80 j
[jira] [Closed] (OFBIZ-6542) TERRITORY type not displayed in State/Province dropdown list
[ https://issues.apache.org/jira/browse/OFBIZ-6542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai closed OFBIZ-6542. -- Resolution: Fixed Fix Version/s: Release Branch 13.07 Trunk The rev. is in trunk 1689266. TERRITORY type not displayed in State/Province dropdown list Key: OFBIZ-6542 URL: https://issues.apache.org/jira/browse/OFBIZ-6542 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: 13.07.02 Reporter: Gan Hong-Wai Assignee: Shi Jinghai Priority: Minor Labels: easyfix Fix For: Trunk, Release Branch 13.07 On the Create New Party Page, the State/Province dropdown list does not show regions marked out as TERRITORY. Similar issue: OFBIZ-1737. File: framework/common/src/org/ofbiz/common/CommonWorkers.java Line 144 is missing: EntityCondition.makeCondition(geoTypeId, TERRITORY), -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6506) XSS vulnerability in OFBiz forms and screens especially in display-entity component
[ https://issues.apache.org/jira/browse/OFBIZ-6506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14614415#comment-14614415 ] Jacques Le Roux commented on OFBIZ-6506: Could you provide a case to reproduce the initial XSS issue? I tried this: in a groovy file called by a screen widget {code} context.test = scriptalert('alert')/script {code} in the screen widget {code} set field=parameters.test from-field=test/ {code} in the form called by the screen: {code} field name=testdisplay//field {code} I got no js alert popup but this in HTML source: {code} label for=form_test id=form_test_titleTest/label /td td colspan=7 lt;scriptgt;alert#x28;#x27;alert#x27;#x29;lt;#x2f;scriptgt; /td {code} So as you see the data is escaped before being rendered. There is a reproducible case and it's {code} field name=testdisplay default-value=lt;scriptgt;alert(#39;alert#39;)lt;/scriptgt;//field {code} But this is really shooting oneself in the foot only for the fun of it. If you like to shoot yourself in the foot there is another way by using the same process than above but adding encode-output=false in the form widget {code} field name=test encode-output=falsedisplay//field {code} Please let us know your concern and how to reproduce, else in a week, I will close this issue and the Stackoverflows as invalid . XSS vulnerability in OFBiz forms and screens especially in display-entity component --- Key: OFBIZ-6506 URL: https://issues.apache.org/jira/browse/OFBIZ-6506 Project: OFBiz Issue Type: Bug Components: ALL COMPONENTS Reporter: Lilian Iatco Labels: display, entity, form, ofbiz, screen, vulnerability, xss In Ofbiz form need to escape characters from description column in a display-entity tag to avoid XSS attacks. display-entity entity-name=Table description=${description} I tried to use bsh, as following: display-entity entity-name=Table description=${bsh: org.apache.commons.lang.StringEscapeUtils.escapeHtml(quot;${description}quot;)} But I get this error: Error rendering screen [component://my/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object. (This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object.) Also you can see here a similar issue: http://stackoverflow.com/questions/30097370/how-to-escape-characters-in-ofbiz-widget -- This message was sent by Atlassian JIRA (v6.3.4#6332)