Is the consumer really activated? You need to refresh the consumer and make sure that it's active to be able to import remote portlets into the application registry.
Do you get any kind of errors on the console?
Note also that jboss-portlet.xml is completely useless in GateIn and can be removed.
I think the consumer is activated. I create the connection:
On the producer:
WSRP properties: all 3 checkboxes are activated
On the consumer:
Create a consumer named: gatein192 -> Create consumer
Cache exp: 10000
Producer WSDL URL: http://192.168.92.1:8080/wsrp-producer/MarkupService?wsdl
-> Refresh and save
The consumer is shown in green and as activated
Producer: nothing shows up
Consumer: WARN message like: Trying to resolve systemId as a non-file URL: http://producer/MarkupService?wsdl&resource=wsrp_v1_types.xsd
INFO: Consumer with id gatein192 started
INFO: Consumer with id gatein192 activated
On the consumer, I go to Application registry -> import applications
Remote portlet won`t show up under Remote
Reload Consumers -> Refresh -> gatein192 shows up in green and as activated
Refresh, Deactivate, Activate, Register, Deregister, always the same result: the portlet won`t show up on the consumer.
The log of the producer shows nothing, the consumer only shows normal messages (registrated, etc)
And you're sure that you've properly deployed remotable portlets on the producer?
I deployed it as described in my first post (modified WAR -> portlet.xml and copied it to producer -> server\default\deploy and I can use the portlet in the producer).
<?xml version="1.0" encoding="UTF-8"?>
I think there should be errors on the console. container-runtime-option is only supported on JSR-286 compliant portlets and the version of the spec you're declaring in the portlet.xml file is version 1. Try updating the namespaces, schemas and version to the appropriate JSR 286 versions. That might be the problem.
you are right, changing the XML made the portlet remotable.
-> Example 7.1
didn't work. It gave me errors that the JAR file of the portlet wasn't there (IOException) I had to use:
<?xml version="1.0" encoding="UTF-8" ?>
On the consumer, I can see new the portlet when doing an refresh of the application registry and can add to a category and to a page, but when accessing the page I get:
(Consumer): NoSuchPortletException: No such portlet /helloworldportlet.helloworldportlet.HelloWorldPortlet