JAXB validation error with sample applications

Hi,
When trying to generate the java from po.xsd in the first example I get two compile errors in the result :
"PurchaseOrderImpl.java": Error #: 454 : class {deleted root}.generated.impl.PurchaseOrderImpl should be declared abstract; it does not define method validateThis() in interface javax.xml.bind.Element at line 11, column 8
"CommentImpl.java": Error #: 454 : class {deleted root}.generated.impl.CommentImpl should be declared abstract; it does not define method validateThis() in interface javax.xml.bind.Element at line 11, column 8
where {deleted root} represents parent packages in our source tree.
Anyone else seen this?
I'm using Ant1.51 to kick off the build, with the patch referred to in Apache bug 14640. (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14640)
The target to do the build is defined as follows :-
<target name="schema" depends="init"
description="Compile schema">
<echo message="Compiling the schema..."/>
<jaxb destDir="${src}"
readOnly="true"
strictValidation="true"
xjcjar="${JAXB_HOME}\lib\jaxb-xjc.jar">
<schemas dir="${basedir}" includes="po.xsd"/>
<targetPackageMapper type="regexp"
from="(.*)\.xsd" to="{deleted root}.generated"/>
</jaxb>
</target>
where ${src} is the root of the source tree and ${basedir} is the parent directory of "generated", containing the build.xml.

More precisely, this is a compile time error for the generated Java classes. The methods
void invalidate()
void validate()
void validate(Validator v)
void validateThis()
defined in
com.sun.xml.bind.validator.ValidatableObject
are not being built for
generated.impl/XTypeImpl.java
which extends
generated.impl/XImpl.java

