[JBoss AS 7 Development] - StackOverflowError with JSF2.0 in jbossas7.1.1.Final
by Naveen
Naveen [https://community.jboss.org/people/javarebel] created the discussion
"StackOverflowError with JSF2.0 in jbossas7.1.1.Final"
To view the discussion, visit: https://community.jboss.org/message/728136#728136
--------------------------------------------------------------
I am trying to run a JSF2.0 application in Jboss AS7.1.1.Final. I am getting StackOverFlowException.
Here is the Exception I am getting:
javax.servlet.ServletException
javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
*root cause*
java.lang.StackOverflowError
java.util.concurrent.ConcurrentHashMap$Segment.getFirst(ConcurrentHashMap.java:312)
java.util.concurrent.ConcurrentHashMap$Segment.get(ConcurrentHashMap.java:336)
java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:769)
com.sun.faces.util.ExpiringConcurrentCache.get(ExpiringConcurrentCache.java:95)
com.sun.faces.facelets.impl.DefaultFaceletCache.getFacelet(DefaultFaceletCache.java:121)
com.sun.faces.facelets.impl.DefaultFaceletCache.getFacelet(DefaultFaceletCache.java:62)
i tried using maven as well as Jboss Eclipse Tools for Indigo. Both gave me same StackOverFlowException.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/728136#728136]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 8 months
[JBoss Web Services Development] - Genereate WSDL does contain information of static fields
by navi ghag
navi ghag [https://community.jboss.org/people/navighag] created the discussion
"Genereate WSDL does contain information of static fields"
To view the discussion, visit: https://community.jboss.org/message/728082#728082
--------------------------------------------------------------
Hi
I am building a web service using jboss 4.2.2. I have a web method which accepts an object of type Contact.
Contact class further has a member variable of type ContactTypeEnum(see explanation below)
private java.lang.String _value_;
private static java.util.HashMap _table_ = new java.util.HashMap();
public static final java.lang.String _Management = "Management";
public static final java.lang.String _IT = "IT";
public static final ContactTypeEnum Managemant = new ContactTypeEnum(_Management);
public static final ContactTypeEnum IT = new ContactTypeEnum(_IT);
protected ContactTypeEnum(java.lang.String value) {
_value_ = value;
_table_.put(_value_,this);
}
........................................................
But in generated WSDL I get
<xs:complexType name="contactTypeEnum">
<xs:sequence/>
There is no information about the various fileds available in class ContactTypeEnum.
Any ideas???
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/728082#728082]
Start a new discussion in JBoss Web Services Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 9 months
[JBoss ESB Development] - Client side SOAPHandlers
by Rajnish Kumar
Rajnish Kumar [https://community.jboss.org/people/rajnish.kumar.76] created the discussion
"Client side SOAPHandlers"
To view the discussion, visit: https://community.jboss.org/message/727723#727723
--------------------------------------------------------------
Hi,
My environment details :-
EnterprisePlatform-4.3.0.GA_CP10
jdk1.6.0_30
jbossesb-4.10
I am trying a simple client side SOAP handler. It's not getting called.
*Client Side Service (generated using wsconsume). I have added @HandlerChain annotation.*
...
...
@WebServiceClient(name = "WSSecurityService", targetNamespace = " http://com.fnb.ws.test/pojo/wssecurity http://com.fnb.ws.test/pojo/wssecurity", wsdlLocation = "file:/C:/Users/rkumar/workspace/JBOSSWSandESB\\WebContent\\WEB-INF\\wsdl/WSSecurityService.wsdl")
@HandlerChain(file = "WEB-INF/clienthandler.xml")
public class WSSecurityService
extends Service
{
...
...
*clienthandler.xml :-*
<?xml version="1.0" encoding="UTF-8"?>
<handler-chains xmlns=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee">
<handler-chain runAt="client">
<handler>
<handler-class>com.fnb.ws.test.myClientSOAPHandler</handler-class>
</handler>
</handler-chain>
</handler-chains>
*WS client jso code fragment :-*
<%
try {
WSSecurityService service = new WSSecurityService();
WSSecurity proxy = (WSSecurity)service.getWSSecurityPort();
((StubExt)proxy).setConfigName("Standard WSSecurity Client");
// invoke methods
System.out.println(proxy.testOperation1("Called from jsp Client"));
} catch (Exception e) {
out.println("Caught Exception: " + e);
}
%>
Call succeeds, I can see the logs from service but client side SOAPHandler is not invoked.
Can anyone tell me what needs to be changed. any help on reading material about setting up handler on server and client side would be appreciated.
Cheers,
-Rajnish
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/727723#727723]
Start a new discussion in JBoss ESB Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 9 months