Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Issue #4 removed unused JUL file #55

Merged
merged 2 commits into from
Sep 28, 2016
Merged

Issue #4 removed unused JUL file #55

merged 2 commits into from
Sep 28, 2016

Conversation

gregw
Copy link
Contributor

@gregw gregw commented Sep 27, 2016

Removed unused file as noted in #19 for #4

@meltsufin
Copy link
Member

gae.xml still references this file though and the image doesn't start up without it.

-XX:InitialHeapSize=26566721536 -XX:MaxHeapSize=26566721536 -XX:+ParallelRefProcEnabled -XX:+PrintCommandLineFlags -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC 
openjdk version "1.8.0_102"
OpenJDK Runtime Environment (build 1.8.0_102-8u102-b14.1-1~bpo8+1-b14)
OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode)

2016-09-28 13:56:42.485:INFO::main: Logging initialized @370ms
2016-09-28 13:56:42.657:WARN:oejx.XmlConfiguration:main: Config error at <Call name="readConfiguration"><Arg>|        <New class="java.io.FileInputStream"><Arg><Property name="jetty.base" default="."/>/etc/java-util-logging.properties</Arg></New>|      </Arg></Call> java.lang.reflect.InvocationTargetException in file:/var/lib/jetty/etc/gae.xml
2016-09-28 13:56:42.657:WARN:oejx.XmlConfiguration:main: Config error at <Call id="logMgr" class="java.util.logging.LogManager" name="getLogManager"><Call name="readConfiguration"><Arg>|        <New class="java.io.FileInputStream"><Arg><Property name="jetty.base" default="."/>/etc/java-util-logging.properties</Arg></New>|      </Arg></Call></Call> java.lang.reflect.InvocationTargetException in file:/var/lib/jetty/etc/gae.xml
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.eclipse.jetty.start.Main.invokeMain(Main.java:214)
        at org.eclipse.jetty.start.Main.start(Main.java:457)
        at org.eclipse.jetty.start.Main.main(Main.java:75)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.eclipse.jetty.util.TypeUtil.construct(TypeUtil.java:580)
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newObj(XmlConfiguration.java:787)
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1233)
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1138)
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.access$500(XmlConfiguration.java:274)
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfiguration.java:1366)
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfiguration.java:1341)
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.call(XmlConfiguration.java:704)
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:417)
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.call(XmlConfiguration.java:729)
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:417)
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:358)
        at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:259)
        at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1498)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1435)
        ... 7 more
Caused by: java.io.FileNotFoundException: /var/lib/jetty/etc/java-util-logging.properties (No such file or directory)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at java.io.FileInputStream.<init>(FileInputStream.java:93)
        ... 27 more

remove XML reference
@gregw
Copy link
Contributor Author

gregw commented Sep 28, 2016

ah - that kind of reminds us that we need to actually run the images in our integration tests. Fixed now.

@gregw gregw merged commit 8500b2e into master Sep 28, 2016
@meltsufin meltsufin deleted the master-19 branch September 28, 2016 21:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants