Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package-manager fails to look for sun/nio/cs/US_ASCII$Encoder #1432

Closed
duncdrum opened this issue May 3, 2017 · 59 comments
Closed

Package-manager fails to look for sun/nio/cs/US_ASCII$Encoder #1432

duncdrum opened this issue May 3, 2017 · 59 comments
Labels
bug issue confirmed as bug

Comments

@duncdrum
Copy link
Contributor

duncdrum commented May 3, 2017

What is the problem

After upgrade to eXist 3.2.0 via dmg installer, the package-manager (sp?) can't find available packages causing the following error:
2017-05-03 12:06:15,259 [qtp430944645-64] WARN (LogFunction.java [writeLog]:196) - (Line: 152 /db/apps/dashboard/plugins/packageManager/packages.xql) Error while retrieving app packages: sun/nio/cs/US_ASCII$Encoder

full log
after logging in the following lines seem relevant from the log

2017-05-03 12:04:54,981 [qtp430944645-51] WARN  (ServletHandler.java [doHandle]:670) - Error for /exist/rconsole 
java.util.ServiceConfigurationError: org.eclipse.jetty.websocket.servlet.WebSocketServletFactory: Provider org.eclipse.jetty.websocket.server.WebSocketServerFactory could not be instantiated
…
Caused by: java.util.ServiceConfigurationError: org.eclipse.jetty.websocket.api.extensions.Extension: Provider org.eclipse.jetty.websocket.common.extensions.compress.PerMessageDeflateExtension could not be instantiated
…

Caused by: java.lang.NoClassDefFoundError: java/util/zip/ZipException
…
Caused by: java.lang.ClassNotFoundException: java.util.zip.ZipException
…
2017-05-03 12:04:54,991 [qtp430944645-51] WARN  (HttpChannel.java [handle]:479) - //localhost:8080/exist/rconsole 
java.lang.NoClassDefFoundError: java/lang/Throwable$WrappedPrintWriter

What did you expect

A working package manager.

Describe how to reproduce or add a test

Update exist, select open dashboard, log-in (with remember me unticked), click package-manager. (since i just filed another issues this error is happening after rebooting, so not just on initial run)

Context information

Please always add the following information

  • eXist-db 3.2
  • Java8u131
  • MacOs 10.12.4
  • 64 bit
@adamretter
Copy link
Member

Can you describe how you updated eXist-db please?

@duncdrum
Copy link
Contributor Author

duncdrum commented May 3, 2017

