Re: [U2] UniObjects security in an applet

2006-06-16 Thread Jeff Powell
Wendy, The applet was trying to connect to localhost (thanks John H.). I changed the settings there and now I'm talking to my proxy. I now have a problem with my Proxy configuration. I am getting a exception on applets and java applications alike. asjava.uniobjects.UniSessionException: The RPC

Re: [U2] UniObjects security in an applet

2006-06-15 Thread John Hester
Adrian Merrall wrote: No you mention it. IIRC there was a change regarding zip files. The contents of zip files are no longer automatically added to the classpath, only jars. An easy fix is to rename asjava.zip to asjava.jar. I know this is the case for the tomcat class-loader, but I don't

Re: [U2] UniObjects security in an applet

2006-06-15 Thread Jeff Powell
Almost there ... The proxy server is running now that I'm using a jar instead of zip. I am, however, still getting the java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:31448 connect,resolve) from the IE and firefox browsers on client Win/Lin PC's. Running

Re: [U2] UniObjects security in an applet

2006-06-15 Thread John Hester
Jeff Powell wrote: The proxy server is running now that I'm using a jar instead of zip. I am, however, still getting the java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:31448 connect,resolve) from the IE and firefox browsers on client Win/Lin PC's.

Re: [U2] UniObjects security in an applet

2006-06-15 Thread Wendy Smoak
On 6/14/06, Adrian Merrall [EMAIL PROTECTED] wrote: No you mention it. IIRC there was a change regarding zip files. The contents of zip files are no longer automatically added to the classpath, only jars. An easy fix is to rename asjava.zip to asjava.jar. I know this is the case for the

Re: [U2] UniObjects security in an applet

2006-06-15 Thread Wendy Smoak
On 6/14/06, Adrian Merrall [EMAIL PROTECTED] wrote: No you mention it. IIRC there was a change regarding zip files. The contents of zip files are no longer automatically added to the classpath, only jars. An easy fix is to rename asjava.zip to asjava.jar. I know this is the case for the

Re: [U2] UniObjects security in an applet

2006-06-15 Thread Wendy Smoak
On 6/15/06, Jeff Powell [EMAIL PROTECTED] wrote: So, it seems that the browser still won't even touch the proxy unless it is on the same machine Same machine as what? An (unsigned) applet can only connect back to the server from which it was loaded. If you have a separate web server and

Re: [U2] UniObjects security in an applet

2006-06-15 Thread Wendy Smoak
On 6/14/06, Adrian Merrall [EMAIL PROTECTED] wrote: No you mention it. IIRC there was a change regarding zip files. The contents of zip files are no longer automatically added to the classpath, only jars. An easy fix is to rename asjava.zip to asjava.jar. I know this is the case for the

Re: [U2] UniObjects security in an applet

2006-06-15 Thread Wendy Smoak
On 6/15/06, Jeff Powell [EMAIL PROTECTED] wrote: So, it seems that the browser still won't even touch the proxy unless it is on the same machine Same machine as what? An (unsigned) applet can only connect back to the server from which it was loaded. If you have a separate web server and

Re: [U2] UniObjects security in an applet

2006-06-14 Thread Jeff Powell
Thanks everyone. This is my first applet so I'm in a steep learning curve. My applet now signed but now I'm having trouble with starting the proxy server on my Linux boxes (FC5 RHEL ES4) . Any suggestions? Thanks, Jeff Here is my java command java -cp

Re: [U2] UniObjects security in an applet

2006-06-14 Thread John Hester
Jeff Powell wrote: Here is my java command java -cp ./asjava_p.zip:./asjava.zip:/usr/lib/jvm/java/jre asjava.uniproxy.UniProxyAdminClient -config=/opt/udproxy/uniproxy.config -command=start -access_token=myPasswd Starting proxy server... Proxy server started. [EMAIL PROTECTED] udproxy]# It

Re: [U2] UniObjects security in an applet

2006-06-14 Thread Jeff Powell
Definitely nobody home there. I'm pretty sure that uniproxy is bombing out. It does not give any helpful information or even a log. Thanks, Jeff On Wed, 2006-06-14 at 13:04 -0700, John Hester wrote: Jeff Powell wrote: Here is my java command java -cp

Re: [U2] UniObjects security in an applet

2006-06-14 Thread John Hester
Jeff Powell wrote: Definitely nobody home there. I'm pretty sure that uniproxy is bombing out. It does not give any helpful information or even a log. This is a long shot, but you might try unzipping the asjava_p and asjava files and putting the paths to the resulting directory hierarchies

Re: [U2] UniObjects security in an applet

2006-06-14 Thread Adrian Merrall
John, This is a long shot, but you might try unzipping the asjava_p and asjava files and putting the paths to the resulting directory hierarchies in your classpath. Seems like I ran into some oddball issue many years ago, and that fixed it. No you mention it. IIRC there was a change

[U2] UniObjects security in an applet

2006-06-13 Thread Jeff Powell
Has anyone implemented UniObjects in an Applet? I am getting a java.security.AccessControlException when I attempt to connect. Can someone tell me what I need to do to set the permissions? IE and Firefox both have issues. Thanks, Jeff --- u2-users mailing list u2-users@listserver.u2ug.org

Re: [U2] UniObjects security in an applet

2006-06-13 Thread John Hester
Jeff Powell wrote: Has anyone implemented UniObjects in an Applet? I am getting a java.security.AccessControlException when I attempt to connect. Can someone tell me what I need to do to set the permissions? IE and Firefox both have issues. I've only used UOJ with servlets, but I believe

Re: [U2] UniObjects security in an applet

2006-06-13 Thread Jeff Powell
My servlets, java and VB apps run fine without any proxy server. For example the same Windows client PC will run a VB program but not an applet in IE6. (scratch, scratch) Thanks, Jeff On Tue, 2006-06-13 at 13:46 -0700, John Hester wrote: I've only used UOJ with servlets, but I believe with

Re: [U2] UniObjects security in an applet

2006-06-13 Thread Adrian Merrall
Jeff, My servlets, java and VB apps run fine without any proxy server. For example the same Windows client PC will run a VB program but not an applet in IE6. (scratch, scratch) Which server is your U2 database running on? From your post I'm guessing it is a different server to the one you

Re: [U2] UniObjects security in an applet

2006-06-13 Thread John Hester
Jeff Powell wrote: My servlets, java and VB apps run fine without any proxy server. For example the same Windows client PC will run a VB program but not an applet in IE6. (scratch, scratch) An applet is a little bit of a different animal because it can't get out of the java VM sandbox on the