Hi -
 
This is cause the applet is trying to read AlphabetManager.xml which applets are not 
generally allowed to do (read files) due to the sand box. I beleive you will need to 
change your security policy. Not sure on the details but the Sun java site has some 
documentation.
 
- Mark
 

        -----Original Message----- 
        From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
        Sent: Sat 20/09/2003 2:40 a.m. 
        To: [EMAIL PROTECTED] 
        Cc: 
        Subject: [Biojava-l] Biojava GUI and applets
        
        

        Hi,
        
        Thanks Mathew!
        I followed your instructions
        
        I tried
        
           <APPLET code="BioApplet.class"
                width="600"
                height="400"
                archive="biojava.jar, xerces.jar, bytecode.jar" >
          </APPLET>
        
        And I put .jar files into the same directory as the applet and html page
        
        But now, errors have changed:
        
        java.security.AccessControlException: access denied
        (java.util.ProperyPermission entityExpansionLimit read)
        ...
        rethrown as org.biojava.bio.BioError. Unable to initialize AlphabetManager
             at
        org.biojava.bio.symbol.AlphabetManager.<clinit>(AlphabetManager.java:896)
             at.org.biojava.bio.seq.DNATools.<clinit>(DNATools.java:54)
        rethrown as org.biojava.bio.BioError: Unable to initialize DNATools
             at.org.biojava.bio.seq.DNATools.<clinit>(DNATools.java:85)
             at.org.biojava.bio.seq.io.SeqIOTools.getDNAParser(SeqIOTools.java:181)
        ...
        
        
        
        
        Thanks
        
        
        ----------- Mensaje Original --------------
        
        De: Matthew Pocock [EMAIL PROTECTED]
        Para: [EMAIL PROTECTED] [EMAIL PROTECTED]
        Cc: [EMAIL PROTECTED] [EMAIL PROTECTED]
        Asunto: Re: [Biojava-l] Biojava GUI and Applets
        Fecha: 19/09/2003 06:15:52
        Mensaje:
        
        
        Ah - I think I see potential problems. Firstly, you should have just one
        archive attribute with a list of archives seperated by spaces and
        optional white-space. Secondly, you are using file locations for the
        jars - they need to be URLs that are relative to your html page that
        contains the applet. So - try something more like this:
        
        
        
        and put the three jar files in the same directory as your applet and the
        html page.
        
        Matthew
        
        
        
        
        
        Luis Ch.
        [EMAIL PROTECTED]                 
        
        _______________________________________________
        Biojava-l mailing list  -  [EMAIL PROTECTED]
        http://biojava.org/mailman/listinfo/biojava-l
        


=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================

_______________________________________________
Biojava-l mailing list  -  [EMAIL PROTECTED]
http://biojava.org/mailman/listinfo/biojava-l

Reply via email to