[JBoss JIRA] Created: (JBAS-8657) Provide an installer for AS7
by Thomas Diesler (JIRA)
Provide an installer for AS7
----------------------------
Key: JBAS-8657
URL: https://jira.jboss.org/browse/JBAS-8657
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Installer
Reporter: Thomas Diesler
Assignee: Amit Bhayani
Brian says
I don't see commented out config as a solution. First, at this point, when the file is re-written following an update, comments are lost. That may change, but in general using the file as documentation is fragile. Second, if we added commented out sections for all the various options different subsystems may want to expose, we'll soon have a 1,00 line file full of confusing stuff.
I think we're going to need a mix of things to solve this:
1) Ship a few different canned configs files for the most common profiles, with the user able to select which they want via a command line switch.
2) An "examples" dir in the dist where some less common choices can be highlighted.
3) Most importantly, an installer application where users can easily tell us what subsystems they want in their profile. This is the most important part; #1 is mostly to provide a very easy out-of-the-box experience.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBAS-8948) Switchboard: Add configuration option to ResourceEnvRefProvider to not throw RuntimeException upon missing @Resource annotation
by Daniel Bevenius (JIRA)
Switchboard: Add configuration option to ResourceEnvRefProvider to not throw RuntimeException upon missing @Resource annotation
-------------------------------------------------------------------------------------------------------------------------------
Key: JBAS-8948
URL: https://issues.jboss.org/browse/JBAS-8948
Project: JBoss Application Server
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Reporter: Daniel Bevenius
Assignee: jaikiran pai
Using a javax.annotation.Resource that is not intended for JBoss MC, perhaps Spring is being used, causes a RuntimeException to be throw upon startup of JBoss AS 6.0.0.Final.
For example, if you have a class that looks like this:
{code}
import javax.annotation.Resource;
public class AnnotatedClass
{
@Resource
public void setterMethodWithAnnotation(SampleClass sample)
{
}
}
{code}
And this class in packaged into a war and deployed the exception below will be thrown:
{noformat}
Caused by: java.lang.RuntimeException: Neither any mapped-name/lookup/jndi-name specified nor any ResourceProvider could process resource-env-ref named env/se.rl.pop.AnnotatedClass/terMethodWithAnnotation of type se.rl.pop.SampleClass
at org.jboss.switchboard.mc.resource.provider.ResourceEnvRefProvider.provide(ResourceEnvRefProvider.java:136) [:1.0.0-alpha-16-SNAPSHOT]
at org.jboss.switchboard.mc.resource.provider.ResourceEnvRefProvider.provide(ResourceEnvRefProvider.java:1) [:1.0.0-alpha-16-SNAPSHOT]
at org.jboss.switchboard.mc.JndiEnvironmentProcessor.process(JndiEnvironmentProcessor.java:68) [:1.0.0-alpha-16-SNAPSHOT]
at org.jboss.switchboard.mc.deployer.AbstractSwitchBoardDeployer.process(AbstractSwitchBoardDeployer.java:119) [:1.0.0-alpha-16-SNAPSHOT]
at org.jboss.switchboard.mc.deployer.WebEnvironmentSwitchBoardDeployer.internalDeploy(WebEnvironmentSwitchBoardDeployer.java:66) [:1.0.0-alpha-16-SNAPSHOT]
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
... 43 more
{noformat}
Resource scanning can be turned off by adding a jboss-scanning.xml to WEB-INF/META-INF but this jira suggests that a property be added to ResourceEnvRefProvider that configures if this class should throw a RuntimeException of just log a message. This would save users to have to add a jboss-scanning.xml to their deployments.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBRULES-2836) Nested conditional expression (x?y:z) does not resolve variable binding
by Wolfgang Laun (JIRA)
Nested conditional expression (x?y:z) does not resolve variable binding
-----------------------------------------------------------------------
Key: JBRULES-2836
URL: https://issues.jboss.org/browse/JBRULES-2836
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler, drools-compiler (expert)
Affects Versions: 5.1.1.FINAL
Reporter: Wolfgang Laun
Assignee: Mark Proctor
Fix For: 5.2.0.M1
A return value restriction containing a nested conditional expression referencing two previously bound variables is flagged as erroneous. (A similar, not nested, expression referencing the same variables, is compiled and executed correctly.)
The provided DRL is sufficient for producing the error:
ule Compilation error : [Rule name='check sum']
appl/domain/Rule_check_sum_0.java (9:417) : $a2 cannot be resolved
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBRULES-2873) Rule fires unexpectedly - not CE fails
by Wolfgang Laun (JIRA)
Rule fires unexpectedly - not CE fails
--------------------------------------
Key: JBRULES-2873
URL: https://issues.jboss.org/browse/JBRULES-2873
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core
Affects Versions: 5.1.1.FINAL
Reporter: Wolfgang Laun
Assignee: Mark Proctor
Priority: Critical
The rule shown below fires, and then the code on the RHS prints "But cell ... matches" which is only possible when there is a Cell according to the constraints in the "not" CE. - The full Sudoku code is available.
rule "column elimination"
when
not Setting()
$i: Integer()
# occurs in a Cell
$c: Cell( free contains $i, $cs: cellSqr, $cc: cellCol )
# but not in another cell of the same square and a different column
not Cell( this != $c, free contains $i, cellSqr == $cs, cellCol != $cc )
## not ( $oc: Cell( this != $c )
## and
## eval( $oc.getFree().contains( $i ) &&
## $oc.getCellSqr().equals( $cs ) &&
## ! $oc.getCellCol().equals( $cc ) ) )
# but there is a cell in the same column and another square containing this value
$cx: Cell( freeCount > 1, free contains $i, cellCol == $cc, cellSqr != $cs )
then
# remove the value from that other cell
System.out.println( "column elimination due to " + $c.posAsString() +
": remove " + $i + " from " + $cx.posAsString() );
for( int iRow = 0; iRow < 9; iRow++ ){
for( int iCol = 0; iCol < 9; iCol++ ){
Cell cell = Sudoku.sudoku.cells[iRow][iCol];
if( ! cell.equals( $c ) &&
cell.getCellSqr().equals( $cs ) &&
! cell.getCellCol().equals( $cc ) &&
cell.getFree().contains( $i ) ){
System.out.println( "But cell " + cell.toString() + " matches!" );
}
}
}
for( Cell c: $cs.getCells() ){
System.out.print( c.posAsString() + ": " + c.getFree() +
" cc="+c.getCellCol() + " cs="+c.getCellSqr() + "; " );
}
System.out.println();
modify( $cx ){ blockValue( $i ) }
end
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBAS-9279) Add additional resteasy providers
by Stuart Douglas (JIRA)
Add additional resteasy providers
---------------------------------
Key: JBAS-9279
URL: https://issues.jboss.org/browse/JBAS-9279
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 7.0.0.Beta2
Reporter: Stuart Douglas
Assignee: Stuart Douglas
Fix For: 7.0.0.CR1
We need the following additional Resteasy providers:
* resteasy-spring (OPTIONAL if we support Spring within EAP)
* resteasty-guice (OPTIONAL if we support Guice in EAP)
* resteasy-jackson (REQUIRED)
* resteasy-multipart (REQUIRED)
* resteasy-atom (REQUIRED)
* resteasy-jsapi (REQUIRED)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBAS-9209) Consider storing OSGi bundles outside the modules hirachy
by Thomas Diesler (JIRA)
Consider storing OSGi bundles outside the modules hirachy
---------------------------------------------------------
Key: JBAS-9209
URL: https://issues.jboss.org/browse/JBAS-9209
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Affects Versions: 7.0.0.Beta1
Reporter: Thomas Diesler
Assignee: Thomas Diesler
[tdiesler@localhost jboss-as]$ git grep "This is an OSGi bundle"
build/src/main/resources/modules/org/apache/aries/jmx/main/module.xml: <!-- This is an OSGi bundle. It cannot have module dependencies. -->
build/src/main/resources/modules/org/apache/aries/util/main/module.xml: <!-- This is an OSGi bundle. It cannot have module dependencies. -->
build/src/main/resources/modules/org/apache/felix/configadmin/main/module.xml: <!-- This is an OSGi bundle. It cannot have module dependencies. -->
build/src/main/resources/modules/org/jboss/as/osgi/configadmin/main/module.xml: <!-- This is an OSGi bundle. It cannot have module dependencies. -->
build/src/main/resources/modules/org/jboss/osgi/common/main/module.xml: <!-- This is an OSGi bundle. It cannot have module dependencies. -->
build/src/main/resources/modules/org/jboss/osgi/jmx/main/module.xml: <!-- This is an OSGi bundle. It cannot have module dependencies. -->
build/src/main/resources/modules/org/osgi/compendium/main/module.xml: <!-- This is an OSGi bundle. It cannot have module dependencies. -->
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months