Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [milo-dev] Warning When Starting up Server

Bryce,

It is just a warning, generating when an attribute or feature isn't supported while being set here: https://github.com/eclipse/milo/blob/11864af3c6cc85ff5b2daa94e1ac5a03d84aa215/opc-ua-stack/stack-core/src/main/java/org/eclipse/milo/opcua/stack/core/util/SecureXmlUtil.java#L43-L50

Based on your stack trace I think you may have additional/alternate XML libraries (Apache Xalan) on your ClassPath that don't support the "http://javax.xml.XMLConstants/property/accessExternalDTD" attribute.

On Fri, May 13, 2022 at 2:05 PM Bryce Nakatani <bnakatani@xxxxxxxxxx> wrote:

Hello,


I’ve implemented Milo OPC UA server 0.6.5 into a product. The server started with Milo 0.6.3 and was recently 0.6.5.


When the server is run on an AMD64 architecture, it runs fine. When I run the server on an ARMHF-32 platform, I see a warning message posted. Both platforms are running Azul's Java 8.


Might someone please provide some insight why this warning is occurring only on a specific platform.


Even with this warning, the server appears to work fine but I'm wondering if I've missed something and if this warning is of any concern.


Sincerely,

Bryce

 

WARN|2022-05-13 07:42:11,680|SecureXmlUtil.java|67|Error configuring attribute: http://javax.xml.XMLConstants/property/accessExternalDTD=

java.lang.IllegalArgumentException: Not supported: http://javax.xml.XMLConstants/property/accessExternalDTD

at org.apache.xalan.processor.TransformerFactoryImpl.setAttribute(TransformerFactoryImpl.java:576)

at org.eclipse.milo.opcua.stack.core.util.SecureXmlUtil.trySetAttribute(SecureXmlUtil.java:64)

at org.eclipse.milo.opcua.stack.core.util.SecureXmlUtil.<clinit>(SecureXmlUtil.java:49)

at org.eclipse.milo.opcua.stack.core.serialization.OpcUaXmlStreamDecoder.<init>(OpcUaXmlStreamDecoder.java:86)

at org.eclipse.milo.opcua.sdk.server.namespaces.loader.VariableNodeLoader.loadNode0(VariableNodeLoader.java:71)

at org.eclipse.milo.opcua.sdk.server.namespaces.loader.VariableNodeLoader.loadAllNodes(VariableNodeLoader.java:12987)

at org.eclipse.milo.opcua.sdk.server.namespaces.loader.NodeLoader.loadNodes(NodeLoader.java:33)

at org.eclipse.milo.opcua.sdk.server.namespaces.OpcUaNamespace.loadNodes(OpcUaNamespace.java:152)

at org.eclipse.milo.opcua.sdk.server.namespaces.OpcUaNamespace.lambda$new$2(OpcUaNamespace.java:88)

at org.eclipse.milo.opcua.sdk.server.LifecycleManager$1.startup(LifecycleManager.java:95)

at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:895)

at org.eclipse.milo.opcua.sdk.server.LifecycleManager.onStartup(LifecycleManager.java:49)

at org.eclipse.milo.opcua.sdk.server.AbstractLifecycle.startup(AbstractLifecycle.java:32)

at org.eclipse.milo.opcua.sdk.server.api.ManagedNamespaceWithLifecycle.startup(ManagedNamespaceWithLifecycle.java:42)

at org.eclipse.milo.opcua.sdk.server.OpcUaServer.<init>(OpcUaServer.java:122)

at com.opto22.dataservice.protocol.opcuaserver.ExampleServer.setup(ExampleServer.java:278)

at com.opto22.dataservice.protocol.opcuaserver.Runner.run(OpcUaS.java:228)

at java.lang.Thread.run(Thread.java:750)

WARN|2022-05-13 07:42:11,693|SecureXmlUtil.java|67|Error configuring attribute: http://javax.xml.XMLConstants/property/accessExternalStylesheet=

java.lang.IllegalArgumentException: Not supported: http://javax.xml.XMLConstants/property/accessExternalStylesheet

at org.apache.xalan.processor.TransformerFactoryImpl.setAttribute(TransformerFactoryImpl.java:576)

at org.eclipse.milo.opcua.stack.core.util.SecureXmlUtil.trySetAttribute(SecureXmlUtil.java:64)

at org.eclipse.milo.opcua.stack.core.util.SecureXmlUtil.<clinit>(SecureXmlUtil.java:50)

at org.eclipse.milo.opcua.stack.core.serialization.OpcUaXmlStreamDecoder.<init>(OpcUaXmlStreamDecoder.java:86)

at org.eclipse.milo.opcua.sdk.server.namespaces.loader.VariableNodeLoader.loadNode0(VariableNodeLoader.java:71)

at org.eclipse.milo.opcua.sdk.server.namespaces.loader.VariableNodeLoader.loadAllNodes(VariableNodeLoader.java:12987)

at org.eclipse.milo.opcua.sdk.server.namespaces.loader.NodeLoader.loadNodes(NodeLoader.java:33)

at org.eclipse.milo.opcua.sdk.server.namespaces.OpcUaNamespace.loadNodes(OpcUaNamespace.java:152)

at org.eclipse.milo.opcua.sdk.server.namespaces.OpcUaNamespace.lambda$new$2(OpcUaNamespace.java:88)

at org.eclipse.milo.opcua.sdk.server.LifecycleManager$1.startup(LifecycleManager.java:95)

at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:895)

at org.eclipse.milo.opcua.sdk.server.LifecycleManager.onStartup(LifecycleManager.java:49)

at org.eclipse.milo.opcua.sdk.server.AbstractLifecycle.startup(AbstractLifecycle.java:32)

at org.eclipse.milo.opcua.sdk.server.api.ManagedNamespaceWithLifecycle.startup(ManagedNamespaceWithLifecycle.java:42)

at org.eclipse.milo.opcua.sdk.server.OpcUaServer.<init>(OpcUaServer.java:122)

at com.opto22.dataservice.protocol.opcuaserver.ExampleServer.setup(ExampleServer.java:278)

at com.opto22.dataservice.protocol.opcuaserver.Runner.run(OpcUaS.java:228)

at java.lang.Thread.run(Thread.java:750)

_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/milo-dev

Back to the top