[JBoss JIRA] Created: (JBRULES-3133) Declarative types: Extending requires explicit import statement
by Michael Anstis (JIRA)
Declarative types: Extending requires explicit import statement
---------------------------------------------------------------
Key: JBRULES-3133
URL: https://issues.jboss.org/browse/JBRULES-3133
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler (expert)
Affects Versions: 5.2.0.Final
Reporter: Michael Anstis
Assignee: Mark Proctor
Given Person class:-
{code}
package com.guvnor.domain;
import java.math.BigDecimal;
public class Person {
private BigDecimal salary;
public BigDecimal getSalary() {
return salary;
}
public void setSalary(BigDecimal salary) {
this.salary = salary;
}
}
{code}
The following compiles OK:-
{code}
package com.sample
import com.guvnor.domain.Person
declare Person
end
{code}
However the following does not (without explicitly importing java.math.BigDecimal - which is a field type in Person):-
{code}
package com.sample
import com.guvnor.domain.Person
import com.guvnor.domain.Address
declare Person
end
declare Person2 extends Person
flange : String
end
{code}
Error being "Unknown DroolsError class org.drools.compiler.TypeDeclarationError: Unable to find class 'BigDecimal' ".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (AS7-1234) Hibernate does not read/use metadata for orm.xml defined entites
by Tomaz Cerar (JIRA)
Hibernate does not read/use metadata for orm.xml defined entites
----------------------------------------------------------------
Key: AS7-1234
URL: https://issues.jboss.org/browse/AS7-1234
Project: Application Server 7
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 7.0.0.CR1, 7.0.0.Beta3, 7.0.0.Final, 7.0.1.Final, 7.1.0.Alpha1
Environment: windows 7, sql server 2008 r2
Reporter: Tomaz Cerar
Assignee: Scott Marlow
I have setup where we have "common" entities defined in global lib/module that application(war/ear) in then dependent on.
Then I declare this entities in orm.xml of my application just by class name.
for instance:
{code:xml}
<entity class="com.company.module.Article"/>
<entity class="com.company.module.Binary"/>
<entity class="com.company.module.Category"/>
{code}
Up until as7/hibernate 4 this worked with no problems, but now it dies with exception "no id defined on entity Article". If I defined id in orm.xml it then finds id field but fails to find anything that is annotated on classes.
It looks like metadata is not read for this classes and hibernate sees them as just plain pojo with no annotations.
I am guessing that problem has to do something with integration with AS7 that now has jandex index for all annotations...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (AS7-1257) Command given in CLI help text is wrong
by Misty Stanley-Jones (JIRA)
Command given in CLI help text is wrong
---------------------------------------
Key: AS7-1257
URL: https://issues.jboss.org/browse/AS7-1257
Project: Application Server 7
Issue Type: Bug
Components: Server
Affects Versions: 7.0.0.CR1
Reporter: Misty Stanley-Jones
Assignee: Jason Greene
When you are logged into the Management CLI and you type "help", one of the example commands it gives is:
e.g. /subsystem=web/connector=http:read-resource(recursive=1)
The syntax of the command is really this:
/subsystem=web/connector=http:read-resource(recursive=true)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBMESSAGING-1885) Duplicated message delivery in closing a connection while a transaction is committing
by Yong Hao Gao (JIRA)
Duplicated message delivery in closing a connection while a transaction is committing
-------------------------------------------------------------------------------------
Key: JBMESSAGING-1885
URL: https://issues.jboss.org/browse/JBMESSAGING-1885
Project: JBoss Messaging
Issue Type: Bug
Components: Messaging Core
Affects Versions: 1.4.8.SP1, 1.4.0.SP3.CP13
Reporter: Yong Hao Gao
Assignee: Yong Hao Gao
Fix For: 1.4.0.SP3.CP14, 1.4.8.SP2
A message may be delivered twice when the following events happens in order:
1. A client receives a message in a transaction and is committing it. In the meantime the connection is closed (by, for example, user shut down the client application) in another thread.
2. At the server side, the connection closing will cause the message (not prepared) to be cancelled back to queue. In the meantime the committing will remove the message. Both actions are performed concurrently.
3. If the committing happens before the connection closing, transaction commit successfully and message won't get cancelled. But if the committing happens after connection closing, there is a chance the message is cancelled back to queue and yet the transaction is committed successfully. So the message will be delivered twice.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months