You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Fariza (JIRA)" <se...@james.apache.org> on 2007/02/05 17:29:05 UTC

[jira] Created: (JAMES-775) Can't find resource

Can't find resource
-------------------

                 Key: JAMES-775
                 URL: https://issues.apache.org/jira/browse/JAMES-775
             Project: James
          Issue Type: Bug
    Affects Versions: 2.3.0
         Environment: HP Unix, java 1.4, installation directory : /opt/james/phoenix-bin
            Reporter: Fariza
            Priority: Blocker


I get the following 'INFO' message after installing James 2.3. This does not happen in James 2.2.
Even with this 'INFO' the James server runs. The problem is I have a customized mailet that require me to load a properties file during startup. When I started james with the customized mailet, it gave me the same error that it cannot find resource bundle and because of that if failed to load the mailet.

---------ERROR------------------------------
INFO    2007-02-05 10:04:36.174 [Phoenix.] (): Unknown resource. Bundle: 'org.apache.avalon.phoenix.components.monitor.Resources' Key: 'scanner.skipping-file.notice' Args: '/opt/james/phoenix-bin/apps/james' Reason: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key scanner.skipping-file.notice
INFO    2007-02-05 10:04:36.669 [Phoenix.] (): Verifying that all key-stores have valid names.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-775) Can't find resource

Posted by "Fariza (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470326 ] 

Fariza commented on JAMES-775:
------------------------------

To load them I call the 'load' method in the java.util.properties.

load(new FileInputStream("abc.properties"));

> Can't find resource
> -------------------
>
>                 Key: JAMES-775
>                 URL: https://issues.apache.org/jira/browse/JAMES-775
>             Project: James
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: HP Unix, java 1.4, installation directory : /opt/james/phoenix-bin
>            Reporter: Fariza
>            Priority: Blocker
>
> I get the following 'INFO' message after installing James 2.3. This does not happen in James 2.2.
> Even with this 'INFO' the James server runs. The problem is I have a customized mailet that require me to load a properties file during startup. When I started james with the customized mailet, it gave me the same error that it cannot find resource bundle and because of that if failed to load the mailet.
> ---------ERROR------------------------------
> INFO    2007-02-05 10:04:36.174 [Phoenix.] (): Unknown resource. Bundle: 'org.apache.avalon.phoenix.components.monitor.Resources' Key: 'scanner.skipping-file.notice' Args: '/opt/james/phoenix-bin/apps/james' Reason: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key scanner.skipping-file.notice
> INFO    2007-02-05 10:04:36.669 [Phoenix.] (): Verifying that all key-stores have valid names.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-775) Can't find resource

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470272 ] 

Stefano Bagnara commented on JAMES-775:
---------------------------------------

Where do you place the property files you need for your mailet?
How do you load them?

> Can't find resource
> -------------------
>
>                 Key: JAMES-775
>                 URL: https://issues.apache.org/jira/browse/JAMES-775
>             Project: James
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: HP Unix, java 1.4, installation directory : /opt/james/phoenix-bin
>            Reporter: Fariza
>            Priority: Blocker
>
> I get the following 'INFO' message after installing James 2.3. This does not happen in James 2.2.
> Even with this 'INFO' the James server runs. The problem is I have a customized mailet that require me to load a properties file during startup. When I started james with the customized mailet, it gave me the same error that it cannot find resource bundle and because of that if failed to load the mailet.
> ---------ERROR------------------------------
> INFO    2007-02-05 10:04:36.174 [Phoenix.] (): Unknown resource. Bundle: 'org.apache.avalon.phoenix.components.monitor.Resources' Key: 'scanner.skipping-file.notice' Args: '/opt/james/phoenix-bin/apps/james' Reason: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key scanner.skipping-file.notice
> INFO    2007-02-05 10:04:36.669 [Phoenix.] (): Verifying that all key-stores have valid names.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Updated: (JAMES-775) Can't find resource

Posted by "Fariza (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fariza updated JAMES-775:
-------------------------

    Attachment: phoenix.log

