File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes JSCRIP Error : DIRECT undefined when starting a signed applet. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Applets
Bookmark "JSCRIP Error : DIRECT undefined when starting a signed applet." Watch "JSCRIP Error : DIRECT undefined when starting a signed applet." New topic
Author

JSCRIP Error : DIRECT undefined when starting a signed applet.

Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 454
    
    1

Scenario: I have a digitally signed applet (with a self-generated certificate) currrently working fine. We're running some tests with a new proxy software, and with this new proxy when JRE is initialized it gives the error citeed in this topic subject.

Because the only thing that we changed is the proxy, we suppose that there is a different policy regarding access to Internet... my questions are:

- does JRE connects at startup to any external sites, for any reason ?
- does JRE tries and download some external javascript ?

Thank you for your support.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10426
    
    8

JSCRIP Error?
Can you copy paste the full stack trace?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 454
    
    1

Thanks for your reply, Maneesh...

There's no stack trace at all. The applet is indeed working (if user press OK button in the broswser alert message ), and I can't see no error trace in java console... the issue arises just after JRE started to execute applet.
It seems that JRE tries and download a remote script which is actually blocked by our proxy server. Indeed, with previous proxy there was no JScript errors.

Thank you for your help.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42047
    
  64
Do you really mean "JScript", as opposed to "JavaScript"? IE is the only browser that supports that; have you tried another browser?


Ping & DNS - my free Android networking tools app
Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 454
    
    1

Yeah, the strange thing is that the error is the same. I'm sorry that I cannot send you a screenshot....
It looks more than an IE error a runtime error of... something.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSCRIP Error : DIRECT undefined when starting a signed applet.