[wsgen] Error at line:9 col:12  ':' Already got a ':' in name

Getting the following error trying to generate a web service.
Any ideas? Thanks
WebLogic Server 6.1 SP1 09/18/2001 14:28:44 #138716
WebLogic XML Module 6.1 SP1 09/18/2001 14:43:02 #138716
<taskdef name="wsgen" classname="weblogic.ant.taskdefs.ejb.WSGen" classpath="${prj.classpath.javac};${wls.home.dir}/lib/xmlx.jar;"
/>
<target name="create_ws" depends="create_ear">
<wsgen basepath="${build.home.dir}/${Name}.ear" destpath="${build.home.dir}/${Name}WS.ear"
port="80" context="/websrv" protocol="http"
classpath="${build.app.dir}/Test.jar" >
<rpcservices module="${Name}Ejb.jar">
<rpcservice bean="ejb/TestHome" uri="/Test"/>
</rpcservices>
</wsgen>
</target>
create_ws:
[wsgen] Error at line:9 col:12 ':' Already got a ':' in name
[wsgen] at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXElementFactory.java:60)
[wsgen] at weblogic.xml.babel.parsers.StreamParser.<init>(StreamParser.java:45)
[wsgen] at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(BabelXMLEventStream.java:28)
[wsgen] at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:600)
[wsgen] at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:577)
[wsgen] at weblogic.soap.WebServiceProxy.getServiceFrom(WebServiceProxy.java:225)
[wsgen] at weblogic.ant.taskdefs.ejb.WSGenHelper.writeClientJar(WSGenHelper.java:1125)
[wsgen] at weblogic.ant.taskdefs.ejb.WSGenHelper.writeWSDL(WSGenHelper.java:1285)
[wsgen] at weblogic.ant.taskdefs.ejb.WSGenHelper.saveDescriptors(WSGenHelper.java:1418)
[wsgen] at weblogic.ant.taskdefs.ejb.WSGenHelper.output(WSGenHelper.java:1486)
[wsgen] at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1520)
[wsgen] at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
[wsgen] at org.apache.tools.ant.Task.perform(Task.java:217)
[wsgen] at org.apache.tools.ant.Target.execute(Target.java:184)
[wsgen] at org.apache.tools.ant.Target.performTasks(Target.java:202)
[wsgen] at org.apache.tools.ant.Project.executeTarget(Project.java:601)
[wsgen] at org.apache.tools.ant.Project.executeTargets(Project.java:560)
[wsgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
[wsgen] at org.apache.tools.ant.Main.start(Main.java:153)
[wsgen] at org.apache.tools.ant.Main.main(Main.java:176)

Getting the following error trying to generate a web service.
Any ideas? Thanks
WebLogic Server 6.1 SP1 09/18/2001 14:28:44 #138716
WebLogic XML Module 6.1 SP1 09/18/2001 14:43:02 #138716
<taskdef name="wsgen" classname="weblogic.ant.taskdefs.ejb.WSGen" classpath="${prj.classpath.javac};${wls.home.dir}/lib/xmlx.jar;"
/>
<target name="create_ws" depends="create_ear">
<wsgen basepath="${build.home.dir}/${Name}.ear" destpath="${build.home.dir}/${Name}WS.ear"
port="80" context="/websrv" protocol="http"
classpath="${build.app.dir}/Test.jar" >
<rpcservices module="${Name}Ejb.jar">
<rpcservice bean="ejb/TestHome" uri="/Test"/>
</rpcservices>
</wsgen>
</target>
create_ws:
[wsgen] Error at line:9 col:12 ':' Already got a ':' in name
[wsgen] at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXElementFactory.java:60)
[wsgen] at weblogic.xml.babel.parsers.StreamParser.<init>(StreamParser.java:45)
[wsgen] at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(BabelXMLEventStream.java:28)
[wsgen] at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:600)
[wsgen] at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:577)
[wsgen] at weblogic.soap.WebServiceProxy.getServiceFrom(WebServiceProxy.java:225)
[wsgen] at weblogic.ant.taskdefs.ejb.WSGenHelper.writeClientJar(WSGenHelper.java:1125)
[wsgen] at weblogic.ant.taskdefs.ejb.WSGenHelper.writeWSDL(WSGenHelper.java:1285)
[wsgen] at weblogic.ant.taskdefs.ejb.WSGenHelper.saveDescriptors(WSGenHelper.java:1418)
[wsgen] at weblogic.ant.taskdefs.ejb.WSGenHelper.output(WSGenHelper.java:1486)
[wsgen] at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1520)
[wsgen] at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
[wsgen] at org.apache.tools.ant.Task.perform(Task.java:217)
[wsgen] at org.apache.tools.ant.Target.execute(Target.java:184)
[wsgen] at org.apache.tools.ant.Target.performTasks(Target.java:202)
[wsgen] at org.apache.tools.ant.Project.executeTarget(Project.java:601)
[wsgen] at org.apache.tools.ant.Project.executeTargets(Project.java:560)
[wsgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
[wsgen] at org.apache.tools.ant.Main.start(Main.java:153)
[wsgen] at org.apache.tools.ant.Main.main(Main.java:176)

Similar Messages

  • ERROR : Already got a ':' in name

    Hi,
    anybody found this kind of error while packaging a webArchive with ANT in the wsgen section ?
    wsgen:
    Error at line:4 col:12 ':' Already got a ':' in name
    at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseExcepti
    on(SAXElementFactory.java:60)
    at weblogic.xml.babel.parsers.StreamParser.<init>(StreamParser.java:45)
    at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(BabelXML
    EventStream.java:28)
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:600)
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:577)
    at weblogic.soap.WebServiceProxy.getServiceFrom(WebServiceProxy.java:225
    thanks in advance for any solution.
    Francois
    [att1.html]

    Hi,
    anybody found this kind of error while packaging a webArchive with ANT in the wsgen section ?
    wsgen:
    Error at line:4 col:12 ':' Already got a ':' in name
    at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseExcepti
    on(SAXElementFactory.java:60)
    at weblogic.xml.babel.parsers.StreamParser.<init>(StreamParser.java:45)
    at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(BabelXML
    EventStream.java:28)
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:600)
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:577)
    at weblogic.soap.WebServiceProxy.getServiceFrom(WebServiceProxy.java:225
    thanks in advance for any solution.
    Francois
    [att1.html]

  • ANT task wsgen error while deploying RPC style web service

    Hi
    I am trying to assemble/deploy an rpc style weblogic web service using the 'wsgen'
    Ant task and the build.xml scripts provided with the samples. I get this error:
    Please help
    Thanks,
    Praveen
    C:\test>ant
    Buildfile: build.xml
    webservice:
    clean:
    [delete] Deleting directory C:\test\build
    init:
    [mkdir] Created dir: C:\test\build
    [mkdir] Created dir: C:\test\build\META-INF
    [copy] Copying 5 files to C:\test\build\META-INF
    compile_ejb:
    [javac] Compiling 5 source files to C:\test\build
    jar_ejb:
    [jar] Building jar: C:\test\a_statelessSession.jar
    ejbc:
    all:
    wsgen:
    Error at line:8 col:12 ':' Already got a ':' in name
    at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseExc
    on(SAXElementFactory.java:60)
    at weblogic.xml.babel.parsers.StreamParser.<init>(StreamParser.java:
    at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(Babe
    EventStream.java:28)
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:6
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:5
    at weblogic.soap.WebServiceProxy.getServiceFrom(WebServiceProxy.java
    at weblogic.ant.taskdefs.ejb.WSGenHelper.writeClientJar(WSGenHelper.
    :1125)
    at weblogic.ant.taskdefs.ejb.WSGenHelper.writeWSDL(WSGenHelper.java:
    at weblogic.ant.taskdefs.ejb.WSGenHelper.saveDescriptors(WSGenHelper
    a:1415)
    at weblogic.ant.taskdefs.ejb.WSGenHelper.output(WSGenHelper.java:148
    at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1517)
    at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.Project.executeTargets(Project.java:510)
    at org.apache.tools.ant.Main.runBuild(Main.java:421)
    at org.apache.tools.ant.Main.main(Main.java:149)
    BUILD SUCCESSFUL
    Total time: 34 seconds
    C:\test>

    WLS6.1, service pack 2? I didn't know there were any service packs for 6.1 and
    6.0 didn't support wsgen and web services??
    simon.
    manoj cheenath <[email protected]> wrote:
    >
    >
    This is a known bug which is fixed in WLS 6.1 SP2.
    The workaround is to change the complex data types
    to have more than one level package names.
    for eg: change ....
    package foo;
    class Data{}
    to :
    package foo.bar;
    class Data{}
    -manoj
    Praveen wrote:
    Hi
    I am trying to assemble/deploy an rpc style weblogic web service usingthe 'wsgen'
    Ant task and the build.xml scripts provided with the samples. I getthis error:
    Please help
    Thanks,
    Praveen
    C:\test>ant
    Buildfile: build.xml
    webservice:
    clean:
    [delete] Deleting directory C:\test\build
    init:
    [mkdir] Created dir: C:\test\build
    [mkdir] Created dir: C:\test\build\META-INF
    [copy] Copying 5 files to C:\test\build\META-INF
    compile_ejb:
    [javac] Compiling 5 source files to C:\test\build
    jar_ejb:
    [jar] Building jar: C:\test\a_statelessSession.jar
    ejbc:
    all:
    wsgen:
    Error at line:8 col:12 ':' Already got a ':' in name
    at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseExc
    on(SAXElementFactory.java:60)
    at weblogic.xml.babel.parsers.StreamParser.<init>(StreamParser.java:
    at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(Babe
    EventStream.java:28)
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:6
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:5
    at weblogic.soap.WebServiceProxy.getServiceFrom(WebServiceProxy.java
    at weblogic.ant.taskdefs.ejb.WSGenHelper.writeClientJar(WSGenHelper.
    :1125)
    at weblogic.ant.taskdefs.ejb.WSGenHelper.writeWSDL(WSGenHelper.java:
    at weblogic.ant.taskdefs.ejb.WSGenHelper.saveDescriptors(WSGenHelper
    a:1415)
    at weblogic.ant.taskdefs.ejb.WSGenHelper.output(WSGenHelper.java:148
    at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1517)
    at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.Project.executeTargets(Project.java:510)
    at org.apache.tools.ant.Main.runBuild(Main.java:421)
    at org.apache.tools.ant.Main.main(Main.java:149)
    BUILD SUCCESSFUL
    Total time: 34 seconds
    C:\test>
    -----------------------------------------------------------------<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    This is a known bug which is fixed in WLS 6.1 SP2.
    <p>The workaround is to change the complex data types
    <br>to have more than one level package names.
    <p>for eg: change ....
    <p><font color="#3366FF">package foo;</font>
    <br>class Data{}
    <p>to :
    <p><font color="#3333FF">package foo.bar;</font>
    <br>class Data{}
    <p>-manoj
    <p>Praveen wrote:
    <blockquote TYPE=CITE>Hi
    <br>I am trying to assemble/deploy an rpc style weblogic web service
    using
    the 'wsgen'
    <br>Ant task and the build.xml scripts provided with the samples. I get
    this error:
    <br>Please help
    <br>Thanks,
    <br>Praveen
    <br>-----------------------------------------------------------------
    <br>C:\test>ant
    <br>Buildfile: build.xml
    <p>webservice:
    <p>clean:
    <br>   [delete] Deleting directory C:\test\build
    <p>init:
    <br>    [mkdir] Created dir: C:\test\build
    <br>    [mkdir] Created dir: C:\test\build\META-INF
    <br>     [copy] Copying 5 files to C:\test\build\META-INF
    <p>compile_ejb:
    <br>    [javac] Compiling 5 source files to C:\test\build
    <p>jar_ejb:
    <br>      [jar] Building jar: C:\test\a_statelessSession.jar
    <p>ejbc:
    <p>all:
    <p>wsgen:
    <br>Error at line:8 col:12  ':' Already got a ':' in name
    <br>        at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseExc
    <br>on(SAXElementFactory.java:60)
    <br>        at weblogic.xml.babel.parsers.StreamParser.<init>(StreamParser.java:
    <br>        at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(Babe
    <br>EventStream.java:28)
    <br>        at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:6
    <br>        at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:5
    <br>        at weblogic.soap.WebServiceProxy.getServiceFrom(WebServiceProxy.java
    <br>)
    <br>        at weblogic.ant.taskdefs.ejb.WSGenHelper.writeClientJar(WSGenHelper.
    <br>:1125)
    <br>        at weblogic.ant.taskdefs.ejb.WSGenHelper.writeWSDL(WSGenHelper.java:
    <br>)
    <br>        at weblogic.ant.taskdefs.ejb.WSGenHelper.saveDescriptors(WSGenHelper
    <br>a:1415)
    <br>        at weblogic.ant.taskdefs.ejb.WSGenHelper.output(WSGenHelper.java:148
    <br>        at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1517)
    <br>        at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
    <br>        at org.apache.tools.ant.Target.execute(Target.java:153)
    <br>        at org.apache.tools.ant.Project.runTarget(Project.java:898)
    <br>        at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    <br>        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
    <br>        at org.apache.tools.ant.Target.execute(Target.java:153)
    <br>        at org.apache.tools.ant.Project.runTarget(Project.java:898)
    <br>        at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    <br>        at org.apache.tools.ant.Project.executeTargets(Project.java:510)
    <br>        at org.apache.tools.ant.Main.runBuild(Main.java:421)
    <br>        at org.apache.tools.ant.Main.main(Main.java:149)
    <p>BUILD SUCCESSFUL
    <p>Total time: 34 seconds
    <p>C:\test>
    <br>-----------------------------------------------------------------</blockquote>
    </html>

  • FODC0002 [{bea-err}FODC0002a]: Error parsing input XML: Error at line:2 col

    I have an ODSI Physical Service that is based on a Java Function. The Java Function builds a SQL statement and uses JDBC to query for a ResultSet. One of the columns that is queried is a Clob. Sometimes, the data in this column causes an XMLBeans validation exception in ODSI: {err}XQ0027: Validation failed: error: decimal: Invalid decimal value: unexpected char '114'
    The issue is not consistently replicable with particular database record, the database records that present this issue at one point in time will be resolved after a restart of ODSI and replaced by another list of records that present the same error.
    As can be seen from the stack trace, it looks like the issue is happening after the database query has returned and while the process is assembling the SOAP response.
    Error at line:2 col:481 Line:2 '=' expected, got char[99]
    at weblogic.xml.babel.scanner.ScannerState.expect(ScannerState.java:241)
    at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:60)
    at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
    at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
    at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
    at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:510)
    at weblogic.xml.babel.baseparser.EndElement.parse(EndElement.java:34)
    at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:457)
    at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:326)
    at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)
    at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
    at weblogic.xml.stax.XMLEventReaderBase.parseSome(XMLEventReaderBase.java:189)
    at weblogic.xml.stax.XMLEventReaderBase.nextEvent(XMLEventReaderBase.java:122)
    at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:136)
    at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:124)
    at weblogic.xml.query.parsers.BufferedParser.fetchNext(BufferedParser.java:79)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
    at weblogic.xml.query.runtime.navigation.ChildPath.fetchNext(ChildPath.java:308)
    at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:133)
    at weblogic.xml.query.schema.BestEffortValidatingIterator$OpenedIterator.hasNext(BestEffortValidatingIterator.java:224)
    at weblogic.xml.query.schema.ValidatingIterator.fetchNext(ValidatingIterator.java:82)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
    at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
    at weblogic.xml.query.iterators.LegacyGenericIterator.next(LegacyGenericIterator.java:109)
    at weblogic.xml.query.schema.BestEffortValidatingIterator.fetchNext(BestEffortValidatingIterator.java:85)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
    at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
    at weblogic.xml.query.iterators.LegacyGenericIterator.next(LegacyGenericIterator.java:109)
    at weblogic.xml.query.runtime.typing.SeqTypeMatching.fetchNext(SeqTypeMatching.java:137)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
    at com.bea.dsp.wrappers.jf.JavaFunctionIterator.fetchNext(JavaFunctionIterator.java:273)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
    at weblogic.xml.query.runtime.querycide.QueryAssassin.fetchNext(QueryAssassin.java:54)
    at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:163)
    at weblogic.xml.query.runtime.qname.InsertNamespaces.fetchNext(InsertNamespaces.java:247)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
    at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:88)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
    at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
    at weblogic.xml.query.iterators.LegacyGenericIterator.hasNext(LegacyGenericIterator.java:130)
    at weblogic.xml.query.xdbc.util.Serializer.serializeItems(Serializer.java:251)
    at com.bea.ld.server.ResultPusher$DSP25CompatibilityPusher.next(ResultPusher.java:236)
    at com.bea.ld.server.ResultPusher.pushResults(ResultPusher.java:112)
    at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:770)
    at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:624)
    at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:478)
    at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:323)
    at com.bea.ld.ServerWrapperBean.invoke(ServerWrapperBean.java:153)
    at com.bea.ld.ServerWrapperBean.invokeOperation(ServerWrapperBean.java:80)
    at com.bea.ld.ServerWrapper_s9smk0_ELOImpl.invokeOperation(ServerWrapper_s9smk0_ELOImpl.java:63)
    at com.bea.dsp.ws.RoutingHandler$PriviledgedRunner.run(RoutingHandler.java:96)
    at com.bea.dsp.ws.RoutingHandler.handleResponse(RoutingHandler.java:217)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:287)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:271)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:176)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:285)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:169)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    <Apr 29, 2011 12:47:01 PM EDT> <Notice> <ODSI> <BEA-000000> <LabOrderDataServices> <Error occurred performing ODSI operation: {ld:LabOrder/logical/LabOrderReport}getLabOrderDetails:1
    weblogic.xml.query.exceptions.XQueryDynamicException: ld:LabOrder/logical/LabOrderReport.ds, line 34, column 6: {err}FODC0002 [{bea-err}FODC0002a]: Error parsing input XML: Error at line:2 col:481 Line:2 '=' expected, got char[99]
    at weblogic.xml.query.iterators.AbstractIterator.reportUserError(AbstractIterator.java:95)
    at weblogic.xml.query.iterators.AbstractIterator.reportUserError(AbstractIterator.java:147)
    at weblogic.xml.query.parsers.Parser.reportParseError(Parser.java:157)
    at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:225)
    at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:124)
    Truncated. see log file for complete stacktrace
    javax.xml.stream.XMLStreamException: Error at line:2 col:481 Line:2 '=' expected, got char[99]
    at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:206)
    at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
    at weblogic.xml.stax.XMLEventReaderBase.parseSome(XMLEventReaderBase.java:189)
    at weblogic.xml.stax.XMLEventReaderBase.nextEvent(XMLEventReaderBase.java:122)
    at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:136)
    Truncated. see log file for complete stacktrace
    Error at line:2 col:481 Line:2 '=' expected, got char[99]
    at weblogic.xml.babel.scanner.ScannerState.expect(ScannerState.java:241)
    at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:60)
    at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
    at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
    at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
    Truncated. see log file for complete stacktrace
    >
    Can somebody shed some light on this issue?
    Thanks
    Edited by: user738507 on May 6, 2011 7:21 AM

    Here is the java function:
         * Iterate through the search results and build out the XmlBean response
         * @param helper A helper class used to simplify common JDBC commands
         * @param doc The XmlBean document to populate
         * @param isCollectionsIncluded True if Collection info should be included in results, False otherwise
         * @param isFullDetailsIncluded True if Result data should be included in results, False otherwise
         * @throws Exception
         private static void addOrders(XmlBeansJDBCHelper helper, LabOrderReportDocument doc,
                   boolean isCollectionsIncluded, boolean isFullDetailsIncluded) throws Exception {
              int rows = 0;
              ResultSet rs = helper.getResultSet();
              LabOrders labOrders = doc.getLabOrderReport().addNewLabOrders();
              LabOrder record = null;
              HashMap<Long, Collection> parentCollectionMap = null;
              // initialize variable used to track when child elements of the XML should be created
              long previousRowOrderId = 0;
              long previousRowParentOrderCollectionId = 0;
              long previousRowOrderCollectionId = 0;
              long previousRowResultId = 0;
              boolean isRootCollectionNode = false;
              LabOrder.Collections lastParentOuterCollectionsAdded = null;
              com.idexx.services.lde.laborder.Collection.Collections lastParentInnerCollectionsAdded = null;
              com.idexx.services.lde.laborder.Collection lastCollectionAdded = null;
              Result lastResultAdded = null;
              // Loop through the results and build XmlBean nodes for each row
              // Since the SQL is joining Orders to Collections (one-to-many) to Results (one-to-many),
              // and returning a flat structure, there will be duplicate Order data on each row when
              // multiple collections exist on the Order, and duplicate Collection data when multiple
              // Results exist. We can use this fact to determine when to create a new Collection, or
              // Result node.
              while (helper.getResultSet().next())
                   rows++;
                   long currentRowParentOrderCollectionId = 0;
                   long currentRowOrderCollectionId = 0;
                   long currentRowResultId = 0;
                   long currentRowResultRemarkId = 0;
                   //int rowno = helper.getResultSet().getRow();
                   // Get the Order ID
                   logDebug("Getting the OrderId.....");
                   BigInteger dbOrderId = JDBCHelper.getBigInteger(rs, DataConstants.ORDER_ID);
                   logDebug("DONE getting the OrderId.");
                   long currentRowOrderId = dbOrderId.longValue();
                   // Determine the Order ID, Order Collection ID, and Result ID currently being processed.
                   // These will be used to determine whether to start a new LabOrder Bean, Collections Bean, or Results Bean
                   if (isCollectionsIncluded || isFullDetailsIncluded) {
                        // Get the ParentOrderCollectionID
                        logDebug("Getting the Parent Collection Order ID.....");
                        BigInteger dbParentOrderCollectionId = JDBCHelper.getBigInteger(rs, DataConstants.PARENT_ORDER_COLLECTION_ID);
                        if ( dbParentOrderCollectionId != null )
                             currentRowParentOrderCollectionId = dbParentOrderCollectionId.longValue();
                        else
                             currentRowParentOrderCollectionId = 0;
                        // Get the OrderCollectionID
                        logDebug("Getting the Order Collection ID.....");
                        BigInteger dbOrderCollectionId = JDBCHelper.getBigInteger(rs, DataConstants.ORDER_COLLECTION_ID);
                        if ( dbOrderCollectionId != null )
                             currentRowOrderCollectionId = dbOrderCollectionId.longValue();
                        else
                             currentRowOrderCollectionId = 0;
                        if ( isFullDetailsIncluded ) {
                             // Get the ResultID
                             logDebug("Getting the Result Id.....");
                             BigInteger dbResultId = JDBCHelper.getBigInteger(rs, DataConstants.RESULT_ID);
                             if ( dbResultId != null )
                                  currentRowResultId = dbResultId.longValue();
                             else
                                  currentRowResultId = 0;
                             // Get the ResultRemarkID
                             BigInteger dbResultRemarkId = JDBCHelper.getBigInteger(rs, DataConstants.RESULT_REMARK_ID);
                             if ( dbResultRemarkId != null )
                                  currentRowResultRemarkId = dbResultRemarkId.longValue();
                             else
                                  currentRowResultRemarkId = 0;
                   isRootCollectionNode = (currentRowParentOrderCollectionId == 0);
                   logDebug("currentRowOrderId: " + currentRowOrderId);
                   logDebug("previousRowOrderId: " + previousRowOrderId);
                   logDebug("currentRowResultId: " + currentRowResultId);
                   logDebug("previousRowResultId: " + previousRowResultId);
                   logDebug("currentRowResultRemarkId: " + currentRowResultRemarkId);
                   logDebug("previousRowResultRemarkId: N/A");
                   logDebug("currentRowParentOrderCollectionId: " + currentRowParentOrderCollectionId);
                   logDebug("previousRowParentOrderCollectionId: " + previousRowParentOrderCollectionId);
                   logDebug("currentRowOrderCollectionId: " + currentRowOrderCollectionId);
                   logDebug("previousRowOrderCollectionId: " + previousRowOrderCollectionId);
                   if ( currentRowOrderId != previousRowOrderId ) {
                        parentCollectionMap = new HashMap<Long, Collection>();
                        lastParentOuterCollectionsAdded = null;
                        lastParentInnerCollectionsAdded = null;
                        lastCollectionAdded = null;
                        lastResultAdded = null;
                        // This is a new Order, generate a new Lab Order bean
                        record = addOrder(labOrders, helper, dbOrderId, isFullDetailsIncluded);
                        logDebug("Order Added!");
                        // If there is Parent Collection data and it should be included, build a Collections element,
                        // and populate the first one
                        if ( !isRootCollectionNode && (isCollectionsIncluded || isFullDetailsIncluded) ) {
                             lastParentOuterCollectionsAdded = record.addNewCollections();
                             lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, true);
                             logDebug("Collection Added! Is it null? " + (lastCollectionAdded == null));
                        // If there is Collection data and it should be included, build a Collections element,
                        // and populate the first one
                        if ( currentRowOrderCollectionId > 0 && (isCollectionsIncluded || isFullDetailsIncluded) ) {
                             if ( isRootCollectionNode ) {
                                  lastParentOuterCollectionsAdded = record.addNewCollections();
                                  lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
                                  parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
                                  logDebug("parent collection added to map: " + currentRowOrderCollectionId);
                             else {
                                  lastParentInnerCollectionsAdded = lastCollectionAdded.addNewCollections();
                                  lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
                             logDebug("Collection Added! Is it null? " + (lastCollectionAdded == null));
                             // If there is Result data and it should be included, build a Results element,
                             // and populate the first one
                             if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
                                  logDebug("Adding result....");
                                  lastResultAdded = addResult(record, helper, lastCollectionAdded);
                                  logDebug("Result Added!");
                                  // If there is Result Remark data and it should be included, build a ResultRemarks element,
                                  // and populate the first one
                                  if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
                                       addResultRemark(record, helper, lastResultAdded);
                        logDebug("DONE getting first Collection and Result.");
                   else if ( currentRowParentOrderCollectionId != previousRowParentOrderCollectionId
                             && (isCollectionsIncluded || isFullDetailsIncluded) ) {
                        // This is a new, top level, Order Collection to be included
                        lastParentOuterCollectionsAdded = null;
                        lastParentInnerCollectionsAdded = null;
                        lastCollectionAdded = null;
                        lastResultAdded = null;
                        logDebug("Getting next Order Collection...");
                        // If there is Parent Collection data and it should be included, build a Collections element,
                        // and populate the first one
                        if ( !isRootCollectionNode ) {
                             lastCollectionAdded = (com.idexx.services.lde.laborder.Collection)parentCollectionMap.get(new Long(currentRowParentOrderCollectionId));
                             logDebug("A Collection Added! Is it null? " + (lastCollectionAdded == null));
                        // If there is Collection data and it should be included, build a Collections element,
                        // and populate the first one
                        if ( currentRowOrderCollectionId > 0 ) {
                             if ( isRootCollectionNode ) {
                                  //LabOrder.Collections collections = record.addNewCollections();
                                  lastParentOuterCollectionsAdded = record.getCollections();
                                  lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
                                  parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
                             else {
                                  lastParentInnerCollectionsAdded = lastCollectionAdded.addNewCollections();
                                  lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
                             logDebug("B Collection Added! Is it null? " + (lastCollectionAdded == null));
                             // If there is Result data and it should be included, build a Results element,
                             // and populate the first one
                             if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
                                  lastResultAdded = addResult(record, helper, lastCollectionAdded);
                                  // If there is Result Remark data and it should be included, build a ResultRemarks element,
                                  // and populate the first one
                                  if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
                                       addResultRemark(record, helper, lastResultAdded);
                   else if ( currentRowOrderCollectionId != previousRowOrderCollectionId
                             && (isCollectionsIncluded || isFullDetailsIncluded) ) {
                        // This is a new Order Collection to be included inside of a parent collection
                        logDebug("Getting next CHILD Order Collection...");
                        logDebug("isRootCollectionNode: " + isRootCollectionNode);
                        logDebug("Order ID: " + helper.getBigInteger(DataConstants.ORDER_ID));
                        logDebug("Order Collection ID: " + helper.getBigInteger(DataConstants.ORDER_COLLECTION_ID));
                        logDebug("Collection ID: " + helper.getBigInteger(DataConstants.COLLECTION_ID));
                        if ( isRootCollectionNode ) {
                             lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
                             parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
                        else {
                             com.idexx.services.lde.laborder.Collection parentCollection = (com.idexx.services.lde.laborder.Collection)parentCollectionMap.get(new Long(currentRowParentOrderCollectionId));
                             if(parentCollection == null) {
                                  log(LOG_LEVEL.WARN, "Parent Collection with id: " + currentRowParentOrderCollectionId + " is null for collection id: " + currentRowOrderCollectionId + " but isRootCollectionNode is " + isRootCollectionNode);
                             } else {
                                  lastParentInnerCollectionsAdded = parentCollection.getCollections();
                                  logDebug("Is lastParentInnerCollectionsAdded null? " + (lastParentInnerCollectionsAdded == null));
                                  lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
                        // If there is Result data and it should be included, build a Results element,
                        // and populate the first one
                        if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
                             lastResultAdded = addResult(record, helper, lastCollectionAdded);
                             // If there is Result Remark data and it should be included, build a ResultRemarks element,
                             // and populate the first one
                             if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
                                  addResultRemark(record, helper, lastResultAdded);
                   else if ( currentRowResultId != previousRowResultId
                             && isFullDetailsIncluded ) {
                        // There is a new Result to be included
                        logDebug("Getting next Result...");
                        // This is a new result to be included
                        lastResultAdded = addResult(record, helper, lastCollectionAdded);
                        // If there is Result Remark data and it should be included, build a ResultRemarks element,
                        // and populate the first one
                        if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
                             addResultRemark(record, helper, lastResultAdded);
                   else if ( isFullDetailsIncluded ) {
                        // There is a new Result Remark to include
                        logDebug("Getting next Result Remark...");
                        // This is a new result remark to be included
                        addResultRemark(record, helper, lastResultAdded);
                   logDebug("Done building response.");
                   previousRowResultId = currentRowResultId;
                   previousRowParentOrderCollectionId = currentRowParentOrderCollectionId;
                   previousRowOrderCollectionId = currentRowOrderCollectionId;
                   previousRowOrderId = currentRowOrderId;
              logDebug("Found " + rows + " rows of data.");
         }

  • ODBC Gateway error - hgopoer, line 159: got native error 0 and sqlstate HYC

    Hi,
    I am trying to connect to a RTDB by using the ODBC Gateway and a Simba Driver. When testing the connection I get the following error. I am using Oracle 11gR1(standard edition) on a 32bit Windows 2003 R2 server.
    Link : "SIMBA"
    Error : ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [SimbaLNA][Simba][SimbaEngine ODBC Driver]Driver not capable.
    ORA-02063: preceding 2 lines from SIMBA
    It seems that I can connect to the server I am trying to reach, as shown in the trace log.
    I am looking for suggestions as to what causes the problem, and solutions I can try.
    Below is a copy of the init file, tnsnames, listener and trace log.
    ------------ initSimba.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = BasicServer-RTDB
    HS_FDS_TRACE_LEVEL = DEBUG
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    ------------tnsnames.ora
    # tnsnames.ora Network Configuration File: e:\Oracle\product\11.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    PDPPER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = perap02applic)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PDPPER)
    Simba =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST= perap02applic)(PORT=1521))
    (CONNECT_DATA=(SID=Simba))
    (HS=OK)
    ---------listener.ora
    # listener.ora Network Configuration File: e:\Oracle\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = perap02applic)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=Simba)
    (ORACLE_HOME=e:\Oracle\product\11.1.0\db_1)
    (PROGRAM=dg4odbc)
    #CONNECT_TIMEOUT_LISTENER = 0
    ----------trace log
    Oracle Corporation --- MONDAY MAY 31 2010 12:40:54.656
    Heterogeneous Agent Release
    11.1.0.7.0
    Oracle Corporation --- MONDAY MAY 31 2010 12:40:54.656
    Version 11.1.0.7.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "TRUE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "Simba"
    Product-Info:
    Port Rls/Upd:7/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:Simba
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=178
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2010/05/31-12:40:55
    Exiting hgolofn, rc=0 at 2010/05/31-12:40:55
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    Exiting hgoinit, rc=0 at 2010/05/31-12:40:55
    Entered hgolgon at 2010/05/31-12:40:55
    reco:0, name:BMI_CIMS, tflag:0
    Entered hgosuec at 2010/05/31-12:40:55
    Exiting hgosuec, rc=0 at 2010/05/31-12:40:55
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using BMI_CIMS as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2010/05/31-12:40:55
    HS_FDS_CONNECT_INFO = "BasicServer-RTDB"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2010/05/31-12:40:55
    dsn:BasicServer-RTDB, name:BMI_CIMS
    optn:
    ##>Connect Parameters (len=43)<##
    ## DSN=BasicServer-RTDB;
    #! UID=BMI_CIMS;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2010/05/31-12:40:56
    DriverName:SIMCLT32.DLL, DriverVer:7.00.0101
    DBMS Name:RTDB, DBMS Version:04.21.1630
    Exiting hgocont, rc=0 at 2010/05/31-12:40:56
    Entered hgopoer at 2010/05/31-12:40:56
    hgopoer, line 159: got native error 0 and sqlstate HYC00; message follows...
    [SimbaLNA][Simba][SimbaEngine ODBC Driver]Driver not capable.
    Exiting hgopoer, rc=0 at 2010/05/31-12:40:56
    hgolgon, line 626: calling SQLGetInfo got sqlstate HYC00
    Exiting hgolgon, rc=28500 at 2010/05/31-12:40:56 with error ptr FILE:hgolgon.c LINE:626 ID:GetInfo: Support catalogs
    Entered hgoexit at 2010/05/31-12:40:56
    Entered hgopoer at 2010/05/31-12:40:56
    hgopoer, line 159: got native error 0 and sqlstate HY010; message follows...
    [Microsoft][ODBC Driver Manager] Function sequence error
    Exiting hgopoer, rc=0 at 2010/05/31-12:40:56
    hgoexit, line 118: calling SQLFreeHandle got sqlstate HY010
    Exiting hgoexit, rc=0 at 2010/05/31-12:40:56 with error ptr FILE:hgoexit.c LINE:118 ID:Free ENV handle

    Hi,
    Since the Gateway for ODBC 11g version, you need to use ODBC driver level 3 compliant.
    There is a strong probability that your driver is not level 3 compliant.
    Please can you check with ODBC provider if the driver is level 3 compliant.
    Regards,
    Mireille

  • LINE/COL ERROR

    Hi,
    I have declared one nested table , then i am using the variable of that nested table in select statement. I am executing the code in procedure i am getting
    LINE/COL ERROR
    59/8 PL/SQL: Statement ignored
    59/44 PLS-00597: expression 'COLL' in the INTO list is of wrong type
    Here you can find procedure...
    create or replace PROCEDURE POD_DBVERSION_PROC
    AS
    CURSOR C1 IS SELECT POD_ID, SHORTNAME FROM POD_DATA WHERE POD_ID IS NOT NULL AND SHORTNAME IS NOT NULL AND SHORTNAME IN ('AJA','AOA','ALA');
    EXEC_STRING VARCHAR2(4000) :=NULL;
    Podid number;
    podname varchar2(30);
    Row_id varchar2(20);
    ErrorString1 varchar2(4000);
    V3 NUMBER;
    V4 varchar2(40);
    EXEC_STRING1 VARCHAR2(4000);
    pod_cnt number;
    type COL is table of varchar2(2000);
    rowid varchar2(40);
    coll COL;
    BEGIN
    open C1;
    loop
    fetch C1 into Podid,podname;
    exit when C1%NOTFOUND;
    BEGIN
    EXEC_STRING:='SELECT COUNT(*) FROM POD_VERSION WHERE POD_ID='''||Podid||''' AND TIER=''DB'' and BUILD_LEVEL IN (SELECT ROW_ID FROM dboltp.s_db_ver_ondemd@SX'||podname||'M)';
    EXECUTE IMMEDIATE EXEC_STRING into pod_cnt;
    IF pod_cnt = 0 then
    EXEC_STRING1:='select ROW_ID from dboltp.s_db_ver_ondemd@SX'||podname||'M where row_id not in (select BUILD_LEVEL from POD_VERSION WHERE POD_ID='''||Podid||''' AND TIER=''DB'')';
    EXECUTE IMMEDIATE EXEC_STRING1 INTO coll;
    FOR i IN coll.FIRST..coll.LAST LOOP
    if coll.EXISTS(i) THEN
    V4 := coll.NEXT(i);
    DBMS_OUTPUT.PUT_LINE(V4);
    end if;
    END LOOP;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    END;
    END LOOP;
    END POD_DBVERSION_PROC;
    Could some help me? I want to assign some list values to collection, latter i need to use those values.
    Thanks in advance.
    Thanks
    Asif

    user12233770 wrote:
    Hi,
    This is the part in the function. I will detect if there is any row returned or not. What's the problem with 'exec ...'?
    exec immediate 'select * from sch.jb_'||TRIM(p_type)
    ||'my_vs where Z'||trim(p_type)||'no=:1'
    using p_my_id;
         if sql%rowcount=0 then
    Many thanks & Regards,
    huaminAn example of how to use dynamic sql.
    TUBBY_TUBBZ?declare
      2  l_count number;
      3  begin
      4  execute immediate 'select count(*) from all_objects where owner = :x' into l_count using user;
      5  dbms_output.put_line(user || ' owns ' || l_count || ' objects');
      6  end;
      7  /
    TUBBY owns 138 objects
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.47
    TUBBY_TUBBZ?

  • Error when i try to create a panorama pic. in Ps. i got this message : Error 8: Syntax error. Line: 132 -   args.putEnumerated( keyMode٬ typeBlendMode, enumDarken );

    when i try to create a panorama pic. in Ps. i got this message : Error 8: Syntax error. Line: 132 -> args.putEnumerated( keyMode٬ typeBlendMode, enumDarken );
    everything with last updated the OS , Java , and PS version .
    any help pls

    What software are you using? PS version. OS version etc. Also check you have all the updates for your version of Photoshop installed.  That your only selecting image files to be stitched. That a javsscript error message from one of the  Stack Script Only that get used when you use Photoshop Photomerge Script.

  • Why Can I not upload my podcast? error on line 36:?

    I keep trying to upload my podcast on itunes but it is not letting me. I have tried to use my sites RSS feed and it keeps giving me this error:
    error parsing feed: invalid XML: error on line 36: The processing instructing target matching “[xX] [mM] [IL]” is not allowed
    I am using a wordpress site, I have only one podcast uploaded on the site thus far. Any help anyone can offer would be appreciated.

    If you look at the FeedValidator report, as it has line numbers I can give you notes:
    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Frestoringpangea.com%2F%3Ffee d%3Dpodcast
    Line 34 - the closing 'channel' tag should not be there, it should appear only at the end of the feed (where it does)
    Line 35 - the 'rss' closing tag should not be there, again it appears only at the top of the feed.
    Lines 36-47 should not be there, they belong only at the top of the feed, where they show correctly
    Lines 49-64 shouldn't be there either, in effect they duplicate what is already above in the feed.
    I've no idea how you've managed to get it into this state; it's competely unviable. It looks as if you've got the code of a feed with no episodes, followed by the code of a feed with them. Wordpress ought to be able to construct the feed properly; you will have to go into it to sort this out and I'm afraid I can't advise on specifics of how to do this. To be brutally honest you would probably be best off scrapping the whole thing and starting again from scratch, but the feed may be OK from line 36 onwards so if you can find away to delete 1-25 you might be OK.
    (You can ignore the 'rawvoice' error flagged by Feedvalidator.)

  • ERROR: transport error 202: bind failed: Address already in use

    Hey guys,
    I created 2 WL 10.3 Domains. I can start the admin server in domain but when I start the second admin server i get the following error:
    starting weblogic with Java version:
    ERROR: transport error 202: bind failed: Address already in use
    ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
    JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../.
    ./../src/share/back/debugInit.c:690]
    FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_E
    RROR_TRANSPORT_INIT(197)
    Starting WLS with line:
    C:\bea\JDK160~1\bin\java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket
    ,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms512m -Xmx512m -XX:Com
    pileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -XX:MaxPermSize=160m
    -Xverify:none -Xverify:none -da:org.apache.xmlbeans... -ea -da:com.bea... -da:
    javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.
    sbconsole... -Dplatform.home=C:\bea\WLSERV~1.3 -Dwls.home=C:\bea\WLSERV~1.3\serv
    er -Dweblogic.home=C:\bea\WLSERV~1.3\server -Dweblogic.management.discover=tru
    e -Dwlw.iterativeDev=true -Dwlw.testConsole=true -Dwlw.logErrorsToConsole=true
    -Dweblogic.ext.dirs=C:\bea\patch_wlw1030\profiles\default\sysext_manifest_classp
    ath;C:\bea\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\bea\patch
    cie670\profiles\default\sysextmanifest_classpath;C:\bea\patch_alsb1031\profile
    s\default\sysext_manifest_classpath -Dweblogic.Name=TestAdmin2 -Djava.security.p
    olicy=C:\bea\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    ERROR: transport error 202: bind failed: Address already in use
    ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
    JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../.
    ./../src/share/back/debugInit.c:690]
    FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_E
    RROR_TRANSPORT_INIT(197)
    Stopping PointBase server...
    I changed the port address of both admins but I dont' think that's the issue. Can someone tell me whats going on.
    Thanks

    Hi
    Iam getting the Same Error , Can you provide me some information on what changes did you made to the setDomainEnv.cmd file to make this work
    thanks in advance

  • TS1424 All of my books in iBooks have the following message:  "this page has the following errors:  error on line 1 at column 1 document is empty error on line 1 : encoding error..,...". Any advice?

    All of my books in iBooks have the following message:  "this page has the following errors:  error on line 1 at column 1 document is empty error on line 1 : encoding error..,...". Any advice?

    I have the same problem. I've tried to restart my Ipad and downloaded the book again several times but nothing has changed. There aren't any reviews on the book with that problem and I've got the latest version of iBook so I don't know what else I can do to get the book which I've paid for. Does anyone have another idea what I could do? (maybe one of the above might help you, Paul)
    Thanks

  • Ibooks Error This page contains the following errors: error on line 1 at column 1: Document is empty error on line 1 at column 1: Encoding error Below is a rendering of the page up to the first error

    I am getting this error with my latest Ibook,
    This page contains the following errors:
    error on line 1 at column 1: Document is empty error on line 1 at column 1: Encoding error
    Below is a rendering of the page up to the first error
    Can anyone offer a fix?
    Thanks
    Paul

    I have the same problem. I've tried to restart my Ipad and downloaded the book again several times but nothing has changed. There aren't any reviews on the book with that problem and I've got the latest version of iBook so I don't know what else I can do to get the book which I've paid for. Does anyone have another idea what I could do? (maybe one of the above might help you, Paul)
    Thanks

  • Getting error message 2053 "This entry already exists in the following tab"

    Hi all
    i have a user form which is connected to UDO of type document which has a document line user table which is bounded to a matrix within the user form.
    when i add a new line to the matrix and press update it works fine. when i change a value in one of the fields of the newly added row and press the update button, i recieve the error message:
    "2053 This entry already exists in the following table".
    question is what is causing this error and how can it be fixed?
    appreciate the help
    Yoav

    Hi Yoav,
    If you run "Restore numbering"from the administration/.../Restore menu it will probably be solved.
    Regards
    Ad

  • Transport error 202 bind failed address already in use

    how to rectify -- transport error 202 bind failed address already in use-- while running CA server
    i have created new production and pub server, first i runned production server after that while running CA server i got that error. if i run CA server independently its running

    It seems like a port conflict issue. You should check rmi and other ports in the configuration file for the component /atg/dynamo/Configuration in the localconfig of your production and publishing servers directories under <ATG>\home\servers. Also, your app server should be configured to run two separate instances for production and publishing server as per the http ports specified in /atg/dynamo/Configuration.

  • Already got phone calls, want broadband

    Hi.
    I've already got a BT phone line and calls with BT, but my broadband is with Orange. I spoke to Orange and got my MAC code, but the BT website is confusing me a bit - if I'm already a BT customer, do I qualify for the broadband+phone packages? I went to sign up for "Talk and Surf unlimited" and the price quoted in the basket was £15.62/month with no reference to anytime calls (only evening and weekend ones). Am I being quoted this price because BT know I already have calls with them so have taken that into account, or is this a problem with the website/shopping cart?
    I know there is such a thing as phone calls over the broadband connection, and while this sounds good, I don't want that to in any way replace the current setup of my broadband and calls being separate.
    Thanks for any light you can shed on this situation!

    Hi Macman,
    There are such things as Phone Calls over the Internet - VOIP.
    I believe in order to get the broadband and phone calls, you need to first select the product and click 'Get It Now'. Once you have done this it will take you to another page where it will ask you to enter your Phone Number & Postcode if you already have a working telephone number. After that, there should be a page to enter a MAC if you have one then I believe it should automatically sort it out for you. Don't take my word for it because I've not been in your situation before (I've never migrated).
    Can anyone confirm what I've said here is 100% accurate?
    Cheers
    Like this post? Give it a Star . If this post answers your question, please Mark it as the Accepted Solution.

  • Thesaurus loading + DRG-11510: encountered unrecoverable error on line 1

    Hi All
    I want to load thesarus present in the oracle home directory, so from command prompt i gave 'ctxload' command and gave the required inputs as shown below.
    cmd prompt
    D:\Documents and Settings\Administrator>ctxload
    Enter user: ctxsys/ctxsys@mind2
    Enter name: default
    Enter file: E:\app\Administrator\product\11.1.0\db_1\ctx\sample\thes\dr0thsus.txt
    Connecting...
    DRG-11510: encountered unrecoverable error on line 1
    ORA-00931: missing identifier
    Disconnected
    Can anyone tell what is the error?
    Do we have to create a thesaurus 'default' before only and then load it using 'ctxload' command?
    Please can anybody explain how to create and load a thesarus?
    Thank You

    It appears it is expecting "ctxload -thes", not just "ctxload", even though "-thes" is not listed as part of the required syntax. It also requries that the default thesaurus does not already exist, so if you have one, then drop it. Below I have first reproduced your error, then added "-thes" with an already existing default thesaurus, showing what happens then, then dropped the default thesaurus, then demonstrated a correct load.
    -- from operating system command prompt:
    C:\app\Barbara\product\11.1.0\db_1\BIN>ctxload
    Enter user: ctxsys/ctxsys@orcl
    Enter name: default
    Enter file: C:\app\Barbara\product\11.1.0\db_1\ctx\sample\thes\dr0thsus.txt
    Connecting...
    DRG-11510: encountered unrecoverable error on line 1
    ORA-00931: missing identifier
    Disconnected
    C:\app\Barbara\product\11.1.0\db_1\BIN>ctxload -thes
    Enter user: ctxsys/ctxsys@orcl
    Enter name: default
    Enter file: C:\app\Barbara\product\11.1.0\db_1\ctx\sample\thes\dr0thsus.txt
    Connecting...
    Creating thesaurus default...
    ORA-20000: Oracle Text error:
    DRG-11700: thesaurus default already exists
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.DRITHSL", line 13
    ORA-06512: at line 1
    Disconnected
    -- from SQL*Plus:
    CTXSYS@orcl_11g> exec ctx_thes.drop_thesaurus ('default')
    PL/SQL procedure successfully completed.
    CTXSYS@orcl_11g>
    -- back to operating system command prompt:
    C:\app\Barbara\product\11.1.0\db_1\BIN>ctxload -thes
    Enter user: ctxsys/ctxsys@orcl
    Enter name: default
    Enter file: C:\app\Barbara\product\11.1.0\db_1\ctx\sample\thes\dr0thsus.txt
    Connecting...
    Creating thesaurus default...
    Thesaurus default created...
    Processing...
    1000 lines processed
    2000 lines processed
    3000 lines processed
    4000 lines processed
    5000 lines processed
    6000 lines processed
    7000 lines processed
    8000 lines processed
    9000 lines processed
    10000 lines processed
    11000 lines processed
    12000 lines processed
    13000 lines processed
    14000 lines processed
    15000 lines processed
    16000 lines processed
    17000 lines processed
    18000 lines processed
    19000 lines processed
    20000 lines processed
    21000 lines processed
    21760 lines processed successfully
    Beginning insert...21760 lines inserted successfully
    Disconnected
    C:\app\Barbara\product\11.1.0\db_1\BIN>

Maybe you are looking for