[JBoss JIRA] (WFCORE-1553) data.dir not cleaned up correctly
by Heiko Braun (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1553?page=com.atlassian.jira.plugi... ]
Heiko Braun moved SWARM-459 to WFCORE-1553:
-------------------------------------------
Project: WildFly Core (was: WildFly Swarm)
Key: WFCORE-1553 (was: SWARM-459)
Component/s: Server
(was: core)
> data.dir not cleaned up correctly
> ---------------------------------
>
> Key: WFCORE-1553
> URL: https://issues.jboss.org/browse/WFCORE-1553
> Project: WildFly Core
> Issue Type: Bug
> Components: Server
> Reporter: Heiko Braun
>
> When running the examples and shutting down the server, certain files remain in the tmp.dir.
> Steps to reproduce:
> 1) cd examples; mvn install
> 2) java -Djava.io.tmpdir=servlet/servlet-cdi/target/test-tmp -jar servlet/servlet-cdi/target/example-servlet-cdi-swarm.jar
> 3) du -ch servlet/servlet-cdi/target/test-tmp
> This leaves us with:
> {noformat}
> hbraun:~/dev/prj/wfs/wildfly-swarm-examples (1.0.0.Beta8)$ du -ch servlet/servlet-cdi/target/test-tmp
> 4.0K servlet/servlet-cdi/target/test-tmp/wildfly-self-contained7234196008976901496.d/kernel
> 0B servlet/servlet-cdi/target/test-tmp/wildfly-self-contained7234196008976901496.d/tx-object-store/ShadowNoFileLockStore/defaultStore
> 0B servlet/servlet-cdi/target/test-tmp/wildfly-self-contained7234196008976901496.d/tx-object-store/ShadowNoFileLockStore
> 0B servlet/servlet-cdi/target/test-tmp/wildfly-self-contained7234196008976901496.d/tx-object-store
> 4.0K servlet/servlet-cdi/target/test-tmp/wildfly-self-contained7234196008976901496.d
> 4.0K servlet/servlet-cdi/target/test-tmp
> 4.0K total
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (WFCORE-1553) data.dir not cleaned up correctly
by Heiko Braun (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1553?page=com.atlassian.jira.plugi... ]
Heiko Braun commented on WFCORE-1553:
-------------------------------------
[~brian.stansberry] is core the right place for this?
> data.dir not cleaned up correctly
> ---------------------------------
>
> Key: WFCORE-1553
> URL: https://issues.jboss.org/browse/WFCORE-1553
> Project: WildFly Core
> Issue Type: Bug
> Components: Server
> Reporter: Heiko Braun
>
> When running the examples and shutting down the server, certain files remain in the tmp.dir.
> Steps to reproduce:
> 1) cd examples; mvn install
> 2) java -Djava.io.tmpdir=servlet/servlet-cdi/target/test-tmp -jar servlet/servlet-cdi/target/example-servlet-cdi-swarm.jar
> 3) du -ch servlet/servlet-cdi/target/test-tmp
> This leaves us with:
> {noformat}
> hbraun:~/dev/prj/wfs/wildfly-swarm-examples (1.0.0.Beta8)$ du -ch servlet/servlet-cdi/target/test-tmp
> 4.0K servlet/servlet-cdi/target/test-tmp/wildfly-self-contained7234196008976901496.d/kernel
> 0B servlet/servlet-cdi/target/test-tmp/wildfly-self-contained7234196008976901496.d/tx-object-store/ShadowNoFileLockStore/defaultStore
> 0B servlet/servlet-cdi/target/test-tmp/wildfly-self-contained7234196008976901496.d/tx-object-store/ShadowNoFileLockStore
> 0B servlet/servlet-cdi/target/test-tmp/wildfly-self-contained7234196008976901496.d/tx-object-store
> 4.0K servlet/servlet-cdi/target/test-tmp/wildfly-self-contained7234196008976901496.d
> 4.0K servlet/servlet-cdi/target/test-tmp
> 4.0K total
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (WFLY-6599) JDBC_PING can't use a JNDI database connection because it is closed on shutdown
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-6599?page=com.atlassian.jira.plugin.... ]
Radoslav Husar commented on WFLY-6599:
--------------------------------------
See JGRP-2063 for changes that need to be done in JGroups directly.
> JDBC_PING can't use a JNDI database connection because it is closed on shutdown
> -------------------------------------------------------------------------------
>
> Key: WFLY-6599
> URL: https://issues.jboss.org/browse/WFLY-6599
> Project: WildFly
> Issue Type: Feature Request
> Components: Clustering
> Affects Versions: 10.0.0.Final
> Reporter: Matthew Casperson
> Assignee: Radoslav Husar
>
> If you configure the JDBC_PING protocol in JGroups to use a datasource provided by WildFly via the *datasource_jndi_name* setting, you'll get the following exception when WildFly is shutdown:
> {code}
> [Server:main-server] 2016-05-10 11:05:45+1000 ERROR [[org.jgroups.protocols.JDBC_PING]] [[MSC service thread 1-4]] Could not open connection to database: java.sql.SQLException: javax.resource.ResourceException: IJ000470: You are trying to use a connection factory that has been shut down: java:/comp/env/jdbc/jgroups
> [Server:main-server] at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:146)
> [Server:main-server] at org.jboss.as.connector.subsystems.datasources.WildFlyDataSource.getConnection(WildFlyDataSource.java:66)
> [Server:main-server] at org.jgroups.protocols.JDBC_PING.getConnection(JDBC_PING.java:348)
> [Server:main-server] at org.jgroups.protocols.JDBC_PING.delete(JDBC_PING.java:379)
> [Server:main-server] at org.jgroups.protocols.JDBC_PING.deleteSelf(JDBC_PING.java:395)
> [Server:main-server] at org.jgroups.protocols.JDBC_PING.stop(JDBC_PING.java:144)
> [Server:main-server] at org.jgroups.stack.ProtocolStack.stopStack(ProtocolStack.java:1015)
> [Server:main-server] at org.jgroups.JChannel.stopStack(JChannel.java:1002)
> [Server:main-server] at org.jgroups.JChannel.disconnect(JChannel.java:373)
> [Server:main-server] at org.wildfly.clustering.jgroups.spi.service.ChannelConnectorBuilder.stop(ChannelConnectorBuilder.java:103)
> [Server:main-server] at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056)
> [Server:main-server] at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017)
> [Server:main-server] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [Server:main-server] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [Server:main-server] at java.lang.Thread.run(Thread.java:745)
> [Server:main-server] Caused by: javax.resource.ResourceException: IJ000470: You are trying to use a connection factory that has been shut down: java:/comp/env/jdbc/jgroups
> [Server:main-server] at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:735)
> [Server:main-server] at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:138)
> [Server:main-server] ... 14 more
> {code}
> The solution is to configure the database connection directly, but then it seems that you loose the ability to use features like database connection validation, reconnection and the other settings provided by a WildFly datasource the improve the reliability of a database connection.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (WFCORE-1481) list-add operation doesn't work on login-modules attribute
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1481?page=com.atlassian.jira.plugi... ]
Brian Stansberry commented on WFCORE-1481:
------------------------------------------
I closed the PR I mentioned in my last comment. I get what the test is doing and it's not contrived and not mistaken. It's just validating that a normal Storage.CONFIGURATION attribute with a handler that updates the runtime works properly, all the way through to updating the runtime.
> list-add operation doesn't work on login-modules attribute
> ----------------------------------------------------------
>
> Key: WFCORE-1481
> URL: https://issues.jboss.org/browse/WFCORE-1481
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 2.1.0.Final
> Reporter: Bartosz Spyrko-Śmietanko
> Assignee: Tomas Hofman
>
> Executing list-add operation on login-modules results in the modules being replaced instead of appending new module.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months