Coder Social home page Coder Social logo

voyantserver's People

Contributors

sgsinclair avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

voyantserver's Issues

Local source content feature implemented in latest release?

I see this feature documented in the wiki here:

https://github.com/sgsinclair/VoyantServer/wiki/Using-Local-Source-Content

I've followed the instructions by adding localSource and input lines into server-settings.txt but it does not seem to work. The log says: A corpus was specified but does not exist, could not be migrated and could not be recreated when I use a url ending with ?corpus=[localSource]

I hope this is implemented and that I'm just getting something wrong. I have a corpus with content which is revised somewhat frequently and would like to update the corpus by refreshing with local files rather than by uploading.

Voyant Server: Eclipse Workspace Setup

I am trying to setup voyant server in eclipse to explore and run the code locally, but still unsuccessful. Is there any documentation or instructions available?

My target is to explore "Open" and "Upload" corpus functionality.

Need help with configuring voyant inside of tomcat7 using nginx

Can someone please assist me in getting voyant working using nginx and tomcat7 on Ubuntu 16.04
I have created SSL cert keys on the server.
copied voyant directory to /var/lib/tomcat7/webapps/voyant

Nginx
cat /etc/nginx/sites-available/voyant.vhost

server {
listen 80;
server_name voyant-test.schooldomain.edu;
return 301 https://$server_name$request_uri;
}

server {
listen 443 ssl;
server_name voyant-test.schooldomain.edu;
ssl on;
ssl_certificate /etc/ssl/certs/voyant.pem;
ssl_certificate_key /etc/ssl/private/voyant.key;
location /var/www/html {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:8080/voyant;
}
}

Cannot open VoyantServer.jar

I installed the latest JDK for macOS. If I try to open VoyantServer.jar I’m getting:

The Java JAR file “VoyantServer.jar” could not be launched. Check the Console for possible error messages.

However, it does work fine if I open the file via the terminal:
java -jar VoyantServer.jar

Maybe it this something to add for your readme.MD; feel free to accept the PR which does that

SSL Voyant

Can you please share your config file for apache or nginx running Voyant . You mentioned this in your previous comment below. I am running nginx, but I can run apache if needed. I just need to view a config file where your forward traffic to HTTPS. Thank you very much. Sorry to constantly ask, but it is important.

sgsinclair commented on Jan 30
Oh, I thought I'd seen in your email a < VirtualHost > section. Anyway, I honestly don't know if the embedded Jetty server even supports SSL, so the assumption is that you'd be using nginx or apache as a front end.

The main (secure) server https://voyant-tools.org/ uses Apache to proxy an instance of Voyant running under Tomcat. I suspect I tried some simpler solutions and this is the one that I ended up getting to work. I'm happy to share any config files that could be of use.

TermsRadio not handling apostrophes?

I've been trying out Voyant, and I've been running into a strange problem in TermsRadio. When i click on a term with an apostrophe, the term appears in the legend above the two bands of visualization, but no new line appears. I can keep clicking on the term with the apostrophe, and it will keep getting added to the legend, so that I can fill up the legend with multiple instances of the same term, but I don't get any trend lines out of it.

VoyantServer eats memory and spits out crashes

Hi,

i'm trying to run the latest beta on a perhaps-underpowered ubuntu server (only 4gb memory, I think) using oracle java 8. After a few minutes of intense usage -- say, uploading of 3-4 corpora by my students, the server will eat up all my memory and eventually crash. Maybe there's a garbage collection problem? Happy to try some debugging ,though I know nothing about Java, so may not be very helpful. Thanks!
Matt

Feature Request: Voyant Concept Map

Greetings,

I am curious if the voyant system can generate concept maps?
It seems that the data exists, but the visualization requires work.
Does there exist information on connections between keywords?

Thank you,
Rob

Unable to compile class for JSP

Hello,

VoyantServer is no longer running in my machine, OS X 10.11.4. I wonder if it has stopped working after upgrading to jdk1.8.0_51.jdk.
I have downloaded version 2.1 M1 since, but it does give the same error. Thanks for your help,

