the best way, i reckon, to do this is to use applet->servlet->ejb architecture as applet can make URL connection with any servlet residing on the same server without any security problems.
-----Original Message----- From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]]On Behalf Of Sacha Labourey Sent: Monday, 29 April 2002 6:03 PM To: [EMAIL PROTECTED] Subject: Re: Running my EJB through Applet with JBOSS 2.4.4 Hello, First, could you please any follow-up of this thread to the JBoss online forums (http://www.jboss.org/forums/). JBoss specific questions are not for the EJB-INTEREST ML. Then, for you problem, be sure you've installed the JDK browser plugin, modified your HTML to call the plugin (while this seems to be no more necessary with 1.4), etc. Take a look at this doco for more information: http://www.jboss.org/online-manual/HTML/ch13s21.html Cheers, Sacha > -----Message d'origine----- > De : A mailing list for Enterprise JavaBeans development > [mailto:[EMAIL PROTECTED]]De la part de RESOURCES > Envoy� : lundi, 29 avril 2002 03:36 > � : [EMAIL PROTECTED] > Objet : Running my EJB through Applet with JBOSS 2.4.4 > Importance : Haute > > > hello... > > I am learning EJB. I Use JBOSS 2.4.4. > In Java Application, I can call my bean > successfully. > > But in Java Applet (IE 6.0) the error showed up. > I didn't make any changes inside the client code > (except to make it runable as an applet). > > The JAVA.LOG reports: > GetInitialContext()...java.lang.UnsatisfiedLinkError: > java/security/AccessController.doPrivileged Possible causes: If you are > trying to use J/Direct (@dll.import), check your compiler version > (for JVC, > requires 4336 or greater.) If you are trying to use RNI, there are new > requirements: see documentation. > at java/security/AccessController.doPrivileged > (AccessController.java) > at sun/security/util/Debug.<clinit> (Debug.java:27) > at sun/security/util/Debug.getInstance (Debug.java) > at java/security/SecureClassLoader.<clinit> > (SecureClassLoader.java:39) > at java/lang/Class.forName (Class.java) > at com/sun/naming/internal/VersionHelper.<clinit> > (VersionHelper.java:59) > at com/sun/naming/internal/VersionHelper.getVersionHelper > (VersionHelper.java) > at com/sun/naming/internal/ResourceManager.<clinit> > (ResourceManager.java:66) > at com/sun/naming/internal/ResourceManager.getInitialEnvironment > (ResourceManager.java) > at javax/naming/InitialContext.init (InitialContext.java:218) > at javax/naming/InitialContext.<init> (InitialContext.java:199) > at client.getInitialContext (client.java:66) > at client.init (client.java:24) > at com/ms/applet/AppletPanel.securedCall0 (AppletPanel.java) > at com/ms/applet/AppletPanel.securedCall (AppletPanel.java) > at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java) > at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java) > at com/ms/applet/AppletPanel.run (AppletPanel.java) > at java/lang/Thread.run (Thread.java) > > Is there anyway to overcome this ? > Please help. > > Thank you. > > Best Regards, > > Jimmy. > > ================================================================== > ========= > To unsubscribe, send email to [EMAIL PROTECTED] and include > in the body > of the message "signoff EJB-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
