RESOLVED: Velocity 3.5.84 and Servoy 2020.6 working?

Questions and answers on developing, deploying and using plugins and JavaBeans

RESOLVED: Velocity 3.5.84 and Servoy 2020.6 working?

Postby joe26 » Fri Sep 11, 2020 12:43 am

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)
Posts: 172
Joined: Wed Jun 19, 2013 10:30 pm

Re: RESOLVED: Velocity 3.5.84 and Servoy 2020.6 working?

Postby ptalbot » Wed Sep 16, 2020 12:03 am

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
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
Posts: 1644
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 2 guests