0 Replies Latest reply: May 4, 2008 7:29 AM by 807581 RSS

    Problem with NetBeans & Glassfish

    807581
      Hi

      I have done the "Simple Web Application Using a MySQL Database" tutorial. I got it to work with NetBeans 6.0. I then desicied to upgrade to 6.1 (uninstalled 6.0 and the Glassfish). After installation a run the application again with the following error (the four last lines):

      Starting Sun Java System Application Server 9.1_02 (build b04-fcs) ...
      MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor
      CORE5098: AS Socket Service Initialization has been completed.
      CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.5.0_12] from [Sun Microsystems Inc.]
      SEC1002: Security Manager is OFF.
      F:/Program/glassfish-v2ur2/domains/domain1/config/.__com_sun_appserv_pid
      ADM0001:SunoneInterceptor is now enabled
      SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
      WEB0114: SSO is disabled in virtual server [server]
      WEB0114: SSO is disabled in virtual server [__asadmin]
      ADM1079: Initialization of AMX MBeans started
      ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://192.168.0.167:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors
      ADM1506: Status of Standard JMX Connector: Active = [true]
      WEB0302: Starting Sun-Java-System/Application-Server.
      JBIFW0010: JBI framework ready to accept requests.
      WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
      WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
      WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
      SMGT0007: Self Management Rules service is enabled
      Application server startup complete.
      SEC5046: Audit: Authentication refused for [admin].
      Web login failed: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
      SEC5046: Audit: Authentication refused for [admin].
      Web login failed: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.




      I'm abel to log in onto the Glassfish server from the admin tool. But it seams that i can't logg in from the application. How do I handel this problem?

      Best regards
      Jonas

      Edited by: Lun on May 4, 2008 1:12 AM

      Edited by: Lun on May 4, 2008 1:14 AM

      Edited by: Lun on May 4, 2008 1:16 AM

      Edited by: Lun on May 4, 2008 1:18 AM

      Edited by: Lun on May 4, 2008 5:29 AM