[JBoss JIRA] (JBIDE-11283) Remote Server Launch Configuration, wrong filepath separators in path to jboss-modules.jar in Automatically Calculated start command
by Leo Breuss (JIRA)
Leo Breuss created JBIDE-11283:
----------------------------------
Summary: Remote Server Launch Configuration, wrong filepath separators in path to jboss-modules.jar in Automatically Calculated start command
Key: JBIDE-11283
URL: https://issues.jboss.org/browse/JBIDE-11283
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.3.0.Beta2
Environment: Eclipse 3.7 on Windows 7, JBoss Tools 3.3.0 Beta2
Reporter: Leo Breuss
The remote path to jboss-modules.jar is rewritten with the wrong filepath separator.
Source platform is Eclipse 3.7 on Windows 7
Remote platform is Linux (CentOS 6.2)
Remote Home is "/opt/jboss-as/"
In der Server view, double clicking the remote server, Open Launch Configuration. Last tab Remote Launch shows a start command (Automatically Calculated by default) which has an invalid remote path with backslashes for the jboss-modules.jar:
... -jar \opt\jboss-as\jboss-modules.jar ...
The full start command:
java -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true "-Dorg.jboss.boot.log.file=/opt/jboss-as/standalone/log/boot.log" "-Dlogging.configuration=file:/opt/jboss-as/standalone/configuration/logging.properties" "-Djboss.home.dir=/opt/jboss-as" -jar \opt\jboss-as\jboss-modules.jar -mp "/opt/jboss-as/modules" -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone&
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] (JBIDE-11666) Add -XstartOnFirstThread as a command line argument for Mac
by Lucia Jelinkova (JIRA)
Lucia Jelinkova created JBIDE-11666:
---------------------------------------
Summary: Add -XstartOnFirstThread as a command line argument for Mac
Key: JBIDE-11666
URL: https://issues.jboss.org/browse/JBIDE-11666
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Build/Releng
Affects Versions: 3.3.0.Beta3
Reporter: Lucia Jelinkova
Assignee: Nick Boldt
I am trying to run SWTBot tests on Jenkins on a Mac OS slave. By default, it fails with the following error:
{code}
rg.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4282)
at org.eclipse.swt.SWT.error(SWT.java:4197)
at org.eclipse.swt.SWT.error(SWT.java:4168)
at org.eclipse.swt.widgets.Display.error(Display.java:1065)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:822)
at org.eclipse.swt.widgets.Display.create(Display.java:805)
at org.eclipse.swt.graphics.Device.<init>(Device.java:130)
at org.eclipse.swt.widgets.Display.<init>(Display.java:696)
at org.eclipse.swt.widgets.Display.<init>(Display.java:687)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:716)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:153)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:95)
at org.eclipse.tycho.surefire.osgibooter.UITestApplication.runApplication(UITestApplication.java:31)
at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.run(AbstractUITestApplication.java:114)
at org.eclipse.tycho.surefire.osgibooter.UITestApplication.start(UITestApplication.java:37)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
{code}
I've found out that the Display needs to be created on thread 0 - this can be accomplished by adding -XstartOnFirstThread as a VM argument. However, the VM on Linux cannot handle the parameter, so it needs to be specified only for Mac.
In order not to repeat the configuration in every test module. Could you please provide a new profile in parent pom activated for Mac that would add the mentioned parameter to the tycho-surefire-plugin's argLine property?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] (JBIDE-11817) Can't build common in tycho
by Alexey Kazakov (JIRA)
Alexey Kazakov created JBIDE-11817:
--------------------------------------
Summary: Can't build common in tycho
Key: JBIDE-11817
URL: https://issues.jboss.org/browse/JBIDE-11817
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Build/Releng
Affects Versions: 3.3.0.CR1
Reporter: Alexey Kazakov
Assignee: Nick Boldt
Fix For: 3.3.0.CR1
mvn clean install -fae -e -P default,seam-bootstrap -f build/pom.xml -Dmaven.repo.local=.repository -Dmaven.test.skip
{code}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.jboss.tools.common.mylyn.feature.feature.group 3.3.0.qualifier
[ERROR] Missing requirement: org.jboss.tools.common.mylyn.feature.feature.group 3.3.0.qualifier requires 'org.mortbay.jetty.server [6.1.0,6.1.1)' but it could not be found
[ERROR]
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.jboss.tools.common.mylyn.feature.feature.group 3.3.0.qualifier to org.mortbay.jetty.server [6.1.0,6.1.1).", "Unable to satisfy dependency from org.jboss.tools.common.mylyn.feature.feature.group 3.3.0.qualifier to org.mortbay.jetty.util [6.1.0,6.1.1).", "No solution found because the problem is unsatisfiable."] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.jboss.tools.common.mylyn.feature.feature.group 3.3.0.qualifier to org.mortbay.jetty.server [6.1.0,6.1.1).", "Unable to satisfy dependency from org.jboss.tools.common.mylyn.feature.feature.group 3.3.0.qualifier to org.mortbay.jetty.util [6.1.0,6.1.1).", "No solution found because the problem is unsatisfiable."]
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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:616)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.jboss.tools.common.mylyn.feature.feature.group 3.3.0.qualifier to org.mortbay.jetty.server [6.1.0,6.1.1).", "Unable to satisfy dependency from org.jboss.tools.common.mylyn.feature.feature.group 3.3.0.qualifier to org.mortbay.jetty.util [6.1.0,6.1.1).", "No solution found because the problem is unsatisfiable."]
at org.eclipse.tycho.p2.impl.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:79)
at org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:83)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:118)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:76)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:445)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:422)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:98)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:61)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
... 11 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months