Anyone able to help me out with this?

Been working on setting up a development environment at home similar to what I have at work. I have Tomcat 5.028, MySQL (latest standard version), and XSQL from the latest XDK. Mainly trying to set all this up so I can generate XSQL and do some XSLT / XSL:FO renderings, since that is what I am doing at work. My Java is a bit rusty (havent used it in awhile) so if anyone could shed some light on what I am doing wrong please let me know.
I copied the XSQL Java files (xsu12.jar, xmlparserv2.jar, oraclexsql.jar, xsqlserializers.jar) to \tomcat\common\lib. I copied the MySQL JDBC file there also.
Any help will be greatly appreciated.
This is the error I am getting when I try to run anything:
XML-25017: Unexpected Error Occurred
java.lang.NoClassDefFoundError: oracle/jdbc/OracleConnection
at oracle.xml.xsql.XSQLConnection.<init>(XSQLConnection.java:39)
at oracle.xml.xsql.XSQLConnectionPool.newConnection(XSQLConnectionPool.java:323)
at oracle.xml.xsql.XSQLConnectionPool.<init>(XSQLConnectionPool.java:79)
at oracle.xml.xsql.XSQLConnectionManagerImpl.getPool(XSQLConnectionManagerImpl.java:162)
at oracle.xml.xsql.XSQLConnectionManagerImpl.getPool(XSQLConnectionManagerImpl.java:140)
at oracle.xml.xsql.XSQLConnectionManagerImpl.getConnection(XSQLConnectionManagerImpl.java:50)
at oracle.xml.xsql.XSQLPageRequestImpl.setConnectionName(XSQLPageRequestImpl.java:296)
at oracle.xml.xsql.XSQLPageProcessor.process(XSQLPageProcessor.java:170)
at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)

Although I haven't used XSQL specifically with MySQL database, your issue is clearly related to some dependence on Oracle JDBC drivers. The first place to look - did you change the <connectiondefs> section of the XSQLConfig.xml file to include appropriate connection parameters for your database, including a class name of the MySQL JDBC driver? Another thing to try - switch to Tomcat's DataSource implementation - for instructions see comments in XSQLConfig.xml file. You'll need to use oracle.xml.xsql.XSQLDatasourceConnectionManager factory instead of the default one. Note that some advanced features may not be supported with DataSource-based DB connections, but those seem to be fairly obscure.
Hope this helps,
-M-

