I finally heard back from the company that makes this.  Apparently I needed
to put the properties file in the directory with the jar files in my web
root.  Putting these files in the lib and classes dirs in the CF
wwwroot\web-inf dir doesn't work at all.  Oy!

Eric

-----Original Message-----
From: Judah McAuley [mailto:[email protected]] 
Sent: Monday, February 08, 2010 1:06 PM
To: cf-talk
Subject: Re: JSP in CF issue


Unauthorized Applet Use is almost assuredly a java security policy
error. You'll need to use the PolicyTool to create a policy file that
will reside in your user.home directory that specifies that this
applet codebase can do what it wants to do, which is probably to
access your system hardware.

Judah

On Mon, Feb 8, 2010 at 10:49 AM, Eric Roberts
<[email protected]> wrote:
>
> OK...so I added the directory to the actual web root and now I get the
> following error:
>
> Java Plug-in 1.6.0_18
> Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
> User home directory = C:\Documents and Settings\Administrator
> ----------------------------------------------------
> c:   clear console window
> f:   finalize objects on finalization queue
> g:   garbage collect
> h:   display this help message
> l:   dump classloader list
> m:   print memory usage
> o:   trigger logging
> q:   hide console
> r:   reload policy configuration
> s:   dump system and deployment properties
> t:   dump thread list
> v:   dump thread stack
> x:   clear classloader cache
> 0-5: set trace level to <n>
> ----------------------------------------------------
> basic: Added progress listener:
> sun.plugin.util.grayboxpainter$grayboxprogressliste...@6355dc
> basic: Applet loaded.
> basic: Applet resized and added to parent container
> basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt
> 657965 us, pluginInit dt 229256641 us, TotalTime: 229914606 us
> network: Cache entry not found [url:
> https://localhost/jobappl_qa/EzApplet/ezsign-applet.properties, version:
> null]
> network: Connecting
> https://localhost/jobappl_qa/EzApplet/ezsign-applet.properties with
> proxy=DIRECT
> network: Connecting http://localhost:443/ with proxy=DIRECT
> network: Connecting
> https://localhost/jobappl_qa/EzApplet/ezsign-applet.properties with cookie
> "CFID=200; CFTOKEN=80699936; JSESSIONID=1030f248a0dd$CF$8C$F"
> basic: Removed progress listener:
> sun.plugin.util.grayboxpainter$grayboxprogressliste...@6355dc
> java.lang.SecurityException: Unauthorized Applet Use!
>        at com.ez_signature.signature.Sign.init(Sign.java:61)
>        at
> sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
> Source)
>        at java.lang.Thread.run(Unknown Source)
> Exception: java.lang.SecurityException: Unauthorized Applet Use!
> Ignored exception: java.lang.SecurityException: Unauthorized Applet Use!
> basic: Applet initialized
> basic: Starting applet
> basic: completed perf rollup
> basic: Applet started
> basic: Told clients applet is started
>
> -----Original Message-----
> From: Dave Watts [mailto:[email protected]]
> Sent: Monday, February 08, 2010 12:31 PM
> To: cf-talk
> Subject: Re: JSP in CF issue
>
>
>> Here is the xml in web.xml...
>>
>> <servlet>
>>        <servlet-name>SaveServlet</servlet-name>
>>
>  <servlet-class>com.ez_signature.signature.SaveServlet</servlet-class>
>> </servlet>
>> <servlet-mapping>
>>        <servlet-name>SaveServlet</servlet-name>
>>        <url-pattern>/SaveServlet</url-pattern>
>> </servlet-mapping>
>>
>> I am not sure what that does 100%...but I would assume that it is to save
> the signature image when you click on the button to do
>> so...that is just a guess.
>
> Those are just defining a servlet name and corresponding URL pattern.
> With that defined, the URL http://yourserver.com/SaveServlet should
> invoke the program located in com.ez_signature.signature named
> SaveServlet.
>
>> Here are the errors from the java console (this is the part that may as
> well be in Greek *grin*...the only thing I can gleen is that
>> the pathing may not be right, but as far as I can tell, everything is
> placed properly physically speaking.):
>>
>> Java Plug-in 1.6.0_18
>> Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
>> User home directory = C:\Documents and Settings\Administrator
>>
>> ...
>>
>> java.io.FileNotFoundException:
> https://localhost/jobappl_qa/EzApplet/ezsign-applet.jar
>
> Does this URL resolve properly? It looks like you need a client-side
> applet to use this, and that the web server can't find it.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
>
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at our training centers, on
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330486
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to