HTTP ERROR 500
Problem accessing /. Reason:
Server Error
Caused by:
org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
PWC6199: Generated servlet error:
The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:123)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:296)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:376)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:437)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:360)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:595)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:191)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:72)
at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:585)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:485)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:290)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:606)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:535)
at java.lang.Thread.run(Thread.java:745)

Adding new corpora to Voyant

An excellent and versatile tool.

Voyant already have two corpora incorporated, Shakespeare's palys and Austen Novels. I want to add some new corpora to the tool (standalone version) which could be accessed using dropdown that appears using "Open" button . Seems like it is not just a matter of adding the paths to server-settings.txt.
Any suggestions please?

Error in alta-start code block

It looks like in the https://voyant-tools.org/spyral/alta-start/ spyral notebook, second code block, the "load corpus" command is part of the same line as the comment explaining how to use it, so it doesn't work to follow the instructions to add a period after the load command -- no suggestions pop up unless you hit enter and put it on a new line to make it executable code.
// position the cursor after the "s" of Corpus below and type a dot characterSpyral.Corpus

Suggestions parsing very large corpus?

I currently have a very large corpus ~20gb. I've been able to slice it up into bits that at least can be consumed to that I can process them with a very large heap (using about 32gb). There are some tools, like correlation that seem like they are timing out in processing, but could process them if the timeouts were made higher. I can't find where I could tune that. I was wondering if you have other suggestions, pointrs to things I could tweak so that I could process large datasets like this.

So far, voyant has been quite amazing and valuale with the data I have been able to ingest. Thanks so much for the wonderful OSS project!!

=-mikey-=

Voyant Tools title on screen but application does not render afterwards

Hi,
I installed Voyant Tools 2.1 on my Redhat Virtual server. The install directory is /opt/VoyantServer 2_1
Since I have other applications using port 80 on this server, I configured Voyant to run on port 8888 in server settings.txt file and configured httpd.conf to redirect all traffic listening on port 8888 to redirect to 80 (So the users of Voyant can just type voyant.ace.fordham.edu in instead of voyant.ace.fordham.edu:8888). This worked partially as when I type in http://voyant.ace.fordham.edu, the only thing on the screen is the title "Voyant Tools" on the left corner of the screen.
However if I type ace-admin01.ds.fordham.edu:8888 (this is the localhost), Voyant comes up FINE in its entirety...I wonder what I am doing wrong. The PassThru in httpd is working...but it seems Voyant doesnt finish loading when I go to voyant.ace.fordham.edu.

My httpd.conf is as follows:

<VirtualHost *:80>
ServerName voyant.ace.fordham.edu
DocumentRoot /opt/VoyantServer2_1/_app/
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all

ProxyPass / http://localhost:8888
ProxyPassReverse / http://localhost:8888
<Location /opt/VoyantServer2_1/_app>
Order deny,allow
Allow from all

java.lang.OutOfMemoryError

Hi,

I am running Java 1.8 and just installed Voyant Server and get the below output from the console each time I open the .jar file. The app opens, but the browser does not, and the /8888 path leads to an error when pasted in the browser.

Thanks!

*** Starting Voyant Server – Web page will open automatically when ready ***

