• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Websphere Java 2 Security Problem

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic