Crm OnDemand error -- org.apache.axis2.AxisFault: Client

Hi,
I am having some problem with the Administrative Services Web service of crm Ondemand . I want to Read the CustomRecordTypes from my crm instance through the web services. I have downloaded the WSDL for that from the crm sites Administrative Services section. While executing the code is throwing the following exeption org.apache.axis2.AxisFault: Client.
The Code I have used to Read the CustomRecordTypes is as follows :
CustomRecordTypeServiceStub service = new CustomRecordTypeServiceStub("https://secure-ausomxiha.crmondemand.com/Services/Integration");
               org.apache.axis2.client.ServiceClient client = service._getServiceClient();
               client.getOptions().setManageSession(true);
               client.getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.HEADER_COOKIE, "jsessionid="+javasessionid);
               client.getOptions().setUserName(username);
               client.getOptions().setPassword(password);                    
               CustomRecordTypeReadAll_Input rec_input = new CustomRecordTypeReadAll_Input();
               CustomRecordTypeReadAll_Output rec_output = new CustomRecordTypeReadAll_Output();                    
               rec_output = service.customRecordTypeReadAll(rec_input);
The Exeption Details is as follows -
org.apache.axis2.AxisFault: Client
     at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:446)
     at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:371)
     at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
     at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
     at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
     at crmondemand.CustomRecordTypeServiceStub.customRecordTypeReadAll(CustomRecordTypeServiceStub.java:735)
     at crmondemand.LogonAction.execute(LogonAction.java:34)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
     at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)
     at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
     at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
     at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
     at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)....................and many more
Please someone help me to resolve this issue.
Thanx in advance.

Pls check your wsdl file. If the wsdl file is wrong, then ServiceBuilder takes the default wsdl and it uses the package structure to create default namespace (which is example.ws in ur case). Check your wsdl for proper binding, port and service declarations.

