Error in using mysql in struts, help

error log:
2005-12-07 10:34:28 StandardContext[employees]Marking servlet action as unavailable
2005-12-07 10:34:28 StandardContext[employees]Servlet /employees threw load() exception
javax.servlet.UnavailableException: Initializing application data source org.apache.struts.action.DATA_SOURCE
     at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:1091)
     at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
     at javax.servlet.GenericServlet.init(GenericServlet.java:256)
     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:997)
     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:840)
     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4240)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
     at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:795)
     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:324)
     at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)
     at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
     at org.apache.commons.digester.Rule.end(Rule.java:276)
     at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
     at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
     at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
     at org.apache.commons.digester.Digester.parse(Digester.java:1567)
     at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:475)
     at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
     at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:480)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:961)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:347)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
     at org.apache.catalina.core.StandardService.start(StandardService.java:476)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:2298)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:547)
     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:324)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:286)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:387)
my datasource config in struts-config.xml
     <data-sources>
          <data-source type="org.apache.commons.dbcp.BasicDataSource">
               <set-property property="driverClassName" value="org.gjt.mm.mysql.Driver" />
               <set-property property="url" value="jdbc:mysql://localhost:3306/employees" />
               <set-property property="maxCount" value="5" />
               <set-property property="minCount" value="1" />
               <set-property property="user" value="root" />
               <set-property property="password" value="2" />
          </data-source>
     </data-sources>
my question: i can use the database via command, but why can not connect to database in my application employees?
and another interesting thing is that my application work correctly yesterday, but can not work today(make no change on anything)?

error log:
2005-12-07 10:34:28 StandardContext[employees]Marking servlet action as unavailable
2005-12-07 10:34:28 StandardContext[employees]Servlet /employees threw load() exception
javax.servlet.UnavailableException: Initializing application data source org.apache.struts.action.DATA_SOURCE
     at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:1091)
     at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
     at javax.servlet.GenericServlet.init(GenericServlet.java:256)
     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:997)
     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:840)
     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4240)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
     at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:795)
     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:324)
     at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)
     at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
     at org.apache.commons.digester.Rule.end(Rule.java:276)
     at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
     at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
     at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
     at org.apache.commons.digester.Digester.parse(Digester.java:1567)
     at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:475)
     at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
     at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:480)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:961)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:347)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
     at org.apache.catalina.core.StandardService.start(StandardService.java:476)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:2298)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:547)
     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:324)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:286)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:387)
my datasource config in struts-config.xml
     <data-sources>
          <data-source type="org.apache.commons.dbcp.BasicDataSource">
               <set-property property="driverClassName" value="org.gjt.mm.mysql.Driver" />
               <set-property property="url" value="jdbc:mysql://localhost:3306/employees" />
               <set-property property="maxCount" value="5" />
               <set-property property="minCount" value="1" />
               <set-property property="user" value="root" />
               <set-property property="password" value="2" />
          </data-source>
     </data-sources>
my question: i can use the database via command, but why can not connect to database in my application employees?
and another interesting thing is that my application work correctly yesterday, but can not work today(make no change on anything)?

