-
1. Re: Problem in loading console applet in jboss-head
rajdeep_dua Jan 13, 2006 3:23 AM (in response to rajdeep_dua)Saw this in JIRA
http://jira.jboss.com/jira/browse/JBADMCON-132
JBoss Admin Console
SecurityActions.class not included in applet.jar causing NoClassDefFound exception when opening web-console
Created: 30/Oct/05 08:21 PM Updated: 30/Oct/05 08:23 PM
Return to search
Issue 14 of 18 issue(s)
<< Previous | JBADMCON-132 | Next >>
Component/s: General Console
Affects Version/s: None
Fix Version/s: None
Original Estimate: 1 hour Remaining Estimate: 1 hour Time Spent: Unknown
Environment: JBoss 5.0 alpha, built from source code .
Description
I got NoClassDefFound exception for class SecurityActions.class, looks like in MarshalledValueInputStream,
it tried to use SecurityActions to get the context classLoader while this class not included in applet.jar hence got this exception.
I work on Windows XP. -
2. Re: Problem in loading console applet in jboss-head
rajdeep_dua Jan 13, 2006 6:57 AM (in response to rajdeep_dua)Quick workaround which made this work...i know it might be the ugliest one...
Include jboss-minimal.jar(which contains org.jboss.invocation.SecurityActions)
into${jboss-head}\build\output\jboss-5.0.0alpha\server\default\deploy\management\console-mgr.sar\web-console.war
And change applet tag in applet.jsp to
<applet
width="100%"
height="100%"
code="org.jboss.console.navtree.AppletBrowser"
archive="applet.jar,jboss-minimal.jar"
>
<!-- An empty refresh value disables the background refresh thread -->
-
3. Re: Problem in loading console applet in jboss-head
lmann999 Feb 11, 2006 8:57 PM (in response to rajdeep_dua)In 4.0.4RC1 used similar approach and copied org/jboss/stream/* into applet.jar to get past error
error java.lang.NoClassDefFoundError: org/jboss/util/stream/IMarshalledValue
-
4. Re: Problem in loading console applet in jboss-head
djtuke Feb 15, 2006 7:34 AM (in response to rajdeep_dua)I have same error in jboss-4.0.4RC1-installer
Installed and initialised successfully, but accessing console via http://localhost:8080 the left hand side applets does not load
Any Ideas - above a bit cryptic - can anyone explain...
David Tuke -
5. Re: Problem in loading console applet in jboss-head
parmarp Feb 19, 2006 4:34 PM (in response to rajdeep_dua)which jar file does org/jboss/util/stream/IMarshalledValue exist in? I can't find it in any jar under the installation. I just installed 4.0.4RC1 app server.
Thanks, -
6. Re: Problem in loading console applet in jboss-head
duvauchn Feb 20, 2006 4:37 AM (in response to rajdeep_dua)Hi all,
There's the way I solved the problem with the 4.0.4RC1 and the errorerror java.lang.NoClassDefFoundError: org/jboss/util/stream/IMarshalledValue
Copy
jboss-4.0.4RC1/lib/jboss-common.jar
in
jboss-4.0.4RC1/server/default/deploy/management/console-mgr.sar/web-console.war
Then modify
jboss-4.0.4RC1/server/default/deploy/management/console-mgr.sar/web-console.war/applet.jsp
this way:
...
code="org.jboss.console.navtree.AppletBrowser"
archive="applet.jar,jboss-common.jar"
>
...
For me it works
I hope it can help you -
7. Re: Problem in loading console applet in jboss-head
djtuke Feb 21, 2006 7:35 AM (in response to rajdeep_dua)Thanks duvauchn, works a treat
david tuke -
8. Re: Problem in loading console applet in jboss-head
nuwanasanka Feb 22, 2006 4:06 AM (in response to rajdeep_dua)Thank you very much duvauchn,
Your Solution worked.
Nuwan Asanka -
9. Re: Problem in loading console applet in jboss-head
ksmani Mar 24, 2006 5:41 PM (in response to rajdeep_dua)dvouchn's method worked. super stuff.
-
10. Re: Problem in loading console applet in jboss-head
gsobrall Mar 26, 2006 7:59 PM (in response to rajdeep_dua)"duvauchn" wrote:
Hi all,
There's the way I solved the problem with the 4.0.4RC1 and the errorerror java.lang.NoClassDefFoundError: org/jboss/util/stream/IMarshalledValue
Copy
jboss-4.0.4RC1/lib/jboss-common.jar
in
jboss-4.0.4RC1/server/default/deploy/management/console-mgr.sar/web-console.war
Then modify
jboss-4.0.4RC1/server/default/deploy/management/console-mgr.sar/web-console.war/applet.jsp
this way:
...
code="org.jboss.console.navtree.AppletBrowser"
archive="applet.jar,jboss-common.jar"
>
...
For me it works
I hope it can help you
Hey all! Maybe this is my first post on these forums. I'm new to Java stuffs and so to JBoss and I'm sure I'm gonna learn lots of things with your help.
By the way, the quoted tip worked for me.
Thank you.
Best Regards,
Gustavo
São Paulo - Brasil -
11. Re: Problem in loading console applet in jboss-head
surtam Mar 28, 2006 1:02 PM (in response to rajdeep_dua)Thanks, duvauchn. It works great.
-
12. Re: Problem in loading console applet in jboss-head
suryad Dec 23, 2006 1:48 PM (in response to rajdeep_dua)Hey guys I tried the same way but for some reason mine is not working. Any ideas?