[JBoss JIRA] Moved: (JBAS-8093) Weld should visibly log when /WEB-INF/beans.xml is not found.
by Pete Muir (JIRA)
[ https://jira.jboss.org/browse/JBAS-8093?page=com.atlassian.jira.plugin.sy... ]
Pete Muir moved WELD-553 to JBAS-8093:
--------------------------------------
Project: JBoss Application Server (was: Weld)
Key: JBAS-8093 (was: WELD-553)
Affects Version/s: (was: 1.0.1.Final)
Security: Public
Component/s: Weld/CDI
(was: Bootstrap and Metamodel API)
> Weld should visibly log when /WEB-INF/beans.xml is not found.
> -------------------------------------------------------------
>
> Key: JBAS-8093
> URL: https://jira.jboss.org/browse/JBAS-8093
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Weld/CDI
> Reporter: Lincoln Baxter III
>
> An INFO or WARNING level log message must be displayed when loading a web-application where /WEB-INF/beans.xml is missing.
> "/WEB-INF/beans.xml is not present - Beans in WAR " +warName+ " will not be loaded."
> The user needs to know this because weld is making an important decision. Also, a common pitfall, defining EJBs with @Injected dependencies will break because the EJB's are discovered, @Injection is attempted, but fails because no other beans were loaded.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (JBCLUSTER-282) Incompatible signature change in HATarget
by Brian Stansberry (JIRA)
Incompatible signature change in HATarget
-----------------------------------------
Key: JBCLUSTER-282
URL: https://jira.jboss.org/browse/JBCLUSTER-282
Project: JBoss Clustering
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: HA-Server-API
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: HA-Server-API 1.2.0.Final , HA-Server-API 2.0.0.Final
The 2.0.0.Alpha series changed the return type of HATarget.getReplicants from ArrayList to List. This is breaking EJB3 (see EJBTHREE-2112) even though they actually handle the return value as a List.
EJB3 needs a compatible interface for the 1.x series (for their usage in EAP 5.x) and the 2.x series (for AS 6 and later). So, solution is, in ha-server-api trunk and in a 1.2 branch:
1) Restore ArrayList as the getReplicants() return type.
2) Add public List<?> getReplicantList()
3) Deprecate getReplicants()
4) Release a 2.0.0.Alpha5 and a 1.2.0.Final
5) Move AS trunk to 2.0.0.Alpha5 so EJB3 testsuite can work
6) At some date, remove all AS trunk usage of the deprecated method
7) When the JBPAPP_5_1 branch is available for commits again, move it to 1.2.0
8) THEN move ejb3-proxy-clustered to 1.2.0, and have it use the new method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (JBRULES-2545) Exception handling of KnowledgeBuilder .add for ruleflows should report compilation errors, not null-pointer exception
by David Goldstein (JIRA)
Exception handling of KnowledgeBuilder .add for ruleflows should report compilation errors, not null-pointer exception
----------------------------------------------------------------------------------------------------------------------
Key: JBRULES-2545
URL: https://jira.jboss.org/browse/JBRULES-2545
Project: Drools
Issue Type: Support Patch
Security Level: Public (Everyone can see)
Components: drools-compiler
Affects Versions: 5.1.0.M2
Environment: Windows XP, Eclipse plugin
Reporter: David Goldstein
Assignee: Mark Proctor
Compiling and adding a ruleflow via KnowledgeBuilder's add method often returns a simple null-pointer exception when information about the actual node that did not compile is available. While one can make a work-around using:
try {
kbuilder.add(workFlow, workFlowtype);
}
catch(Exception t){
KnowledgeBuilderErrors errors = kbuilder.getErrors();
if (errors.size() > 0)
for (KnowledgeBuilderError error: errors)
System.err.println(error);
}
}
throw new IllegalArgumentException("Could not parse knowledge.");
}
...
}
throwing an exception with the actual build problem in the message seems appropriate so that users see an error describing the build problem when using traditional exception handling:
try {
kbuilder.add(workFlow, workFlowtype);
}
catch (Exception t) {
t.printStackTrace()
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (JBMESSAGING-1808) error logs in ChannelSupport.afterRecoveryEx()
by Toshiya Kobayashi (JIRA)
error logs in ChannelSupport.afterRecoveryEx()
----------------------------------------------
Key: JBMESSAGING-1808
URL: https://jira.jboss.org/browse/JBMESSAGING-1808
Project: JBoss Messaging
Issue Type: Bug
Components: Messaging Core
Affects Versions: 1.4.6.GA.SP1, 1.4.0.SP3.CP10
Reporter: Toshiya Kobayashi
ChannelSupport.afterRecoveryEx() logs error level messages which looks like temporary logs for development.
public void afterRollbackEx(boolean onePhase, boolean isRecovered) throws Exception
{
...
synchronized (lock)
{
log.error("----xxxx---- afterRollbackEx, add back ref: " + ref);
addReferenceInMemory(ref);
performDelivery = true;
}
}
catch (Throwable t)
{
throw new TransactionException("Failed to add reference", t);
}
deliveringCount.decrement();
log.error("----xxxx---- afterRollbackEx, now count: " + deliveringCount);
}
}
}
log.error("----xxxx---- afterRollbackEx, performDelivery: " + performDelivery);
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month