[
https://jira.jboss.org/jira/browse/TEIID-857?page=com.atlassian.jira.plug...
]
Steven Hawkins commented on TEIID-857:
--------------------------------------
This doesn't seem possible unless you set the log4j.configuration system property.
I'm inclined to mark as NR.
MalformedURLException when connecting to teiid vdb.
---------------------------------------------------
Key: TEIID-857
URL:
https://jira.jboss.org/jira/browse/TEIID-857
Project: Teiid
Issue Type: Bug
Components: Embedded
Affects Versions: 6.2.0
Environment: Teiid 6.2 embedded using the filepath configuration.
Reporter: John Doyle
Assignee: Steven Hawkins
I'm not getting a log file from Teiid. I've just dropped a VDB into an
unmodified 6.2 image and get the following when connecting.
log4j:ERROR Could not parse url
[mmfile:/home/jdoyle/NotBackedUp/teiid-6.2.0/deploy/log4j.xml].
java.net.MalformedURLException: unknown protocol: mmfile
at java.net.URL.<init>(URL.java:574)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:650)
at
com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:225)
at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180)
at org.apache.log4j.xml.DOMConfigurator$2.parse(DOMConfigurator.java:612)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:711)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)
at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:470)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
at org.apache.log4j.Logger.getLogger(Logger.java:104)
at com.metamatrix.jdbc.Log4JUtil.getLogger(Log4JUtil.java:91)
at
com.metamatrix.jdbc.LogConfigurationProvider$Log4JLogConfiguration.isEnabled(LogConfigurationProvider.java:74)
at
com.metamatrix.common.log.LogManager.isMessageToBeRecorded(LogManager.java:358)
at com.metamatrix.common.log.LogManager.logMessage(LogManager.java:364)
at com.metamatrix.common.log.LogManager.logInfo(LogManager.java:214)
at
com.metamatrix.dqp.embedded.DQPEmbeddedPlugin.logInfo(DQPEmbeddedPlugin.java:71)
at
com.metamatrix.dqp.embedded.services.EmbeddedConfigurationService.initializeService(EmbeddedConfigurationService.java:975)
at
com.metamatrix.dqp.embedded.services.EmbeddedBaseDQPService.initialize(EmbeddedBaseDQPService.java:60)
at org.teiid.dqp.internal.process.DQPCore.start(DQPCore.java:615)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira