You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "YunFeng Ma (JIRA)" <ji...@apache.org> on 2008/04/21 10:22:22 UTC
[jira] Created: (GERONIMO-3971) Error message during assembling a
server
Error message during assembling a server
----------------------------------------
Key: GERONIMO-3971
URL: https://issues.apache.org/jira/browse/GERONIMO-3971
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: Plugins
Affects Versions: 2.1.1
Environment: Windows
Reporter: YunFeng Ma
Priority: Minor
Fix For: 2.1.1
The following error message (3 lines) are reported on Geronimo launch console during assembling a server:
16:09:05,484 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
onimo server1\var\temp\assembly\var\config\config-substitutions.properties
16:09:05,500 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
onimo server1\var\temp\assembly\var\config\config-substitutions.properties
16:09:05,515 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
onimo server1\var\temp\assembly\var\config\config-substitutions.properties
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (GERONIMO-3971) Error message during assembling a
server
Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lin Sun resolved GERONIMO-3971.
-------------------------------
Resolution: Fixed
The code was trying to loadConfigSubstitutions file when the file has not been created yet, which could happen when a server is assembled. This error message doesn't have any usage other than confusing the user as I intitally had thought my server was not assembled correctly when I see the error message. Made change to trunk rev 669506 2.1 rev 669504 to check for existence of the ConfigSubstitutions file first.
> Error message during assembling a server
> ----------------------------------------
>
> Key: GERONIMO-3971
> URL: https://issues.apache.org/jira/browse/GERONIMO-3971
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Plugins
> Affects Versions: 2.1.1, 2.1.2, 2.2
> Environment: Windows
> Reporter: YunFeng Ma
> Assignee: Lin Sun
> Priority: Minor
> Fix For: 2.1.2, 2.2
>
>
> The following error message (3 lines) are reported on Geronimo launch console during assembling a server:
> 16:09:05,484 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,500 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,515 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (GERONIMO-3971) Error message during assembling a
server
Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lin Sun reopened GERONIMO-3971:
-------------------------------
Assignee: David Jencks (was: Lin Sun)
David, the current behavior is to log the warning ((instead of error) when the config substitution file is not found when the PluginInstallerGBean is initialized. Please let us know if you have a better solution. thanks, Lin
> Error message during assembling a server
> ----------------------------------------
>
> Key: GERONIMO-3971
> URL: https://issues.apache.org/jira/browse/GERONIMO-3971
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Plugins
> Affects Versions: 2.1.1, 2.1.2, 2.2
> Environment: Windows
> Reporter: YunFeng Ma
> Assignee: David Jencks
> Priority: Minor
> Fix For: 2.1.2, 2.2
>
>
> The following error message (3 lines) are reported on Geronimo launch console during assembling a server:
> 16:09:05,484 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,500 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,515 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-3971) Error message during assembling a
server
Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608188#action_12608188 ]
Lin Sun commented on GERONIMO-3971:
-----------------------------------
David, thanks for the change. They look good to me. Now the behavior of server assembly has changed a bit -
before your change, if a user wants to create custom assembly on certain modules such as the Boilerplate Minimal then we won't generate a config-substitutions.properties file. With your change, we will generate the file no matter which modules the user chooses to create the custom assembly.
I also updated the readme.txt in config directory based on your instruction in the config-substitutions.properties file.
Lin
> Error message during assembling a server
> ----------------------------------------
>
> Key: GERONIMO-3971
> URL: https://issues.apache.org/jira/browse/GERONIMO-3971
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Plugins
> Affects Versions: 2.1.1, 2.1.2, 2.2
> Environment: Windows
> Reporter: YunFeng Ma
> Assignee: David Jencks
> Priority: Minor
> Fix For: 2.1.2, 2.2
>
>
> The following error message (3 lines) are reported on Geronimo launch console during assembling a server:
> 16:09:05,484 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,500 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,515 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-3971) Error message during assembling a
server
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods updated GERONIMO-3971:
-----------------------------------
Affects Version/s: 2.1.1
Fix Version/s: (was: 2.1.x)
2.1.2
> Error message during assembling a server
> ----------------------------------------
>
> Key: GERONIMO-3971
> URL: https://issues.apache.org/jira/browse/GERONIMO-3971
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Plugins
> Affects Versions: 2.1.1, 2.1.2, 2.2
> Environment: Windows
> Reporter: YunFeng Ma
> Priority: Minor
> Fix For: 2.1.2, 2.2
>
>
> The following error message (3 lines) are reported on Geronimo launch console during assembling a server:
> 16:09:05,484 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,500 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,515 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (GERONIMO-3971) Error message during assembling a
server
Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lin Sun reassigned GERONIMO-3971:
---------------------------------
Assignee: Lin Sun (was: Donald Woods)
> Error message during assembling a server
> ----------------------------------------
>
> Key: GERONIMO-3971
> URL: https://issues.apache.org/jira/browse/GERONIMO-3971
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Plugins
> Affects Versions: 2.1.1, 2.1.2, 2.2
> Environment: Windows
> Reporter: YunFeng Ma
> Assignee: Lin Sun
> Priority: Minor
> Fix For: 2.1.2, 2.2
>
>
> The following error message (3 lines) are reported on Geronimo launch console during assembling a server:
> 16:09:05,484 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,500 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,515 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-3971) Error message during assembling a
server
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods updated GERONIMO-3971:
-----------------------------------
Affects Version/s: (was: 2.1.x)
2.1.2
> Error message during assembling a server
> ----------------------------------------
>
> Key: GERONIMO-3971
> URL: https://issues.apache.org/jira/browse/GERONIMO-3971
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Plugins
> Affects Versions: 2.1.2, 2.2
> Environment: Windows
> Reporter: YunFeng Ma
> Priority: Minor
> Fix For: 2.1.x, 2.2
>
>
> The following error message (3 lines) are reported on Geronimo launch console during assembling a server:
> 16:09:05,484 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,500 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,515 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (GERONIMO-3971) Error message during assembling a
server
Posted by "David Jencks (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks closed GERONIMO-3971.
----------------------------------
Resolution: Fixed
After looking at this more I think I was wrong and the only place we ever write these files is from LocalAttributeManager, so there's no way such a file could exist before we start the LAM that will write it out.
I changed the "open" method to write out an empty file if no file is found. I also changed the instructions a bit (see GERONIMO-4139)
trunk rev. 671354
branches/2.1 rev 671359
> Error message during assembling a server
> ----------------------------------------
>
> Key: GERONIMO-3971
> URL: https://issues.apache.org/jira/browse/GERONIMO-3971
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Plugins
> Affects Versions: 2.1.1, 2.1.2, 2.2
> Environment: Windows
> Reporter: YunFeng Ma
> Assignee: David Jencks
> Priority: Minor
> Fix For: 2.1.2, 2.2
>
>
> The following error message (3 lines) are reported on Geronimo launch console during assembling a server:
> 16:09:05,484 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,500 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,515 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-3971) Error message during assembling a
server
Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevan Miller updated GERONIMO-3971:
-----------------------------------
Affects Version/s: (was: 2.1.1)
2.2
2.1.x
Fix Version/s: (was: 2.1.1)
2.2
2.1.x
> Error message during assembling a server
> ----------------------------------------
>
> Key: GERONIMO-3971
> URL: https://issues.apache.org/jira/browse/GERONIMO-3971
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Plugins
> Affects Versions: 2.1.x, 2.2
> Environment: Windows
> Reporter: YunFeng Ma
> Priority: Minor
> Fix For: 2.1.x, 2.2
>
>
> The following error message (3 lines) are reported on Geronimo launch console during assembling a server:
> 16:09:05,484 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,500 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,515 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-3971) Error message during assembling a
server
Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606578#action_12606578 ]
Lin Sun commented on GERONIMO-3971:
-----------------------------------
Based on the feedback from list, made additional update in rev 669722(trunk) + 669718 (2.1), before David comes up a better solution.
> Error message during assembling a server
> ----------------------------------------
>
> Key: GERONIMO-3971
> URL: https://issues.apache.org/jira/browse/GERONIMO-3971
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Plugins
> Affects Versions: 2.1.1, 2.1.2, 2.2
> Environment: Windows
> Reporter: YunFeng Ma
> Assignee: Lin Sun
> Priority: Minor
> Fix For: 2.1.2, 2.2
>
>
> The following error message (3 lines) are reported on Geronimo launch console during assembling a server:
> 16:09:05,484 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,500 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,515 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (GERONIMO-3971) Error message during assembling a
server
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods reassigned GERONIMO-3971:
--------------------------------------
Assignee: Donald Woods
> Error message during assembling a server
> ----------------------------------------
>
> Key: GERONIMO-3971
> URL: https://issues.apache.org/jira/browse/GERONIMO-3971
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Plugins
> Affects Versions: 2.1.1, 2.1.2, 2.2
> Environment: Windows
> Reporter: YunFeng Ma
> Assignee: Donald Woods
> Priority: Minor
> Fix For: 2.1.2, 2.2
>
>
> The following error message (3 lines) are reported on Geronimo launch console during assembling a server:
> 16:09:05,484 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,500 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
> 16:09:05,515 ERROR [LocalAttributeManager] Caught exception java.io.FileNotFound
> Exception: H:\geronimo server1\var\temp\assembly\var\config\config-substit
> utions.properties (系统找不到指定的文件。) trying to open properties file H:\ger
> onimo server1\var\temp\assembly\var\config\config-substitutions.properties
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.