Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#764454: jetty8: Wrong jetty.state location

4 views
Skip to first unread message

Frederic Peters

unread,
Oct 8, 2014, 5:00:03 AM10/8/14
to
Package: jetty8
Version: 8.1.16-2
Severity: normal

Hello,

My system has just been upgraded to jetty8, for solr-jetty, and I got errors in
the log files,

2014-10-08 09:59:50.138:WARN:oejuc.FileNoticeLifeCycleListener:
java.io.FileNotFoundException: ./jetty.state (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
at java.io.FileWriter.<init>(FileWriter.java:78)
[...]

This comes from this jetty-started.xml snippet:

<New class="org.eclipse.jetty.util.component.FileNoticeLifeCycleListener">
<Arg><SystemProperty name="jetty.state" default="./jetty.state"/></Arg>
</New>

I guess it expects its current working directory to be writable, but looking at
the live process its cwd is /usr/share/jetty8 :/

I temporarily changed ./jetty.state to /var/lib/jetty8/jetty.state and the
exception vanished, I'm not sure this is a proper location.


Fred

-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages jetty8 depends on:
ii adduser 3.113+nmu3
ii apache2-utils 2.4.10-3
ii default-jre-headless [java6-runtime-headless] 2:1.7-52
ii libjetty8-extra-java 8.1.16-2
ii libjetty8-java 8.1.16-2
ii openjdk-7-jre-headless [java6-runtime-headless] 7u65-2.5.2-4

Versions of packages jetty8 recommends:
pn authbind <none>

Versions of packages jetty8 suggests:
pn libjetty8-java-doc <none>

-- Configuration Files:
/etc/default/jetty8 changed [not included]
/etc/jetty8/jetty-started.xml changed [not included]

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
0 new messages