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

Vizigator is not starting on Mac! #438

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 10 comments
Closed

Vizigator is not starting on Mac! #438

GoogleCodeExporter opened this issue Mar 16, 2015 · 10 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Vizigator is not starting on Mac. I tried vizdesktop.sh, which is also not 
working.
2.I got the following errors when run vizdesktop.sh
Wails-MacBook-Pro:~ wail$ /Users/wail/Documents/Ontopia/ontopia-5.2.0/ 
bin/vizdesktop.command ; exit; 
Unable to access jarfile ../lib/ontopia-viz-5.2.0.jar 

3. I got the following error when running Vizigator on web:

Java Plug-in 1.6.0_29 
Using JRE version 1.6.0_29-b11-402-11M3527 Java HotSpot(TM) 64-Bit 
Server VM 
User home directory = /Users/wail 
---------------------------------------------------- 
c:   clear console window 
f:   finalize objects on finalization queue 
g:   garbage collect 
h:   display this help message 
l:   dump classloader list 
m:   print memory usage 
o:   trigger logging 
q:   hide console 
r:   reload policy configuration 
s:   dump system and deployment properties 
t:   dump thread list 
v:   dump thread stack 
x:   clear classloader cache 
0-5: set trace level to <n> 
---------------------------------------------------- 
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for 
further details. 
Exception in thread "thread applet- 
net.ontopia.topicmaps.viz.Vizlet.class-1" 
java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder 
        at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:230) 
        at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121) 
        at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java: 
112) 
        at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:275) 
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:248) 
        at net.ontopia.utils.CmdlineUtils.<clinit>(CmdlineUtils.java:14) 
        at net.ontopia.topicmaps.viz.Vizlet.init(Vizlet.java:47) 
        at sun.plugin2.applet.Plugin2Manager 
$AppletExecutionRunnable.run(Plugin2Manager.java:1639) 
        at java.lang.Thread.run(Thread.java:680) 
Caused by: java.lang.ClassNotFoundException: 
org.slf4j.impl.StaticLoggerBinder 
        at 
sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java: 
252) 
        at 
sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java: 
249) 
        at 
sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java: 
179) 
        at 
sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java: 
160) 
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247) 
        ... 9 more 

What is the expected output? What do you see instead?


Please use labels and text to provide additional information.

Original issue reported on code.google.com by wail.oma...@gmail.com on 28 Feb 2012 at 4:11

@GoogleCodeExporter
Copy link
Author

These are separate issues.

1,2: Fixed in r2295
3: It seems we forgot to add a slf4j binding to the vizlet and vizigator code. 

Original comment by qsieb...@gmail.com on 8 Mar 2012 at 5:14

@GoogleCodeExporter
Copy link
Author

Hi
Thank you for your assistant. I got another error now:

Last login: Thu Mar  8 21:48:28 on ttys002
Wails-MacBook-Pro:~ wail$ /Ontopia/ontopia-5.2.0/bin/vizdesktop.command ; exit;
/Ontopia/ontopia-5.2.0/bin/vizdesktop.command: line 5: syntax error near 
unexpected token `newline'
/Ontopia/ontopia-5.2.0/bin/vizdesktop.command: line 5: `<!DOCTYPE html>'
logout

[Process completed]

2. What about point 3? When the new release will be ready?

Original comment by wail.oma...@gmail.com on 9 Mar 2012 at 2:50

@GoogleCodeExporter
Copy link
Author

Original comment by qsieb...@gmail.com on 13 Mar 2012 at 12:43

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r2299.

Original comment by qsieb...@gmail.com on 13 Mar 2012 at 1:23

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

To manually fix this in the distribution:

1) Open or extract the lib/ontopia-vizigator-5.2.0.jar
2) Edit the META-INF/MANIFEST.MF
3) Add "slf4j-log4j12-1.5.11.jar log4j-1.2.14.jar" to the Class-Path entry
4) Save the manifest and the new jar file, or recompress it. 

Original comment by qsieb...@gmail.com on 13 Mar 2012 at 1:26

@GoogleCodeExporter
Copy link
Author

Issue 441 has been merged into this issue.

Original comment by qsieb...@gmail.com on 15 Mar 2012 at 12:37

@GoogleCodeExporter
Copy link
Author

I follow the steps and it is not working. The question, what if I use the older 
version. Is it working on Mac?

Original comment by wail.oma...@gmail.com on 15 Mar 2012 at 12:56

@GoogleCodeExporter
Copy link
Author

I need more information, any exceptions/trace logs?

Original comment by qsieb...@gmail.com on 15 Mar 2012 at 1:06

@GoogleCodeExporter
Copy link
Author

Original comment by qsieb...@gmail.com on 29 Mar 2012 at 3:13

  • Added labels: Release5.2.1

@GoogleCodeExporter
Copy link
Author

I don't have any error message appears. Only white screen! Therefore, I gave 
up! If you have any idea about that let me know.

Original comment by wail.oma...@gmail.com on 29 Mar 2012 at 5:51

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

No branches or pull requests

1 participant