[JBoss JIRA] (JBIDE-15288) Invalid persistence.xml error when opening hibernate console for JPA 2.1 project
by Koen Aers (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15288?page=com.atlassian.jira.plugi... ]
Koen Aers resolved JBIDE-15288.
-------------------------------
Resolution: Done
> Invalid persistence.xml error when opening hibernate console for JPA 2.1 project
> --------------------------------------------------------------------------------
>
> Key: JBIDE-15288
> URL: https://issues.jboss.org/browse/JBIDE-15288
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.1.0.CR1
> Reporter: Jiri Peterka
> Assignee: Koen Aers
> Priority: Blocker
> Fix For: 4.2.0.CR1
>
>
> Error while expanding JPA project with JPA 2.1
> This works ok when JPA 2.0 is used
> {code}
> org.hibernate.console.HibernateConsoleRuntimeException: Could not create JPA based Configuration
> Could not create JPA based Configuration
> <No message>
> java.lang.reflect.InvocationTargetException
> java.lang.reflect.InvocationTargetException: <no message>
> java.lang.reflect.InvocationTargetException
> javax.persistence.PersistenceException: Invalid persistence.xml.
> Error parsing XML (line-1 : column -1): cvc-elt.1: Cannot find the declaration of element 'persistence'.
> Invalid persistence.xml.
> Error parsing XML (line-1 : column -1): cvc-elt.1: Cannot find the declaration of element 'persistence'.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18174) cdi.ui tests failure
by Alexey Kazakov (JIRA)
Alexey Kazakov created JBIDE-18174:
--------------------------------------
Summary: cdi.ui tests failure
Key: JBIDE-18174
URL: https://issues.jboss.org/browse/JBIDE-18174
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi
Affects Versions: 4.2.0.CR1
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 4.2.0.CR1
{code}
Failed tests: testCAELProposalFilteringInXHTML(org.jboss.tools.cdi.ui.test.CAELProposalFilteringTest): Content Assistant returned no proposals
testCAELProposalFilteringInJSP(org.jboss.tools.cdi.ui.test.CAELProposalFilteringTest): Content Assistant returned no proposals
testEL(org.jboss.tools.cdi.ui.test.CATest): Content Assistant returned no proposals
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18141) Include latest Tern 0.5.0.201408272110 into jbosstools TP
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18141?page=com.atlassian.jira.plugi... ]
Max Rydahl Andersen commented on JBIDE-18141:
---------------------------------------------
nice catch [~nickboldt] - and this is why the TP process is important ;)
+1 on this for good measure ;)
> Include latest Tern 0.5.0.201408272110 into jbosstools TP
> ---------------------------------------------------------
>
> Key: JBIDE-18141
> URL: https://issues.jboss.org/browse/JBIDE-18141
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: target-platform
> Affects Versions: 4.2.0.CR1
> Reporter: Victor Rubezhny
> Assignee: Max Rydahl Andersen
> Priority: Blocker
> Labels: new_and_noteworthy
> Fix For: 4.2.0.CR1
>
>
> *Need to switch jst.jsdt to the latest tested Tern v.0.5.0. It contains the important fixes required for JBIDE-17992:
> *Reason:*
> jbosstools-jst is going to provide integration between torn.java and jsdt. torn.java is going to be used to improve JavaScript support
> *License and owner:*
> - Root License is EPL. Owner is Angelo ZERR.
> -- core
> --- org.json.simple - EPL (included into torn-feature below)
> ---- lib/json-simple-1.1.1.jar - Apache License 2.0 (see http://www.apache.org/licenses/LICENSE-2.0.txt)
> --- org.mozilla.javascript
> ---- lib/js.jar - Mozilla Public License Version 2.0 (see http://mozilla.org/MPL/2.0/)
> --- tern.core - EPL (included into tern-feature below)
> --- tern.server.nodejs - EPL (included into tern-server-nodejs-feature below)
> ---- tern.server.nodejs/node_modules/tern/LICENSE
> ----- node_modules/acorn/LICENSE
> ------ node_modules/codemirror/LICENSE
> ------ node_modules/glob/LICENSE
> ------- node_modules/inherits/LICENSE
> ------ node_modules/minimatch/LICENSE
> ------- node_modules/lru-cache/LICENSE
> ------- node_modules/sigmund/LICENSE
> ----- node_modules/typescript/LICENSE - Apache License v. 2.0
> --- tern.eclipse.ide.server.nodejs.ui - EPL (included into tern-server-nodejs-feature below)
> -- eclipse
> --- tern.eclipse.ide.core - EPL (included into tern-feature below)
> --- tern.eclipse.ide.jsdt - EPL (included into tern-jsdt-feature below)
> --- tern.eclipse.ide.server.nodejs.core - EPL (included into tern-server-nodejs-feature below)
> --- tern.eclipse.ide.server.nodejs.ui - EPL (included into tern-server-nodejs-feature below)
> --- tern.eclipse.ide.server.nodejs.embed.linux.gtk.x86 - Supposed to be EPL but it is not included anywhere yet
> ---- node-v0.10.22-linux-x86.zip has several LICENSE files inside (download)
> ----- LICENSE
> ----- lib/node_modules/npm/LICENSE - The Artistic License 2.0
> ----- lib/node_modules/npm/node_modules/*/LICENSE
> --- tern.eclipse.ide.server.nodejs.embed.linux.gtk.x86_64 - EPL (included into tern.eclipse.linux.gtk.x86.feature below)
> ---- node-v0.10.22-linux-x86_64.zip has several LICENSE files inside (download)
> ----- LICENSE
> ----- lib/node_modules/npm/LICENSE - The Artistic License 2.0
> ----- lib/node_modules/npm/node_modules/*/LICENSE
> --- tern.eclipse.ide.server.nodejs.embed.macosx.cocoa.x86_64 - EPL (included into tern.eclipse.macosx.cocoa.x86_64.feature below)
> ---- node-v0.10.22-macosx-x86_64.zip has several LICENSE files inside (download)
> ----- LICENSE
> ----- lib/node_modules/npm - The Artistic License 2.0
> ----- lib/node_modules/npm/node_modules/*/LICENSE
> --- tern.eclipse.ide.server.nodejs.embed.win32.win32.x86 - EPL (include into tern.eclipse.win32.win32.x86.feature below)
> ---- node-v0.10.22-win32-x86.zip has no LICENSE files inside (download)
> ----- node-v0.10.22-win32-x86/node.exe - see http://nodejs.org/download/ for licensing information for node.exe.
> --- tern.eclipse.ide.server.nodejs.embed.win32.win32.x86_64 - EPL (include into tern.eclipse.win32.win32.x86.feature below)
> ---- node-v0.10.22-win32-x86_64.zip has no LICENSE files inside (download)
> ----- node-v0.10.22-win32-x86_64/node.exe - see http://nodejs.org/download/ for licensing information for node.exe.
> --- tern.eclipse.ide.tools.core - EPL (included into tern.eclipse.ide.tools.feature below)
> --- tern.eclipse.ide.tools.ui - EPL (included into tern.eclipse.ide.tools.feature below)
> --- tern.eclipse.ide.ui - EPL (included into tern-feature below)
> --- tern.eclipse - EPL (included into tern-feature below)
> -- update-site
> --- tern-feature - EPL (see licens.httml)
> --- tern-jsdt-feature - EPL (see licens.httml)
> --- tern-server-nodejs-feature - EPL (see licens.httml)
> --- tern.eclipse.ide.tools.feature - EPL (see plicense.html)
> --- tern.eclipse.linux.gtk.x86_64.feature - EPL (see license.html)
> --- tern.eclipse.macosx.cocoa.x86_64.feature - EPL (see license.html)
> --- tern.eclipse.win32.win32.x86.feature - EPL (see license.html)
> *Original repo:* http://oss.opensagres.fr/tern.repository/0.5.0-SNAPSHOT/
> *JBoss mirror:* http://download.jboss.org/jbosstools/updates/requirements/tern/0.5.0.2014...
> *Sources:* https://github.com/angelozerr/tern.java
> *Affected projects:* jbosstools-jst, jbosstools-aerogear
> *Include in JBDS:* No
> *Type of dependency:* distribution
> *List of bundles added/removed:*
> {code}
> mistria@mistria--rh:~/git/jbosstools-target-platforms/jbosstools/multiple$ ~/git/p2diff/org.eclipse.equinox.p2.example.p2diff.packaging/target/products/org.eclipse.equinox.p2.example.p2diff.product/linux/gtk/x86_64/p2diff http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.4... file:$(pwd)/target/jbosstools-multiple.target.repo/
> < tern.eclipse.ide.server.nodejs.embed.linux.gtk.x86_64 [0.4.0.201408101311]
> < tern.eclipse.ide.tools.core [0.4.0.201408101311]
> < tern.eclipse.ide.tools.feature.feature.group [0.4.0.201408101311]
> < tern-jsdt-feature.feature.group [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.embed.feature.jar [0.4.0.201408101311]
> < tern.server.nodejs [0.4.0.201408101311]
> < tern-feature.feature.group [0.4.0.201408101311]
> < tern.core [0.4.0.201408101311]
> < tern.eclipse.ide.jsdt [0.4.0.201408101311]
> < tern-jsdt-feature.feature.jar [0.4.0.201408101311]
> < tern.eclipse.ide.ui [0.4.0.201408101311]
> < tern.eclipse.ide.tools.feature.feature.jar [0.4.0.201408101311]
> < tern-server-nodejs-feature.feature.jar [0.4.0.201408101311]
> < tern-feature.feature.jar [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.embed.linux.gtk.x86 [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.core [0.4.0.201408101311]
> < tern.eclipse.ide.tools.ui [0.4.0.201408101311]
> < tern-server-nodejs-feature.feature.group [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.ui [0.4.0.201408101311]
> < tern.eclipse.ide.core [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.embed.feature.group [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.embed.macosx.cocoa.x86_64 [0.4.0.201408101311]
> < tern.eclipse [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.embed.win32.win32.x86_64 [0.4.0.201408101311]
> < tern.eclipse.ide.server.nodejs.embed.win32.win32.x86 [0.4.0.201408101311]
> > tern.eclipse.ide.tools.feature.feature.group [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.embed.linux.gtk.x86_64 [0.5.0.201408272110]
> > tern.eclipse.ide.tools.core [0.5.0.201408272110]
> > tern-jsdt-feature.feature.group [0.5.0.201408272110]
> > tern-feature.feature.group [0.5.0.201408272110]
> > tern.server.nodejs [0.5.0.201408272110]
> > tern.core [0.5.0.201408272110]
> > tern.eclipse.ide.jsdt [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.embed.feature.jar [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.embed.feature.group [0.5.0.201408272110]
> > tern.eclipse [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.embed.macosx.cocoa.x86_64 [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.embed.win32.win32.x86_64 [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.embed.win32.win32.x86 [0.5.0.201408272110]
> > tern.eclipse.ide.tools.ui [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.ui [0.5.0.201408272110]
> > tern-server-nodejs-feature.feature.group [0.5.0.201408272110]
> > tern.eclipse.ide.core [0.5.0.201408272110]
> > tern-jsdt-feature.feature.jar [0.5.0.201408272110]
> > tern.eclipse.ide.tools.feature.feature.jar [0.5.0.201408272110]
> > tern-server-nodejs-feature.feature.jar [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.core [0.5.0.201408272110]
> > tern.eclipse.ide.ui [0.5.0.201408272110]
> > tern-feature.feature.jar [0.5.0.201408272110]
> > tern.eclipse.ide.server.nodejs.embed.linux.gtk.x86 [0.5.0.201408272110]
> === Summary ===
> http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.4... contains 25 unique IUs
> file:/home/mistria/git/jbosstools-target-platforms/jbosstools/multiple/target/jbosstools-multiple.target.repo/ contains 25 unique IUs
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-15577) Hibernate Console problem while creating session factory
by Luke Maurer (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15577?page=com.atlassian.jira.plugi... ]
Luke Maurer commented on JBIDE-15577:
-------------------------------------
The nightly from http://download.jboss.org/jbosstools/updates/nightly/luna/latest/all/repo/ gives me a ClassNotFoundException for org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory when I try to expand the Session Factory node. It's got some other issues, too, though (none of the icons on buttons or tree nodes are loading, and it breaks if hibernate.cfg.xml isn't at the root of the classpath), so it's hard to say exactly what's going on.
> Hibernate Console problem while creating session factory
> --------------------------------------------------------
>
> Key: JBIDE-15577
> URL: https://issues.jboss.org/browse/JBIDE-15577
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.2.x
> Environment: Eclipse 4.3 (kepler), hibernate tools 3.7.0, Hibernate 4.2.2, jdk1.6.0.38
> Reporter: Guillaume JOUVELOT
> Assignee: Koen Aers
> Fix For: 4.2.0.CR1
>
>
> When I try to use hibernate console in order to test HQL queries I've the following error message from eclipse :
> {color:red}java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;{color}
> And the eclipse log file :
> !ENTRY org.hibernate.eclipse.console 4 4 2013-09-27 15:57:20.198
> !MESSAGE Problems while creating sessionfactory
> !SUBENTRY 1 org.hibernate.eclipse.console 4 150 2013-09-27 15:57:20.198
> !MESSAGE java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
> !STACK 0
> java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
> at org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider.<clinit>(C3P0ConnectionProvider.java:58)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> at java.lang.reflect.Constructor.newInstance(Unknown Source)
> at java.lang.Class.newInstance0(Unknown Source)
> at java.lang.Class.newInstance(Unknown Source)
> at org.hibernate.connection.ConnectionProviderFactory.initializeConnectionProviderFromConfig(ConnectionProviderFactory.java:174)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:102)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
> at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:438)
> at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:91)
> at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2163)
> at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2159)
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1383)
> at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:954)
> at org.hibernate.console.ConsoleConfiguration$5.execute(ConsoleConfiguration.java:278)
> at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
> at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:107)
> at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:273)
> at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:43)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
> at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> !SUBENTRY 2 org.hibernate.eclipse.console 4 150 2013-09-27 15:57:20.198
> !MESSAGE java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
> !STACK 0
> java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
> at org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider.<clinit>(C3P0ConnectionProvider.java:58)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> at java.lang.reflect.Constructor.newInstance(Unknown Source)
> at java.lang.Class.newInstance0(Unknown Source)
> at java.lang.Class.newInstance(Unknown Source)
> at org.hibernate.connection.ConnectionProviderFactory.initializeConnectionProviderFromConfig(ConnectionProviderFactory.java:174)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:102)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
> at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:438)
> at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:91)
> at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2163)
> at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2159)
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1383)
> at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:954)
> at org.hibernate.console.ConsoleConfiguration$5.execute(ConsoleConfiguration.java:278)
> at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
> at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:107)
> at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:273)
> at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:43)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
> at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> I've well configured my session factory.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months