Page 1 of 1

RESOLVED: Velocity 3.5.84 and Servoy 2020.6 working?

PostPosted: Fri Sep 11, 2020 12:43 am
by joe26
Dear Zod:

Velocity isn't running under 2020.6. I've re-installed and have been getting an error. Same setup as in 7.4.8.
So a web search indicated that server\conf\context.xml be modified from

Code: Select all
<Context useHttpOnly="true >


Code: Select all
<Context useHttpOnly="true" xmlBlockExternal="false" >

Not sure if this is a violation of web security, but at least it is functional.

I'm posting because when the issue is written, a solution sometimes becomes apparent...

--Joe. Could not resolve XML resource [null] with public ID [-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN], system ID [http://] and base URI [file:/C:/Servoy_2020_6/application_server/server/webapps/eastwood/WEB-INF/web.xml] to a known, local entity.
at org.apache.tomcat.util.descriptor.LocalResolver.resolveEntity(
at java.xml/ Source)
at java.xml/ Source)
at java.xml/$DTDDriver.dispatch(Unknown Source)
at java.xml/$ Source)
at java.xml/$ Source)
at java.xml/ Source)
at java.xml/ Source)
at java.xml/ Source)
at java.xml/ Source)
at java.xml/ Source)
at java.xml/ Source)
at java.xml/$JAXPSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse(
at org.apache.tomcat.util.descriptor.web.WebXmlParser.parseWebXml(
at org.apache.catalina.startup.ContextConfig.webConfig(
at org.apache.catalina.startup.ContextConfig.configureStart(
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(
at org.apache.catalina.core.StandardContext.startInternal(
at org.apache.catalina.util.LifecycleBase.start(
at org.apache.catalina.core.ContainerBase.addChildInternal(
at org.apache.catalina.core.ContainerBase.addChild(
at org.apache.catalina.core.StandardHost.addChild(
at org.apache.catalina.startup.HostConfig.deployWAR(
at org.apache.catalina.startup.HostConfig$
at java.base/java.util.concurrent.Executors$ Source)
at java.base/ Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$
at java.base/ Source)

Sep 10, 2020 4:54:39 PM org.apache.catalina.startup.ContextConfig configureStart

SEVERE: Marking this application unavailable due to previous error(s)

Re: RESOLVED: Velocity 3.5.84 and Servoy 2020.6 working?

PostPosted: Wed Sep 16, 2020 12:03 am
by ptalbot
I've released v3.5.85 with a fix to the eastwood.war web.xml tag with a proper web-app tag declaration so you shouldn't need to alter your context.xml