[JBoss JIRA] (FURNACE-106) LinuxWatchService: "Too many open files"
by Ondrej Zizka (JIRA)
Ondrej Zizka created FURNACE-106:
------------------------------------
Summary: LinuxWatchService: "Too many open files"
Key: FURNACE-106
URL: https://issues.jboss.org/browse/FURNACE-106
Project: Forge: Furnace
Issue Type: Bug
Components: Runtime
Affects Versions: 2.22.10.Final
Reporter: Ondrej Zizka
When running Windup in a Maven plugin, I get the exception below.
I have increased all linux limits to 1 000 000.
STR:
git clone https://github.com/OndraZizka/windup
cd windup
git co
mvn clean install -DskipTests
cd ..
git clone https://github.com/OndraZizka/windup-maven-plugin.git
cd windup-maven-plugin
git co bfaa7b6
mvn clean install
cd ..
git clone https://github.com/OndraZizka/windup-quickstarts.git
cd windup-quickstarts
git co 9b991fc8db1
mvn clean install
git clone https://github.com/OndraZizka/windup.git
2016-01-28 17:46:52 WARNING org.jboss.forge.furnace.impl.FurnaceImpl <init>() File monitoring could not be started.
java.io.IOException: Too many open files
at sun.nio.fs.LinuxWatchService.<init>(LinuxWatchService.java:61)
at sun.nio.fs.LinuxFileSystem.newWatchService(LinuxFileSystem.java:47)
at org.jboss.forge.furnace.impl.FurnaceImpl.<init>(FurnaceImpl.java:152)
at org.jboss.forge.furnace.impl.FurnaceImpl_$$_javassist_9290627c-c1d3-4961-b1cd-6bd226307dc3.<init>(FurnaceImpl_$$_javassist_9290627c-c1d3-4961-b1cd-6bd226307dc3.java)
at sun.reflect.GeneratedConstructorAccessor65.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:383)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$3.call(ClassLoaderAdapterCallback.java:992)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhance(ClassLoaderAdapterCallback.java:900)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhance(ClassLoaderAdapterCallback.java:880)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhanceSingleParameterValue(ClassLoaderAdapterCallback.java:776)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhanceParameterValues(ClassLoaderAdapterCallback.java:648)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.access$000(ClassLoaderAdapterCallback.java:37)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:117)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:96)
at org.jboss.forge.furnace.spi.ContainerLifecycleListener_$$_javassist_ad6baef1-d99b-4e97-8f1e-324f98eb5edf.afterConfigurationScan(ContainerLifecycleListener_$$_javassist_ad6baef1-d99b-4e97-8f1e-324f98eb5edf.java)
at org.jboss.forge.furnace.impl.FurnaceImpl.fireAfterConfigurationScanEvent(FurnaceImpl.java:657)
at org.jboss.forge.furnace.impl.FurnaceImpl.reloadConfiguration(FurnaceImpl.java:606)
at org.jboss.forge.furnace.impl.FurnaceImpl.access$500(FurnaceImpl.java:59)
at org.jboss.forge.furnace.impl.FurnaceImpl$2.call(FurnaceImpl.java:276)
at org.jboss.forge.furnace.impl.FurnaceImpl$2.call(FurnaceImpl.java:241)
at org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55)
at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:240)
at org.jboss.forge.furnace.impl.FurnaceImpl$1$1.run(FurnaceImpl.java:199)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 10 months
[JBoss JIRA] (FORGE-2585) Allow to obtain the cursor position of the current active editor window
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2585?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2585.
----------------------------------
Fix Version/s: 3.0.0.Beta4
(was: 3.x Future)
Assignee: George Gastaldi
Resolution: Done
> Allow to obtain the cursor position of the current active editor window
> -----------------------------------------------------------------------
>
> Key: FORGE-2585
> URL: https://issues.jboss.org/browse/FORGE-2585
> Project: Forge
> Issue Type: Feature Request
> Components: UI - API
> Affects Versions: 3.0.0.Beta3
> Reporter: Claus Ibsen
> Assignee: George Gastaldi
> Fix For: 3.0.0.Beta4
>
>
> For background see: https://github.com/fabric8io/fabric8/issues/5625
> It would be great if a forge command can obtain information about what is the current active window and the cursor position.
> Essentially what we would like to know is that if the end user is currently editing a file, such as java or xml, and if so, what is the current cursor position in that file, or line number / column number etc.
> Then the commands can use that to react accordingly. For example in fabric8 we want to be able to find out if the cursor is positioned in a Camel route and then let the command be smart to use that route etc.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 10 months
[JBoss JIRA] (FORGE-2592) UISelectOne<JavaResource> no longer works in Shell
by George Gastaldi (JIRA)
George Gastaldi created FORGE-2592:
--------------------------------------
Summary: UISelectOne<JavaResource> no longer works in Shell
Key: FORGE-2592
URL: https://issues.jboss.org/browse/FORGE-2592
Project: Forge
Issue Type: Feature Request
Components: UI - Shell
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 3.0.0.Beta5
{code}
[model]$ jpa-new-field --named firstName --target-entity org.mydemo.model.Customer
***INFO*** Required inputs not satisfied, entering interactive mode
[0] ( ) org.mydemo.model.Customer
Press <ENTER> to confirm, or <CTRL>+C to cancel.
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 10 months