Problems with adding Library for a MySQL JDBC driver

Good day,
I am new with the JDeveloper package, so the following could be a user fault.
I found the following:
- I downloaded and installed Oracle JDeveloper 10.1.2.1.10 (latest version).
- I downloaded the latest JDBC drivers for MySQL. ( mysql-connector-java-3.1.10 )
Now, I did the following steps extracted from the link http://www.oracle.com/technology/products/jdev/tips/duff/mysql_and_oc4j3.html it should be quite easy to add the JDBC Drivers to the project.
I did the steps with the following results:
When I Edit the Project properties, follow Profiles -> Development -> Libraries
When I do ' New' , fill in at JS2E the value 'MySQL' and fill in the Class Path (in my case 'C:\javaInstalls\mysql-connector-java-3.1.10\mysql-connector-java-3.1.10-bin.jar').
In that case the [OK] is disabled. I should expect the [OK] button was enabled!
My question: Is this a bug? When not, what am I doing wrong!
Regards,
Mike

I tried it on an other system and had no problems with adding the libraries. It still is a problem on that particular system using the Dutch version of XP. The problem is that the Ok button stays disabled !
Could it bw a version problem with Java? How ever no changes are made to the original configuration, so it should pick up as default the java version of JDeveloper self.

Similar Messages

  • Problem with Java 5 and Oracle 10g JDBC driver

    Hi All,
    Currently we upgrade our web application to Java 5 and Oracle 10.2 JDBC driver. And we encountered a bug, when the user entered the information through UI and data didn't store into database (Oracle 9i). The problem is that this bug is not happend so often maybe once a day and this did not happen before we upgraded to Java 5 and Oracle 10.2 JDBC driver. Does anyone encounter the same problem ? Is this Java 5 problem or Oracle JDBC driver problem ?
    Thanks,

    sounds like a database problem...
    Are you using a driver version that's supported for your database engine?
    What else did you change? We once ran into a major bug in our application that had for 5 years been masked by performance problems in our hardware and infrastructure.
    Once those were resolved the bug showed itself and caused tens of thousands of records to be erroneously inserted into our database every day.
    It's certainly NOT a problem with your JVM (if it's a decent one, like the Sun implementation).
    So it's either your database, your driver, your network (dropping packets???), or your application.
    The upgrade may just have exposed something that was already there.

  • Problem with system recovery for a new hard drive in my Pavilion p6210y Windows 7 Premium 64bit

       I decided to swap out  my hard drive when my computer would fail to start up or crash right after starting. Diagnostic tool at startup said the hard drive was faulty and other times I would get BIOHD-1 and BIOHD-2 errors. I replaced the old WD Caviar Blue 640GB with a new Caviar Green 1TB. I ordered and received from HP a system recovery disc set which included five discs labeled:
    Use This First! System Recovery,
    System Recovery 1:1,
    SYstem Recovery 1:3,
    System Recovery 2:3, and
    System Recovery 3:3.
       After putting in the new hard drive I used the "Use This First!" disc and everything seemed to be going fine. The scene showed "Loading Windows" or something like that. After about 10 minutes the CD drive opened and the Monitor showed three images: a big green check mark which I assume meant everything was good up to that point; a graphic showing the removal of the first disc; and a graphic showing three discs to be put in. Wondering whether to put in the System Recovery 1:1 disc or the System Recovery 1:3 disc, I noticed that the drive bay closed with the "Use This First" disc still in. I managed to get the Drive to open after pressing the open button quite a few times. I closed it with the 1:3 disc and nothing happened (no light showing activity in the DVD drive). After a minute or so I managed to get the drive open again after quite a few times pressing the open button. I put in the 1:1 disc and still nothing. At this point I could only open the drive bay with a paper clip in the release hole. With the computer unresponsive and the monitor still showing the same as when the first disc came out, I decided to turn it off with the "Use this First!" disc in the drive hoping to start from the beginning again. Now the directions that came with the HP System Recovery discs state:
       CAUTION: Do not turn off the computer, or use the keyboard or mouse during this time. Doing so will interrupt or damage the software installation.
       Now when I turn the power on I get either:
     the HP blue screen with the green hand, (F11=system recovery), (F9=Diagnostics), (F10=Setup) and (ESC=Boot Menu). pressing esc, F9, F10 or F11 does nothing.
    Or the HP blue screen appears and then almost immediately goes to the black screen with " Reboot and select proper boot device or insert Boot media in select Boot device and press a key". I've gotten this scene while trying almost every System Recovery disc in the drive. Hitting a key does nothing other than repeating the same message.
    Once I got a "The file is corrupt. The file header checksum does not match the computer checksum" error. That appeared only once in about 30 try's.
       The open DVD drive button works sometimes and not other times. I can't seem to figure out a pattern for when it will work.
       I don't know whether I might have accidentally moved the mouse or hit the keyboard during the first attempt. Can I  do something to the new hard drive to get it back to a state where it can start from the beginning again? Might it be a problem other than the old hard drive. Anyone have any suggestions?

    Satellite L505D-S5983
    Windows 7 Home Premium 32-bit
    Yes, of course! See the link to your model's spec above.
    My apologies. The previous link went to a spec for the Satellite A505-S6960 (which came with Windows Vista installed). I had too many spec pages open at the same time and got them mixed. 
    So, are you telling me that I won't get this one to work?(the BPKT)
    No. But you may face the problems that I outlined in this message.
    -Jerry

  • Problems with UD Connect to a MySQL database

    Hi SAP BI experts,
    I am trying to extract data from a table in a mysql Database to SAP BI 7 using UD Connect. I have followed the instructions at http://www.bi-expertonline.com/downloads/Schroeder0604.doc . However, I get an error as soon as I try to create a UD Connect Data Source to an InfoSource using "Create BW DataSource with UDConnect" from the Extras menu. I can set up the RFC destination as well as the UD connect source. Regarding the UD Connect source object I get an error message "RSSDK|100|Connection could not be established". I already checked if my settings in the connector container service of the Visual Administrator are correct. They are. I have tried to access the data using a simple java programme and it worked fine. My configuration properties are:
    DriverName       com.mysql.jdbc.driver
    Password         xxxxxxxxxx
    URL                 jdbc:mysql://brainsapgw:3306/bi_test
    UserName        sap
    Does anyone have some hints for me what could have gone wrong with it? As far as I can see, the properties should be fine as they work with a normal java programme.
    Thanks in advance
    Martin

    Hi SAP experts,
    it's now working. The problem was that I provided "com.mysql.jdbc.driver" as Driver Name instead of "com.mysql.jdbc.Driver".
    Cheers
    Martin

  • Problem with adding Sun JSF RI v1.2 as a new library in JDeveloper 10.1.3.1

    Hi,
    I have a problem with adding a latest JSF 1.2 RI from Sun (https://javaserverfaces.dev.java.net/files/documents/1866/44998/jsf-1_2_03.zip) to JDeveloper as a new library.
    I created a new User library and added into it jsf-impl.jar and jsf-api.jar from JSF 1.2 RI.
    Then I try to create two new JSP Tag libraries based from .tld files.
    When a .tld file is placed in "TLD File:" field there is no information below about Library Version and Required JSP Version. If I check "Execute Tags in JSP Visual Editor" and click "Customize" button - list of tags in "Customize Tag Library" window is empty.
    I have errors when I try to use JSF Tags from this new library in JSP page like :
    "Can't create tag instance: f:view (class: null). Make sure, that the tag class or a library contained this class is available in this application"
    (free translation to English)
    Is this possible to add JSF RI v1.2 as another library in Jdeveloper 10.1.3.1 ?
    thanks for help
    koli

    Hi,
    This solution is not exactly for Jdeveloper 10.1.3.x I think.
    - "Create a JSF system library." section, point 2. - there is not possible to add library in folder other than User I see, so I added it in User folder.
    - "Register the JSF JSP tag libraries." section, point 5. - in JD 10.1.3 there is no dialog box, I checked checkbox "Show Tag Library in Palette". A new library was added to User folder but there is no new libraries in component Palette.
    Even as I use "Edit tag libraries .." from Component Palette context menu and add manually new tag libraries to selected, there is no libraries in Component Palette after it.
    I feel so problem is with different .tld files format, not with adding libraries method.
    Sun RI tld file (from version 1.2_03) fragment:
    <taglib 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-jsptaglibrary_2_1.xsd"
    version="2.1">
    <!-- ========== Tag Library Description Elements ========================= -->
    <description>
    The core JavaServer Faces custom actions that are independent of
    any particular RenderKit.
    </description>
    <tlib-version>1.2</tlib-version>
    <short-name>f</short-name>
    <uri>http://java.sun.com/jsf/core</uri>
    tld included in JD:
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
    "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
    <!-- ========== Tag Library Description Elements ========================= -->
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>f</short-name>
    <uri>http://java.sun.com/jsf/core</uri>
    <description>
    The core JavaServer Faces custom actions that are independent of
    any particular RenderKit.
    </description>
    Did JDeveloper 10.1.3.x maintain with taglib version 1.2 ?
    Regards
    koli

  • Unable to create : com.mysql.jdbc.Driver error with JDeveloper 10.1.3

    Hi all,
    I got this error when I tried to execute a simple JSF app. I am using JDeveloper 10.1.3 release edition. Please advice
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config>
    C:\JDeveloper10g\jdk\bin\javaw.exe -ojvm -classpath C:\JDeveloper10g\j2ee\home\oc4j.jar;C:\JDeveloper10g\jdev\lib\jdev-oc4j-embedded.jar -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:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    2006-01-31 21:40:47.062 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war...
    2006-01-31 21:40:47.093 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms
    2006-01-31 21:40:47.093 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war
    2006-01-31 21:40:47.156 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar...
    2006-01-31 21:40:47.156 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources
    2006-01-31 21:40:47.171 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar
    2006-01-31 21:40:47.218 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear...
    2006-01-31 21:40:47.281 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j
    2006-01-31 21:40:47.359 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear
    2006-01-31 21:40:47.375 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war...
    2006-01-31 21:40:47.375 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp
    2006-01-31 21:40:59.296 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war
    2006-01-31 21:41:08.421 WARNING J2EE OJR0107 Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    06/01/31 21:41:08 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Jan 31, 2006 9:41:08 PM com.evermind.server.ApplicationStateRunning initConnector
    SEVERE: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    06/01/31 21:41:08 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1961)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
         at com.evermind.server.Application.setConfig(Application.java:391)
         at com.evermind.server.Application.setConfig(Application.java:309)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1532)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:939)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
         at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:322)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:1997)
         ... 11 more
    Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:247)
         at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:107)
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
         ... 13 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.mysql.jdbc.Driver
         Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
         Loader: oc4j:10.1.3
         Code-Source: /C:/JDeveloper10g/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDeveloper10g\j2ee\home\oc4j.jar
    This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2061)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1665)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:244)
         ... 15 more
    Jan 31, 2006 9:41:08 PM com.evermind.server.ApplicationStateRunning initConnector
    SEVERE: Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1961)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
         at com.evermind.server.Application.setConfig(Application.java:391)
         at com.evermind.server.Application.setConfig(Application.java:309)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1532)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:939)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
         at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:322)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:1997)
         ... 11 more
    Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:247)
         at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:107)
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
         ... 13 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.mysql.jdbc.Driver
         Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
         Loader: oc4j:10.1.3
         Code-Source: /C:/JDeveloper10g/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDeveloper10g\j2ee\home\oc4j.jar
    This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2061)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1665)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:244)
         ... 15 more
    06/01/31 21:41:08 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Jan 31, 2006 9:41:08 PM com.evermind.server.Application setConfig
    WARNING: Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    2006-01-31 21:41:08.531 WARNING J2EE 0JR0013 Exception initializing deployed application: current-workspace-app. Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 29125 ms.

    I did what Manu suggested with no success. Alternatively, I registered the driver jar with embedded OC4J preferences > global > libraries. Still does not work. Please, note, that when I run JUnit tests against my BC4J application modules with JDBC URL as connection type, everything works just fine. The problem comes while running the JSF application when the application module is using JDBC DataSource as connection type.

  • Problems with Sybase Database for Collection Manager in SCE2020

    We have problems with Sybase Database for Collection Manager in a SCE2020. The status is:
    [root@btl-sce-cm log]# ~scmscm/setup/alive.sh STATUS OK [root@btl-sce-cm monitor]# ./monitor.sh -a -d Test: 01db_up.sh. Status: FAIL. Message: DB is not running Test: 02cm_up.sh. Status: PASS. Message: CM is running Test: 03free_db.sh. Status: PASS. Message: 99% free space in data db Test: 04free_log.sh. Status: PASS. Message: 99% free space in log db Test: 05cm_persistent_buffers.sh. Status: FAIL. Message: The following directory/ies have more than 500 files in them - JDBCAdapter TAAdapter [root@btl-sce-cm monitor]# ~scmscm/scripts/dbtables.sh /home/scmscm/scripts/common.sh: line 43: /root/cm/bin/cm: is a directory Executing query ... /home/scmscm/scripts/dbtables.sh: line 83: /root/cm/bin/cm: is a directory [root@btl-sce-cm monitor]# df -k Filesystem           1K-blocks      Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00                      149559596 138280700   3681636  98% / /dev/sda1               101086     20685     75182  22% /boot none                   1036624         0   1036624   0% /dev/shm
    We restored the Sybase database, but we have problems to access the database from Collection Manager and we can't obtain reports from SCE 2020.
    Here is the info:
    Problem Details: The SCA Reporter cannot generate Reports, the CM diagnostics show the following:
    [root@btl-sce-cm ~]# ~scmscm/setup/alive.sh STATUS OK
    [root@btl-sce-cm ~]# ~scmscm/scripts/dbfree.sh
    Name                    % Data Free % Log Free
    Database                        55      99
    [root@btl-sce-cm ~]# ~scmscm/scripts/dbtables.sh
    /home/scmscm/scripts/common.sh: line 43: /root/cm/bin/cm: No such file or directory Executing query ...
    /home/scmscm/scripts/dbtables.sh: line 83: /root/cm/bin/cm: No such file or directory
    [root@btl-sce-cm ~]# ~scmscm/setup/monitor/monitor.sh -d -a
    Test: 01db_up.sh. Status: FAIL. Message: DB is not running
    Test: 02cm_up.sh. Status: PASS. Message: CM is running
    Test: 03free_db.sh. Status: PASS. Message: 55% free space in data db
    Test: 04free_log.sh. Status: PASS. Message: 99% free space in log db
    Test: 05cm_persistent_buffers.sh. Status: FAIL. Message: The following directory/ies have more than 500 files in them - JDBCAdapter
    Message was edited by: EMILIO MENCIA

    Tomo:
    we have problems with our reports in Collection Manager again. We reboot the CM, but the problems continue.
    This is the log of the CM. What can be the problem? Thanks tomo
    Nov  3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server  Maximum number of User Accounts during current sample period: 3.
    Nov  3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server  Maximum number of User Accounts since startup: 3.
    Nov  3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server  Maximum Configured Number of User Connections during current sample period: 200.
    Nov  3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server  Maximum Configured Number of User Connections since startup: 200.
    Nov  3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server  Maximum Number of User Connections during current sample period: 15.
    Nov  3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server  Maximum Number of User Connections since startup: 18.
    Nov  3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server  Maximum number of user seat licenses used during current sample period: 1.
    Nov  3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server  Maximum number of user seat licenses used since startup: 3.
    Nov  9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.78 kernel  Cannot send, host process disconnected: btllt0012  suid: 3
    Nov  9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.86 kernel  Cannot send, host process disconnected: btllt0012  suid: 3
    Nov  9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.92 server  Error: 1608, Severity: 18, State: 4
    Nov  9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.94 server  A client process exited abnormally, or a network error was encountered. Unless other errors occurred, continue processing normally.
    Nov  9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.94 kernel  extended error information: hostname: btllt0012 login: pqb_admin
    Nov  9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 kernel  Cannot send, host process disconnected: btllt0012  suid: 3
    Nov  9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 kernel  Cannot send, host process disconnected: btllt0012  suid: 3
    Nov  9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 server  Error: 1608, Severity: 18, State: 4
    Nov  9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 server  A client process exited abnormally, or a network error was encountered. Unless other errors occurred, continue processing normally.
    Nov  9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 kernel  extended error information: hostname: btllt0012 login: pqb_admin
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 server  Error: 632, Severity: 20, State: 2
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 server  Attempt to move memory with an incorrect length
    of -794444483. Maximum allowed length is 16384.
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel  ************************************
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel  SQL causing error : =
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel  ************************************
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel  curdb = 4 tempdb = 2 pstat = 0x10000
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel  lasterror = 632 preverror = 0 transtate = 3
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel  curcmd = 0 program =                          
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel  extended error information: hostname: btl-sce-cm login: pqb_admin
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  pc: 0x08d40ca3 pcstkwalk+0x31b(0x9a78fdbc, 0x9a78fb6c, 0x0000270f, 0x00000002, 0x9a78fb6c)
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  pc: 0x08d40832 ucstkgentrace+0x13a(0x68a4006f, 0x00000002, 0x0000270f, (nil), (nil))
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  pc: 0x08ce346d ucbacktrace+0x5d((nil), 0x00000001, (nil), 0x00000003, 0x20202020)
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  pc: 0x082f19b8 terminate_process+0xa5c((nil), 0xffffffff, 0x9a7904c4, 0x08349a96, 0x00000278)
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  pc: 0x08349acb close_network+0xf(0x00000002, 0x9ced1ea0, 0x9a790544, 0x0834902e, 0x00000006)
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  pc: 0x08349aad hdl_default+0x45(0x00000006, 0x00000020, 0x00000014, 0x00000002, 0x9a7904fc)
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  pc: 0x0834902e ex_raise+0x18a(0x00000006, 0x00000020, 0x00000014, 0x00000002, 0xd0a5bd3d)
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  pc: 0x08357c9b memmove_error+0x27(0xd0a5bd3d, 0x00004000, 0xffffffff, 0x0896b8a4, 0x9e3d7cfc)
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  pc: 0x0833e54e recvhost+0xbe(0x9a7909ec, 0xd0a5bd3d, 0x00000018, 0x9e44d5d8, 0x9e44d52c)
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  pc: 0x08339160 recvchars+0x74(0x9ced2a1c, 0xd0a5bd3d, 0x9a7909ec, 0x000000ff, (nil))
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  pc: 0x0831e237 tdsrecv_declare+0x207(0x00000010, 0x9cecb914, 0x9a7911b4, 0x0832dd5f, (nil))
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  [Handler pc: 0x0x0863eca4 ut_handle installed by the following function:-]
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  pc: 0x0832e3a9 conn_hdlr+0xe49(0x00000030, 0x9a7911c8, 0x895eed31, (nil), (nil))
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  pc: 0x08d33984 kpexit((nil), (nil), (nil), 0x9a020900, 0x00000070)
    Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel  end of stack trace, spid 11, kpid 1755578479, suid 3
    AFTER RESTART
    ov 28 09:19:06 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:06.50 kernel  SySAM: Checked out license for 1 ASE_CORE (2010.04040/permanent/148F 853E 92A9 E302).
    Nov 28 09:19:06 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:06.50 kernel  This product is licensed to: CISCO SYSTEMS, and OEM license from Sybase, Inc.
    Nov 28 09:19:06 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:06.50 kernel  Checked out license ASE_CORENov 28 09:19:06 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:06.50 kernel  Adaptive Server Enterprise (Small Business Edition)
    Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.02 kernel  Using config area from primary master device.
    Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.17 kernel  Locking shared memory into physical memory.
    Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.22 kernel  Internal run-time model set for Linux  - Native
    Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  Using 1024 file descriptors.
    Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  Adaptive Server Enterprise/15.0.2/EBF 14331/P/Linux Intel/Linux 2.4.21-47.ELsmp i686/ase1502/2486/32-bit/FBO/Thu May 24 08:15:50 2007
    Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  Confidential property of Sybase, Inc.Nov 28 09:19:07 localhost messagebus: messagebus startup succeeded
    Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  Copyright 1987, 2007
    Nov 28 09:19:08 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  Sybase, Inc.  All rights reserved.
    Nov 28 09:19:08 localhost rhnsd: Red Hat Network Services Daemon running with check_in interval set to 240 minutes.
    Nov 28 09:19:08 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  Unpublished rights reserved under U.S. copyright laws.
    Nov 28 09:19:08 localhost rhnsd: Red Hat Network Services Daemon running with check_in interval set to 240 minutes.
    Nov 28 09:19:08 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel 
    Nov 28 09:19:08 localhost rhnsd[27742]: Red Hat Network Services Daemon starting up.
    Nov 28 09:19:08 localhost rhnsd: rhnsd startup succeeded
    Nov 28 09:19:08 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  This software contains confidential and trade secret information of Sybase,
    Nov 28 09:19:09 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  Inc.   Use,  duplication or disclosure of the software and documentation by
    Nov 28 09:19:09 localhost cups-config-daemon: cups-config-daemon startup succeeded
    Nov 28 09:19:09 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  the  U.S.  Government  is  subject  to  restrictions set forth in a license
    Nov 28 09:19:09 localhost haldaemon: haldaemon startup succeeded
    Nov 28 09:19:09 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  agreement  between  the  Government  and  Sybase,  Inc.  or  other  written
    Nov 28 09:19:09 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  agreement  specifying  the  Government's rights to use the software and any
    Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  applicable FAR provisions, for example, FAR 52.227-19.
    Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
    Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  Using /opt/sybase as the 'SYBASE' environment variable, found during startup.
    Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel  Using OCS-15_0 as the 'SYBASE_OCS' environment variable, found during startup.
    Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.29 kernel  ASE booted on Linux release 2.6.9-78.0.13.ELsmp version #1 SMP Wed Jan 7 17:52:47 EST 2009.
    Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.29 kernel  Using '/opt/sybase/ASE-15_0/pqbsyb1.cfg' for configuration information.
    Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.29 kernel  Logging ASE messages in file '/opt/sybase/ASE-15_0/install/pqbsyb1.log'.
    Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.29 kernel  Platform TCP network is forced to IPv4-only.
    Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.32 kernel  ASE booted with TCP_NODELAY enabled.
    Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.35 kernel  SSL Plus v5.0.4 security modules loaded successfully.
    Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.35 kernel  Network and device connection limit is 1009.
    Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.65 server  Number of blocks left for proc headers: 12760.
    Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.65 server  Proc header memory allocated 2552 pages for each per engine cache
    Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 server  Size of the 16K memory pool: 307200 Kb
    Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 server  Memory allocated for the default data cache cachelet 1: 307200 Kb
    Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 kernel  Enabling Linux Native Kernel asynchronous disk I/O strategy.
    Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 kernel  Initializing virtual device 0, '/opt/sybase/data/master.dat' with dsync 'on'.
    Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 kernel  Virtual device 0 started using asynchronous i/o.
    Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.17 server  Loaded default Unilib conversion handle.
    Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.56 kernel  Worker Thread Manager is not enabled for use in ASE.
    Nov 28 09:19:12 localhost fstab-sync[28568]: removed all generated mount points
    Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.58 kernel  Either the config parameter 'use security services' is set to 0, or ASE does not support use of external security mechanisms on this platform. The Security Control Layer will not be initialized. No external security mechanisms will be supported.
    Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.58 kernel  Unix interval timer enabled for sysclk interrupts.
    Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.85 kernel  Begin processing to generate RSA keypair.
    Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.94 kernel  Completed processing to generate RSA keypair.
    Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.94 kernel  Encryption provider initialization succeeded on engine 0.
    Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.94 kernel  engine 0, os pid 27618  online
    Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.94 server  No active traceflags
    Nov 28 09:19:13 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.08 kernel  libomni1 - Component Integration Services: usin
    g 'Sybase Client-Library/15.0/P-EBF14165 ESD #7/DRV.15.0.3/Linux Intel/Linux 2.4.21-47.0.1.ELsmp i686/BUILD1500-093/OPT/Wed Dec 13 21:46:44 2006'
    Nov 28 09:19:13 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.10 server  Opening Master Database ...
    Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.66 server  Loading ASE's default sort order and character set
    Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.83 server  Recovering database 'master'.
    Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.92 server  Started estimating recovery log boundaries for database 'master'.
    Nov 28 09:19:14 localhost kernel: mtrr: type mismatch for d8000000,2000000 old: uncachable new: write-combining
    Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server  Database 'master', checkpoint=(1831, 20), first=(1831, 20), last=(1831, 32).
    Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server  Completed estimating recovery log boundaries for database 'master'.
    Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server  Started ANALYSIS pass for database 'master'.
    Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server  Completed ANALYSIS pass for database 'master'.
    Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server  Log contains all committed transactions until 2011/11/27 13:28:54.20 for database master.
    Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server  Started REDO pass for database 'master'. The total number of log records to process is 13.
    Nov 28 09:19:14 localhost fstab-sync[28716]: added mount point /media/cdrecorder for /dev/scd0
    Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.12 server  Redo pass of recovery has processed 4 committed and 0 aborted transactions.
    Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.12 server  Completed REDO pass for database 'master'.
    Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.12 server  Recovery of database 'master' will undo incomplete nested top actions.
    Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.12 server  Started recovery checkpoint for database 'master'.
    Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.38 server  Completed recovery checkpoint for database 'master'.
    Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.56 server  Started filling free space info for database 'master'.
    Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:11.24 server  Completed filling free space info for database 'master'.
    Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:11.26 server  Started cleaning up the default data cache for database 'master'.
    Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:11.26 server  Completed cleaning up the default data cache for database 'master'.
    Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:11.42 server  Checking external objects.
    Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.40 server  Database 'master' is now online.
    Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.40 server  The transaction log in the database 'master' will use I/O size of 16 Kb.
    Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.67 server  Warning: ASE_HA has no valid license and therefore is not initialized.
    Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.73 server  server name is 'pqbsyb1'
    Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.90 server  Activating disk 'sysprocsdev' of size 126976 KB.
    Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.95 kernel  Initializing virtual device 1, '/opt/sybase/data/sysprocs.dat' with dsync 'on'.
    Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.95 kernel  Virtual device 1 started using asynchronous i/o.
    Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.95 server  Activating disk 'systemdbdev' of size 49152 KB.
    Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.99 kernel  Initializing virtual device 2, '/opt/sybase/data/sybsysdb.dat' with dsync 'on'.
    Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.99 kernel  Virtual device 2 started using asynchronous i/o.
    Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.99 server  Activating disk 'apricot_data1' of size 35082660 KB.
    Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.02 kernel  Initializing virtual device 3, '/opt/sybase_data/apticotdata.dat' with dsync 'off'.
    Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.02 kernel  Virtual device 3 started using asynchronous (with DIRECTIO) i/o.
    Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.02 server  Activating disk 'apricot_log1' of size 2980002 KB.
    Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.04 kernel  Initializing virtual device 4, '/opt/sybase_data/apricotlog.dat' with dsync 'off'.
    Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.04 kernel  Virtual device 4 started using asynchronous (with DIRECTIO) i/o.
    Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.04 server  Activating disk 'tempdb_dev' of size 1048576 KB.
    Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.09 kernel  Initializing virtual device 5, '/opt/sybase_data/tempdb.dat' with dsync 'off'.
    Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.09 kernel  Virtual device 5 started using asynchronous i/o.
    Nov 28 09:19:18 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.30 server  Recovering database 'sybsystemdb'.
    Nov 28 09:19:18 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.32 server  Started estimating recovery log boundaries for database 'sybsystemdb'.
    Nov 28 09:19:18 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server  Database 'sybsystemdb', checkpoint=(843, 106), first=(843, 106), last=(843, 106).
    Nov 28 09:19:18 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server  Completed estimating recovery log boundaries for database 'sybsystemdb'.
    Nov 28 09:19:19 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server  Started ANALYSIS pass for database 'sybsystemdb'.
    Nov 28 09:19:19 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server  Completed ANALYSIS pass for database 'sybsystemdb'.
    Nov 28 09:19:19 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server  Log contains all committed transactions until 2011/10/25 09:55:36.72 for database sybsystemdb.
    Nov 28 09:19:20 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server  Started REDO pass for database 'sybsystemdb'. The total number of log records to process is 1.
    Nov 28 09:19:20 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.41 server  Completed REDO pass for database 'sybsystemdb'.
    Nov 28 09:19:20 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.41 server  Recovery of database 'sybsystemdb' will undo incomplete nested top actions.
    Nov 28 09:19:20 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.41 server  Started recovery checkpoint for database 'sybsystemdb'.
    Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.46 server  Completed recovery checkpoint for database 'sybsystemdb'.
    Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.58 server  Started filling free space info for database 'sybsystemdb'.
    Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.69 server  Completed filling free space info for database 'sybsystemdb'.
    Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.70 server  Started cleaning up the default data cache for database 'sybsystemdb'.
    Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.70 server  Completed cleaning up the default data cache for database 'sybsystemdb'.
    Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.70 server  Boot Count: 13
    Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.81 server  Checking external objects.
    Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:14.18 server  The transaction log in the database 'sybsystemdb' will use I/O size of 16 Kb.
    Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.59 server  Completed recovery checkpoint for database 'model'.
    Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.70 server  Started filling free space info for database 'model'.
    Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.72 server  Completed filling free space info for database 'model'.
    Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.74 server  Started cleaning up the default data cache for database 'model'.
    Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.74 server  Completed cleaning up the default data cache for database 'model'.
    Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.77 server  Checking external objects.
    Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.07 server  The transaction log in the database 'model' will use I/O size of 16 Kb.
    Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.08 server  Database 'model' is now online.
    Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.08 server  The logical pagesize of the server is 16 Kb.
    Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.08 server  0 dump conditions detected at boot time
    Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.08 server  Clearing temp db
    Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:18.37 server  Processed 27 allocation unit(s) out of 262 units (allocation page 6656). 10% completed.
    Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:19.51 server  Processed 53 allocation unit(s) out of 262 units (allocation page 13312). 20% completed.
    Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:20.81 server  Processed 79 allocation unit(s) out of 262 units (allocation page 19968). 30% completed.
    Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:22.19 server  Processed 105 allocation unit(s) out of 262 units (allocation page 26624). 40% completed.
    Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:23.52 server  Processed 131 allocation unit(s) out of 262 units (allocation page 33280). 50% completed.
    Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:24.96 server  Processed 158 allocation unit(s) out of 262 units (allocation page 40192). 60% completed.
    Nov 28 09:19:27 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:27.08 server  Processed 184 allocation unit(s) out of 262 units (allocation page 46848). 70% completed.
    Nov 28 09:19:29 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:29.94 server  Processed 210 allocation unit(s) out of 262 units (allocation page 53504). 80% completed.
    Nov 28 09:19:32 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:32.01 server  Processed 236 allocation unit(s) out of 262 units (allocation page 60160). 90% completed.
    Nov 28 09:19:32 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:32.57 server  Processed 262 allocation unit(s) out of 262 units (allocation page 66816). 100% completed.
    Nov 28 09:19:32 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:32.84 server  The transaction log in the database 'tempdb' will use I/O size of 16 Kb.
    Nov 28 09:19:32 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:32.86 server  Database 'tempdb' is now online.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.06 server  Recovering database 'sybsystemprocs'.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.08 server  Started estimating recovery log boundaries for database 'sybsystemprocs'.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server  Database 'sybsystemprocs', checkpoint=(6333, 93), first=(6333, 93), last=(6333, 93).
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server  Completed estimating recovery log boundaries for database 'sybsystemprocs'.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server  Started ANALYSIS pass for database 'sybsystemprocs'.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server  Completed ANALYSIS pass for database 'sybsystemprocs'.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server  Log contains all committed transactions until 2011/10/25 09:55:36.72 for database sybsystemprocs.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server  Started REDO pass for database 'sybsystemprocs'. The total number of log records to process is 1.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server  Completed REDO pass for database 'sybsystemprocs'.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server  Recovery of database 'sybsystemprocs' will undo incomplete nested top actions.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server  Started recovery checkpoint for database 'sybsystemprocs'.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.18 server  Completed recovery checkpoint for database 'sybsystemprocs'.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.20 server  Started filling free space info for database 'sybsystemprocs'.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.39 server  Completed filling free space info for database 'sybsystemprocs'.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.40 server  Started cleaning up the default data cache for database 'sybsystemprocs'.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.40 server  Completed cleaning up the default data cache for database 'sybsystemprocs'.
    Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.41 server  Checking external objects.
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.04 server  The transaction log in the database 'sybsystemprocs' will use I/O size of 16 Kb.
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.09 server  Database 'sybsystemprocs' is now online.
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00008:2011/11/28 09:19:34.23 kernel  network name localhost.localdomain, interface IPv4, address 10.1.1.33, type tcp, port 4100, filter NONE
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00008:2011/11/28 09:19:34.23 kernel  network name localhost.localdomain, interface IPv4, address 127.0.0.1, type tcp, port 4100, filter NONE
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server  Recovery has tuned the size of '128K' pool in 'default data cache' to benefit recovery performance. The original configuration will be restored at the end of recovery.
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server  Recovery has tuned the size of '16K' pool in 'default data cache' to benefit recovery performance. The original configuration will be restored at the end of recovery.
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server  Recovery has tuned the '128K' pool in 'default data cache' by changing its 'local async prefetch limit' from 10 to 80. The original configuration will be restored at the end of recovery.
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server  Recovery has tuned the '16K' pool in 'default data cache' by changing its 'local async prefetch limit' from 10 to 80. The original configuration will be restored at the end of recovery.
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server  The server will recover databases serially.
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.81 server  Recovering database 'apricot'.
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.82 server  Started estimating recovery log boundaries for database 'apricot'.
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server  Database 'apricot', checkpoint=(2358271, 12), first=(2358271, 11), last=(2358275, 172).
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server  Completed estimating recovery log boundaries for database 'apricot'.
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server  Started ANALYSIS pass for database 'apricot'.
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server  Completed ANALYSIS pass for database 'apricot'.
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server  Log contains all committed transactions until 2011/11/28 09:16:20.68 for database apricot.
    Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server  Started REDO pass for database 'apricot'. The total number of log records to process is 846.
    Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.10 server  Redo pass of recovery has processed 2 committed and 138 aborted transactions.
    Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.10 server  Completed REDO pass for database 'apricot'.
    Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.11 server  Recovery of database 'apricot' will undo incomplete nested top actions.
    Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.11 server  Started recovery checkpoint for database 'apricot'.
    Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.29 server  Completed recovery checkpoint for database 'apricot'.
    Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.35 server  Started filling free space info for database 'apricot'.
    Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.47 server  Completed filling free space info for database 'apricot'.
    Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.51 server  Started cleaning up the default data cache for database 'apricot'.
    Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.51 server  Completed cleaning up the default data cache for database 'apricot'.
    Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.55 server  Checking external objects.
    Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.30 server  The transaction log in the database 'apricot' will use I/O size of 16 Kb.
    Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.31 server  Database 'apricot' is now online.
    Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.34 server  Recovery has restored the value of 'local async prefetch limit' for '128K' pool in 'default data cache' from '80' to 'DEFAULT'.
    Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.34 server  Recovery has restored the value of 'local async prefetch limit' for '16K' pool in 'default data cache' from '80' to 'DEFAULT'.
    Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.40 server  Recovery has restored the original size for '128K' pool and '16K' pool in 'default data cache'.
    Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.44 server  Recovery complete.
    Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server  ASE's default unicode sort order is 'binary'.
    Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server  ASE's default sort order is:
    Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server     'bin_iso_1' (ID = 50)
    Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server  on top of default character set:
    Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server     'iso_1' (ID = 1).
    Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server  Master device size: 240 megabytes, or 122880 virtual pages. (A virtual page is 2048 bytes.)
    Nov 28 09:34:40 localhost sybase_init: 00:00000:00109:2011/11/28 09:34:40.95 kernel  Cannot send, host process disconnected: btl-sce-cm  suid: 3
    Nov 28 09:34:40 localhost sybase_init: 00:00000:00109:2011/11/28 09:34:40.95 server  Error: 1608, Severity: 18, State: 3
    Nov 28 09:34:40 localhost sybase_init: 00:00000:00109:2011/11/28 09:34:40.95 server  A client process exited abnormally, or a network error was encountered. Unless other errors occurred, continue processing normally.
    Nov 28 09:34:40 localhost sybase_init: 00:00000:00109:2011/11/28 09:34:40.95 kernel  extended error information: hostname: btl-sce-cm login: pqb_admin
    Nov 28 09:38:27 localhost sshd(pam_unix)[29201]: session opened for user root by (uid=0)

  • No suitable driver with com.mysql.jdbc.Driver

    Ok. here's the issue. I have a windows box. (first problem) but let's pretend that it's ok. :) I installed Tomcat 4.1 installed J2SDK1.4.0
    start serving pages GREAT!. I have Mysql working perfectly with PHP on this system. I JUST want to connect with JDBC :)
    I've downloaded the MySQL Jdbc Connector/J 3.08 stable installed the .jar file in the $JAVA_HOME/jre/lib/ext as per the README
    Now granted I am a little new to JSP. but I have checked over this again and again. used different code. connected as many ways as I can think of and I still get the same result.
    Database Error :
    No suitable driver
    Please Try Some Other Time
    So I figure it's a MYSQL issue. no I also went thru and did the Microsot connection to MS SQL 2000 with the same result.
    Here's where the drivers are (tried using the other method for installing the MySQL connector as well, and my class path
    Y:\j2sdk1.4.0\com\mysql\jdbc\Driver.class
    com.mysql.jdbc.Driver.class
    Y:\j2sdk1.4.0\org\gjt\mm\mysql\Driver.class
    org.gjt.mm.mysql.Driver.class
    My classpath is:
    .;F:\j2sdk1.4.0\;F:\j2sdk1.4.0\bin\;F:\j2sdk1.4.0\lib\;F:\j2sdk1.4.0\lib\classes\
    [ Here's The Enviorment]
    Windows 2000 5.00.2195 SP3
    MS SQL 2K SP3
    Apache Tomcat/4.1.27
    j2sdk1.4.0
    MySql 3.23.57-nt
    mysql Jdbc Connector/J 3.08 stable
    <!-- mysql.jsp BEGIN-->
    <%@ page import="java.sql.*" %>
    <%
    Connection conn;
    ResultSet results;
    try      {
         String jdbc_driver = "com.mysql.jdbc.Driver";
         System.out.println("jdbc_driver = " + jdbc_driver);
         Class.forName(jdbc_driver).newInstance();
         catch (ClassNotFoundException cnfe)
         System.out.println(cnfe.getMessage());
    try      {
         String url = "jdbc:mysql://localhost:3306/javatest?username=root,password=****"; // pass hidden
         conn = DriverManager.getConnection(url);
         System.out.println("connected to mySql DataBase");
         Statement stmt = conn.createStatement();
         Statement smt=conn.createStatement();
         results=smt.executeQuery("select * from testdata");
              while(results.next())
                   %>
                   <%= results.getString("foo")%>
                   <%= results.getString("bar")%>
                   <%= results.getString("id")%>
                   <%
              results.close();
              conn.close();
         catch(Exception exp)
         %>
              <H3>Database Error : </H3><B><%= exp.getMessage() %></B><H3>Please Try Some Other Time</H3>
         <%
    %>
    <!-- mysql.jsp end -->
    BTW i aslo tried connecting to MicrosoftSQL 2K
    <!-- microsoft.jsp Begin -->
    <%@ page import="java.sql.*" %>
    <%
    Connection conn;
    ResultSet results;
    try      {
         String jdbc_driver = "sun.jdbc.odbc.JdbcObdcDriver";
         System.out.println("jdbc_driver = " + jdbc_driver);
         Class.forName(jdbc_driver).newInstance();
         catch (ClassNotFoundException cnfe)
         System.out.println(cnfe.getMessage());
    try      {
         String url = "jdbc:odbc:contacts";
         String username = "javauser";
         String pw = "javauser";
         conn = DriverManager.getConnection(url, username, pw);
         System.out.println("connected to Msoft DataBase");
         Statement stmt = conn.createStatement();
         Statement smt=conn.createStatement();
         results=smt.executeQuery("select * from contacts");
              while(results.next())
                   %>
                   <%= results.getString("name")%><br>
                   <%
              results.close();
              conn.close();
         catch(Exception exp)
         %>
              <H3>Database Error : </H3><B><%= exp.getMessage() %></B><H3>Please Try Some Other Time</H3>
         <%
    %>
    <!-- microsoft.jsp end -->
    got the exact same results.
    Just to show you mysql is Good. with localhost.
    mysql -u root -h localhost -p
    mysql> use javatest
    Database changed
    mysql> select * from testdata;
    | id | foo | bar |
    | 1 | hello | 12345 |
    1 row in set (0.00 sec)
    mysql>

    Nope, it's not a MySQL issue.
    I'd recommend NOT putting the JDBC JAR file (or any others, except Sun-sanctioned extensions) in JAVA_HOME/jre/lib/ext.
    JDBC JARs belong in TOMCAT_HOME/common/lib or in the WEB-INF/lib directory for your particular app. If you put them in the former, all apps running under Tomcat can have access to them. If you put them in the latter, only your app can see them.
    After you've done that, do some reading about JNDI data sources under Tomcat:
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
    That way you can get that connection code out of your JSPs and into the web.xml and <Context>, where it belongs. You'll be able to change data sources without rewriting your pages.
    Good luck - MOD

  • Problem with a j2se program and mysql driver

    Hi,
    We are developing an application which needs accessing to a mysql database. I have packed the application in a .jar. and inside the jar I have created a folder lib. And inside that folder I have put mysql driver.
    As the same way, I have been reading in SDN forum, I have edited manifiest file and I have writen this:
    Manifest-Version: 1.0
    Sealed: true
    Class-Path: lib/mysql-connector-java-5.0.4-bin.jar
    Main-Class: package1.Main
    When I introduce this command java -jar program1.jar, the jvm says this:
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    I know when I use java -jar, classpath system variable doesn't mind. But even this variable is set up properly. If you could help me it would be great. I'm getting stuck with this.
    Thanks in advance.

    @CiMaBuE wrote:
    Hi,
    We are developing an application which needs accessing to a mysql database. I have packed the application in a .jar. and inside the jar I have created a folder lib. And inside that folder I have put mysql driver.That's the problem. JARs don't look inside themselves for 3rd party JARs. That /lib directory needs to be relative to the program1.jar that you created.
    I believe modules or OSGi are supposed to address this, but executable JARs do not today.
    %

  • [SOLVED] Problem with adding a SSH connection to startup

    Hi guys. I have a problem with adding ssh connection to startup. i want this command to run before kde login screen  and keep running all time.
    ssh -D 9292 remoteuser@remotehost
    but it doesnt connect. Thanks for help!
    Last edited by alperenel (2011-03-11 00:10:27)

    cactus wrote:
    ssh -fN -D 9292 remoteuser@remotehost
    you need -f, which sends ssh to the background, and -N which does not execute a remote command.
    If you need it to run as a user other than root, then you probably need to utilize su as well.
    it didnt work either. i am putting it in rc.local but doesnt work.

  • Having problem with extra DDR2 for P45 Neo2

    Having problem with adding more DDR2 to my P45 Neo2. I currently have 2x hyperx 2gb ram installed, but I would like to take it up to 8gb. I had purchased another set, installed and pc wouldn't load. I installed these into another pc and they worked fine. What am I missing? I have tried googling but cannot find the solution to my question.According to MSI it will take DDR2 800/1066/1200. It does not mention what module name it takes eg pc 5300, which I'm quite sure are the ones installed. I have just updated the bios to the most recent should this help?

    Guessing you have all RAM related settings as "auto"?
    Does the PC work with your new set only?
    You may need to set the RAM timings&voltage manually in BIOS to common factors
    that are valid for both your new and old RAM kits.
    These settings you will do with your old kit in place, save in BIOS, exit and power down.
    Insert the new kit in addition, see if it POSTS. May take a few tests to succeed.
    CPU-Z program can help to figure some of the parameters.

  • Help with com.mysql.jdbc.Driver

    Hi all
    I am new to working with java. I am working off of my laptop (pc -vista) and
    am trying to connect to a database on a server I have, mac osx 10.x.
    First question: I would install com.mysql.jdbc.Driver on the same server as
    the MySql server correct?
    Second and more important question: I have multiple pages
    printed out on installing this driver but I just cannot follow it. I am not
    very good in terminal(mac) and the install seems terminal based.
    Can someone please try to explain to me in laymen terms what needs to
    be done?
    thanks alot
    Marcus

    marcusam wrote:
    sorry for my lack of knowledge
    client code = all on one machine?No, client code = the code you use to access your DB server.
    >
    I wanted to access a database that was on a totally different machine, with a java application.
    is this not very doable - or realistic?
    It's completely doable.
    i found enviroment variables for CLASSPATH that are pointing inside 'jre1.6.0_07'
    but i also have 'jdk1.6.0_07' - should the development kit be the one i use? - sorry
    back to original question - so would i just move the .jar file into
    \jre1.6.0_02\lib\ext\ or something of that sort
    thanks alot
    MarcusYes, you can move the jar into the ext directory if you wish. How are you running your java application? What are you typing/clicking on?

  • Problems with Aperture Library

    My iMac crashed as I was importing some pictures. When I restarted it said there was a problem with the library and it needed to be repaired. After the repair I find that when I open Aperture I get an error message:There was an error opening the database for the library “/Users/samswallow/Pictures/Aperture Library.aplibrary”. I quit that and Aperture closes.  I have reinstalled Aperture and it makes no difference. All my photos are still there in Aperture Library Masters and can be seen in Preview. I would value any help on this.

    Did you do a repair or a rebuild?  And did the action complete normally?
    I would do the permissions repair then the library repair again and if you still get the errors do the rebuild. Note before doing the rebuild you should have a backup of your library. While it rarely happens rebuilds can make things worst.

  • Problems with itunes library and order of tracks

    Hello,
    I downloaded the new update, and I'm having a problem with my library when accessed from the browser. Before itunes 7, my tracks were in order that they appeared on the album, now they are in alphabetical order. Is there a way to make it go back the way it was before the update--in order by track number?
    thanks.
    chris

    I was having the same problem and I knew there had to be an easy answer. I knew it for sure when I saw your topic unanswered. Just right click, or control click on the bar where it says name, album, genre, etc. and select "track number," this will give you the option to put them in their original order.
    You can also access this under "view options" in the view pull down menu.
    emac, mini, QS G4, ibook, etc.   Mac OS X (10.4.7)  

  • Problems with adding funds

    Hey guys , I have a problem with adding funds in my PSN account with my debit card . I have used the same card in the past with no problems at all but now for some reason it keeps on saying that the card number is invalid every single time ! Please help me , is there any solution ? Does it maybe has to do with Capital Control ( I live in Greece ) 

    Thanks I use this
    2.) You can make one of your buttons the default
    button of the frame:
    this.getRootPane().setDefaultButton(confirm);
    well, did you implement the first suggestion of quitte?
    here is an idea that might work!
    JTextField username;
    JPasswordField password;
    JButton confirmButton;
       username.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent ae){
             password.requestFocus();                    
       ActionListener l = new ActionListener(){
          public void actionPerformed(ActionEvent ae){
             //optional check for username and password length>0
            //process logon.
       password.addActionListener(l);
       confirmButton.addActionListener(l);

Maybe you are looking for

  • Quick Look UI Helper

    I am trying to edit a PDF document using Preview. I can work on it fine except that every couple of seconds these errors pop up on my screen: Quick Look UI Helper quit unexpectedly: Process:         QuickLookUIHelper [96450] Path:            /System/

  • No TOC links in PDF

    I'm not sure where to post this, so here is as good as any when you're indecisive I hope ;) The problem I'm having is that I don't have TOC links in the PDF when outputting from Word using 1-Step RoboPDF (Save as PDF) or printing to Adobe PDF. I'm su

  • Query to get the User who updated BP Catalog No. for an Item.

    Hi experts, I am trying to get the user id who updated BP Catalog No. for an Item. BPCatalog Number details are available in OSCN table. There is no BPCatalog No. field available in ItemMaster OITM, or in ItemHistory AITM. Also, I searched for histor

  • Create column from exsisting

    Hi Gurus, how to create column from exsisting column i.e table1-col1 and col2 wants to create from col1(copy thanks

  • Add "Sent via" Line To Outgoing E-Mail From TREO 700wx

    I have a couple of users who would like to have the "Sent via" line added to e-mail that they send from their TREOs.  This is similar to the line added to an outgoing e-mail message when being sent from a BlackBerry device.  Is this possible?  I've l