This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes jaas.policy file for J2EE on Win 98 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "jaas.policy file for J2EE on Win 98" Watch "jaas.policy file for J2EE on Win 98" New topic
Author

jaas.policy file for J2EE on Win 98

Eric Peterson
Ranch Hand

Joined: Jan 08, 2002
Posts: 31
Hello all,
I am trying to cofigure j2eesdk1.3.1 on my Win98 box and I have followed the link given to me here but I am stil having problems. I believe the problem is that I do not have the jaas.policy file mentioned in the .bat config files. Would anyone using this distribution be so kind as to email this file to me at eric@eric-peterson.net . Thanks in advance for any help or suggestions.


Eric Peterson
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
Hi Eric,
Although I'm not running Win98, I've just had a look under the J2EE_HOME directory and I don't have a jaas.policy file. What errors are you getting when you start it up?
Simon
Eric Peterson
Ranch Hand

Joined: Jan 08, 2002
Posts: 31
Simon,
The server seems to start up fine when I try to follow the instructions given in the JDC forums, but when I browse to http://localhost:8000 I get the following:

Here are the relevant portions of my setenv.bat and j2ee.bat files

I know that is a lot too look at but maybe you can help. I just don't have a jaas.policy file under %J2EE_HOME%\lib\security.
[ May 05, 2002: Message edited by: Eric Peterson ]
[ May 05, 2002: Message edited by: Eric Peterson ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jaas.policy file for J2EE on Win 98