[Installation, Configuration & DEPLOYMENT] - Silent application server crash with jboss-4.0.3SP1
by sachin.mohan@kbcfp.com
On Solaris x86 5.10
We have production JBoss deployment where we are running it in three different configurations -
Cluster 1: 2 AS nodes - JMS hosting (just Queue and Topics registered here)
Cluster 2: 2 AS nodes - Core Java service (Remote method invocations over JMS mostly)
Cluster 3: 3 AS nodes - Enterprise java services hosting mostly entity beans, one stateful session bean and a few stateless session beans
Cluster 2 is a purely symmetrical cluster. Cluster 3 on the other hand is not as some state, which is not transferable amongst servers, is kept. For some reason one or another of the Cluster 3 nodes would crash for no reason silently. Cluster 2 (or 1) never have such problems.
There is no stack and no symptoms as to why this is happening. We only know when the users complain about losing connectivity. We tend to blame it on the garbage collection sometimes as this happens around the time Java concurrent GC's promotion fails and a stop the world collection happens. Without any manual intervention (like stop being called), jboss starts undeploying all packages.
Is this a known issue? If not, would anyone suggest ideas to debug this weird occurrence. Every week we will have at least one of the three servers going down.
I will add the log (gc,console and server) as soon as the next crash happens (hopefully it will happen again this week as usual.)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140260#4140260
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140260
18 years
[JBossWS] - Writing a WS cliente
by rinconmaradona
Hi all,
I'm trying to write a Hello World client for a deployed web service. This subject was addressed a year ago by GenesisD, but the problem was never solved in the forum.
Any way, I hope you can help me, my client:
package demo;
|
| import java.net.URL;
|
| import javax.xml.namespace.QName;
| import javax.xml.rpc.Service;
| import javax.xml.rpc.ServiceFactory;
|
| public class demoCliente
| {
| public static void main(String[] args) throws Exception
| {
| String endpointURL = "http://localhost:8080/orquestador/OrquestadorWS?wsdl";
| URL wsdlURL = new URL(endpointURL);
|
| String targetNS = "http://webservices.orquestador.cupi2.uniandes/jaws";
| QName serviceName = new QName(targetNS, "IOrquestadorWSService");
|
| ServiceFactory factory = ServiceFactory.newInstance();
| Service service = factory.createService(wsdlURL, serviceName);
|
| IOrquestadorWS orquestador = (IOrquestadorWS) service.getPort(IOrquestadorWS.class);
| orquestador.receiveItemInformation("Algo");
|
| }
| }
The error the cliente produces:
Exception in thread "main" java.lang.NoSuchMethodError: org.jboss.ws.utils.JBossWSEntityResolver.getEntityMap()Ljava/util/Map;
| at org.jboss.ws.utils.JBossWSEntityResolver.resolveNamespaceURI(JBossWSEntityResolver.java:65)
| at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:164)
| at org.jboss.ws.metadata.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:227)
| at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:118)
| at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145)
| at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:273)
| at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:110)
| at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:82)
| at org.jboss.ws.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:96)
| at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157)
| at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128)
| at demo.demoCliente.main(demoCliente.java:20)
|
I have cofirmed that this method exists in the class JBossEntityResolver and it's inherited by JBossWSEntityResolver. All of this in the library jbossall-client.jar. THX!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140247#4140247
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140247
18 years