hi,
the problem has been solved. It sames the cause is my compile
script.After I modified it, all your methods works fine.
Thanks.
On 10/4/07, Xu Xiao <[EMAIL PROTECTED]> wrote:
> hi,
>
> Thanks for all your suggestions. But they didn't work in my program.
> I have commented all log4j code, and the situation remains the
> same:The container process does NOT stop or terminate or print out any
> message.
> In my client side, I got error message :
>
> Error:WSWebCrawlerService initialSubmit() failed :Error processing
> request; nested exception is:
> java.lang.ExceptionInInitializerError
> AxisFault
> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
> faultSubcode:
> faultString: Error processing request; nested exception is:
> java.lang.ExceptionInInitializerError
> faultActor:
> faultNode:
> faultDetail:
> {http://xml.apache.org/axis/}hostname:freedom
>
> Error processing request; nested exception is:
> java.lang.ExceptionInInitializerError
> at
> org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
> at
> org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
> at
> org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
> at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> at
> org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
> at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
> at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
> at
> org.apache.axis.message.addressing.handler.AddressingHandler.processClientResponse(AddressingHandler.java:305)
> at
> org.apache.axis.message.addressing.handler.AddressingHandler.invoke(AddressingHandler.java:110)
> at
> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:190)
> at org.apache.axis.client.Call.invokeEngine(Call.java:2727)
> at org.apache.axis.client.Call.invoke(Call.java:2710)
> at org.apache.axis.client.Call.invoke(Call.java:2386)
> at org.apache.axis.client.Call.invoke(Call.java:2309)
> at org.apache.axis.client.Call.invoke(Call.java:1766)
> at
> hit.pact.crawler.services.wSWebCrawlerService.stubs.bindings.WSWebCrawlerFactoryPortTypeSOAPBindingStub.createResource(WSWebCrawlerFactoryPortTypeSOAPBindingStub.java:224)
> at
> hit.pact.crawler.services.client.WSWebCrawlerClient.getPort(WSWebCrawlerClient.java:75)
> at
> hit.pact.crawler.services.client.WSWebCrawlerClient.<init>(WSWebCrawlerClient.java:81)
> at
> hit.pact.crawler.exec.client.crawler.UrlSubmitter.submitToCrawler(UrlSubmitter.java:246)
> at
> hit.pact.crawler.exec.client.crawler.UrlSubmitter.main(UrlSubmitter.java:444)
>
> must be something wrong when the service was initializing.
>
> by the way, in my service code:
> public class MyService {
>
> static {
> System.out.println("this is a test.");
> //Globals.logger.info("hello");
> <several important initializing operations>
> }
>
> @GridMethod public String submit(String input){...};
>
> }
> in section <several important initializing operations>, I started
> several threads.Does these threads matters? Since the logger has been
> commented,I doubt the container process paused in here.
>