users@glassfish.java.net

RAR5058: Error while Resizing pool

From: <glassfish_at_javadesktop.org>
Date: Thu, 15 Apr 2010 06:48:49 PDT

Hello all,

This is my first post, thanks just by reading it. I'll try to succint.

I installed a Glassfishv3 on a Linux 2.6.28-11-server Ubuntu x86_64 GNU/Linux. Every day i have to restart it in order to work again.

Question: Is there a guest user that uses JMS services?

LOG ERROR:
[#|2010-04-15T05:38:55.020-0300|WARNING|glassfishv3.0|java.util.prefs|_ThreadID=59;_ThreadName=Thread-1;|Could not lock User prefs. Unix error code 2.|#]

[#|2010-04-15T05:38:55.021-0300|WARNING|glassfishv3.0|java.util.prefs|_ThreadID=59;_ThreadName=Thread-1;|Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.|#]

[#|2010-04-15T05:39:20.032-0300|SEVERE|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=60;_ThreadName=Thread-1;|javax.security.auth.login.LoginException: /home/myuser/glassfishv3/glassfish/domains/domain1/imq/instances/imqbroker/etc/passwd (No such file or directory)
        at com.sun.messaging.jmq.jmsserver.auth.file.JMQFileUserRepository.findMatch(JMQFileUserRepository.java:123)
        at com.sun.messaging.jmq.jmsserver.auth.JMQDigestAuthenticationHandler.handleResponse(JMQDigestAuthenticationHandler.java:129)
        at com.sun.messaging.jmq.jmsserver.auth.AccessController.handleResponse(AccessController.java:423)
        at com.sun.messaging.jmq.jmsserver.auth.MQAuthenticator.authenticate(MQAuthenticator.java:108)
        at com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectConnection.authenticate(IMQDirectConnection.java:128)
        at com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectService.createDirectConnection(IMQDirectService.java:325)
        at com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectService.createConnection(IMQDirectService.java:419)
        at com.sun.messaging.jms.ra.DirectConnectionFactory._createConnectionId(DirectConnectionFactory.java:424)
        at com.sun.messaging.jms.ra.DirectConnectionFactory._createConnection(DirectConnectionFactory.java:547)
        at com.sun.messaging.jms.ra.ManagedConnection.<init>(ManagedConnection.java:191)
        at com.sun.messaging.jms.ra.ManagedConnectionFactory.createManagedConnection(ManagedConnectionFactory.java:223)
        at com.sun.enterprise.resource.allocator.ConnectorAllocator.createResource(ConnectorAllocator.java:141)
        at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:834)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1087)
        at com.sun.enterprise.resource.pool.datastructure.ListDataStructure.addResource(ListDataStructure.java:121)
        at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:268)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1381)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1101)
        at com.sun.enterprise.resource.pool.resizer.Resizer.ensureSteadyPool(Resizer.java:131)
        at com.sun.enterprise.resource.pool.resizer.Resizer.resizePool(Resizer.java:117)
        at com.sun.enterprise.resource.pool.resizer.Resizer.run(Resizer.java:90)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
|#]

[#|2010-04-15T05:39:20.035-0300|WARNING|glassfishv3.0|javax.enterprise.resource.resourceadapter.com.sun.enterprise.resource.pool.resizer|_ThreadID=60;_ThreadName=Thread-1;|RAR5058: Error while Resizing pool jms/MyApplicationFactory. Exception : Authentication failed for username guest in service jmsdirect: javax.security.auth.login.LoginException: /home/myuser/glassfishv3/glassfish/domains/domain1/imq/instances/imqbroker/etc/passwd (No such file or directory)|#]

[#|2010-04-15T05:39:20.049-0300|SEVERE|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=60;_ThreadName=Thread-1;|javax.security.auth.login.LoginException: /home/myuser/glassfishv3/glassfish/domains/domain1/imq/instances/imqbroker/etc/passwd (No such file or directory)
        at com.sun.messaging.jmq.jmsserver.auth.file.JMQFileUserRepository.findMatch(JMQFileUserRepository.java:123)
        at com.sun.messaging.jmq.jmsserver.auth.JMQDigestAuthenticationHandler.handleResponse(JMQDigestAuthenticationHandler.java:129)
        at com.sun.messaging.jmq.jmsserver.auth.AccessController.handleResponse(AccessController.java:423)
        at com.sun.messaging.jmq.jmsserver.auth.MQAuthenticator.authenticate(MQAuthenticator.java:108)
        at com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectConnection.authenticate(IMQDirectConnection.java:128)
        at com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectService.createDirectConnection(IMQDirectService.java:325)
        at com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectService.createConnection(IMQDirectService.java:419)
        at com.sun.messaging.jms.ra.DirectConnectionFactory._createConnectionId(DirectConnectionFactory.java:424)
        at com.sun.messaging.jms.ra.DirectConnectionFactory._createConnection(DirectConnectionFactory.java:547)
        at com.sun.messaging.jms.ra.ManagedConnection.<init>(ManagedConnection.java:191)
        at com.sun.messaging.jms.ra.ManagedConnectionFactory.createManagedConnection(ManagedConnectionFactory.java:223)
        at com.sun.enterprise.resource.allocator.ConnectorAllocator.createResource(ConnectorAllocator.java:141)
        at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:834)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1087)
        at com.sun.enterprise.resource.pool.datastructure.ListDataStructure.addResource(ListDataStructure.java:121)
        at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:268)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1381)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1101)
        at com.sun.enterprise.resource.pool.resizer.Resizer.ensureSteadyPool(Resizer.java:131)
        at com.sun.enterprise.resource.pool.resizer.Resizer.resizePool(Resizer.java:117)
        at com.sun.enterprise.resource.pool.resizer.Resizer.run(Resizer.java:90)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
|#]
[Message sent by forum member 'jaboot']

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