Tomcat error when using data source.

Hello,
I have a problem in that Tomcat does not seem to be recognising my DB Driver. I have tried linking a global data source to my application as well as adding a project specific one with no luck. Here is some of my files:
//Web.xml
<?xml version='1.0' encoding='UTF-8'?>
<web-app
version="2.4"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd"
>
<display-name>DataSourceExample</display-name>
<servlet>
<display-name>welcome</display-name>
<servlet-name>welcome</servlet-name>
<jsp-file>/welcome.jsp</jsp-file>
</servlet>
<servlet>
<display-name>DataSourceExample</display-name>
<servlet-name>DataSourceExample</servlet-name>
<jsp-file>/DataSourceExample.jsp</jsp-file>
</servlet>
<welcome-file-list>
<welcome-file>welcome.jsp</welcome-file>
</welcome-file-list>
<resource-ref>
<res-ref-name>jdbc/DataSourceExample</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
</web-app>
//server.xml
<?xml version="1.0" encoding="UTF-8"?>
<Server>
  <Listener className="org.apache.catalina.core.AprLifecycleListener"/>
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
  <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
  <GlobalNamingResources>
    <Environment
      name="simpleValue"
      type="java.lang.Integer"
      value="30"/>
    <Resource
      name="jdbc/DataSourceExample"
      type="javax.sql.DataSource"
      maxActive="4"
      maxIdle="2"
      username="hr"
      maxWait="5000"
      driverClassName="oracle.jdbc.driver.OracleDriver"
      password="secret"
      url="jdbc:oracle:thin:@127.0.0.1:1521:xe"/>
    <Resource
      auth="Container"
      description="User database that can be updated and saved"
      name="UserDatabase"
      type="org.apache.catalina.UserDatabase"
      factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
      pathname="conf/tomcat-users.xml"/>
  </GlobalNamingResources>
  <Service
      name="Catalina">
    <Connector
        port="8084"
        redirectPort="8443"
        minSpareThreads="25"
        connectionTimeout="20000"
        maxThreads="150"
        maxSpareThreads="75">
    </Connector>
    <Connector
        port="8009"
        redirectPort="8443"
        protocol="AJP/1.3">
    </Connector>
    <Engine
        defaultHost="localhost"
        name="Catalina">
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
      <Host
          appBase="webapps"
          name="localhost">
         <Context
            path="/DataSourceExample"
          <ResourceLink
            global="jdbc/DataSourceExample"
            name="jdbc/DataSourceExample"
            type="javax.sql.DataSource"/>
        </Context>
      </Host>
    </Engine>
  </Service>
</Server>
//A java snippet I am using to access the DB
InitialContext context = new InitialContext();
DataSource dataSource =
(DataSource) context.lookup("java:comp/env/jdbc/DataSourceExample");
Connection conn = null;
Statement stmt = null;
ResultSet rset = null;
try {
conn = dataSource.getConnection();
stmt = conn.createStatement();I also have my DB drivers in the commons/lib file. I know the connect string works fine because I can access the DB from Eclipse when writing standard Java code.
This is a common problem and I have been searching Google for the last 3 hours but nothing I have tried has fixed my problem.
I am using Tomcat 5.5 and J2EE 5. I am creating the links and resources in Tomcat manager.
I don't get any logs or stacktrace, the only error I get is as follows in the returned JSP page:
DataSource Example
Cannot create JDBC driver of class '' for connect URL 'null'What am I doing wrong?
Cheers
EDIT:
Actually there was some output from the shell. Here it is:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of cla
ss '' for connect URL 'null'
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDat
aSource.java:780)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSo
urce.java:540)
        at org.apache.jsp.DataSourceExample_jsp._jspService(DataSourceExample_js
p.java:61)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:332)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
14)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:664)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)
        at sun.jdbc.odbc.JdbcOdbcDriver.knownURL(JdbcOdbcDriver.java:476)
        at sun.jdbc.odbc.JdbcOdbcDriver.acceptsURL(JdbcOdbcDriver.java:307)
        at java.sql.DriverManager.getDriver(DriverManager.java:253)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDat
aSource.java:773)
        ... 22 more
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of cla
ss '' for connect URL 'null'
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDat
aSource.java:780)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSo
urce.java:540)
        at org.apache.jsp.DataSourceExample_jsp._jspService(DataSourceExample_js
p.java:61)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:332)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
14)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:664)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)
        at sun.jdbc.odbc.JdbcOdbcDriver.knownURL(JdbcOdbcDriver.java:476)
        at sun.jdbc.odbc.JdbcOdbcDriver.acceptsURL(JdbcOdbcDriver.java:307)
        at java.sql.DriverManager.getDriver(DriverManager.java:253)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDat
aSource.java:773)
        ... 22 moreI am using ojdbc14.jar driver and as I mentioned it is in commons/lib
Message was edited by:
helloWorld
Message was edited by:
helloWorld

Putting the driver into [TOMCAT]/common/lib is sufficient.
The error I think is not related to finding the driver, but actually not retrieving the correct connection string info.
I never had much luck putting this definition info into server.xml
I have had success putting it into a custom context.xml file for a web app as described [url http://tomcat.apache.org/tomcat-5.5-doc/config/context.html]here
in individual files (with a ".xml" extension) in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory. The name of the file (less the .xml) extension will be used as the context path. Multi-level context paths may be defined using #, e.g. context#path.xml. The default web application may be defined by using a file called ROOT.xml.
eg [TOMCAT]/conf/catalina/localhost/DataSourceExample.xml
Hope this helps,
evnafets

Similar Messages

  • Error when using data postion delay

    I obtained this error when using data position delay. Can anyone please
    tell me the reason why I can not configure the delay to be between 0.7
    and 0.8.
    Possible reason(s):
    Driver Status:  (Hex 0xBFFA403F) Unable to configure requested delay property given the current clock rate.
    Ensure that the delay value specified is within the valid range for the
    frequency specified or do not configure property for delay operation.
    Device: PXI1Slot2
    Property: Data Position
    Sample Rate: 40000000.0
    Requested Value: 0.71875
    Supported Values: 0.000 through 0.200, 0.300 through 0.700, 0.800 through 1.000,
    Status Code: -219401

    Timothy,
    The 656x devices have a limit on the available data delay values based
    on frequency.  Between 25MHz and 50MHz there are "holes" in the
    available delay range.  Above 50MHz, the full 0 to 1 data delay is
    valid.  If you look in the specifications installed with NI HSDIO
    for the NI 656x, on page 7, Figure 1, there is an illustration showing
    how to compute what the valid range is for the frequency of interest.
    For example, at 40MHz, valid values are:
    0 to 0.2
    0.3 to 0.7
    0.8 to 1
    In the error message posted below, you tried to input a value of 0.71875 which is not within these ranges.

  • Error when using Date Parameters...

    Hi everybody,
    I have a little issue.
    Ever since I upgraded my CRXI R2 to SP4 I've had a little problem using date parameters.
    The little calendar icon next to the parameter field no longer works.
    When I click it I get the following error message:
    An error has occurred in the script on this page.
    Line:       79
    Char:      1
    Error:      Object Expected
    Code:      0
    URL:       file://C:\Documents and Settings\jlong\Local Settings\Temp\prompting1.html
    I'm thinking this is probable a quick registry fix, but I have no idea where to start looking.
    Hopefully one of you CR guru's knows the answer.
    Thanks in advance,
    Jason

    It seems you are having a scripting issue.
    Go onto the Internet explorer settings (internet options under control panel)
    click on security and then click on Internet and then Custom tab.
    Scroll right down where it says Scripting and enable it.
    That should resolve the issue.
    Here is the full list of browsers with scripting options:
    Windows Internet Explorer
    (all versions except Pocket Internet Explorer)
    Note To allow scripting on this Web site only, and to leave scripting disabled in the Internet zone, add this Web site to the Trusted sites zone.
    1. On the Tools menu, click Internet Options, and then click the Security tab
    2. Click the Internet zone.
    3. If you do not have to customize your Internet security settings, click Default Level. Then do step 4
    If you have to customize your Internet security settings, follow these steps:
    a. Click Custom Level
    b. In the Security Settings u2013 Internet Zone dialog box, click Enable for Active Scripting in the Scripting section.
    4. Click the Back button to return to the previous page, and then click the Refresh button to run scripts.
    ===========
    Mozilla Corporationu2019s Firefox version 2
    1. On the Tools menu, click Options.
    2. On the Content tab, click to select the Enable JavaScript check box.
    3. Click the Go back one page button to return to the previous page, and then click the Reload current page button to run scripts.
    ===========
    Opera Softwareu2019s Opera version 9
    1. On the Tools menu, click Preferences.
    2. On the Advanced tab, click Content.
    3. Click to select the Enable JavaScript check box, and then click OK.
    4. Click the Back button to return to the previous page, and then click the Reload button to run scripts.
    ===========
    Netscape browsers
    1. Select Edit, Preferences,Advanced
    2. Click to select Enable JavaScript option
    Hope this helps.
    Regards
    Jehanzeb
    Edited by: Jehanzeb Navid on Jul 28, 2008 4:38 PM
    Ok I think I got this totally wrong. this isn't what you are looking for.
    Sorry!!! can't delete this reply arggghh!!!
    Edited by: Jehanzeb Navid on Jul 28, 2008 4:40 PM
    Maybe this might help?
    Remove Web Customization
    If multiple folders are causing the script error, remove Web customization from any folder that generates the error message.
    To remove customization from a folder, use the following steps:
    1. Open the appropriate folder.
    2. On the View menu, click Customize This Folder, click Remove Customization, click Next, and then click Finish.
    3. Close the folder.

  • OATS:Error When Adding Data Sources to the Oracle Load Technology suite

    Hi,
    I am trying to add the data source to the OLT to work on the demo files generated during installation.
    When i tried to add the
    In the Add monitor : step 1 window i selected the Perfmon (Windows Performance Monitor) and click Next.
    In Add monitor : step2 window the default settings for Monitored System and Data Collector is not changed and clicked on the Next button. When I click the next button i am getting an error as
    Error while calling discovery.
    Data collector setup failed on oats-am://localhost:9001: code=Windows reason=4
    (message id=ds.dcStartupFailed)
    This may be because the data collector didn't respond in time.Try again.
    I am new to the OATS so i dono y i am getting this error. Plz tell what settings to b done to resolve this.
    Error in Log File is shown below
    16:05:41,297 WARN [DCController] oracle.oats.datasources.DCController.onAgentStartupFailed(DCController.java:93) DataCollector failed to start: id=3f7e5492-4eb7-452c-9322-e009813f2d23 code=4 reason=Request error : agent image not found on disk: service.exe
    16:05:41,297 WARN [EmpStartClient] oracle.oats.core.EmpStartClient.onAgentStartupFailed(EmpStartClient.java:222) Received startup failure process id=3f7e5492-4eb7-452c-9322-e009813f2d23 failCode=4: Request error : agent image not found on disk: service.exe
    16:05:41,297 ERROR [SelfServiceListener] oracle.oats.request.datasources.RequestDiscovery.invoke(RequestDiscovery.java:55) Failed in starting discovery
    16:05:41,297 ERROR [SelfServiceListener] oracle.oats.request.datasources.RequestDiscovery.invoke(RequestDiscovery.java:56) oracle.oats.datasources.exception.DataSourceException: Data collector startup failed on oats-am://localhost:9001: code=Windows reason=4\n\n(message id=ds.dcStartupFailed)
    16:05:41,297 ERROR [MonitorAction] oracle.oats.olt.OracleActionBase.error(OracleActionBase.java:318) Error while calling discovery.\n\n
    oracle.oats.core.ApplicationMDBException: Server returned error in response to request 87: Discovery for request null failed: code=dis2\n\n(message id=console.discoveryError)\n\n(message id=responseServerError)
         at oracle.oats.app.session.SessionSyncedClient.getResponse(SessionSyncedClient.java:480)
         at oracle.oats.app.console.ConsoleSyncedClient.genericDiscovery(ConsoleSyncedClient.java:623)
         at oracle.oats.app.console.ConsoleSyncedClient.genericDiscovery(ConsoleSyncedClient.java:597)
         at oracle.oats.app.console.ConsoleSyncedClient.perfmonDiscoverAll(ConsoleSyncedClient.java:872)
         at oracle.oats.olt.datasource.action.PerfmonAction.getPerfmonObjects(PerfmonAction.java:153)
         at oracle.oats.olt.datasource.action.PerfmonAction.discover(PerfmonAction.java:41)
         at oracle.oats.olt.datasource.action.AgentAction.discoverSpecific(AgentAction.java:98)
         at oracle.oats.olt.datasource.action.MonitorAction.step3(MonitorAction.java:182)
         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:597)
         at oracle.oats.olt.OracleActionBase.execute(OracleActionBase.java:160)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.oats.olt.ActionServlet.process(ActionServlet.java:180)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.oats.olt.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:171)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.oats.client.console.ConsoleException: Discovery for request null failed: code=dis2\n\n(message id=console.discoveryError)
         at oracle.oats.console.ConsoleEngine.startOneConsoleDiscoverRequest(ConsoleEngine.java:1588)
         at oracle.oats.request.console.RequestConsoleDiscovery.invoke(RequestConsoleDiscovery.java:51)
         at oracle.oats.ejb.SelfServiceListener.onMessage(SelfServiceListener.java:122)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
         at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
         at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         ... 2 more
    Caused by: oracle.oats.datasources.exception.DataSourceException: Server threw an exception in response to request 88\n\n(message id=responseServerException)
         at oracle.oats.app.datasources.DataSourceSyncedClient.getResponse(DataSourceSyncedClient.java:91)
         at oracle.oats.app.datasources.DataSourceSyncedClient.startOneDiscoverRequest(DataSourceSyncedClient.java:167)
         at oracle.oats.console.ConsoleEngine.startOneConsoleDiscoverRequest(ConsoleEngine.java:1584)
         ... 10 more
    Caused by: oracle.oats.datasources.exception.DataSourceException: Data collector startup failed on oats-am://localhost:9001: code=Windows reason=4\n\n(message id=ds.dcStartupFailed)
         at oracle.oats.datasources.FrameworkManager.startDataCollector(FrameworkManager.java:929)
         at oracle.oats.datasources.FrameworkManager.findFrameworkID(FrameworkManager.java:275)
         at oracle.oats.datasources.FrameworkManager.startOneDiscoverRequest(FrameworkManager.java:1021)
         at oracle.oats.request.datasources.RequestDiscovery.invoke(RequestDiscovery.java:49)
         at oracle.oats.ejb.SelfServiceListener.onMessage(SelfServiceListener.java:122)
         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:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy135.onMessage(Unknown Source)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    Thanx in advance
    Edited by: user10300810 on Oct 25, 2009 2:20 AM
    Edited by: user10300810 on Oct 27, 2009 3:40 AM

    Hi
    It looks like there is no agent running on your machine.
    Can you check that the following service is running: Oracle Application Testing Suite Agent Service
    Regards
    Alex

  • "access denied" error when using data bindings in region

    Whenever I use data boundings in a region jspx or even in a subview page, I got "access denied" error in other page that uses this region or subview.
    Anybody know if there is any workaround?
    Thanks a lot!

    Thanks Frank.
    I tried to copy all the bindings in subpage pageDef to mainpage pageDef - no luck.
    I was trying to use region to implement tile like templating following this nice article
    http://technology.amis.nl/blog/?p=1709
    Because of this access denied issue, seems this nice article is not that useful.

  • Script error when using Data parameter.

    Post Author: despec
    CA Forum: General
    Hello,I'm not sure what's going on here, but when I try to use a data parameter and run the report, upon clicking on the calander icon, I get a JS error saying that an object was expected in line 80.  A referring URL to a prompting htrml is listed, but I'm just not sure what I need to do to straighten this out.  Service pack perhaps? David

    Post Author: V361
    CA Forum: General
    I have had a similar problem with CR XI,  if I put the date in manually no worries, if I use the calendar, I get some sort of error as well,  "a runtime error has occured, error line 742", this happens on my CR XI on one machine, it is running on product version 11.5.8.963,  I also have CR XI, on a test server, running 11.5.8.826 and I do not have an issue with this one.  So... Long story made short, it may well be the service patch.  When I debug the error it tells me there is a "Microsoft Jscript runtime error"  It is pointing to c:/program files/business objects/common/3.5/crystalreportveiwers115/prompting/js/promptengine_calendar.js

  • CRViewer XI R2 Select Expert error when using dates

    I am using RDC.  CR XI R2 w/ SP2/3.  When I open any report with dates in the output and then use Select Expert and choose a date from the browse or dropdown list I get an error.
    "Error - the ) is missing"
    -Thanking you in advance.... Brent
    Edited by: Brent Lawrence on Jun 11, 2008 2:15 PM
    Edited by: Brent Lawrence on Jun 11, 2008 2:18 PM

    Hello Brent,
    I'm sorry the RDC viewer and the Select Expert do not meet your expectations.  The RDC was deprecated with the release of Crystal Reports 10.  Once the RDC was deprecated it stopped receiving development focus for issues like this.  The RDC remained available for two more versions (XI / XI R2) but it has now been retired with the release of CR 2008 a few months ago.
    I'm surprised to hear that the Select Expert wasn't showing this issue in CR XI (v11.0), unfortunately I won't be able confirm this.
    If you want to roll back to the viewer for CR XI (v11.0) you have to roll back entirely to work with CR XI (v11.0).  You should not mix versions of DLLs (e.g crviewer.dll v11.0 and craxdrt.dll v11.5).  This may work, but it would not be supported for any issues you might encounter.  You indicated in your post that you moved to CR XI R2 (v11.5) to get past another issue that was resolved in CR XI R2, so rolling back entirely won't be a solution.
    With the retirement of the RDC the recommended upgrade path for Windows application development is to move to the Crystal Reports .NET SDK.  The Crystal Reports .NET SDK is available in CR XI R2 so if you want to explore this SDK as well you can visit the online developer library for additional information.  Here's the link:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    Sincerely,
    Dan

  • "Too Few Arguments" error when using Date Format

    I'm attempting to format some date information. I'm taking the following query:
    mysql_select_db($database_adventcms, $adventcms);
    $query_rsDatedetails = sprintf("SELECT * FROM tbEvents WHERE id = %s", GetSQLValueString($colname_rsDatedetails, "int"));
    $rsDatedetails = mysql_query($query_rsDatedetails, $adventcms) or die(mysql_error());
    $row_rsDatedetails = mysql_fetch_assoc($rsDatedetails);
    $totalRows_rsDatedetails = mysql_num_rows($rsDatedetails);
    and changing it to this:
    mysql_select_db($database_adventcms, $adventcms);
    $query_rsDatedetails = sprintf("SELECT *, DATE_FORMAT(datestart, '%b') AS whichMonth, DATE_FORMAT(datestart, '%Y') AS whichYear, DATE_FORMAT(datestart, '%D') AS whichDate FROM tbEvents WHERE id = %s", GetSQLValueString($colname_rsDatedetails, "int"));
    $rsDatedetails = mysql_query($query_rsDatedetails, $adventcms) or die(mysql_error());
    $row_rsDatedetails = mysql_fetch_assoc($rsDatedetails);
    $totalRows_rsDatedetails = mysql_num_rows($rsDatedetails);
    When I run it I get this error:
    Warning: sprintf() [function.sprintf]: Too few arguments in /home/iasindia/public_html/beta/newsandevents/eventdetails.php on line 60
    Query was empty
    which refers to the query line above. The odd thing is that same query works on a different query like this:
    $query_rsDates = "SELECT *, DATE_FORMAT(datestart, '%b') AS whichMonth, DATE_FORMAT(datestart, '%Y') AS whichYear, DATE_FORMAT(datestart, '%D') AS whichDate FROM tbEvents WHERE status = 'Live' AND datestart >= CURDATE() ORDER BY datestart DESC";
    $query_limit_rsDates = sprintf("%s LIMIT %d, %d", $query_rsDates, $startRow_rsDates, $maxRows_rsDates);
    $rsDates = mysql_query($query_limit_rsDates, $adventcms) or die(mysql_error());
    $row_rsDates = mysql_fetch_assoc($rsDates);
    But I can't get it to work on the $query_rsDatedetails above.
    Any help would be appreciated!

    The sprintf function is interpreting the date format type as an input. There are several solutions:
    http://stackoverflow.com/questions/5835534/mysql-query-date-format-and-sprintf

  • Error while deleting data source : Message RSO414

    Hello Guys,
    We have activated data source 2LIS_04_PKKANBAN and entire standard BI content . When i tried to extract data, i got 0 records initially and after that i came to know that some functions needs to be activated in ECC to extract KANBAN data.
    We activated some function and deleted & filled setup tables for KANBAN and i can see data in RSA3 (368 Records). Then i tried to extract data into SAP BI. it took  me 20 minutes but ended with error. "Data Source needs to be activated again as it was changed (We just activated one function only) nothing changed to data source" I activated data source again in ECC and replicate on SAP BI side but i am not able to get it in activated mode.
    I tried to activate it manually and it takes 20-25 minutes but i am not able to activate it and getting error "Error when activating DataSource : MESSAGE NO  RSO414 " "Error when resetting DataSource 2LIS_04_PKKANBAN to the active version". i also can't delete data source as when i try to delete it, i get the error "ERROR WHEN DELETING DATA SOURCE : MESSAGE NO RSO414" .  What to do in this situation ?
    Regards,
    Komik Shah

    Hi Rahul,
    I tried it but it didn't help me.
    Also there is no FM in SAP BI called RS_DATASOURCE_ACTIVATE_ALL. I have activated  data source in my ERP system  and replicated same on BI side as we don't have standard Transfer Rules or Transformation, i can't use RS_TRANSTRU_ACTIVATE_ALL .
    Regards,
    Komik Shah

  • Error in activating  data source

    Hi Gurus,
                      I'm facing error when generating data source stating "THE OLTP SOURCE STILL HAS ERRORS"
    when i activate my structure in "se11" it is activating .
    could you tell me how to get rid of this error............
    Regards,
    Vijay.

    HI Siva,
                   I faced this problem with refernce fields...........
    I've given wrong refernce so this was encountered......
    Check u'r refenc fields..................
    regards,
    Vijay.

  • Getting an error when using adobe photoshop CC, "Could not move the data because of a program error". Any idea on what this means?

    Getting an error when using adobe photoshop CC, "Could not move the data because of a program error". Any idea on what this means?

    Have no idea of what you were even doing in Photoshop my crystal ball is out for repairs so I can not see.  

  • Can anyone list problems/errors when uploading data using BDC's and BAPI's?

    Can anyone list the problems/errors when uploading data using BDC's and BAPI's?

    Hi,
    If you are actually creating a BDC to load data pls be more specific.
    Data format incorrect. Tab delimited/ etc
    Dates in wrong formats
    Currency incorrect formats
    Missing screens
    Wrong transaction code
    File not found,
    Missing Mandatory fields,
    Screen resoultion.
    You should always use refresh for your Bdcdata table.
    Loop at internal table.
    refresh Bdcdata.
    regards,
    sowjanya.

  • Oracle giving Block corruption errors when using CDC for sending the data to SQL Server 2012

    Hello Friends,
    We are facing an error while using CDC with Oracle. It is a "Block corruption" error, which indicates at some level of data corruption. We ran RMAN validate command to scan the database for corruption but it returned with no errors, however he
    Alert Log in Oracle is still coming up with the following error. Has anyone experienced this error when using Oracle Standard Edition and SQL 2012 ?
    Trace file e:\app\pulse-ad\diag\rdbms\orcl\orcl\trace\orcl_ora_5992.trc
    Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
    Windows Server 2003 Version V5.2 Service Pack 2
    CPU                 : 4 - type 8664, 4 Physical Cores
    Process Affinity    : 0x0000000000000000
    Memory (Avail/Total): Ph:6782M/24575M, Ph+PgF:12203M/30844M
    Instance name: orcl
    Redo thread mounted by this instance: 1
    Oracle process number: 151
    Windows thread id: 5992, image: ORACLE.EXE (SHAD)
    *** 2013-12-12 03:04:33.655
    *** SESSION ID:(1281.3832) 2013-12-12 03:04:33.655
    *** CLIENT ID:() 2013-12-12 03:04:33.655
    *** SERVICE NAME:(orcl) 2013-12-12 03:04:33.655
    *** MODULE NAME:(xdbcdcsvc.exe) 2013-12-12 03:04:33.655
    *** ACTION NAME:() 2013-12-12 03:04:33.655
    Lost-write detected for sequence 70856. The lost-write starts occurring in block 11193. The current block being validating is 12930.
    Block dump of the first lost-write block:
    Flag: 0x1 Format: 0x22 Block: 0x00002bb9 Seq: 0x000114bf Beg: 0x94 Cks:0x68ee
    Dump of memory from 0x0000000598D06C00 to 0x0000000598D06E00
    598D06C00 00002201 00002BB9 000114BF 68EE8094  [."...+.........h]
    598D06C10 00085BF1 0023BDA1 000DE19C 000DE19C  [.[....#.........]
    598D06C20 0000000C 00000000 2209160A 5BF10000  [..........."...[]
    598D06C30 3EB10502 00C0F5CA 0031BDA1 00010205  [...>......1.....]
    598D06C40 02B22C6A 038A6D69 00000001 00000000  [j,..im..........]
    598D06C50 4D554407 30373230 35BB0206 001100AE  [.DUM0270...5....]
    598D06C60 0001040A 000D000E 038A6D69 56B25735  [........im..5W.V]
    598D06C70 729C0003 E19C0001 000C0006 000D0006  [...r............]
    598D06C80 02BB0502 00C0F5CD 0023BDA1 000A0002  [..........#.....]
    598D06C90 00C00013 000000D0 00030201 56B25736  [............6W.V]
    598D06CA0 03890001 00000000 00000000 002E0105  [................]
    598D06CB0 FFFF0003 00C0F5CD 56B25736 3EB10003  [........6W.V...>]
    598D06CC0 FFFF0024 0014000C 000C0018 00120014  [$...............]
    598D06CD0 09CC0058 E75B0022 0009000F 00085BF1  [X...".[......[..]
    598D06CE0 0024BDA1 000DE19D 000DE19D 0000000C  [..$.............]
    598D06CF0 00000000 2309160A 5BF10000 3EB10502  [.......#...[...>]
    598D06D00 00C0F5CD 0020BDA1 00010205 02B22C72  [...... .....r,..]
    598D06D10 03900974 00000019 00000000 3030300A  [t............000]
    598D06D20 33303030 06323132 AE35BB02 0B441100  [0003212...5...D.]
    598D06D30 0001040A 000D000E 03900974 56B25736  [........t...6W.V]
    598D06D40 729C0003 E19D0011 000C0006 000D0006  [...r............]
    598D06D50 02BB0502 00C0F5CD 0024BDA1 00EA0002  [..........$.....]
    598D06D60 00270016 000001FC 00032C01 56B25736  [..'......,..6W.V]
    598D06D70 00000001 00000000 30393007 002E0105  [.........090....]
    598D06D80 FFFF0003 00C0F5CD 56B25736 00000003  [........6W.V....]
    598D06D90 FFFF0025 00140052 000C0018 00070035  [%...R.......5...]
    598D06DA0 0003000A 00070003 0001001D 00030001  [................]
    598D06DB0 00010001 00010001 00010001 00010001  [................]
    598D06DC0 00010001 00010001 00010001 00010001  [................]
    598D06DD0 00010001 00000001 00010001 00010001  [................]
    598D06DE0 00010001 00000014 09720174 00000022  [........t.r."...]
    598D06DF0 0009000F 00085BF1 0025BDA1 000DE19A  [.....[....%.....]
    Block dump of the current block being validating:
    Flag: 0x1 Format: 0x22 Block: 0x00003282 Seq: 0x000114c8 Beg: 0x0 Cks:0x312a
    Dump of memory from 0x0000000598DDFE00 to 0x0000000598DE0000
    598DDFE00 00002201 00003282 000114C8 312A8000  [."...2........*1]
    598DDFE10 50424703 31303607 34353335 69745319  [.GBP.6015354.Sti]
    598DDFE20 6E696C72 72502067 6375646F 4C207374  [rling Products L]
    598DDFE30 4E206474 C3025650 0380013D 0457454E  [td NPV..=...NEW.]
    598DDFE40 4E1E09C2 1E09C204 10C2024E 1E09C204  [...N....N.......]
    598DDFE50 09C2044E C2024E1E 03C30510 021B0929  [N....N......)...]
    598DDFE60 C3053DC3 0F192602 2602C305 C3050F19  [.=...&.....&....]
    598DDFE70 0C1A6203 5102C105 C2041F4E 044E1E09  [.b.....QN.....N.]
    598DDFE80 4E1E09C2 0410C202 4E1E09C2 1E09C204  [...N.......N....]
    598DDFE90 10C2024E 2903C305 78071B09 011D0B71  [N......)...xq...]
    598DDFEA0 BF020101 1FBF0215 4E018001 53014E01  [...........N.N.S]
    598DDFEB0 0723002C 0B0C7178 0A3C3C18 30303030  [,.#.xq...<<.0000]
    598DDFEC0 33373030 4D033337 47034255 36075042  [007373.MUB.GBP.6]
    598DDFED0 38333936 4E113331 2065776B 74616C50  [693813.Nkwe Plat]
    598DDFEE0 6D756E69 56504E20 0B0AC303 4E038001  [inum NPV.......N]
    598DDFEF0 C2045745 0459512E 59512EC2 5253C203  [EW...QY...QY..SR]
    598DDFF00 512EC204 2EC20459 C2035951 C3055253  [...QY...QY..SR..]
    598DDFF10 1B092903 0B0AC303 3C04C305 C3053239  [.).........<92..]
    598DDFF20 32393C04 4F08C305 C105114F 1F4E5102  [.<92...OO....QN.]
    598DDFF30 512EC204 2EC20459 C2035951 C2045253  [...QY...QY..SR..]
    598DDFF40 0459512E 59512EC2 5253C203 2903C305  [.QY...QY..SR...)]
    598DDFF50 78071B09 01190A71 C0030101 C0034709  [...xq........G..]
    598DDFF60 8001330A 4E014E01 002C5301 71780723  [.3...N.N.S,.#.xq]
    598DDFF70 3C180B0C 30300A3C 30303030 33373337  [...<<.0000007373]
    598DDFF80 42554D03 50424703 31304207 344C5131  [.MUB.GBP.B011QL4]
    598DDFF90 6F725020 63657073 614A2074 206E6170  [ Prospect Japan ]
    598DDFFA0 646E7546 64724F20 44535520 30302E30  [Fund Ord USD0.00]
    598DDFFB0 04C30331 03800133 0557454E 5B1603C3  [1...3...NEW....[]
    598DDFFC0 03C30521 04215B16 1F4004C3 1603C305  [!....[!...@.....]
    598DDFFD0 C305215B 215B1603 4004C304 03C3051F  [[!....[!...@....]
    598DDFFE0 031B0929 043304C3 4D245AC2 245AC204  [).....3..Z$M..Z$]
    598DDFFF0 02C3054D 040A1A18 494002C1 1603C305  [M.........@I....]
    *** 2013-12-12 03:05:07.984
    ** LOGMINER WARNING - Invalidated 6 LCRs **
    Complete dump of first invalid START LCR follows:
    ++  LCR Dump Begin: 0x0000000532C004E0 - CANNOT_SUPPORT
         op: 255, Original op: 3, baseobjn: 0, objn: 233316, objv: 1
         DF: 0x00000002, DF2: 0x00000000, MF: 0x00000000, MF2: 0x00000000
         PF: 0x40000001, PF2: 0x00002000
         MergeFlag: 0x00, FilterFlag: 0x00
         Id: 0, iotPrimaryKeyCount: 3, numChgRec: 4
         NumCrSpilled: 0
         RedoThread#: 1, rba: 0x0114c8.0001c6ce.00d4
         scn: 0x0003.56b593be, xid: 0x0008.00c.00100d85, pxid: 0x0008.00c.00100d85
         ncol: 0newcount: 0, oldcount: 0
         LUBA: 0x3.c109c0.c.15.38f64
    Thanks
    Dee

    Hi Dee,
    Thank you for your question.
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Mike Yin
    TechNet Community Support

  • Error when using filter on date column in interactive report

    Hi,
    I'm getting the following error when using the filter on a date column. None of the criteria in the filter list work. All give me the same error but when I use the filter on a column feature (in the search bar) and use ">" and "<" those work.
    Can someone please help me????
    " Settledate is in the last 2 years
    ORA-30175: invalid type given for an argument ORA-02063: preceding line from MAINDATA "

    I have a similar problem . I have an interactive report based on resultset stored in a collection; since all the columns of a collection are of string datatype, I convert the columns to appropriate datatypes before its returned to the user; everything works as desired except when I try to filter on a data column , I get a ORA-01858: a non-numeric character was found where a numeric was expected .
    I turned on debug mode and am copying the output here , column c009 which is aliased to 'C' is the one that I am trying to apply the filter on
    select
    ROWID as apxws_row_pk,
    "C001",
    "C002",
    "C003",
    "C004",
    "C005",
    "C006",
    "C007",
    "C008",
    "CHECKOUTTIMESTAMP",
    "C010",
    "C011",
    "TO_NUMBER(C012)",
    "TO_NUMBER(C013)",
    "TO_NUMBER(C014)",
    "C015",
    "C016",
    "C017",
    "TO_NUMBER(C018)",
    "C",
    count(*) over () as apxws_row_cnt
    from (
    select * from (
    Select c001,c002,c003,c004,c005,c006,c007,c008,to_date(c009,'dd-MON-yy HH24.MI') checkouttimestamp,
    cast(to_date(c009,'dd-MON-yy HH24.MI') as timestamp) c,
    --TO_TIMESTAMP(c009,'dd-MON-yy HH24.MI') c1 ,
    trunc(to_date(c009,'dd-MON-yy HH24.MI')) checkoutdate,
    c010,c011,to_number(c012),to_number(c013), to_number(c014),c015,c016,c017,to_number(c018) from apex_collections where collection_name = 'IR_BOOKSALES'
    ) r
    where ("C" between systimestamp - ((1/24) :APXWS_EXPR_1) and systimestamp)*
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    order by ROWID
    0.04: IR binding: ":APXWS_EXPR_1"="APXWS_EXPR_1" value="1"
    0.04: IR binding: ":APXWS_MAX_ROW_CNT"="APXWS_MAX_ROW_CNT" value="2000"
    ORA-01858: a non-numeric character was found where a numeric was expected
    I have tried to convert c009 to date, timestamp and timestamp with time zone datatypes ; they all return the same error ,but all 3 datatypes work fine with systimestamp when I run them in sqlplus. Any help would be appreciated.

  • Error in generating data source from planning area

    Hi experts! I have an error while making data source from planning area:
    after the screen when i fill in the data source name (Window name: Generate export data source) i have the SYNTAX_ERROR Message:
    Syntax error in program /sapapo/cl_im_extract_ex======cp
    the main reason: the type /BI0/9A0IVWKNDGD is unknown
    what you can suggest to solve this problem?
    Thanks.

    Dear Andrey Kudriavzev,
    The reason is the program is trying to use the datatype '/BI0/9A0IVWKNDGD' which does not exist in the system.
    Go SE11 to cross check if it exists. Check dataelement radiobutton -> enter /BI0/9A0IVWKNDGD -> Choose display option. You would need to create this datatype in the system. I feel there must some OSS Note related to this.
    Search for an OSS Note. Raise one if you cannot find the relevant notes.
    Regards,
    Naveen.

Maybe you are looking for

  • Win 8 to win 7 hp 15-g070nr usb

    need drivers for USB...one on right side works    rest are dead

  • Iphone camera

    i can take a photo easy enough but i cant see it when i click on the thumbnail or will it save to the iphone photo album ....when i go into the album all of my 300 odd photos are gone  ie all photos 0  recently deleted 0  and the message "restoring"

  • Photoshop elements 10 trash

    How to photoshop elements 10 that opens onto a space totally free and without any opening of trash?

  • Bilingual support of Apache Lenya

    Dear All We are using Apache Lenya content management tool for our web based project and it supports internationalisation also. But my requirement is, i need to display user interface content in English by default and Marathi (One of the Indian Regio

  • After Muse trial expiration

    Hi, I am currently using Muse trial version building my website. What I am concerned is; will I still be able to use my website after the Muse tiral is expired? I am thinking of publishing with business catalyst hosing server. Did anyone ever try thi