Similar Messages

  • My iPhone 6 ear speaker is not working properly I couldn't able to hear any thing from ear speaker to lissen I had to put on loud speaker or to use handsfree please help me out with this problem if some body have answer?

    My iPhone 6 ear speaker is not working properly I couldn't able to hear any thing from ear speaker to listen I had to put on loud speaker or to use hands free please help me out with this problem if some body have answer?

    Hi Venkata from NZ,
    If you are having an issue with the speaker on your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    If you hear no sound or distorted sound from your iPhone, iPad, or iPod touch speaker - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • I just got the iPhone 5.  It's completely synced and working.  All my contacts are loaded.  However, caller ID is not working when I receive a call or a text.  Can anyone help me out with this?

    I just got the iPhone 5. It's completely synced and working.  All my contacts are loaded.  However, caller ID is not working when I receive a call or a text.  Can anyone help me out with this?

    Well, assuming all of the above, Notifications, etc., it just might be time for a visit to the Apple tore genius center for a session with the techs.  See if it is a fault in the hardware or just an iOS reinstall is the answer.
    One more thing you could try, backup so you have a record of content, then restore to factory conditions be an Erase All Contents and Settings.  Then restore from the backup you just made.  That has helped some with WiFi problems, may be it would work with your problems.
    But with that behavior of another app with problems, the geniuses looks like a less stressful thing to do.

  • HT1338 I have a macbook Pro i7 mid november 2010. I am wondering if i can exchange my notebook with the latest one. Can anyone help me out with this query please.

    I have a macbook Pro i7 mid november 2010. I am wondering if i can exchange my notebook with the latest one. Can anyone help me out with this query please.

    You can sell your existing computer using eBay, Craigslist or the venue of your choice. You could then use the proceeds to purchase a new computer.

  • Hello to everyone : I have a problem every time I try to open iTunes for windows 8 64bit... Program stops to work every time trying to access to the store... Is anyone able to help me to solve this issue? Thank you so much...

    Hello to everyone : I have a problem every time I try to open iTunes for windows 8 64bit... Program stops to work every time trying to access to the store... Is anyone able to help me to solve this issue? Thank you so much...
    N.B. iTunes version is the last one available from https://apple.com/it

    Hey sweetcake74,
    Thanks for the question. I understand you are experiencing performance issues with iTunes for Windows. The following articles may help to resolve your issue:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/TS1717
    Thanks,
    Matt M.

  • I received an email telling me that my icloud storage is almost full.  I need to upgrade to the next level.  Can someone help me out with this?

    I received telling me that my icloud storage is almost full.  I need to upgrade my storage.  Can someone help me out with this.  I understand that the 20 GB is only .99 per month.  Just hoping this would be enough for me.  I back up 2 ipads and my iphone on the same computer.  Any help you can give me would be appreciated.  Thank you.

    Okay.
    I responded as I did because you wrote, "I have 2 ipads and my iphone that I back up on one computer"
    No worries here.
    But hopefully you get/got it sorted.
    Any issues, post back.

  • Itunes 64 bit wont install on my Dell XPS due to Windows Installer problems. Can somebody help me out with this?

    I have Windows 7 home premium, running on a Dell XPS 15, with 64 bit OS, and when i went to install itunes for my new phone, it would almost install, but then say that it couldn't install due to issues with windows Installer. has anybody had this happen to them? can anybody help me out with this?

    Many thanks.
    "There is a problem with this Windows Installer Package. A program required for this install to complete could not be run. Contact your support personnel or package vendor".
    Perhaps let's first try updating your Apple Software Update.
    Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
    If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time?

  • Is there anyone who can help me out in this!!!!

    Trying this for the fourth time........
    Hi gurus,
    I have posted this thread earlier also but didnt get any response, so I was just wondering did I ask something unrealistic?
    Hi gurus,
    I am working on an interface where I will be getting the production order number and then based on this order number I need to update some fields in transaction code ... CO11N...such as Quantity produced, reason of variance, batch number and posting date. So what I believe is first I need to pass the order number to the BAPI_PRODORD_GET_DETAIL to get the details of the production order and then update the production order by using the BAPI_PRODORDCONF_CREATE_TT, but my problem is I am new to ABAP I got to know what should be the process but I am not being able to implement it. So basically the program needs to pick the data from the internal table and copy it in SAP. My internal table looks liks
    data : BEGIN OF it_input occurs 0,
    order_no like afko-aufnr, "Order Number
    opr_no like afru-vornr,
    quant like afru-lmnga,
    varian like afru-grund,
    budat(10) type c,
    matnr like caufvd-matnr, "Materials
    erfmg like cowb_comp-/cwm/erfmg,
    charg like mcha-charg,
    END OF it_input.
    So can you please help me out in this..I mean step by step or if there is any other suitable way.
    Thanks,
    Rajeev .......

    Rajeev,
    Based on your post, just may not be clear what you are asking for then.
    I think your general approach that you have described is correct.  Without knowing the source of your data for the internal table, it is hard to completely provide an answer but a typical interface might look something like this:
    1.  Selection screen with parameters for the file name (If a file is the source of your data)
    2.  Load data from the file into your internal table.
    3.  Loop at your data
    4.  Call the Get Detail BAPI
    5.  Using the data returned from the get detail BAPI and your internal table create the importing, exporting, tables parameter for your Create BAPI.
    This step might need some more clarification.  I am not sure if you are using the right BAPI for what you are trying to accomplish.  First this appears to be a Create function and not a change, second, it appears that this is for Time Ticket information against a production order.  I haven't used any BAPIs for production orders before so I can't give you a definite answer.  If you cannot find an appropriate BAPI, you might also try creating a BDC/Call transaction update.
    6.  Review the error messages/return code from your production order change
    7.  Output some type of report to the user regarding successful updates, errors, etc.
    I hope this helps provide some guidance.
    Best Regards,
    Chris H.

  • Could anyone help me out with this please?

    Hi all,
    I have always had a little problem messing with gradients, when creating images using them I tend to try and make things to perfect and then get very frustrated. This is the case again today
    I have attached two images, one light and one darker. Could anyone help me out recreating these using FW please?
    I am not after the letters in the center, I am just trying to create the background and the floor of the image with all its gradients and shadows.
    Any help greatly appreciated

    No I don't, never heard of that

  • Help me out with this program

    hi,
    I am trying to make a login program that connects to an access database with table 'PASSWORD' containing the username and the password.
    I have written the program but i could not continue as i am in fix with few errors which it is giving can anyone help me in doing the coding of this program..
    //***************** Create a DSN named "Login" from the Control Panel ODBC ********//
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.plaf.metal.*;
    import java.sql.*;
    public class Screen extends JFrame implements ActionListener
    JTextField txtuser;
         JPasswordField txtpass;
    public Screen()
    JPanel contentpane=(JPanel)getContentPane();
    contentpane.setLayout(new FlowLayout());
    JLabel username= new JLabel("UserName:");
    JTextField txtuser= new JTextField(18);
    JPassword Field JLabel password= new JLabel("Password:");
              txtpass = new JPasswordField(18);
              txtpass.setEchoChar('*');
    JButton login= new JButton("Login");
              login.addActionListener(this);
              login.setActionCommand("Login");
         JButton cancel= new JButton("Cancel");
              cancel.addActionListener(this);
              cancel.setActionCommand("Cancel");
    contentpane.add(username);
    contentpane.add(txtuser);
    contentpane.add(password);
    contentpane.add(txtpass);
    contentpane.add(login);
    contentpane.add(cancel);
    addWindowListener(new Screen.WindowEventHandler());
    static public void main(String[] args)
    Screen scr= new Screen();
    scr.setSize(new Dimension(300,140));
    scr.setTitle("Login Screen");
    scr.setVisible(true);
    public void actionPerformed(ActionEvent e)
         Connection con = null;
         String query;
         String id=null,pwd=null;
         ResultSet rs;
         Statement stmt;
    /* U Need to Get the Text Box values of ID and Password into "id" and "pwd" variables,
    I tried to Do this as follows , but no success ..I havent worked on SWING class before.
    so u check out the method required to get the TEXT box values into these variables...*/
    id=txtuser.getText();
    pwd=txtpass.getText();
         query = "Select Password from user where ID='"+id+"'";
    if (e.getActionCommand()=="Login")
    try
              Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
    catch( ClassNotFoundException ee)
              ee.printStackTrace();
    // Here i m using a DSN "Doctor" if u create other than this name then Specify the name of the DSN here in place of "Login"
         String dsn = "jdbc:odbc:doctor";
    try
                   con = DriverManager.getConnection(dsn);
         catch(Exception ex)
              System.out.println("Exception in Connection " + ex);
    try
         stmt = con.createStatement();
         rs=stmt.executeQuery(query);
    if(pwd==rs.getString(1))
                   System.out.println("This user is valid");
                        //** VALID USER , DO AS PER UR REQUIREMENT
              else
                   System.out.println("This user is invalid");
                   //INVALID USER , DO AS PER UR REQUIREMENT
    rs.close();
         stmt.close();
    catch(Exception ee)
              ee.printStackTrace();
    if (e.getActionCommand()=="Cancel")
    System.out.println("Cancel is pressed");
    public class WindowEventHandler extends WindowAdapter
    public void windowClosing(WindowEvent e)
    System.exit(0);
    Can Anybody Code this for me..
    Thanks in Advance........

    hi,
    i watched your program and i have changed the code as follow as this:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.plaf.metal.*;
    import java.sql.*;
    public class Screen extends JFrame implements ActionListener
    JTextField txtuser;
    JPasswordField txtpass;
    public Screen()
    JPanel contentpane=(JPanel)getContentPane();
    contentpane.setLayout(new FlowLayout());
    JLabel username= new JLabel("UserName:");
    txtuser= new JTextField(18);
    JLabel password= new JLabel("Password:");
    txtpass = new JPasswordField(18);
    txtpass.setEchoChar('*');
    JButton login= new JButton("Login");
    login.addActionListener(this);
    login.setActionCommand("Login");
    JButton cancel= new JButton("Cancel");
    cancel.addActionListener(this);
    cancel.setActionCommand("Cancel");
    contentpane.add(username);
    contentpane.add(txtuser);
    contentpane.add(password);
    contentpane.add(txtpass);
    contentpane.add(login);
    contentpane.add(cancel);
    addWindowListener(new Screen.WindowEventHandler());
    static public void main(String[] args)
    Screen scr= new Screen();
    scr.setSize(new Dimension(300,140));
    scr.setTitle("Login Screen");
    scr.setVisible(true);
    public void actionPerformed(ActionEvent e)
    Connection con = null;
    String query;
    String id=null;
    String pwd=null;
    ResultSet rs;
    Statement stmt;
    String dsn = null;
    String driver_connection = null;
    driver_connection = "sun.jdbc.odbc.JdbcOdbcDriver";
    dsn = "jdbc:odbc:Prove";
    query = "SELECT * FROM user";
    try
    id = txtuser.getText();
    pwd = txtpass.getText();
    if (e.getActionCommand().equals("Login"))
    Class.forName(driver_connection);
    con = DriverManager.getConnection(dsn);
    stmt = con.createStatement();
    rs = stmt.executeQuery(query);
    while(rs.next())
    if(id.equals(rs.getString("ID")) && pwd.equals(rs.getString("PASSWORD")))
    System.out.println("The user is valid");
    return;
    else
    System.out.println("The user is invalid");
    System.exit(0);
    rs.close();
    stmt.close();
    else if(e.getActionCommand()=="Cancel")
    System.out.println("Cancel is pressed");
    WindowEventHandler w = new WindowEventHandler();
    w.windowClosing();
    catch(Exception exception)
    System.out.println("Error: "+exception.getMessage());
    public class WindowEventHandler extends WindowAdapter
    public void windowClosing()
    System.exit(0);
    try it,
    i hope this could help you!!!!

  • Kindly help me out with this prepared statement

    Hi All,
    I am having some problem with this code.The databaseUsername and databasePassword seem to be printing only null, what could be the problem.
    AFIAK, it is not going into the while loop itself.
    Help would be greatly appreciated.
    TIA
    AS
    try {
                  String sql = "SELECT username, password FROM admintable WHERE username = ? AND password = ?";
                PreparedStatement stmt = null;
                ResultSet rs = null;
                stmt=con.prepareStatement(sql);
                stmt.setString(1, username);
                stmt.setString(2, password);
                rs = stmt.executeQuery();
                String databaseUsername = null;
                String databasePassword = null;
                while (rs.next()){
                    databaseUsername=rs.getString("username");
                    databasePassword=rs.getString("password");
                     System.out.println("Values are Username " + databaseUsername);
                     System.out.println("Values are Password "+ databasePassword);
                 rs.close();
                 stmt.close();

    Hi Again,
    I would like to tell that there is only one entry in the database table.
    String sql = "SELECT username, password FROM professorforminfo.admintable WHERE username = ? AND password = ?";
                PreparedStatement stmt = null;
                ResultSet rs = null;
                stmt=con.prepareStatement(sql);
                stmt.setString(1, username);
                stmt.setString(2, password);
                rs = stmt.executeQuery();
                String databaseUsername = null;
                String databasePassword = null;
                while (rs.next()){
                    databaseUsername=rs.getString("username");
                    databasePassword=rs.getString("password");
                     System.out.println("Username value " + databaseUsername);
                     System.out.println("Password value "+ databasePassword);
                  }catch(SQLException sqlEx){
                       System.err.println("Unable to connect to DB");
                       sqlEx.printStackTrace();
                 rs.close();
                 stmt.close();Why do you think that the databaseUsername and databasePassword has null values in them.
    Kindly help me out.
    Thanking you
    AS

  • My Ipod doesn't sync songs anymore, can anybody help me out with this?

    Hi all. Yesterday i did a Recovery on my computer and that wiped everything clean off of my computer, including the Itune program that i downloaded. And now, every since i downloaded Itunes again, it won't sync songs into my Ipod anymore. When i would download a few songs into Itunes, I would press on the sync button a message comes up saying that my ipod is synced with another Itunes library and can only be synced with one at a time. This won't let me transfer the songs onto my ipod. When i tryed to sync my songs again another message pops up saying to 'erase and sync'. Meaning that in order for me to sync the new songs onto my ipod, then they are gonna erase all of my existing songs that is currently on my ipod already! I don't wanna do that. I thought about restoring my ipod but i'm afraid that that would erase all of my songs off of my ipod as well.  What do i do? Help would really be appreciated. Thank you. 

    Your iPod is designed to sync with only one iTunes library at a time.  It will recognize the iTunes library on the restored/rolled back PC as a new library.  If you sync the iPod with this new/different library, all content will be erased from the iPod and replaced with what is in the new library.  So what you will want to do is copy everything from the iPod to your new iTunes library on your PC first.
    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • Please help me out with this error:Logical dimension table D_TARGET has a source D_TARGET that does not join to any fact source.

    I get the folowing error when I run the global consistency check
    WARNINGS:
    Business Model DAC_Measures:
    [39008] Logical dimension table D_TARGET has a source D_TARGET that does not join to any fact source.
    Can someone help me out please?
    Thank you!

    It seems your dimension is not joined to any facts. Did you check your BMM/physical joins?

  • Can anyone help me out with this icon's meaning and how to fix it?

    I just bought a Blackberry Torch 9800.. I have been downloading applications and recently upgraded one of my trial apps to the pro.. but I cannot get the pro version to work. I have activated the account and registered the license key and still nothing... and now I have this crazy icon I cannot seem to find the meaning for it anywhere.. It looks like a phone with a red star above it. I do know that this mean there is an "upgrade" but I don't know what to do to get it to "upgrade" I have deleted and reinstalled the program and still have the trial version... If anyone can help I would certainly appreciate it It is the call control pro application

    queendebbie wrote:
     It is the call control pro application
    Have you contacted the developer of the application for assistance, first?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Hi, can anyone help me out with this, I need some help on designing GUI for e-learning coursewares. Some tutorials or some helpful sites will do.

    I need some help with the GUI design.

    Have you tried the line inputs on the back of your FirePod? If you update its firmware (not sure if you will need to or not), I seem to remember hearing that the FirePod can run without FW connection, i.e. stand alone. In this mode with the outs from your mixer into line ins 1-2 (2nd from left on the back) it should work fine. I say should because I have never tried. However, these are used for returns from an external effects unit. I assume here, and the important word is assume, that there are two so that they can be used as a stereo send or as a mono send. Worth a try! Let us know how it goes.
    Best, Fred

Maybe you are looking for

  • Is there any tech support for Neo4 products?

        One of the reasons I'm watching this forum is to see what kinds of problems I might end up with my Neo4 Platinum since I found out that MSI support of their products kinda sucks (not to say any other any other OEM is any better) This system I jus

  • Can anyone tell me what's wrong with my queue or producer consumer loop?

    A Labview engineer helped me with the overall structure of my program, necessitated by the fast data sample rate and post processing requirements. He recommended the producer/consumer loop and using one of the example files (Cont Acq graph voltage -

  • OracleXMLSave - Insert into table with NOT NULL Columns

    Im having trouble using OracleXMLSave (XSU12) to insert into a table where columns are initialized on insert with system derived values (see table script below) I get the following error message. Message: 'java.sql.SQLException: ORA-01400: cannot ins

  • Makepkg issue: cannot create temp file for here-document

    Hi there, Since few weeks ago i'm not able to build aur packages. I use yaourt  but i notice the problem comes from makepkg (i searched for the output message and found fakeroot related issues). Here the complete log of, for example, launching makepg

  • Struts support for netbeans

    Hi Can some one please guide me through the steps for adding struts support to Netbeans 4.1. If you can give me a link to a tutorial which explains it. Thanks