FreeMindMacro uses Flash, not an applet. What I'm missing is whether this is a problem with my Apache configuration, my Trac configuration, or both. The stack trace shows that the JVM is looking for the applet here:
http://localhost/Projects/MyApplet.class Now for everything else under http://localhost/Projects, Apache handles the request via Trac - so presumably Trac has to know where to find the applet class? Is there something that has to be set in Trac? On Sep 6, 3:47 pm, Olemis Lang <[email protected]> wrote: > On Thu, Sep 2, 2010 at 1:32 AM, Cooke, Mark <[email protected]> wrote: > >> -----Original Message----- > >> From: [email protected] On Behalf Of irrumabo > >> Sent: 01 September 2010 12:54 > >> To: Trac Users > >> Subject: [Trac] Java Applet Inside Trac Plugin > > >> I'm trying to develop a Trac plugin that contains a Java Applet to > >> display some data. > [...] > >> When I deploy the plugin, I get a Java error box > >> where the applet should be, and the html table displays fine. The > >> output from the JVM console is as follows: > > >> load: class MyApplet not found. > >> java.lang.ClassNotFoundException: MyApplet > >> at > >> sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) > >> at java.lang.ClassLoader.loadClass(Unknown Source) > >> at java.lang.ClassLoader.loadClass(Unknown Source) > >> at > >> sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) > >> at > >> sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source) > >> at sun.plugin2.applet.Plugin2Manager > >> $AppletExecutionRunnable.run(Unknown Source) > >> at java.lang.Thread.run(Unknown Source) > >> Caused by: java.io.IOException: open HTTP connection failed:http:// > >> localhost/Projects/MyApplet.class > >> at > >> sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source) > >> at > >> sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source) > >> at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source) > >> at java.security.AccessController.doPrivileged(Native Method) > >> ... 7 more > >> Exception: java.lang.ClassNotFoundException: MyApplet > > > I'm guessing here but my understanding is that the remote browser is the > > one that needs to load the .class (or jar) file? > > You might want to take a look at FreeMindMacro . AFAICR it embeds an > applet in wiki pages ... > > CMIIW > > -- > Regards, > > Olemis. > > Blog ES:http://simelo-es.blogspot.com/ > Blog EN:http://simelo-en.blogspot.com/ > > Featured article: -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
