Re: WSRP4j is available on current Jetspeed 2 or not?

2005-03-18 Thread Zhonghui Ning
Hello David,
Thanks for your reply.  I couldn't wait until May due to my job. Is it 
possible or not I get together jetspeed 2 and wsrp4j in few days?

I have made wsrp4j working on pluto. It looks very simple. The 
proxyportlet was deployed in a pluto and changed the 
portletentityregistry.xml. That's enough for pluto. But it seems that's 
not enough for jetspeed 2. I deployed proxyportlet in jetspeed 2 and 
assigned values to wsrp_portlet_handle and wsrp_producer_id. But it 
doesn't work. The error is Producer didn't provide a valid service 
description.

Could you give me some suggestion? Thanks.
Regards,
Zhonghui


David Sean Taylor wrote:
Zhonghui Ning wrote:
I can not make WSRP4j working on jetspeed 2(download from CVS). Can 
anyone tell me WSRP4j is available on current Jetspeed 2 or not? Thanks.

Regards,
Zhonghui
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

We plan to integrate WSRP4j + Jetspeed for the final 2.0 release (May 
2005?..)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


WSRP4j is available on current Jetspeed 2 or not?

2005-03-14 Thread Zhonghui Ning
I can not make WSRP4j working on jetspeed 2(download from CVS). Can anyone tell 
me WSRP4j is available on current Jetspeed 2 or not? Thanks.
Regards,
Zhonghui
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


How to use the WSRP ProxyPortlet to display portlets in jetspeed 2 portal via WSRP?

2005-03-11 Thread Zhonghui Ning
I know how to use ProxyPortlet to display portlets in Pluto via WSRP.
In the pluto, preferences(wsrp_portlet_handle and wsrp_producer_id) is
in
/jakarta-tomcat-5.0.28/webapps/pluto/WEB-INF/data/portletentityregistry.xml.
In jetspeed, where to add wsrp_portlet_handle and wsrp_producer_id? I
think
/jakarta-tomcat-5.0.28/webapps/jetspeed/WEB-INF/pages/default-page.psml
is not enough, is right?
Any suggestion or another clarifying thread is perfect for me. Thanks in 
advance.
Regards,
Zhonghui
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


help in error ClassCastException

2005-02-17 Thread Zhonghui Ning
Hello everyone,
I want to implement a portlet in jetspeed 2 + tomcat 5.0.28 + linux. My code can compile but I got a runtime error. The error is java.lang.ClassCastException: org.apache.jetspeed.container.JetspeedPortletConfig.The error part of my code is in the following. 

Any help? Thanks.
Zhonghui
// PortletConfigImpl.java
package com.star.portlet;
import javax.portlet.PortletConfig;
public class PortletConfigImpl implements PortletConfig {
..
}
// StrutsPortlet.java 

package com.star.portlet;
import javax.portlet.PortletConfig; 
public class StrutsPortlet extends GenericPortlet {

   private PortletConfigImpl _portletConfig;
	public void init(PortletConfig config) throws PortletException {
		super.init(config); 
			
		_portletConfig = (PortletConfigImpl)config;  // Error: java.lang.ClassCastException

_editAction = getInitParameter(edit-action);
_helpAction = getInitParameter(help-action);
_viewAction = getInitParameter(view-action);
_copyRequestParameters = GetterUtil.get(
getInitParameter(copy-request-parameters), true);
}
..
}

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Error in ClassCastException

2005-02-17 Thread Zhonghui Ning
Hello everyone,
I want to implement a portlet in jetspeed 2 + tomcat 5.0.28 + linux. My 
code can compile but I got a runtime error after I deploy my portlet in 
jetspeed. The error is java.lang.ClassCastException: 
org.apache.jetspeed.container.JetspeedPortletConfig.The error part of my 
code is in the following.
Any help? Thanks.
Zhonghui

// PortletConfigImpl.java
package com.star.portlet;
import javax.portlet.PortletConfig;
public class PortletConfigImpl implements PortletConfig {
..
}
// StrutsPortlet.java
package com.star.portlet;
import javax.portlet.PortletConfig;
public class StrutsPortlet extends GenericPortlet {
  private PortletConfigImpl _portletConfig;
   public void init(PortletConfig config) throws PortletException {
   super.init(config);
   _portletConfig = (PortletConfigImpl)config;  // Error: 
java.lang.ClassCastException

   _editAction = getInitParameter(edit-action);
   _helpAction = getInitParameter(help-action);
   _viewAction = getInitParameter(view-action);
   _copyRequestParameters = GetterUtil.get(
   getInitParameter(copy-request-parameters), true);
   }
..
}
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]