Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Websphere Java 2 Security Problem

 
sumeet Jain
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have enabled a login for local registry for my WAS 6.0 .Successfully. But the problem is the application which was running fine has stopped running .
I m getting java.io error no permission .....
Current Java 2 Security policy reported a potential violation of Java 2 Security Permission. Please refer to Problem Determination Guide for further information.

Permission:

suppressAccessChecks : access denied (java.lang.reflect.ReflectPermission suppressAccessChecks)


I checked out for my problem ... But no luck
I have also configured other Operator role, Administrator role, all the four roles.

But this problem is like the deployed application without Security enabled works fine but ones enabled it cannot access.

Am I missing something ..... For a container to read its deployed application ..... What is the security .. I thought it was only for the users who are trying to access the console for deploying new applications ....

But not for the deployed app .... Im using SWAP (though it has become obsolete according to IBM ) and LOCAl OS user registeries ....

Can any throw some light sort of confussed (

Thanx ....

Cheers,
Sumeet
[ June 04, 2006: Message edited by: Bear Bibeault ]
 
sumeet Jain
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I have found that my .ear files do not have any was.policy file. This is the main culprit for me getting access errors.
That brings me to my next doubt .
a) IS there any need for me to do code changes ?
Coz for web portions there are examples in which there are a few code changes .....
Cant I just give codeBase access to every module ... Without any programatic changes ?
Please advice ....

Cheers,
Sumeet
 
sumeet Jain
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Where can I find tutorials on editing of policy files for WAS .

As for now just get my server running and not give me any exception I have given by default
java.security.AllPermission

to all my code base's

any help .....


cheers,
Sumeet
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic