[JBoss JIRA] (AS7-3860) HHH00389:Unsuccessful: drop sequence hibernate_sequence
by Robb Greathouse (JIRA)
[ https://issues.jboss.org/browse/AS7-3860?page=com.atlassian.jira.plugin.s... ]
Robb Greathouse commented on AS7-3860:
--------------------------------------
I am assuming that the underlying database is Hypersonic? If the persistence.xml or hibernate.cfg.xml file is configured for create-drop
<property name="hbm2ddl.auto">create-drop</property>
Then the entire database will be dropped and re-created. This will resolve the sequence problem. I understand that this is not as "clean" as just dropping a table would seem to be. However, just dropping a table is not a simple in a database as it is often portrayed. For example if the table that is dropped is a foreign key in other tables this can cause lots of problems with referential integrity all over the place. Different databases handle this in different ways. Some will block the dropping of the table and the sequence in order to prevent corruption.
I don't know how Hypersonic works on this level. But from the error message I would guess that the deletion of the table is not complete. The sequence is either not being deleted or more likely is being left in an unusable state, so that a new sequence can not be created.
Dropping and recreating tables is considered a bad practice during normal operations. What is the use case for doing this?
Best practice would be to use a view rather than a table, if it is a temp table.
If it is done during development, you probably want to do a complete database drop and recreate to avoid incomplete drops. Especially, if you are using a database that is not full enterprise as a complete clean-up may not be done.
> HHH00389:Unsuccessful: drop sequence hibernate_sequence
> -------------------------------------------------------
>
> Key: AS7-3860
> URL: https://issues.jboss.org/browse/AS7-3860
> Project: Application Server 7
> Issue Type: Bug
> Components: JPA / Hibernate
> Reporter: Burr Sutter
> Attachments: html5_deploy_server.log
>
>
> Steps
> - Using JBoss Tools nightly http://download.jboss.org/jbosstools/builds/nightly/trunk/latest/all/repo/
> - Pick HTML 5 from JBoss Central
> - Add/Remove to deploy to JBoss Server
> Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-145]
> Server.log section attached
--
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, 1 month
[JBoss JIRA] (AS7-4220) CLONE - Typo in CLI for the read-resource-description for the deployment scanner subsystem
by Alexey Loubyansky (JIRA)
[ https://issues.jboss.org/browse/AS7-4220?page=com.atlassian.jira.plugin.s... ]
Alexey Loubyansky moved JBPAPP-8488 to AS7-4220:
------------------------------------------------
Project: Application Server 7 (was: JBoss Enterprise Application Platform)
Key: AS7-4220 (was: JBPAPP-8488)
Workflow: GIT Pull Request workflow (was: jira)
Affects Version/s: 7.1.1.Final
(was: EAP 6.0.0 ER 3_Beta1)
Security: (was: JBoss Internal)
Docs QE Status: (was: NEW)
> CLONE - Typo in CLI for the read-resource-description for the deployment scanner subsystem
> ------------------------------------------------------------------------------------------
>
> Key: AS7-4220
> URL: https://issues.jboss.org/browse/AS7-4220
> Project: Application Server 7
> Issue Type: Bug
> Affects Versions: 7.1.1.Final
> Reporter: Dave Ryan
> Assignee: Alexey Loubyansky
> Priority: Minor
>
> Potential typo in a description for the auto-deploy-exploded attribute of the deployment scanner. Says "zipped" where it should say "exploded". I suspect the cause is just copying and pasting the auto-deploy-zipped text but missing the "exploded" change.
> I've actually rewritten most of these descriptions in my documentation of the attributes for a reference topic. If you want to check those as potential updates, I can paste them in. I do imply assumed knowledge of boolean values to keep the sentences short.
> For example, I rewrote the auto-deployed-exploded as:
> "Allows the automatic deployment of exploded content without requiring a .dodeploy marker file. Recommended for only basic development scenarios to prevent exploded application deployment from occuring during changes by the developer or operating system."
> Was:
> "Controls whether zipped deployment content should be automatically deployed by the scanner without requiring the user to add a .dodeploy marker file. Setting this to 'true' is not recommended for anything but basic development scenarios, as there is no way to ensure that deployment will not occur in the middle of changes to the content."
--
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, 1 month
[JBoss JIRA] (AS7-4220) CLONE - Typo in CLI for the read-resource-description for the deployment scanner subsystem
by Alexey Loubyansky (JIRA)
[ https://issues.jboss.org/browse/AS7-4220?page=com.atlassian.jira.plugin.s... ]
Alexey Loubyansky updated AS7-4220:
-----------------------------------
Fix Version/s: 7.1.2.Final
Component/s: Domain Management
> CLONE - Typo in CLI for the read-resource-description for the deployment scanner subsystem
> ------------------------------------------------------------------------------------------
>
> Key: AS7-4220
> URL: https://issues.jboss.org/browse/AS7-4220
> Project: Application Server 7
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 7.1.1.Final
> Reporter: Dave Ryan
> Assignee: Alexey Loubyansky
> Priority: Minor
> Fix For: 7.1.2.Final
>
>
> Potential typo in a description for the auto-deploy-exploded attribute of the deployment scanner. Says "zipped" where it should say "exploded". I suspect the cause is just copying and pasting the auto-deploy-zipped text but missing the "exploded" change.
> I've actually rewritten most of these descriptions in my documentation of the attributes for a reference topic. If you want to check those as potential updates, I can paste them in. I do imply assumed knowledge of boolean values to keep the sentences short.
> For example, I rewrote the auto-deployed-exploded as:
> "Allows the automatic deployment of exploded content without requiring a .dodeploy marker file. Recommended for only basic development scenarios to prevent exploded application deployment from occuring during changes by the developer or operating system."
> Was:
> "Controls whether zipped deployment content should be automatically deployed by the scanner without requiring the user to add a .dodeploy marker file. Setting this to 'true' is not recommended for anything but basic development scenarios, as there is no way to ensure that deployment will not occur in the middle of changes to the content."
--
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, 1 month
[JBoss JIRA] (AS7-3880) AS7-2824 fix removes ability to specify multiple paths in ARQ modulePath config
by Brian Stansberry (JIRA)
Brian Stansberry created AS7-3880:
-------------------------------------
Summary: AS7-2824 fix removes ability to specify multiple paths in ARQ modulePath config
Key: AS7-3880
URL: https://issues.jboss.org/browse/AS7-3880
Project: Application Server 7
Issue Type: Bug
Affects Versions: 7.1.0.Final
Reporter: Brian Stansberry
Assignee: Thomas Diesler
Fix For: 7.1.1.Final
The AS7-2824 fix at https://github.com/jbossas/jboss-as/commit/cdb3b1d8f9453b1eb4ec617a83509b... adds a contract to ManagedDeployableContainer such that the ARQ config modulesPath must be a single file and must point to a directory with a sibling named "bundles". Neither seem like valid constraints for any Arquillian user who isn't interested in OSGi. See Galder's comment on AS7-2824 for how this breaks his usage.
I think the issue here was identifying which of many dirs to use as jboss.modules.dir, which if not set to a valid location will result in failure to start the OSGi subsystem? Perhaps some logic to give preference to $JBOSS_HOME/modules if that is one of the items in the modulesPath list? Failing that, use the first item and document that?
For the jboss.bundles.dir property, check for a sibling to jboss.modules.dir, if not found check for a sibling to any of the other items in the modulesPath list, if not found use $JBOSS_HOME/bundles?
--
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, 1 month