debovis / webanno

Automatically exported from code.google.com/p/webanno
Apache License 2.0
0 stars 0 forks source link

Project Export hangs #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Re-import an existing annotation project from WenAnno 0.4.0-rc3 into 
WebAnno-2.0.12
2. Create a new tagset (consisting of two tags "Choice Question" and "Set 
Question", the tagset itself is called DIT++) and create an additional layer 
using that tagset for the imported project;
3. Annotate a few elements with the new tags;
4. Try to export your project from the export/import tab by clicking on the 
"export the whole project to the filesystem" button

What is the expected output? What do you see instead?
The progress bar only reaches 10% and then hangs for 20 minutes, even though 
the project itself is relatively small
Expected: correct export

What version of the product are you using? On what operating system?
WebAnno-2.0.12
Apache Tomcat/6.0.35
JVM 1.6.0_32-b32
Linux 3.2.0-57-generic x86_64 on server
Firefox 26.0 for OpenSuse on the client side

Please provide any additional information below.

Original issue reported on code.google.com by wlsidore...@gmail.com on 25 Nov 2014 at 4:11

GoogleCodeExporter commented 9 years ago
Can you post the content written to catalina.out starting at the point where 
you click "export the whole project to the filesystem"? I expect some exception 
is thrown and hopefully logged there.

Original comment by richard.eckart on 25 Nov 2014 at 4:15

GoogleCodeExporter commented 9 years ago
Fro the sake of cleanness, I've re-started WebAnno, previouslu zeroing out 
`catalina.out`. And then tried to re-export the project.  Unfortunately, the 
export hung again.  And there is no obvious error message in the logs. Here is 
the content of `catalina.out`:
# cat /opt/webanno/logs/catalina.out 
Nov 26, 2014 1:43:08 PM org.apache.catalina.startup.ClassLoaderFactory 
validateFile
WARNING: Problem with directory [/usr/share/tomcat6/server/classes], exists: 
[false], isDirectory: [false], canRead: [false]
Nov 26, 2014 1:43:08 PM org.apache.catalina.startup.ClassLoaderFactory 
validateFile
WARNING: Problem with directory [/usr/share/tomcat6/server], exists: [false], 
isDirectory: [false], canRead: [false]
Nov 26, 2014 1:43:08 PM org.apache.catalina.startup.ClassLoaderFactory 
validateFile
WARNING: Problem with directory [/usr/share/tomcat6/shared/classes], exists: 
[false], isDirectory: [false], canRead: [false]
Nov 26, 2014 1:43:08 PM org.apache.catalina.startup.ClassLoaderFactory 
validateFile
WARNING: Problem with directory [/usr/share/tomcat6/shared], exists: [false], 
isDirectory: [false], canRead: [false]
Nov 26, 2014 1:43:09 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-18080
Nov 26, 2014 1:43:09 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 719 ms
Nov 26, 2014 1:43:09 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 26, 2014 1:43:09 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
Nov 26, 2014 1:43:09 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webanno-2.0.12.war
2014-11-26 13:43:14  INFO [main] (StandaloneShutdownDialog) - Running in: tomcat
2014-11-26 13:43:14  INFO [main] (StandaloneShutdownDialog) - Console: not 
available
2014-11-26 13:43:14  INFO [main] (StandaloneShutdownDialog) - Headless: yes
2014-11-26 13:43:14  INFO [main] (StandaloneShutdownDialog) - Running in server 
environment or from command line: disabling interactive shutdown dialog.
Nov 26, 2014 1:43:14 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-18080
Nov 26, 2014 1:43:14 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5258 ms

I could provide you a dump of the database, if it would be of any help.

Original comment by wlsidore...@gmail.com on 26 Nov 2014 at 12:47

GoogleCodeExporter commented 9 years ago
I think we've had such a report in the past.

For WebAnno 2.0.12, you do not have to specify a format.properties file in your 
WebAnno home folder. In particular, a format.properties that worked with an old 
version (e.g. 0.4.x) will not work with 2.x because some class names have 
changed.

Please delete the format.properties file, restart WebAnno and try again.

Original comment by richard.eckart on 26 Nov 2014 at 1:11

GoogleCodeExporter commented 9 years ago
Yep, that worked. Thank you. You can close the issue.

Original comment by wlsidore...@gmail.com on 26 Nov 2014 at 1:22

GoogleCodeExporter commented 9 years ago

Original comment by richard.eckart on 26 Nov 2014 at 4:04