> Can't find resource
> -------------------
>
>                 Key: JAMES-775
>                 URL: https://issues.apache.org/jira/browse/JAMES-775
>             Project: James
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: HP Unix, java 1.4, installation directory : /opt/james/phoenix-bin
>            Reporter: Fariza
>            Priority: Blocker
>         Attachments: phoenix.log
>
>
> I get the following 'INFO' message after installing James 2.3. This does not happen in James 2.2.
> Even with this 'INFO' the James server runs. The problem is I have a customized mailet that require me to load a properties file during startup. When I started james with the customized mailet, it gave me the same error that it cannot find resource bundle and because of that if failed to load the mailet.
> ---------ERROR------------------------------
> INFO    2007-02-05 10:04:36.174 [Phoenix.] (): Unknown resource. Bundle: 'org.apache.avalon.phoenix.components.monitor.Resources' Key: 'scanner.skipping-file.notice' Args: '/opt/james/phoenix-bin/apps/james' Reason: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key scanner.skipping-file.notice
> INFO    2007-02-05 10:04:36.669 [Phoenix.] (): Verifying that all key-stores have valid names.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-775) Can't find resource

Posted by "Fariza (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470337 ] 

Fariza commented on JAMES-775:
------------------------------

I have verified that my jar file (where my mailet located) are in SAR-INF\lib directory with the rest of the files.
FYI, I have run this mailet in James-2.2 for a year. What I am doing now is upgrading to James-2.3.0 and the only changes I made are in the config.xml file.

Back to my original question, I can see the 'error' to load properties files not only after I put in the custom mailet. Using the original download file, I can see the same error. So I don't think the custom mailet has anything to do with this.



> Can't find resource
> -------------------
>
>                 Key: JAMES-775
>                 URL: https://issues.apache.org/jira/browse/JAMES-775
>             Project: James
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: HP Unix, java 1.4, installation directory : /opt/james/phoenix-bin
>            Reporter: Fariza
>            Priority: Blocker
>
> I get the following 'INFO' message after installing James 2.3. This does not happen in James 2.2.
> Even with this 'INFO' the James server runs. The problem is I have a customized mailet that require me to load a properties file during startup. When I started james with the customized mailet, it gave me the same error that it cannot find resource bundle and because of that if failed to load the mailet.
> ---------ERROR------------------------------
> INFO    2007-02-05 10:04:36.174 [Phoenix.] (): Unknown resource. Bundle: 'org.apache.avalon.phoenix.components.monitor.Resources' Key: 'scanner.skipping-file.notice' Args: '/opt/james/phoenix-bin/apps/james' Reason: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key scanner.skipping-file.notice
> INFO    2007-02-05 10:04:36.669 [Phoenix.] (): Verifying that all key-stores have valid names.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-775) Can't find resource

Posted by "Fariza (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470352 ] 

Fariza commented on JAMES-775:
------------------------------

I have found the caused of the problem. The information is missing from the config files. Thank you for the time.

> Can't find resource
> -------------------
>
>                 Key: JAMES-775
>                 URL: https://issues.apache.org/jira/browse/JAMES-775
>             Project: James
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: HP Unix, java 1.4, installation directory : /opt/james/phoenix-bin
>            Reporter: Fariza
>            Priority: Blocker
>         Attachments: phoenix.log
>
>
> I get the following 'INFO' message after installing James 2.3. This does not happen in James 2.2.
> Even with this 'INFO' the James server runs. The problem is I have a customized mailet that require me to load a properties file during startup. When I started james with the customized mailet, it gave me the same error that it cannot find resource bundle and because of that if failed to load the mailet.
> ---------ERROR------------------------------
> INFO    2007-02-05 10:04:36.174 [Phoenix.] (): Unknown resource. Bundle: 'org.apache.avalon.phoenix.components.monitor.Resources' Key: 'scanner.skipping-file.notice' Args: '/opt/james/phoenix-bin/apps/james' Reason: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key scanner.skipping-file.notice
> INFO    2007-02-05 10:04:36.669 [Phoenix.] (): Verifying that all key-stores have valid names.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-775) Can't find resource

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470325 ] 

Stefano Bagnara commented on JAMES-775:
---------------------------------------

You should use SAR-INF/classes or a SAR-INF/lib jar for stuff needed by your mailets.
The same folders should be used for your mailet classes and jars.

> Can't find resource
> -------------------
>
>                 Key: JAMES-775
>                 URL: https://issues.apache.org/jira/browse/JAMES-775
>             Project: James
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: HP Unix, java 1.4, installation directory : /opt/james/phoenix-bin
>            Reporter: Fariza
>            Priority: Blocker
>
> I get the following 'INFO' message after installing James 2.3. This does not happen in James 2.2.
> Even with this 'INFO' the James server runs. The problem is I have a customized mailet that require me to load a properties file during startup. When I started james with the customized mailet, it gave me the same error that it cannot find resource bundle and because of that if failed to load the mailet.
> ---------ERROR------------------------------
> INFO    2007-02-05 10:04:36.174 [Phoenix.] (): Unknown resource. Bundle: 'org.apache.avalon.phoenix.components.monitor.Resources' Key: 'scanner.skipping-file.notice' Args: '/opt/james/phoenix-bin/apps/james' Reason: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key scanner.skipping-file.notice
> INFO    2007-02-05 10:04:36.669 [Phoenix.] (): Verifying that all key-stores have valid names.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-775) Can't find resource