Similar Messages

  • Error in using the command "loadjava"(help me !)

    When I use "loadjava" command to load the sample source code of
    XML SQL Utility for Java,the errors as below:
    C:>loadjava -u system/manager -v -r -t samp1.java
    internal error:unanticipated
    exeption:java.lang.NoClassDefFoundError:
    oracle/aurora/sqljdecl/SqljDecl
    java.lang.NoClassDefFoundError:
    oracle/aurora/sqljdecl/SqljDecl
    at oracle.aurora.server.tools.SourceFileReader.getScanner
    (SourceFileReader.java:52)
    at oracle.aurora.server.tools.SourceFileReader.getFirstName
    (SourceFileReader.java:61)
    at oracle.aurora.server.tools.LoadJava.processLoadAndCreate
    (LoadJava.java:1094)
    at oracle.aurora.server.tools.LoadJava.process
    (LoadJava.java:1021)
    at oracle.aurora.server.tools.LoadJavaMain.run
    (LoadJavaMain.java:193)
    at oracle.aurora.server.tools.LoadJavaMain.main
    (LoadJavaMain.java:49)resolvers:
    loadjava :1 errors
    C:>
    I looked for the class "oracle/aurora/sqljdecl/SqljDecl"
    by executing the SQL query as below:
    "select object_name from user_objects
    where object_name like oracle%"
    But I found only "oracle/aurora/sqljdecl/Token".
    Maybe my envirenment have some errors(I get Oracle8i from
    oracle's home by downloading)
    I can't find out the reason.This matter have troubled me for a
    long time.
    Does anyone know the reason?please tell me.thanks a lot.
    null

    plz help me !!!!!

  • Error when using MySQL view that has name greater than 30 characters

    Hi, am loading MySQL data to an Oracle table using an ODI 11g Interface.
    The interface errors when the name of the MySQL view exceeds 30 characters. A "view not found" error is encountered.
    Is there any work around when using source datastores (MySQL views in this case) where the datastore name exceeds 30 characters, other than renaming the MySQL view to have a max 30 character name?
    Thanks,
    Kevin L.

    I believe that mySQL supports upto 64 characters in table name. You need to update the ODI 11g Topology -> Physical Architecture -> Dbl click MySQL -> Goto Advanced tab and update the "Maximum table name length". By default that is setup to 30.

  • Error from using ANT program, need help, Thanks

    Hello,
    I tried to run J2ee tutorial sample code. Following the instruction, I tried to ues ant to build a sample ConverterAPP but get some error message. I would preciate if somebody could give me some help.
    Thanks.
    Hui Lu
    [email protected]
    Following is the command I entered from an CMD window and the exception I got:
    C:\j2sdkee1.3\j2eetutorial\examples\src>ant converter
    ***Warning: I am here start runAnt.
    Exception in thread "main" java.lang.NoClassDefFoundError: Connectors\classes;C:
    \javacode\classes;C:\eGate\client\classes;C:\eGate\client\classes\egate/jar;C:\eGate\client\JRE\1/1/7B\lib\rt/jar;C:\PROGRA~1\MQSeries\java\lib\COMIBM~2/JAR;C:\
    PROGRA~\MQSeries\java\lib\COMIBM~1/JAR;C:\PROGRA~\MQSeries\java\lib\COMIBM~3/JAR;C:\PROGRA~\MQSeries\tools\javaclnt\samples\en_us;
    Warning: I am here end runAnt.
    Following is the command line in the batch file which raised Exception
    C:\jdk1.3.1_01\bin\java -classpath "C:\jdk1.3.1_01\lib\tools.jar";"C:\j2sdkee1.3\jakarta-ant-1.3\lib\parser.jar";"C:\j2sdkee1.3\jakarta-ant-1.3\lib\jaxp.jar";"C:\j2sdkee1.3\jakarta-ant-1.3\lib\ant.jar";C:\javacode\classes;C:\j2sdkee1.3\jaka
    rta-ant-1.3\bin;C:\j2sdkee1.3\bin;C:\jdk1.3.1_01\bin;C:\IBMCON~\CICS\Classes\CTGCLI~1.JAR;C:\IBMConnectors\classes;C:\javacode\classes;C:\eGate\client\classes;C:\eGate\client\classes\egate.jar;C:\eGate\client\JRE\1.1.7B\lib\rt.jar;C:\PROGRA~\MQSeries\java\lib\COMIBM~2.JAR;C:\PROGRA~\MQSeries\java\lib\COMIBM~1.JAR;C:\PROGRA~\MQSeries\java\lib\COMIBM~3.JAR;C:\PROGRA~\MQSeries\tools\javaclnt\samples\en_us;
    -Dant.home="C:\j2sdkee1.3\jakarta-ant-1.3" org.apache.tools.ant.Ma
    in converter
    ****************************************

    Obviously you have the IBM java tools installed on your PC, and your classpath starts with IBM Connectors\...
    What you need to do is to edit your classpath environment variable in control panel->systems, and use quotation marks for any long directory/file names, or directory names with spaces in them. For example, change C:\IBM Connectors\classes to "C:\IBM Connectors\classes". Then it will work.

  • Lots of different errors when using Maps on Linux, help?

    I'm trying to use Maps in one of my programs, but for some reason I get all sorts of different errors when compiling.
    I've tried both my own (very) simple tests of it and also I've copied and pasted the code straight out of the official tutorials.
    //Edit: Ok, I've tried it on several different IDEs, and Netbeans (on both Linux and Windows) and JCreator(on Windows) both work now for whatever reason. The only one I still have problems with is below.
    Here some of the errors I get, and nothing is making sense.
    On a Linux machine, using a simple IDE (Geany):
    MapTest.java:6: not a statement
    Map<String, Integer> m = new TreeMap<String, Integer>();
    ^
    MapTest.java:6: ';' expected
    Map<String, Integer> m = new TreeMap<String, Integer>();
    I don't know why it isn't working.

    What do IDEs have to do with this? It's a compiler error.
    Do you import java.util.Map and java.util.TreeMap?
    Are you using JDK 5 or higher? Generics didn't appear in Java until JDK 5.
    %

  • Error in using struts tag library

    Platform information:
    Windows XP
    BEA Weblogic Server 8.1 (Developer)
    Struts 1.1
    I am unable to compile the following JSP in weblogic because it says there is
    an error using the struts-html tag library. (Details about the error are mentioned
    after the JSP)
    My JSP file is:
    ===================================================================
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <%@ page import="com.hipaaccelerator.runtime.HARuntime" %>
    <jsp:useBean id='logonForm' scope='request' class='com.hipaaccelerator.hipaax.form.LogonForm'/>
    <html:html>
    <head>
    <title>Logon</title>
    <link rel='stylesheet' href="<html:rewrite page='/styles/default.css'/>" type='text/css'
    >
    <script language='javascript' src="<html:rewrite page='/scripts/default.js'/>"
    type='text/javascript'></script>
    </head>
    <body>
    <html:form action='/logon.do' >     
         <table border='0' align='center' >
              <tr><td height='10'></td></tr>
              <tr>
    <td align='center'>
    <html:img src='/images/Logo.gif' height='70'
    width='449'/>
    </td>
    </tr>
              <tr><td height='10'></td></tr>
         </table>
         <table align='center' width='100%' >
         <tr><td height='10'></td></tr>
         <tr>
         <td height='20' width='10%'> </td>
         <td height='20' colspan='3' align='center' style="font-size: 18pt; color:
    blue;
    background-color: white; text-align:center">PAC
    </td>
         <td height='20' width='10%'> </td>
         </tr>
         <tr><td height='10'></td></tr>
         <tr>
         <td height='20' width='10%'> </td>
         <td height='20' width='8%'> </td>
         <td height='20' align='center' style="border-style:solid; border-width:2pt;
    font-
    size: 10pt; color: red; background-color: white; text-align:center">
    <%= HARuntime.instance().getConfig().getProperty("logonAnnouncement")
    %>
    </td>
         <td height='20' width='8%'> </td>
         <td height='20' width='10%'> </td>
         </tr>
         <tr><td height='10'></td></tr>
         </table>
         <table border='0' align='center' >               
         <tr>
    <td class='formfieldname' ><b>User Name: </td>
         <td class='formfield'>
         <html:text property='username' maxlength='20' size='20'/>
         </td>
         </tr>
         <tr><td class='formfieldspacer'></td></tr>
         <td class='formfieldname' ><b>Password:</b> </td>
         <td class='formfield'>
         <html:password property="password" size="20" maxlength="20"
    redisplay="false"/>
         </td>
         </tr>
         <tr><td class='formfieldspacer'></td></tr>
         <tr>
    <td colspan='2' align='middle'>
         <html:image src='/images/login.gif' onclick='document.forms[0].submit();
    return false;' />     
         </td>
    </tr>
    </table>
    <br><br>
    </html:form>     
    </body>
    </html:html>
    ===================================================================
    The translation of this page fails with the following error:
    <Dec 16, 2003 5:06:13 PM MST> <Error> <HTTP> <BEA-101045> <[ServletContext(id=4595,name=hipaax,context-path=/hipaax)]
    translation of /logon.jsp failed:
    weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='/WEB-INF/struts-html.tld'
    prefix='html': The Tag class 'org.apache.struts.taglib.html.BaseTag' has no setter
    method corresponding to TLD declared attribute 'server', (JSP 1.1 spec, 5.4.1)>
    ===================================================================
    I have struts.jar in /web-inf/lib. I have taglib (uri and location) definitions
    in web.xml.I have all the struts tld files under /web-inf. Is there anything
    else I have to do?
    Any help would be greatly appreciated.
    Thank you.
    Sharmila

    Update: I just looked up the WL version and it's 8.1 sp3
              So, I guess, JSTL 1.1 (which includes jstl fn tags) is not supported by WL.... Someone correct me if I am wrong.
              Thanks,
              pal :)

  • SQL Verification Problem / Muse Form Issue (Server uses MySQL muse uses SQLite) I'm in desperate need of help

           Alright well here is my issue... I have been trying to fix it on my own for the past week non stop and I have finally came to a solid conclusion as to the cause of the issue.
       I always get the error "The server has encountered an error..." in red text when anyone tries to submit a form and also when I try and test it myself. This led me to test the server / site for compatibility or issues by using the test:
    mydomain.com /scripts/form_check.php
    I got the first two checks green (pass) and the third test threw a red check meaning I was having an issue with SQL verification. This then led me to days of trying to work with my hosting provider (one.com) trying to solve the problem and I was told that they use mySQL on their servers and that they couldn't do anything on their end to solve the issue. I read alot that we are recommended in this case to try and get our host to add the SQLite database to their server or whatever it is they would do, long story short I guess many people are able to ask their host to make SQLite work and most accept and add SQLite functionality to their servers but unfortunately my hosting provider doesn't want to do this and they said they were sorry and that I would need to either switch the script to work with mySQL or figure something else out...
       I took a lot of time building my site and I dont want to take the form out. I absolutely need it... I know many post on here saying "forms dont work, oh poop " or "adobe sucks I dont want to use business catalyst grrr" but I tried to find the source of the problem and I've successfully came to the conclusion that my issue is that my script wants to use SQLite but in order for my sites forms to work the server needs to have SQLite as well... My idea is that if I can configure the script and the site itself to use mySQL instead of SQLite the SQL verification will then not be an issue and my websites forms will function with no issues. I am curious if a member of the staff with adobe has experience with this particular issue and can help me out? or if a member of the adobe community has solved this problem? If not I am hoping that with the description I provided that someone with knowledge of mysql, sqlite or code in general could help me modify the script or write a new script that will allow the forms to work properly. I know its a long shot, I say that because this discussion is full of people who used muse in favor of dreamweaver because just like a large number of people in the muse discussion area, I'm a graphic designer, with plenty of computer experience, art and design skill and I am extremely familiar with photoshop. Muse is perfect in so many ways. In fact, like I mentioned above, I don't even have a complaint at this time about muse. I understand the form issue in this case, and I imagine in thousands of other users situations, is all just a matter of scripts and compatibility.. Its just a little issue between the SQLite scripts we are all given when we export our muse website and the SQL version our various hosting service may be using on their servers.
       Just incase I missed anything, to provide just a bit more info on the topic and myself for anyone who may be able to help:
    I can alter the text inside of the scripts easily if anyone happens to know any lines of code that easily solve this issue (making the muse contact forms, which are native to SQLite, functional on a server using mySQL)
    I was told one way I could make the forms work on a server using mySQL (or any version other than SQLite) If I were to make changes to adobe muses SQL version by converting the SQLite db to mySQL db (db = database)
    I am computer literate and I can take any directions necessary, I really just need to get this done, I really appreciate any help I can get!!
    Thank you in advance,
    Roy

    <?php
    If you see this text in your browser, PHP is not configured correctly on this hosting provider.
    Contact your hosting provider regarding PHP configuration for your site.
    PHP file generated by Adobe Muse CC 2014.1.6
    function formthrottle_check()
        if (!function_exists("sqlite_open"))
            return '1';
        $retCode ='5';
        if ($db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
            $res = @sqlite_query($db, "SELECT 1 FROM sqlite_master WHERE type='table' AND name='Submission_History';",  $sqliteerror);
            if ($res == null or @sqlite_num_rows($res) == 0 or @sqlite_fetch_single($res) != 1)
                $created = @sqlite_exec($db, "CREATE TABLE Submission_History (IP VARCHAR(39), Submission_Date TIMESTAMP)",  $sqliteerror);
                if($created)
                    @sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('256.256.256.256', DATETIME('now'))",  $sqliteerror);
                else
                    $retCode = '2';
            if($retCode == '5')
                $res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History;",  $sqliteerror);
                if ($res != null and @sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 0)
                    $retCode = '0';
                else
                    $retCode = '3';
            @sqlite_close($db);
        else
            $retCode = '4';
        return $retCode;
    function formthrottle_too_many_submissions($ip)
        $tooManySubmissions = false;
        if (function_exists("sqlite_open") and $db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
            $ip = @sqlite_escape_string($ip);
            @sqlite_exec($db, "DELETE FROM Submission_History WHERE Submission_Date < DATETIME('now','-2 hours')",  $sqliteerror);
            @sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('$ip', DATETIME('now'))",  $sqliteerror);
            $res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History WHERE IP = '$ip';",  $sqliteerror);
            if (@sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 25)
                $tooManySubmissions = true;
            @sqlite_close($db);
        return $tooManySubmissions;
    ?>

  • SAPextractor error using MySQL Server database in OrgChart

    Hi Experts:
    We are now using MySQL Server database for Nakisa OrgChart 2.0. Source-SAP details were specified and test connection to database is successful.  We encountered the following errors when we performed the extraction.
    Processing Function Read Table Function/BAPI Downloading Tables Organizational Assignment
    No Tables were downloaded for Read Table Function/BAPI . Function is flagged as critical.Terminating Extraction.
    Processing Stopped ! ! !
    Downloading from SAP completed.
    Processing Completed.
    From CDS.log, we got the error message below:
    ERROR: Schema : tableName = OrgUnitHierarchy; : Source {.Net SqlClient Data Provider}: Message {Invalid object name 'OrgUnitHierarchy'.}
    ERROR: Schema : tableName = OrgUnitHierarchy; : Source {.Net SqlClient Data Provider}: Message {Invalid object name 'OrgUnitHierarchy'.}
    ERROR: Schema : tableName = OrgUnitHierarchy; : Source {.Net SqlClient Data Provider}: Message {Invalid object name 'OrgUnitHierarchy'.}
    ERROR: Sap Authentication : Source {SAP.Connector}: Message {An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)}
    Can you help us to check how to fix this error. In addition, we would also like to know how to configure XML files required for this installation.
    Thanks.
    Angelo
    Accenture
    SAP Basis

    Hi Angelo,
    Is this still an issue for you? If so can you let me know if you are using 32-bit or 64-bit server and what version you are using of TVN?
    All the best,
    Luke

  • Error using mySQL

    Hi. I´m trying use mySQL with SRTutorialADFBC tutorial. I can create connections. I can view my tables, etc. But when I try run the jsp page, I get a error 500:
    java.sql.SQLException: No suitable driver
         at java.sql.DriverManager.getConnection(DriverManager.java:545)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:189)
         at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:135)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:326)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Can you help me?

    Thanks javaX. But the error continue... The message begin:
    500 Internal Server Error
    JBO-30003: The pool of applications (oracle.srtutorial.datamodel.AppModuleLocal) failed in the checkout module exception:
    oracle.jbo.JboException: JBO-29000: JBO-29000: JBO-29000: JBO-26061: Erro ao abrir a conexão JDBC.
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Any new idea?

  • Using Adobe Photoshop CS2 version 9 and have updated it, but when stacking photos, it comes up with PSD, whereas I want Jpeg, and I change the format to Jpeg and the box then comes up with cannot save as there is a program error. Be very grateful for help

    Using Adobe Photoshop CS2 version 9 and have updated it, but when stacking photos, it comes up with PSD, whereas I want Jpeg, and I change the format to Jpeg and the box then comes up with cannot save as there is a program error. Be very grateful for help with this, please.

    jpg does not support Layers.
    Just to make sure, what exactly do you mean by "stacking photos" and what do you want to achieve thereby?

  • I have a new error on startup & rebooting doesn't help--Error: Platform version '1.9.1.4 is not compatible with minVersion =1.9.1.5 maxVersion =1.9.1.5 ...Had to use IE and download FF 3.6

    There aren't a lot of details in addition to what I put in the question field. Just got the FF beta v4 and used it fine, but when I attempted to launch it today, I got the error. The only info not listed there is the error title, XULRunner, which may be helpful. Other than that, I have a screen shot of it if that would be helpful. That's about it.

    Do a clean (re)install:
    * Download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Don't remove personal data if you uninstall the current version.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere (not in the Firefox program folder) and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • Error in extracting data from SAP using mySQL server database

    Hello Experts.
    We are now using MySQL server 2005 database for Nakisa OrgChart. We have already configured the SAPExtractor settings. Source-SAP has been provided and Test connection to destination database is successful. We manually created the database ExtractedData and AnalyticData in the MySQL management studio.
    We are getting the error upon starting the extraction
    Processing Function Read Table Function/BAPI Downloading Tables Organizational Assignment
    No Tables were downloaded for Read Table Function/BAPI . Function is flagged as critical.Terminating Extraction.
    Processing Stopped ! ! !
    Downloading from SAP completed.
    Processing Completed. 
    From CDS.log
    ERROR: Sap Authentication : Source {SAP.Connector}: Message {An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)}
    We would appreciate some assistance on this configuration
    Thanks,
    Angelo
    Accenture inc.
    SAP Basis

    Hello Luke,
    We have not done any modification of the downloadschema file. We receive message: The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.  when we open the file.
    The SAP account we used has SAP_AlLL, SAP_NEW authorizations. Are these authorizations sufficient to perform the data extraction?
    Thanks,
    Angelo

  • Error "Extend the destination address using the location input help"

    Hi experts,
    I got warning while creating travel expense from existing travel request.
    the warning appear like this "Extend the destination address using the location input help"
    I don't want user to enter detail of address trip destination.
    how to avoid this?
    thanks
    Edited by: nzworld on Apr 29, 2011 5:42 AM

    Hi,
    If you are using ESS and you get the warning message when you enter details for a particular expense type. Please follow the config and hide the location details. Then you will not get this error message.
    SAP Customizing Implementation Guide > Financial Accounting (New) > Travel Management > Travel Expenses > Dialog and Travel Expenses Control > Dialog Control > Field Control for Additional Receipt Information.
    Enter your trip provision variant, select the expense type for which you dont want to enter the location details and then select details. Search for the variable location, select hide radio button and save.
    Please let me know if you have further clarifications.
    Regards,
    Raj

  • Help:  Error when using LSMW (Recording Object Type)

    Dear all,
       I encountered an error when using "Batch Input Recording" way in LSMW,which is as follows:
    I have recorded the transaction MM01 and the source structure and data mapping.When dealing
    with "Specify Files",the error comes out with message
    --> "File Name 'Converted Data':Max.45 Characters:Remaining saved". 
    and the subsequent steps cannot be maintained due to the error.

    Alex,
    The name of file for Converted data is a system generated combination of your Project subproject and object followed by lsmw.conv  as   Project_Subproject_Object.lsmw.conv
    System has set a limit of a maximum of 45 characters. It the file name exceeds 45 characters, the system will throw the error.
    Just rename the file such that it is with in the 45 charcter limit....you will be fine
    Hope this helps
    Vinodh Balakrishnan

  • I am using OS X 10.8.5 but I'm having a hard time downloading Mavericks. It keeps on showing that there is an error downloading. Can someone can help me?

    I am using OS X 10.8.5 but I'm having a hard time downloading Mavericks.
    It keeps on showing that there is an error downloading.
    Can someone can help me?

    Some have managed to resolve the problem by cancelling the download, logging out of their App Store account and then logging back in again and starting over. The same approach also sometimes works for a stalled download:
    http://www.wired.com/gadgetlab/2013/10/mavericks-issues-and-fixes/#slideid-23477 1
    Also, if you are connected via wifi, try connecting via ethernet cable if you are able to. It's a 5.3gb download and it seems the more reliable the connection is, the better.

Maybe you are looking for

  • How can I deactivate an old computer that I know longer have?

    How can I deactivate an old computer that I know longer have? I own two computers and Adobe permits two computers on a subscription. However, when I bought my third new computer and didn't deactivate my old computer, I did not notify Adobe. Now, ther

  • Call actionscript file function from actions panel of a movie clip

    i have a movie clip with an actions layer can i call a function from an actionscript file from the actions panel?

  • How to get song from one computer to another

    i have got a ipod touch 8gb and it is refurbished so it is the oldest software. so i am wondering if i can get all 1000 songs from my pc to my laptop because i used my pc to get songs but ii bought ipod touch software 2.5 or 2.2 whatever it is called

  • Searching for explanation of the p_mode param in execute_deposit_process

    I'm looking for some detailed explanation of the parameter p_mode in hxc_timestore_deposit.execute_deposit_process (the OTL API). According to the documentation the parameter p_mode can have the values ‘SUBMIT’, ‘SAVE’ or ‘MIGRATE’. What's the differ

  • Urgent : req still running

    hello, i had strucked at ,one of ODS is uploading to three cubes ..where the req is still running the message is given as It is possible that data packets must be processed manually. error in inbox 00397 IDocs searched through for date 06.12.2006. 00