Sure, same way I did since 2.1 or so: drag old exist from Applications to trash (obviously its isn't running),
relog os-user,
drag new exist into Applications,
click on exist in Applications after its done copying from dmg,
configure mem-settings, and confirm that the old data directory should be reused.

@adamretter
Copy link
Member

Silly question, but are you sure the version of Java it is using is Java 8?

@duncdrum
Copy link
Contributor Author

duncdrum commented May 3, 2017

from earlier in the same log:
2017-05-03 11:56:44,040 [Thread-3] INFO (JettyStart.java [run]:133) - Running with Java 1.8.0_131 [Oracle Corporation (Java HotSpot(TM) 64-Bit Server VM) in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home]

Can't check in monex, since that hasn't been updated yet. But i don't see how another java version could have been silently installed on the system.

@adamretter
Copy link
Member

@duncdrum I am not sure what is happening just yet. However the Java you are using makes me very suspicious, as it is not the standalone JRE or JDK but whatever is bundled with the Internet Applet Plugin. Rather, I think your Java path should look like:

/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home

or the JRE equivalent.

@duncdrum
Copy link
Contributor Author

duncdrum commented May 3, 2017

yes i noticed that line as well, hence i updated java JDK, but that still doesn't explain why after the upgrade from 3.1 if would look for a different java path:

echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home

@adamretter
Copy link
Member

@duncdrum In the 3.2.0 release, nothing has changed in the installer or App since 3.1.1. So I am not sure what is going on here. I think that even though you have installed JDK, you need to have a log like you posted above that shows the JDK is used an not the Applet plug-in.

@duncdrum
Copy link
Contributor Author

duncdrum commented May 3, 2017

@adamretter and where would I change the path so exist starts up with JAVA_HOME?

@adamretter
Copy link
Member

@duncdrum I am not certain, I would imagine you would need to set it in your users profile (~/.profile) and then logout and log back in, before trying again.

@duncdrum
Copy link
Contributor Author

duncdrum commented May 3, 2017

nope, i have set $JAVA_HOME and it persist after reboots. Yet, exist.app insists on looking in the wrong location. Uninstalled the JAVA browser plug-in and now I we are at "Can't find JAVA RUNTIME ENVIRONMENT" error during start. Doing a clean install from back up now, i have given up trying to figure out where the wrong path is coming from.

@duncdrum
Copy link
Contributor Author

duncdrum commented May 3, 2017

I am lost here:

  • Deleted exist 3.2,
  • deleted Java following these instructions
  • moved old data directory to desktop
  • (re-)installed java8JDK
  • set java_home, check and make sure.profile is clean and contains JAVA_HOME
  • reboot all fine
  • fresh install via homebrew
    Result:
2017-05-03 18:24:41,942 [Thread-3] INFO  (JettyStart.java [run]:133) - Running with Java 1.8.0_131 [Oracle Corporation (Java HotSpot(TM) 64-Bit Server VM) in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home] 
2017-05-03 18:24:41,945 [Thread-3] INFO  (JettyStart.java [run]:140) - Running as user 'HALmob' 
2017-05-03 18:24:41,946 [Thread-3] INFO  (JettyStart.java [run]:141) - [eXist Home : /Applications/eXist-db.app/Contents/Resources/eXist-db] 
2017-05-03 18:24:41,948 [Thread-3] INFO  (JettyStart.java [run]:142) - [eXist Version : 3.1.1] 

good

  • Package manager and all works

bad

  • still no way of getting exist to use jdk or java_home, changing the path in system preference leads to error
  • not sure if this line is still accurate for 3.2 on macOS, "The JRE is adequate for running eXist-db; you do not need the JDK unless you intend to compile eXist-db from its source "

@joewiz
Copy link
Member

joewiz commented May 3, 2017

FYI, I'm also experiencing similar weird issues, investigating too.

FYI, the instructions you linked to were just for deleting the JRE. That page does link to instructions for deleting the JDK - see http://docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jdk.html.

@duncdrum
Copy link
Contributor Author

duncdrum commented May 3, 2017

The instructions for JDK are in the link further down on that page: more java fun (now with 3.1.1 holding off 3.2 for now).

  • using java -jar start.jar jetty:
2017-05-03 19:01:28,431 [main] INFO  (JettyStart.java [run]:133) - Running with Java 1.8.0_131 [Oracle Corporation (Java HotSpot(TM) 64-Bit Server VM) in /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre] 

👍 JDK ftw

  • using mouse, afterwards:
2017-05-03 19:03:34,224 [Thread-3] INFO  (JettyStart.java [run]:133) - Running with Java 1.8.0_131 [Oracle Corporation (Java HotSpot(TM) 64-Bit Server VM) in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home] 

😞 JRE

@adamretter I don't think the path is wrong, its the default path for the JRE on macOS as far as i can tell. Something that didn't need it before seems to require JDK, not sure what and where though.

@joewiz
Copy link
Member

joewiz commented May 3, 2017

@duncdrum I had all the same issues as you on my Mac system. Updating to the latest monex (0.9.8), released today, helped somewhat. (To ensure it installed on startup, I wiped my data directory, and put the new version in my autodeploy directory.) But still, when starting up via the .app or via java -jar start.jar, I noticed that monex's Console pane would say "Disconnected". I finally had a breakthrough starting eXist via sh bin/startup.sh - now it says "Connected" and a test console:log call works.

@duncdrum
Copy link
Contributor Author

duncdrum commented May 3, 2017

@joewiz 3.1.1 works fine for me. My java foo is too feeble to have any idea where the problem might come from. If anybody wants to me to reproduce or try something let me know.

OK tried on my other machine on eXist 3.2 using sh bin/startup.sh

03 May 2017 20:46:55,237 [main] INFO  (JettyStart.java [run]:133) - Running with Java 1.8.0_131 [Oracle Corporation (Java HotSpot(TM) 64-Bit Server VM) in /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre

i could open package-manager after logging into dashboard AND monex. No warnings or errors in the logs.

@dizzzz
Copy link
Member

dizzzz commented May 4, 2017

As which user is exist running? Please could you dump the environment settings for this user?

@adamretter
Copy link
Member

So just to see what is happening I attempted to install eXist-db-3.2.0.dmg by downloading it from BinTray. I was able to download, open the DMG, and drag the "eXist-db" app into the /Applications folder.

I then double-clicked eXist-db in the "Applications" folder and it installed as expected. I then used the eXist icon on the mac:OS tool bar to view the exist.log. My log looks like: https://gist.github.com/adamretter/ae5e15da72e3d948ff1927880dfa03d7

So all appears to have installed fine. I note my eXist there also uses the Java in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home, i.e.:

2017-05-04 11:58:57,927 [Thread-3] INFO  (JettyStart.java [run]:133) - Running with Java 1.8.0_121 [Oracle Corporation (Java HotSpot(TM) 64-Bit Server VM) in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home]

So I don't see any problems there. I am also able to visit the eXist Dashboard and click the Monex icon and don't see any problems. Monex opens just fine here.

So, er... I am not sure what the problem @duncdrum is experiencing. I think @wolfgangmm and @joewiz might have some seem similar things?

@duncdrum
Copy link
Contributor Author

duncdrum commented May 4, 2017

@adamretter monex opens fine for me to, package-manager is causing problems (see title above), there are no available packages, and it takes multiple attempts to log in to, logging into monex first seems to help with logging into package-manager afterwards, although i don't see why that should be the case, logging into dashboard should be sufficient.

@dizzzz I m not following do you mean exist user account, or macOS user account? Do you want my bashprofile? environment.plist? etc/usr/...?

@dizzzz
Copy link
Member

dizzzz commented May 4, 2017

Run 'set' as the user that runs existdb

@duncdrum
Copy link
Contributor Author

duncdrum commented May 4, 2017

@dizzzz viola

@dizzzz
Copy link
Member

dizzzz commented May 4, 2017

Ok, thnx. Nothing special i'd say (actually running X11??)

@duncdrum
Copy link
Contributor Author

duncdrum commented May 4, 2017

yes I still need X11, i highly doubt it has anything to do with the issue at hand. To sum up:

  • packageManager doesn't work when using mouse to start exist 3.2, it works without error in 3.1.1
  • the path to the JRE that adam suspected is the default (correct) path for macOS ( in 3.1.1 and 3.2)
  • the problem disappears when starting from shell where JDK path is used instead of the default

can we label this as a bug, since i m not the only one experiencing this?

@dizzzz
Copy link
Member

dizzzz commented May 4, 2017

Ah no that was not the intention of my X11 question, i was only wondering :)

@adamretter adamretter added the bug issue confirmed as bug label May 4, 2017
@joewiz
Copy link
Member

joewiz commented May 4, 2017

@adamretter @duncdrum I'm not seeing any errors related to Dashboard > Package Manager, except that the "Remember Me" checkbox has to be selected for the Package Manager to come up at all; if it's not selected, Package Manager fails to come up at all, though there is no indication of an error in exist.log.

The problem I have with 3.2.0 besides the quitting problem (#1431) involves running monex — not opening it up, but specifically with going to the Remote Console pane. Remote Console should come up as "Connected", as shown here under 3.1.1:

screen shot 2017-05-04 at 4 28 12 pm

But with 3.2.0 or develop, it shows up as "Disconnected" (even after shift-reload), and with each request like this, exist.log shows error messages about /exist/rconsole:

screen shot 2017-05-04 at 4 28 03 pm

I'm using Java 8u121 with macOS 10.12.4. In all cases, I'm starting up from a completely blank database - using build.sh clean-default-data-dir or deleting the contents of ~/Library/Application Support/org.exist/ (for the DMG installer).

2017-05-04 12:49:45,942 [qtp1476832605-55] WARN  (ServletHandler.java [doHandle]:670) - Error for /exist/rconsole 
java.lang.NoClassDefFoundError: java/net/HttpCookie
        at org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest.<init>(ServletUpgradeRequest.java:79) ~[websocket-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:171) ~[websocket-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:159) ~[websocket-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.websocket.servlet.WebSocketServlet.service(WebSocketServlet.java:155) ~[websocket-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[servlet-api-3.1.jar:3.1.0]
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) [jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.Server.handle(Server.java:524) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
Caused by: java.lang.ClassNotFoundException: java.net.HttpCookie
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_121]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_121]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_121]
        ... 31 more
2017-05-04 12:49:45,948 [qtp1476832605-55] WARN  (HttpChannel.java [handle]:479) - //localhost:8080/exist/rconsole 
java.lang.NoClassDefFoundError: java/lang/Throwable$WrappedPrintWriter
        at java.lang.Throwable.printStackTrace(Throwable.java:721) ~[?:1.8.0_121]
        at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageStacks(ErrorHandler.java:206) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageBody(ErrorHandler.java:177) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPage(ErrorHandler.java:149) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ErrorHandler.handleErrorPage(ErrorHandler.java:136) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ErrorHandler.handle(ErrorHandler.java:124) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.Response.sendError(Response.java:571) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.Response.sendError(Response.java:511) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:679) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) ~[jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.Server.handle(Server.java:524) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]

