[JBoss JIRA] (WFLY-3782) add-user.sh actually does not honor JBOSS_BASE_DIR
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-3782?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse commented on WFLY-3782:
----------------------------------------
Pull requests welcome ;-) But this issue could also use an example command or two to show what you mean - I am not quite following what you say is broken.
> add-user.sh actually does not honor JBOSS_BASE_DIR
> --------------------------------------------------
>
> Key: WFLY-3782
> URL: https://issues.jboss.org/browse/WFLY-3782
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Scripts
> Affects Versions: 8.1.0.Final
> Environment: linux
> Reporter: David Tonhofer
> Assignee: Darran Lofthouse
> Fix For: Awaiting Volunteers
>
>
> add-user.sh does not check whether the JBOSS_BASE_DIR points to another directory that the one which can be deduced from JBOSS_HOME assuming the default installation. This may not be what one wants, as one actually wants to update files:
> JBOSS_BASE_DIR/configuration/mgmt-users.properties'
> JBOSS_BASE_DIR/configuration/mgmt-users.properties'
> instead of
> JBOSS_HOME/standalone/configuration/mgmt-users.properties'
> JBOSS_HOME/standalone/configuration/mgmt-users.properties'
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 2 months
[JBoss JIRA] (WFLY-3632) @Inject broken for parameterized interfaces
by Alexander Langer (JIRA)
[ https://issues.jboss.org/browse/WFLY-3632?page=com.atlassian.jira.plugin.... ]
Alexander Langer commented on WFLY-3632:
----------------------------------------
Created an upstream bug report.
> @Inject broken for parameterized interfaces
> -------------------------------------------
>
> Key: WFLY-3632
> URL: https://issues.jboss.org/browse/WFLY-3632
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: Wildfly 8.1.0Final (tested on MacOS X 10.9.3)
> Reporter: Alexander Langer
> Assignee: Jason Greene
> Attachments: CDIMultiModuleTest.zip, CDIMultiModuleTest.zip, server.log
>
>
> @Inject is broken on Wildfly 8.1.0 Final when the interface to be injected is parameterized with a type that extends another type. Example code:
> {code}
> public interface Foo<T extends Serializable> { } // will fail
> public class FooBean implements Foo { }
> public interface Bar<T> { } // will work
> public class BarBean implements Bar { }
> @Singleton
> @Startup
> public class TestSingleton {
> @Inject
> private Instance<Foo> foo;
> @Inject
> private Instance<Bar> bar;
> @PostConstruct
> public void init() {
> System.out.println("##### foo is unsatisfied = " + foo.isUnsatisfied());
> for (Foo f : foo)
> System.out.println("foo is: " + f.getClass().getCanonicalName());
> System.out.println("##### bar is unsatisfied = " + bar.isUnsatisfied());
> for (Bar b : bar)
> System.out.println("bar is: " + b.getClass().getCanonicalName());
> }
> }
> {code}
> output:
> {code}
> 22:30:25,904 INFO [stdout] (ServerService Thread Pool -- 50) ##### foo is unsatisfied = true
> 22:30:25,905 INFO [stdout] (ServerService Thread Pool -- 50) ##### bar is unsatisfied = false
> {code}
> The same code works on JBoss AS 7.1.1, so something must have changed for Wildfly.
> The attached small example project can be used to reproduce the error.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 2 months
[JBoss JIRA] (WFLY-3782) add-user.sh actually does not honor JBOSS_BASE_DIR
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-3782?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse reassigned WFLY-3782:
--------------------------------------
Assignee: Darran Lofthouse (was: Tomaz Cerar)
> add-user.sh actually does not honor JBOSS_BASE_DIR
> --------------------------------------------------
>
> Key: WFLY-3782
> URL: https://issues.jboss.org/browse/WFLY-3782
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Scripts
> Affects Versions: 8.1.0.Final
> Environment: linux
> Reporter: David Tonhofer
> Assignee: Darran Lofthouse
> Fix For: Awaiting Volunteers
>
>
> add-user.sh does not check whether the JBOSS_BASE_DIR points to another directory that the one which can be deduced from JBOSS_HOME assuming the default installation. This may not be what one wants, as one actually wants to update files:
> JBOSS_BASE_DIR/configuration/mgmt-users.properties'
> JBOSS_BASE_DIR/configuration/mgmt-users.properties'
> instead of
> JBOSS_HOME/standalone/configuration/mgmt-users.properties'
> JBOSS_HOME/standalone/configuration/mgmt-users.properties'
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 2 months
[JBoss JIRA] (WFLY-3782) add-user.sh actually does not honor JBOSS_BASE_DIR
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-3782?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse updated WFLY-3782:
-----------------------------------
Fix Version/s: Awaiting Volunteers
> add-user.sh actually does not honor JBOSS_BASE_DIR
> --------------------------------------------------
>
> Key: WFLY-3782
> URL: https://issues.jboss.org/browse/WFLY-3782
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Scripts
> Affects Versions: 8.1.0.Final
> Environment: linux
> Reporter: David Tonhofer
> Assignee: Darran Lofthouse
> Fix For: Awaiting Volunteers
>
>
> add-user.sh does not check whether the JBOSS_BASE_DIR points to another directory that the one which can be deduced from JBOSS_HOME assuming the default installation. This may not be what one wants, as one actually wants to update files:
> JBOSS_BASE_DIR/configuration/mgmt-users.properties'
> JBOSS_BASE_DIR/configuration/mgmt-users.properties'
> instead of
> JBOSS_HOME/standalone/configuration/mgmt-users.properties'
> JBOSS_HOME/standalone/configuration/mgmt-users.properties'
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 2 months
[JBoss JIRA] (WFLY-3782) add-user.sh actually does not honor JBOSS_BASE_DIR
by David Tonhofer (JIRA)
David Tonhofer created WFLY-3782:
------------------------------------
Summary: add-user.sh actually does not honor JBOSS_BASE_DIR
Key: WFLY-3782
URL: https://issues.jboss.org/browse/WFLY-3782
Project: WildFly
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Scripts
Affects Versions: 8.1.0.Final
Environment: linux
Reporter: David Tonhofer
Assignee: Tomaz Cerar
add-user.sh does not check whether the JBOSS_BASE_DIR points to another directory that the one which can be deduced from JBOSS_HOME assuming the default installation. This may not be what one wants, as one actually wants to update files:
JBOSS_BASE_DIR/configuration/mgmt-users.properties'
JBOSS_BASE_DIR/configuration/mgmt-users.properties'
instead of
JBOSS_HOME/standalone/configuration/mgmt-users.properties'
JBOSS_HOME/standalone/configuration/mgmt-users.properties'
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 2 months
[JBoss JIRA] (WFLY-3781) Better warning message in add-user.sh
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-3781?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse updated WFLY-3781:
-----------------------------------
Fix Version/s: Awaiting Volunteers
> Better warning message in add-user.sh
> -------------------------------------
>
> Key: WFLY-3781
> URL: https://issues.jboss.org/browse/WFLY-3781
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Scripts
> Affects Versions: 8.1.0.Final
> Environment: Linux
> Reporter: David Tonhofer
> Assignee: Darran Lofthouse
> Priority: Minor
> Fix For: Awaiting Volunteers
>
>
> If (shell or environment) variable JBOSS_HOME is set to something unexpected, then add-user.sh complains:
> "WARNING JBOSS_HOME may be pointing to a different installation - unpredictable results may occur."
> This can be made clearer, e.g.:
> "WARNING: The JBOSS_HOME (/usr/java/jboss7) that this script will use may indicate a different installation than the one this script resides in (/usr/local/java/wildfly) - unpredictable results may occur."
> Change of line 35 in "bin/add-user.sh":
> echo "WARNING: The JBOSS_HOME ($SANITIZED_JBOSS_HOME) that this script will use may indicate a different installation than the one this script resides in ($RESOLVED_JBOSS_HOME) - unpredictable results may occur."
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 2 months
[JBoss JIRA] (WFLY-3781) Better warning message in add-user.sh
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-3781?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse commented on WFLY-3781:
----------------------------------------
Pull requests welcome ;-)
> Better warning message in add-user.sh
> -------------------------------------
>
> Key: WFLY-3781
> URL: https://issues.jboss.org/browse/WFLY-3781
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Scripts
> Affects Versions: 8.1.0.Final
> Environment: Linux
> Reporter: David Tonhofer
> Assignee: Darran Lofthouse
> Priority: Minor
> Fix For: Awaiting Volunteers
>
>
> If (shell or environment) variable JBOSS_HOME is set to something unexpected, then add-user.sh complains:
> "WARNING JBOSS_HOME may be pointing to a different installation - unpredictable results may occur."
> This can be made clearer, e.g.:
> "WARNING: The JBOSS_HOME (/usr/java/jboss7) that this script will use may indicate a different installation than the one this script resides in (/usr/local/java/wildfly) - unpredictable results may occur."
> Change of line 35 in "bin/add-user.sh":
> echo "WARNING: The JBOSS_HOME ($SANITIZED_JBOSS_HOME) that this script will use may indicate a different installation than the one this script resides in ($RESOLVED_JBOSS_HOME) - unpredictable results may occur."
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 2 months
[JBoss JIRA] (WFLY-3781) Better warning message in add-user.sh
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-3781?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse reassigned WFLY-3781:
--------------------------------------
Assignee: Darran Lofthouse (was: Tomaz Cerar)
> Better warning message in add-user.sh
> -------------------------------------
>
> Key: WFLY-3781
> URL: https://issues.jboss.org/browse/WFLY-3781
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Scripts
> Affects Versions: 8.1.0.Final
> Environment: Linux
> Reporter: David Tonhofer
> Assignee: Darran Lofthouse
> Priority: Minor
>
> If (shell or environment) variable JBOSS_HOME is set to something unexpected, then add-user.sh complains:
> "WARNING JBOSS_HOME may be pointing to a different installation - unpredictable results may occur."
> This can be made clearer, e.g.:
> "WARNING: The JBOSS_HOME (/usr/java/jboss7) that this script will use may indicate a different installation than the one this script resides in (/usr/local/java/wildfly) - unpredictable results may occur."
> Change of line 35 in "bin/add-user.sh":
> echo "WARNING: The JBOSS_HOME ($SANITIZED_JBOSS_HOME) that this script will use may indicate a different installation than the one this script resides in ($RESOLVED_JBOSS_HOME) - unpredictable results may occur."
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 2 months