[JBoss JIRA] (JBIDE-18148) problem with Hibernate package-info.java TypeDefs
by Koen Aers (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18148?page=com.atlassian.jira.plugi... ]
Koen Aers resolved JBIDE-18148.
-------------------------------
Resolution: Out of Date
> problem with Hibernate package-info.java TypeDefs
> -------------------------------------------------
>
> Key: JBIDE-18148
> URL: https://issues.jboss.org/browse/JBIDE-18148
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Environment: OSX 10.9.4
> Reporter: Jeffrey Simpson
> Assignee: Koen Aers
> Fix For: 4.2.0.CR1
>
> Attachments: eclipseErrors.log, TypeDefError.png, TypeDefError.zip
>
>
> I just tried out JBoss Developer Studio 8.0.0.Beta3 and it reports all of my Hibernate types that are defined in a package-info as not being found. I get "Type "common-big-decimal" could not be found" where I use it to define an attribute on an entity.
> Here is my Package-info.java
>
> @org.hibernate.annotations.TypeDefs (
>
> {
> @org.hibernate.annotations.TypeDef(name="yfu_boolean", typeClass=org.yfu.util.hibernate.TrueFalseBooleanUserType.class),
> @org.hibernate.annotations.TypeDef(name="integer_date", typeClass=org.yfu.util.hibernate.IntegerDateUserType.class),
> @org.hibernate.annotations.TypeDef(name="integer_local_date", typeClass=org.yfu.util.hibernate.IntegerLocalDateUserType.class),
> @org.hibernate.annotations.TypeDef(name="common_big_decimal", typeClass=org.yfu.util.hibernate.NullableBigDecimalUserType.class),
> @org.hibernate.annotations.TypeDef(name="common_long", typeClass=org.yfu.util.hibernate.NullableLongUserType.class),
> @org.hibernate.annotations.TypeDef(name="common_integer", typeClass=org.yfu.util.hibernate.NullableIntegerUserType.class),
> @org.hibernate.annotations.TypeDef(name="common_string", typeClass=org.yfu.util.hibernate.NullableStringUserType.class),
> @org.hibernate.annotations.TypeDef(name="common_tf_boolean", typeClass=org.yfu.util.hibernate.NullableTFBooleanUserType.class),
> @org.hibernate.annotations.TypeDef(name="common_yn_boolean", typeClass=org.yfu.util.hibernate.NullableYNBoolenaUserType.class),
> @org.hibernate.annotations.TypeDef(name="yfu_boolean_integer", typeClass=org.yfu.util.hibernate.YFUBooleanIntegerUserType.class),
>
> }
> )
> package org.yfu.util.hibernate;
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBDS-3115) Include Ionic Palette in Central
by Mickael Istria (JIRA)
[ https://issues.jboss.org/browse/JBDS-3115?page=com.atlassian.jira.plugin.... ]
Mickael Istria commented on JBDS-3115:
--------------------------------------
+1 to apply Denis' Pull Request.
However, next time, please open a different Jira to avoid messing up the various filter people can have set up.
> Include Ionic Palette in Central
> --------------------------------
>
> Key: JBDS-3115
> URL: https://issues.jboss.org/browse/JBDS-3115
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Feature Request
> Components: p2-product
> Affects Versions: 8.0.0.CR1
> Reporter: Denis Golovin
> Assignee: Denis Golovin
> Priority: Blocker
> Fix For: 8.0.0.CR1
>
> Attachments: 3115-jbds-vs-jbt-connector.differences.central.png, 3115-jbds-vs-jbt-connector.differences.png, central after early access.png, central before early access.png
>
>
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18287) Seam project fails to deploy after IDE restart
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18287?page=com.atlassian.jira.plugi... ]
Alexey Kazakov reassigned JBIDE-18287:
--------------------------------------
Assignee: Rob Stryker
I don't have EAP 5.2 to reproduce the problem.
[~rob.stryker], do you have any idea what is going on?
Looks like the server loses the data source after eclipse restarting.
> Seam project fails to deploy after IDE restart
> ----------------------------------------------
>
> Key: JBIDE-18287
> URL: https://issues.jboss.org/browse/JBIDE-18287
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: seam2, server
> Affects Versions: 4.2.0.CR1
> Reporter: Martin Malina
> Assignee: Rob Stryker
> Fix For: 4.2.0.CR1
>
>
> When you create a seam web project and deploy to EAP 5.2, then stop the server, restart JBDS and start the server again, the project fails to deploy properly:
> {code}
> 10:55:27,380 INFO [config] Initializing Mojarra (1.2_13-b01-FCS) for context '/seamproj'
> 10:55:27,900 INFO [ServletContextListener] Welcome to Seam 2.2.6.EAP5
> 10:55:28,862 WARN [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
> 10:55:28,961 INFO [ProfileServiceBootstrap] Loading profile: ProfileKey@6d4879f2[domain=default, server=default, name=default]
> 10:55:28,962 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
> DEPLOYMENTS MISSING DEPENDENCIES:
> Deployment "persistence.unit:unitName=seamproj.war#seamproj" is missing the following dependencies:
> Dependency "jboss.jca:name=seamprojDatasource,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=seamprojDatasource,service=DataSourceBinding' **")
> DEPLOYMENTS IN ERROR:
> Deployment "jboss.jca:name=seamprojDatasource,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=seamprojDatasource,service=DataSourceBinding' **
> 10:55:28,968 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
> 10:55:28,982 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
> 10:55:28,988 INFO [ServerImpl] JBoss (Microcontainer) [5.2.0 (build: SVNTag=JBPAPP_5_2_0 date=201211232041)] Started in 15s:311ms
> {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:
-------------------------------------
Done: JBIDE-18299
> 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
[JBoss JIRA] (JBIDE-18299) ClassNotFoundException for SingletonEhCacheRegionFactory
by Luke Maurer (JIRA)
Luke Maurer created JBIDE-18299:
-----------------------------------
Summary: ClassNotFoundException for SingletonEhCacheRegionFactory
Key: JBIDE-18299
URL: https://issues.jboss.org/browse/JBIDE-18299
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Affects Versions: 4.2.0.CR1
Environment: Eclipse Luna; OpenJDK 7; Ubuntu Trusty; Hibernate 4.1.12; Hibernate Tools 4.0.1CR1-v20140907
Reporter: Luke Maurer
Opening the Session Factory subtree in the Hibernate Configurations tab fails with a logged {{ClassNotFoundException}} for {{org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory}}.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBDS-3115) Include Ionic Palette in Central
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/JBDS-3115?page=com.atlassian.jira.plugin.... ]
Gorkem Ercan commented on JBDS-3115:
------------------------------------
It is confusing to have two connectors with different content with same name and icon. For users the only way to distinguish them is to read the description and guess that their content may be different.
This is the AngularJS for Web Tools on main
{code:xml}
<connectorDescriptor
categoryId="org.jboss.tools.central.discovery.a.mobile"
groupId="org.jboss.tools.central.discovery.a.mobile.extras2"
certificationId="com.jboss.jbds.discovery.certification.supported"
description="AngularJS Tooling support for Ionic framework"
id="angularjs-eclipse-feature"
kind="task"
license="EPL (Free)"
name="AngularJS for Web Tools"
provider="JBoss by Red Hat"
siteUrl="${jboss.discovery.earlyaccess.site.url:https://devstudio.jboss.com/updates/8.0-development/central/earlyaccess/}">
<iu id="org.jboss.tools.jst.angularjs.feature"/>
<icon
image32="images/angularjs_32.png">
</icon>
<overview
url="http://tools.jboss.org/">
</overview>
</connectorDescriptor>
{code}
And this is AngularJS for Web Tools on early access
{code:xml}
<connectorDescriptor
categoryId="org.jboss.tools.central.discovery.a.mobile"
groupId="org.jboss.tools.central.discovery.a.mobile.extras2"
certificationId="com.jboss.jbds.discovery.certification.earlyaccess"
description="AngularJS for Eclipse WTP includes JS + HTML editors, plus a MVC tree view"
id="angularjs-eclipse-feature"
kind="task"
license="EPL (Free)"
name="AngularJS for Web Tools"
provider="JBoss by Red Hat"
siteUrl="${jboss.discovery.earlyaccess.site.url:https://devstudio.redhat.com/updates/8.0-development/central/earlyaccess/}">
<iu id="angularjs-eclipse-feature"/>
<iu id="tern-feature"/>
<iu id="tern-jsdt-feature"/>
<iu id="tern-server-nodejs-feature"/>
<iu id="tern.eclipse.ide.tools.feature"/>
<iu id="tern.eclipse.ide.server.nodejs.embed"/>
<iu id="org.jboss.tools.jst.jsdt.feature" />
<iu id="org.jboss.tools.jst.angularjs.feature" />
<icon
image32="images/angularjs_32.png">
</icon>
<overview
url="https://marketplace.eclipse.org/content/angularjs-eclipse">
</overview>
</connectorDescriptor>
{code}
> Include Ionic Palette in Central
> --------------------------------
>
> Key: JBDS-3115
> URL: https://issues.jboss.org/browse/JBDS-3115
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Feature Request
> Components: p2-product
> Affects Versions: 8.0.0.CR1
> Reporter: Denis Golovin
> Assignee: Denis Golovin
> Priority: Blocker
> Fix For: 8.0.0.CR1
>
> Attachments: 3115-jbds-vs-jbt-connector.differences.central.png, 3115-jbds-vs-jbt-connector.differences.png, central after early access.png, central before early access.png
>
>
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBDS-3115) Include Ionic Palette in Central
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBDS-3115?page=com.atlassian.jira.plugin.... ]
Max Rydahl Andersen commented on JBDS-3115:
-------------------------------------------
note, if ionic is REALLY not fitting in web development category we need to find some way to handle that the angularjs category will be empty and won't install anything unless you got earlyaccess enabled - but i think that time is running out to change/improve that without risking breakage.
> Include Ionic Palette in Central
> --------------------------------
>
> Key: JBDS-3115
> URL: https://issues.jboss.org/browse/JBDS-3115
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Feature Request
> Components: p2-product
> Affects Versions: 8.0.0.CR1
> Reporter: Denis Golovin
> Assignee: Denis Golovin
> Priority: Blocker
> Fix For: 8.0.0.CR1
>
> Attachments: 3115-jbds-vs-jbt-connector.differences.central.png, 3115-jbds-vs-jbt-connector.differences.png, central after early access.png, central before early access.png
>
>
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBDS-3115) Include Ionic Palette in Central
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBDS-3115?page=com.atlassian.jira.plugin.... ]
Max Rydahl Andersen commented on JBDS-3115:
-------------------------------------------
That the categories are mixed up is definitely not right - those should be consistent for same connectorid's.
But lets get a few things straightened out.
Central connectors are not a 1-to-1 mapping to eclipse features.
connectors can have 1 or many features and 2 connectors can have overlapping features.
The original point of having AngularJS feature in both main and central is so the AngularJS w/Forge has a connector id to point to that works in both cases of wether you have earlyaccess or not enabled. In this case this would be for Web development since ionic can be used without hybrid mobile development too.
If Mobile/Hybrid *also* thinks it is good to have a ionic angularJS support installed this can be added - but that would be an *addition* - for now it sounds like something that fits to be added under the existing hybrid mobile tooling connector ?
> Include Ionic Palette in Central
> --------------------------------
>
> Key: JBDS-3115
> URL: https://issues.jboss.org/browse/JBDS-3115
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Feature Request
> Components: p2-product
> Affects Versions: 8.0.0.CR1
> Reporter: Denis Golovin
> Assignee: Denis Golovin
> Priority: Blocker
> Fix For: 8.0.0.CR1
>
> Attachments: 3115-jbds-vs-jbt-connector.differences.central.png, 3115-jbds-vs-jbt-connector.differences.png, central after early access.png, central before early access.png
>
>
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months