@duncdrum
Copy link
Contributor Author

duncdrum commented May 4, 2017

@joewiz ah i misunderstood your earlier post, but in both cases we get errors related to console and.
java/lang/Throwable$WrappedPrintWriter

@joewiz
Copy link
Member

joewiz commented May 4, 2017

@duncdrum Great, thanks for spotting that shared error message related to java/lang/Throwable$WrappedPrintWriter!

@duncdrum
Copy link
Contributor Author

duncdrum commented May 15, 2017

Here is a new variation of the theme. Start Exist3.2 using mouse:, use menu bar to start monex (log-in). SO far so good, now use menu-bar to open dashboard:

2017-05-15 09:44:07,014 [qtp742245668-112] INFO  (Validator.java [<init>]:67) - Initializing Validator. 
2017-05-15 09:44:14,958 [qtp742245668-108] WARN  (ServletHandler.java [doHandle]:623) -  
javax.servlet.ServletException: An error occurred while processing request to /exist/apps/bfResources/scripts/dijit/themes/nihilo/nihilo.css: java/util/Scanner
	at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:378) ~[exist-optional.jar:3.2.0]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[servlet-api-3.1.jar:3.1.0]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at de.betterform.agent.web.filter.XFormsFilter.doFilter(XFormsFilter.java:171) ~[betterform-exist-5.1-SNAPSHOT-20160615.jar:?]
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) [jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Server.handle(Server.java:524) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: java.lang.NoClassDefFoundError: java/util/Scanner
	at de.betterform.agent.web.resources.ResourceServlet.getLastModifiedValue(ResourceServlet.java:254) ~[betterform-exist-5.1-SNAPSHOT-20160615.jar:?]
	at de.betterform.agent.web.resources.ResourceServlet.getLastModified(ResourceServlet.java:283) ~[betterform-exist-5.1-SNAPSHOT-20160615.jar:?]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:683) ~[servlet-api-3.1.jar:3.1.0]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[servlet-api-3.1.jar:3.1.0]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566) ~[jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:159) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:74) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:50) ~[exist-optional.jar:3.2.0]
	at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:219) ~[exist-optional.jar:3.2.0]
	... 30 more