Using Free AdminPort=34000
Server Starting
2019-08-21 15:53:15.933:INFO::main: Logging initialized @125ms
Jetty Version: 9.3.z-SNAPSHOT
http://*:8888
Jetty starting up ... please wait
2019-08-21 15:53:15.999:INFO:oejs.Server:main: jetty-9.3.z-SNAPSHOT
2019-08-21 15:53:19.609:WARN:oejut.QueuedThreadPool:qtp29832506-15:
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:47)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:617)
at java.lang.Thread.run(Unknown Source)
2019-08-21 15:53:19.609:WARN:oejut.QueuedThreadPool:qtp29832506-17:
java.lang.OutOfMemoryError
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at org.objectweb.asm.ClassReader.a(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:1003)
at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:984)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:933)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:851)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:548)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
2019-08-21 15:53:19.610:WARN:oejut.QueuedThreadPool:qtp29832506-15: Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$3@f5c692 in qtp29832506{STARTED,8<=10<=200,i=0,q=2}
2019-08-21 15:53:19.609:WARN:oejut.QueuedThreadPool:qtp29832506-16:
java.lang.OutOfMemoryError
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at org.objectweb.asm.ClassReader.a(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:1003)
at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:984)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:933)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:851)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:548)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
2019-08-21 15:53:19.609:WARN:oejut.QueuedThreadPool:qtp29832506-12:
java.lang.OutOfMemoryError
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at org.objectweb.asm.ClassReader.a(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:1003)
at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:984)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:933)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:851)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:548)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
2019-08-21 15:53:19.610:WARN:oejut.QueuedThreadPool:qtp29832506-16: Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$3@f5c692 in qtp29832506{STARTED,8<=9<=200,i=0,q=3}
2019-08-21 15:53:19.610:WARN:oejut.QueuedThreadPool:qtp29832506-17: Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$3@f5c692 in qtp29832506{STARTED,8<=10<=200,i=0,q=2}
2019-08-21 15:53:19.610:WARN:oejut.QueuedThreadPool:qtp29832506-19:
java.lang.OutOfMemoryError
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at org.objectweb.asm.ClassReader.a(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:1003)
at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:984)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:933)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:851)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:548)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
2019-08-21 15:53:19.619:WARN:oejut.QueuedThreadPool:qtp29832506-20:
java.lang.OutOfMemoryError
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at org.objectweb.asm.ClassReader.a(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:1003)
at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:984)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:933)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:851)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:548)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
2019-08-21 15:53:19.611:WARN:oejut.QueuedThreadPool:qtp29832506-13:
java.lang.OutOfMemoryError
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at org.objectweb.asm.ClassReader.a(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:1003)
at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:984)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:933)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:851)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:548)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
2019-08-21 15:53:19.610:WARN:oejut.QueuedThreadPool:qtp29832506-11:
java.lang.OutOfMemoryError
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at org.objectweb.asm.ClassReader.a(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:1003)
at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:984)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:933)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:851)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:548)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
2019-08-21 15:53:19.610:WARN:oejut.QueuedThreadPool:qtp29832506-12: Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$3@f5c692 in qtp29832506{STARTED,8<=9<=200,i=0,q=3}
2019-08-21 15:53:19.609:WARN:oejut.QueuedThreadPool:qtp29832506-14:
java.lang.OutOfMemoryError
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at org.objectweb.asm.ClassReader.a(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:1003)
at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:984)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:933)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:851)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:548)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
Exception in thread "qtp29832506-15" 2019-08-21 15:53:19.635:WARN:oejut.QueuedThreadPool:qtp29832506-11: Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$3@f5c692 in qtp29832506{STARTED,8<=7<=200,i=0,q=6}
2019-08-21 15:53:19.635:WARN:oejut.QueuedThreadPool:qtp29832506-14: Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$3@f5c692 in qtp29832506{STARTED,8<=7<=200,i=0,q=6}
Exception in thread "qtp29832506-12" 2019-08-21 15:53:19.621:WARN:oejut.QueuedThreadPool:qtp29832506-13: Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$3@f5c692 in qtp29832506{STARTED,8<=8<=200,i=0,q=6}
2019-08-21 15:53:19.621:WARN:oejut.QueuedThreadPool:qtp29832506-20: Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$3@f5c692 in qtp29832506{STARTED,8<=8<=200,i=0,q=6}
Exception in thread "qtp29832506-17" 2019-08-21 15:53:19.621:WARN:oejut.QueuedThreadPool:qtp29832506-19: Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$3@f5c692 in qtp29832506{STARTED,8<=9<=200,i=0,q=6}
Exception in thread "qtp29832506-16" Exception in thread "qtp29832506-13" Exception in thread "qtp29832506-11" Exception in thread "qtp29832506-20" Exception in thread "qtp29832506-14" Exception in thread "qtp29832506-19" java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:47)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:639)
at java.lang.Thread.run(Unknown Source)
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:47)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:639)
at java.lang.Thread.run(Unknown Source)
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:47)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:639)
at java.lang.Thread.run(Unknown Source)
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:47)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:639)
at java.lang.Thread.run(Unknown Source)
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:47)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:639)
at java.lang.Thread.run(Unknown Source)
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:47)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:639)
at java.lang.Thread.run(Unknown Source)
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:47)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:639)
at java.lang.Thread.run(Unknown Source)
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:47)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:639)
at java.lang.Thread.run(Unknown Source)
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:47)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:639)
at java.lang.Thread.run(Unknown Source)
2019-08-21 15:53:20.538:WARN:oejut.QueuedThreadPool:qtp29832506-10:
java.lang.OutOfMemoryError
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at org.objectweb.asm.ClassReader.a(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:1003)
at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:984)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:933)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:851)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:548)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
2019-08-21 15:53:20.539:WARN:oejut.QueuedThreadPool:qtp29832506-10: Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$3@f5c692 in qtp29832506{STARTED,8<=1<=200,i=0,q=7}
Exception in thread "qtp29832506-10" java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:47)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:639)
at java.lang.Thread.run(Unknown Source)

