[Beginners Corner] - Re: Deploying HelloWorld IPC in 2.2 (configed for 2.4)
by trupoet
Anyone?
I checked SVN but only seems to be a 2.4 version of the IPC portlet. No 2.2. I don't see any options in the build file to make a 2.2 version either.
The error I'm getting is: (bottom of stack trace)
| 16:35:10,577 WARN [ServiceController] Problem starting service portal:service=ListenerService,type=ipc_listener
| java.lang.ClassCastException: org.jboss.portlet.hello.HelloWorldPortletB$Listener
| at org.jboss.portal.core.event.PortalEventListenerServiceImpl.startService(PortalEventListenerServiceImpl.java:101) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
| at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:181)
| at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:86)
| at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
|
Then at the end of the console file:
| 16:39:41,281 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: portal:service=ListenerService,type=ipc_listener
| State: FAILED
| Reason: java.lang.ClassCastException: org.jboss.portlet.hello.HelloWorldPortletB$Listener
| I Depend On:
| portal:service=ListenerRegistry
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: portal:service=ListenerService,type=ipc_listener
| State: FAILED
| Reason: java.lang.ClassCastException: org.jboss.portlet.hello.HelloWorldPortletB$Listener
| I Depend On:
| portal:service=ListenerRegistry
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974376#3974376
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974376
19 years, 7 months
[JBoss Seam] - Not able to create seam objects.
by skr
When i try to create a seam backing bean obj ref in ActionListener server throwing exception (Exception while invoking expression #{reviewDetailAction.listingReviewDetailEvent})
What went wrong. Other seam objects are working fine. what special to this specific object.
If i keep this, i get exception. if i comment, no exception, Y? Any Ideal, Please help me.
@In
private SuppressDetail suppressDetail;
@Name("reviewDetailAction")
@Scope(SESSION)
public class ReviewDetailAction {
@DataModel
private List reviews;
@DataModel
private List list;
//@In
//private SuppressDetail suppressDetail;b]
.....
..
....
..............
.......
}
@Name ("suppressDetail")
@Scope(SESSION)
public class SuppressDetail implements Serializable {
....
...
........
..
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974375#3974375
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974375
19 years, 7 months
[JBossWS] - NPE in wstools, wsdl-java, unwrap=true
by klease
I have another case which generates an exception when running wsdl-java using the unwrap option. In this case, the wsdl was actually generated by wstools itself from java-wsdl. For a method with a void return it has generated this wsdl fragment:
<complexType name='logoutUserResponse'>
| <sequence/>
| </complexType>
This generates the following exception
Exception in thread "main" java.lang.NullPointerException
at org.jboss.ws.tools.WSDLToJava.unwrapResponse(WSDLToJava.java:316)
at org.jboss.ws.tools.WSDLToJava.getReturnType(WSDLToJava.java:555)
at org.jboss.ws.tools.WSDLToJava.appendMethods(WSDLToJava.java:372)
at org.jboss.ws.tools.WSDLToJava.createSEIFile(WSDLToJava.java:512)
at org.jboss.ws.tools.WSDLToJava.createSEI(WSDLToJava.java:534)
at org.jboss.ws.tools.WSDLToJava.generateSEI(WSDLToJava.java:188)
at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:329)
at org.jboss.ws.tools.WSTools.process(WSTools.java:138)
at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
at org.jboss.ws.tools.WSTools.main(WSTools.java:61)
--------------------------------------------------
My environment is linux 2.6.3 (mandrake), using jboss 4.0.4.GA, jbossws-1.0.3, jdk 1.5.0_07.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974371#3974371
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974371
19 years, 7 months