2017-05-15 09:44:14,959 [qtp742245668-108] WARN  (HttpChannel.java [handle]:479) - //localhost:8080/exist/apps/bfResources/scripts/dijit/themes/nihilo/nihilo.css 
java.lang.NoClassDefFoundError: java/lang/Throwable$WrappedPrintWriter
	at java.lang.Throwable.printStackTrace(Throwable.java:721) ~[?:1.8.0_131]
	at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageStacks(ErrorHandler.java:206) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageBody(ErrorHandler.java:177) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPage(ErrorHandler.java:149) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.handleErrorPage(ErrorHandler.java:136) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.handle(ErrorHandler.java:124) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Response.sendError(Response.java:571) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Response.sendError(Response.java:511) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:650) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) ~[jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Server.handle(Server.java:524) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
2017-05-15 09:44:14,969 [qtp742245668-106] WARN  (ServletHandler.java [doHandle]:623) -  
javax.servlet.ServletException: An error occurred while processing request to /exist/apps/bfResources/scripts/dojox/grid/resources/nihiloGrid.css: java/util/Scanner
	at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:378) ~[exist-optional.jar:3.2.0]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[servlet-api-3.1.jar:3.1.0]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at de.betterform.agent.web.filter.XFormsFilter.doFilter(XFormsFilter.java:171) ~[betterform-exist-5.1-SNAPSHOT-20160615.jar:?]
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) [jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Server.handle(Server.java:524) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: java.lang.NoClassDefFoundError: java/util/Scanner
	at de.betterform.agent.web.resources.ResourceServlet.getLastModifiedValue(ResourceServlet.java:254) ~[betterform-exist-5.1-SNAPSHOT-20160615.jar:?]
	at de.betterform.agent.web.resources.ResourceServlet.getLastModified(ResourceServlet.java:283) ~[betterform-exist-5.1-SNAPSHOT-20160615.jar:?]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:683) ~[servlet-api-3.1.jar:3.1.0]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[servlet-api-3.1.jar:3.1.0]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566) ~[jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:159) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:74) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:50) ~[exist-optional.jar:3.2.0]
	at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:219) ~[exist-optional.jar:3.2.0]
	... 30 more
2017-05-15 09:44:14,970 [qtp742245668-106] WARN  (HttpChannel.java [handle]:479) - //localhost:8080/exist/apps/bfResources/scripts/dojox/grid/resources/nihiloGrid.css 
java.lang.NoClassDefFoundError: java/lang/Throwable$WrappedPrintWriter
	at java.lang.Throwable.printStackTrace(Throwable.java:721) ~[?:1.8.0_131]
	at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageStacks(ErrorHandler.java:206) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageBody(ErrorHandler.java:177) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPage(ErrorHandler.java:149) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.handleErrorPage(ErrorHandler.java:136) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.handle(ErrorHandler.java:124) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Response.sendError(Response.java:571) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Response.sendError(Response.java:511) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:650) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) ~[jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Server.handle(Server.java:524) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
2017-05-15 09:44:14,973 [qtp742245668-114] WARN  (ServletHandler.java [doHandle]:623) -  
javax.servlet.ServletException: An error occurred while processing request to /exist/apps/bfResources/scripts/dojox/form/resources/UploaderFileList.css: java/util/Scanner
	at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:378) ~[exist-optional.jar:3.2.0]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[servlet-api-3.1.jar:3.1.0]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at de.betterform.agent.web.filter.XFormsFilter.doFilter(XFormsFilter.java:171) ~[betterform-exist-5.1-SNAPSHOT-20160615.jar:?]
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) [jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Server.handle(Server.java:524) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: java.lang.NoClassDefFoundError: java/util/Scanner
	at de.betterform.agent.web.resources.ResourceServlet.getLastModifiedValue(ResourceServlet.java:254) ~[betterform-exist-5.1-SNAPSHOT-20160615.jar:?]
	at de.betterform.agent.web.resources.ResourceServlet.getLastModified(ResourceServlet.java:283) ~[betterform-exist-5.1-SNAPSHOT-20160615.jar:?]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:683) ~[servlet-api-3.1.jar:3.1.0]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[servlet-api-3.1.jar:3.1.0]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566) ~[jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:159) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:74) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:50) ~[exist-optional.jar:3.2.0]
	at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:219) ~[exist-optional.jar:3.2.0]
	... 30 more