Linux: Browser window not opening automatically, server window frozen.

Using Voyant Server 2.3 M1 on Lubuntu 'Zesty Zapus' 17.04, i386, with Firefox as browser and openjdk 8.

On starting Voyant, the window opens, promising 'Web page will open automatically.' But no web page is opened automatically, and the Voyant window is frozen.

On entering the URL 127.0.0.1:8888 into Firefox, the Voyant Server home page opens and functions. But the Voyant window is still frozen; drop down menus don't work, etc.

Trends not displaying linearly across files

I've uploaded a small corpus to VoyantServer in which each file is named according to an ISO-formatted date. This normally allows me to show changes in word frequency over time quite nicely. Now, however, the Trends pane is stacking all of the data in a single line like so:
screen shot 2018-12-03 at 2 47 10 pm
It should look like this:
screen shot 2018-12-03 at 2 46 41 pm
I've tried it on more than one computer and get the same results. I've also tried both the latest release of Voyant Server and an older release and the problem persists.

Skinning Voyant

In the documentation for Voyant, the idea that there is a default "skin" with 5 particular panes, or windows, is introduced, but nowhere can I find documentation on customizing the skin. If you click in the topmost bar and choose a different tool, then you get a pane that occupies the entirety of the browser window. Subsequent clicks will, however, return you to the 5-pane view, whether that is the preferred view or not. What am I missing?

Tomcat: VoyantServer demo data (Shakespeare and Austen) does not exist.

Good day,

Please assist with Tomcat configuration for data not loading.

Server specifications:
CentOS 7.5
Java 1.8.0_152
Tomcat 9.0.1
VoyantServer 2.4 (M36)

VoyantServer Setup:
Copied _app to /opt/tomcat/webapps and renamed to voyant.
Can access via: http://v-sdlr-lnx3.nwu.ac.za:8080/voyant/

When I select Open and choose a corpus:
Error: Failed attempt to create a Corpus
A corpus was specified but does not exist, could not be migrated and could not be recreated: shakespeare ... more.

Where must I put the data folder or how can I configure the data_directory? Since I'm not starting the VoyantServer from the .jar file the server-settings.txt is not used. Is there a way to set server-settings for Tomca? I would like the data folder to be located at /data/voyant on my server.

Thank you.

Voyant Server: Running on AWS

I am attempting to get an instance of Voyant Tools running through AWS, but currently unsuccessfully. Is there any documentation for instructions for getting Voyant on AWS?

I have created an environment with the preconfigured tomcat platform, and pulled from step 5 of these instructions to create the source bundle from the _app directory from the latest release.

Upon navigating to the url, it throws a 500 error with the following explanation:

Screen Shot 2019-09-23 at 1 22 21 PM

Screen Shot 2019-09-23 at 1 22 30 PM

spinning Voyant Tools logo when I access Voyant.

I am using Voyant Tools 2_2M1 on Redhat 6 server

Configured port 80 in server-settings.txt
port = 80

My Radware router redirects 80 --> 443

After launching:
nohup java -jar VoyantServer.jar --headless=true &

I go to my browser and the Voyant Tools Logo just spins...and app never fully loads.
I was under the impression this version supports SSL ??

Here is a tail of the nohup.out file below:

