[jboss-user] [JBoss Portal] - Re: how to change JWS 80 port on jboss portal 26CR1

chris.laprun@jboss.com do-not-reply at jboss.com
Tue May 8 18:29:45 EDT 2007


"kevnlin" wrote : step 
  | 1--download file 
  | jboss-portal-2.6-CR2-bundled.zip 
  | 2- unzip  jboss-portal-2.6-CR2-bundled.zip 
  | 3-  change tomcat port  --server.xml change port 80 
  | 4-  change /deploy/jboss-portal/portal-wsrp.sar/default-wsrp.xml
  | 
  |  
  |       <wsrp-producer id="self" expiration-cache="120">
  |          <!--
  |          we need to use the individual endpoint configuration because the configuration via wsdl forces an
  |          immediate attempt to access the web service description which is not available yet at this point of deployment
  |          -->
  |          <endpoint-config>
  |             <service-description-url>http://localhost:80/portal-wsrp/ServiceDescriptionService</service-description-url>
  |             <markup-url>http://localhost:80/portal-wsrp/MarkupService</markup-url>
  |             <registration-url>http://localhost:80/portal-wsrp/RegistrationService</registration-url>
  |             <portlet-management-url>http://localhost:80/portal-wsrp/PortletManagementService</portlet-management-url>
  |          </endpoint-config>
  |          <registration-data/>
  |       </wsrp-producer>
  |    
  | 

Are you accessing WSRP from the same system i.e. is the Consumer running in the same JBoss AS instance as the Producer? The steps you followed above will only work if that is the case.

If your producer is running on system1 on port 80 and your consumer is running on system2 on port 80, then the producer configuration on system2 (it is useless on system1 unless you want to make sure it works locally) should be:
<deployment>
  |       <wsrp-producer id="self" expiration-cache="120">         
  |          <endpoint-config>
  |             <service-description-url>http://system1:80/portal-wsrp/ServiceDescriptionService</service-description-url>
  |             <markup-url>http://system1:80/portal-wsrp/MarkupService</markup-url>
  |             <registration-url>http://system1:80/portal-wsrp/RegistrationService</registration-url>
  |             <portlet-management-url>http://system1:80/portal-wsrp/PortletManagementService</portlet-management-url>
  |          </endpoint-config>
  |          <registration-data/>
  |       </wsrp-producer>
  |    </deployment>

That said, I have found a problem with the behavior of WSDLPortFixFilter while testing. See http://jira.jboss.com/jira/browse/JBPORTAL-1390 for more details. Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044111#4044111

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044111



More information about the jboss-user mailing list