[JBoss JIRA] Created: (JBRULES-2409) Quotes should not be escaped when parsing a decision table
by Jos Hendriks (JIRA)
Quotes should not be escaped when parsing a decision table
----------------------------------------------------------
Key: JBRULES-2409
URL: https://jira.jboss.org/jira/browse/JBRULES-2409
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-decisiontables
Affects Versions: 5.0.1.FINAL
Environment: jdk 1.6 update 12
windows XP
Reporter: Jos Hendriks
Assignee: Mark Proctor
Since drools 5 quotes that are in an action cell of a decision table are escaped. As we are using method calls with String parameters in our action cells this results in invalid drl.
I've reproduced the issue in the example decision table project generated
by the eclipse plugin. After generating a new Drools project with decision
table example I added the following to the Message class:
public String getMessage(String dummy) {
return this.message;
}
In the decision table I change cell E9 from
'm.setMessage("$param");update(m);' to 'm.setMessage($param);update(m);'
and cell E11 from 'Goodbye cruel world' to 'm.getMessage("msg")'.
When I use Drools 5 I get escaped double-quotes which causes an error
in com.sample.DecisionTableTest.readKnowledgeBase:
m.setMessage(m.getMessage(\"msg\"));update(m);
Version 4.0.7 did not escape quotes and correctly generated the drl:
m.setMessage(m.getMessage("msg"));update(m);
I found out that escaping of quoted has been added by request, JBRULES-1811. Please reconsider the decision and or implementation made to solve that issue. Possibly add a keyword to the decision table to define the way qoutes are parsed? Like Sequential for salience....
The forum entry I have made includes the files and full drl. Please contact me if you need more information or help.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (AS7-1577) Module creation utility
by Nicklas Karlsson (JIRA)
Module creation utility
-----------------------
Key: AS7-1577
URL: https://issues.jboss.org/browse/AS7-1577
Project: Application Server 7
Issue Type: Feature Request
Components: Modules
Affects Versions: 7.1.0.Alpha1
Reporter: Nicklas Karlsson
Assignee: David Lloyd
It would be nice to have a utility for creating modules and/or locating dependencies of a 3rd party jar. It could work something like
1. Given n JAR files and a name a module structure and module.xml would be created
2. Tattletale would be employed to detect the complete structure of dependencies
3. The Modules API would be used to walk the module repository to see if the missing dependencies are already modules and add the correct dependency to the module.xml
4. (optional) provide a way to input for maven coordinates of missing dependencies so they too can be converted to modules or included in the module.
As people are migrating from ASx -> AS7 there will probably be a lot of cursing over CNFEs of own and 3rd party libs
--
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-1524) Better platform support for RichFaces 4
by Juergen Zimmermann (JIRA)
Better platform support for RichFaces 4
---------------------------------------
Key: AS7-1524
URL: https://issues.jboss.org/browse/AS7-1524
Project: Application Server 7
Issue Type: Bug
Components: Modules, Web
Affects Versions: 7.0.0.Final
Environment: Jenkins build 1491
Reporter: Juergen Zimmermann
Assignee: David Lloyd
Today the JARs for guava, cssparser, and sac are provided by JBoss 7, but have to be provided additionally in WEB-INF/lib of a web app. :-(
The following changes make it easier to use RichFaces 4
* Load these 2 modules for a web app: "org.w3c.css.sac" and "net.sourceforge.cssparser"
* In modules/org/w3c/css/sac/main/module.xml add to <dependencies>:
<module name="net.sourceforge.cssparser" />
* upgrade modules/com/google/guava/main from r06 to r08 which is used in RichFaces (the current guava version is r09)
If the Guava upgrade is not possible, please support at least cssparser and sac via the first two bullets.
--
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] (AS7-324) Add shutdown callback to ServerController
by David Lloyd (Closed) (JIRA)
[ https://issues.jboss.org/browse/AS7-324?page=com.atlassian.jira.plugin.sy... ]
David Lloyd closed AS7-324.
---------------------------
Fix Version/s: (was: 7.1.0.Beta1)
Resolution: Out of Date
> Add shutdown callback to ServerController
> -----------------------------------------
>
> Key: AS7-324
> URL: https://issues.jboss.org/browse/AS7-324
> Project: Application Server 7
> Issue Type: Feature Request
> Reporter: Kabir Khan
> Assignee: David Lloyd
>
> kkhan: Is there something I can wait for to know that a StandaloneServer instance has a) been completely started b) been completely stopped?
> [15:06] kkhan: b) is the most important for what I am doing
> [15:07] dmlloyd: for (b) we were planning on having an overall parent service
> [15:07] dmlloyd: not sure if we ever did that, but if so you could just have a remove listener on that
> [15:08] kkhan: How would I access that without access to the server controller? By registering a listener on startup?
> [15:09] dmlloyd: hm, well you can't really get at any services without access to the server's ServiceController
> [15:10] kkhan: Yeah, this lives outside of it all. I do have a batch builder for starting though - not sure if it is worth poking into that?
> [15:11] maeste left the chat room. (Ping timeout: 255 seconds)
> [15:17] kkhan: Counting the number of started and stopped services from a listener added to the batch seems to do the job. I
> [15:19] dmlloyd: after the MSC upgrade, maybe we should add a shutdown callback to ServerController (does that class still exist?)
> [15:19] dmlloyd: (yes, it does)
> [15:23] kkhan: That ^ sounds like a good idea
--
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, 9 months
[JBoss JIRA] Created: (AS7-1974) Unable to access OSGI service (BundleContext) from WebApp (servlet / RestEasy) using AS 7.1.1 stack.
by Nikhil Joshi (JIRA)
Unable to access OSGI service (BundleContext) from WebApp (servlet / RestEasy) using AS 7.1.1 stack.
----------------------------------------------------------------------------------------------------
Key: AS7-1974
URL: https://issues.jboss.org/browse/AS7-1974
Project: Application Server 7
Issue Type: Clarification
Components: OSGi
Affects Versions: 7.1.0.Alpha1
Environment: Using JBoss Developer Studio M3 on Windows 7. Server AS 7.0.0 final, 7.1.1 Alpha, EAP 6.0 (experimental)
Reporter: Nikhil Joshi
Assignee: Thomas Diesler
This is with reference to thread on community forum
http://community.jboss.org/thread/172622
I am trying to access a OSGI Bundle from a Web Application. Where getting following error.
12:16:04,070 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/MyRestService].[SimpleClientServlet]] (http--127.0.0.1-8080-1) Allocate exception for servlet SimpleClientServlet: java.lang.IllegalArgumentException: Can not set org.osgi.framework.BundleContext field sample.SimpleClientServlet.context to org.jboss.osgi.framework.internal.SystemBundleContext
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source) [:1.6.0_25]
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source) [:1.6.0_25]
at sun.reflect.UnsafeObjectFieldAccessorImpl.set(Unknown Source) [:1.6.0_25]
at java.lang.reflect.Field.set(Unknown Source) [:1.6.0_25]
--
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] (AS7-2068) Cannot use other JMS provider deployed as resource adapter (RAR)
by Robert Stupp (Created) (JIRA)
Cannot use other JMS provider deployed as resource adapter (RAR)
----------------------------------------------------------------
Key: AS7-2068
URL: https://issues.jboss.org/browse/AS7-2068
Project: Application Server 7
Issue Type: Bug
Components: EJB
Affects Versions: 7.0.2.Final
Reporter: Robert Stupp
Assignee: Carlo de Wolf
I've configured JBoss AS 7.0.1.Final without messaging subsystem.
A resource adapter (sonicmq-jms-ra.rar) has been successfully deployed to JBoss - JNDI references exists.
{noformat}
[org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "sonicmq-jms-ra.rar"
[org.jboss.as.connector.metadata.deployment.ResourceAdapterXmlDeploymentService$AS7RaXmlDeployer] (MSC service thread 1-1) Registered connection factory java:/ConnectionFactory
[org.jboss.as.connector.metadata.deployment.ResourceAdapterXmlDeploymentService$AS7RaXmlDeployer] (MSC service thread 1-1) IJ020002: Deployed: file:/E:/jboss/jboss-as-7.0.2.Final/standalone/tmp/vfs/tempffbd2948ba3869df/sonicmq-jms-ra.rar-14d86ac7606f92a7/contents/
[org.jboss.as.deployment.connector] (MSC service thread 1-1) Starting sevice service jboss.ra.sonicmq-jms-ra_1
{noformat}
But it is not possible to use that JMS-RA for MessageDrivenBeans.
I tried to add
{noformat}
<subsystem xmlns="urn:jboss:domain:ejb3:1.1" lite="false">
<mdb>
<resource-adapter-ref resource-adapter-name="sonicmq-jms-ra"/>
</mdb>
{noformat}
and
{noformat}
<subsystem xmlns="urn:jboss:domain:ejb3:1.1" lite="false">
<mdb>
<resource-adapter-ref resource-adapter-name="deployment.sonicmq-jms-ra"/>
</mdb>
{noformat}
Both fail with either
{noformat}
ServiceNotFoundException: Service service sonicmq-jms-ra not found
{noformat}
or
{noformat}
IllegalStateException: No resource adapter registered with resource adapter name deployment.sonicmq-jms-ra
{noformat}
I tried to figure out how hornetq-ra is added as a resource adapter to JBoss 7 (wanted to add sonicmq-jms-ra as a subsystem/service) - but there's no documentation how to do that.
It would be nice to have a solution/workaround quickly - because my evalutation copy will expire in a few days.
--
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, 9 months
[JBoss JIRA] Created: (AS7-1607) Investigate: can we move logging dependencies out of property org.jboss.osgi.system.modules?
by David Bosschaert (JIRA)
Investigate: can we move logging dependencies out of property org.jboss.osgi.system.modules?
--------------------------------------------------------------------------------------------
Key: AS7-1607
URL: https://issues.jboss.org/browse/AS7-1607
Project: Application Server 7
Issue Type: Task
Components: OSGi
Affects Versions: 7.0.1.Final, 7.0.0.Final
Reporter: David Bosschaert
Assignee: David Bosschaert
Priority: Minor
Currently the org.jboss.osgi.system.modules property contains a number of logging components:
{code:xml}<property name="org.jboss.osgi.system.modules">
org.apache.commons.logging,
org.apache.log4j,
org.jboss.as.osgi,
org.slf4j,
</property>{code}
It would be good to see if we can move these modules to the <modules> section of the configuration and load them as proper modules rather than having them merged with the system module.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months