2017-05-15 09:44:14,974 [qtp742245668-114] WARN  (HttpChannel.java [handle]:479) - //localhost:8080/exist/apps/bfResources/scripts/dojox/form/resources/UploaderFileList.css 
java.lang.NoClassDefFoundError: java/lang/Throwable$WrappedPrintWriter
	at java.lang.Throwable.printStackTrace(Throwable.java:721) ~[?:1.8.0_131]
	at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageStacks(ErrorHandler.java:206) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageBody(ErrorHandler.java:177) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPage(ErrorHandler.java:149) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.handleErrorPage(ErrorHandler.java:136) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.handle(ErrorHandler.java:124) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Response.sendError(Response.java:571) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Response.sendError(Response.java:511) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:650) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) ~[jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Server.handle(Server.java:524) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
2017-05-15 09:44:14,980 [qtp742245668-111] WARN  (ServletHandler.java [doHandle]:623) -  
javax.servlet.ServletException: An error occurred while processing request to /exist/apps/bfResources/scripts/dojo/dojo.js: java/util/Scanner
	at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:378) ~[exist-optional.jar:3.2.0]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[servlet-api-3.1.jar:3.1.0]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at de.betterform.agent.web.filter.XFormsFilter.doFilter(XFormsFilter.java:171) ~[betterform-exist-5.1-SNAPSHOT-20160615.jar:?]
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) [jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Server.handle(Server.java:524) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: java.lang.NoClassDefFoundError: java/util/Scanner
	at de.betterform.agent.web.resources.ResourceServlet.getLastModifiedValue(ResourceServlet.java:254) ~[betterform-exist-5.1-SNAPSHOT-20160615.jar:?]
	at de.betterform.agent.web.resources.ResourceServlet.getLastModified(ResourceServlet.java:283) ~[betterform-exist-5.1-SNAPSHOT-20160615.jar:?]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:683) ~[servlet-api-3.1.jar:3.1.0]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[servlet-api-3.1.jar:3.1.0]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566) ~[jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:159) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:74) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:50) ~[exist-optional.jar:3.2.0]
	at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:219) ~[exist-optional.jar:3.2.0]
	... 30 more
