[ http://issues.ops4j.org/browse/PAXRUNNER-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12415#action_12415 ]
Wojciech Durczynski commented on PAXRUNNER-250: ----------------------------------------------- I've got a problem with new executor. When using it there is an error. It seems that URLClassLoader cannot find framework's main class. It happens on windows using 0.20.0-SNAPSHOT version of pax-runner. jvm 1 | -> Using execution environment [J2SE-1.6] jvm 1 | -> Create equinox configuration ini file [runner\equinox\config.ini] jvm 1 | -> Using class org.ops4j.pax.runner.platform.InProcessJavaRunner [org.eclipse.core.runtime.adaptor.EclipseStarter] jvm 1 | -> VM options: [[-Dorg.osgi.service.http.port=%HTTP_PORT%, -Dbundles.configuration.location=C:\janosik-runner-1.6-SNAPSHOT-rUNKNOWNREVISION-all\admin\../config, -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook, -Dwicket.configuration=deployment, -Daj.weaving.verbose=false, -Dorg.aspectj.osgi.debug=false, -Dorg.aspectj.weaver.showWeaveInfo=false, -Dorg.ops4j.pax.web.session.timeout=%SESSION_TIMEOUT%, -Dosgi.console=%OSGI_CONSOLE_PORT%, -Dosgi.install.area=equinox]] jvm 1 | -> Classpath: [[bundles/org.eclipse.osgi_3.4.0.v20080605-1900.jar, bundles/org.eclipse.equinox.weaving.hook_1.0.0.200809192119.jar]] jvm 1 | -> Platform options: [[-configuration, equinox]] jvm 1 | -> Java home: [C:\Program Files\Java\jdk1.6.0_07] jvm 1 | -> Working dir: [runner] jvm 1 | jvm 1 | ___ jvm 1 | / / jvm 1 | / / Oops, there has been a problem! jvm 1 | / / jvm 1 | /__/ org.ops4j.pax.runner.platform.PlatformException: Cannot find target framework main class jvm 1 | ___ jvm 1 | /__/ jvm 1 | jvm 1 | -> Exception catched during execution: jvm 1 | java.lang.RuntimeException: org.ops4j.pax.runner.platform.PlatformException: Cannot find target framework main class jvm 1 | at org.ops4j.pax.runner.Run.startPlatform(Run.java:627) jvm 1 | at org.ops4j.pax.runner.Run.start(Run.java:208) jvm 1 | at org.ops4j.pax.runner.Run.main(Run.java:137) jvm 1 | at org.ops4j.pax.runner.Run.main(Run.java:110) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source) jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:236) jvm 1 | at java.lang.Thread.run(Unknown Source) jvm 1 | Caused by: org.ops4j.pax.runner.platform.PlatformException: Cannot find target framework main class jvm 1 | at org.ops4j.pax.runner.platform.InProcessJavaRunner.exec(InProcessJavaRunner.java:101) jvm 1 | at org.ops4j.pax.runner.platform.internal.PlatformImpl.start(PlatformImpl.java:228) jvm 1 | at org.ops4j.pax.runner.Run.startPlatform(Run.java:623) jvm 1 | ... 9 more jvm 1 | Caused by: java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter jvm 1 | at java.net.URLClassLoader$1.run(Unknown Source) jvm 1 | at java.security.AccessController.doPrivileged(Native Method) jvm 1 | at java.net.URLClassLoader.findClass(Unknown Source) jvm 1 | at java.lang.ClassLoader.loadClass(Unknown Source) jvm 1 | at java.lang.ClassLoader.loadClass(Unknown Source) jvm 1 | at org.ops4j.pax.runner.platform.InProcessJavaRunner.exec(InProcessJavaRunner.java:91) jvm 1 | ... 11 more > Start the target framework in the same process (do not start a new process) > --------------------------------------------------------------------------- > > Key: PAXRUNNER-250 > URL: http://issues.ops4j.org/browse/PAXRUNNER-250 > Project: Pax Runner > Issue Type: New Feature > Reporter: Alin Dreghiciu > Assignee: Alin Dreghiciu > Fix For: 0.20.0 > > > By default Pax Runner will start a the target platform (felix, Equinox,...) > in a new process. There should be possible to start the target framework in > the same process as the Pax runner itself, so no new process is created. > This has the limitation that setting vmOptions is not possible beside system > properties (-D). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.ops4j.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general