[root@ace-linux27 VoyantServer2_2M1]# tail -f nohup.out
2016-10-26 16:10:37.716:INFO:oejs.Server:main: jetty-9.3.z-SNAPSHOT
2016-10-26 16:10:44.381:WARN:oeja.AnnotationConfiguration:main: ServletContainerInitializers: detected. Class hierarchy: empty
2016-10-26 16:10:44.427:WARN:oejs.SecurityHandler:main: ServletContext@o.e.j.w.WebAppContext@bd8db5a{/,file:///var/www/html/VoyantServer2_2M1/_app/,STARTING} has uncovered http methods for path: /
2016-10-26 16:10:44.457:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@bd8db5a{/,file:///var/www/html/VoyantServer2_2M1/_app/,AVAILABLE}
2016-10-26 16:10:44.467:INFO:oejs.ServerConnector:main: Started ServerConnector@7a30d1e6{HTTP/1.1,[http/1.1]}{0.0.0.0:80}
2016-10-26 16:10:44.468:INFO:oejs.Server:main: Started @7117ms
... Jetty has started.

Please note that you will need to kill the Jetty process yourself since it's running separately.

Docker deployment

First of all, thanks for developing Voyant, its a great tool! I am creating a Dockerfile for the latest release of VoyantServer. Unfortunately, I am running into an issue when the voyant app gets deployed during Tomcat startup. Do you know what the problem could be?

05-Dec-2016 11:17:44.273 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/voyant
05-Dec-2016 11:17:59.918 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: 
 org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/voyant]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1092)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1834)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.UnsupportedClassVersionError: org/voyanttools/trombone/storage/Storage : Unsupported major.minor version 52.0 (unable to load class org.voyanttools.trombone.storage.Storage)
	at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2561)
	at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:859)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1302)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2509)
	at java.lang.Class.getDeclaredFields(Class.java:1819)
	at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106)
	at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:256)
	at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:132)
	at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65)
	at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:336)
	at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:786)
	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:307)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5213)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	... 10 more
05-Dec-2016 11:17:59.922 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory /usr/local/tomcat/webapps/voyant
 java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/voyant]]
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:757)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1092)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1834)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
05-Dec-2016 11:17:59.923 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/voyant has finished in 15,650 ms

Permissions error when uploading to standalone server

If I try to upload a doc (e.g. filename.txt) to the VoyantServer, the tools all file the error:

Forbidden

You don't have permission to access /filename.txt on this server.

snip20160826_1

I've tried the server on Mac 10.9.5 and Ubuntu Mate 1.12.1 with the same outcome. Pasting text into the textbox works fine. The problem occurs with the default settings and also if I specify a different data directory in server-settings.txt

stopword list is no longer global

In this previous version (V1?), you could define a global stopword list which would work within all tools. Now stopwords only work within the word cloud, which makes most of the other tools unusable. Is there a fix for this problem?

Self-hosted can't upload, visit most pages

We are trying to host the latest version (downloaded from "releases" this morning, 2.4 M1) and it won't work. We get the splash page, but trying to use any corpus (including the built-in ones) fails. Trying to upload a corpus results in a never-ending spinner, while selecting something default (e.g. Jane Austen) pops up with an error "Failed Attempt to Create a Corpus". Many of the links for help also fail. I wonder if these could all be part of the same problem: half the links (and presumably the corpus creation/upload stuff) is trying to utilize addresses like "http://127.0.0.1:8888/docs/#!/guide/corpuscreator", which obviously fails for a real server that isn't localhost. Something in the code is using :, apparently, rather than respecting our real server (voyant.byu.edu). We've been having this problem for months, but now it's getting urgent.

If the problem is on our end, please let me know what I need to change in server-settings.txt or something else; right now we've stayed away from touching anything other than the port, which we are accessing in Apache via a ReverseProxy. My suspicion, though, is that the code mis-constructing paths.

How can I restrict path traversal on our Voyant Server

We are currently running a Voyant Server using Apache Tomcat 8.5.23. Our information security team alerted us to the fact that the server is vulnerable to path traversal. I noticed that https://voyant-tools.org doesn't have that problem. Can you advise us on some best practices to make sure our instance of Voyant is more secure? Thanks for your help

Error: Unable to load categories data

Description of bug:
When uploading a textfile as corpus, I get the following error:
2021-02-10 19_56_06-Textanalyse

