Parsing error when running a SOAP client

New to SOAP. Tring to get get it up an running using some of the Oreilly examples from Java and XML. Anyone with any suggestions to fix the error I am getting. Thanx in advance.
1>This is my simple SAX client:
package xml;
import java.net.URL;
import java.util.Vector;
import org.apache.soap.Constants;
import org.apache.soap.Fault;
import org.apache.soap.rpc.Call;
import org.apache.soap.SOAPException;
import org.apache.soap.rpc.Parameter;
import org.apache.soap.rpc.Response;
public class CDAdder {
public void add(URL url, String title, String artist) throws SOAPException {
System.out.println("Adding CD titled '" + title + "' by '" + artist + "'");
//Build the call object
Call call = new Call();
call.setEncodingStyleURI("urn:cd-catalog");
call.setMethodName("addCD");
call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
//Setup the parameters
Vector params = new Vector();
params.addElement(new Parameter("title",String.class,title,null));
params.addElement(new Parameter("artist",String.class,artist,null));
call.setParams(params);
//Invoke the call
Response response;
response = call.invoke(url,"");
if(!response.generatedFault()) {
System.out.println("Successful CD Addition");
} else {
Fault fault = response.getFault();
System.out.println("Error encountered: " + fault.getFaultString());
public static void main(String[] args) {
try {
URL url = new URL("http://localhost:8081/soap/servlet/rpcrouter");
String title = "Riding the Midnight Train";
String artist = "Doc Watson";
CDAdder adder = new CDAdder();
adder.add(url, title, artist);
} catch(Exception e) {
e.printStackTrace();
2>My service:
package javaxml2;
import java.util.Hashtable;
public class CDCatalog {
private Hashtable catalog;
public CDCatalog() {
catalog = new Hashtable();
catalog.put("Nickel Creek", "Nickel Creek");
catalog.put("Let it Fall", "Sean Watkins");
catalog.put("Aerial Boundaries", "Michael Hedges");
catalog.put("Taproot", "Michael Hedges");
public void addCD(String title, String artist) {
if ((title == null) || (artist==null)) {
throw new IllegalArgumentException("Title or Artist cannot be null.");
catalog.put(title, artist);
public String getArtist(String title) {
if (title == null) {
throw new IllegalArgumentException("Title cannot be null.");
return (String)catalog.get(title);
public Hashtable list() {
return catalog;
3>My deployement descriptor:
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:cd-catalog"
>
<isd:provider type="java"
scope="Application"
methods="addCD getCD list"
>
<isd:java class="javaxml2.CDCatalog" static="false" />
</isd:provider>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
</isd:service>
4>I have deployed the SOAP Service:
D:\XML-RPC\javaxml2>java org.apache.soap.server.ServiceManagerClient http://loca
lhost:8081/soap/servlet/rpcrouter deploy xml/CDCatalogDD.xml
D:\XML-RPC\javaxml2>java org.apache.soap.server.ServiceManagerClient http://loca
lhost:8081/soap/servlet/rpcrouter list
Deployed Services:
urn:cd-catalog
D:\XML-RPC\javaxml2>
Error when I try using the service:FYI: I am running the client with JBuilder 2005
Adding CD titled 'Riding the Midnight Train' by 'Doc Watson'
Error encountered: parsing error: org.xml.sax.SAXParseException: The value of the attribute "prefix="xmlns",localpart="ns1",rawname="xmlns:ns1"" is invalid. Prefixed namespace bindings may not be empty.

call.setEncodingStyleURI("urn:cd-catalog");
in the SOAP client has to be
call.setTargetObjectURI("urn:cd-catalog");

Similar Messages

  • Error when running web service client (WSDD)

    Guys,
    I'm building a web service sample with WSDD method. I've successfully deployed the server-side but when i ran the client class there's error messages i received like below:
    Exception in thread "main" AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: org.xml.sax.SAXException: Bad envelope tag: html
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Bad envelope tag: html
         at org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:71)
         at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
         at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at com.git.webservices.practice.calculator.ws.CalculatorSoapBindingStub.add(CalculatorSoapBindingStub.java:118)
         at com.git.webservices.practice.CalcTest.main(CalcTest.java:11)
         {http://xml.apache.org/axis/}hostname:ceilbleu
    org.xml.sax.SAXException: Bad envelope tag: html
         at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at com.git.webservices.practice.calculator.ws.CalculatorSoapBindingStub.add(CalculatorSoapBindingStub.java:118)
         at com.git.webservices.practice.CalcTest.main(CalcTest.java:11)
    Caused by: org.xml.sax.SAXException: Bad envelope tag: html
         at org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:71)
         at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
         at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         ... 10 more
    Can anyone tell me what i've to do to resolve this problem?
    BR,
    Benz.

    Cant you paste some of your code, formatted in code tags? It looks like there is a problem passing some of the XMl response, it doesnt like a tag html.
    If you post some code somebody might actually be able to help you.

  • Corba error when running rich clients in 3-tier mode.

    Hello
    I am dealing with an Error when running Rich Clients (WebI and DeskI) with 3-tier ODBC connection to the server.
    The client does come up and I'm able to create the query but when the data in refreshed I do get the error:
    A database error occured. The database error text is: (CS) "CORBA Initialization failed". (WIS 10901).
    I have a test server which I'm able to do this kind of connection without a problem but when I try to connect to the Prod server in 3-tier data connection mode throught the server I get this error.
    My setup is:
    BO XI R 3.1 FP. 2.1
    Clients are also updated with FP 2.1
    The data sources are Oracle and Teradata.
    Best regards,
    Hjortur.

    Hi Guys,
    I am facing same error when I run the report from CMC. Error is like u201CThe database error text is: (CORBA) "Error on Executeu201D. (WIS 10901)u201DEven I have re-started the connection server but bad luck.
    I would like to appreciate if someone help me out for the same.
    Thanks in advance..!!
    Thanks & Regards,
    Keyur Modi | Functional Consultant Enterprise Solutions
    TATA Technologies, Pune
    m: +91-9769855899
    website: www.tatatechnologies.com

  • Process chains get an error when run analysis process

    When my PRD system‘s process chains run analysisi process, I  gets below error message:
    Error occurred when starting the parser: Error when opening an RFC connection (FUNCTION: 'R
    Message no. BRAINOLAPAPI011
    Diagnosis
    Failed to start the MDX parser.
    System Response
    Error when opening an RFC connection (FUNCTION: 'R
    Procedure
    Check the Sys Log in Transaction SM21 and test the TCP-IP connection MDX_PARSER in Transaction SM59.
    It's OK when i test the TCP-IP connection MDX_PARSER in Transaction SM59.
    The Sys Log in Transaction SM21(error part):
    M Wed Mar 19 09:22:50 2014
    M  *** ERROR => ThPOpen: ExecPopen("/usr/sap/BWP/DVEBMGS00/exe/tp" bwprd sapgw00 18933904 IDX=35, r, ..) returned -14 [thxxexec.c
    M  {root-id=532810645F5D12A0E1008000C0A8642F}_{conn-id=5328109B5F5D12A0E1008000C0A8642F}_5
    A  RFC 1878  CONVID 18933904
    A   * CMRC=0 DATA=0 STATUS=0 SAPRC=0 RfcExecProgramKernel RfcRaiseErrorMessage cmd could not be started by OS (rc = 1)
    A  RFC> ABAP Programm: SAPLSTPA (Transaction: )
    A  RFC> User: JY-LKZ (Client: 900)
    A  RFC> Destination: CALLTP_AIX (handle: 8, DtConId: 530F4E5C30AF4550E1008000C0A8642E, DtConCnt: 0, ConvId: ,)
    A  RFC SERVER> RFC Server Session (handle: 1, 68443927, {5328109B-5F5D-12A0-E100-8000C0A8642F})
    A  RFC SERVER> Caller host:
    A  RFC SERVER> Caller transaction code: STMS (Caller Program: SAPLTMSC)
    A  RFC SERVER> Called function module: TMS_CI_START_SERVICE
    A  *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1887
    FUNCTION: 'RfcExecProgramKernel'
    RfcRaiseErrorMessage cmd could not be started by OS (rc = 1)
    PROG ="/usr/sap/BWP/DVEBMGS00/exe/tp" bwprd sapgw00 18933904 IDX=35
    [abrfcio.c    9213]
    A  {root-id=532810645F5D12A0E1008000C0A8642F}_{conn-id=5328109B5F5D12A0E1008000C0A8642F}_5
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: end RX_GET_MESSAGE
    M
    M Wed Mar 19 09:23:15 2014
    M  *** ERROR => ThPOpen: ExecPopen("/usr/sap/BWP/DVEBMGS00/exe/tp" bwprd sapgw00 18968493 IDX=61, r, ..) returned -14 [thxxexec.c
    M  {root-id=532810645F5D12A0E1008000C0A8642F}_{conn-id=532811958F750F10E1008000C0A8642F}_1
    A  RFC 1878  CONVID 18968493
    A   * CMRC=0 DATA=0 STATUS=0 SAPRC=0 RfcExecProgramKernel RfcRaiseErrorMessage cmd could not be started by OS (rc = 1)
    A  RFC> ABAP Programm: SAPLSTPA (Transaction: )
    A  RFC> User: TMSADM (Client: 000)
    A  RFC> Destination: CALLTP_AIX (handle: 3, DtConId: 530F4E7830AF4550E1008000C0A8642E, DtConCnt: 0, ConvId: ,)
    A  RFC SERVER> RFC Server Session (handle: 1, 70212851, {53281195-8F75-0F10-E100-8000C0A8642F})
    A  RFC SERVER> Caller host:
    A  RFC SERVER> Caller transaction code: STMS (Caller Program: SAPLTMSC)
    A  RFC SERVER> Called function module: TMS_CI_START_SERVICE
    A  *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1887
    FUNCTION: 'RfcExecProgramKernel'
    RfcRaiseErrorMessage cmd could not be started by OS (rc = 1)
    PROG ="/usr/sap/BWP/DVEBMGS00/exe/tp" bwprd sapgw00 18968493 IDX=61
    [abrfcio.c    9213]
    A  {root-id=532810645F5D12A0E1008000C0A8642F}_{conn-id=532811958F750F10E1008000C0A8642F}_1
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: end RX_GET_MESSAGE.
    ps.
    1、IT's everything ok in the development system.
    2、It’s ok when i repeat this analysis process .
    3、It’s ok when i run this analysis process in analysis process designer.
    4、Attachment is the sys log in sm21.
    Thanks everyone.

    Hi Vignesh.B,
    Yes,it's not user's problem . But i don't  think it APD's problem .Cause all APD has the same problem and .
    Below is one of APD souce and target :
    Hope this information  is useful .
    Regards,
    Lian

  • Error when running a report in BPC NW

    I am getting the following error when running a report for my application in BPC NW.
    EVDRE encountered an error retrieving data from the Web Server (retrying in (X) seconds).
    This error comes with this dialog option box to either continue or cancel retrying retrieving data. Retrying doesn't help either.
    Any report I run (on any of my appsets), I get this error. I used the EVDRE function and also tried running a report using the template as the basis. But I get the error either way.
    Does anyone know why this error is occurs or how to debug this issue. I saw some information about this in earlier threads but could  not make much out of it.
    Appreciate any assistance.

    Sanjay,
      This  is a   very  generic  error...Couple  of  places  to  look  for....
    1)Reprocess the application (Modify application + Reassign SQL Index + Process Application)
    2)optimizing the application sometimes helps (Full Optimize + Compress Database + Index defragmentation).
    3)Create a "evdataserver_debug.txt" in user's private publication folder on  server side to populate very detail level logging  and  check  the  log on client side EVDRE_LOG.txt for  further  peek  into  where  things  are getting  messed up.
    if  evdataserver_debug.txt does not  get  populated on BPC 5.x...it  is  an  issue  with  IIS authetication on Application server.
    4)You have to check the event viewer into .NET server and also the BPC logs which can be found into
    BPC\Logging  for  further  details  ..
    Hope  this  helps..
    Edited by: Vishal Mahawadhi on Jun 24, 2009 9:50 AM

  • Getting the MDX query select error when running a webi report on BI query

    Getting the following error when running a webi report on BI query :
    A database error occured. The database error text is: The MDX query SELECT  { [Measures].[D8JBFK099LLUVNLO7JY49FJKU] }  ON COLUMNS , NON EMPTY [ZCOMPCODE].[LEVEL01].MEMBERS ON ROWS FROM [ZTEST_CUB/REP_20100723200521]  failed to execute with the error Unknown error. (WIS 10901).
    I have gone through many threads related to this error. But not able find the steps to follow for resoultion.
    Please help in this regard.
    Thanks,
    Jeethender

    The Fix Pack is also for Client Tools--it is a separate download.  Please see the text below for ADAPT01255422
    ADAPT01255422
    Description:
    Web Intelligence generates an incorrect MDX statement when a characteristic and a prompt are used.
    The following database error happens: "The MDX query ... failed to execute with the error
    Unknown error (WIS 10901)."
    New Behavior:
    This problem is resolved.
    This information is also available in the Fixed Issues document for any Fix Pack greater than 2.2.

  • Getting the below error when running the Baseline.grf for the first time

    I am getting the below error when running the Baseline.grf for the first time.
    Appreciate your support in resolving it.
    Error below:
    INFO [main] - *** CloverETL framework/transformation graph, (c) 2002-2012 Javlin a.s, released under GNU Lesser General Public License ***
    INFO [main] - Running with CloverETL library version 3.2.1 build#63 compiled 04/01/2012 12:53:21
    INFO [main] - Running on 4 CPU(s), OS Windows 7, architecture amd64, Java version 1.6.0_20, max available memory for JVM 901120 KB
    INFO [main] - Loading default properties from: defaultProperties
    INFO [main] - Graph definition file: graph/Baseline.grf
    INFO [main] - Graph revision: 1.114 Modified by: mkressirer Modified: Thu Apr 12 13:27:18 EDT 2012
    INFO [main] - Checking graph configuration...
    INFO [main] - Graph configuration is valid.
    INFO [main] - Graph initialization (Baseline)
    INFO [main] - [Clover] Initializing phase: 0
    INFO [main] - [Clover] phase: 0 initialized successfully.
    INFO [main] - register MBean with name:org.jetel.graph.runtime:type=CLOVERJMX_1306871483270_0
    INFO [WatchDog] - Starting up all nodes in phase [0]
    INFO [WatchDog] - Successfully started all nodes in phase!
    INFO [RUN_GRAPH1_0] - Running graph ./graph/InitDataStore.grf in the same instance.
    INFO [RUN_GRAPH1_0] - Checking graph configuration...
    INFO [RUN_GRAPH1_0] - Graph configuration is valid.
    INFO [RUN_GRAPH1_0] - Graph initialization (InitDataStore)
    INFO [RUN_GRAPH1_0] - [Clover] Initializing phase: 0
    WARN [RUN_GRAPH1_0] - WS messenger cleanup failed.
    java.lang.NullPointerException
         at org.apache.axis2.client.Stub.cleanup(Stub.java:134)
         at com.opensys.cloveretl.component.WebServiceClient.free(Unknown Source)
         at org.jetel.graph.Phase.free(Phase.java:487)
         at org.jetel.graph.TransformationGraph.freeResources(TransformationGraph.java:681)
         at org.jetel.graph.TransformationGraph.free(TransformationGraph.java:955)
         at org.jetel.graph.runtime.PrimitiveAuthorityProxy.executeGraph(PrimitiveAuthorityProxy.java:149)
         at org.jetel.component.RunGraph.runGraphThisInstance(RunGraph.java:511)
         at org.jetel.component.RunGraph.runSingleGraph(RunGraph.java:409)
         at org.jetel.component.RunGraph.execute(RunGraph.java:302)
         at org.jetel.graph.Node.run(Node.java:414)
         at java.lang.Thread.run(Thread.java:619)
    WARN [RUN_GRAPH1_0] - Some graphs wasn't executed (because graph "./graph/InitDataStore.grf" finished with error).
    WARN [RUN_GRAPH1_0] - Some graph(s) finished with error.
    ERROR [WatchDog] - Graph execution finished with error
    ERROR [WatchDog] - Node RUN_GRAPH1 finished with status: ERROR caused by: Graph './graph/InitDataStore.grf' failed!
    ERROR [WatchDog] - Node RUN_GRAPH1 error details:
    org.jetel.exception.JetelException: Graph './graph/InitDataStore.grf' failed!
         at org.jetel.component.RunGraph.execute(RunGraph.java:324)
         at org.jetel.graph.Node.run(Node.java:414)
         at java.lang.Thread.run(Thread.java:619)
    INFO [WatchDog] - [Clover] Post-execute phase finalization: 0
    INFO [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
    INFO [WatchDog] - Execution of phase [0] finished with error - elapsed time(sec): 2
    ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
    INFO [WatchDog] - -----------------------** Summary of Phases execution **---------------------
    INFO [WatchDog] - Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
    INFO [WatchDog] - 0 ERROR 2 20132
    INFO [WatchDog] - ------------------------------** End of Summary **---------------------------
    WARN [exNode_0_1306871483270_RUN_GRAPH1] - Attempt to unregister non-registered thread in the ContextProvider.
    ./graph/InitDataStore.grf: Execution of graph failed! Error during graph initialization: Phase 0 can't be initilized.
    INFO [WatchDog] - WatchDog thread finished - total execution time: 2 (sec)
    INFO [main] - Freeing graph resources.
    ERROR [main] - Execution of graph failed !

    It can't find an Endeca specific class when running via the clover command line utility. Thus, the classpath being set in that shell script is not incorporating the .jar files where the endeca-specific classes are packaged. I would start by adding an line to see what your classpath is set to. There are actually already some lines of shell script in clover that you can uncomment to see what .jars are getting loaded:
    #echo $CLOVER_LIB/*
    for i in $CLOVER_LIB/*.jar $CLOVER_LIB/*.zip; do
         LOCAL_CLASSPATH="$LOCAL_CLASSPATH:$i"
    done;
    #for i in `ls $CLOVER_LIB/*.jar`; do
    #echo $i
    #done;
    You could also echo LOCAL_CLASSPATH to see what is getting set there. At the end of the day, you will need the endeca-specific jars to load which can be found here: /Endeca/Discovery/2.3.0/Integrator/plugins/com.endeca.latitude_1.0.0/*
    HTH,
    Dan
    http://branchbird.com

  • ADT packaging with native extensions : permission denied error when running remote build.

    Hi Team,
    We are facing the following error when running the nightly ant build script on Mac machine for our air mobile application. We are using iOS native extensions and package with ADT. This works fine when we run the build as local user in the Mac machine. Earlier we faced some issues due to headless build and we have added the <headless-server>true</headless-server> in corresponding config files (flex-config.xml, airmobile-config.xml). After that we are facing the following error, even when we run the ant build in headless mode using the following command.
    ant -Djava.awt.headless=true -f build.xml buildPackage
    When running this build as local user in the Mac build machine, we see a window opening with com.adobe.air.ADT while packaging. This is the issue when running nightly build as there is no graphics window.
    Can anybody please help how to get rid of this issue for nightly build using adt,jar?
    Here is the error from build log:
    buildiOSPackageWithNativeExtensionMac:
         [echo] Export the iOS package with Native extension for ApprovalsMobile in Mac
         [java] Exception in thread "main" java.lang.InternalError: Can't connect to window server - not enough permissions.
         [java]  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         [java]  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827)
         [java]  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)
         [java]  at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         [java]  at java.lang.System.loadLibrary(System.java:1045)
         [java]  at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
         [java]  at java.security.AccessController.doPrivileged(Native Method)
         [java]  at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
         [java]  at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
         [java]  at java.awt.Dimension.<clinit>(Dimension.java:70)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator.validateImageUri(ApplicationDescri ptorValidator.java:183)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator20.validateElement(ApplicationDescr iptorValidator20.java:121)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator25.validateElement(ApplicationDescr iptorValidator25.java:65)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator26.validateElement(ApplicationDescr iptorValidator26.java:62)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator30.validateElement(ApplicationDescr iptorValidator30.java:52)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator31.validateElement(ApplicationDescr iptorValidator31.java:46)
         [java]  at com.adobe.air.validator.DescriptorValidator.endElement(DescriptorValidator.java:239)
         [java]  at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser .java:601)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XML DocumentFragmentScannerImpl.java:1782)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDri ver.next(XMLDocumentFragmentScannerImpl.java:2939)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImp l.java:648)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScanne rImpl.java:140)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo cumentFragmentScannerImpl.java:511)
         [java]  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.ja va:808)
         [java]  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.ja va:737)
         [java]  at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
         [java]  at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java :1205)
         [java]  at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.j ava:522)
         [java]  at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
         [java]  at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
         [java]  at com.adobe.air.Descriptor.validateXML(Descriptor.java:182)
         [java]  at com.adobe.air.Descriptor.<init>(Descriptor.java:56)
         [java]  at com.adobe.air.ApplicationDescriptor.<init>(ApplicationDescriptor.java:84)
         [java]  at com.adobe.air.ApplicationPackager.validateApplicationDescriptor(ApplicationPackager.java: 101)
         [java]  at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:64)
         [java]  at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:217)
         [java]  at com.adobe.air.ADT.parseArgsAndGo(ADT.java:557)
         [java]  at com.adobe.air.ADT.run(ADT.java:414)
         [java]  at com.adobe.air.ADT.main(ADT.java:464)
    Thanks,
    Swathi.

    Note: Before the above error that were two other errors .
    1) The build complained that the adt-bundle-linux toolchain could not be found and required that it be added to .mozconfig. This was done.
    2) The build complained that dx could not be found.
    The configure file was edited and the values $DX, $AAPT and $AIDL were all set to the adt-bundle-linux/sdk/build-tools/android-4.4 path.
    The instructions given on the Mozilla Wiki did not work right for Android and several modifications were made to move it along. But this permission error is tough to figure out.

  • Undefined weblogic.home error when running APPC

    Hi,
    I am trying to run the APPC compiler on my local EAR and deploy it on a remote
    server version
    8.1 using ANT. I just have the weblogic.jar, ojdbc14.jar and webservices.jar on
    my workstation.
    I have an error when running APPC.
    The ANT taks is :
    <target name="app.appc">
    <java classname="weblogic.appc" fork="true" failonerror="true">
    <jvmarg value="-Xms256m"/>
    <jvmarg value="-Xmx256m"/>
    <classpath>
    <pathelement location="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}"/>
    <pathelement location="${j2ee.weblogic.lib.dir}/ojdbc14.jar"/>
         <pathelement location="${jsdk1.4-dir}/lib/tools.jar"/>
         </classpath>
         <arg line ="-verbose -verboseJavac ${application.dist.ear}"/>
    </java>
    </target>
    The ANT output is :
    app.appc:
    [java] [appc] Created working directory: C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen
    [java] [appc] Compiling EAR module 'core.war'
    [java] [JspcInvoker]Checking web app for compliance.
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Validating the servlet element with servlet-name named "action".>
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Checking servlet-mapping for servlet name : "action".>
    [java] [jspc] parsing /jsp/applications/example/Accessor.jsp:
    [java] [jspc] parsed C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen\appcgen_core.war\
    jsp\applications\example\Accessor.jsp in 1482 ms.
    [java] [jspc] Invoking the compiler
    [java] [jspc] Invoking the compiler with -encoding UTF-8
    [java] [appc] Compiling EAR module 'core-ejb.jar'
    [java] [J2EE:160121]Errors encountered while compiling module 'core-ejb.jar':
    [java] error in finding weblogic.Home
    Is there any other solution than installing weblogic on my workstation so that
    everything is
    setup correctly?
    thanks in advance
    Pierre

    Pierre MONGENIE wrote:
    Finally it worked out for me with the system classpath set to:
    D:\J2EE\bea\weblogic81\server\lib\weblogic.jar
    and the ANT task wlappc.
    I was unable to have it work with the ANT task described below in this thread.
    tha ant task is
    <wlappc source="${application.dist.ear}"
         verbose="true"
         verboseJavac="true"
         debug="true"
         classpath="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}
         ${j2ee.weblogic.lib.dir}/ojdbc14.jar
         ${j2ee.weblogic.lib.dir}/webservices.jar
         ${jsdk1.4-dir}/lib/tools.jar"This is the issue. The classpath parameter to wlappc is the classpath
    it will use when it compiles your application classes. It's not the
    classpath which will load the wlappc ant task. (I'll admit this has
    always been confusing.)
    -- Rob
    runtimeflags="mx256m"
    output="${application.weblogic.deploy.ear}"
         />
    So now I have another problem but let me open another thread
    thanks
    Rob Woollen <[email protected]> wrote:
    That code checks if the system property weblogic.home is set. If not,
    it looks for the class weblogic.Home is in the classpath. Make sure
    one
    of those 2 conditions is true.
    -- Rob
    Pierre MONGENIE wrote:
    Hi,
    I am trying to run the APPC compiler on my local EAR and deploy iton a remote
    server version
    8.1 using ANT. I just have the weblogic.jar, ojdbc14.jar and webservices.jaron
    my workstation.
    I have an error when running APPC.
    The ANT taks is :
    <target name="app.appc">
    <java classname="weblogic.appc" fork="true" failonerror="true">
    <jvmarg value="-Xms256m"/>
    <jvmarg value="-Xmx256m"/>
    <classpath>
    <pathelement location="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}"/>
    <pathelement location="${j2ee.weblogic.lib.dir}/ojdbc14.jar"/>
         <pathelement location="${jsdk1.4-dir}/lib/tools.jar"/>
         </classpath>
         <arg line ="-verbose -verboseJavac ${application.dist.ear}"/>
    </java>
    </target>
    The ANT output is :
    app.appc:
    [java] [appc] Created working directory: C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen
    [java] [appc] Compiling EAR module 'core.war'
    [java] [JspcInvoker]Checking web app for compliance.
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Validating the servlet element with servlet-name named "action".>
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Checking servlet-mapping for servlet name : "action".>
    [java] [jspc] parsing /jsp/applications/example/Accessor.jsp:
    [java] [jspc] parsed C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen\appcgen_core.war\
    jsp\applications\example\Accessor.jsp in 1482 ms.
    [java] [jspc] Invoking the compiler
    [java] [jspc] Invoking the compiler with -encoding UTF-8
    [java] [appc] Compiling EAR module 'core-ejb.jar'
    [java] [J2EE:160121]Errors encountered while compiling module'core-ejb.jar':
    [java] error in finding weblogic.Home
    Is there any other solution than installing weblogic on my workstationso that
    everything is
    setup correctly?
    thanks in advance
    Pierre

  • Error when run taglib!

    Now I have a error when run taglig!
    run taglib with apache tomcat 5.5 by JDK 1.5 when i run have error is:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: javax.servlet.jsp.tagext.TagInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/jsp/tagext/TagLibraryInfo;Ljavax/servlet/jsp/tagext/TagExtraInfo;[Ljavax/servlet/jsp/tagext/TagAttributeInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljavax/servlet/jsp/tagext/TagVariableInfo;Z)V
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    root cause
    java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/jsp/tagext/TagLibraryInfo;Ljavax/servlet/jsp/tagext/TagExtraInfo;[Ljavax/servlet/jsp/tagext/TagAttributeInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljavax/servlet/jsp/tagext/TagVariableInfo;Z)V
         org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:435)
         org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
         org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
         org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.12 logs.
    now what do I do?
    please, tell me!
    thanks!

    Tomcat 5.5 is using Servlet 2.4 & JSP 2.0.
    Have you compiled the taglib using the correct version of servlet.jar ?

  • HotSpot JVM InternaL Error when running on Mac OS X

    I am getting the following error when running a Java process on Mac OS X 10.1.3. This
    occurs after runing the process for a few hours. What could be the probable causes for
    the same. The error message is given below:
    # HotSpot Virtual Machine Error, Internal Error
    # Please report this error at
    # http://bugreport.apple.com/
    # Error ID: /SourceCache/HotSpot/HotSpot-48/src/os/macosx/vm/os_macosx.cpp, 369
    # Problematic Thread: prio=5 tid=0x4e31e80 nid=0x1975a50 runnable
    Internal Error
    Fatal: error setting thread exception port
    Do you want to debug the problem?
    *** malloc[1439]: error: Can't allocate region

    I am getting the same error, while trying to debug on Windows XP.
    I can reproduce it every time, but can't find much info about it.
    Starting service Tomcat-Netbeans
    Apache Tomcat/4.0.1
    # HotSpot Virtual Machine Error, Internal Error
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.1-b21 mixed mode)
    # Error ID: 5052455345525645255843455054494F4E0E435050001B
    # Problematic Thread: prio=5 tid=0x0F229638 nid=0xb80 runnable

  • Critical error when running BEX

    Hi,
    My students are getting a critical error when running BEX analyser (excel shuts down).  I understand there is a patch for BEX .... where can I find it?
    Thanks, Ed

    Dear Ed,
    The reason for the Critical Error could be the usage of older Patch.
    The Latest BEx Client can be found in the SMP at following location :
    service.sap.com/swdc
    ->SAP Software Distribution Center
    ->Download
      ->Support Packages and Patches
       ->Entry by Application Group
       ->SAP Frontend Components
        ->BI ADDON FOR SAP GUI
         ->BI 7.0 ADDON FOR SAP GUI 7.10
    Hope this helps you.
    Rgds,
    Mura

  • Syntax error when running ActionFileToXML.jsx or trying to install xtools

    I have an action set (actually a few) that I would REALLY love to rename but the actions are calling "sub" actions within the action set which means that the action set name is hard-coded into the actions in many places.
    Originally, I tried to edit my actions with a hex editor to try and change the name and references but realised I was limited to renaming with the same number of characters unless I parsed the file first... so I gave up on that. Then I came across Xbytor's awesome ActionFileToXML script, but I get a syntax error when running both the To and From XML scripts at root.@date = Stdlib.toISODateString();
    I then figured I would go straight for the latest xtools instead but when running the install (in CS2) I get a rather long syntax error and so the install fails. The script mentioned that there is a log file that I should email to Xbytor, but I figured I would post here instead of bothering him directly so he has more of a choice about whether he wants to be bothered by me Or maybe someone else can answer if it is a stupid newbie problem.
    Thanks heaps!
    Gab
    ETA: I'm running CS2 on XP if that makes any difference. If so, I may be able to use a friend's Mac with CS3.

    Thanks for the quick (and very useful) response!
    I made the changes to the mentioned files and the scripts were able to
    progress further, but only until the next E4X syntax (node.@key=key;).
    Rather than continue to hack at your code, I figured I should downgrade to a
    previous version (as you also suggested).  I initially tried v1.5 and the
    ActionFileToXML worked perfectly but ActionFileFromXML failed with an
    illegal argument error.
    Before looking too deeply into the error, I figured I would try v1.6 and
    found that both the scripts were able to complete successfully. The
    resulting atn file has a couple of bugs in it (such as "Set current layer"
    having a knockout setting of  which causes the action to crash),
    but nothing that I can't just copy back from my original script.
    Thanks HEAPS for your assistance and for the awesome scripts in the first
    place! Extremely greatly appreciated!

  • XML Parser Error while creating Web service Client using JAX RPC

    hello evryone,
    Im facing XML Parser Error while creating web service client using JAX RPC. Im using Net Beans IDE for development purpose. I have wrote configuration file for client. Now i want to create Client stub. However i dont know how to do this in Net Beans. So i tried to do it from Command promt using command :
    wscompile -gen:client -d build -classpath build config-wsdl.xml
    here im getting Error:
    error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.ParseException:10: XML declaration may only begin entities
    Please help me out.
    Many thanks in advance,
    Kacee

    Can i use the client generated using jdeveloper 11g to import into the oracle forms 10g, i.e., form builder 10g. Currently this is the version we have in our office.

  • Getting an Error When Running Server 2012 R2 adprep /forest prep on a 2012 DC

    I am getting an error when running adprep /forest prep on a Server 2012 domain controller. The main parts of my domain are as follows:
    2 - Domain Controllers running Server 2012
    1 - Exchange Server 2013 running on Server 2012
    I am trying to either do an in-place upgrade to my domain controllers to Server 2012 R2 or even introduce a Server 2012 R2 domain controller into the domain. The error I am getting is as follows:
    [Status/Consequence]
    The operation GUID already exists so Adprep did not attempt to rerun this operation but is continuing.
    [2014/04/05:09:12:38.873]
    Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is cn=38618886-98ee-4e42-8cf1-d9a2cd9edf8b,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=DOMAIN,DC=local.
    [2014/04/05:09:12:38.873]
    LDAP API ldap_search_s() finished, return code is 0x20
    [2014/04/05:09:12:38.873]
    Adprep verified the state of operation cn=38618886-98ee-4e42-8cf1-d9a2cd9edf8b,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=DOMAIN,DC=local.
    [Status/Consequence]
    The operation has not run or is not currently running. It will be run next.
    [2014/04/05:09:12:38.873]
    Adprep was about to call the following LDAP API. ldap_modify_s(). The entry to modify is CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,CN=Configuration,DC=DOMAIN,DC=local.
    [2014/04/05:09:12:38.873]
    LDAP API ldap_modify_s() finished, return code is 0x13
    [2014/04/05:09:12:38.905]
    Adprep was unable to modify some attributes on object CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,CN=Configuration,DC=DOMAIN,DC=local.
    [User Action]
    Check the log file ADPrep.log in the C:\Windows\debug\adprep\logs\20140405091235 directory for more information.
    [2014/04/05:09:12:38.936]
    Adprep encountered an LDAP error.
    Error code: 0x13. Server extended error code: 0x20b1, Server error message: 000020B1: AtrErr: DSID-030F112A, #1:
     0: 000020B1: DSID-030F112A, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9086f (msDS-ClaimIsValueSpaceRestricted)
    DSID Info:
    DSID: 0x181112dd
    ldap error = 0x13
    NT BUILD: 9600
    NT BUILD: 16384
    [2014/04/05:09:12:38.967]
    Adprep was unable to update forest information.
    [Status/Consequence]
    Adprep requires access to existing forest-wide information from the schema master in order to complete this operation.
    [User Action]
    Check the log file, ADPrep.log, in the C:\Windows\debug\adprep\logs\20140405091235 directory for more information.
    Any Help would be appreciated. Thanks!

    Hi,
    did you check which servers has FSMO roles?
    You can do that via command prompt: netdom query fsmo
    For forestprep you must do that on DC which have Schema Operations marter role.
    Command
    Domain controller
    Number of times to run the command
    adprep /forestprep
    Must be run on the schema operations master for the forest.
    Once for the entire forest
    adprep /domainprep
    Must be run on the infrastructure operations master for the domain.
    Once in each domain where you plan to install an additional domain controller that runs a later version of Windows Server than the latest version that is running in the domain.
    Note
    Domains where you will not add a new domain controller will be affected by adprep /forestprep, but they do not require you to run adprep /domainprep.
    http://technet.microsoft.com/en-us/library/dd464018(v=ws.10).aspx

Maybe you are looking for

  • ITunes hang due to iTunes Match

    My iTune hang every turn on iTunes Match. If I turn it on, I can't download/update large application or update all. I have to update one by one and only small one that's success (<100 MB). iTunes Match also not working on my MBP. If I download nothin

  • Keynote 6.0.1 will not update in App Store

    I had the Keynote software update request. It partially updated to 6.0.1 via the App Store, then refused to finish the download. Now whenever I hit Resume, the programme just continually asks for my Apple ID password. Any thoughts on how to force thr

  • 0VALUE_LC values are doubled

    Hi All ! Using business content installed the DSO 0CM_DS03, Update Rule 0CM_DS03 -> 2LIS_03_BF. But when loading the data the value of field 0VALUE_LC is getting double. Few notes : 1) I have not written any code in Update Rule. It was installed thro

  • Fireworks CC - Tell Adobe what you think

    This is important to BC users, particuarly any web designers. Adobe recently announced that Fireworks will be dropped after CS6. You'll already notice that it's not in the new Adobe Creative Cloud (CC). There is no replacement offered at this time. I

  • HT4623 I can't upgrade my iPad to os6

    Why can't I upgrade my iPad to os6 or7