[JBoss JIRA] (AS7-4776) Error during (re) adding connection factory using CLI
by Stefano Maestri (JIRA)
Stefano Maestri created AS7-4776:
------------------------------------
Summary: Error during (re) adding connection factory using CLI
Key: AS7-4776
URL: https://issues.jboss.org/browse/AS7-4776
Project: Application Server 7
Issue Type: Bug
Components: JCA
Reporter: Stefano Maestri
Assignee: Stefano Maestri
Priority: Critical
Fix For: 7.1.3.Final (EAP)
/subsystem=resource-adapters/resource-adapter=wsDS:add(archive=teiid-connector-ws.rar, transaction-support=NoTransaction)
/subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS:add(jndi-name=java:/wsDS, class-name=org.teiid.resource.adapter.ws.WSManagedConnectionFactory, enabled=true, use-java-context=true)
/subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS/config-properties=EndPoint:add(value={end_point})
/subsystem=resource-adapters/resource-adapter=wsDS:activate
/subsystem=resource-adapters/resource-adapter=wsDS:remove
20:48:02,169 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.ra.deployment."teiid-connector-ws.rar_1": org.jboss.msc.service.StartException in service jboss.ra.deployment."teiid-connector-ws.rar_1": org.jboss.jca.core.spi.mdr.NotFoundException: IJ000855: teiid-connector-ws isn't registered
at org.jboss.as.connector.metadata.deployment.ResourceAdapterXmlDeploymentService.start(ResourceAdapterXmlDeploymentService.java:127)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_26]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_26]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]
Caused by: org.jboss.jca.core.spi.mdr.NotFoundException: IJ000855: teiid-connector-ws isn't registered
at org.jboss.jca.core.mdr.SimpleMetadataRepository.getResourceAdapter(SimpleMetadataRepository.java:150)
at org.jboss.as.connector.metadata.deployment.ResourceAdapterXmlDeploymentService.start(ResourceAdapterXmlDeploymentService.java:87)
... 5 more
The problem is present when there is only one RA definitions (added and activated explicitly by :activate operation after deployment of rar) and it's removed.
--
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, 2 months
[JBoss JIRA] (AS7-4761) CMR relation lost within creating transaction
by Klaus Benary (JIRA)
Klaus Benary created AS7-4761:
---------------------------------
Summary: CMR relation lost within creating transaction
Key: AS7-4761
URL: https://issues.jboss.org/browse/AS7-4761
Project: Application Server 7
Issue Type: Bug
Components: EJB
Affects Versions: 7.1.2.Final (EAP)
Environment: Windows 7 Pro SP1 (64bit); JDK 1.6.0_31 (64bit); Oracle Database 11g Release 11.1.0.6.0 - 64bit Production; AS71.1Final / AS71.2 latest build
Reporter: Klaus Benary
Assignee: jaikiran pai
When creating a CMR related parent *and* child bean in the same transaction, the related child is not visible if it is accessed immediately after creation. After such an immediate access, the relation remains inaccessible within the same transaction even when re-reading the parent by PK.
In a new transaction the relation is fine.
--
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, 2 months
[JBoss JIRA] (JBRULES-3450) Planner: Terminate Solver as soon as a feasible score is found
by Geoffrey De Smet (JIRA)
Geoffrey De Smet created JBRULES-3450:
-----------------------------------------
Summary: Planner: Terminate Solver as soon as a feasible score is found
Key: JBRULES-3450
URL: https://issues.jboss.org/browse/JBRULES-3450
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-planner
Reporter: Geoffrey De Smet
Priority: Minor
[This is a newbie contributor issue: it's easy to solve for new contributors]
HardAndSoftScore has a method isFeasible(), but it's currently hard to specify that a solver should terminate when a feasible score is attained, because you have to use Integer.MIN_VALUE:
{code}
<termination>
<scoreAttained>0hard/-2147483648soft</scoreAttained>
<termination>
{code}
Adjust org.drools.planner.config.termination.TerminationConfig
to support this:
{code}
<termination>
<hardAndSoftScoreFeasible>true</hardAndSoftScoreFeasible>
<termination>
{code}
And copy org.drools.planner.core.termination.ScoreAttainedTermination
to org.drools.planner.core.termination.HardAndSoftScoreFeasibleTermination
to implement it.
Note: the Score will need to be cast to HardAndSoftScore.
Bonus points: write a unit test for it (for inspiration, look at PlanningEntityTabuAcceptorTest).
--
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, 2 months
[JBoss JIRA] (JBEE-112) jboss-javaee-web Leaking Dependency to Nexus
by Andrew Rubinger (JIRA)
Andrew Rubinger created JBEE-112:
------------------------------------
Summary: jboss-javaee-web Leaking Dependency to Nexus
Key: JBEE-112
URL: https://issues.jboss.org/browse/JBEE-112
Project: JBoss JavaEE Spec APIs
Issue Type: Bug
Reporter: Andrew Rubinger
Assignee: Paul Gier
org.jboss.spec:jboss-javaee-web-6.0 (which is propagated to Maven Central) is leaking a dependency to xalan:xalan:2.7.1.jbossorg-2, which is not present in Maven Central.
{code}[DEBUG] org.ocpsoft.rewrite:rewrite-parent:pom:1.0.6-SNAPSHOT
[DEBUG] org.jboss.spec:jboss-javaee-web-6.0:pom:3.0.1.Final:test
[DEBUG] xalan:xalan:jar:2.7.1.jbossorg-2:test{code}
Either fix to the correct dependency (something in Central) or push the dependent artifact to Central as well.
--
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, 2 months
[JBoss JIRA] (AS7-4587) Remoting subsystem is not consistent with XSD, and not fully exposed in Management API
by Misty Stanley-Jones (JIRA)
Misty Stanley-Jones created AS7-4587:
----------------------------------------
Summary: Remoting subsystem is not consistent with XSD, and not fully exposed in Management API
Key: AS7-4587
URL: https://issues.jboss.org/browse/AS7-4587
Project: Application Server 7
Issue Type: Bug
Components: Remoting
Affects Versions: 7.1.1.Final
Reporter: Misty Stanley-Jones
Assignee: David Lloyd
1. The XSD says that at the authentication-provider is an element: <authentication-provider name="myprovider" />
However, the Management GUI will only change it with a command like the following, which is operating on an attribute:
/profile=default/subsystem=remoting/connector=remoting-connector/:write-attribute(name=authentication-provider,value=myProvider)
2. The <sasl> element of the <connector> element of the remoting subsystem is not exposed in the Management API. I cannot find a way to add it to the CLI at all. Here is the configuration which I pasted into my domain.xml to get it working.
<sasl>
<include-mechanisms value="GSSAPI PLAIN DIGEST-MD5" />
<qop value="auth" />
<strength value="medium" />
<reuse-session value="false" />
<server-auth value="false" />
<policy>
<forward-secrecy value="true" />
<no-active value="false" />
<no-anonymous value="false" />
<no-dictionary value="true" />
<no-plain-text value="false" />
<pass-credentials value="true" />
</policy>
<properties>
<property name="myprop1" value="1" />
<property name="myprop2" value="2" />
</properties>
</sasl>
3. Individual properties under the <properties> elements of <connector> and <sasl> will not allow me to have only a name, but requires a value as well.
Here is an entire subsystem configuration which seems to work (at least the server starts). I do not have the infrastructure of skills to test it thoroughly.
<subsystem xmlns="urn:jboss:domain:remoting:1.1">
<connector name="remoting-connector" socket-binding="remoting" \
security-realm="ApplicationRealm">
<authentication-provider name="myprovider"/>
<properties>
<property name="myprop3" value="baz"/>
</properties>
<sasl>
<include-mechanisms value="GSSAPI PLAIN DIGEST-MD5"/>
<qop value="auth"/>
<strength value="medium"/>
<server-auth value="false"/>
<reuse-session value="false"/>
<policy>
<forward-secrecy value="true"/>
<no-active value="false"/>
<no-anonymous value="false"/>
<no-dictionary value="true"/>
<no-plain-text value="false"/>
<pass-credentials value="true"/>
</policy>
<properties>
<property name="myprop1" value="1"/>
<property name="myprop2" value="2"/>
</properties>
</sasl>
</connector>
<outbound-connections>
<outbound-connection name="my-outbound-connection" uri="http://myhost:7777/"/>
<remote-outbound-connection name="my-remote-connection" outbound-socket-binding-ref="my-remote-socket" username="myUser" security-realm="myRealm"/>
<local-outbound-connection name="myLocalConnection" outbound-socket-binding-ref="my-outbound-socket"/>
</outbound-connections>
</subsystem>
--
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, 2 months