Similar Messages

  • Our apologies but there was an unexpected error with the application. This problem has been noted, and an email has been sent to the administrators. Please check back in a few hours to try the download again. What is

    What is going on here. I've waited 4 weeks for my ipad which will not do anything untill I've downloaded the latest version of itunes which I can't do because this message keeps appearing,
    Our apologies but there was an unexpected error with the application.
    This problem has been noted, and an email has been sent to the administrators.
    Please check back in a few hours to try the download again.
    Reading another post, someone is still trying after two days!
    Anyone got a solution to this please, or, if not, does anyone know how to email itunes.
    Thanks, Allan

    Found this
    http://www.v3.co.uk/v3-uk/download-review/1955243/apple-itunes-1011
    Hope it helps

  • Im a CC member , when i chose to download an app , i have error with adobe application manager pop up ?

    im a CC member , when i chose to download an app , i have error with adobe application manager pop up ?

    Abdulla Mohd what specific error message are you receiving?

  • Planning - Sample application error with Classic Application Administration

    Hi,
    Planning is deployed with Tomcat and I get an error when I want to create an application with Classic Application Administration.
    If I use EPM architect, it's OK.
    Thanks if you have any idea.

    Hi,
    Process failed to create an application.
    In HyS9Planning-sysout.log:
    Unable to find JDBC_CATALOG key for application: test
    Connection to the datasource created successfully.
    Setting HBR Mode to: 2
    =2009-05-07 13:56:00,359 WARN http-8300-Processor4 com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
    d{ISO8601} WARN http-8300-Processor4 com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
    Embedded HBR initialized.
    Reaquired task list lease: Thu May 07 13:56:00 CEST 2009: 1241697360531
    Entering RegisterHelper.register method
    registering Product: HP test http://hfm11:28080/interop
    Entering RegisterHelper.register method
    Error Code: -1
    com.hyperion.css.CSSException: 30:1101:JNDI error.     Error Code: -1
    NestedException:
    javax.naming.directory.InvalidAttributeIdentifierException: [LDAP: error code 17 - cssProvisionedIdentity: attribute type undefined]; remaining name 'cn=ce0e92f7f18839fe:78de0306:1211a4aed04:-7aa2'
         at com.hyperion.css.spi.impl.nv.AddLDAPEntity.add(Unknown Source)
         at com.hyperion.css.spi.impl.nv.NativeProviderBase.addProvisioningEntry(Unknown Source)
         at com.hyperion.css.spi.impl.nv.NativeProviderBase.addRoleRelationShip(Unknown Source)
         at com.hyperion.css.spi.impl.nv.NativeProvider.associateRole(Unknown Source)
         at com.hyperion.css.spi.impl.nv.NativeProvider.setRolesList(Unknown Source)
         at com.hyperion.css.spi.impl.nv.NativeProvider.setRolesList(Unknown Source)
         at com.hyperion.planning.security.HspSynchronizationFacilitatorImpl.setUserRoleAdministratorInHub(Unknown Source)
         at com.hyperion.planning.security.HspLogonSynchronizer.setUserRoleAdministratorInHub(Unknown Source)
         at com.hyperion.planning.HspJSImpl.setHubRoleForUser(Unknown Source)
         at com.hyperion.planning.HyperionPlanningBean.setHubRoleForUser(Unknown Source)
         at com.hyperion.planning.appdeploy.HspManageAppSession.registerAppWithSharedServices(Unknown Source)
         at com.hyperion.planning.appdeploy.HspManageAppSession.registerAppWithSharedServices(Unknown Source)
         at com.hyperion.planning.appdeploy.HspManageAppSession.registerApp(Unknown Source)
         at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication(Unknown Source)
         at HspCreateApp.Handle(Unknown Source)
         at HspCreateApp.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at HspValidationFilter.doFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    - Nested Exception:
    javax.naming.directory.InvalidAttributeIdentifierException: [LDAP: error code 17 - cssProvisionedIdentity: attribute type undefined]; remaining name 'cn=ce0e92f7f18839fe:78de0306:1211a4aed04:-7aa2'
         at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
         at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(Unknown Source)
         at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(Unknown Source)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(Unknown Source)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(Unknown Source)
         at com.hyperion.css.spi.util.jndi.CSSDirContext.createSubcontext(Unknown Source)
         at com.hyperion.css.spi.impl.nv.AddLDAPEntity.add(Unknown Source)
         at com.hyperion.css.spi.impl.nv.NativeProviderBase.addProvisioningEntry(Unknown Source)
         at com.hyperion.css.spi.impl.nv.NativeProviderBase.addRoleRelationShip(Unknown Source)
         at com.hyperion.css.spi.impl.nv.NativeProvider.associateRole(Unknown Source)
         at com.hyperion.css.spi.impl.nv.NativeProvider.setRolesList(Unknown Source)
         at com.hyperion.css.spi.impl.nv.NativeProvider.setRolesList(Unknown Source)
         at com.hyperion.planning.security.HspSynchronizationFacilitatorImpl.setUserRoleAdministratorInHub(Unknown Source)
         at com.hyperion.planning.security.HspLogonSynchronizer.setUserRoleAdministratorInHub(Unknown Source)
         at com.hyperion.planning.HspJSImpl.setHubRoleForUser(Unknown Source)
         at com.hyperion.planning.HyperionPlanningBean.setHubRoleForUser(Unknown Source)
         at com.hyperion.planning.appdeploy.HspManageAppSession.registerAppWithSharedServices(Unknown Source)
         at com.hyperion.planning.appdeploy.HspManageAppSession.registerAppWithSharedServices(Unknown Source)
         at com.hyperion.planning.appdeploy.HspManageAppSession.registerApp(Unknown Source)
         at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication(Unknown Source)
         at HspCreateApp.Handle(Unknown Source)
         at HspCreateApp.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at HspValidationFilter.doFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    UnRegistering Application in HUB: test
    trying to get corresponding project...
    existing schema deleted
    deleted app in essbasetrue
    Error terminating Essbase connection: java.lang.NullPointerException
    Thanks

  • Urgent : Deployment error OWSM Sample application

    Hi Gurus,
    I am trying to deploy the LoanDemoOWSM sample application.I am getting the following error while trying to reference oasis-200401-wss-wssecurity-secext-1.0.xsd from my local oc4j server.
    BUILD FAILED
    D:\bpeljdev10131\jdev\mywork\LoanDemoOWSM\LoanFlowOWSM\build.xml:79: A problem occured while connecting to server "localhost" using port "8888": bpel_LoanFlowOWSM_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "LoanFlowOWSM" (revision "1.0"): BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    In WSDL at "file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_LoanFlowOWSM_1.0_a7dfb5af8756c092cf44f709a7d9ac84.tmp/LoanFlowOWSM.wsdl", message part element "{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security" is not defined in any of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL import is complete.
    [Potential fix]: n/a.
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:773)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:639)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:452)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:618)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:318)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:340)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 23 seconds
    I tried adding the oasis-200401-wss-wssecurity-secext-1.0.xsd file to the same location as my bpel process and referenced it as a local file in my BPEL process.
    Now the error I get is as follows
    Error while loading process.
    The process domain encountered the following errors while loading the process "LoanFlowOWSM" (revision "1.0"): BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    In WSDL at "file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_LoanFlowOWSM_1.0_a7dfb5af8756c092cf44f709a7d9ac84.tmp/LoanFlowOWSM.wsdl", message part element "{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security" is not defined in any of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL import is complete.
    [Potential fix]: n/a.
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:773)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:639)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:452)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:618)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:318)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:340)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 23 seconds
    In both cases , I think the BPEL process is not able to access the type definitions in oasis-200401-wss-wssecurity-secext-1.0.xsd file.
    Please help me fix this error.
    Thanks in Advance,
    Prasanna

    Like i have mentioned in the question.. i am using NWDS 7.0.
    To be precise NWDS: 7.0.12
    WAS 7.0 SP 13
    Project BuUild is succesful but deployment aborts with the error mentioned in the question.

  • Validation Errors with new Install of W7 x64 Ent Debug Checker On New Equipment

    I am receiving multiple Errors. I am trying to use the Windows 7 x64 Enterprise which happens to be the Debug Checker version OS as the host machine.  I have only built the machine, and tried to load the Drivers.
    I say this due to the starting issue that upon the loading of the entire driver set, (for the MB, Seagate Harddrive, and Vid Card), I would get the BSOD.  I identified that the Bluetooth driver was the issue.  I then did not load the Bluetooth
    drivers for the MB on the 5<sup>th</sup> or so install of the 7 Ent os.  (Tried Server 2k8 r2. Which is not compatible with the MB Drivers.)
    I have not received a single Update either.  The Auto update feature claims that I am up to date.  I do not believe this due to the fact that any fresh Install of any OS has about several decades of updates and reboots to go through.
    Upon trying the suggestions on the forum about turning off the IE Addons, the errors remain.  Also the results of the sfc /scannow are copied below.
    My Questions
    I am seeking assistance on solving the Errors that have refused to leave me alone , to put it humorously and am asking for your insight and wisdom.  Will you take a look??
    Do I need to go to Win 7 Ent or Ult x64 that is not a Debug Checker version.
    Are there other Microsoft download Registery file checkers besides the MGA Diag tool that are freeware that I can use to check, for corrupted registry files.
    Or do I just need to take it to the stores (Fry’s and Microcenter) that recommended the equipment and have them just reload the software and allow them the headache of solving the error issue, by paying them to install the drivers and have ALL of the
    drivers work. (including the blue tooth)
    The Goal is to turn it into a Active Directory Server using Virtual Box with Server 2k8 R2 running in the virtual box environment.
    Errors and Results.
    There are also a number of logs that show various Crit, Error, and Warning logs.  I will include those if need be.
    This is the majority of the error messages, and I have missed the opportunity to capture others.
    Internet explorer encountered Validation errors:
    Validation Error
    i.     
    Process Name: iexplorer.exe
    ii.     
    Module Name : mshtml.dll
    iii.     
    Assert offset: 0000000000B221DB
    Validation Error
    i.     
    Process Name: iexplorer.exe
    ii.     
    Module Name : comctl32.dl
    iii.     
    Assert offset: 00133A2A
    Validation Error
    i.     
    Process Name: iexplorer.exe
    ii.     
    Module Name : mshtml.dll
    iii.     
    Assert offset: 008BE823
    Validation Error
    i.     
    Process Name: iexplorer.exe
    ii.     
    Module Name : mshtml.dll
    iii.     
    Assert offset: 0040F9E8
    Validation Error
    i.     
    Process Name: iexplorer.exe
    ii.     
    Module Name : iertutil.dll
    iii.     
    Assert offset: 001DEC51
    Validation Error
    i.     
    Process Name: iexplorer.exe
    ii.     
    Module Name : KERNELBASE.dll
    iii.     
    Assert offset: 00014159
    Validation Error
    i.     
    Process Name: iexplorer.exe
    ii.     
    Module Name : mshtml.dll
    iii.     
    Assert offset: 0000000000B221DB
    Microsoft Management Console Encountered a Validation Error
    Validation Error
    i.     
    Process Name: mmc.exe
    ii.     
    Module Name : ieframe.dll
    iii.     
    Assert offset: 00000000006C9283
    Scripted Diagnostics Native Hot encountered a Validation Error
    Validation Error
    i.     
    Process Name: sdiagnhost.exe
    ii.     
    Module Name : urlmon.dll
    iii.     
    Assert offset: 00000000001A0A73
    Validation Error
    i.     
    Process Name: sdiagnhost.exe
    ii.     
    Module Name : KERNELBASE.dll
    iii.     
    Assert offset: 0000000000017f32
    Windows System Assessment Tool encountered a validation error
    Validation Error
    i.     
    Process Name: winsat.exe
    ii.     
    Module Name : KERNELBASE.dll
    iii.     
    Assert offset: 0000000000017F32
    Windows Explorer Encountered a validation Error
    Validation Error
    i.     
    Process Name: Explored.exe
    ii.     
    Module Name : thumbcache.dll
    iii.     
    Assert offset: 00000000000300BE
    AI Suite 2 encountered a validation error
    Validation Error
    i.     
    Process Name: AI Suite 2.exe
    ii.     
    Module Name : ntdll.dll
    iii.     
    Assert offset: 000686BD
    the number “2” is the substitutedfor the roman numeral 2
    I believe that this is part of the MB Suite.
    My the environment is a new equipment, and Downloaded student software. Windows 7 Enterprise SPK 1 Debug Checker, Valid Key with the software download.  Activated on 8-12-2012
    Motherboard: Asus p9x79 Deluxe, Part number: 90-mibh50-g0aay0kz
    Chip Set: bx80619i73930k
    2x Memory: cmx16gx3m2a1600c11 Corsair
    Video Card: Diamond R7870 2GB DD OC 2xDVI/HDMI/2xDisplayport memory Clock 1250 MHz
    Hard Drive: 9jb1n3-574 (leave the last two didgets off when searching in the browser) This is a Seagate 2TB
    Generic optic drive: SH-222bb/bebe Samsung
    Here is the Microsoft Fix It error code
    Assertion Failed!
    Program:…
    File: d:\w7rtm\ds\security\cryptoapi\pki\...\newstor.cpp
    Line: 2131
    Expression: pStore->dwState = = STORE_STATE_OPEN || pStore->dwState = = STORE_STATE_OPENING || pStore->dwState = = STORE_STATE_DEFER_CLOSING || pStore->dwState = = STORE_STATE_NULL
    For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts
    (Press Retry to debug the application – JIT must be enabled)
                    Abort    Retry     Ignore
    Abort
    Closes the program
    Retry
    Repeats the error
    Verbatim
    Ignore
    Closes the program
    Nothing happens
    Here is the Microsoft Genuine Advantage Diagnostic Report
    Diagnostic Report (1.9.0027.0):
    Windows Validation Data-->
    Validation Code: 0
    Cached Online Validation Code: N/A, hr = 0xc004f012
    Windows Product Key: *****-*****-*****-*****-8C7YB
    Windows Product Key Hash: cezvXJ2/mUhIEFxJfWkZ3IN8EQQ=
    Windows Product ID: 55041-146-2397786-86942
    Windows Product ID Type: 6
    Windows License Type: Volume MAK
    Windows OS version: 6.1.7601.2.00010100.1.0.004
    ID: {EBD85729-DBBB-479F-AB15-EBC0DDE0CC28}(1)
    Is Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/A, hr = 0x80070002
    Signed By: N/A, hr = 0x80070002
    Product Name: Windows 7 Enterprise
    Architecture: 0x00000009
    Build lab: 7601.win7sp1_rtm.101119-1850
    TTS Error:
    Validation Diagnostic:
    Resolution Status: N/A
    Vista WgaER Data-->
    ThreatID(s): N/A, hr = 0x80070002
    Version: N/A, hr = 0x80070002
    Windows XP Notifications Data-->
    Cached Result: N/A, hr = 0x80070002
    File Exists: No
    Version: N/A, hr = 0x80070002
    WgaTray.exe Signed By: N/A, hr = 0x80070002
    WgaLogon.dll Signed By: N/A, hr = 0x80070002
    OGA Notifications Data-->
    Cached Result: N/A, hr = 0x80070002
    Version: N/A, hr = 0x80070002
    OGAExec.exe Signed By: N/A, hr = 0x80070002
    OGAAddin.dll Signed By: N/A, hr = 0x80070002
    OGA Data-->
    Office Status: 109 N/A
    OGA Version: N/A, 0x80070002
    Signed By: N/A, hr = 0x80070002
    Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3
    Browser Data-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default Browser: c:\Program Files (x86)\Internet Explorer\iexplore.exe
    Download signed ActiveX controls: Prompt
    Download unsigned ActiveX controls: Disabled
    Run ActiveX controls and plug-ins: Allowed
    Initialize and script ActiveX controls not marked as safe: Disabled
    Allow scripting of Internet Explorer Webbrowser control: Disabled
    Active scripting: Allowed
    Script ActiveX controls marked as safe for scripting: Allowed
    File Scan Data-->
    File Mismatch: C:\Windows\system32\wat\watadminsvc.exe[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\npwatweb.dll[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\watux.exe[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\watweb.dll[Hr = 0x80070003]
    Other data-->
    Office Details: <GenuineResults><MachineData><UGUID>{EBD85729-DBBB-479F-AB15-EBC0DDE0CC28}</UGUID><Version>1.9.0027.0</Version><OS>6.1.7601.2.00010100.1.0.004</OS><Architecture>x64</Architecture><PKey>*****-*****-*****-*****-BBBBB</PKey><PID>55041-146-2397786-86942</PID><PIDType>6</PIDType><SID>S-1-5-21-4234423899-2489109333-1931045272</SID><SYSTEM><Manufacturer>System
    manufacturer</Manufacturer><Model>System Product Name</Model></SYSTEM><BIOS><Manufacturer>American Megatrends Inc.</Manufacturer><Version>1103</Version><SMBIOSVersion major="2" minor="7"/><Date>20120409000000.000000+000</Date></BIOS><HWID>CFBA3607018400F2</HWID><UserLCID>0409</UserLCID><SystemLCID>0409</SystemLCID><TimeZone>Pacific
    Standard Time(GMT-08:00)</TimeZone><iJoin>0</iJoin><SBID><stat>3</stat><msppid></msppid><name></name><model></model></SBID><OEM/><GANotification/></MachineData><Software><Office><Result>109</Result><Products/><Applications/></Office></Software></GenuineResults> 
    Spsys.log Content: 0x80070002
    Licensing Data-->
    Software licensing service version: 6.1.7601.17514
    Name: Windows(R) 7, Enterprise edition
    Description: Windows Operating System - Windows(R) 7, VOLUME_MAK channel
    Activation ID: 9abf5984-9c16-46f2-ad1e-7fe15931a8dd
    Application ID: 55c92734-d682-4d71-983e-d6ec3f16059f
    Extended PID: 55041-00172-146-239778-03-1033-7601.0000-2252012
    Installation ID: 000792957432055771547065313840421702569731971164600080
    Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
    Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
    Use License URL: http://go.microsoft.com/fwlink/?LinkID=88341
    Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
    Partial Product Key: 8C7YB
    License Status: Licensed
    Remaining Windows rearm count: 5
    Trusted time: 8/12/2012 5:47:25 PM
    Windows Activation Technologies-->
    HrOffline: 0x00000000
    HrOnline: N/A
    HealthStatus: 0x0000000000000000
    Event Time Stamp: N/A
    ActiveX: Not Registered - 0x80040154
    Admin Service: Not Registered - 0x80040154
    HealthStatus Bitmask Output:
    HWID Data-->
    HWID Hash Current: OAAAAAEAAgABAAEAAgACAAAABAABAAEAHKJu3XDSdMRkx4ieoGkwung0ipvkrmTRDIsORc6qNCE=
    OEM Activation 1.0 Data-->
    N/A
    OEM Activation 2.0 Data-->
    BIOS valid for OA 2.0: yes, but no SLIC table
    Windows marker version: N/A
    OEMID and OEMTableID Consistent: N/A
    BIOS Information:
      ACPI Table Name           OEMID Value     OEMTableID Value
      APIC                                    ALASKA                               
    A M I
      FACP                                   ALASKA                               
    A M I
      HPET                                    ALASKA                               
    A M I
      MCFG                                 ALASKA                               
    OEMMCFG.
      SSDT                                    AMICPU                              
    PROC
    Scan Now Results
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Windows\system32>sfc /scannow
    Beginning system scan.  This process will take some time.
    Beginning verification phase of system scan.
    Verification 100% complete.
    Windows Resource Protection did not find any integrity violations.
    C:\Windows\system32>

    Thank you for your valuable time.
    I have performed the Chkdsk and the memory Diagnostic tool as per the suggestions.
    The Memory Tool did not find anything amiss.
    As per another thread I am going to try flashing the bios as well with the updates.
    Following are the Chkdsk results.
    Are there any other suggestions?
    Chkdsk Results
    Checking file system on C:
    The type of the file system is NTFS.
    A disk check has been scheduled.
    Windows will now check the disk.                        
    CHKDSK is verifying files (stage 1 of 5)...
      89600 file records processed.                               
              File verification completed.
      221 large file records processed.                                     
    0 bad file records processed.                                       
    1596 EA records processed.                                             
    44 reparse records processed.                                      
    CHKDSK is verifying indexes (stage 2 of 5)...
      131874 index entries processed.                                        
    Index verification completed.
      0 unindexed files scanned.                                           0
    unindexed files recovered.                                       CHKDSK
    is verifying security descriptors (stage 3 of 5)...
      89600 file SDs/SIDs processed.                                        
    Cleaning up 36 unused index entries from index $SII of file 0x9.
    Cleaning up 36 unused index entries from index $SDH of file 0x9.
    Cleaning up 36 unused security descriptors.
    Security descriptor verification completed.
      21138 data files processed.                                           
    CHKDSK is verifying Usn Journal...
      36120296 USN bytes processed.                                            
    Usn Journal verification completed.
    CHKDSK is verifying file data (stage 4 of 5)...
      89584 files processed.                                                
    File data verification completed.
    CHKDSK is verifying free space (stage 5 of 5)...
      476262075 free clusters processed.                                        
    Free space verification is complete.
    Windows has checked the file system and found no problems.
    1953410047 KB total disk space.
      48065140 KB in 61610 files.
         43468 KB in 21139 indexes.
             0 KB in bad sectors.
        253139 KB in use by the system.
         65536 KB occupied by the log file.
    1905048300 KB available on disk.
          4096 bytes in each allocation unit.
     488352511 total allocation units on disk.
     476262075 allocation units available on disk.
    Internal Info:
    00 5e 01 00 ef 42 01 00 ef 95 02 00 00 00 00 00  .^...B..........
    e3 00 00 00 2c 00 00 00 00 00 00 00 00 00 00 00  ....,...........
    6d 00 75 00 69 00 00 00 00 00 00 00 00 00 00 00  m.u.i...........
    Windows has finished checking your disk.
    Please wait while your computer restarts.

  • A problem with sample application modification

    Hello,
    I trying to build my application based on the Oracle HTML DB sample application (SA). I do have ‘orders’ and ‘order_item’ tables and forms – similarly as the SA dos. However I do have a problem with a fact that SA’s ‘enter order header’ page only mandatory (not null) columns are obtaining values from a sequence (order_id) and popup key lov (p201_customer_id).
    In my application, I do have additional mandatory column – due_date. I can’t find a way to populate this column at the same time when process ‘process row of demo_orders’ is executed. This process’ type is ‘automatic row processing (dml)’ and as I can see it only deals with one primary key and one secondary key.
    On my own ‘enter order header’ page I do have ‘p201_due_date’ item displayed as ‘date picker (dd/mm/yyyy)’ so when I run my ‘enter order header’ page I can select ‘customer name’ similarly as on SA, and I do have additional ‘due date’ field where I can select a date from calendar-type popup window. However when I click on ‘continue >’ I am getting error ORA-01400 because I don’t know where to set that my due_date table column has to get populated from p201_due_date when I click on ‘continue >’ button.
    Is this doable using build in ‘automatic row processing (dml)’ process type or I have to write my own pl/sql anonymous block to handle this?
    Thank you for your time.
    DanielD

    Does p201_due_date have a source type 'Database Column' ? It should in order for the fetch and DML processes to know about it.
    Scott

  • Validating error with JAXP

    i wrote a small app that read a COLLADA instance document and convert it to a html document. First I wrote some xsl stylesheets and now I'm using a JAXP DOM parser to parse the instance document and a JAXP xslt transformer to perform the transformation.
    When I use a non-validating parser it seems all work well but when i try to use a validating parser i get this message error:
    org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'xml:base' to a(n) 'attribute declaration' component.
    What does it mean?
    When I'm at my home pc,I get the error above but when I'm at university lab pc I don't get any error. WHY!? I'm using the same files.
    Thx for your help

    i'm using jdk 1.5.0_11 and here is my java code.
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.FactoryConfigurationError;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.w3c.dom.Document;
    import org.w3c.dom.DOMException;
    // For JFileChooser
    import javax.swing.*;
    // For write operation
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.stream.StreamResult;
    import java.io.*;
    public class StylizerMio2 {
        // Global value so it can be ref'd by the tree-adapter
        static Document document;
        // Constants you'll use when configuring the factory
        static final String JAXP_SCHEMA_LANGUAGE="http://java.sun.com/xml/jaxp/properties/schemaLanguage";
        static final String W3C_XML_SCHEMA="http://www.w3.org/2001/XMLSchema";
         //Constants used to specify the schema in the application
         static final String schemaSource="COLLADASchema_141.xsd";
         static final String JAXP_SCHEMA_SOURCE="http://java.sun.com/xml/jaxp/properties/schemaSource";
        public static void main(String[] argv) {
            /*if (argv.length != 2) {
                System.err.println("Usage: java StylizerMio stylesheet xmlfile");
                System.exit(1);
            // Generating a parser
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
             //Configure the factory to generate a namespace-aware,validating parser
            factory.setValidating(true);  
            factory.setNamespaceAware(true);
             try{
                  factory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
              // Associate a document with a schema
              factory.setAttribute(JAXP_SCHEMA_SOURCE, new File(schemaSource));
             catch (IllegalArgumentException x) {
                  // Happens if the parser does not support JAXP 1.2
                  x.printStackTrace();
            // Associating the document with the schema
            try {
              JFileChooser chooser = new JFileChooser();
            ExampleFileFilter daeFilter = new ExampleFileFilter();
            daeFilter.addExtension("dae");
            daeFilter.setDescription("documenti istanza COLLADA");
            chooser.setFileFilter(daeFilter);
            chooser.setCurrentDirectory(new File("."));
              int returnVal = chooser.showOpenDialog(null);
              if(returnVal == JFileChooser.APPROVE_OPTION) {
              System.out.println("You chose to open this file: " +
                   chooser.getSelectedFile().getName());
                File stylesheet = new File("trasformazione.xsl");
              //"Moon Buggy/lunar_vehicle_tris.dae"
                File datafile = chooser.getSelectedFile();
                DocumentBuilder builder = factory.newDocumentBuilder();
              //Handling validation errors
              builder.setErrorHandler(
              new org.xml.sax.ErrorHandler(){
                   // ignore fatal errors (an exception is garaunteed)
                   public void fatalError(SAXParseException exception)
                        throws SAXException{}
                             //treat validation errors as fatal
                             public void error(SAXParseException e)
                                  throws SAXParseException
                                  throw e;
                             // dump warnigs too
                             public void warning(SAXParseException err)
                                  throws SAXParseException
                                  System.out.println("** Warning"
                                  + ", line " + err.getLineNumber()
                                  + ", uri " + err.getSystemId());
                                  System.out.println("   " + err.getMessage());
                document = builder.parse(datafile);
                // Use a Transformer for output
                TransformerFactory tFactory = TransformerFactory.newInstance();
                StreamSource stylesource = new StreamSource(stylesheet);
                Transformer transformer = tFactory.newTransformer(stylesource);
                DOMSource source = new DOMSource(document);
                // SaveDialogue JFileChooser
                ExampleFileFilter htmlFilter = new ExampleFileFilter();
                htmlFilter.addExtension("html");
                htmlFilter.setDescription("documento html");
                chooser.setFileFilter(htmlFilter);
                 chooser.showSaveDialog(null);
                  //"Moon Buggy/lunar_vehicle_tris.html"
                File htmlFile= chooser.getSelectedFile();
                StreamResult result = new StreamResult(htmlFile);
                transformer.transform(source, result);
            } catch (TransformerConfigurationException tce) {
                // Error generated by the parser
                System.out.println("\n** Transformer Factory error");
                System.out.println("   " + tce.getMessage());
                // Use the contained exception, if any
                Throwable x = tce;
                if (tce.getException() != null) {
                    x = tce.getException();
                x.printStackTrace();
            } catch (TransformerException te) {
                // Error generated by the parser
                System.out.println("\n** Transformation error");
                System.out.println("   " + te.getMessage());
                // Use the contained exception, if any
                Throwable x = te;
                if (te.getException() != null) {
                    x = te.getException();
                x.printStackTrace();
            } catch (SAXException sxe) {
                // Error generated by this application
                // (or a parser-initialization error)
                Exception x = sxe;
                if (sxe.getException() != null) {
                    x = sxe.getException();
                x.printStackTrace();
            } catch (ParserConfigurationException pce) {
                // Parser with specified options can't be built
                pce.printStackTrace();
            } catch (IOException ioe) {
                // I/O error
                ioe.printStackTrace();
        } // main
    }

  • Error in Sample Application v1.6

    When I launch the Sample Application v1.6 in IE (after I enter the demo/workspace), I get a Javascript error box with something to the effect of
    divTag is null or not an object
    Works fine in Firefox
    What is the issue? Thanks

    Well, I just ran it from a FF that does NOT have the SVG plugin and looked in the Firefox JS console and see the same error
    Clicking on the displayed JS link there takes me to the following
    //Display download plugin message
    function noPlugin(tDiv){
         divTag = document.getElementById(tDiv);     
         divTag.innerHTML = "Please install SVG Viewer to view the chart. <a href='http://www.adobe.com/svg/viewer/install/main.html'>Click here to download.</a>";     
    } // End noPlugin()
    There is obviously something amiss here. The intent seems to be to show that message above somewhere, but the "tDiv" element doesnt seem to be defined yet.
    Thanks

  • Validation errors in invoke application phase

    Hi,
    Is it possible to some how cause validation errors in the invoke application phase?
    I have a search form which uses a request scope managed bean. When the normal validations (one required field and another custom validator) fail in the validations phase, the form is redisplayed with errors and the user can hit submit again and the form will do as expected.
    I would also like to cause this behaviour if there where no search results, or more than the maximum, but as the bean is in request scope, when the form is redisplayed with these error messages if the user hits submit again the form is simply reloaded with the same values but no errors and the invoke application phase is never reached. They have to then hit submit again for it to work.
    Upon either of these errors I add a faces message to the context which gets displayed properly, but that doesn't seem to suggest validation error so request is still ended. I though by setting one of the components to invalid (by binding it to the managed bean) it would work but no joy.
    Any ideas how I can achieve this?
    Thanks!

    Hi I am also facing the issue. If any one got the solutoin for this please post it
    Thanks
    Kaal

  • Validation Errors with adf dialog

    Hi!
    We are using Oracle BC and ADF Faces.
    I'm having some validation problems with a adf dialog.
    The scenario is the following:
    An editing page.
    A field in this page has a LOV.
    The LOV has some search criteria, and a search button.
    When the button is clicked, the results appear on a table. The user selects one and the lov is closed.
    When filling the editing page the Lov is opened.
    When i don't put search criteria in the fields, no validation errors appear.
    If i put one or more search criterias, validations errors of the editing page appear.
    Why is this happening?
    Thanks.

    Please post a link to your site.
    Gramps

  • JAXB Validation Error

    Hi,
    Iam using JAXB. I get an validation error. When i try to marshal an object to XML. The code is simple as shown below
    1. Container.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <schema targetNamespace="http://agi.com"
    xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://agi.com"
    elementFormDefault="qualified">
    <complexType name="ContainerType" abstract="true">
    <sequence>
    <choice>
    <element name="File" type="anyType" />
    <element name="Pen" type="anyType" />
    </choice>
    </sequence>
    </complexType>
    <element name="Container" type="tns:ContainerType" abstract="true" />
    </schema>
    2. Holder.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <schema targetNamespace="http://agi.com"
    xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://agi.com"
    elementFormDefault="qualified">
    <include schemaLocation="Container.xsd"></include>
    <complexType name="HolderType">
    <complexContent>
    <restriction base="tns:ContainerType">
    <sequence>
    <choice>
    <element name="File">
    <complexType>
    <sequence>
    <element name="FileName"
    type="string">
    </element>
    <element name="Capacity"
    type="integer">
    </element>
    </sequence>
    </complexType>
    </element>
    <element name="Pen">
    <complexType>
    <sequence>
    <element name="Make"
    type="string">
    </element>
    </sequence>
    </complexType>
    </element>
    </choice>
    </sequence>
    </restriction>
    </complexContent>
    </complexType>
    <element name="Holder" type="tns:HolderType"></element>
    </schema>
    Main.java
    package test.client;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.math.BigInteger;
    import java.util.List;
    import javax.xml.bind.JAXBContext;
    import javax.xml.bind.Marshaller;
    import javax.xml.bind.Unmarshaller;
    import javax.xml.bind.Validator;
    import test.vo.AnyType;
    import test.vo.Holder;
    import test.vo.ObjectFactory;
    import test.vo.HolderType.FileType;
    import test.vo.HolderType.PenType;
    import com.sun.xml.bind.StringInputStream;
    public class Main {
    public static void main(String s[]) throws Exception{
    JAXBContext ctx = JAXBContext.newInstance("test.vo" );
    ObjectFactory obj = new ObjectFactory();
    Holder input = obj.createHolder();
    FileType file = obj.createHolderTypeFileType();
    file.setCapacity( BigInteger.valueOf(35) );
    file.setFileName("Accounts");
    AnyType any = obj.createAnyType();
    List lst = any.getContent();
    lst.add(file);
    input.setFile(any);
    Marshaller marsh = ctx.createMarshaller();
    marsh.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT,
    new Boolean(true));
    marsh.setProperty(Marshaller.JAXB_SCHEMA_LOCATION,
    "http://agi.com");
    Validator validator = ctx.createValidator();
    validator.validate(input);
    StringWriter sw = new StringWriter();
    marsh.marshal(input, new PrintWriter(sw) );
    StringBuffer sb = sw.getBuffer();
    System.out.println(sb.toString() );
    This throws the following exception
    DefaultValidationEventHandler: [ERROR]: tag name "test.vo.AnyType" is not allowed. Possible tag names are: <test.vo.HolderType.FileType>
    Location: obj: test.vo.impl.HolderImpl@1cd8669
    Exception in thread "main" com.sun.xml.bind.serializer.AbortSerializationException: tag name "test.vo.AnyType" is not allowed. Possible tag names are: <test.vo.HolderType.FileType>
    at test.vo.impl.runtime.ValidationContext.reportEvent(ValidationContext.java:199)
    at test.vo.impl.runtime.ValidationContext.reportEvent(ValidationContext.java:166)
    at test.vo.impl.runtime.MSVValidator.childAsElementBody(MSVValidator.java:336)
    at test.vo.impl.runtime.MSVValidator.childAsBody(MSVValidator.java:292)
    at test.vo.impl.ContainerTypeImpl.serializeBody(ContainerTypeImpl.java:52)
    at test.vo.impl.HolderTypeImpl.serializeBody(HolderTypeImpl.java:30)
    at test.vo.impl.HolderImpl.serializeBody(HolderImpl.java:43)
    at test.vo.impl.runtime.MSVValidator._validate(MSVValidator.java:102)
    at test.vo.impl.runtime.MSVValidator.validate(MSVValidator.java:77)
    at test.vo.impl.runtime.ValidationContext.validate(ValidationContext.java:75)
    at test.vo.impl.runtime.ValidatorImpl.validate(ValidatorImpl.java:121)
    at test.vo.impl.runtime.ValidatorImpl.validate(ValidatorImpl.java:104)
    at test.client.Main.main(Main.java:63)
    However if i commentout the validation it works fine yeilding the
    following result
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Holder xsi:schemaLocation="http://agi.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://agi.com">
    <File>
    <FileName>Accounts</FileName>
    <Capacity>35</Capacity>
    </File>
    </Holder>
    Which look good conforming to the schema above
    It willbe helpful if someout could point out the mistake iam doing
    Please help
    Regards
    Agilan Palani

    I changed the code
    marsh.setProperty(Marshaller.JAXB_SCHEMA_LOCATION,"http://agi.com Holder.xsd");
    to
    marsh.setProperty(Marshaller.JAXB_SCHEMA_LOCATION,"http://agi.com E:/Agilan/Holder.xsd");
    But still the same error.
    I have validated the generated xml using XMLObjective. It says the generated xml is valid against the schema.
    I really dont know why the JAXB validation fails?
    Please help

  • Error running sample application

    Not able to run sample application. while compiling *.java files it's giving error oracle.ifs.bean.* not found. pls. suggest asap.

    Do you have your CLASSPATH setup correctly? Your CLASSPATH must include the iFS libraries if you want to compile anything. Read the devkit documentation for more info.

  • Error deploying sample application

    Hi experts,
    I am getting following error while deploying OAAM sample application:
    Error: Unresolved Webapp Library references for "ServletContext@285871212[app:OAAMTester module:OAAMTester.war path:/OAAMTester spec-version:2.5]", defined in weblogic.xml [Extension-Name: oracle.oaam.libs, exact-match: false]
    Even though i have deployed required libraries
    My weblogic.xml :
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90"
    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd
    http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <library-ref>
    <library-name>oracle.oaam.libs</library-name>
    </library-ref>
    </weblogic-web-app>
    web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
    <display-name>OAAMTester</display-name>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
    <description></description>
    <display-name>OAAMTestServlet</display-name>
    <servlet-name>OAAMTestServlet</servlet-name>
    <servlet-class>com.au.oaam.test.OAAMTestServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>OAAMTestServlet</servlet-name>
    <url-pattern>/OAAMTestServlet</url-pattern>
    </servlet-mapping>
    <listener>
    <listener-class>com.au.oaam.test.listener.SessionListener</listener-class>
    </listener>
    </web-app>
    ~
    ~
    Thanks
    H

    Hi!
    Seems application missing this library. You need to add this library to either application or to the Weblogic server.
    Note:
    Also don't duplicate the same library in application and the server. You can use following entry to force the app to use only web-inf/lib libraries.
    (weblogic.xml)
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    Nilum.

  • Form validation error with mandatory fields and signature field

    Hello,
    I have seen that many other users are facing this issue, and they partialy do solve it with some workarounds. However, none of them applies to my case.
    I have a dynamic form (can be registration form for example) where user fills in bunch of fields. Some of them are mandatory.
    When user signs the form, I get our favourite validation error popups that filed this and this did not validate. (I think that the signature is not valid too once I get these errors).
    Workaround would be to set all fileds in the form as optional, however, the presign and postsign events work only in A9 and I need the form to be compatible with ver. 8 too.
    I also need to make sure, that they are not set to optional, if the signing fails, user clicks on cancel etc...
    Any ideas how to acomplish such a scenario?
    Thanks
    J.

    solved by myself.
    You have to install and configure the reader rights credentials mentioned in note 736902

Maybe you are looking for