Thank you for the advice. I added line -Djava.security.manager to the
JVM settings in the Sun Java System Appllication Server Admin Console
but it didn't help.
Additional iformation:
I am using JDK 1.5. I also tried the JDK 1.6 with no luck.
Tero Mäntyvaara
Felipe Gaúcho wrote:
> Security is enabled in the glassfish ?
>
> http://blogs.sun.com/theaquarium/entry/how_to_enable_the_security
>
> On Mon, Jan 19, 2009 at 7:26 PM, Tero Mäntyvaara <termant_at_gmail.com> wrote:
>> Hi,
>>
>> I am using Windows XP. I have installed JEE bundle package
>> java-tools-bundle-update6-windows.exe. Then I have downloaded
>> javaee-5-doc-tutorial-1.0_05.zip and extracted it to C:\java so that
>> Duke's Bank project is in directory
>> C:\java\javaee-5-doc-tutorial-1.0_05\javaeetutorial5\examples\dukesbank.
>> Then with help of the chapter 37 of the Tutorial I set up the application.
>>
>> When executing the client application with RUN command in NetBeans
>> 6.1/6.5 I get straight the BankAdmin client. If I try to search customer
>> id 200 I get nothing but exception about null value in server monitor.
>> But if I execute the client with DEBUG command and give answer no to
>> question "is server running in debug mode" (or something) I get first
>> the login window. Entering correct values opens the actual client
>> application and then searching customer id gives the data from database
>> and no exception. And if I execute the client from command line I get
>> the same result than executing with RUN command in NetBeans.
>>
>> Somehow the authentication is skipped when running the client in normal
>> mode. How to fix the situation?
>>
>>
>>
>> Tero Mäntyvaara
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>