2017-05-15 09:44:14,981 [qtp742245668-111] WARN  (HttpChannel.java [handle]:479) - //localhost:8080/exist/apps/bfResources/scripts/dojo/dojo.js 
java.lang.NoClassDefFoundError: java/lang/Throwable$WrappedPrintWriter
	at java.lang.Throwable.printStackTrace(Throwable.java:721) ~[?:1.8.0_131]
	at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageStacks(ErrorHandler.java:206) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPageBody(ErrorHandler.java:177) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.writeErrorPage(ErrorHandler.java:149) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.handleErrorPage(ErrorHandler.java:136) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ErrorHandler.handle(ErrorHandler.java:124) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Response.sendError(Response.java:571) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Response.sendError(Response.java:511) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:650) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) ~[jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.Server.handle(Server.java:524) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

Result no dashboard.

in addition to @joewiz's Throwable$WrappedPrintWriter i notice java/util/Scanner related errors and many mentions of betterform. This is not a problem in 3.1.1

@dizzzz
Copy link
Member

dizzzz commented May 15, 2017

java/util/Scanner exists since Java5 ; not sure about Throwable$WrappedPrintWriter

it looks like that the std JRE jar files are (yet?) missing on the class path or so......

@duncdrum
Copy link
Contributor Author

@dizzzz beats me, works fine for 3.1.1 or when starting from CLI. Is there a better way to see where eXist is looking for things?

@Rondiekon
Copy link

Hi duncdrun,
Tried to start from command line with the shell-script. See the result:
-bash: /Applications/eXist-db.app/Contents/Resources/eXist-db/bin/startup.sh: Permission denied
Tried also the start.jar, without succes. Tried two methods, first from the eXist-website, second from the Content/Java/-directory:
Mini-van-Ron:~ ron$ cd /Applications/eXist-db.app Mini-van-Ron:eXist-db.app ron$ java -jar start.jar Error: Unable to access jarfile start.jar Mini-van-Ron:eXist-db.app ron$ cd /Applications/eXist-db.app/Contents/Java/ Mini-van-Ron:Java ron$ java -jar start.jar ERROR: exist.home could not be autodetected, bailing out.
I'm gonna restart the computer to see if it didn't woke up very well from sleep.

@Rondiekon
Copy link

@duncdrum: Restarting offered the same situation.
ERROR: exist.home could not be autodetected, bailing out.

I'm not a terminal-guru, neither a good XQuery-programmer, so tell me when I do things wrong.

When I put eXist as a startup-item (in the system-preferences), it start automatically.
It starts also from Launchpad and Dock.

I've noticed that the "remember me" selection does weird things. When I don't select "remember me", I can go to the User-manager, create and see the users without bugs. Without selecting "remember me" I can create collections in db/apps/ and I can save documents in that collection.
schermafbeelding 2017-05-22 om 02 39 25

When I select "remember me" while I login as admin, I can't make new collections and can't change get in the user-manager anymore! (see bug-screendump in previous message)

@duncdrum
Copy link
Contributor Author

Hi @Rondiekon,

it looks that $EXIST_HOME is missing. Can you type the following into terminal and try to start from terminal once more:

export EXIST_HOME=/Applications/eXist

@Rondiekon
Copy link

@duncdrum, that doesn't seem to work:
Mini-van-Ron:~ ron$ export EXIST_HOME=/Applications/eXist-db.app Mini-van-Ron:~ ron$ cd /Applications/eXist-db.app/ Mini-van-Ron:eXist-db.app ron$ java -jar start.jar Error: Unable to access jarfile start.jar Mini-van-Ron:eXist-db.app ron$ cd /Applications/eXist-db.app/Contents/Java/ Mini-van-Ron:Java ron$ java -jar start.jar ERROR: exist.home could not be autodetected, bailing out.

@dizzzz
Copy link
Member

dizzzz commented May 22, 2017

I don't think /Applications/eXist-db.app is the correct value for EXIST_HOME ... it should be the (sub)directory containing the conf.xml ....

@duncdrum
Copy link
Contributor Author

I m starting to think Ron might have a separate issue, since neither Joe nor I have problems starting using start.jar or via bin.

@dizzzz is the path value here accurate, or should i open a PR with different instructions for macOS?

@Rondiekon
Copy link

@dizzzz, @duncdrum , quote from duncdrum's link says:

EXIST_HOME should point to the directory that contains the
configuration file
so did set EXIST_HOME to that directory and started the jar-file here.
Mini-van-Ron:eXist-db.app ron$ cd /Applications/eXist-db.app/Contents/Resources/eXist-db/ Mini-van-Ron:eXist-db ron$ java -jar start.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/bin/java -Xms128m -Xmx2048m -Dfile.encoding=UTF-8 -Xdock:name="eXist-db" -Xdock:icon="icon.png" -Dapple.laf.useScreenMenuBar="true" -Dapple.awt.UIElement=true -Dexist.home="/Applications/eXist-db.app/Contents/Resources/eXist-db" -Djava.endorsed.dirs="/Applications/eXist-db.app/Contents/Resources/eXist-db/lib/endorsed" -jar start.jar org.exist.launcher.Launcher starting started process 913 Mini-van-Ron:eXist-db ron$ 22 mei 2017 11:18:04,667 [Thread-3] INFO (JettyStart.java [run]:133) - Running with Java 1.8.0_131 [Oracle Corporation (Java HotSpot(TM) 64-Bit Server VM) in /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre] 22 mei 2017 11:18:04,670 [Thread-3] INFO (JettyStart.java [run]:140) - Running as user 'ron' 22 mei 2017 11:18:04,670 [Thread-3] INFO (JettyStart.java [run]:141) - [eXist Home : /Applications/eXist-db.app/Contents/Resources/eXist-db] 22 mei 2017 11:18:04,672 [Thread-3] INFO (JettyStart.java [run]:142) - [eXist Version : 3.2.0] 22 mei 2017 11:18:04,672 [Thread-3] INFO (JettyStart.java [run]:143) - [eXist Build : 20170502224858] 22 mei 2017 11:18:04,672 [Thread-3] INFO (JettyStart.java [run]:144) - [Git commit : 691bcd6] 22 mei 2017 11:18:04,673 [Thread-3] INFO (JettyStart.java [run]:146) - [Operating System : Mac OS X 10.12.5 x86_64] 22 mei 2017 11:18:04,673 [Thread-3] INFO (JettyStart.java [run]:147) - [log4j.configurationFile : file:///Applications/eXist-db.app/Contents/Resources/eXist-db/log4j2.xml] 22 mei 2017 11:18:04,673 [Thread-3] INFO (JettyStart.java [run]:148) - [jetty.home : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty] 22 mei 2017 11:18:04,673 [Thread-3] INFO (JettyStart.java [run]:149) - [jetty.base : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty] 22 mei 2017 11:18:04,674 [Thread-3] INFO (JettyStart.java [run]:150) - [jetty configuration : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty/etc/standard.enabled-jetty-configs] 22 mei 2017 11:18:04,699 [Thread-3] INFO (JettyStart.java [run]:159) - Configuring eXist from /Applications/eXist-db.app/Contents/Resources/eXist-db/conf.xml 22 mei 2017 11:18:08,116 [Thread-3] INFO (JettyStart.java [run]:183) - [loading jetty configuration : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty/etc/jetty.xml] 22 mei 2017 11:18:08,291 [Thread-3] INFO (JettyStart.java [run]:183) - [loading jetty configuration : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty/etc/jetty-gzip.xml] 22 mei 2017 11:18:08,323 [Thread-3] INFO (JettyStart.java [run]:183) - [loading jetty configuration : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty/etc/jetty-http.xml] 22 mei 2017 11:18:08,366 [Thread-3] INFO (JettyStart.java [run]:183) - [loading jetty configuration : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty/etc/jetty-jaas.xml] 22 mei 2017 11:18:08,371 [Thread-3] INFO (JettyStart.java [run]:183) - [loading jetty configuration : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty/etc/jetty-jmx.xml] 22 mei 2017 11:18:08,438 [Thread-3] INFO (JettyStart.java [run]:183) - [loading jetty configuration : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty/etc/jetty-requestlog.xml] 22 mei 2017 11:18:08,453 [Thread-3] INFO (JettyStart.java [run]:183) - [loading jetty configuration : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty/etc/jetty-ssl.xml] 22 mei 2017 11:18:08,470 [Thread-3] INFO (JettyStart.java [run]:183) - [loading jetty configuration : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty/etc/jetty-ssl-context.xml] 22 mei 2017 11:18:08,504 [Thread-3] INFO (JettyStart.java [run]:183) - [loading jetty configuration : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty/etc/jetty-https.xml] 22 mei 2017 11:18:08,512 [Thread-3] INFO (JettyStart.java [run]:183) - [loading jetty configuration : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty/etc/jetty-deploy.xml] 22 mei 2017 11:18:08,546 [Thread-3] INFO (JettyStart.java [run]:183) - [loading jetty configuration : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty/etc/jetty-plus.xml] 22 mei 2017 11:18:08,580 [Thread-3] INFO (JettyStart.java [run]:183) - [loading jetty configuration : /Applications/eXist-db.app/Contents/Resources/eXist-db/tools/jetty/etc/jetty-annotations.xml] 22 mei 2017 11:18:08,586 [Thread-3] INFO (JettyStart.java [startJetty]:468) - [Starting jetty component : org.eclipse.jetty.server.Server] 22 mei 2017 11:18:08,587 [Thread-3] INFO (JettyStart.java [lifeCycleStarting]:616) - Jetty server starting... 22 mei 2017 11:18:10,977 [Thread-3] INFO (JettyStart.java [lifeCycleStarted]:625) - Jetty server started. 22 mei 2017 11:18:10,995 [Thread-3] WARN (JettyStart.java [run]:234) - Could not find OpenID extension. OpenID will be disabled! 22 mei 2017 11:18:10,996 [Thread-3] WARN (JettyStart.java [run]:241) - Could not find OAuthServlet extension. OAuth will be disabled! 22 mei 2017 11:18:10,997 [Thread-3] WARN (JettyStart.java [run]:248) - Could not find IPRangeServlet extension. IPRange will be disabled! 22 mei 2017 11:18:11,002 [Thread-3] INFO (JettyStart.java [run]:257) - ----------------------------------------------------- 22 mei 2017 11:18:11,003 [Thread-3] INFO (JettyStart.java [run]:258) - Server has started, listening on: 22 mei 2017 11:18:11,003 [Thread-3] INFO (JettyStart.java [run]:260) - http://192.168.178.40:8080/ 22 mei 2017 11:18:11,004 [Thread-3] INFO (JettyStart.java [run]:260) - https://192.168.178.40:8443/ 22 mei 2017 11:18:11,004 [Thread-3] INFO (JettyStart.java [run]:263) - Configured contexts: 22 mei 2017 11:18:11,005 [Thread-3] INFO (JettyStart.java [run]:269) - /exist 22 mei 2017 11:18:11,005 [Thread-3] INFO (JettyStart.java [run]:269) - / 22 mei 2017 11:18:11,006 [Thread-3] INFO (JettyStart.java [run]:323) - -----------------------------------------------------

@duncdrum
Copy link
Contributor Author

How is user manager running now?

@dizzzz
Copy link
Member

dizzzz commented May 22, 2017

@duncdrum Ah,...... Now I see, it is a bit confusing! That path is actually not an macOS application, but just eXist-db extracted in /Applications/eXist :-) in 2012 we did not have a DMG/.app in place...

@Rondiekon
Copy link

@duncdrum ,Same issues, if I select "remember me", I get the bug as before.
Also I can't create a new collection!

If I login with "remember me" deselected I can get into user manager and edit. I also can make new collections

@duncdrum
Copy link
Contributor Author

@Rondiekon Glad it worked (sort of). You seem to be suffering from this issue, which is not the one Joe and I are experiencing since 3.2.

@dizzzz would you mind making a PR to the documentation repo? In the brave new world of homebrew this might need clarification.

@Rondiekon
Copy link

@duncdrum @dizzzz, Thx for helping and sorry for inconvenience.

One last question:
Are these bugs really only effected by the .dmg-vesion of eXist 3.2???
I could drop this version and install a clone from the GitHub-page.

@duncdrum
Copy link
Contributor Author

@Rondiekon no bother at all. I found two related (??) bugs that I can reliably reproduce in 3.2 and fix by downgrading to 3.1.1.

The user-manager(remember_me) issue appeared between 2.x and 3.x, it doesn't seem to be affected by the method of installation. But should you feel inquisitive by all means compile away and see if you can help track the problem down. The dashboard ticket hasn't seen much action since Aug 2016.

@Rondiekon
Copy link

@duncdrum OK,thx. I let the bugs as what it is. I have my focus on learning XQuery, XForms & XSLT/XSL-FO.
I am a user/graphic-designer, not really a developer.
If you need help with testing software, I am always willing to help, just let me know.

I've been testing-software for several vendors in the past, mostly after reporting a BUG.
Waiting for a bug-fix is no problem for me. ;)

