users@glassfish.java.net

GlassFish v2ur2 AIX, java.security.policy warnings on startup

From: <glassfish_at_javadesktop.org>
Date: Mon, 15 Dec 2008 06:25:11 PST

Hi all,

I've got GF v2ur2 running under Java 5 in AIX. Then I went on to deploy (through copying to /autodeploy/) the hello.war app. At deploy time and subsequently on startup, I see warnings about the java.policy and server.policy files... Needless to say they came with the JDK and I haven't meddled with them.

[#|2008-12-15T16:09:51.159+0100|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0302: Starting Sun-Java-System/Application-Server.|#]

[#|2008-12-15T16:09:51.559+0100|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=b7477a39-b043-458f-8367-770b2a306d49;|java.security.policy: error parsing file:/jcaps/glassfish/domains/domain1/config/server.policy:
        line 26: expected [,], found [{]|#]

[#|2008-12-15T16:09:51.568+0100|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=13;_ThreadName=pool-1-thread-3;|JBIFW0010: JBI framework ready to accept requests.|#]

[#|2008-12-15T16:09:51.570+0100|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=b7477a39-b043-458f-8367-770b2a306d49;|
java.security.policy: error parsing file:/usr/java5/jre/lib/security/java.policy:
        line 15: expected [,], found [{]|#]
[Message sent by forum member 'sysprv' (sysprv)]

http://forums.java.net/jive/thread.jspa?messageID=321728