Error While running sample Webservice

Hi,
I deployed Hello WebService sample on Oracle 9iAS 9.0.2 Server.
I can access and see WSDL.
Also, I could download client proxy from the server.
but, when I try to invoke service from the client proxy.i get the following exception:
[java] [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type
"text/html", must be: "text/xml". Response was:
[java] <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HE
AD><BODY><H1>500 Internal Server Error</H1><PRE>oracle.j2ee.xanadu.J
asperGenerationError: no source generated during code generation!: 1 in getFile name: \Hello.cl
ass
[java] <br>1 in getFile name: \Hello.java
[java] <br>error: error message &apos;class.format&apos; not found<br>binary c
lass definition not found: Hello
[java] <br>
[java] <br> at oracle.j2ee.ws.JavaWrapperGenerator.generate(JavaWrapperGenerator.ja
va:267)
[java] <br> at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java
:662)
[java] <br> at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:436)
[java] <br> at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:767)
[java] <br> at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:309)
[java] <br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
[java] <br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
[java] <br> at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http
.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
[java] <br> at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
[java] <br> at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http
.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:535)
[java] <br> at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http
.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:281)
[java] <br> at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http
.HttpRequestHandler.processRequest(HttpRequestHandler.java:766)
[java] <br> at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http
.AJPRequestHandler.run(AJPRequestHandler.java:152)
[java] <br> at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http
.AJPRequestHandler.run(AJPRequestHandler.java:72)
[java] <br> at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExe
cutor.java:802)
[java] <br> at java.lang.Thread.run(Thread.java:484)
[java] <br></PRE></BODY></HTML>
[java] ]
[java] at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:201)
[java] at org.apache.soap.rpc.Call.invoke(Call.java:260)
[java] at HelloProxy.makeSOAPCallRPC(HelloProxy.java:49)
[java] at HelloProxy.sayHello(HelloProxy.java:33)
[java] at HelloClient.main(HelloClient.java:6)
[java] Exception in thread "main"
[java] Java Result: 1
Also, i checked the application log file in the server. The content of Log application.log file is given below:
----------------------------------------------------------3/22/04 1:18 PM hellows-web: Servlet error
oracle.j2ee.xanadu.JasperGenerationError: no source generated during code generation!: 1 in getFile name: \Hello.class
1 in getFile name: \Hello.java
error: error message 'class.format' not found
binary class definition not found: Hello
     at oracle.j2ee.ws.JavaWrapperGenerator.generate(JavaWrapperGenerator.java:267)
     at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:662)
     at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:436)
     at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:767)
     at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:309)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
     at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
     at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:535)
     at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:281)
     at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:766)
     at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:152)
     at com.evermind[Oracle9iAS (9.0.2.1.1) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
     at java.lang.Thread.run(Thread.java:484)
Please, can anybody help me in resolving this problem.
Thanks,
Sekhar

Anirudh,
iam using SOA 10.1.3.1 Version.
Other WS's i was able to run.
the following is the error message while running AmazonSearch Service.
*[2011/01/28 09:18:36]*
Faulted while invoking operation "KeywordSearchRequest" on provider "AmazonSearchService".
- <messages>
- <input>
- <request>
- <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="KeywordSearchRequest">
- <KeywordSearchRequest>
*<keyword>*
paul
*</keyword>*
*<page/>*
*<mode/>*
*<tag/>*
*<type/>*
*<devtag/>*
*<sort/>*
*<locale/>*
*<price/>*
*</KeywordSearchRequest>*
*</part>*
*</request>*
*</input>*
- <fault>
- <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
- <part name="summary">
*<summary>*
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 410 Gone
*</summary>*
*</part>*
*</remoteFault>*
*</fault>*
*</messages>*
*[2011/01/28 09:18:36]*
*"{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown.*
- <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
- <part name="summary">
*<summary>*
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 410 Gone
*</summary>*
*</part>*
*</remoteFault>*
regards
sridhar

Similar Messages

  • Error While Running Sample - AmazonSearchService

    Team,
    iam getting the following error while running the sample : AmazonSearchService
    *<summary>*
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 410 Gone
    *</summary>*
    Please let me know the error .
    Regards
    Sridhar

    Anirudh,
    iam using SOA 10.1.3.1 Version.
    Other WS's i was able to run.
    the following is the error message while running AmazonSearch Service.
    *[2011/01/28 09:18:36]*
    Faulted while invoking operation "KeywordSearchRequest" on provider "AmazonSearchService".
    - <messages>
    - <input>
    - <request>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="KeywordSearchRequest">
    - <KeywordSearchRequest>
    *<keyword>*
    paul
    *</keyword>*
    *<page/>*
    *<mode/>*
    *<tag/>*
    *<type/>*
    *<devtag/>*
    *<sort/>*
    *<locale/>*
    *<price/>*
    *</KeywordSearchRequest>*
    *</part>*
    *</request>*
    *</input>*
    - <fault>
    - <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="summary">
    *<summary>*
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 410 Gone
    *</summary>*
    *</part>*
    *</remoteFault>*
    *</fault>*
    *</messages>*
    *[2011/01/28 09:18:36]*
    *"{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown.*
    - <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="summary">
    *<summary>*
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 410 Gone
    *</summary>*
    *</part>*
    *</remoteFault>*
    regards
    sridhar

  • No trusted certificate found error while running a webservice

    Hi,
    I created a stub to a webservice and then tried to invoke the webservice using a simple java class
    in JDeveloper. While running the java client to invoke the webservice i get this below mentioned error
    SOAPException: faultCode=SOAP-ENV:IOException; msg=sun.security.validator.ValidatorException: No trusted certificate found; targetException=javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
         at org.apache.soap.SOAPException.<init>(SOAPException.java:78)
    Kindly have a solution for what to be done on this.
    Thanks,
    Ramesh.R
    Edited by: Ramesh_R on Jan 20, 2010 10:28 AM

    have to import the certificate in the cacerts of the Jdev jre/lib/security/cacerts file
    Edited by: Ramesh_R on 16-Jan-2011 02:40

  • Error while Running sample Smart Sync Application

    Hi all,
    I followed step that has been given on mdk 2.5 tool kit <b>to create a Sample  Smart Sync application which donwloads the short text and country code</b> with SyncBo,metadata xml and MCD,
    while running a smart sync on mi client i am getting an error..................
    <b>Error: 500
    Location: /me/jsp/home/home.jsp
    Internal Servlet Error:
    javax.servlet.ServletException
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:461)
         at jsp.home.home._jspService(Unknown Source)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)
         at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:573)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:343)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:164)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Unknown Source)
    Root cause:
    java.lang.NullPointerException
         at jsp.home.home._jspService(Unknown Source)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)
         at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:573)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:343)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:164)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Unknown Source)</b>
    please help me on this issue................
    regards,
    Venugopal

    HI Karthick,
    Thanks for your reply.
    while exporting the application it is running properly on NWDS platform as well in Eclipse platform but not in mi client.
    i am sure that,
    <b>MCD Name = Application Name = War file which is MDK_TUTORIAL_SYNC</b>
    Below is my Meta XML file:
    <b><?xml version="1.0" encoding="utf-8" ?>
    - <MeRepApplication schemaVersion="1.1" id="MDK_TUTORIAL_SYNC" version="250901">
      <Property name="CLIENT.BUILDNUMBER" />
      <Property name="C_APPLRESOLVE" />
      <Property name="DATA_VISIBLE_SHARED" />
      <Property name="EN">LANGUAGE</Property>
      <Property name="E_APPLRESOLVE" />
      <Property name="FACADE_C_CLIENT">X</Property>
      <Property name="FACADE_E_CLIENT">X</Property>
      <Property name="HOMEPAGE.INVISIBLE" />
      <Property name="INITVALUE" />
      <Property name="RUNTIME">JSP</Property>
      <Property name="TYPE">APPLICATION</Property>
    - <SyncBO id="ZNWW_EXM01" version="2" type="download" allowCreate="false" allowModify="false" allowDelete="false" reqDirectSync="false">
    - <TopStructure name="TOP">
    - <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
      <Input type="create">false</Input>
      <Input type="modify">false</Input>
      </Field>
    - <Field name="LAND_TEXT" type="C" length="50" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      <Input type="modify">false</Input>
      </Field>
      </TopStructure>
      </SyncBO>
      </MeRepApplication></b>
    reffer the above xml file and please find if  i miss any fields.
    regards,
    Venugopal.

  • Error while running sample page.

    Hi,
    I am new to jDeveloper 10g. I am using jdeveloper Version 10.1.3.3.0. While running test page i am getting the following error.
    Error
    You have insufficient privileges for the current operation. Please contact your System Administrator.
    You cannot run a page which is not SelfSecured when the MAC fails
    The Error thread i am pesting here.
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
    C:\jdeveloper\jdevbin\jdk\bin\javaw.exe -hotspot -classpath C:\jdeveloper\jdevbin\j2ee\home\oc4j.jar;C:\jdeveloper\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -XX:MaxPermSize=256M -Dhttp.proxyHost=Proxy.ind.zensar.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=*telmar*|localhost|127.0.0.1|TELMARW42S0906 -Dhttps.proxyHost=Proxy.ind.zensar.com -Dhttps.proxyPort=80 -Dhttps.nonProxyHosts=*telmar*|localhost|127.0.0.1|TELMARW42S0906 -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Jul 3, 2008 6:33:25 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Jul 3, 2008 6:33:25 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source C:\jdeveloper\jdevbin\jdev\appslibrt\xml.jar (from <library> in /C:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/jdeveloper/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source C:\jdeveloper\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /C:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/jdeveloper/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in C:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source C:\jdeveloper\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /C:/jdeveloper/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /C:/jdeveloper/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in C:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source C:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from WEB-INF/lib/ directory in C:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same filename but is not identical to /C:/jdeveloper/jdevbin/jdev/appslibrt/uix2.jar (from <library> in /C:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 12219 ms.
    Target URL -- http://TELMARW42S0906.ind.zensar.com:8988/OA_HTML/runregion.jsp
    08/07/03 18:33:31 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
    08/07/03 18:33:34 TIME: runregion: initialization [16 ms]
    08/07/03 18:35:01 TIME: runregion: session and transaction creation [87324 ms]
    Jul 3, 2008 6:35:10 PM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    08/07/03 18:35:10 java.lang.IllegalArgumentException: Unknown signal: ALRM
    08/07/03 18:35:10      at sun.misc.Signal.<init>(Signal.java:126)
    08/07/03 18:35:10      at oracle.apps.fnd.framework.AppsDiagnosticsHandler.install(Unknown Source)
    08/07/03 18:35:10      at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.initializeSignalHandler(Unknown Source)
    08/07/03 18:35:10      at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.<clinit>(Unknown Source)
    08/07/03 18:35:10      at java.lang.Class.forName0(Native Method)
    08/07/03 18:35:10      at java.lang.Class.forName(Class.java:242)
    08/07/03 18:35:10      at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38)
    08/07/03 18:35:10      at oracle.jbo.common.JBOClass.forName(JBOClass.java:164)
    08/07/03 18:35:10      at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:177)
    08/07/03 18:35:10      at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
    08/07/03 18:35:10      at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
    08/07/03 18:35:10      at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:534)
    08/07/03 18:35:10      at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:547)
    08/07/03 18:35:10      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:425)
    08/07/03 18:35:10      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:358)
    08/07/03 18:35:10      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:340)
    08/07/03 18:35:10      at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:700)
    08/07/03 18:35:10      at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
    08/07/03 18:35:10      at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:401)
    08/07/03 18:35:10      at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
    08/07/03 18:35:10      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.createStaticAKApplicationModule(Unknown Source)
    08/07/03 18:35:10      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.getStaticAKApplicationModuleSync(Unknown Source)
    08/07/03 18:35:10      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.getStaticAKApplicationModule(Unknown Source)
    08/07/03 18:35:10      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    08/07/03 18:35:10      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    08/07/03 18:35:10      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    08/07/03 18:35:10      at OA.jspService(_OA.java:71)
    08/07/03 18:35:10      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    08/07/03 18:35:10      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    08/07/03 18:35:10      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    08/07/03 18:35:10      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    08/07/03 18:35:10      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    08/07/03 18:35:10      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    08/07/03 18:35:10      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    08/07/03 18:35:10      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
    08/07/03 18:35:10      at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
    08/07/03 18:35:10      at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
    08/07/03 18:35:10      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    08/07/03 18:35:10      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
    08/07/03 18:35:10      at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
    08/07/03 18:35:10      at OA.jspService(_OA.java:80)
    08/07/03 18:35:10      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    08/07/03 18:35:10      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    08/07/03 18:35:10      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    08/07/03 18:35:10      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    08/07/03 18:35:10      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    08/07/03 18:35:10      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    08/07/03 18:35:10      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    08/07/03 18:35:10      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    08/07/03 18:35:10      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    08/07/03 18:35:10      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    08/07/03 18:35:10      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    08/07/03 18:35:10      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    08/07/03 18:35:10      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    08/07/03 18:35:10      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    08/07/03 18:35:10      at java.lang.Thread.run(Thread.java:595)

    You should be getting the same error while using the system directly.
    The error indicates a validation failure. You should not see this when the profiles below are set to "NONE". It must be "ERROR" in your instance.
    "FND_VALIDATION_LEVEL" = "NONE"
    "FRAMEWORK_VALIDATION_LEVEL" = "NONE"
    "FND_FUNCTION_VALIDATION_LEVEL" = "NONE"
    The recommendation is to have the value set to "ERROR". So in you case you will have to set the profile values to "LOG" and get details of the error to fix.

  • Getting Error while running Sample Tutorial...

    Hi,
    I am working on samples---tutorials---Select All.
    I created "Movies" tables in our test database.I modified oc4j-ra.xml. When i modified partner link to point to my own database i can see "SelectAllServices.wsdl" got changed. I mean it added "1" to all "movies" string. I manually modified wsddl and deployed.
    But when i run the process i am getting error like
    <2006-02-13 11:28:30,888> <ERROR> <default.collaxa.cube.ws> <Database Adapter::O
    utbound> <oracle.tip.adapter.db.DBInteraction executeOutboundRead> unable to exe
    cute the NamedQuery: SelectAll.Movies.SelectAllServiceSelect
    06/02/13 11:28:30 java.lang.NullPointerException
    06/02/13 11:28:30 at oracle.tip.adapter.db.exceptions.DBResourceException.
    isRetriable(DBResourceException.java:114)
    06/02/13 11:28:30 at oracle.tip.adapter.db.exceptions.DBResourceException.
    outboundReadException(DBResourceException.java:337)
    06/02/13 11:28:30 at oracle.tip.adapter.db.DBInteraction.executeOutboundRe
    ad(DBInteraction.java:274)
    06/02/13 11:28:30 at oracle.tip.adapter.db.DBInteraction.execute(DBInterac
    tion.java:141)
    06/02/13 11:28:30 at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.exec
    uteRequestResponseOperation(WSIFOperation_JCA.java:469)
    06/02/13 11:28:30 at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIF
    InvocationHandler.java:445)
    06/02/13 11:28:30 at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInv
    ocationManager.java:310)
    06/02/13 11:28:30 at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvo
    cationManager.java:184)
    06/02/13 11:28:30 at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invok
    e(BPELInvokeWMP.java:601)
    06/02/13 11:28:30 at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__execu
    teStatements(BPELInvokeWMP.java:316)
    06/02/13 11:28:30 at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perfo
    rm(BPELActivityWMP.java:185)
    06/02/13 11:28:30 at com.collaxa.cube.engine.CubeEngine.performActivity(Cu
    beEngine.java:3398)
    06/02/13 11:28:30 at com.collaxa.cube.engine.CubeEngine.handleWorkItem(Cub
    eEngine.java:1905)
    06/02/13 11:28:30 at com.collaxa.cube.engine.dispatch.message.instance.Per
    formMessageHandler.handleLocal(PerformMessageHandler.java:75)
    06/02/13 11:28:30 at com.collaxa.cube.engine.dispatch.DispatchHelper.handl
    eLocalMessage(DispatchHelper.java:100)
    06/02/13 11:28:30 at com.collaxa.cube.engine.dispatch.DispatchHelper.sendM
    emory(DispatchHelper.java:185)
    06/02/13 11:28:30 at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEng
    ine.java:5410)
    06/02/13 11:28:30 at com.collaxa.cube.engine.CubeEngine.createAndInvoke(Cu
    beEngine.java:1300)
    06/02/13 11:28:30 at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.creat
    eAndInvoke(CubeEngineBean.java:117)
    06/02/13 11:28:30 at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncC
    reateAndInvoke(CubeEngineBean.java:146)
    06/02/13 11:28:30 at ICubeEngineLocalBean_StatelessSessionBeanWrapper0.syn
    cCreateAndInvoke(ICubeEngineLocalBean_StatelessSessionBeanWrapper0.java:486)
    06/02/13 11:28:30 at com.collaxa.cube.engine.delivery.DeliveryHandler.init
    ialRequestAnyType(DeliveryHandler.java:493)
    06/02/13 11:28:30 at com.collaxa.cube.engine.delivery.DeliveryHandler.init
    ialRequest(DeliveryHandler.java:426)
    06/02/13 11:28:30 at com.collaxa.cube.engine.delivery.DeliveryHandler.requ
    est(DeliveryHandler.java:133)
    06/02/13 11:28:30 at com.collaxa.cube.ejb.impl.DeliveryBean.request(Delive
    ryBean.java:97)
    06/02/13 11:28:30 at IDeliveryBean_StatelessSessionBeanWrapper22.request(I
    DeliveryBean_StatelessSessionBeanWrapper22.java:288)
    06/02/13 11:28:30 at com.oracle.bpel.client.delivery.DeliveryService.reque
    st(DeliveryService.java:101)
    06/02/13 11:28:30 at com.oracle.bpel.client.delivery.DeliveryService.reque
    st(DeliveryService.java:65)
    06/02/13 11:28:30 at ngDoInitiate.jspService(_ngDoInitiate.java:253)
    06/02/13 11:28:30 at com.orionserver.http.OrionHttpJspPage.service(OrionHt
    tpJspPage.java:56)
    06/02/13 11:28:30 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTabl
    e.java:347)
    06/02/13 11:28:30 at oracle.jsp.runtimev2.JspServlet.internalService(JspSe
    rvlet.java:509)
    06/02/13 11:28:30 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.ja
    va:413)
    06/02/13 11:28:30 at javax.servlet.http.HttpServlet.service(HttpServlet.ja
    va:853)
    06/02/13 11:28:30 at com.evermind.server.http.ServletRequestDispatcher.inv
    oke(ServletRequestDispatcher.java:810)
    06/02/13 11:28:30 at com.evermind.server.http.ServletRequestDispatcher.inc
    lude(ServletRequestDispatcher.java:121)
    06/02/13 11:28:30 at com.evermind.server.http.EvermindPageContext.include(
    EvermindPageContext.java:267)
    06/02/13 11:28:30 at displayProcess.jspService(_displayProcess.java:700)
    06/02/13 11:28:30 at com.orionserver.http.OrionHttpJspPage.service(OrionHt
    tpJspPage.java:56)
    06/02/13 11:28:30 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTabl
    e.java:347)
    06/02/13 11:28:30 at oracle.jsp.runtimev2.JspServlet.internalService(JspSe
    rvlet.java:509)
    06/02/13 11:28:30 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.ja
    va:413)
    06/02/13 11:28:30 at javax.servlet.http.HttpServlet.service(HttpServlet.ja
    va:853)
    06/02/13 11:28:30 at com.evermind.server.http.ServletRequestDispatcher.inv
    oke(ServletRequestDispatcher.java:810)
    06/02/13 11:28:30 at com.evermind.server.http.ServletRequestDispatcher.for
    wardInternal(ServletRequestDispatcher.java:322)
    06/02/13 11:28:30 at com.evermind.server.http.ServletRequestDispatcher.for
    ward(ServletRequestDispatcher.java:220)
    06/02/13 11:28:30 at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilte
    r.java:152)
    06/02/13 11:28:30 at com.evermind.server.http.ServletRequestDispatcher.inv
    oke(ServletRequestDispatcher.java:649)
    06/02/13 11:28:30 at com.evermind.server.http.ServletRequestDispatcher.for
    wardInternal(ServletRequestDispatcher.java:322)
    06/02/13 11:28:30 at com.evermind.server.http.HttpRequestHandler.processRe
    quest(HttpRequestHandler.java:798)
    06/02/13 11:28:30 at com.evermind.server.http.HttpRequestHandler.run(HttpR
    equestHandler.java:278)
    06/02/13 11:28:30 at com.evermind.server.http.HttpRequestHandler.run(HttpR
    equestHandler.java:120)
    06/02/13 11:28:30 at com.evermind.util.ReleasableResourcePooledExecutor$My
    Worker.run(ReleasableResourcePooledExecutor.java:192)
    06/02/13 11:28:30 at java.lang.Thread.run(Thread.java:534)
    <2006-02-13 11:28:30,920> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::O
    utbound> file:/C:/OraBPELPM_1/integration/orabpel/domains/default/tmp/.bpel_Sele
    ctAll_1.2.jar/SelectAllService.wsdl [ SelectAllService_ptt::SelectAllServiceSele
    ct(SelectAllServiceSelect_inparameters,MoviesCollection) ] - Could not invoke op
    eration 'SelectAllServiceSelect' against the 'Database Adapter' due to:
    ORABPEL-11614
    DBReadInteractionSpec Execute Failed Exception.
    Query name: [SelectAllServiceSelect], Descriptor name: [SelectAll.Movies].
    See root exception for the specific exception. Caused by Exception [TOPLINK-4002
    ] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.D
    atabaseException
    Exception Description: java.sql.SQLException: ORA-00942: table or view does not
    exist
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exi
    st
    Error Code: 942.
    <2006-02-13 11:28:30,920> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Ou
    tbound> Change logging level for Logger 'default.collaxa.cube.ws' to DEBUG to se
    e full error stack.
    Please help me.
    Thanks

    Thanks for instant reply.
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
    name="SelectAllService"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/SelectAllService"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/SelectAllService"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/SelectAll"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/SelectAll"
    schemaLocation="Movies_table.xsd"/>
    </schema>
    </types>
    <message name="MoviesCollection_msg">
    <part name="MoviesCollection" element="top:MoviesCollection"/>
    </message>
    <message name="SelectAllServiceSelect_inparameters">
    <part name="SelectAllServiceSelect_inparameters" element="top:SelectAllServiceSelectInputParameters"/>
    </message>
    <message name="Movies_msg">
    <part name="Movies" element="top:Movies"/>
    </message>
    <portType name="SelectAllService_ptt">
    <operation name="SelectAllServiceSelect">
    <input message="tns:SelectAllServiceSelect_inparameters"/>
    <output message="tns:MoviesCollection_msg"/>
    </operation>
    <operation name="queryByExample">
    <input message="tns:Movies_msg"/>
    <output message="tns:MoviesCollection_msg"/>
    </operation>
    </portType>
    <binding name="SelectAllService_binding" type="tns:SelectAllService_ptt">
    <jca:binding />
    <operation name="SelectAllServiceSelect">
    <jca:operation
    InteractionSpec="oracle.tip.adapter.db.DBReadInteractionSpec"
    DescriptorName="SelectAll.Movies"
    QueryName="SelectAllServiceSelect"
    MappingsMetaDataURL="toplink_mappings.xml" />
    </operation>
    <operation name="queryByExample">
    <jca:operation
    InteractionSpec="oracle.tip.adapter.db.DBReadInteractionSpec"
    DescriptorName="SelectAll.Movies"
    IsQueryByExample="true"
    MappingsMetaDataURL="toplink_mappings.xml" />
    <input/>
    </operation>
    </binding>
    <!-- Your runtime connection is declared in
    J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml
    These 'mcf' properties here are from your design time connection and
    save you from having to edit that file and restart the application server
    if eis/DB/BPELSamples is missing.
    These 'mcf' properties are safe to remove.
    -->
    <service name="SelectAllService">
    <port name="SelectAllService_pt" binding="tns:SelectAllService_binding">
    <jca:address location="eis/DB/BPELSamples"
    UIConnectionName="TestDB"
    ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory"
    mcf.DriverClassName="oracle.jdbc.driver.OracleDriver"
    mcf.PlatformClassName="oracle.toplink.oraclespecific.Oracle9Platform"
    mcf.ConnectionString="jdbc:oracle:thin:@xxx.xx.xxx.com:1521:develop"
    mcf.UserName="scott"
    mcf.Password="22F7AFE6F6B9672475468EABDDFF8ABDD62D1A19DF561D1E"
    />
    </port>
    </service>
    <plt:partnerLinkType name="SelectAllService_plt" >
    <plt:role name="SelectAllService_role" >
    <plt:portType name="tns:SelectAllService_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    </definitions>
    Thanks
    CMB
    CA USA

  • Getting error while running sample application of playbook

    Hello,
    I am new to blackberry playbook development.
    I had downloaded NDK 2.0 and done setup. I am successfully able to install and run playbook simulator.
    As shown in the steps how to import and then run the sample application , I had done that,
    But I am not able to build that project.
    Its giving me error.
    i.e
    make: *** No rule to make target `recurse.mk'.  Stop.  
    I had also tried creating new project and then build it. But still I am getting error.
    Its again different error.
    D://target/qnx6/x86/lib/crt1.o: No such file: No such file or directory  
    I dont know why its trying to search at thi location..
    this file exist in d://playbook2.0.0/target/qnx6/x86/lib/crt1.o
    Please Help me.
    Thanks In advance.
    bskania.
    Solved!
    Go to Solution.

    I solved the Error. Its like I have to set the path of environment variable.
    QNX_TARGET. - Set it to your folder path where you had installed the SDK.

  • Error while running sample app HelloWorld on sun one web server 6.1

    I tried to deploy and run the HelloWorld - sample application on sun one web server 6.1. It's giving me following errrors.
    (1) , root cause: java.lang.NullPointerException
    (2) info ( 924): JSP11 Log:unable to load jsp class: jsps.index_jsp
    what's the solution for that?
    Thanks
    Naimesh

    Can You please explain me how can I deploy .war file of my application on sun one web server 6.1 ?
    It is deployed successfully. It only loads default.jsp and then fives following error:
    1) Package netscape.ldap not found in import.
    I imported this package to my java file.
    Thanks,

  • Error while running a KPI Watchlist in obiee 11g dashboard

    I am getting the following error while running a KPI Watchlist :
    *" Odbc driver returned an error (SQLExecDirectW) "*
    I added two KPI's (KPI 1 & KPI 2)into that Watchlist , one from the default "Sample Sales Lite" (sub 1) and another from sub 2 which have essbase as data source .
    KPI 1 (created from sub 1) is working fine , but while placing KPI 2 (created from sub 2 ) in the watchlist , its throwing the above error . However , while running KPI 2 individually , its showing meaningful results .
    Let me know if the problem statement is not clear .
    OBIEE version used : 11.1.1.5.0 .

    Could anyone reply this thread. I am also getting the same error . Even server logs are also not helping.

  • Getting following error while deploying my webservice on weblogic 10.3

    hi
    I am tring to deploy a webservice (spring + cxf ) in weblogic 10.3
    applicationContext.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:p="http://www.springframework.org/schema/p"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:context="http://www.springframework.org/schema/context"
    xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:jaxws="http://cxf.apache.org/jaxws"
    xsi:schemaLocation="
    http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
    http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
    http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
    <!-- Scan for both Jersey Rest Annotations a -->
    <import resource="classpath:META-INF/cxf/cxf.xml" />
    <import resource="classpath:META-INF/cxf/cxf-extension-http-binding.xml"/>
    <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
    <context:component-scan base-package="com.persistent.rest"/>
    <context:annotation-config />
    <jaxws:endpoint
    id="accountProcess"
    implementor="com.persistent.rest.GetAccountListImpl"
    address="/"
    bindingUri="http://apache.org/cxf/binding/http" >
    <jaxws:serviceFactory>
    <bean class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
    <property name="wrapped" value="false" />
    </bean>
    </jaxws:serviceFactory>
    </jaxws:endpoint>
    <bean>...........</bean>
    </beans>
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>springCXFWeb</display-name>
    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>WEB-INF/applicationContext.xml</param-value>
    </context-param>
    <listener>
    <listener-class>
    org.springframework.web.context.ContextLoaderListener
    </listener-class>
    </listener>
    <servlet>
    <servlet-name>CXFServlet</servlet-name>
    <servlet-class>
    org.apache.cxf.transport.servlet.CXFServlet
    </servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>CXFServlet</servlet-name>
    <url-pattern>/*</url-pattern>
    </servlet-mapping>
    </web-app>
    Getting following error while deploying my webservice on weblogic 10.3
    <Dec 4, 2009 2:04:04 PM PST> <Error> <org.springframework.web.context.ContextLoader> <BEA-000000> <Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    Truncated. see log file for complete stacktrace
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    <Dec 4, 2009 2:04:04 PM PST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    Truncated. see log file for complete stacktrace
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    <Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1259964185054' for task '2'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    <Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'springCXFApp'.>
    <Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'springCXFApp'.>
    <Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    thanks

    hi
    I am tring to deploy a webservice (spring + cxf ) in weblogic 10.3
    applicationContext.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:p="http://www.springframework.org/schema/p"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:context="http://www.springframework.org/schema/context"
    xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:jaxws="http://cxf.apache.org/jaxws"
    xsi:schemaLocation="
    http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
    http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
    http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
    <!-- Scan for both Jersey Rest Annotations a -->
    <import resource="classpath:META-INF/cxf/cxf.xml" />
    <import resource="classpath:META-INF/cxf/cxf-extension-http-binding.xml"/>
    <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
    <context:component-scan base-package="com.persistent.rest"/>
    <context:annotation-config />
    <jaxws:endpoint
    id="accountProcess"
    implementor="com.persistent.rest.GetAccountListImpl"
    address="/"
    bindingUri="http://apache.org/cxf/binding/http" >
    <jaxws:serviceFactory>
    <bean class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
    <property name="wrapped" value="false" />
    </bean>
    </jaxws:serviceFactory>
    </jaxws:endpoint>
    <bean>...........</bean>
    </beans>
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>springCXFWeb</display-name>
    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>WEB-INF/applicationContext.xml</param-value>
    </context-param>
    <listener>
    <listener-class>
    org.springframework.web.context.ContextLoaderListener
    </listener-class>
    </listener>
    <servlet>
    <servlet-name>CXFServlet</servlet-name>
    <servlet-class>
    org.apache.cxf.transport.servlet.CXFServlet
    </servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>CXFServlet</servlet-name>
    <url-pattern>/*</url-pattern>
    </servlet-mapping>
    </web-app>
    Getting following error while deploying my webservice on weblogic 10.3
    <Dec 4, 2009 2:04:04 PM PST> <Error> <org.springframework.web.context.ContextLoader> <BEA-000000> <Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    Truncated. see log file for complete stacktrace
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    <Dec 4, 2009 2:04:04 PM PST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    Truncated. see log file for complete stacktrace
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    <Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1259964185054' for task '2'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    <Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'springCXFApp'.>
    <Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'springCXFApp'.>
    <Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    thanks

  • Error while running ejbc - Deployment time

    Whilst trying to deploy my WSE through J2EE deploy tool i get the follwoing error:
    Deployment failed on target Server localhost:4848 : Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    I am not using ejb as far as I'm aware. I have succesfully buit my WSE using asant with no compilation errors.
    Here is copy of the code
    package rcews;
    import java.rmi.RemoteException;
    import java.util.Vector;
    import java.sql.*;
    import javax.sql.DataSource;
    //import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.xml.rpc.server.ServletEndpointContext;
    import javax.xml.rpc.server.ServiceLifecycle;
    import javax.xml.rpc.ServiceException;
    public class RceWSImplementation implements RceWSInterface, ServiceLifecycle {
         private DataSource ds;
         ServletEndpointContext endPtCntxt;
         public void init(Object context) throws ServiceException {
              try {
                   endPtCntxt = (ServletEndpointContext) context;
                   InitialContext ic = new InitialContext();
                   // Specify the logical name of the database
                   // Obtain the DataSource object associated with the logical name
                   ds = (DataSource) ic.lookup("java:comp/env/jdbc/rcedstar");
                   ic.close();
              } catch(NamingException ne) {
                   ne.printStackTrace();
                   throw new ServiceException("\nCannot initialise JNDI ENC\n", ne);
         public String [] getSignals() throws RemoteException {
              Statement sqlStmnt;
              ResultSet rs;
              String countQuery = "SELECT COUNT(DISTINCT signal_ref) FROM tblSignals";
              String query = "SELECT DISTINCT signal_ref FROM tblSignals ORDER BY signal_ref";
              String[] signals = null;
              int count = 0;
              try {
                   // Establish connection with the database and return a Connection object
                   Connection con = ds.getConnection();
                   System.out.println("Connection made Successfully");
                   // Create and execute SQL statement
                   sqlStmnt = con.createStatement();
                   rs = sqlStmnt.executeQuery(countQuery);
                   if(rs.next()) {
                        int size = rs.getInt(0);
                        signals = new String[size];
                   rs = sqlStmnt.executeQuery(query);
                   // Move through ResultSet and pull singal reference information
                   while(rs.next()) {
                        signals[count] = rs.getString("signal_ref");
                        count++;
                   con.close();
              } catch (Exception e) {
                   e.printStackTrace();
              return signals;
         public Vector getLampDurations(String[] signal_refs, String[] lamps, int hours) throws RemoteException {
              // Varaible Declarations
              Vector details = null;
              String signals, lamp_colours;
              PreparedStatement psqlStmt;
              ResultSet rs;
              String query = "SELECT signal_ref, light, SUM(duration), SUM(on_count) FROM tblsignals, tblsignal_events " +
                        "WHERE tblSignals.id = tblSignal_Events.id AND tblSignals.signal_ref IN (?) AND tblSignals.light IN (?) " +
                        "GROUP BY signal_ref, light" +
                        "HAVING SUM(duration) > ?";
              StringBuffer sbSignals = new StringBuffer(50);
              StringBuffer sbLamps = new StringBuffer(31);
              // Build Strings for use in Prepared SQL statements
              for(int i=0;i<signal_refs.length-1;i++) {
                   sbSignals.append("'" + signal_refs[i] + "'");
                   sbLamps.append("'" + lamps[i] + "'");
                   if (i <= signal_refs.length - 2) {
                        sbSignals.append(",");
                        sbLamps.append(",");
              signals = new String(sbSignals);
              lamp_colours = new String(sbLamps);
              try {
                   // Establish connection with the database and return a Connection object
                   Connection con = ds.getConnection();
                   System.out.println("Connection made Successfully");
                   // Apply strings to statement
                   psqlStmt = con.prepareStatement(query);
                   psqlStmt.setString(1, signals);
                   psqlStmt.setString(2, lamp_colours);
                   psqlStmt.setInt(3, hours);
                   // Obtain data from DB
                   details = new Vector(4);
                   String[] results = new String[4];
                   rs = psqlStmt.executeQuery();
                   while(rs.next()) {
                        // Copy contents of the ResultSet into a String Array for each record
                        int i = 0;
                        results[i]   = rs.getString(1);               //Signal Reference
                        results[i++] = rs.getString(2);               //Lamp (i.e colour)
                        double seconds  = rs.getDouble(3);          //Duration
                        seconds = seconds / (60*60);               //Convert Seconds to Hours - would be nice to convert to Hours:mins:secs
                        results[i++] = String.valueOf(seconds);
                        results[i++] = String.valueOf(rs.getInt(4));     //Number of Times lamp has been switched on
                        // Append the string Array to a Vector
                        details.addElement(results);
                   if (psqlStmt != null) { psqlStmt.close(); }
                   if (con != null) { con.close(); }
              } catch (Exception e) {
                   e.printStackTrace();
              return details;
         public void destroy() {
              ds = null;
    }

    Have since found this from the server log but I have no idea about how to solve this!
    [#|2004-03-10T15:08:04.574+0000|INFO|j2ee-appserver1.4|javax.enterprise.system.tools.deployment|_ThreadID=13;|DPL5109: EJBC - START of EJBC for [RCE-WebService]|#]
    Remote message: Processing beans ....
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RceWSInterface_Tie.java:32: '(' or '[' expected
    super(new rcews.RCE-WebService_SerializerRegistry().getRegistry());
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RceWSInterface_Tie.java:32: ')' expected
    super(new rcews.RCE-WebService_SerializerRegistry().getRegistry());
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:18: '{' expected
    public class RCE-WebService_SerializerRegistry implements SerializerConstants {
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:33: <identifier> expected
    registerSerializer(mapping,rcews.RceWSInterface_getLampDurations_RequestStruct.class, type, serializer);
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:33: '{' expected
    registerSerializer(mapping,rcews.RceWSInterface_getLampDurations_RequestStruct.class, type, serializer);
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:65: illegal start of type
    return registry;
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:65: <identifier> expected
    return registry;
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:68: 'class' or 'interface' expected
    private static void registerSerializer(TypeMapping mapping, Class javaType, QName xmlType,
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:74: 'class' or 'interface' expected
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:75: 'class' or 'interface' expected
    ^
    10 errors

  • Error while running SRW.RUN_REPORT

    Hi All,
    I have requirement where i need to generate multiple reports with single request.
    I have created to sample tables test1 and test2 with two columns each.I have created a paper report using first table and saved it as test.rdf in my c: drive and I created the second report using second table and with in Before Report Trigger i called the first report using srw.run_report('report = c:\test1.rdf desformat=screen'); .
    When I ran the second report its showing an error messg REP-1428 :Error while running SRW.RUN_REPORT.
    Can any one help me to resolve this issue.
    Regard
    Srinivas Pusa

    Why can't you use two queries (one for test1 and another for test2) and create many pages (reports) one report? srq.run_report is avoided completely.

  • Error while running  jcwde

    Hi All,
    I am getting an error while running even the sample program in java card kit 2.2.2
    i set all the path ,classpath as mentioned in the documentation page. But when i run the jcwde as mentioned in the doc its giving a message
    "card was unexpected at this time"
    Could some body help me why this is so .. I am stuck becase of this .. or this is a bug ..
    Thanks in advance
    Thomas

    All the issue has been resolved.
    I removed jctasks.jar from my classpath and everthing starts working fine. Please dont ask me the reson. :-) I dont know how it worked.
    Thanks
    Tijo

  • Database Adapter -- Getting Error While Running

    Team
    i was getting the following error while working on database adapter..
    Faulted while invoking operation "GetSQDBAdapter" on provider "GetSQDBAdapter".
    - <messages>
    - <input>
    - <InvokeGetSeq_GetSQDBAdapter_InputVariable>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="GetSQDBAdapterInput_msg">
    <GetSQDBAdapterInput xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/GetSQDBAdapter"/>
    </part>
    </InvokeGetSeq_GetSQDBAdapter_InputVariable>
    </input>
    - <fault>
    - <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="code">
    <code>
    null
    </code>
    </part>
    - <part name="summary">
    <summary>
    file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_AdapterProcess_1.0_7dc192de7b9309bf2a5733e111075804.tmp/GetSQDBAdapter.wsdl [ GetSQDBAdapter_ptt::GetSQDBAdapter(GetSQDBAdapterInput_msg,GetSQDBAdapterOutputCollection) ] - WSIF JCA Execute of operation 'GetSQDBAdapter' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore. [Caused by: loc/DBConnection1DataSource not found]
    ; nested exception is:
         ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore. [Caused by: loc/DBConnection1DataSource not found]
    See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by Exception [TOPLINK-7060] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.ValidationException
    Exception Description: Cannot acquire data source [loc/DBConnection1DataSource].
    Internal Exception: javax.naming.NameNotFoundException: loc/DBConnection1DataSource not found.
    </summary>
    </part>
    - <part name="detail">
    <detail>
    Exception Description: Cannot acquire data source [loc/DBConnection1DataSource].
    Internal Exception: javax.naming.NameNotFoundException: loc/DBConnection1DataSource not found
    </detail>
    </part>
    </bindingFault>
    </fault>
    </messages>
    [2011/01/12 19:38:37]
    "{http://schemas.oracle.com/bpel/extension}bindingFault" has been thrown.
    - <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="code">
    <code>
    null
    </code>
    </part>
    - <part name="summary">
    <summary>
    file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_AdapterProcess_1.0_7dc192de7b9309bf2a5733e111075804.tmp/GetSQDBAdapter.wsdl [ GetSQDBAdapter_ptt::GetSQDBAdapter(GetSQDBAdapterInput_msg,GetSQDBAdapterOutputCollection) ] - WSIF JCA Execute of operation 'GetSQDBAdapter' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore. [Caused by: loc/DBConnection1DataSource not found]
    ; nested exception is:
         ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore. [Caused by: loc/DBConnection1DataSource not found]
    See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by Exception [TOPLINK-7060] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.ValidationException
    Exception Description: Cannot acquire data source [loc/DBConnection1DataSource].
    Internal Exception: javax.naming.NameNotFoundException: loc/DBConnection1DataSource not found.
    </summary>
    </part>
    - <part name="detail">
    <detail>
    Exception Description: Cannot acquire data source [loc/DBConnection1DataSource].
    Internal Exception: javax.naming.NameNotFoundException: loc/DBConnection1DataSource not found
    </detail>
    </part>
    </bindingFault>
    i dont have much idea about BPEL, iam a newbie to it . Please help me in this.
    regards
    sridhar

    Hi Team,
    iam getting the following error while running the sample : *122.DBAdapter/File2Table.*
    Please help me out why it is giving the error. Did i miss any configuration ?
    i followed the configuration which is mentioned in the : File2Table/README.txt
    Invoke_1
    *[2011/02/05 22:37:30]*
    Faulted while invoking operation "merge" on provider "Database".
    - <messages>
    - <input>
    - <outputVariable>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PurchaseorderCollection">
    - <PurchaseorderCollection xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/File2Table" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/File2Table">
    - <Purchaseorder xmlns="">
    *<id/>*
    *<requestDate/>*
    - <billTo>
    *<address/>*
    *<city/>*
    *<id/>*
    *<name/>*
    *<phone/>*
    *<state/>*
    *<zip/>*
    *</billTo>*
    - <lineitemCollection>
    - <Lineitem>
    *<item/>*
    *<line/>*
    *<price/>*
    *<quantity/>*
    - <shipTo>
    *<address/>*
    *<city/>*
    *<id/>*
    *<name/>*
    *<phone/>*
    *<state/>*
    *<zip/>*
    *</shipTo>*
    *</Lineitem>*
    *</lineitemCollection>*
    - <shipTo>
    *<address/>*
    *<city/>*
    *<id/>*
    *<name/>*
    *<phone/>*
    *<state/>*
    *<zip/>*
    *</shipTo>*
    *</Purchaseorder>*
    *</PurchaseorderCollection>*
    *</part>*
    *</outputVariable>*
    *</input>*
    - <fault>
    - <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="code">
    *<code>*
    -5150
    *</code>*
    *</part>*
    - <part name="summary">
    *<summary>*
    *file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_File2Table_1.0_89ae3479c7199e576774b60c48e8454b.tmp/DBOutbound.wsdl [ DBOutbound_ptt::merge(PurchaseorderCollection) ] - WSIF JCA Execute of operation 'merge' failed due to: Could not create/access the TopLink Session.*
    *This session is used to connect to the datastore. [Caused by: [POL-5150] access violation]*
    *; nested exception is:*
    *     ORABPEL-11622*
    Could not create/access the TopLink Session.
    *This session is used to connect to the datastore. [Caused by: [POL-5150] access violation]*
    *See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException*
    *Internal Exception: java.sql.SQLException: [POL-5150] access violationError Code: -5150.*
    *</summary>*
    *</part>*
    - <part name="detail">
    *<detail>*
    *Internal Exception: java.sql.SQLException: [POL-5150] access violationError Code: -5150*
    *</detail>*
    *</part>*
    *</bindingFault>*
    *</fault>*
    *</messages>*
    Copy details to clipboard
    *[2011/02/05 22:37:30]*
    *"{http://schemas.oracle.com/bpel/extension}bindingFault" has been thrown.*
    - <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="code">
    *<code>*
    -5150
    *</code>*
    *</part>*
    - <part name="summary">
    *<summary>*
    *file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_File2Table_1.0_89ae3479c7199e576774b60c48e8454b.tmp/DBOutbound.wsdl [ DBOutbound_ptt::merge(PurchaseorderCollection) ] - WSIF JCA Execute of operation 'merge' failed due to: Could not create/access the TopLink Session.*
    *This session is used to connect to the datastore. [Caused by: [POL-5150] access violation]*
    *; nested exception is:*
    *     ORABPEL-11622*
    Could not create/access the TopLink Session.
    *This session is used to connect to the datastore. [Caused by: [POL-5150] access violation]*
    *See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException*
    *Internal Exception: java.sql.SQLException: [POL-5150] access violationError Code: -5150.*
    *</summary>*
    *</part>*
    - <part name="detail">
    *<detail>*
    *Internal Exception: java.sql.SQLException: [POL-5150] access violationError Code: -5150*
    *</detail>*
    *</part>*
    *</bindingFault>*
    Copy details to clipboard

  • Error while running a Java Program

    Can anyone help me,
    I am getting the following error while running a Java program, Below is the exception thrown, please help.
    java.nio.BufferOverflowException
    at java.nio.Buffer.nextPutIndex(Buffer.java:425)
    at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
    at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
    at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
    at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
    at org.jetel.graph.Edge.writeRecord(Edge.java:288)
    at com.tcs.re.component.RESummer1.run(RESummer1.java:505)
    java.nio.BufferOverflowException
    at java.nio.Buffer.nextPutIndex(Buffer.java:425)
    at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
    at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
    at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
    at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
    at org.jetel.graph.Edge.writeRecord(Edge.java:288)
    at com.tcs.re.component.RECollectCont.run(RECollectCont.java:304)

    Ok, let's see. Write the following class:
    public class Grunt {
      public static void main(String[] args) {
        System.out.println("Hello Mars");
    }Save it as "C:\Grunt.java", compile by typing:
    javac c:\Grunt.javaRun by typing:
    java -classpath "C:\" GruntDoes it say "Hello Mars"? If yes, go back to your program and compare for differences (maybe you used the "package" statement?).
    Regards

Maybe you are looking for

  • Messages keeps logging me out of yahoo..

    messages on my macbook pro keeps logging me out of yahoo. how can i fix this.

  • How to remove a zombie composite instance

    Our production environment purged all history before a certain date because of space issues. A lot of previous composite instances were also cleaned up. However a zombie instance is re-awakening randomly (1-72 hours) and faulting. Our initial assumpt

  • BADIs related to appointment calendar

    Hi friends, I want all the BADIs related to appointment calendar (Tcode - SSC1). I want to capture all the data when an appointment in the appointment calendar is created. There is one BADI  'APPOINTMENT', but i am not sure this BADI will work or not

  • Can't test sdk services exemple

    Hi expert, when i try to test sdk services from my ip communicator message host not found display. i subscribe Ip phone to services,and i add services to my call manager. but service is not visible from my ip communicator. Please help.

  • SAP Long Text hyperlinking

    Hello All, I am trying to find out if it is possible in include hyperlinks in SAP Long Text fields. Thank you, Alex