[ 
https://issues.apache.org/jira/browse/OFBIZ-6915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15196260#comment-15196260
 ] 

Jacques Le Roux commented on OFBIZ-6915:
----------------------------------------

Hi Chatree,

I removed the OWASP Dependency Check files because there are encrypted values 
related to them. Anyway they are provided as example and I even wonder now if I 
will keep them there or rather only at 
https://cwiki.apache.org/confluence/display/OFBIZ/About+OWASP+Dependency+Check. 
Having them up to date in the repo would be better, but needs more work, I will 
see...

Else I have applied your patch (thanks for tomcat-8.0.32-libs.zip idea!) and 
all seems to going well so far but 2 tests: testTextMacroLibrary and 
testCsvMacroLibrary. It's the same issue: and here is the error I got:
{code}
     [java] 2016-03-15 21:39:17,656 |http-nio-8443-exec-5 |ModelScreenWidget    
         |E| Error rendering included form named [LayoutDemoList] at location 
[component://webtools/widget/MiscForms.xml]: java.
lang.StringIndexOutOfBoundsException: String index out of range: 3
     [java] java.lang.StringIndexOutOfBoundsException: String index out of 
range: 3
     [java]     at java.lang.String.charAt(String.java:658) ~[?:1.8.0_74]
     [java]     at 
org.apache.catalina.loader.WebappClassLoaderBase.filter(WebappClassLoaderBase.java:2780)
 ~[tomcat-8.0.32-catalina.jar:8.0.32]
     [java]     at 
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1253)
 ~[tomcat-8.0.32-catalina.jar:8.0.32]
     [java]     at 
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1142)
 ~[tomcat-8.0.32-catalina.jar:8.0.32]
     [java]     at bsh.classpath.ClassManagerImpl.classForName(Unknown Source) 
~[bsh-2.0b4.jar:2.0b4 2007-04-28 05:52:58]
     [java]     at bsh.NameSpace.classForName(Unknown Source) 
~[bsh-2.0b4.jar:2.0b4 2007-04-28 05:52:58]
     [java]     at bsh.NameSpace.getClassImpl(Unknown Source) 
~[bsh-2.0b4.jar:2.0b4 2007-04-28 05:52:58]
     [java]     at bsh.NameSpace.getClass(Unknown Source) ~[bsh-2.0b4.jar:2.0b4 
2007-04-28 05:52:58]
     [java]     at bsh.Name.consumeNextObjectField(Unknown Source) 
~[bsh-2.0b4.jar:2.0b4 2007-04-28 05:52:58]
     [java]     at bsh.Name.toLHS(Unknown Source) ~[bsh-2.0b4.jar:2.0b4 
2007-04-28 05:52:58]
     [java]     at bsh.Interpreter.set(Unknown Source) ~[bsh-2.0b4.jar:2.0b4 
2007-04-28 05:52:58]
     [java]     at org.ofbiz.base.util.BshUtil.makeInterpreter(BshUtil.java:94) 
~[ofbiz-base.jar:?]
     [java]     at 
org.ofbiz.widget.model.ModelForm.getBshInterpreter(ModelForm.java:898) 
~[ofbiz-widget.jar:?]
     [java]     at 
org.ofbiz.widget.model.ModelForm.getStyleAltRowStyle(ModelForm.java:1323) 
~[ofbiz-widget.jar:?]
     [java]     at 
org.ofbiz.widget.renderer.macro.MacroFormRenderer.renderFormatItemRowOpen(MacroFormRenderer.java:1618)
 ~[ofbiz-widget.jar:?]
     [java]     at 
org.ofbiz.widget.renderer.FormRenderer.renderItemRow(FormRenderer.java:538) 
~[ofbiz-widget.jar:?]
     [java]     at 
org.ofbiz.widget.renderer.FormRenderer.renderItemRows(FormRenderer.java:899) 
~[ofbiz-widget.jar:?]
     [java]     at 
org.ofbiz.widget.renderer.FormRenderer.renderListFormString(FormRenderer.java:941)
 ~[ofbiz-widget.jar:?]
     [java]     at 
org.ofbiz.widget.renderer.FormRenderer.render(FormRenderer.java:266) 
~[ofbiz-widget.jar:?]
{code}

I have some changes pending, but I doubt they are related. Could you confirm 
you don't get those?

> Upgrade Tomcat to 8.0.32
> ------------------------
>
>                 Key: OFBIZ-6915
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6915
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>         Environment: Ubuntu 14.04 
>            Reporter: Chatree Srichart
>            Assignee: Jacques Le Roux
>         Attachments: tomcat-8.0.32-libs.zip, upgrade_tomcat_to_8.0.32.patch
>
>
> I am working on a library which requires Tomcat 8 but it cannot work on the 
> current trunk which is using Tomcat 7. Would it be possible to upgrade Tomcat 
> to version 8? I also provides a patch and libraries for Tomcat 8.0.32.
> Migrating from 7.0.x to 8.0.x
> https://tomcat.apache.org/migration-8.html
> Tomcat 8 Security
> https://tomcat.apache.org/security-8.html
> Tomcat 8 Changelog
> http://tomcat.apache.org/tomcat-8.0-doc/changelog.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to