[infinispan-issues] [JBoss JIRA] Updated: (ISPN-248) Wrong path in runGuiDemo script doesn't allow to launch the demo

Manik Surtani (JIRA) jira-events at lists.jboss.org
Mon Nov 2 05:50:05 EST 2009


     [ https://jira.jboss.org/jira/browse/ISPN-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manik Surtani updated ISPN-248:
-------------------------------

    Fix Version/s: 4.0.0.CR2
       Complexity: Low


> Wrong path in runGuiDemo script doesn't allow to launch the demo
> ----------------------------------------------------------------
>
>                 Key: ISPN-248
>                 URL: https://jira.jboss.org/jira/browse/ISPN-248
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 4.0.0.CR1
>         Environment: Linux
>            Reporter: Rafael Liu
>            Assignee: Manik Surtani
>            Priority: Minor
>             Fix For: 4.0.0.CR2
>
>
> The script runGuiDemo.sh is probably outdated. It is using a "gui-demo" to set java classpath, which must have been renamed to "gui" in some release. So:
> for i in ${ISPN_HOME}/modules/gui-demo/*.jar ; do
>    CP=${i}:${CP}
> done
> for i in ${ISPN_HOME}/modules/gui-demo/lib/*.jar ; do
>    CP=${i}:${CP}
> done
> Throws an exception:
> Caused by: java.lang.ClassNotFoundException: org.infinispan.demo.InfinispanDemo
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> Could not find the main class: org.infinispan.demo.InfinispanDemo.  Program will exit.
> Just update the command to:
> for i in ${ISPN_HOME}/modules/gui/*.jar ; do
>    CP=${i}:${CP}
> done
> for i in ${ISPN_HOME}/modules/gui/lib/*.jar ; do
>    CP=${i}:${CP}
> done

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list