Steps to reproduce the behavior:

  1. Starting a Voyant Server java -jar VoyantServer.jar
  2. Uploading a textfile as corpus

Expected behavior:
A clear and concise description of what you expected to happen.

Environment:

  • Java:

    java version "1.8.0_211"
    Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
    Java HotSpot(TM) Client VM (build 25.211-b12, mixed mode)
    
  • Windows 10 Education 1809

server-settings.txt has conflicting content

Just downloaded the 2.1 zip, and found server-settings.txt to have an internal conflict, or possibly just an unreliable narrator.
Before the line with the IP restriction, there is the description
# VoyantServer is also a convenient way to host an instance of Voyant Tools that you might
# want to have more widely accessible, in which case you should comment out this line or remove
# the value.
But the IP line is already commented out
# host = 127.0.0.1

Better upload / processing feedback?

On large corpus, irrespective of what Voyant Server is doing, the status is 'Uploading'.
Perhaps a bar graph, or status bar of the upload, and then a status change to 'processing', or similar, would give better feedback to users as to where things were in the upload/processing steps?

Error when Uploading file

When I upload a file running on a VM, I'm receiving an error:

2017-03-20 10:09:29.515:WARN:/:qtp1044036744-12: trombone: ERROR: An error occurred during multi-threaded document expansion.

java.lang.IllegalStateException: An error occurred during multi-threaded document expansion.

	at org.voyanttools.trombone.input.extract.StoredDocumentSourceExtractor.getExtractedStoredDocumentSources(StoredDocumentSourceExtractor.java:99)

	at org.voyanttools.trombone.tool.build.DocumentExtractor.run(DocumentExtractor.java:89)

	at org.voyanttools.trombone.tool.build.RealCorpusCreator.run(RealCorpusCreator.java:93)

	at org.voyanttools.trombone.tool.corpus.CorpusCreator.run(CorpusCreator.java:49)

	at org.voyanttools.trombone.tool.utils.ToolRunner.run(ToolRunner.java:134)

	at org.voyanttools.trombone.Controller.run(Controller.java:110)

	at org.voyanttools.voyant.Trombone.runTromboneController(Trombone.java:274)

	at org.voyanttools.voyant.Trombone.doRequest(Trombone.java:249)

	at org.voyanttools.voyant.Trombone.doRequest(Trombone.java:130)

	at org.voyanttools.voyant.Trombone.doPost(Trombone.java:71)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:835)

	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)

	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)

	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)

	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)

	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)

	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)

	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)

	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)

	at org.eclipse.jetty.server.Server.handle(Server.java:517)

	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)

	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)

	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)

	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)

	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)

	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)

	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)

	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)

	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)

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

Caused by: 

java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: org.apache.fontbox.afm.AFMParser.parse(Z)Lorg/apache/fontbox/afm/FontMetrics;

	at java.util.concurrent.FutureTask.report(FutureTask.java:122)

	at java.util.concurrent.FutureTask.get(FutureTask.java:192)

	at org.voyanttools.trombone.input.extract.StoredDocumentSourceExtractor.getExtractedStoredDocumentSources(StoredDocumentSourceExtractor.java:94)

	at org.voyanttools.trombone.tool.build.DocumentExtractor.run(DocumentExtractor.java:89)

	at org.voyanttools.trombone.tool.build.RealCorpusCreator.run(RealCorpusCreator.java:93)

	at org.voyanttools.trombone.tool.corpus.CorpusCreator.run(CorpusCreator.java:49)

	at org.voyanttools.trombone.tool.utils.ToolRunner.run(ToolRunner.java:134)

	at org.voyanttools.trombone.Controller.run(Controller.java:110)

	at org.voyanttools.voyant.Trombone.runTromboneController(Trombone.java:274)

	at org.voyanttools.voyant.Trombone.doRequest(Trombone.java:249)

	at org.voyanttools.voyant.Trombone.doRequest(Trombone.java:130)

	at org.voyanttools.voyant.Trombone.doPost(Trombone.java:71)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:835)

	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)

	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)

	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)

	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)

	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)

	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)

	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)

	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)

	at org.eclipse.jetty.server.Server.handle(Server.java:517)

	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)

	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)

	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)

	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)

	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)

	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)

	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)

	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)

	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)

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

