You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Craig Rosenberg <cr...@boeing.com> on 2008/03/13 20:13:49 UTC

Applets not displaying on the LeftMenu

I have an applet that displays perfectly in my JSP wiki pages but does not
display when I try to put it on the LeftMenu.  Is there any reason why I
should not be able to display a working applet on the LeftMenu?   I am using
the SBaltesPlugins.jar to support displaying applets.

Here is how I am calling the applet either when on a standard page or on the
LeftMenu:

[{Applet code='com.boeing.avatar.GameControllerCommunicator'
archive='AvatarApplets.jar' width='170' height='200'}]

Here are the java errors that I am getting:

load: class com.boeing.avatar.GameControllerCommunicator not found.
java.lang.ClassNotFoundException:
com.boeing.avatar.GameControllerCommunicator
	at sun.applet.AppletClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadCode(Unknown Source)
	at sun.applet.AppletPanel.createApplet(Unknown Source)
	at sun.plugin.AppletViewer.createApplet(Unknown Source)
	at sun.applet.AppletPanel.runLoader(Unknown Source)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
	at sun.applet.AppletClassLoader.getBytes(Unknown Source)
	at sun.applet.AppletClassLoader.access$100(Unknown Source)
	at sun.applet.AppletClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	... 10 more


Thanks for any help you might be able to offer.
-- 
View this message in context: http://www.nabble.com/Applets-not-displaying-on-the-LeftMenu-tp16036198p16036198.html
Sent from the JspWiki - User mailing list archive at Nabble.com.


Re: Applets not displaying on the LeftMenu

Posted by Craig Rosenberg <cr...@boeing.com>.
I tried this, and I am still having the same issue ...  Any other
suggestions?
Have you been able to get applets displayed on the LeftMenu?


Dave Wolf-2 wrote:
> 
> This sounds like a configuration issue. Craig, place the
> AvatarApplets.jarin <JSPWiki>/WEB-INF/lib directory, remove the
> attachment from any of the
> pages, and restart the server.
> 
> Dave
> 

-- 
View this message in context: http://www.nabble.com/Applets-not-displaying-on-the-LeftMenu-tp16036198p16039186.html
Sent from the JspWiki - User mailing list archive at Nabble.com.


Re: Applets not displaying on the LeftMenu

Posted by Dave Wolf <da...@gmail.com>.
This sounds like a configuration issue. Craig, place the
AvatarApplets.jarin <JSPWiki>/WEB-INF/lib directory, remove the
attachment from any of the
pages, and restart the server.

Dave

On Thu, Mar 13, 2008 at 2:29 PM, Craig Rosenberg <
craig.s.rosenberg@boeing.com> wrote:

>
> The applet is 170 pixels wide and I belive that the LeftMenu is wider than
> that  as some of the links are wider than the applet.
>
> However, I did discover something very interesting.   If the JSPWiki page
> that is displaying has the AvatarApplets.jar file attached, then the
> applet
> displays correctly on the LeftMenu.  If the JSPWiki page that is
> displaying
> to the right of the LeftMenu does not have the AvatarApplets.jar file
> attached, then the applet is only displaying as an bounding box outline
> with
> a little red X in the upper left.   Note that I have attached the
> AvatarApplets.jar to the LeftMenu page.
>
>
>
> Dirk Frederickx wrote:
> >
> > Craig,
> >
> > Could be that the applet is to wide to fit into the LeftMenu ?
> >
> > What is the effect : is the LeftMenu still shown without applet, or is
> the
> > LeftMenu jumping to the bottom of the screen ?
> >
> > dirk
> >
>
> --
> View this message in context:
> http://www.nabble.com/Applets-not-displaying-on-the-LeftMenu-tp16036198p16037898.html
> Sent from the JspWiki - User mailing list archive at Nabble.com.
>
>


-- 
Dave Wolf
H: 303-377-9537
M: 303-956-9106

http://www.youtube.com/watch?v=EsMumUEPMCY Donate to VoteVets

"Our lives begin to end the day we become silent about things that matter."
--Dr. Martin Luther King Jr.

Re: Applets not displaying on the LeftMenu

Posted by Craig Rosenberg <cr...@boeing.com>.
The applet is 170 pixels wide and I belive that the LeftMenu is wider than
that  as some of the links are wider than the applet.   

However, I did discover something very interesting.   If the JSPWiki page
that is displaying has the AvatarApplets.jar file attached, then the applet
displays correctly on the LeftMenu.  If the JSPWiki page that is displaying
to the right of the LeftMenu does not have the AvatarApplets.jar file
attached, then the applet is only displaying as an bounding box outline with
a little red X in the upper left.   Note that I have attached the
AvatarApplets.jar to the LeftMenu page.
 


Dirk Frederickx wrote:
> 
> Craig,
> 
> Could be that the applet is to wide to fit into the LeftMenu ?
> 
> What is the effect : is the LeftMenu still shown without applet, or is the
> LeftMenu jumping to the bottom of the screen ?
> 
> dirk
> 

-- 
View this message in context: http://www.nabble.com/Applets-not-displaying-on-the-LeftMenu-tp16036198p16037898.html
Sent from the JspWiki - User mailing list archive at Nabble.com.


Re: Applets not displaying on the LeftMenu

Posted by Dirk Frederickx <di...@gmail.com>.
Craig,

Could be that the applet is to wide to fit into the LeftMenu ?

What is the effect : is the LeftMenu still shown without applet, or is the
LeftMenu jumping to the bottom of the screen ?

dirk


On Thu, Mar 13, 2008 at 8:13 PM, Craig Rosenberg <
craig.s.rosenberg@boeing.com> wrote:

>
> I have an applet that displays perfectly in my JSP wiki pages but does not
> display when I try to put it on the LeftMenu.  Is there any reason why I
> should not be able to display a working applet on the LeftMenu?   I am
> using
> the SBaltesPlugins.jar to support displaying applets.
>
> Here is how I am calling the applet either when on a standard page or on
> the
> LeftMenu:
>
> [{Applet code='com.boeing.avatar.GameControllerCommunicator'
> archive='AvatarApplets.jar' width='170' height='200'}]
>
> Here are the java errors that I am getting:
>
> load: class com.boeing.avatar.GameControllerCommunicator not found.
> java.lang.ClassNotFoundException:
> com.boeing.avatar.GameControllerCommunicator
>        at sun.applet.AppletClassLoader.findClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at sun.applet.AppletClassLoader.loadClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at sun.applet.AppletClassLoader.loadCode(Unknown Source)
>        at sun.applet.AppletPanel.createApplet(Unknown Source)
>        at sun.plugin.AppletViewer.createApplet(Unknown Source)
>        at sun.applet.AppletPanel.runLoader(Unknown Source)
>        at sun.applet.AppletPanel.run(Unknown Source)
>        at java.lang.Thread.run(Unknown Source)
> Caused by: java.io.IOException: open HTTP connection failed.
>        at sun.applet.AppletClassLoader.getBytes(Unknown Source)
>        at sun.applet.AppletClassLoader.access$100(Unknown Source)
>        at sun.applet.AppletClassLoader$1.run(Unknown Source)
>        at java.security.AccessController.doPrivileged(Native Method)
>        ... 10 more
>
>
> Thanks for any help you might be able to offer.
> --
> View this message in context:
> http://www.nabble.com/Applets-not-displaying-on-the-LeftMenu-tp16036198p16036198.html
> Sent from the JspWiki - User mailing list archive at Nabble.com.
>
>