Hi,

I have tried a million (or so it feels...) options, but I can't get the 
framework to listen on a console port. Equinox wants something like 
'-console 2323' as application parameter but neither the vmOptions, 
systemOptions or frameworkOptions give me that format.

I must be missing something.

This is my configuration (well, a snapshot of what I currently have)

        return options(
            
vmOption("-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8800"),
        systemProperty("osgi.console").value("2323"),
        systemProperty("osgi.console.enable.builtin").value("true"),
        vmOption("-Xmx1024M"),
        
        frameworkProperty("osgi.console.enable.builtin").value("true"),
        frameworkProperty("osgi.console").value("2324"),

These are the VM options as reported by JConsole:

-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8800 
-Xmx1024M -Dpax.swissbox.framework.rmi.port=21000 -Dosgi.console=2323 
-Dpax.exam.invoker=junit -Dpax.exam.service.timeout=10000 
-Dosgi.console.enable.builtin=true 
-Djava.protocol.handler.pkgs=org.ops4j.pax.url 
-Dorg.ops4j.pax.logging.DefaultServiceLog.level=INFO 
-Dpax.swissbox.framework.rmi.name=ExamRemoteFramework-413ded52-a922-4825-bb6b-cce68fea01fe
 

With this classpath:

/Users/erwin/.m2/repository/org/eclipse/birt/runtime/org.eclipse.osgi/3.10.2.v20150203-1939/org.eclipse.osgi-3.10.2.v20150203-1939.jar:/Users/erwin/.m2/repository/org/ops4j/pax/swissbox/pax-swissbox-framework/1.8.2/pax-swissbox-framework-1.8.2.jar:/Users/erwin/.m2/repository/org/ops4j/pax/swissbox/pax-swissbox-tracker/1.8.2/pax-swissbox-tracker-1.8.2.jar


Thanks for your time.

Erwin

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - ops4j@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ops4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to