[infinispan-issues] [JBoss JIRA] (ISPN-5026) The Infinispan 7.0.2's GUI demo cannot be properly launched in Windows 7

Erich Meier (JIRA) issues at jboss.org
Wed Nov 26 22:10:39 EST 2014


Erich Meier created ISPN-5026:
---------------------------------

             Summary: The Infinispan 7.0.2's GUI demo cannot be properly launched in Windows 7
                 Key: ISPN-5026
                 URL: https://issues.jboss.org/browse/ISPN-5026
             Project: Infinispan
          Issue Type: Bug
          Components: Configuration, Demos and Tutorials
    Affects Versions: 7.0.2.Final
         Environment: OS: Windows 7 sp1 64bit
CPU: Intel Core i5-4460
JDK: Oracle JDK 1.7.0_60
            Reporter: Erich Meier
            Priority: Minor


When running the runGuiDemo.bat. I get the information below:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/infinispan/util/logging/LogFactory
        at org.infinispan.demo.InfinispanDemo.<clinit>InfinispanDemo.java:51)
Caused by: java.lang.ClassNotFoundException: org.infinispan.util.logging.LogFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 1 more

this problem is caused by the inproper java classpath configuration in runGuiDemo.bat

I have fixed this bug by delete code section below:
for %%i in (%ISPN_HOME%\*.jar) do (
   set CP=%CP%;%%i
)
and add three lines:
set CP=%ISPN_HOME%\demos\gui\infinispan-embedded-7.0.2.Final.jar;%CP%
set CP=%ISPN_HOME%\demos\gui\infinispan-embedded-query-7.0.2.Final.jar;%CP%
set CP=%ISPN_HOME%\demos\gui\infinispan-remote-7.0.2.Final.jar;%CP%
after: set CP=%ISPN_HOME%\demos\gui\infinispan-gui-demo.jar;%CP%




--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the infinispan-issues mailing list