You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Aron Sogor (JIRA)" <ji...@apache.org> on 2007/06/21 01:15:26 UTC
[jira] Created: (DIRSERVER-979)
apacheds-trunk/apacheds/server-main> ./apacheds.sh is broken
apacheds-trunk/apacheds/server-main> ./apacheds.sh is broken
------------------------------------------------------------
Key: DIRSERVER-979
URL: https://issues.apache.org/jira/browse/DIRSERVER-979
Project: Directory ApacheDS
Issue Type: Bug
Reporter: Aron Sogor
aron@neptune:~/workspace/apacheds-trunk/apacheds/server-main> ./apacheds.sh
uber jar exists
_ _ ____ ____
/ \ _ __ __ _ ___| |__ ___| _ \/ ___|
/ _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \
/ ___ \| |_) | (_| | (__| | | | __/ |_| |___) |
/_/ \_\ .__/ \__,_|\___|_| |_|\___|____/|____/
|_|
Exception in thread "main" java.lang.IncompatibleClassChangeError: Class org.apache.log4j.Logger does not implement the requested interface org.slf4j.Logger
at org.apache.directory.server.Service.init(Service.java:74)
at org.apache.directory.server.UberjarMain.main(UberjarMain.java:54)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSERVER-979)
apacheds-trunk/apacheds/server-main> ./apacheds.sh is broken
Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506779 ]
Chris Custine commented on DIRSERVER-979:
-----------------------------------------
It looks like our maven config for logging APIs is a bit messy and inconsistent, and the server-main pom is missing some of the runtime jars required for the Uberjar. In addition, the Uberjar is pulling in a huge amount of transitive dependencies (log4j, nlog4j, commons-logging, logkit, and avalon just to name a few). It will take a little bit of time to sort through the dependency mess but I will try to fix this in the next day or so.
> apacheds-trunk/apacheds/server-main> ./apacheds.sh is broken
> ------------------------------------------------------------
>
> Key: DIRSERVER-979
> URL: https://issues.apache.org/jira/browse/DIRSERVER-979
> Project: Directory ApacheDS
> Issue Type: Bug
> Reporter: Aron Sogor
> Assignee: Chris Custine
>
> aron@neptune:~/workspace/apacheds-trunk/apacheds/server-main> ./apacheds.sh
> uber jar exists
> _ _ ____ ____
> / \ _ __ __ _ ___| |__ ___| _ \/ ___|
> / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \
> / ___ \| |_) | (_| | (__| | | | __/ |_| |___) |
> /_/ \_\ .__/ \__,_|\___|_| |_|\___|____/|____/
> |_|
> Exception in thread "main" java.lang.IncompatibleClassChangeError: Class org.apache.log4j.Logger does not implement the requested interface org.slf4j.Logger
> at org.apache.directory.server.Service.init(Service.java:74)
> at org.apache.directory.server.UberjarMain.main(UberjarMain.java:54)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (DIRSERVER-979)
apacheds-trunk/apacheds/server-main> ./apacheds.sh is broken
Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Custine reassigned DIRSERVER-979:
---------------------------------------
Assignee: Chris Custine
> apacheds-trunk/apacheds/server-main> ./apacheds.sh is broken
> ------------------------------------------------------------
>
> Key: DIRSERVER-979
> URL: https://issues.apache.org/jira/browse/DIRSERVER-979
> Project: Directory ApacheDS
> Issue Type: Bug
> Reporter: Aron Sogor
> Assignee: Chris Custine
>
> aron@neptune:~/workspace/apacheds-trunk/apacheds/server-main> ./apacheds.sh
> uber jar exists
> _ _ ____ ____
> / \ _ __ __ _ ___| |__ ___| _ \/ ___|
> / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \
> / ___ \| |_) | (_| | (__| | | | __/ |_| |___) |
> /_/ \_\ .__/ \__,_|\___|_| |_|\___|____/|____/
> |_|
> Exception in thread "main" java.lang.IncompatibleClassChangeError: Class org.apache.log4j.Logger does not implement the requested interface org.slf4j.Logger
> at org.apache.directory.server.Service.init(Service.java:74)
> at org.apache.directory.server.UberjarMain.main(UberjarMain.java:54)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DIRSERVER-979) apacheds-trunk/apacheds/server-main>
./apacheds.sh is broken
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRSERVER-979.
---------------------------------------
closed
> apacheds-trunk/apacheds/server-main> ./apacheds.sh is broken
> ------------------------------------------------------------
>
> Key: DIRSERVER-979
> URL: https://issues.apache.org/jira/browse/DIRSERVER-979
> Project: Directory ApacheDS
> Issue Type: Bug
> Reporter: Aron Sogor
> Assignee: Chris Custine
> Fix For: 1.5.1
>
>
> aron@neptune:~/workspace/apacheds-trunk/apacheds/server-main> ./apacheds.sh
> uber jar exists
> _ _ ____ ____
> / \ _ __ __ _ ___| |__ ___| _ \/ ___|
> / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \
> / ___ \| |_) | (_| | (__| | | | __/ |_| |___) |
> /_/ \_\ .__/ \__,_|\___|_| |_|\___|____/|____/
> |_|
> Exception in thread "main" java.lang.IncompatibleClassChangeError: Class org.apache.log4j.Logger does not implement the requested interface org.slf4j.Logger
> at org.apache.directory.server.Service.init(Service.java:74)
> at org.apache.directory.server.UberjarMain.main(UberjarMain.java:54)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DIRSERVER-979)
apacheds-trunk/apacheds/server-main> ./apacheds.sh is broken
Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Custine resolved DIRSERVER-979.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5.1
The new version of commons-logging pom.xml pulls in log4j, avalon, and logkit as transitive dependencies so I have excluded them from assembly in the uberjar. This should fix things for now but I would still like to move all log dependencies up to the parent pom and convert to jcl104-over-slf4j.
> apacheds-trunk/apacheds/server-main> ./apacheds.sh is broken
> ------------------------------------------------------------
>
> Key: DIRSERVER-979
> URL: https://issues.apache.org/jira/browse/DIRSERVER-979
> Project: Directory ApacheDS
> Issue Type: Bug
> Reporter: Aron Sogor
> Assignee: Chris Custine
> Fix For: 1.5.1
>
>
> aron@neptune:~/workspace/apacheds-trunk/apacheds/server-main> ./apacheds.sh
> uber jar exists
> _ _ ____ ____
> / \ _ __ __ _ ___| |__ ___| _ \/ ___|
> / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \
> / ___ \| |_) | (_| | (__| | | | __/ |_| |___) |
> /_/ \_\ .__/ \__,_|\___|_| |_|\___|____/|____/
> |_|
> Exception in thread "main" java.lang.IncompatibleClassChangeError: Class org.apache.log4j.Logger does not implement the requested interface org.slf4j.Logger
> at org.apache.directory.server.Service.init(Service.java:74)
> at org.apache.directory.server.UberjarMain.main(UberjarMain.java:54)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.