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 "Ioan Eugen Stan (JIRA)" <ji...@apache.org> on 2012/05/06 22:03:50 UTC
[jira] [Created] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Ioan Eugen Stan created JAMESAPP-8:
--------------------------------------
Summary: Wrapper service does not load user libraries from conf/lib
Key: JAMESAPP-8
URL: https://issues.apache.org/jira/browse/JAMESAPP-8
Project: JAMES App
Issue Type: Bug
Affects Versions: 3.0-beta4
Reporter: Ioan Eugen Stan
Assignee: Ioan Eugen Stan
Fix For: 3.0-beta5
Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Commented] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "Eric Charles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416260#comment-13416260 ]
Eric Charles commented on JAMESAPP-8:
-------------------------------------
I have update the pom with conf/lib/ (you said it was working for you - here it doesn't do the job...).
We was using before a JamesClasspathLoader and removed it to benefit from the jdk6 folder classpath...
Tell us it is now works for you (you can build your self or download a nightly snapshot tomorrow)
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: James App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Commented] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "TzeKai Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416092#comment-13416092 ]
TzeKai Lee commented on JAMESAPP-8:
-----------------------------------
tried with 6 and 7 :)
According to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6268383 , I believe to load folder/*.jar all at once, you still need classpath "folder/*" instead of "folder" ?
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: James App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Resolved] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "Ioan Eugen Stan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ioan Eugen Stan resolved JAMESAPP-8.
------------------------------------
Resolution: Fixed
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: JAMES App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Commented] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "Ioan Eugen Stan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269641#comment-13269641 ]
Ioan Eugen Stan commented on JAMESAPP-8:
----------------------------------------
Hi,
Could you please better explain the last line:
./conf/lib should be last to let shipped jars to take precedence on the "extension jars" located in conf/lib
I just know of JAMES_DIR/conf, JAMES_DIR/conf/lib and JAMES_DIR/lib . I'm a bit confused.
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: JAMES App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Resolved] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "Ioan Eugen Stan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ioan Eugen Stan resolved JAMESAPP-8.
------------------------------------
Resolution: Fixed
fixed. ./conf, ./lib, and ./conf/lib
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: JAMES App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Commented] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "Ioan Eugen Stan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269530#comment-13269530 ]
Ioan Eugen Stan commented on JAMESAPP-8:
----------------------------------------
Hello Eric,
conf is stil on the class-path, I mentioned in the task description that I was adding conf/lib. It's declared after conf so it should appear on the classpath in the same order if the order is preserved. I will build to test it.
About configuration.directory.in.classpath.(last|first) we should consider it a bit. If we put the ./conf/lib first, but before ./conf/ users will be able to override classes in ./lib/, but not configs. So we open the gate to upgrade parts of james simply by copying jars in there.
The question is what is the desired behavior?
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: JAMES App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Commented] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "TzeKai Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414836#comment-13414836 ]
TzeKai Lee commented on JAMESAPP-8:
-----------------------------------
Hi,
Current wrapper.conf seems only good enough to load custom conf from ./conf/lib but not jars.
I have to change conf/lib entry to conf/lib/* to make loading custom jars works.
Can anyone confirm ?
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: James App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Commented] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "Eric Charles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416915#comment-13416915 ]
Eric Charles commented on JAMESAPP-8:
-------------------------------------
OK, I've retested with a complete build. It seems that you can not rely only on the wrapper.conf properties, but you must do a complete build.
Anyway, it works alos here.
If it's ok also for you, please close the JIRA.
Thx, Eric
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: James App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Commented] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "Eric Charles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269810#comment-13269810 ]
Eric Charles commented on JAMESAPP-8:
-------------------------------------
conf/lib must be the last on the classpath
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: JAMES App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Commented] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "TzeKai Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416159#comment-13416159 ]
TzeKai Lee commented on JAMESAPP-8:
-----------------------------------
Ah, the bin/setenv
Was directly run with bin/james without running it first.
Thx
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: James App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Commented] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "Eric Charles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416131#comment-13416131 ]
Eric Charles commented on JAMESAPP-8:
-------------------------------------
The current version has a *.
wget https://repository.apache.org/content/repositories/snapshots/org/apache/james/apache-james/3.0-beta5-SNAPSHOT/apache-james-3.0-beta5-20120715.100903-331-app.tar.gz
and look at bin/setenv.sh(bat)
I have tried with a jar in conf/lib, and it take it correctly.
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: James App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Commented] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "TzeKai Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416925#comment-13416925 ]
TzeKai Lee commented on JAMESAPP-8:
-----------------------------------
Snapshot works for me.
It seems i don't have rights to close this ticket ?(I am not really familiar with JIRA system)
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: James App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Closed] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "Eric Charles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Charles closed JAMESAPP-8.
-------------------------------
Fixed now with /conf/lib/*
Thx TzeKai Lee
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: James App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Commented] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "Eric Charles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269631#comment-13269631 ]
Eric Charles commented on JAMESAPP-8:
-------------------------------------
./conf should be first to override in all case the embedded files in jar
./conf/lib should be last to let shipped jars to take precedence on the "extension jars" located in conf/lib
Thx, Eric
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: JAMES App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Commented] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "Eric Charles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416082#comment-13416082 ]
Eric Charles commented on JAMESAPP-8:
-------------------------------------
Maybe you are running on JDK5 (classpath definition via folder only works in JDK6) ?
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: James App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Reopened] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "Eric Charles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Charles reopened JAMESAPP-8:
---------------------------------
Hi Ioan,
http://svn.apache.org/viewvc?rev=1334766&view=rev add a configuration.directory.in.classpath.first.
Is the ../conf still in the classpath? (it should be the really first one).
Also configuration.directory.in.classpath.last (not...first) would do a better job adding the con/lib jars to the end of the classpath.
(Btw, we used before a custom classloader and I think to remember it was working fine with the dameon startup script - anyway, it has been removed so the classpath tuning is what we have to do).
Thx,
Eric
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: JAMES App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Commented] (JAMESAPP-8) Wrapper service does not load user
libraries from conf/lib
Posted by "Eric Charles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416201#comment-13416201 ]
Eric Charles commented on JAMESAPP-8:
-------------------------------------
mmh, it works with run.sh but not with james start...
I will have a look at it.
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: James App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Issue Comment Edited] (JAMESAPP-8) Wrapper service does not
load user libraries from conf/lib
Posted by "Ioan Eugen Stan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JAMESAPP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269530#comment-13269530 ]
Ioan Eugen Stan edited comment on JAMESAPP-8 at 5/7/12 11:16 AM:
-----------------------------------------------------------------
Hello Eric,
conf is stil on the class-path, I mentioned in the task description that I was adding conf/lib. It's declared after conf so it should appear on the classpath in the same order if the order is preserved. I will build to test it.
About configuration.directory.in.classpath.(last|first) we should consider it a bit. If we put the ./conf/lib first, but after ./conf/ users will be able to override classes in ./lib/, but not configs. So we open the gate to upgrade parts of james simply by copying jars in there.
The question is what is the desired behavior?
was (Author: ieugen):
Hello Eric,
conf is stil on the class-path, I mentioned in the task description that I was adding conf/lib. It's declared after conf so it should appear on the classpath in the same order if the order is preserved. I will build to test it.
About configuration.directory.in.classpath.(last|first) we should consider it a bit. If we put the ./conf/lib first, but before ./conf/ users will be able to override classes in ./lib/, but not configs. So we open the gate to upgrade parts of james simply by copying jars in there.
The question is what is the desired behavior?
> Wrapper service does not load user libraries from conf/lib
> ----------------------------------------------------------
>
> Key: JAMESAPP-8
> URL: https://issues.apache.org/jira/browse/JAMESAPP-8
> Project: JAMES App
> Issue Type: Bug
> Affects Versions: 3.0-beta4
> Reporter: Ioan Eugen Stan
> Assignee: Ioan Eugen Stan
> Fix For: 3.0-beta5
>
>
> Wrapper service config adds conf/ to the classpath. It should also add conf/lib so it will pick up jars too, not only config files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org