Best regards, Ron

@duncdrum
Copy link
Contributor Author

Poking around bit further, I m beginning to think that the problem mentioned here might be relevant.

@duncdrum
Copy link
Contributor Author

Whenever I follow up on errors in the logs I end at problems with path expressions (Java classpath or xpath). I believe that something is converting the path string to something illegal on macOS, maybe the whitespace in the default JRE location is partially to blame. There is another problem with persistent log-in, maybe its related I can't tell. But together they make 3.2 unuseable with frequent crashes and hangs. I really need that debug system back up and running so if nobody has any more ideas to try out, i ll revert to 3.1.1 soon.

@joewiz
Copy link
Member

joewiz commented Jun 20, 2017

Interesting theory, worth probing!

My workaround for using 3.2.0 on macOS has been to start via bin/startup.sh rather than start.jar or eXist-db.app. This way, I have none of the problems I had with monex or shutting down. I miss the menu bar and think we should try to restore the wrapper's functionality on macOS, but this workaround has allowed me to use 3.2.0+.

@duncdrum
Copy link
Contributor Author

duncdrum commented Jun 21, 2017

@joewiz ok i just made a clean install of 3.2 using homebrew.

  • Out of the box the log shows warnings like this (again path related)
2017-06-21 11:27:52,305 [Thread-3] WARN  (CommentImpl.java [serialize]:86) - org.exist.xquery.XPathException: err:XPST0003 Ampersands (&) must be escaped (following character was not a name start character). 
2017-06-21 11:27:54,593 [Thread-3] WARN  (CommentImpl.java [serialize]:86) - org.exist.xquery.XPathException: err:XPST0003 Ampersands (&) must be escaped (following character was not a name start character). 
2017-06-21 11:27:55,508 [Thread-3] WARN  (TransactionManager.java [close]:186) - Transaction was not committed or aborted, auto aborting! 