Posted by "Fariza (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470331 ] 

Fariza commented on JAMES-775:
------------------------------

I am using the James source file so I should be using \james-2.3.0-src\lib, right? Does it matter whether I use the binary or source file?

> Can't find resource
> -------------------
>
>                 Key: JAMES-775
>                 URL: https://issues.apache.org/jira/browse/JAMES-775
>             Project: James
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: HP Unix, java 1.4, installation directory : /opt/james/phoenix-bin
>            Reporter: Fariza
>            Priority: Blocker
>
> I get the following 'INFO' message after installing James 2.3. This does not happen in James 2.2.
> Even with this 'INFO' the James server runs. The problem is I have a customized mailet that require me to load a properties file during startup. When I started james with the customized mailet, it gave me the same error that it cannot find resource bundle and because of that if failed to load the mailet.
> ---------ERROR------------------------------
> INFO    2007-02-05 10:04:36.174 [Phoenix.] (): Unknown resource. Bundle: 'org.apache.avalon.phoenix.components.monitor.Resources' Key: 'scanner.skipping-file.notice' Args: '/opt/james/phoenix-bin/apps/james' Reason: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key scanner.skipping-file.notice
> INFO    2007-02-05 10:04:36.669 [Phoenix.] (): Verifying that all key-stores have valid names.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (JAMES-775) Can't find resource

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Bagnara resolved JAMES-775.
-----------------------------------

    Resolution: Invalid
      Assignee: Stefano Bagnara

The reported found the problem and it seems it was not a 2.3.0 issue.

> Can't find resource
> -------------------
>
>                 Key: JAMES-775
>                 URL: https://issues.apache.org/jira/browse/JAMES-775
>             Project: James
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: HP Unix, java 1.4, installation directory : /opt/james/phoenix-bin
>            Reporter: Fariza
>         Assigned To: Stefano Bagnara
>            Priority: Blocker
>         Attachments: phoenix.log
>
>
> I get the following 'INFO' message after installing James 2.3. This does not happen in James 2.2.
> Even with this 'INFO' the James server runs. The problem is I have a customized mailet that require me to load a properties file during startup. When I started james with the customized mailet, it gave me the same error that it cannot find resource bundle and because of that if failed to load the mailet.
> ---------ERROR------------------------------
> INFO    2007-02-05 10:04:36.174 [Phoenix.] (): Unknown resource. Bundle: 'org.apache.avalon.phoenix.components.monitor.Resources' Key: 'scanner.skipping-file.notice' Args: '/opt/james/phoenix-bin/apps/james' Reason: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key scanner.skipping-file.notice
> INFO    2007-02-05 10:04:36.669 [Phoenix.] (): Verifying that all key-stores have valid names.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-775) Can't find resource

Posted by "Fariza (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470314 ] 

Fariza commented on JAMES-775:
------------------------------

The properties files are in /opt/james/phoenix-bin/bin directory, the same location as the startup script.




> Can't find resource
> -------------------
>
>                 Key: JAMES-775
>                 URL: https://issues.apache.org/jira/browse/JAMES-775
>             Project: James
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: HP Unix, java 1.4, installation directory : /opt/james/phoenix-bin
>            Reporter: Fariza
>            Priority: Blocker
>
> I get the following 'INFO' message after installing James 2.3. This does not happen in James 2.2.
> Even with this 'INFO' the James server runs. The problem is I have a customized mailet that require me to load a properties file during startup. When I started james with the customized mailet, it gave me the same error that it cannot find resource bundle and because of that if failed to load the mailet.
> ---------ERROR------------------------------
> INFO    2007-02-05 10:04:36.174 [Phoenix.] (): Unknown resource. Bundle: 'org.apache.avalon.phoenix.components.monitor.Resources' Key: 'scanner.skipping-file.notice' Args: '/opt/james/phoenix-bin/apps/james' Reason: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key scanner.skipping-file.notice
> INFO    2007-02-05 10:04:36.669 [Phoenix.] (): Verifying that all key-stores have valid names.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org