[JBoss JIRA] (WFLY-2993) Core: jboss.sh fails to start with org.picketbox module not found
by Jeff Mesnil (JIRA)
[ https://issues.jboss.org/browse/WFLY-2993?page=com.atlassian.jira.plugin.... ]
Jeff Mesnil commented on WFLY-2993:
-----------------------------------
adding the org.picketbox module to the distro fixes the issue (jboss-cli really needs it as CliConfigImpl imports org.jboss.security.vault.SecurityVaultException provided by picketbox)
> Core: jboss.sh fails to start with org.picketbox module not found
> -----------------------------------------------------------------
>
> Key: WFLY-2993
> URL: https://issues.jboss.org/browse/WFLY-2993
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: CLI
> Affects Versions: 8.0.0.Final
> Reporter: Jeff Mesnil
> Assignee: Tomaz Cerar
> Fix For: 9.0.0.CR1
>
>
> Note that the issue occurs only when using the WildFly 8 *core distribution*, the regular distribution is fine.
> {noformat}
> wildfly-core-8.0.0.Final$ ./bin/jboss-cli.sh -c
> org.jboss.modules.ModuleNotFoundException: org.picketbox:main
> at org.jboss.modules.Module.addPaths(Module.java:1030)
> at org.jboss.modules.Module.link(Module.java:1386)
> at org.jboss.modules.Module.relinkIfNecessary(Module.java:1414)
> at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:242)
> at org.jboss.modules.Main.main(Main.java:385)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (WFLY-2993) Core: jboss.sh fails to start with org.picketbox module not found
by Jeff Mesnil (JIRA)
Jeff Mesnil created WFLY-2993:
---------------------------------
Summary: Core: jboss.sh fails to start with org.picketbox module not found
Key: WFLY-2993
URL: https://issues.jboss.org/browse/WFLY-2993
Project: WildFly
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: CLI
Affects Versions: 8.0.0.Final
Reporter: Jeff Mesnil
Assignee: Alexey Loubyansky
Fix For: 9.0.0.CR1
Note that the issue occurs only when using the WildFly 8 *core distribution*, the regular distribution is fine.
{noformat}
wildfly-core-8.0.0.Final$ ./bin/jboss-cli.sh -c
org.jboss.modules.ModuleNotFoundException: org.picketbox:main
at org.jboss.modules.Module.addPaths(Module.java:1030)
at org.jboss.modules.Module.link(Module.java:1386)
at org.jboss.modules.Module.relinkIfNecessary(Module.java:1414)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:242)
at org.jboss.modules.Main.main(Main.java:385)
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (WFLY-2993) Core: jboss.sh fails to start with org.picketbox module not found
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFLY-2993?page=com.atlassian.jira.plugin.... ]
Tomaz Cerar reassigned WFLY-2993:
---------------------------------
Assignee: Tomaz Cerar (was: Alexey Loubyansky)
> Core: jboss.sh fails to start with org.picketbox module not found
> -----------------------------------------------------------------
>
> Key: WFLY-2993
> URL: https://issues.jboss.org/browse/WFLY-2993
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: CLI
> Affects Versions: 8.0.0.Final
> Reporter: Jeff Mesnil
> Assignee: Tomaz Cerar
> Fix For: 9.0.0.CR1
>
>
> Note that the issue occurs only when using the WildFly 8 *core distribution*, the regular distribution is fine.
> {noformat}
> wildfly-core-8.0.0.Final$ ./bin/jboss-cli.sh -c
> org.jboss.modules.ModuleNotFoundException: org.picketbox:main
> at org.jboss.modules.Module.addPaths(Module.java:1030)
> at org.jboss.modules.Module.link(Module.java:1386)
> at org.jboss.modules.Module.relinkIfNecessary(Module.java:1414)
> at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:242)
> at org.jboss.modules.Main.main(Main.java:385)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (WFLY-2992) HttpServerLogger.errorContextModuleNotFound() is skipped
by Brian Stansberry (JIRA)
Brian Stansberry created WFLY-2992:
--------------------------------------
Summary: HttpServerLogger.errorContextModuleNotFound() is skipped
Key: WFLY-2992
URL: https://issues.jboss.org/browse/WFLY-2992
Project: WildFly
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Domain Management
Affects Versions: 8.0.0.Final
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Minor
Fix For: 8.0.1.Final
HttpServerLogger.errorContextModuleNotFound(String slot) was added but the code that should call it doesn't, it just calls logger.error(slot).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (WFLY-822) MBean created via EAR/META-INF/jboss-service.xml from class defined in JBoss module gets wrong TCCL
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFLY-822?page=com.atlassian.jira.plugin.s... ]
RH Bugzilla Integration commented on WFLY-822:
----------------------------------------------
Kabir Khan <kkhan(a)redhat.com> changed the Status of [bug 1054972|https://bugzilla.redhat.com/show_bug.cgi?id=1054972] from POST to MODIFIED
> MBean created via EAR/META-INF/jboss-service.xml from class defined in JBoss module gets wrong TCCL
> ---------------------------------------------------------------------------------------------------
>
> Key: WFLY-822
> URL: https://issues.jboss.org/browse/WFLY-822
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Class Loading, Server
> Environment: Java 6u31
> Reporter: Zachary Bedell
> Assignee: jaikiran pai
> Labels: classloader, mbean, modules
> Fix For: 8.0.0.Alpha3
>
> Attachments: SarTcclTst.tbz
>
>
> When an MBean is loaded from jboss-service.xml within an EAR, the TCCL should point to the EAR deployment so that config files and other resources can be classloaded from the EAR. Under JBoss 7.1.1.Final, the TCCL in a module loaded MBean's start() method is the module's ClassLoader. No reference to the EAR deployment's classloader is available, thus EAR resources are not available within the MBean.
> It appears that org.jboss.as.service.AbstractService::invokeLifecycleMethod() incorrectly sets the TCCL to the module's defining classloader rather than the EAR's:
> {{{
> protected void invokeLifecycleMethod(final Method method) throws InvocationTargetException, IllegalAccessException {
> if (method != null) {
> final ClassLoader old = SecurityActions.setThreadContextClassLoader(mBeanInstance.getClass().getClassLoader());
> try {
> method.invoke(mBeanInstance);
> } finally {
> SecurityActions.resetThreadContextClassLoader(old);
> }
> }
> }
> }}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (SECURITY-772) SPNEGOLoginModule does not always respect removeRealmFromPrincipal
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/SECURITY-772?page=com.atlassian.jira.plug... ]
RH Bugzilla Integration commented on SECURITY-772:
--------------------------------------------------
Kabir Khan <kkhan(a)redhat.com> changed the Status of [bug 1039955|https://bugzilla.redhat.com/show_bug.cgi?id=1039955] from ASSIGNED to MODIFIED
> SPNEGOLoginModule does not always respect removeRealmFromPrincipal
> ------------------------------------------------------------------
>
> Key: SECURITY-772
> URL: https://issues.jboss.org/browse/SECURITY-772
> Project: PicketBox
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Negotiation
> Affects Versions: Negotiation_2_2_6
> Reporter: Tom Fonteyne
> Assignee: Tom Fonteyne
> Priority: Minor
> Fix For: Negotiation_2_2_7
>
>
> org.jboss.security.negotiation.spnego.SPNEGOLoginModule
> private class AcceptSecContext:
> if (gssContext.isEstablished())
> {
> log.warn("Authentication was performed despite already being authenticated!");
> // TODO - Refactor to only do this once.
> setIdentity(new KerberosPrincipal(gssContext.getSrcName().toString()));
> The last line should obey the "removeRealmFromPrincipal" flag similarly as a bit further down:
> setIdentity(createIdentity(gssContext.getSrcName().toString()));
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (WFLY-822) MBean created via EAR/META-INF/jboss-service.xml from class defined in JBoss module gets wrong TCCL
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFLY-822?page=com.atlassian.jira.plugin.s... ]
RH Bugzilla Integration commented on WFLY-822:
----------------------------------------------
Carlo de Wolf <cdewolf(a)redhat.com> changed the Status of [bug 1054984|https://bugzilla.redhat.com/show_bug.cgi?id=1054984] from POST to MODIFIED
> MBean created via EAR/META-INF/jboss-service.xml from class defined in JBoss module gets wrong TCCL
> ---------------------------------------------------------------------------------------------------
>
> Key: WFLY-822
> URL: https://issues.jboss.org/browse/WFLY-822
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Class Loading, Server
> Environment: Java 6u31
> Reporter: Zachary Bedell
> Assignee: jaikiran pai
> Labels: classloader, mbean, modules
> Fix For: 8.0.0.Alpha3
>
> Attachments: SarTcclTst.tbz
>
>
> When an MBean is loaded from jboss-service.xml within an EAR, the TCCL should point to the EAR deployment so that config files and other resources can be classloaded from the EAR. Under JBoss 7.1.1.Final, the TCCL in a module loaded MBean's start() method is the module's ClassLoader. No reference to the EAR deployment's classloader is available, thus EAR resources are not available within the MBean.
> It appears that org.jboss.as.service.AbstractService::invokeLifecycleMethod() incorrectly sets the TCCL to the module's defining classloader rather than the EAR's:
> {{{
> protected void invokeLifecycleMethod(final Method method) throws InvocationTargetException, IllegalAccessException {
> if (method != null) {
> final ClassLoader old = SecurityActions.setThreadContextClassLoader(mBeanInstance.getClass().getClassLoader());
> try {
> method.invoke(mBeanInstance);
> } finally {
> SecurityActions.resetThreadContextClassLoader(old);
> }
> }
> }
> }}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months