Similar Messages

  • Exception (org.apache.axis2.AxisFault: Server) when accessing Web-Service

    Hi all,
    I have read already some interesting posts on Java implementation for Oracle CoD Web Services.
    Somehow I am stuck and can't find a way out.
    I try to access the LeadQuery command via the following code:
              String sessionCookie = logon(
                        "https://secure-ausomxapa.crmondemand.com/Services/Integration",
                        username, password);
              LeadStub stub;
              try {
                   stub = new LeadStub(
                             "https://secure-ausomxapa.crmondemand.com/Services/Integration;jsessionid="
                                       + sessionCookie);
                   // ServiceClient client = stub._getServiceClient();
                   // client.getOptions().setManageSession(true);
                   // client.getOptions().setProperty("jsessionid", sessionCookie);
                   // client.getOptions().setUserName(username);
                   // client.getOptions().setPassword(password);
                   LeadQueryPage_Input leadQueryPage_Input = new LeadQueryPage_Input();
                   ListOfLeadQuery listOfLeadQuery = new ListOfLeadQuery();
                   QueryType queryType = new QueryType();
                   queryType.setString("LIKE 'A*'");
                   LeadQuery leadQuery = new LeadQuery();
                   leadQuery.setCompany(queryType);
                   listOfLeadQuery.setLead(leadQuery);
                   leadQueryPage_Input.setListOfLead(listOfLeadQuery);
                   LeadQueryPage_Output leadQueryPage_Output = stub
                             .LeadQueryPage(leadQueryPage_Input);
              } catch (AxisFault e) {
                   e.printStackTrace();
              } catch (RemoteException e) {
                   e.printStackTrace();
              } catch (Exception e) {
                   e.printStackTrace();
                   System.err.println("\n\n\n");
              logoff("https://secure-ausomxapa.crmondemand.com/Services/Integration",
                        sessionCookie);
    Logging In and Out is no problem, runs like music. But whenever LeadQueryPage is called, I just receive the following error:
    org.apache.axis2.AxisFault: Server
         at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:512)
         at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)
         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
         at crmondemand.LeadStub.LeadQueryPage(LeadStub.java:1026)
         at CODconnection.main(CODconnection.java:58)
    I'm using Eclipse 3.4.2 with AXIS2 1.4, and the Eclipse Plug-In for AXIS 1.3 (with some small patch to get it to work).
    I downloaded the custom WSDL from Oracle CoD (CRM On Demand) Admin page and used the AXIS-Wizard in Eclipse to transform it to Java.
    For that, I already tried the -g option (which is "Create everything - Client and Server" in the wizard).
    Anyone has a clue what the problem might be?
    Btw.: I downloaded also V1.0 WSDL to check if that works. Some problem.
    Found out that just the error reporting sucks and at the end the Server missed the correct Authentification.
    Funnily I just did what I read a couple of time. With this small bit of code it works:
                   ServiceClient client = stub._getServiceClient();
                   client.getOptions().setManageSession(true);
                   client.getOptions().setProperty(HTTPConstants.HEADER_COOKIE, "jsessionid="+sessionCookie);
                   client.getOptions().setUserName(username);
                   client.getOptions().setPassword(password);
    -----

    You are missing the end point location. See the sample client below:
    MyHelloMyHelloSOAP11PortStub stub = new MyHelloMyHelloSOAP11PortStub("http://localhost:8080/axis2/services/MyHello");
                   MyHelloMyHelloSOAP11PortStub.SayHello hello = new MyHelloMyHelloSOAP11PortStub.SayHello();
                   hello.setS("ABCD");
                   MyHelloMyHelloSOAP11PortStub.SayHelloResponse resp=stub.sayHello(hello);
                   System.out.println("Response from Web Service "+resp.get_return());

  • Org.apache.axis2.AxisFault: namespace mismatch require

    hello Friends,
    I am doing an Axis2 WebService, i have done every thing like created .arr, Depoyed , i have generated stub , i wrote client every thing is working fine but when i run my client it is showing the following error.
    org.apache.axis2.AxisFault: namespace mismatch require http://example.ws found http://example.ws/xsddo any one have idea why i am getting this error.
    thanQ for any kind of error.
    Han

    Pls check your wsdl file. If the wsdl file is wrong, then ServiceBuilder takes the default wsdl and it uses the package structure to create default namespace (which is example.ws in ur case). Check your wsdl for proper binding, port and service declarations.

  • Exception in thread "main" org.apache.axis2.AxisFault: Error in extracting

    I am getting this exception when I call the web service from the client. Please help me here.
    Exception in thread "main" org.apache.axis2.AxisFault: Error in extracting message properties
         at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:70)
         at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
         at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
         at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
         at com.ttdev.ss.SecureServiceStub.concat(SecureServiceStub.java:182)
         at com.ttdev.ss.SecureClient.main(SecureClient.java:29)
    Caused by: org.apache.rampart.RampartException: Error in extracting message properties
         at org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:386)
         at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61)
         at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64)
         ... 9 more
    Caused by: org.apache.ws.security.WSSecurityException: Error in converting SOAP Envelope to Document; nested exception is:
         java.lang.UnsupportedOperationException: TODO
         at org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Util.java:161)
         at org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:272)
         ... 11 more
    Caused by: java.lang.UnsupportedOperationException: TODO
         at org.apache.axiom.om.impl.dom.DocumentImpl.setStandalone(DocumentImpl.java:415)
         at org.apache.axiom.om.impl.builder.StAXOMBuilder.createDocument(StAXOMBuilder.java:190)
         at org.apache.axiom.om.impl.builder.StAXOMBuilder.<init>(StAXOMBuilder.java:105)
         at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:167)
         at org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Util.java:130)
         ... 12 more
    Client WSDL:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions name="SecureService"
    targetNamespace="http://ttdev.com/ss"
    xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512"
    xmlns:wsp="http://www.w3.org/Submission/2006/SUBM-WS-Policy-20060425"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://ttdev.com/ss"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurityutility-1.0.xsd">
    <wsdl:types>
    <xsd:schema targetNamespace="http://ttdev.com/ss">
    <xsd:element name="concat">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="s1" type="xsd:string"/>
    <xsd:element name="s2" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="concatResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="r" type="xsd:string">
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="concatResponse">
    <wsdl:part name="parameters" element="tns:concatResponse">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="concatRequest">
    <wsdl:part name="parameters" element="tns:concat">
    </wsdl:part>
    </wsdl:message>
    <wsdl:portType name="SecureService">
    <wsdl:operation name="concat">
    <wsdl:input message="tns:concatRequest">
    </wsdl:input>
    <wsdl:output message="tns:concatResponse">
    </wsdl:output>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="SecureServiceSOAP" type="tns:SecureService">
    <wsp:PolicyReference URI="#p1" wsdl:required="true"/>
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="concat">
    <soap:operation soapAction="http://ttdev.com/ss/NewOperation"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="SecureService">
    <wsdl:port name="p1" binding="tns:SecureServiceSOAP">
    <soap:address location="http://localhost:8080/ss/p1"/>
    </wsdl:port>
    </wsdl:service>
    <wsp:Policy wsu:Id="p1">
    <sp:AsymmetricBinding>
    <wsp:Policy>
    <sp:InitiatorToken>
    <wsp:Policy>
    <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/12/securitypolicy/IncludeToken/AlwaysToRecipient">
    <wsp:Policy>
    <sp:WssX509V3Token10/>
    </wsp:Policy>
    </sp:X509Token>
    </wsp:Policy>
    </sp:InitiatorToken>
    <sp:RecipientToken>
    <wsp:Policy>
    <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/12/securitypolicy/IncludeToken/Never">
    <wsp:Policy>
    <sp:WssX509V3Token10/>
    </wsp:Policy>
    </sp:X509Token>
    </wsp:Policy>
    </sp:RecipientToken>
    <sp:AlgorithmSuite>
    <wsp:Policy>
    <sp:TripleDesRsa15/>
    </wsp:Policy>
    </sp:AlgorithmSuite>
    </wsp:Policy>
    </sp:AsymmetricBinding>
    <sp:Wss10>
    <wsp:Policy>
    <sp:MustSupportRefEmbeddedToken/>
    <sp:MustSupportRefIssuerSerial/>
    </wsp:Policy>
    </sp:Wss10>
    <sp:SignedParts>
    <sp:Body/>
    </sp:SignedParts>
    <sp:EncryptedParts>
    <sp:Body/>
    </sp:EncryptedParts>
    <sp:EncryptedElements>
    <sp:XPath>
    //*[local-name()='Signature']
    </sp:XPath>
    </sp:EncryptedElements>
    <sp:SignedSupportingTokens>
    <wsp:Policy>
    <sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/12/securitypolicy/IncludeToken/AlwaysToRecipient"/>
    </wsp:Policy>
    </sp:SignedSupportingTokens>
    </wsp:Policy>
    </wsdl:definitions>

    I think you are asking this question not only on the wrong section but also on the wrong website.
    The error you are refering to is a Axis2 specific exception, you might get the best answer by posting your question to the Axis2 mailing list:
    http://axis.apache.org/axis2/java/core/mail-lists.html
    BTW your exception "java.lang.UnsupportedOperationException: TODO"
    => looks like you have some comment left over in your Web-Service invokation. Actually your WSDL has no Method "TODO" so where should this call route to? I guess you should debug your code that invokes the call. Is there really a method TODO.
    I am also a bit confused with "Client Side WSDL" actually only the server does create a WSDL file, client only reads it (maybe you have some code generator that uses the WSDL to generate some code .. but the client has no WSDL).
    Further you should post a complete working example that can be run by somebody else, espacially with such a specific problem. Otherwise I am afraid hardly anybody will push you to the right direction.
    Sebastian

  • Bad Archive return org.apache.axis2.AxisFault: Deserialisation failed

    We tried to generate stub using Axis2-1.5 tool from SAP WSDL file. We developed the Java client to consume the Web Services with Stub. When we tried to connect and send the required data received the following error.
    Bad Archive return org.apache.axis2.AxisFault: Deserialisation failed
    org.apache.axis2.AxisFault: Deserialisation failed
          at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:517)
          at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:371)
          at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
          at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
          at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
          at mc_style.functions.soap.sap.document.sap_com.Z_BAPI_PARKServiceStub.zBapiParkDocument(Z_BAPI_PARKServiceStub.java:181)
          at com.newgen.wns.util.TestArchiveClient.main(TestArchiveClient.java:275)
    Could you please help us in the same. Client Code and WSDL for Web Service created by our SAP team is attached for your reference.

    Try posting the full stacktrace that you are getting and the relevant code.

  • Org.apache.axis2.AxisFault: Read timed out

    We have web service client generated from wsdl2jave of axis2-1.4.1, we are getting an error on calling webservice operation,  i have manually set timeout at one of the operation invocation, that looks fine now, but we have call so many places, do i need to set time all place same, I am not sure code i have used to set time is correct.
    please advice how to over come the issue, web service has been deployed on WAS, client application started giving this error, after we have installed a patch to address security issue, can we address the issue from code level.
    here is the code added to set timeout
    int timeOutInMilliSeconds = 3 * 60 * 1000; // Two minutes
      stub._getServiceClient().getOptions().setProperty(HTTPConstants.SO_TIMEOUT, new Integer(timeOutInMilliSeconds));
      stub._getServiceClient().getOptions().setProperty(HTTPConstants.CONNECTION_TIMEOUT, new Integer(timeOutInMilliSeconds));
      //end here
      GetPermittedTypesResponse response = stub.getPermittedTypes(get);
         permittedTypes = response.getReturn();
    Here is error stack trace
    org.apache.axis2.AxisFault: Read timed out
      at org.apache.axis2.AxisFault.makeFault(Unknown Source)
      at org.apache.axis2.transport.http.HTTPSender.sendViaPost(Unknown Source)
      at org.apache.axis2.transport.http.HTTPSender.send(Unknown Source)
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(Unknown Source)
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Unknown Source)
      at org.apache.axis2.engine.AxisEngine.send(Unknown Source)
      at org.apache.axis2.description.OutInAxisOperationClient.send(Unknown Source)
      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Unknown Source)
      at org.apache.axis2.client.OperationClient.execute(Unknown Source)
      at com.ecs.services.EcsObjectServiceStub.instantiateDocument(Unknown Source)
      at com.ey.edocs.ecs.client.EcsObjectClient.instantiateDocument(Unknown Source)
      at com.ey.edocs.ldi.helpers.ObjectHelper.createEcsObject(Unknown Source)
      at com.ey.edocs.ldi.helpers.ObjectHelper.createEcsEmail(Unknown Source)
      at com.ey.edocs.ldi.views.Import$16.run(Unknown Source)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Unknown Source)
    Caused by: java.net.SocketTimeoutException: Read timed out
      at java.io.BufferedInputStream.fill(Unknown Source)
      at java.io.BufferedInputStream.read(Unknown Source)
      at org.apache.commons.httpclient.HttpParser.readRawLine(Unknown Source)
      at org.apache.commons.httpclient.HttpParser.readLine(Unknown Source)
      at org.apache.commons.httpclient.HttpConnection.readLine(Unknown Source)
      at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(Unknown Source)
      at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(Unknown Source)
      at org.apache.commons.httpclient.HttpMethodBase.readResponse(Unknown Source)
      at org.apache.commons.httpclient.HttpMethodBase.execute(Unknown Source)
      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
      at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
      at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
      at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(Unknown Source)
      ... 14 more

    Baseline.grf is not able to connect to Endeca Server. Make sure Endeca Server has started correctly and then run baseline.grf graph.
    Regards,
    Srikanth

  • Org.apache.axis2.AxisFault: samples.quickstart.service.axiom.StockQuoteServ

    I am trying to run the axiom StockQuoteService sample as provided in the axis2-1.2 download. the AXIOMClient.java runs fine under tomcat 6.x and jre 6.x on my PC.
    After that I try to deploy the StockQuoteService.aar file on the tomcat running in a solaris m/c. The version of tomcat, jre are the same. I matched all the axis2*.jars and the axiom-*.jars in the axis2/lib and tomcat/lib. I am able to have the access to the services page (http://<ip>:8080/axis2/services.., and display the wsdl file for the StockQuoteService using the URL.
    But When I try to use the service using the AXIOMClient.java, it gives the following exception:
    [java] send getPricePayload: <tns:getPrice xmlns:tns="http://quickstart.samples/xsd"><tns:symbol>WSO</tns:symbol></tns:getPrice>
    [java] send updatePayload: <tns:update xmlns:tns="http://quickstart.samples/xsd"><tns:symbol>WSO</tns:symbol><tns:price>123.42</tns:price></tns:update>
    [java] done
    [java] org.apache.axis2.AxisFault: samples.quickstart.service.axiom.StockQuoteService
    [java] at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
    [java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)
    [java] at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
    [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:520)
    [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:500)
    [java] at samples.quickstart.clients.AXIOMClient.main(AXIOMClient.java:73)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [java] at java.lang.reflect.Method.invoke(Unknown Source)
    [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
    [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
    [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:764)
    [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)
    [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
    [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
    [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [java] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [java] at java.lang.reflect.Method.invoke(Unknown Source)
    [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [java] at org.apache.tools.ant.Task.perform(Task.java:348)
    [java] at org.apache.tools.ant.Target.execute(Target.java:357)
    [java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [java] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [java] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [java] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
    Both the client and the server code is unchanged. The application runs fine on my PC but gives the above error on the solaris m/c. Can somebody give me some pointers what to look for?
    Thanks in advance
    Deepak

    I am also facing the same problem. can any body help us?
    Thanks
    jaya

  • Exception in thread "main" org.apache.axis2.AxisFault: Exception occurred w

    Hi,
    My webservice is
    public List getRes(int a, int b) throws Exception {
    List list = new ArrayList();
    list.add("ddd");
    list.add("ddd");
    list.add("ddd");
    System.out.println(list);
    return list;
    I am using axis2 code generator to generate stub.
    I am using client
    HelloWorldStub stublist=new HelloWorldStub();
         HelloWorldStub.GetRes requestlist = new HelloWorldStub.GetRes();
         requestlist.setA(1);
         requestlist.setB(2);
         GetResResponse responselist = stublist.getRes(requestlist);
         System.out.println("Response : " + responselist.get_return());
    But this service is throwing exception
    Exception in thread "main" org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method getRes
         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:271)
         at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
         at com.HelloWorldStub.getRes(HelloWorldStub.java:246)
         at com.Client.main(Client.java:51)
    Is there any solution for this exception
    Thanks in advance
    Regards
    Ruchira

    You are missing the end point location. See the sample client below:
    MyHelloMyHelloSOAP11PortStub stub = new MyHelloMyHelloSOAP11PortStub("http://localhost:8080/axis2/services/MyHello");
                   MyHelloMyHelloSOAP11PortStub.SayHello hello = new MyHelloMyHelloSOAP11PortStub.SayHello();
                   hello.setS("ABCD");
                   MyHelloMyHelloSOAP11PortStub.SayHelloResponse resp=stub.sayHello(hello);
                   System.out.println("Response from Web Service "+resp.get_return());

  • Org.apache.axis2.AxisFault: The service cannot be found for the endpoint

    Hi Team,
    I'm getting following error while runnig WebServices
    [ERROR] The service cannot be found for the endpoint reference (EPR) /TestServices/services
    org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) /TestServices/services
    Please guide me where i went wrong
    Thanks in Advance
    Ravi

    I am also facing the same problem. can any body help us?
    Thanks
    jaya

  • Apache.axis2.AxisFault: com.ctc.wstx.exc.WsUnexpCharExcep: Unexpted char ""

    Dear All,
    I amfacing the following Exception when trying to call a web service to contact, i generated stubs using Apache axis2-1.5.4 and am using eclipse Galelio
    org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers
    at [row,col {unknown-source}]: [1,50]
         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
         at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:123)
         at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
         at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
         at crmondemand.ContactStub.contactQueryPage(ContactStub.java:231)
         at com.hcl.crmod.SCODOperations.queryContacts(SCODOperations.java:141)
         at com.hcl.util.Test.main(Test.java:31)
    Caused by: org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers
    at [row,col {unknown-source}]: [1,50]
    Thanks and Reagrds
    Pappu

    TheCycoONE wrote:
    Occasionally, under what appears to be high or persistent load, this connection errors out, which it didn't do with ColdFusion 9.
    Seems like you have upgraded to CF 10 or CF11
    Try tuning CF and jvm
    HTH
    Thanks
    VJ

  • Error with  org/apache/axis/AxisFault

    Hello Hi:
    I have server over Linux Red Hat Enterprise. and other server in local the if connect with the other server the servers are weblogic but need a create a webservice the that need the .jar axis.jar but not find the class AxisFault, and generate the next error.
    java.lang.NoClassDefFoundError: org/apache/axis/AxisFault
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at com.saident.bea.es.epcps.EPCWebServiceCaller.checkIt(EPCWebServiceCaller.java:64)
         at jsp_servlet._custom._corp.__imprimirepc._jspService(__imprimirepc.java:205)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hphis.corp.hibernate.filter.HibernateSessionFilter.procesarPeticion(HibernateSessionFilter.java:203)
         at com.hphis.corp.hibernate.filter.HibernateSessionFilter.sessionPerRequest(HibernateSessionFilter.java:181)
         at com.hphis.corp.hibernate.filter.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hphis.corp.filters.login.LoginFilter.doFilter(LoginFilter.java:259)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hphis.corp.filters.logueo.LogueoFilter.doFilter(LogueoFilter.java:66)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hphis.corp.filters.gzip.GZipFilter.doFilter(GZipFilter.java:56)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    Hi,
    Unable to access workspace. I have tried reconfiguring web server also it has not worked.
    If i try the work space using URL "http://<Server Name>:19000/workspace/" it throws the following error:-
    ==================
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    ===================
    Can you please advise
    Regards,
    Ramachandran J

  • Error 500--Internal Server Error  org.apache.tapestry

    Hi.
    I am getting the following error when access an application. Application give no error during deployment. Only get this error when trying to logon to the application.
    How do I resolve this issue?
    Thanks
    Sayef
    Error 500--Internal Server Error
    org.apache.tapestry.ApplicationRuntimeException: Could not load class com.vitechinc.v3.core.view.HomeService from weblogic.utils.classloaders.ChangeAwareClassLoader@12816cb finder: weblogic.utils.classloaders.CodeGenClassFinder@19a917d annotation: [email protected]: com.vitechinc.v3.core.view.HomeService
         at org.apache.tapestry.util.DefaultResourceResolver.findClass(DefaultResourceResolver.java:107)
         at org.apache.tapestry.engine.AbstractEngine.createServiceMap(AbstractEngine.java:1868)
         at org.apache.tapestry.engine.AbstractEngine.setupForRequest(AbstractEngine.java:1346)
         at com.vitechinc.core.VitechEngine.setupForRequest(VitechEngine.java:53)
         at com.vitechinc.v3.core.view.V3Engine.setupForRequest(V3Engine.java:282)
         at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:824)
         at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:197)
         at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:158)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.vitechinc.core.locale.ExtractLocaleFilter.doFilterInternal(ExtractLocaleFilter.java:43)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:106)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3368)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: java.lang.ClassNotFoundException: com.vitechinc.v3.core.view.HomeService
         at java.lang.Class.forName(Ljava.lang.String;ZLjava.lang.ClassLoader;)Ljava.lang.Class;(Unknown Source)
         at org.apache.tapestry.util.DefaultResourceResolver.findClass(DefaultResourceResolver.java:103)
         ... 30 more

    The "com.vitechinc.v3.core.view.HomeService" class isn't part of the deployment package.

  • Webaccess on SLES10: ERROR org.apache.catalina.startup.HostC

    Hi,
    How to solve:
    ERROR org.apache.catalina.startup.HostConfig - Error deploying web application directory gw
    java.lang.UnsupportedClassVersionError: com/novell/webaccess/WebAccessServlet (Unsupported major.minor version 49.0)
    While java -version shows:
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build pxi32dev-20061002a (SR3) )
    IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20061001 (JIT enabled)
    J9VM - 20060915_08260_lHdSMR
    JIT - 20060908_1811_r8
    GC - 20060906_AA)
    JCL - 20061002
    And the manual says:
    OES 2 Linux / SLES 10
    Apache 2.2 plus:
    Tomcat 5 or later
    Tomcat 5 is included with the Linux operating system.
    JRE 5 or later
    ModProxy Module
    And rpm -qa | grep java
    java-1_5_0-ibm-1.5.0_sr3-13.10
    With regards,
    Alex

    On 1/30/2012 1:56 AM, twslex3 wrote:
    >
    > Hi,
    >
    > How to solve:
    >
    > ERROR org.apache.catalina.startup.HostConfig - Error deploying web
    > application directory gw
    > java.lang.UnsupportedClassVersionError:
    > com/novell/webaccess/WebAccessServlet (Unsupported major.minor version
    > 49.0)
    >
    > While java -version shows:
    > java version "1.5.0"
    > Java(TM) 2 Runtime Environment, Standard Edition (build
    > pxi32dev-20061002a (SR3) )
    > IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32
    > j9vmxi3223-20061001 (JIT enabled)
    > J9VM - 20060915_08260_lHdSMR
    > JIT - 20060908_1811_r8
    > GC - 20060906_AA)
    > JCL - 20061002
    >
    > And the manual says:
    > OES 2 Linux / SLES 10
    > Apache 2.2 plus:
    > Tomcat 5 or later
    > Tomcat 5 is included with the Linux operating system.
    > JRE 5 or later
    > ModProxy Module
    >
    > And rpm -qa | grep java
    > java-1_5_0-ibm-1.5.0_sr3-13.10
    >
    >
    > With regards,
    >
    > Alex
    >
    >
    Sorry, you are not running Java 5. I know you think you are, and I
    don't know how to prove there is an older Java (probably 1.42) installed
    somewhere). But there is
    > java.lang.UnsupportedClassVersionError:
    > com/novell/webaccess/WebAccessServlet (Unsupported major.minor version
    > 49.0)
    This error can ONLY occur if the JVM is running too old a version. As it
    happens 49.0 is 5.0 (50 is 6.0, 51 is 7.0).
    java -version doesn't prove much. (that proves a version of java you
    have is 1.5, but not that tomcat is running it). Go to the tomcat dirs,
    find the bin directory and try running startup.sh directly there. IIRC
    it spits out the JAVA_HOME var it is using.

  • Plz help me from the error - "org.apache.jasper.jasperException"

    I am getting error with this code ,plz help me out ,i wanna correct this urgently
    I've set the Environment variables JAVA_HOME and
    CATALINA_HOME and here is my coding and error report
                   hello.html
    <head><title>Database</title></head>
    <body>
    <form method="get" action="add.jsp">
    <pre>
    <center>Enter ur Name :<input type="text" name="nam" >
    <br><input type="submit" value=" Add ">
    </center></pre>
    </form>
    </body>
    </html>
                   add.jsp
    <%@ page language="java" %>
    <%@ page import="java.sql.*" %>
    <html>
    <head><title>JSP</title></head>
    <%! String name;
    Connection con=null;
    Statement st=null;
    %>
    <body>
    <% name=request.getParameter("nam");
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    //I have created a User DSN sjp
    con = DriverManager.getConnection("jdbc:odbc:sjp");
    st = con.createStatement();
    st.executeUpdate("insert into detail values('"+name+"')");
    catch(Exception e)
    con.close();
    st.close();
    %>
    <h1> Name Added</h1>
    </body>
    </html>
                   Error
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:207)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    root cause
    java.lang.NullPointerException     at org.apache.jsp.add_jsp._jspService(add_jsp.java:66)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    Apache Tomcat/4.1.31

    hi,
    when i use the code
    if(st != null)st.close();
    if(con != null ) con.close();
    that works good ,the old error has been corrected.
    but it's now throwing an SQLException[b] "datasource name not found and default driver not specified" why this occurs and also can u give me the explanation for the old error????
    I am sure that i have created an user DSN, i am 100% sure about it .even though there is an error.
    Deepak.
    Deepak.C

  • Error org.apache.jasper.JasperException: null

    Hello,
    I am working with an application trying to execute something in a JSP (or servlet too, getting the same error) and at the time the JSP finish all the work and try to redirect the response, I got the error below.
    Please any idea would be very, very, helpful.
    The code executed is:
    request.getRequestDispatcher("/ThresholdsTransactions.jsp").forward(request,response);The page ThresholdsTransactions.jsp exist, is the source where I call the page that give me the error.
    The error is:
    org.apache.jasper.JasperException: null
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jsp.StatusHandler_jsp._jspService(StatusHandler_jsp.java:111)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    root cause
    java.lang.NumberFormatException: null
         java.lang.Integer.parseInt(Integer.java:436)
         java.lang.Integer.<init>(Integer.java:609)
         org.apache.jsp.ThresholdsTransactions_jsp._jspService(ThresholdsTransactions_jsp.java:101)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jsp.StatusHandler_jsp._jspService(StatusHandler_jsp.java:111)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    root cause
    java.lang.NumberFormatException: null
    java.lang.Integer.parseInt(Integer.java:436)It certainly appears that you're using Integer.parseInt somewhere, if you're not, then maybe a call you're making is. Maybe use some SOP's to try and trace the line at which this is occuring?

Maybe you are looking for

  • Can two people access the same online number at th...

    Me and my dad share the same online number for friends and colleagues to call us, but it seems that the calls that come through to me are ad-hoc whilst my dad gets every call on his system.  I just wondered if this is because 2 systems are trying to

  • Files are missing in the Catalog Folders

    I have upgreaded to Elements 10 and when doing the catalog conversion many of the folders in the new catalog are missing the files(photos). When I right-click on those folders and try to add the files I can see the missing files attempting to transfe

  • My Aperture Library won't open.

    It has been a week of trying to recover my 250gb aperture library. I have followed the support given by apple to the "t". To no avail. I've repaired permissions, repaired database, deleted user preferences, moved the user created presets, deferred pr

  • Create Bussiness Object in ECC 6.0

    Dear all, can any body tell me the detail. How we create a bussiness object if i have only ECC 6.0 version. have any another tool or licence is required. i m new in this field. Plz. help me. Shalini

  • Domain guessing in Firefox 4 doesn't work

    One reason I jumped back to Firefox 3.X from 4 beta was the fact domain guessing did not work. Back to 3.X and it started working again. The settings in 4's about:config are there and are set to "true". I just doesn't.