M3 WSRP Test

1 view
Skip to first unread message

Eric Dalquist

unread,
Dec 1, 2005, 1:55:08 AM12/1/05
to jasig-upo...@googlegroups.com
Mike,
Have, you tested WSRP in uP3 recently? It looks like its working for
me but I'd like some verification.

Thanks
-Eric

Mike Ivanov

unread,
Dec 1, 2005, 1:05:31 PM12/1/05
to jasig-uportal3-dev


Actually I get the exception while trying to access the WSRP producer
at deimos.unicon.net 8081, but I can "telnet" on this port:

Caused by: org.apache.wsrp4j.exception.WSRPException: No message
found. Nested Throwable is: (403)Forbidden
at
org.apache.wsrp4j.exception.WSRPXHelper.getException(WSRPXHelper.java:737)
at
org.apache.wsrp4j.exception.WSRPXHelper.throwX(WSRPXHelper.java:138)
at
org.apache.wsrp4j.exception.WSRPXHelper.handleWSRPFault(WSRPXHelper.java:682)
at
org.apache.wsrp4j.consumer.driver.ProducerImpl.getServiceDescription(ProducerImpl.java:498)

Andrew Petro

unread,
Dec 1, 2005, 3:46:14 PM12/1/05
to jasig-upo...@googlegroups.com
Michael,

Are you seeing this stack trace on your laptop or in up3 as deployed on deimos?

If from the laptop:
What IP address are you accessing the WSRP producer from?

The IP address of the consumer needs to be allowed in the
configuration of the Sakai WSRP producer. (This is to prevent
arbitrary consumers from accessing Sakai as "admin").

Currently 141.156.110.206 is enabled for you. Has your addr changed since then?

The filter will deny access with a 403 forbidden for consumers hailing
from IP addresses that are not allowed.


// Deny this request
if (logDenied && logger.isInfoEnabled())
logger.info("Access denied (implicit): " + host + "/" + addr);
response.sendError(HttpServletResponse.SC_FORBIDDEN);


<param-name>allow</param-name>
<!-- Allow "Private Use" IP addresses by default -->
<!-- apetro added Michael Ivanov's IP address
141.156.110.206-->
<!-- apetro added Andrew Petro's IP address
67.53.158.210 -->
<param-value>
localhost, 127\.0\.0\.1,
192\.168\.[0-9.]+, 10\.[0-9.]+,
172\.1[6-9]\.[0-9.]+, 172\.2[0-9]\.[0-9.]+,
172\.3[0-1]\.[0-9.]+,
141.156.110.206,
67.53.158.210
</param-value>


Maybe we should just turn off this remote address filter on deimos
until it's working.

Andrew

Mike Ivanov

unread,
Dec 1, 2005, 7:42:59 PM12/1/05
to jasig-uportal3-dev
Andrew,


I was able to get Announcements tool working via WSRP with the up3
consumer.


-Mike

Andrew Petro

unread,
Dec 1, 2005, 7:46:29 PM12/1/05
to jasig-upo...@googlegroups.com
Michael,

Excellent news!

Could you update

https://clearinghouse.ja-sig.org/wiki/display/UPC/Demonstrating+consuming+Sakai+WSRP

to reflect this success?


How about the more ambitious tool-in-context WSRP?

Andrew

Mike Ivanov

unread,
Dec 1, 2005, 8:02:47 PM12/1/05
to jasig-uportal3-dev

Andrew,

Sure, can you provide me with a couple of portlet handles that present
more ambitious tools?


-Mike

Andrew Petro

unread,
Dec 1, 2005, 9:59:17 PM12/1/05
to jasig-upo...@googlegroups.com
Mike,

Here's the tool placement id (the portlet handle) for the discussion
tool in the test user "mouse"''s workspace. It has one test
discussion category/topic/entry.

d5e945fc-10e6-46c2-003e-38ad986b2a48

Andrew
Reply all
Reply to author
Forward
0 new messages