Caused by: 

java.lang.NoSuchMethodError: org.apache.fontbox.afm.AFMParser.parse(Z)Lorg/apache/fontbox/afm/FontMetrics;

	at org.apache.pdfbox.pdmodel.font.Standard14Fonts.addAFM(Standard14Fonts.java:118)

	at org.apache.pdfbox.pdmodel.font.Standard14Fonts.addAFM(Standard14Fonts.java:97)

	at org.apache.pdfbox.pdmodel.font.Standard14Fonts.<clinit>(Standard14Fonts.java:50)

	at org.apache.pdfbox.pdmodel.font.PDFont.<init>(PDFont.java:100)

	at org.apache.pdfbox.pdmodel.font.PDSimpleFont.<init>(PDSimpleFont.java:87)

	at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.<init>(PDTrueTypeFont.java:164)

	at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:75)

	at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:123)

	at org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:60)

	at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815)

	at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472)

	at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:446)

	at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149)

	at org.apache.pdfbox.text.PDFTextStreamEngine.processPage(PDFTextStreamEngine.java:136)

	at org.apache.pdfbox.text.PDFTextStripper.processPage(PDFTextStripper.java:391)

	at org.apache.tika.parser.pdf.PDF2XHTML.processPage(PDF2XHTML.java:214)

	at org.apache.pdfbox.text.PDFTextStripper.processPages(PDFTextStripper.java:319)

	at org.apache.pdfbox.text.PDFTextStripper.writeText(PDFTextStripper.java:266)

	at org.apache.tika.parser.pdf.PDF2XHTML.process(PDF2XHTML.java:160)

	at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:144)

	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)

	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)

	at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)

	at org.voyanttools.trombone.input.extract.TikaExtractor$ExtractableTikaInputSource.getInputStream(TikaExtractor.java:138)

	at org.voyanttools.trombone.storage.file.FileStoredDocumentSourceStorage.getStoredDocumentSource(FileStoredDocumentSourceStorage.java:115)

	at org.voyanttools.trombone.input.extract.StoredDocumentSourceExtractor.getExtractedStoredDocumentSource(StoredDocumentSourceExtractor.java:145)

	at org.voyanttools.trombone.input.extract.StoredDocumentSourceExtractor$CallableExtractor.call(StoredDocumentSourceExtractor.java:166)

	at org.voyanttools.trombone.input.extract.StoredDocumentSourceExtractor$CallableExtractor.call(StoredDocumentSourceExtractor.java:1)

	at java.util.concurrent.FutureTask.run(FutureTask.java:266)

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

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

2017-03-20 10:09:29.518:INFO:/:qtp1044036744-12: trombone: Parameters:|?VOYANT_BUILD: |?accessIP: 127.0.0.1|?upload: /home/ucsbcollab/Applications/VoyantServer/data/tmp.voyant.uploads/tmp.voyant.uploads352084943606655…|?VOYANT_VERSION: 2.2|?palette: default|?tool: corpus.CorpusCreator|?textarea-1014-inputEl: Type in one or more URLs on separate lines or paste in a full text.|

I'm running this on a Ubuntu 16.04.1 VM running OpenJDK 1.8.0_121.

Non-empty data directory already exists dès le début

Similar to #7, server-settings.txt instructs the user to create an empty data directory to have a non-tmp space for files or to set a value for data_directory in the file. But in the d/l I made today, there's already a data directory at the same level as VoyantServer.jar.
Contents
drwxrwxr-x 3 ubuntu ubuntu 4096 Jul 12 17:36 jetty-0.0.0.0-8888-_app-_-any-228982559801084515.dir
drwxrwxr-x 3 ubuntu ubuntu 4096 Jul 12 17:36 jetty-0.0.0.0-8888-_app-_-any-4377742236646231959.dir
drwxrwxr-x 3 ubuntu ubuntu 4096 Jul 12 17:36 jetty-0.0.0.0-8888-_app-_-any-8231381278420879704.dir
drwxrwxr-x 4 ubuntu ubuntu 4096 Jul 12 17:36 tmp.voyant.uploads
drwxrwxr-x 6 ubuntu ubuntu 4096 Jul 12 17:36 trombone4_2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.