[JBoss JIRA] (WFLY-2223) Duplicated EE ConcurrentContextService
by Eduardo Martins (JIRA)
Eduardo Martins created WFLY-2223:
-------------------------------------
Summary: Duplicated EE ConcurrentContextService
Key: WFLY-2223
URL: https://issues.jboss.org/browse/WFLY-2223
Project: WildFly
Issue Type: Feature Request
Components: EE
Reporter: Eduardo Martins
Assignee: Eduardo Martins
When there is a conflict between modules wrt their names, there is a DUP that solves the conflict and sets new name(s) in the EE Module Description, but the problem is that such change is not propagated into ConcurrentContexts, which use such name to compute their MSC service name, meaning the modules in conflict will try to install services with same name, failing the deploy.
--
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
11 years, 3 months
[JBoss JIRA] (JBASMP-52) jboss-as:deploy deploys ear but doesn't deploy contained ejb module
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/JBASMP-52?page=com.atlassian.jira.plugin.... ]
James Perkins commented on JBASMP-52:
-------------------------------------
Where do you have the jboss-as-maven-plugin defined? In the EAR POM?
> jboss-as:deploy deploys ear but doesn't deploy contained ejb module
> -------------------------------------------------------------------
>
> Key: JBASMP-52
> URL: https://issues.jboss.org/browse/JBASMP-52
> Project: JBoss AS Maven Plugins
> Issue Type: Bug
> Components: deploy
> Affects Versions: 7.4.Final
> Environment: Linux hostname 3.7.10-gentoo #1 SMP Fri Aug 30 17:01:59 ART 2013 x86_64 Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz GenuineIntel GNU/Linux
> Reporter: Matías Blasi
> Assignee: James Perkins
>
> I have a simple ear application (build with maven-ear-plugin).
> This application contains just a persistence-unit definition (persistence.xml) and a ejb-module.
> The ejb module is another maven build, containing some ejb3, handled with maven-ejb-plugin.
> The ear file is correctly built:
> myapp.ear
> |
> + META-INF/application.xml
> + lib/allmylibs.jar
> + myejb.jar
> When trying to deploy the ear with the jboss-as:deploy, the application is deployed (the persistence unit deployment logs in server.log), but no ejb is registered, anyway, no errors in log, and BUILD SUCCESFUL after mvn command.
> Finally, an ear file is present under $JBOSS_HOME/standalone/data/content
> The strange thing is that if I get that generated ear file, I can succesfully deploy it through the management console, or by copying it to a folder scanned by a deployment-scanner (in both cases the ejbs are correctly deployed)
> Nothing found in google! :(
> I tried with all the plugin version from 7.1.1 to 7.4.
> Also a lot of tries with different maven-ear-plugin and maven-jboss-as-plugin configuration options.... no lucky after two days of work.
> Regards,
> Matías.
--
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
11 years, 3 months
[JBoss JIRA] (WFLY-2222) SecurityExceptions when starting server with signed jars in an exploded app deployment
by Matt Fluet (JIRA)
[ https://issues.jboss.org/browse/WFLY-2222?page=com.atlassian.jira.plugin.... ]
Matt Fluet updated WFLY-2222:
-----------------------------
Attachment: 0001-Fix-ClassLoader-SecurityException-with-jar-certifica.patch
Attaching a patch file with the fix for the VFSResourceLoader problem
> SecurityExceptions when starting server with signed jars in an exploded app deployment
> --------------------------------------------------------------------------------------
>
> Key: WFLY-2222
> URL: https://issues.jboss.org/browse/WFLY-2222
> Project: WildFly
> Issue Type: Bug
> Components: Class Loading
> Reporter: Matt Fluet
> Assignee: David Lloyd
> Priority: Critical
> Attachments: 0001-Fix-ClassLoader-SecurityException-with-jar-certifica.patch
>
>
> This issue is directly related to https://issues.jboss.org/browse/AS7-2724, where signed jars are sometimes throwing a security exception when the server starts up and then classes cannot be loaded out of certain packages (appears to be some sort of a concurrency issue).
> The fix for that issue was applied to JarFileResourceLoader here: https://github.com/jboss-modules/jboss-modules/commit/8cf33f5c02c0c4bf6f9...
> However, our application is exploded, so the VFSResourceLoader needs a similar fix. I will attach a git patch file with the change we're proposing.
> To test the theory, we applied the patch to one server and left another as is as a control...we then left a process running that continually restarted the server for 3 days. The control server hit the SecurityException problem 5 times, and the patched server didn't show it at all.
--
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
11 years, 3 months
[JBoss JIRA] (WFLY-2216) include-all role mappings don't work in domain
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFLY-2216?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on WFLY-2216:
-----------------------------------------------
Darran Lofthouse <darran.lofthouse(a)redhat.com> changed the Status of [bug 1015493|https://bugzilla.redhat.com/show_bug.cgi?id=1015493] from ASSIGNED to POST
> include-all role mappings don't work in domain
> ----------------------------------------------
>
> Key: WFLY-2216
> URL: https://issues.jboss.org/browse/WFLY-2216
> Project: WildFly
> Issue Type: Sub-task
> Components: Domain Management, Security
> Reporter: Ladislav Thon
> Assignee: Darran Lofthouse
> Labels: rbac-filed-by-qa
> Fix For: 8.0.0.Beta1
>
>
> If I understand correctly, roles that have {{include-all=true}} in their role mappings should be added to all authenticated users. In my tests, though, this only works in standalone mode.
> In domain mode, if I set a role mapping to {{include-all}}, this setting is not reflected (at least not immediately; maybe it would work after restart, but that's wrong anyway). It doesn't matter which role is set to be {{include-all}} -- in my tests, I use both standard roles and scoped roles and it consistently doesn't work. There's probably some wrong caching going on.
> The failing test case is in my pull request https://github.com/wildfly/wildfly/pull/5166 (it's the _RBAC tests for include-all role mappings in domain_ commit). If it's more convenient, the pull request is the same as my _rbac_ branch (https://github.com/Ladicek/wildfly/commits/rbac).
> Darran, I'm not sure if you are the right assignee -- please reassign if needed. Thanks.
--
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
11 years, 3 months
[JBoss JIRA] (LOGTOOL-76) JBoss Logging Processor should support WSDLException
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/LOGTOOL-76?page=com.atlassian.jira.plugin... ]
James Perkins commented on LOGTOOL-76:
--------------------------------------
Looking at the code this won't quite work. Mainly because of the way the exception constructor signature is defined. The code generator assumes the first string type in the constructor is the message. In the case of a {{WSDLException}} the first constructor parameter seems to be the code. I'm not sure whether it's worth exploring the ability to express more meta data about a constructor or now.
For now the only solution would be for the message to be returned as a string type then create the exception manually.
{code:java}
/**
* couldNotFindServiceInTheWSDL method definition.
* @param portName the portName
* @param definitionDocumentBaseURI definitionDocumentBaseURI
* @return the error message
*/
@Message(id = 35436, value = "Could not find service %s in the WSDL %s")
String couldNotFindServiceInTheWSDL(String portName, String definitionDocumentBaseURI);
{code}
Then create the exception something like:
{code:java}
throw new WSDLException(faultCode, MESSAGES.couldNotFindServiceInTheWSDL(portName, definitionDocumentBaseURI);
{code}
> JBoss Logging Processor should support WSDLException
> ----------------------------------------------------
>
> Key: LOGTOOL-76
> URL: https://issues.jboss.org/browse/LOGTOOL-76
> Project: Log Tool
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Tom Cunningham
> Assignee: David Lloyd
>
> This is a jboss-logging-processor issue - javax.wsdl.WSDLException has constructors :
> public WSDLException(java.lang.String faultCode,
> java.lang.String msg,
> java.lang.Throwable t)
> public WSDLException(java.lang.String faultCode,
> java.lang.String msg)
> When I try to localize with this :
> /**
> * couldNotFindServiceInTheWSDL method definition.
> * @param portName the portName
> * @param definitionDocumentBaseURI definitionDocumentBaseURI
> * @return WSDLException
> */
> @Message(id = 35436, value = "Could not find service %s in the WSDL %s")
> WSDLException couldNotFindServiceInTheWSDL(String portName, String definitionDocumentBaseURI);
> I see compilation errors because jboss-logging-processor doesn't know how to support the WSDLException constructors. We should support them.
> Failure:
> [ERROR] /Users/tcunning/src/switchyard/cunningt/components/soap/src/main/java/org/switchyard/component/soap/SOAPMessages.java:[189,18] MessageMethod does not have an usable constructor for the return type javax.wsdl.WSDLException.
> [ERROR] /Users/tcunning/src/switchyard/cunningt/components/soap/src/main/java/org/switchyard/component/soap/SOAPMessages.java:[197,18] MessageMethod does not have an usable constructor for the return type javax.wsdl.WSDLException.
> [ERROR] /Users/tcunning/src/switchyard/cunningt/components/soap/src/main/java/org/switchyard/component/soap/SOAPMessages.java:[206,18] MessageMethod does not have an usable constructor for the return type javax.wsdl.WSDLException.
--
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
11 years, 3 months