Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 27046 invoked from network); 31 May 2010 06:38:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 May 2010 06:38:05 -0000 Received: (qmail 93541 invoked by uid 500); 31 May 2010 06:38:05 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 93319 invoked by uid 500); 31 May 2010 06:38:02 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 93312 invoked by uid 99); 31 May 2010 06:38:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 May 2010 06:38:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_LOTS_OF_MONEY X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 May 2010 06:37:58 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4V6baar000068 for ; Mon, 31 May 2010 06:37:37 GMT Message-ID: <11381994.77741275287856404.JavaMail.jira@thor> Date: Mon, 31 May 2010 02:37:36 -0400 (EDT) From: "viola.lu (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (GERONIMO-5342) "File not found Exception" when set activemq share file system master/slave In-Reply-To: <8350181.7091274696663436.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-5342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] viola.lu closed GERONIMO-5342. ------------------------------ Resolution: Invalid After grant share folder write permission, and define two different directory of shared file system for seperate activemq server, this error disappeared, so close it. > "File not found Exception" when set activemq share file system master/slave > --------------------------------------------------------------------------- > > Key: GERONIMO-5342 > URL: https://issues.apache.org/jira/browse/GERONIMO-5342 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: ActiveMQ > Affects Versions: 2.2.1 > Environment: WIndows 2003 Sp2 > JDk: sun jdk 1.5.22 > Reporter: viola.lu > Priority: Minor > Attachments: activemq_share.xml > > > 1.Set a samba share allowing anonymous access in LAN, > 2.Create two geronimo install directory in the same box, change their var/activemq/config/activemq.xml as below: > > > > 3.Start both servers, but errors exist > 2010-05-24 19:17:37,656 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.configs/activemq-broker/2.2.1-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/activemq-broker/2.2.1-SNAPSHOT/car,j2eeType=JMSServer,name=DefaultActiveMQBroker" > java.io.FileNotFoundException: \\9.186.10.68\share\lock (Access is denied) > at java.io.RandomAccessFile.open(Native Method) > at java.io.RandomAccessFile.(RandomAccessFile.java:212) > at org.apache.activemq.store.amq.AMQPersistenceAdapter.start(AMQPersistenceAdapter.java:175) > at org.apache.activemq.broker.BrokerService.start(BrokerService.java:466) > at org.apache.geronimo.activemq.BrokerServiceGBeanImpl.doStart(BrokerServiceGBeanImpl.java:120) > at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125) > at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539) > at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377) > at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) > at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546) > at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:592) > at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816) > at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$9516750c.startConfiguration() > at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:204) > at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:87) > at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) > at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) > at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30) > reference doc: > http://activemq.apache.org/shared-file-system-master-slave.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.