Eric Richardson wrote:
> 
> Hi,
> A few days ago I installed on Debian 2.2 the j2sdk1.3 from the debian
> file.
> 
> $ java -version
> java version "1.3.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build
> Blackdown-1.3.0-FCS)
> Java HotSpot(TM) Client VM (build Blackdown-1.3.0-FCS, mixed mode)
> 
> I also JAVA_HOME set.
> $ echo $JAVA_HOME
> /usr/lib/j2sdk1.3
> 
> I was previously running 1.2.2 tarball from Sun and had no problems.
> 
> Here is the error (typed from dialog box) when I tried to deploy some
> working apps.
> 
> There was a deployment error. java.rmi.ServerException: RemoteException
> occured in server thread; nested exception is: java.rmi.RemoteException:
> Error processing ejb jar: access denied (java.io.FilePermission
> /usr/lib/j2re1.3/lib/ext read)
> 
> >From deploytool window
> ...
> Remote message: Deploying Ejbs....
> Remote message: Processing beans ....
> Remote message: Generating wrapper code for BankAccountEJB.
> Remote message: Compiling wrapper code ....
> 
> No hints in server window.
> 
> I tried messing with the jre java.policy.
> # cat java.policy
> grant {
>   permission java.security.AllPermission;
> };
> 
> No luck. The server.policy and client.policy for the J2EE both have
> FilePermission for the ext dir.

I added to the grant section of the server.policy for the J2EE.

grant {

   ...
   permission java.security.FilePermission "<<ALL FILES>>", "read";
 };

I tried file:${java.home)/lib/ext/- and various other variations to
narrow it down with no luck.

> 
> Any help appreciated,
> Eric
>


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to