[JBoss JIRA] (AS7-2343) Remove dependency on rhq plugin annotations
by Paul Gier (Created) (JIRA)
Remove dependency on rhq plugin annotations
-------------------------------------------
Key: AS7-2343
URL: https://issues.jboss.org/browse/AS7-2343
Project: Application Server 7
Issue Type: Enhancement
Components: Build System, Clustering
Reporter: Paul Gier
Assignee: Manik Surtani
The AS 7 build currently pulls in a transitive dependency on the artifact org.rhq.helpers:rhq-pluginAnnotations:jar:3.0.1.
This jar is not included in the AS zip, and the dependency should be removed from the build. However, just excluding this dependency causes a compile error in the infinispan module, so some of the source probably needs to be changed.
{quote}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project jboss-as-clustering-infinispan: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] org/infinispan/manager/DefaultCacheManager.class(org/infinispan/manager:DefaultCacheManager.class): warning: Cannot find annotation method 'displayName()' in type 'org.rhq.helpers.pluginAnnotations.agent.Metric': class file for org.rhq.helpers.pluginAnnotations.agent.Metric not found
[ERROR] org/infinispan/manager/DefaultCacheManager.class(org/infinispan/manager:DefaultCacheManager.class): warning: Cannot find annotation method 'dataType()' in type 'org.rhq.helpers.pluginAnnotations.agent.Metric'
[ERROR] An exception has occurred in the compiler (1.6.0_20). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
[ERROR] com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.rhq.helpers.pluginAnnotations.agent.DataType not found
{quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] (AS7-2634) SessionBeanComponentDescriptionFactory silently ignores EJBs declared in ejb-jar.xml
by Richard Opalka (Created) (JIRA)
SessionBeanComponentDescriptionFactory silently ignores EJBs declared in ejb-jar.xml
------------------------------------------------------------------------------------
Key: AS7-2634
URL: https://issues.jboss.org/browse/AS7-2634
Project: Application Server 7
Issue Type: Bug
Components: EJB
Reporter: Richard Opalka
Assignee: Carlo de Wolf
Fix For: 7.1.0.CR1
If I'm trying to provide another EJB in ejb-jar.xml that is using different name than
the name derived from its class (I'm trying to provide multiple EJBs based on same class
with different names), my bean is silently ignored by the following piece of code:
{code:title=SessionBeanComponentDescriptionFactory.java|borderStyle=solid}
...
final SessionType sessionType = sessionBean.getSessionType();
if(sessionType == null && sessionBean instanceof GenericBeanMetaData) {
//TODO: this is a hack
return;
}
...
{code}
The code should
* either detect bean type according to its associated class annotation (@Singleton, @Stateless) for EJB3 beans
* or print warning or throw exception that <session-type> must be provided in ejb-jar.xml descriptor for EJB21 endpoints
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] (AS7-669) Missing error message for composite operations
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/AS7-669?page=com.atlassian.jira.plugin.sy... ]
Brian Stansberry reassigned AS7-669:
------------------------------------
Assignee: Tomaz Cerar (was: Brian Stansberry)
Tomaz, reading this it sounds very similar to the other HTTP API issue you have assigned.
> Missing error message for composite operations
> ----------------------------------------------
>
> Key: AS7-669
> URL: https://issues.jboss.org/browse/AS7-669
> Project: Application Server 7
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 7.0.0.Beta3
> Reporter: Brian Stansberry
> Assignee: Tomaz Cerar
> Labels: eap6-ux
> Fix For: 7.1.0.Final
>
>
> Heiko Braun reports:
> I don't see any error details when composite op's fail.
> Is it just me or a general problem?
> Request
> {
> "operation" => "composite",
> "address" => [],
> "steps" => [
> {
> "operation" => "write-attribute",
> "address" => [
> ("host" => "local"),
> ("server-config" => "server-one")
> ],
> "name" => "socket-binding-group",
> "value" => "standard-sockets"
> },
> {
> "operation" => "write-attribute",
> "address" => [
> ("host" => "local"),
> ("server-config" => "server-one")
> ],
> "name" => "socket-binding-port-offset",
> "value" => 0
> }
> ],
> "child-type" => undefined
> }
>
> Response
>
> Internal Server Error
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months