[JBoss JIRA] (FORGE-1720) Property should extend AnnotationTarget
by George Gastaldi (JIRA)
George Gastaldi created FORGE-1720:
--------------------------------------
Summary: Property should extend AnnotationTarget
Key: FORGE-1720
URL: https://issues.jboss.org/browse/FORGE-1720
Project: Forge
Issue Type: Enhancement
Components: Parsers / File Manipulation
Affects Versions: 2.0.0.Final
Reporter: George Gastaldi
Fix For: 2.x Future
This could allow getting annotations from a property without explicitly know where it is located (field or getter)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 2 months
[JBoss JIRA] (FORGE-1699) High CPU consumption on Windows and Linux
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1699?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III commented on FORGE-1699:
-------------------------------------------
Sure, actually. If you could do something, that would be great:
I'm wondering if you could start a fresh forge instance, press <TAB>. Wait for the CPU usage to spike, then in another terminal, use 'kill -3 xxxxxx' where 'xxxxxx' is the process id of the running forge instance. (Can be obtained using 'ps -ef | grep forge' - it will be the PID of the Java process)
Also, does the CLI ever return from a TAB? Or does it hang "forever"? I do notice a delay, but it always returns on my machine.
> High CPU consumption on Windows and Linux
> -----------------------------------------
>
> Key: FORGE-1699
> URL: https://issues.jboss.org/browse/FORGE-1699
> Project: Forge
> Issue Type: Quality Risk
> Components: UI - Shell
> Affects Versions: 2.3.0.Final
> Environment: Windows 7 32 bits 4 GB RAM
> Linux Fedora 19 64bits 4 GB RAM
> Reporter: Esteve Aviles
> Assignee: Lincoln Baxter III
> Attachments: image.jpg
>
>
> CPU usage is very high when executing a command in Forge Shell.
> I attach an image of CPU consumption.
> Tried both Windows (at work) and Linux with the same result.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 2 months
[JBoss JIRA] (FORGE-1699) High CPU consumption on Windows and Linux
by Esteve Aviles (JIRA)
[ https://issues.jboss.org/browse/FORGE-1699?page=com.atlassian.jira.plugin... ]
Esteve Aviles commented on FORGE-1699:
--------------------------------------
Lincoln,
"Dies" means high CPU and CLI not responding.
Need more help, something to test?
Regards,
Esteve
> High CPU consumption on Windows and Linux
> -----------------------------------------
>
> Key: FORGE-1699
> URL: https://issues.jboss.org/browse/FORGE-1699
> Project: Forge
> Issue Type: Quality Risk
> Components: UI - Shell
> Affects Versions: 2.3.0.Final
> Environment: Windows 7 32 bits 4 GB RAM
> Linux Fedora 19 64bits 4 GB RAM
> Reporter: Esteve Aviles
> Assignee: Lincoln Baxter III
> Attachments: image.jpg
>
>
> CPU usage is very high when executing a command in Forge Shell.
> I attach an image of CPU consumption.
> Tried both Windows (at work) and Linux with the same result.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 2 months
[JBoss JIRA] (FORGE-1708) rest-generate-endpoints-from-entities failing to install EJB
by Arun Gupta (JIRA)
[ https://issues.jboss.org/browse/FORGE-1708?page=com.atlassian.jira.plugin... ]
Arun Gupta closed FORGE-1708.
-----------------------------
Resolution: Rejected
This was likely caused by an incorrect settings.xml and seems to be working fine after removing the file.
> rest-generate-endpoints-from-entities failing to install EJB
> ------------------------------------------------------------
>
> Key: FORGE-1708
> URL: https://issues.jboss.org/browse/FORGE-1708
> Project: Forge
> Issue Type: Bug
> Reporter: Arun Gupta
>
> rest-generate-endpoints-from-entities --targets org.forge.samples.javaee.entities.Author --packageName org.forge.samples.javaee.rest
> Downloading: http://maven.repository.redhat.com/techpreview/all/javax/ejb/ejb-api/mave...
> ***ERROR*** Could not install EJB.
> ***SUCCESS*** Endpoint created
> Log is:
> 10:31:58,616 WARNING [org.jboss.forge.addon.facets.FacetFactoryImpl] (AeshProcess: 16) Could not install Facet of type [class org.jboss.forge.addon.facets.AbstractFacet_$$_javassist_d0ce472a-be66-49c6-877b-4d4a39a3cbb2], due to exception: : java.lang.IllegalStateException: Could not resolve version for dependency [javax.ejb:ejb-api:::].
> at org.jboss.forge.addon.projects.impl.DependencyInstallerImpl.install(DependencyInstallerImpl.java:93)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.addon.projects.impl.DependencyInstallerImpl_$$_javassist_3bc0b298-fad0-4d89-bc79-7b45835ed3c8.install(DependencyInstallerImpl_$$_javassist_3bc0b298-fad0-4d89-bc79-7b45835ed3c8.java)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
> at org.jboss.forge.furnace.container.cdi.services.ExportedInstanceLazyLoader.invoke(ExportedInstanceLazyLoader.java:64)
> at org.jboss.forge.addon.projects.dependencies.DependencyInstaller_$$_javassist_2ab83b96-0190-4a21-bab0-4495a24d079a.install(DependencyInstaller_$$_javassist_2ab83b96-0190-4a21-bab0-4495a24d079a.java)
> at org.jboss.forge.addon.javaee.AbstractJavaEEFacet.install(AbstractJavaEEFacet.java:77)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.addon.facets.AbstractFacet_$$_javassist_d0ce472a-be66-49c6-877b-4d4a39a3cbb2.install(AbstractFacet_$$_javassist_d0ce472a-be66-49c6-877b-4d4a39a3cbb2.java)
> at org.jboss.forge.addon.facets.AbstractFaceted.install(AbstractFaceted.java:76) [facets-api-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.addon.facets.FacetFactoryImpl.install(FacetFactoryImpl.java:216) [facets-impl-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.addon.facets.FacetFactoryImpl.install(FacetFactoryImpl.java:143) [facets-impl-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.addon.facets.FacetFactoryImpl.install(FacetFactoryImpl.java:132) [facets-impl-2.3.0.Final.jar:2.3.0.Final]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.addon.facets.FacetFactory_$$_javassist_06107339-d840-49b9-9fc4-2f9c900957f9.install(FacetFactory_$$_javassist_06107339-d840-49b9-9fc4-2f9c900957f9.java) [facets-api-2.3.0.Final.jar:2.3.0.Final]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
> at org.jboss.forge.furnace.container.cdi.services.ExportedInstanceLazyLoader.invoke(ExportedInstanceLazyLoader.java:64)
> at org.jboss.forge.addon.facets.FacetFactory_$$_javassist_adeefdb6-8d03-40bb-8397-da9211c020f1.install(FacetFactory_$$_javassist_adeefdb6-8d03-40bb-8397-da9211c020f1.java) [facets-api-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.addon.javaee.ejb.ui.EJBSetupWizard.execute(EJBSetupWizard.java:62)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.3.0.Final.jar:2.3.0.Final]
> at org.jboss.forge.addon.javaee.ejb.ui.EJBSetupWizard_$$_javassist_771a4bce-97af-416a-beef-3e6aec8a914a.execute(EJBSetupWizard_$$_javassist_771a4bce-97af-416a-beef-3e6aec8a914a.java)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:153)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:152)
> at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:74)
> at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:292)
> at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:37)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 2 months
[JBoss JIRA] (FORGE-1719) Script is partially run
by Arun Gupta (JIRA)
Arun Gupta created FORGE-1719:
---------------------------------
Summary: Script is partially run
Key: FORGE-1719
URL: https://issues.jboss.org/browse/FORGE-1719
Project: Forge
Issue Type: Bug
Affects Versions: 2.3.0.Final
Reporter: Arun Gupta
Running the following script in forge console as:
run script.forge
script:
servlet-setup; cdi-setup; jpa-setup --container JBOSS_EAP6; rest-setup; constraint-setup; faces-setup; ejb-setup; scaffold-setup
jpa-new-entity --named Author --targetPackage org.forge.samples.javaee.entities
jpa-new-entity --named Book --targetPackage org.forge.samples.javaee.entities
jpa-new-field --targetEntity org.forge.samples.javaee.entities.Author --named name --type java.lang.String --length 50
jpa-new-field --targetEntity org.forge.samples.javaee.entities.Book --named title --type String --length 100
jpa-new-field --targetEntity org.forge.samples.javaee.entities.Book --named isbn --type String --length 30
constraint-add --javaClass org.forge.samples.javaee.entities.Author --onProperty name --constraint Size --max 50
constraint-add --javaClass org.forge.samples.javaee.entities.Book --onProperty title --constraint Size --max 100
constraint-add --javaClass org.forge.samples.javaee.entities.Book --onProperty isbn --constraint Size --max 30
scaffold-generate --targets org.forge.samples.javaee.entities.Author
scaffold-generate --targets org.forge.samples.javaee.entities.Book
scaffold-generate command is executed only some times. All previous commands execute successfully with no error.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 2 months