dashboard will start, but changing admin pw via user-manager doesn't work (s.a.), package-manager loads with a delay but can't find any packages (see op)

shut down, auto-quite hanging process, reboot.

  • Try using bin/startup.sh
-bash: bin/startup.sh: Permission denied

no idea whats going on this used to work before.

ls -ld webapp/WEB-INF/data
drwxrwxr-x  5 halalpha  staff  170 May  3 00:51 .
  • use wrapper part 2
    change admin pw via java admin client -log in, still no dice with package-manager, can't update exist libraries or install my own
brew cask uninstall eXist-db
  • back to 3.1.1 (no problems, or errors in log)

@duncdrum
Copy link
Contributor Author

duncdrum commented Jul 5, 2017

Updated from 3.1.1 to 3.3 via bintray .dmg installer.

Initial run

  • No errors "out of the box"

  • Starting the dashboard from the menu-bar UI, allowed me to access a functioning package-manager! It even let me update exide 👍 .

  • "Quite (and stop server)" removed exist from the the menu-bar and according to the log both eXist and Jetty shut down properly.

  • "eXist-db" app remains running after first install on macOS #1248 is still around so right-click -> force-quite app launcher exist dock-icon,

  • checked activity monitor and noticed that exist-JavaAppLauncher was still around when it shouldn't have been force-quit from activity monitor.

  • relog OS user

Subsequent run (relog OS user)

  • started monex from menu bar first (worked)
  • opened exide (worked), noticed no collection in my /db/
  • check log and we are back with the same error java/lang/Throwable$WrappedPrintWriter
  • package-manager can't find or list packages
  • Exist 3.2 won't quit on macOS #1431 is back

Errors

  • full log with a new java class producing errors
javax.servlet.ServletException: An error occurred while processing request to /exist/apps/dashboard/plugins/packageManager/packages/: java/util/Comparators$NaturalOrderComparator

Subsequent run (reboot)

  • Everything works as expected (even shutdown and quit) unless I open monex.
    Then we are back at rconsole and Throwable$WrappedPrintWriter errors and
2017-07-05 12:10:48,488 [qtp1125434885-43] WARN  (LogFunction.java [writeLog]:196) - (Line: 152 /db/apps/dashboard/plugins/packageManager/packages.xql) Error while retrieving app packages: sun/nio/cs/US_ASCII$Encoder  😡 

I can live with having to force-quite exist after accessing monex, which still works despite the errors, on my test system for a while.

Somehow starting monex, causes errors related to sorting (JulianCalendar, ASCII$Encoder, Comparators$NaturalOrderComparator) which more or less crash exist (no more collection, packages, or graceful quitting)

progress i guess

@duncdrum
Copy link
Contributor Author

duncdrum commented Jul 5, 2017

I have an idea: eXist-db/dashboard#57

@wolfgangmm
Copy link
Member

@duncdrum the dashboard does not ship with any Java libraries, so the warning has no effect. The only package which does include Java jars is monex. But I already tested removing those altogether as well as copying them into EXIST_HOME/lib/user. My eXist would still show the same symptoms you describe above (with some delay), so I came to the conclusion monex is not the culprit and the cause of the issue must be elsewhere.

@duncdrum
Copy link
Contributor Author

duncdrum commented Jul 5, 2017

@wolfganmm to bad, still does anything speak against adding sem-ver min 3.0 to the default apps, 2.x doesn't check for sem-ver iirc, and less false warnings can only help in locating the source of the problem?

@wolfgangmm
Copy link
Member

no, for the current version of those apps, semver-min 3.0 should be fine.

@joewiz
Copy link
Member

joewiz commented Jul 5, 2017

@duncdrum Thanks for reporting your experience with 3.3.0.

@wolfgangmm Since this illusive issue began sometime after the 3.1.1 release and during the development cycle of 3.2.0, could one narrow down the source by checking out each commit and building/performing the startup-with-wrapper-then-open-monex-console-then-try-quitting test? This would take some time, as there are 113 commits between 3.1.1 and 3.2.0, but at least this is a finite number. Do you think this would help? If so, I could get started.

@duncdrum
Copy link
Contributor Author

🥁 #1490

@joewiz
Copy link
Member

joewiz commented Jul 26, 2017

#1490 fixes the Mac app-related instability issues for me. Looking forward to hearing if it does for you too!

@duncdrum
Copy link
Contributor Author

throwable wrapped 🖨 is no more 🎉
switching between package-manager and monex works as expected. No crashes so far. Thank you @wolfgangmm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue confirmed as bug
Projects
None yet
Development

No branches or pull requests

6 participants