Beehive 2.0.1.4.0 JDK JAXB error

I'm developing a module that communicates with Beehive.
From what I understand there aren't SOAP webservices on version 2, only REST?!
I'm trying to follow the BDK sample client (http://www.oracle.com/technetwork/middleware/beehive/java-bdk-082633.html), and I'm stuck in the JAXB generation part.
I'm using JAXB 2.0.1-b01-fcs and JDK 1.6.0_18 (also tried with older JDK and even beehive JDK), but I keep getting 244 of this errors (only changes the type):
Cannot resolve the name 'tns:accessControlFieldsUpdater' to a(n) 'type definition' component.
I'm calling
jaxb-ri-20060607\bin\xjc.bat schema-obh-xjc.xsd schema-obr.xsd -extension
What am I doing wrong?

From what I understand there aren't SOAP webservices on version 2, only REST?!SOAP is also available with Oracle Beehive 2.0.1.4. For now, the SOAP API is not exposed in the OTN site " [Oracle Beehive Collaboration Platform|http://www.oracle.com/technetwork/middleware/beehive/platform-098968.html] " but we are currently trying to fix this. In the meantime, you can access the SOAP API documentation in your Beehive environment at the following location: http://host:port/ws/docs
Regards,
Ward

Similar Messages

  • JAXB 2.1 w/JDK 6 Error. bootstrap classloader issue.

    When I run one of my JUnit tests, I get this error:
    JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/usr/local/netbeans-6.0/java1/modules/ext/jaxws21/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader.
    So, I copy jaxb-api.jar into /usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/endorsed/jaxb-impl.jar
    Then I get this error:
    JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/endorsed/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API
    OS: Ubuntu 7.10
    JVM: Sun 1.6.0.03
    IDE: NetBeans 6.0
    How do I resolve?

    This seems to be the answer: https://jaxb.dev.java.net/guide/Migrating_JAXB_2_0_applications_to_JavaSE_6.html#Using_JAXB_2_1_with_JavaSE_6
    Place the 2.1 jaxb-api.jar into $JRE_HOME/lib/endorsed. This essentially makes your JRE to "JRE 6 + JAXB 2.1". This won't affect any other applications that use this JRE, and it's easy. On the other hand, in various scenarios you may not be able to alter the JRE.

  • Solaris 7 sparc 64 bit jdk giving error:referenced symbol not found

    hi
    I have installed jdk 5.0 on solaris 7 sparc for 64 bit support
    I am getting this error while giving java, plz help me
    dl failure on line 717Error: failed /els/install/jdk1.5.0_04/jre/lib/sparcv9/server/libjvm.so, because ld.so.1: java: fatal: relocation error: file /els/install/jdk1.5.0_04/jre/lib/sparcv9/server/libjvm.so: symbol __1c2n6FL_pv_: referenced symbol not found

    I got this problem too.
    have fixed this?
    whether should we patch the os first?

  • JAXB error: DTDParse

    Hi,
    I have the following XML file:
    <company>
    <manager>
    <name>Fred</name>
    <name>Joe</name>
    </manager>
    <employee>
    <name>Dave</name>
    <name>Derek</name>
    </employee>
    </company>
    Now when I generate java source code using jaxb (and the default binding) I get a DTDParse error saying that the "name" element was already declared?
    Without renaming the <name> element is it possible to do this using jaxb, or is this simply an invalid dtd?
    thanks,
    Dean

    is your DTD like this?
    <!ELEMENT company (manager, employee)>
    <!ELEMENT employee (name+)>
    <!ELEMENT manager (name+)>
    <!ELEMENT name (#PCDATA)>

  • JAXB ERROR

    HI
    I have DTD that has 2 tags by name
    BORROWER and _BORROWER.
    When I try to use the xjc tool of JAXB, both the tags result to BORROWER and I get the following error while parsing-
    parsing a schema...
    [ERROR] A class/interface with the same name "com.mhub.core.busobj.trans.mortgag
    edata.response.BORROWER" is already in use.
    line 1673 of CreditResponse_v2_3.dtd
    [ERROR] (Relevant to above error) another one is generated from here.
    line 1673 of CreditResponse_v2_3.dtd
    Failed to parse a schema.
    I donot want to change the DTD. How can I proceed further.
    Can some one help me in this regard?
    Its a bit important and urgent.
    Thanks in advance

    You can use customized binding to rename the class used for one of the elements. There's an explanation of this at http://java.sun.com/webservices/docs/1.3/tutorial/doc/JAXBUsing4.html#wp148576

  • JAXB - Errors getting in binding the schema

    Hi! I have one xsd document that uses another xsd for list of values. First I bound the list of values xsd document and then tried to bind the original xsd. It is giving me the following error.
    [ERROR] length-minLength-maxLength: It is an error for both length and either of
    minLength or maxLength to be specified.
    line 762 of Origianl_DT.xsd
    [ERROR] length-minLength-maxLength: It is an error for both length and either of
    minLength or maxLength to be specified.
    line 1159 of Origianl_DT.xsd
    [ERROR] length-minLength-maxLength: It is an error for both length and either of
    minLength or maxLength to be specified.
    line 1295 of Origianl_DT.xsd
    Both of the xsd files were validated using xmlspy successfully. Now, I want to learn JAXB for simple xml file creation and validation against the xsd files. Please help me. Thanks,

    JAXB has extra rules that it uses to validate the schema. I believe this is for simplicity in the code generation side. For example, you can't have a maxOccurs="unbounded" element in an "all" complex element, it must be in a "sequence".
    In this case (and hopefully all others) fixing the schema so that JAXB will accept it is not going to hurt anything. A length requirement is both a maxLength and a minLength.
    There are some rules I don't appreciate that JAXB tacks on. For example, if you import another schema into your binding schema, and don't use every type specified in the imported schema, it will balk. Why? I can't think of a good reason. It really makes it a pain in the ass to create reusable custom XML types. I have to have a different schema for every type.

  • Jaxb error when using -p to create package

    I have been using jaxb in its various forms for a couple years. I am currently using jaxb 2.0 (with JAVA 1.5) and have run it successfully for about a year. Now all of a sudden it is giving me an error (even when I try to re-generate XML files that I could previously generate successfully). I have narrowed down the problem (I think) to the -p argument. If I don't use the -p argument and let jaxb create the XML files and put them in the "generated" directory, it works just fine. But if I try to use -p and specify a directory to put the files in, it gives me two errors:
    [ERROR] schema_reference.4: Failed to read schema document 'file:/C:/Pythagoras2
    .0/src/ûp', because 1) could not find the document; 2) the document could not be
    read; 3) the root element of the document is not <xsd:schema>.
    unknown location
    [ERROR] schema_reference.4: Failed to read schema document 'file:/C:/Pythagoras2
    .0/src/com.prototype.xml', because 1) could not find the document; 2) the docume
    nt could not be read; 3) the root element of the document is not <xsd:schema>.
    unknown location
    I am starting at the src directory and using the command: C:\jaxb-ri-2.0\bin\xjc -p com.prototype.xml ..\classes\Pythagoras.xsd
    I thought I could just get around the problem by not using the -p argument and just copying the XML files from the generated directory to the xml directory where my application is looking for them, but jaxb embeds the "package generated" in each XML file and that gives me a compiler error.
    Any ideas on why the -p argument would all of a sudden give me errors? Thanks!
    Donna

    Hi,
    In IDT - you can't create a BusinessLayer on a BEX query OLAP Connection, and generate a .UNX.
    As the warning says: Not supported.
    That tutorial shows "adventure works" which is a MS SQL Server Analysis Services demo/sample cube.
    As i said above: MSAS is OK for OLAP UNX.
    Regards,
    H
    please vote for these items if you feel so inclined https://cw.sdn.sap.com/cw/ideas/8701
    and https://cw.sdn.sap.com/cw/ideas/3657

  • JDK Installation Error

    When I install the JDK, the installation completes and then I get an error pop-up of "Missing File Error: Unable to find locale data files. Please reinstall."
    I have tried several installations of two different versions of the JDK. I can't seem to find any posts on this error. Does anyone know what might be causing it?

    Doing a Google search on the error indicates that it is in no way a problem related to Java directly, it happens for different application installers. You're better off looking in Windows forums, MSDN, etc. etc.

  • JAXB error: unable to locate .../bgm.ser

    When call setValidating(true) on my unmarshaller I see the following error. This error does not stop the processing of my code i.e. I think it is being caught inside the JAXB implementation and not rethrown :(
    javax.xml.bind.JAXBException: unable to locate myclasspath/ObjectFactory$GrammarInfoImpl/bgm.ser
    The bgm.ser file is located in the root of myclasspath and is generated by the binding compiler. Why is JAXB looking for this file in a non-existent directory?

    I had the same error because the IDE I am using
    separates the .java from the .class so the bgm.ser is
    still sitting in your java directory. You need to move
    it across to the class directory and all will be fine.
    Of course be careful of rebuild all.Thanks. I guess I should have tried that. The error message was putting me on the wrong track. So now that works but I still have no use for the validation because it has no context. When I validate it this way, I at least get a line and column number but nothing else. I could dig into the file and figure out what element is there but it doesn't help me when I want to validate later.
    I've gone ahead and written my on validation class that allows me to use error message text that I embed in the schema.
    Thanks.

  • JAXB error!! confused

    please could u help i have this xsd i am trying to bind
    but the xjc complier .i don't see anything wrong with the schema and the xml validator is successful.
    the problem when it try to generate the classes with xjc
    i get this error
    C:\chi_codes\testApp\web>xjc -p com.generated personSchema.xsd -d c:\chi_codes\t
    estApp\src
    parsing a schema...
    [ERROR] A class/interface with the same name "com.generated.PersonType" is alrea
    dy in use. Use a class customization to resolve this conflict.
      line 18 of personSchema.xsd
    [ERROR] (Relevant to above error) another "PersonType" is generated from here.
      line 17 of personSchema.xsd
    Failed to parse a schema.there no dulipcate PersonType i am very confused.
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
        Document   : personSchema.xsd
        Created on : March 20, 2005, 12:10 PM
        Author     : Administrator
        Description:
            Purpose of XML Schema document follows.
    -->
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:ns="http://xml.netbeans.org/examples/targetNS"
                targetNamespace="http://xml.netbeans.org/examples/targetNS"
                xmlns="http://xml.netbeans.org/examples/targetNS"
                elementFormDefault="qualified">
    <xsd:element name="PersonType" type="personType"/>
    <xsd:complexType name="personType">  
         <xsd:sequence>
           <xsd:element name="person" maxOccurs="unbounded" minOccurs="1">               
        <xsd:complexType >
           <xsd:sequence>         
           <xsd:element name="password"   type="xsd:string" minOccurs="0"/>      
           <xsd:element name="userName" type="xsd:string" minOccurs="0"/>      
           </xsd:sequence>
           <xsd:attribute name="id" use="required" type="xsd:string"/>
            </xsd:complexType>
            </xsd:element> 
               </xsd:sequence>  
             </xsd:complexType>
    </xsd:schema>The xml i am trying get with this schema is
    <?xml version="1.0" encoding="UTF-8"?>
    <PersonType>
    <person id="1">
    <userName>chEE</userName>
    <password>never0</password>
    </person>
    <person id="2">
    <userName>cdet</userName>
    <password>hgh</password>
    </person>
    <person id="3">
    <userName>jjj</userName>
    <password>hgjh0</password>
    </person>
    </PersonType>thanks i will really be very grateful if someone can explain this to me

    Hi.
    I'm still experiencing that kind of problem.
    I'm using JAXB RI 2.0 EA to generate Java classes from XML Schema (VoiceXML).
    As I was getting the customization error, I've created a bindings.xjb.
    The XML schema is:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema targetNamespace="http://www.w3.org/2001/vxml"
    xmlns="http://www.w3.org/2001/vxml"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
        <xsd:annotation>
            <xsd:documentation>VoiceXML 2.0 schema (20040116) </xsd:documentation>
        </xsd:annotation>
        <xsd:annotation>
            <xsd:documentation>
    Copyright 1998-2004 W3C (MIT, ERCIM, Keio), All Rights Reserved. Permission to
    use, copy, modify and distribute the VoiceXML schema and its accompanying
    documentation for any purpose and without fee is hereby granted in perpetuity,
    provided that the above copyright notice and this paragraph appear in all
    copies.  The copyright holders make no representation about the suitability of
    the schema for any purpose. It is provided "as is" without expressed or
    implied warranty.
    </xsd:documentation>
        </xsd:annotation>
        <xsd:annotation>
            <xsd:documentation>Numeric references are to sections in VoiceXML 2.0.
    [REFERENCE] refers to a reference in VoiceXML 2.0. </xsd:documentation>
        </xsd:annotation>
        <xsd:annotation>
            <xsd:documentation>Importing dependent schemas including datatypes,
         attributes and adapter schemas for SRGS 1.0  and SSML 1.0
        </xsd:documentation>
        </xsd:annotation>
       <xsd:include schemaLocation="vxml-datatypes.xsd"/>   
       <xsd:include schemaLocation="vxml-attribs.xsd"/>   
       <xsd:include schemaLocation="vxml-grammar-extension.xsd"/>
       <xsd:include schemaLocation="vxml-synthesis-extension.xsd"/>
       <xsd:import namespace="http://www.w3.org/XML/1998/namespace"
       schemaLocation="http://www.w3.org/2001/xml.xsd"/>
        <xsd:element name="meta">
            <xsd:complexType>
                <xsd:attribute name="name" type="xsd:NMTOKEN"/>
                <xsd:attribute name="content" type="xsd:string" use="required"/>
                <xsd:attribute name="http-equiv" type="xsd:NMTOKEN"/>
            </xsd:complexType>
        </xsd:element>
    (..............)The bindings.xjb is:
    <jxb:bindings version="1.0"
    xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <jxb:bindings schemaLocation="vxml.xsd" node="/xs:schema">
              <jxb:bindings node="//xs:element[@name='Meta']">
                   <jxb:class name="MetaCustom"/>
              </jxb:bindings>
         </jxb:bindings>
    </jxb:bindings>The error I get is:
    C:\XML\VXMLSchema\vxml-schema\Teste1>xjc -nv -extension -b bindings.xjb vxml.xsd
    parsing a schema...
    [ERROR] XPath evaluation of "//xs:element[@name='Meta']" results in empty target node
      line 5 of file:/C:/XML/VXMLSchema/vxml-schema/Teste1/bindings.xjb
    Failed to parse a schema.Can anyone help me with this, I'm sure it's a little error of mine.
    Thanks.

  • JAXB: Error compiling classes generated by xjc (file name too long)

    Hi friends,
    I am trying to compile classes that are generated by using XJC tool on xsd file. The compilation fails with following message.
    buildxsdmodel:
        [javac] Compiling 794 source files to /home/uchamad/working/teleworker/ejb/build/classes
        [javac] /home/uchamad/working/teleworker/ejb/build/tmpsrc/uk/co/novatel/teleworker/model/wlr/bulksearch
    results/impl/ApplicationInformationTypeImpl.java:58372: error while writing
    uk.co.novatel.teleworker.model.wlr.bulksearchresults.impl.ApplicationInformationTypeImpl.XMLRequestID
    TypeImpl.SearchOrderResultsTypeImpl.SearchTypeDetailTypeImpl.OrderTypeImpl.OrderDetailsTypeImpl.
    OrderLinesTypeImpl.NumberPortingTypeImpl.OLODetailsTypeImpl.NumberLocationTypeImpl.OLOMainP
    STN1AddressTypeImpl.Unmarshaller: /home/uchamad/working/teleworker/ejb/build/classes/uk/co/novatel
    /teleworker/model/wlr/bulksearchresults/impl/ApplicationInformationTypeImpl$XMLRequestIDTypeImpl$S
    earchOrderResultsTypeImpl$SearchTypeDetailTypeImpl$OrderTypeImpl$OrderDetailsTypeImpl$OrderLin
    esTypeImpl$NumberPortingTypeImpl$OLODetailsTypeImpl$NumberLocationTypeImpl$OLOMainPSTN1A
    ddressTypeImpl$Unmarshaller.class (File name too long)
        [javac]                                             public class Unmarshaller
        [javac]                                                    ^
        [javac] 1 error
    The compiler is complaining about the file name being too long. This is happening because the java classes when generated from XSD contains deep nesting of inner classes. So when it comes to compile the .class name file is too long for the operating system.
    I am trying this on unix box.
    I wonder if there is a way to configure XJC so that it does not produce inner classes but instead keep them out.
    Any help would be appreciated.
    many thanks
    Usmangani

    Flattening your schema definition will flatten the output files, too -- that will probably be nice for coding as well since you wont have to use class names such as SomeTypeNestedInAnotherTypeThatHasYetAnotherType. Instead of having all of the elements defined directly within the enclosing root element, define logical chunks at the top level and incorporate them in the definition of real root element of your documents by reference.

  • JAXB error...urgent help needed

    I am trying to create an XML document from user input (via the request) and am recieving the following error. I am unsure where to look as I have exhausetd everything I can think of. Given the error, where should I be looking? Could it be I am not creating my elements properly?
    Any help would be greatly appreciated.
    Jesse
    error details:
    DefaultValidationEventHandler: [ERROR]: a required object is missing
    Location: unavailable
    com.sun.xml.bind.serializer.AbortSerializationException: a required object is missing
         at sdh.po.impl.runtime.SAXMarshaller.reportError(SAXMarshaller.java:416)
         at sdh.po.impl.runtime.SAXMarshaller.text(SAXMarshaller.java:262)
         at sdh.po.impl.ContactAddressTypeImpl.serializeElementBody(ContactAddressTypeImpl.java:77)
         at sdh.po.impl.runtime.SAXMarshaller.childAsElementBody(SAXMarshaller.java:378)
         at sdh.po.impl.ContactInformationImpl.serializeElementBody(ContactInformationImpl.java:115)
         at sdh.po.impl.runtime.SAXMarshaller.childAsElementBody(SAXMarshaller.java:378)
         at sdh.po.impl.MetadataTypeImpl.serializeElementBody(MetadataTypeImpl.java:60)
         at sdh.po.impl.MetadataImpl.serializeElementBody(MetadataImpl.java:43)
         at sdh.po.impl.runtime.MarshallerImpl.write(MarshallerImpl.java:161)
         at sdh.po.impl.runtime.MarshallerImpl.marshal(MarshallerImpl.java:134)
         at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:66)
         at nfis.SubmissionServlet.doPost(SubmissionServlet.java:87)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:534)
    --------------- linked to ------------------
    javax.xml.bind.MarshalException
    - with linked exception:
    [com.sun.xml.bind.serializer.AbortSerializationException: a required object is missing]
         at sdh.po.impl.runtime.MarshallerImpl.write(MarshallerImpl.java:166)
         at sdh.po.impl.runtime.MarshallerImpl.marshal(MarshallerImpl.java:134)
         at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:66)
         at nfis.SubmissionServlet.doPost(SubmissionServlet.java:87)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:534)

    It is probable that you are creating an element, and then explicitly setting its value to null. This will cause the error you are getting even if the minOccurs for the particular element is set to 0.

  • Weblogic upgrade from 8.1 to 10.3.6 - Apache Beehive

    Hi
    We are trying to upgrade from Weblogic 8.1 to 10.3.6, the applications use Apache Beehive.
    Would like to know if Weblogic 10.3.6 supports Apache Beehive Integration. Tried to do a Proof of concept, the beehive control objects are not getting set and because of it I am getting null pointer exception.
    Rgds
    Srini

    Hi Srini,
    it supports but you need to upgrade correctly.
    follow this link
    Beehive Applications
    after upgrade if you found some error like classnotfound error.
    If those are the errors you were also experiencing, then please follow one of these options to resolve this issue:OPTION
    1:Identify all the JARs that contain the beehive classes and explicitly add the jar files to the classpathOPTION
    2:When you created the domain (if you used the Config Wizard), do you make it a "Workshop" domain? If not, try that.That should deploy the Workshop framework (Beehive controls, NETUI, etc) libraries as shared libraries. Then these libraries should be referenced in your applications weblogic.xml and weblogic-application.xml.
    regards,
    Kal

  • JAXB Flags an Error in XML Doc Related to a Choice of Elements

    With a fairly complex DTD, an error results when JAXB unmarshalls a valid XML document. Here is the relevant DTD fragment:
    <!ELEMENT Declaration (Variable+, (typeList | Drelation))>
    The elements Variable and Drelation are complex, and contain other elements. Element typeList contains only #PCDATA. If Varaible is followed by Drelation, everything is fine, but if Variable is follwed by typeList, then unmarshall reports the following error:
    Exception in thread "main" javax.xml.bind.UnrecognizedElementNameException: typeList
    I know there is not a real error, because I have validated the XML document against the DTD using Xeena, from IBM's Alphaworks.

    By way of additional information, I tried to circumvent the problem with the following change.
    <!ELEMENT Declaration (Variable+, DecType)>
    <!ATTLIST Declaration dpower (PowerSet) #IMPLIED>
    <!ELEMENT DecType (typeList | Drelation)>
    Now, each element is either a sequence or a choice, but not both. The result was the same problem. The unmarshall reports the same error when it gets to the DecType element, saying the typeList element is unexpected. Again, IBM's Xeena tool reports that the XML document is valid for the DTD.
    Here is the relevant XML fragment.
    <Declaration dpower="PowerSet">
    <Variable> members </Variable>
    <DecType> <typeList> Person </typeList> </DecType>
    </Declaration>
    Is this a JAXB error?

  • Migration of JDK 1.4.2_16 to SAP JVM

    Dear Techies,
    We are trying to migrate JDK 1.4.2_16 to SAP JVM 4 of our solution manager 7.0.
    I have Downloaded.Both JVM switch Tool and JVM 4 version
    SAPJVMSWITCH00_1-20008223.SAR,
    SAPJVM4_1-10009724.SAR.
    Iam trying to run the switch tool.
    while follwing the steps Iam encountering the error as mentioned below.
    An error occurred while processing option Switch JDK to SAP JVM > Switch JDK( Last error reported by the step: System call failed. Error 3 (The system cannot find the path specified. ) in execution of system call 'CreateProcess' with parameter (NULL,  Program Files/sapinst_instdir/NW70/SWITCH_JDK, &StartupInfo, &ProcessInfo), line (578) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 146: EJS_ControllerImpl::executeScript()
    d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 461: EJS_Base::dispatchFunctionCall() iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall() iaxxbprocess.cpp: 407: CIaOsProcess::start_impl() synxcchapp.cpp: 232: CSyChildApplicationImpl::start(false) synxcchapp.cpp: 256: CSyChildApplicationImpl::doStart() .). You can now:
    Choose Retry to repeat the current step.
    Choose Log Files to get more information about the error.
    Stop the option and continue with it later.
    Log files are written to C:\Program Files/sapinst_instdir/NW70/SWITCH_JDK.
    Iam working in win2003 sr2 64 bit environment.
    SAP is installed in E:\
    Windows in C:\ and D:\ is our cd drive.
    Please suggest how to go ahead.
    Thanks in advance.
    Regards,
    Kiran.

    Hi,
    The system cannot find the path specified
    Looks like a required file is missing or not accessible. COuld you check for the last updated log files in the location C:\Program Files/sapinst_instdir/NW70/SWITCH_JDK?
    These may give info about the missing file.
    Regards,
    Srikishan

Maybe you are looking for