From forge-users at lists.jboss.org Mon Jun 16 13:33:35 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 16 Jun 2014 13:33:35 EDT Subject: [forge-users] Forge - no plugin found with name [switchyard] Message-ID: <992265188.11402940045462.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> I'm having problems installing the switchyard plaugin via Forge executed from JBoss Developer Suite. [swydapp] swydapp $ version JBoss Forge, version [ 1.4.4.Final ] - JBoss, by Red Hat, Inc. [ http://jboss.org/forge ] [swydapp] swydapp $ project install-facet switchyard org.jboss.forge.project.facets.FacetNotFoundException: The requested Facet named [switchyard] could not be found.***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack traces) [swydapp] swydapp $ ??? at org.jboss.forge.project.services.FacetFactory.getFacetByName(FacetFactory.java:124) ??? at org.jboss.forge.shell.plugins.builtin.project.ProjectPlugin.installFacet(ProjectPlugin.java:110) ??? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ??? at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ??? at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ??? at java.lang.reflect.Method.invoke(Method.java:606) ??? at org.jboss.forge.shell.command.Execution.perform(Execution.java:160) ??? at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109) ??? at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47) ??? at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796) ??? at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819) ??? at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609) ??? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ??? at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ??? at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ??? at java.lang.reflect.Method.invoke(Method.java:606) ??? at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48) ??? at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125) ??? at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java) ??? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ??? at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ??? at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ??? at java.lang.reflect.Method.invoke(Method.java:606) ??? at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) ??? at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) ??? at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) ??? at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) ??? at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188) ??? at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59) ??? at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198) ??? at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282) ??? at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265) ??? at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234) ??? at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635) ??? at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622) ??? at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616) ??? at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186) ??? at java.lang.Thread.run(Thread.java:744) Posted by forums Original post: https://community.jboss.org/message/878364#878364 From ggastald at redhat.com Mon Jun 16 13:42:39 2014 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 16 Jun 2014 13:42:39 -0400 (EDT) Subject: [forge-users] Forge - no plugin found with name [switchyard] In-Reply-To: <992265188.11402940045462.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <992265188.11402940045462.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <91B54AE9-8016-44E9-9CF7-5460667AE4C0@redhat.com> The command is wrong. It should be install-plugin, not install-facet > Em 16/06/2014, ?s 14:35, forge-users at lists.jboss.org escreveu: > > I'm having problems installing the switchyard plaugin via Forge executed from JBoss Developer Suite. > > [swydapp] swydapp $ version > JBoss Forge, version [ 1.4.4.Final ] - JBoss, by Red Hat, Inc. [ http://jboss.org/forge ] > > [swydapp] swydapp $ project install-facet switchyard > org.jboss.forge.project.facets.FacetNotFoundException: The requested Facet named [switchyard] could not be found.***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack traces) > [swydapp] swydapp $ > at org.jboss.forge.project.services.FacetFactory.getFacetByName(FacetFactory.java:124) > at org.jboss.forge.shell.plugins.builtin.project.ProjectPlugin.installFacet(ProjectPlugin.java:110) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.jboss.forge.shell.command.Execution.perform(Execution.java:160) > at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109) > at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47) > at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796) > at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819) > at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48) > at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125) > at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) > at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) > at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) > at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) > at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188) > at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59) > at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198) > at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282) > at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265) > at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234) > at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635) > at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622) > at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616) > at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186) > at java.lang.Thread.run(Thread.java:744) > > Posted by forums > Original post: https://community.jboss.org/message/878364#878364 > > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From forge-users at lists.jboss.org Mon Jun 16 14:24:38 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 16 Jun 2014 14:24:38 EDT Subject: [forge-users] Forge - no plugin found with name [switchyard] In-Reply-To: <91B54AE9-8016-44E9-9CF7-5460667AE4C0@redhat.com> Message-ID: <1861795600.21402943108896.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Thanks, I was following the instructions via the openshift cartridge...I wonder what else is broken on there. Posted by forums Original post: https://community.jboss.org/message/878371#878371 From forge-users at lists.jboss.org Thu Jun 26 12:48:46 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 26 Jun 2014 12:48:46 EDT Subject: [forge-users] How to install in eclipse? Can only find 1.3 beta Message-ID: <2011702760.01403801356335.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi Anton, The hotkey combination is Ctrl+4. The 1.3.0.Beta3 that you see is the JBoss Tools Forge plugin version and it is not related to the Forge version itself at the moment. Rest assured that this bundles Forge 2. Best Regards, George Gastaldi Posted by forums Original post: https://community.jboss.org/message/879505#879505 From forge-users at lists.jboss.org Thu Jun 26 16:12:00 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 26 Jun 2014 16:12:00 EDT Subject: [forge-users] How to install in eclipse? Can only find 1.3 beta In-Reply-To: <2011702760.01403801356335.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1687993903.11403813551183.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> George You are right. I was too quick to post. After checking for updates - and installing - its now working. I was too quick to post here. Thanks Posted by forums Original post: https://community.jboss.org/message/879544#879544 From forge-users at lists.jboss.org Thu Jun 26 17:41:18 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 26 Jun 2014 17:41:18 EDT Subject: [forge-users] Forge2 generating JPA entities does not respect the hibernate.revenge.xml file. Message-ID: <1230009694.21403818908318.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi. I have a (probably stupid) mistake with the forge 2 create entities from tables utility. First, i run this command: {code:modifiedtitle=true|jivemacro_uid=_14038174907093710|class=jive_text_macro jive_macro_code _jivemacro_uid_14038174907093710} [myProject]$ jpa-generate-entities-from-tables --jdbcUrl jdbc:oracle:thin:myhost:1521:myDataBase --userName myUsername --userPassword ***** --driverLocation C:\the\path\of\lib\ojdbc6-11.2.0.3.jar {code} So, after that, in the console appears the options of what dialect i want to use (i prefer this way, because a NEVER remember the correct name) something like this: {code:modifiedtitle=true|jivemacro_uid=_14038177804365613|class=jive_text_macro jive_macro_code _jivemacro_uid_14038177804365613} [0] - MySQL5 : org.hibernate.dialect.MySQL5Dialect [1] - MySQL5 with InnoDB : org.hibernate.dialect.MySQL5InnoDBDialect [2] - MySQL with MyISAM : org.hibernate.dialect.MySQLMyISAMDialect [3] - Oracle (any version) : org.hibernate.dialect.OracleDialect [4] - Oracle 9i : org.hibernate.dialect.Oracle9iDialect [5] - Oracle 10g : org.hibernate.dialect.Oracle10gDialect [6] - Oracle 11g : org.hibernate.dialect.Oracle10gDialect [7] - DB2 : org.hibernate.dialect.DB2Dialect [8] - DB2 AS/400 : org.hibernate.dialect.DB2400Dialect [9] - DB2 OS390 : org.hibernate.dialect.DB2390Dialect [10] - PostgreSQL : org.hibernate.dialect.PostgreSQLDialect [11] - Microsoft SQL Server 2000 : org.hibernate.dialect.SQLServerDialect [12] - Microsoft SQL Server 2005 : org.hibernate.dialect.SQLServer2005Dialect [13] - Microsoft SQL Server 2008 : org.hibernate.dialect.SQLServer2008Dialect [14] - SAP DB : org.hibernate.dialect.SAPDBDialect [15] - Informix : org.hibernate.dialect.InformixDialect [16] - HypersonicSQL : org.hibernate.dialect.HSQLDialect [17] - H2 Database : org.hibernate.dialect.H2Dialect [18] - Ingres : org.hibernate.dialect.IngresDialect [19] - Progress : org.hibernate.dialect.ProgressDialect [20] - Mckoi SQL : org.hibernate.dialect.MckoiDialect [21] - Interbase : org.hibernate.dialect.InterbaseDialect [22] - Pointbase : org.hibernate.dialect.PointbaseDialect [23] - FrontBase : org.hibernate.dialect.FrontbaseDialect [24] - Firebird : org.hibernate.dialect.FirebirdDialect [25] - Sybase : org.hibernate.dialect.SybaseASE15Dialect [26] - Sybase Anywhere : org.hibernate.dialect.SybaseAnywhereDialect Hibernate Dialect (The Hibernate dialect to use): [0-26] 6 Hibernate Dialect (The Hibernate dialect to use): [0-26] 6 {code} Ok, everything seems correct; BUT when i proceed to exec the command, forge begins to make the files that represents the classes, suddenly, the next error appears: {quote:modifiedtitle=true|class=jive_text_macro jive_macro_quote} org.hibernate.cfg.JDBCBinderException: Duplicate class name 'org.hibernateTesting.model.NrcAdopcion' generated for 'org.hibernate.mapping.Table(PREFIX.TABLE)'. Same name where generated for 'org.hibernate.mapping.Table(PREFIX.TABLE)' {quote} For some reasons that aren't important here i have duplicate table names in different schemas and the data base user can see all schemas, so i read about that error, and it suppose that the hibernate.revenge.xml file can handle that situations. So i wrote the file, and is very small: {code:modifiedtitle=true|jivemacro_uid=_14038183131019382|class=jive_text_macro jive_macro_code _jivemacro_uid_14038183131019382} ??? {code} I put the file here: myProject ?? | ? src ?? |_main ?? |??? |_java ?? |??? |_resources ?? |??? |??????? |_hibernate.revenge.xml???? <---HERE! ?? |??? |_webapp ?? | ?? |_test And well, my question is .... if i have to put the file in other place. I know it looks like the question is for hibernate forum, but i don't know if forge is using hibernate utilities in some way. Thanks in advance. Posted by forums Original post: https://community.jboss.org/message/879552#879552 From forge-users at lists.jboss.org Fri Jun 27 11:28:30 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 27 Jun 2014 11:28:30 EDT Subject: [forge-users] Scaffold gen issue Message-ID: <455506349.81403882940680.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi, Is it possible to prevent scaffold-generate from overwriting pageTemplate.xhtml every time ? Forge 1 would prompt you to confirm the overwrite as default behaviour which is useful. Also, scaffold-generate seems to re-generate pageTemplate.xhtml from scratch each time, rather than just adding in the new link to the search view of the target entity ? Is this by design or am I using it incorrectly ? Thanks ! Posted by forums Original post: https://community.jboss.org/message/879677#879677 From forge-users at lists.jboss.org Mon Jun 30 07:21:41 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 30 Jun 2014 07:21:41 EDT Subject: [forge-users] Forge 2.x gets stuck at the start Message-ID: <754396547.151404127332376.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi, I would like ask whether somebody does not have troubles with starting Forge? Or experience with the following behaviour. I'm not able to start it on my local machine from version 2.1.x or something. All the following versions do the same problem to me. When I run the forge command the Forge get stuck. I can see ASCII logo of the program but then nothing and I wait for the command shell indefinitely. The strange thing is that when I tried to start Forge under JDK 1.8 from distribution without addons then it started with warning (this is maybe connected with using 64b instead of 32b) {quote:class=jive_text_macro jive_macro_quote} Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /tmp/1404127116808-0/native/unix_32_xadisk.native which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'. {quote} But when I switched to distribution with addons then all the Forge get stuck again. If I run JDK 1.7 then I'm not able to start Forge neither with nor without addons. I'm running 64b java 1.7 on Fedora 20. I'm putting here the stack trace of the Forge at the start in case that it would help identify my problem. Thanks Ondra Posted by forums Original post: https://community.jboss.org/message/879862#879862 -------------- next part -------------- A non-text attachment was scrubbed... Name: forge.stacktrace.log.zip Type: application/zip Size: 1014 bytes Desc: not available Url : http://lists.jboss.org/pipermail/forge-users/attachments/20140630/750c3b04/attachment.zip