RE: JIRA/Tomcat problem Was: [classlib][util.prefs] Implementation should be compatible with RI
Great! Jeff, thanks! With best regards, Alexei Fedotov, Intel Java & XML Engineering >-Original Message- >From: Jeff Turner [mailto:[EMAIL PROTECTED] >Sent: Friday, October 13, 2006 6:14 AM >To: Fedotov, Alexei A >Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; harmony- >[EMAIL PROTECTED] >Subject: Re: JIRA/Tomcat problem Was: [classlib][util.prefs] Implementation >should be compatible with RI > >On Thu, Oct 12, 2006 at 01:29:12PM +0400, Fedotov, Alexei A wrote: >> Dear admins, >> >> We are experiencing the following problem while attaching patches to >> HARMONY-1751. >> >> Errors >> Exception trying to establish attachment directory. Check that the >> application server and JIRA have permissions to write to it: >> com.atlassian.jira.web.util.AttachmentException: Cannot write to >> attachment directory. Check that the application server and JIRA have >> permissions to write to: >> /usr/local/tomcat/tomcat-jira/attachments/HARMONY/HARMONY-1751 > >This should now be fixed. The directory and files (and many others) were >owned by root (people occasionally start JIRA as root which breaks >things). There's also now a cronjob to detect this in future. > > >Cheers, >Jeff > >> Could you please help? >> >> With best regards, >> Alexei Fedotov, >> Intel Middleware Products Division
Re: [classlib][util.prefs] Implementation should be compatible with RI
The test patch has been attached to HARMONY-1751. On 10/12/06, Elena Semukhina <[EMAIL PROTECTED]> wrote: Actually I'm trying to attach a patch to my own issue. And a few days ago I successfully attached a patch to other's issue... On 10/12/06, Salikh Zakirov <[EMAIL PROTECTED]> wrote: > > Elena Semukhina wrote: > > I prepared the patch for the test and a sample patch for > implementation > > which enables the test passing on IBM VME. As I'm not an expert in > > util.prefs, I'd like someone to review the patch and add a warning > message. > > > > Unfortunately I did not manage to upload attachments to H-1751; got > the > > mesage: > > > > Exception trying to establish attachment directory. Check that the > > application server and JIRA have permissions to write to it: > > com.atlassian.jira.web.util.AttachmentException : Cannot write to > attachment > > directory. Check that the application server and JIRA have permissions > to > > write to: > /usr/local/tomcat/tomcat-jira/attachments/HARMONY/HARMONY-1751 > > Are > > there any problems with attachment directory? > > I'll make another try later. > > I suspect this is the way JIRA suggest that you file a new issue, > so that issue has just one contributor / patch submitter. > > I've seen that message when trying to attach files to issue filed > by someone else. Attaching to one's own issues works okay. > > > - > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Thanks, Elena -- Thanks, Elena
Re: [classlib][util.prefs] Implementation should be compatible with RI
Actually I'm trying to attach a patch to my own issue. And a few days ago I successfully attached a patch to other's issue... On 10/12/06, Salikh Zakirov <[EMAIL PROTECTED]> wrote: Elena Semukhina wrote: > I prepared the patch for the test and a sample patch for implementation > which enables the test passing on IBM VME. As I'm not an expert in > util.prefs, I'd like someone to review the patch and add a warning message. > > Unfortunately I did not manage to upload attachments to H-1751; got the > mesage: > > Exception trying to establish attachment directory. Check that the > application server and JIRA have permissions to write to it: > com.atlassian.jira.web.util.AttachmentException: Cannot write to attachment > directory. Check that the application server and JIRA have permissions to > write to: /usr/local/tomcat/tomcat-jira/attachments/HARMONY/HARMONY-1751 > Are > there any problems with attachment directory? > I'll make another try later. I suspect this is the way JIRA suggest that you file a new issue, so that issue has just one contributor / patch submitter. I've seen that message when trying to attach files to issue filed by someone else. Attaching to one's own issues works okay. - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks, Elena
JIRA/Tomcat problem Was: [classlib][util.prefs] Implementation should be compatible with RI
Dear admins, We are experiencing the following problem while attaching patches to HARMONY-1751. Errors Exception trying to establish attachment directory. Check that the application server and JIRA have permissions to write to it: com.atlassian.jira.web.util.AttachmentException: Cannot write to attachment directory. Check that the application server and JIRA have permissions to write to: /usr/local/tomcat/tomcat-jira/attachments/HARMONY/HARMONY-1751 Could you please help? With best regards, Alexei Fedotov, Intel Middleware Products Division >-Original Message- >From: Elena Semukhina [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 12, 2006 12:20 PM >To: harmony-dev@incubator.apache.org >Subject: Re: [classlib][util.prefs] Implementation should be compatible >with RI > >I prepared the patch for the test and a sample patch for implementation >which enables the test passing on IBM VME. As I'm not an expert in >util.prefs, I'd like someone to review the patch and add a warning message. > >Unfortunately I did not manage to upload attachments to H-1751; got the >mesage: > >Exception trying to establish attachment directory. Check that the >application server and JIRA have permissions to write to it: >com.atlassian.jira.web.util.AttachmentException: Cannot write to attachment >directory. Check that the application server and JIRA have permissions to >write to: /usr/local/tomcat/tomcat-jira/attachments/HARMONY/HARMONY-1751 >Are >there any problems with attachment directory? >I'll make another try later. > > > >On 10/12/06, Nathan Beyer <[EMAIL PROTECTED]> wrote: >> >> Can you provide a patch for the test case that correctly asserts the >> specification's contract and passes on the RI? This may help for >> someone to provide a fix for the issue. >> >> -Nathan >> >> On 10/11/06, Elena Semukhina <[EMAIL PROTECTED]> wrote: >> > Hi all, >> > >> > org.apache.harmony.prefs.tests.java.util.prefs.PreferencesTest fails on >> some >> > machines when there are restrictions in access to system registry. >> > https://issues.apache.org/jira/browse/HARMONY-1751 describes the issue. >> It >> > looks like Harmony implementation does not follow spec for >> > Preferences.systemNodeForPackage(). Besides, the test is incorrect as >> well >> > because it does not expect java.util.prefs.BackingStoreException on >> > Preferences.childrenNames() and fails on RI. >> > >> > Could anyone look into the issue? >> > >> > -- >> > Thanks, >> > Elena >> > >> > >> >> - >> Terms of use : http://incubator.apache.org/harmony/mailing.html >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > >-- >Thanks, >Elena - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [classlib][util.prefs] Implementation should be compatible with RI
Elena Semukhina wrote: > I prepared the patch for the test and a sample patch for implementation > which enables the test passing on IBM VME. As I'm not an expert in > util.prefs, I'd like someone to review the patch and add a warning message. > > Unfortunately I did not manage to upload attachments to H-1751; got the > mesage: > > Exception trying to establish attachment directory. Check that the > application server and JIRA have permissions to write to it: > com.atlassian.jira.web.util.AttachmentException: Cannot write to attachment > directory. Check that the application server and JIRA have permissions to > write to: /usr/local/tomcat/tomcat-jira/attachments/HARMONY/HARMONY-1751 > Are > there any problems with attachment directory? > I'll make another try later. I suspect this is the way JIRA suggest that you file a new issue, so that issue has just one contributor / patch submitter. I've seen that message when trying to attach files to issue filed by someone else. Attaching to one's own issues works okay. - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [classlib][util.prefs] Implementation should be compatible with RI
I prepared the patch for the test and a sample patch for implementation which enables the test passing on IBM VME. As I'm not an expert in util.prefs, I'd like someone to review the patch and add a warning message. Unfortunately I did not manage to upload attachments to H-1751; got the mesage: Exception trying to establish attachment directory. Check that the application server and JIRA have permissions to write to it: com.atlassian.jira.web.util.AttachmentException: Cannot write to attachment directory. Check that the application server and JIRA have permissions to write to: /usr/local/tomcat/tomcat-jira/attachments/HARMONY/HARMONY-1751 Are there any problems with attachment directory? I'll make another try later. On 10/12/06, Nathan Beyer <[EMAIL PROTECTED]> wrote: Can you provide a patch for the test case that correctly asserts the specification's contract and passes on the RI? This may help for someone to provide a fix for the issue. -Nathan On 10/11/06, Elena Semukhina <[EMAIL PROTECTED]> wrote: > Hi all, > > org.apache.harmony.prefs.tests.java.util.prefs.PreferencesTest fails on some > machines when there are restrictions in access to system registry. > https://issues.apache.org/jira/browse/HARMONY-1751 describes the issue. It > looks like Harmony implementation does not follow spec for > Preferences.systemNodeForPackage(). Besides, the test is incorrect as well > because it does not expect java.util.prefs.BackingStoreException on > Preferences.childrenNames() and fails on RI. > > Could anyone look into the issue? > > -- > Thanks, > Elena > > - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks, Elena
Re: [classlib][util.prefs] Implementation should be compatible with RI
Can you provide a patch for the test case that correctly asserts the specification's contract and passes on the RI? This may help for someone to provide a fix for the issue. -Nathan On 10/11/06, Elena Semukhina <[EMAIL PROTECTED]> wrote: Hi all, org.apache.harmony.prefs.tests.java.util.prefs.PreferencesTest fails on some machines when there are restrictions in access to system registry. https://issues.apache.org/jira/browse/HARMONY-1751 describes the issue. It looks like Harmony implementation does not follow spec for Preferences.systemNodeForPackage(). Besides, the test is incorrect as well because it does not expect java.util.prefs.BackingStoreException on Preferences.childrenNames() and fails on RI. Could anyone look into the issue? -- Thanks, Elena - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[classlib][util.prefs] Implementation should be compatible with RI
Hi all, org.apache.harmony.prefs.tests.java.util.prefs.PreferencesTest fails on some machines when there are restrictions in access to system registry. https://issues.apache.org/jira/browse/HARMONY-1751 describes the issue. It looks like Harmony implementation does not follow spec for Preferences.systemNodeForPackage(). Besides, the test is incorrect as well because it does not expect java.util.prefs.BackingStoreException on Preferences.childrenNames() and fails on RI. Could anyone look into the issue? -- Thanks, Elena