Problem in connecting MaxDB with Struts 1.2.

hi,
how to connect MaxDB in Struts 1.2. when i am trying to connect, i got an error "Unable to initilize struts ActionServlet due to unexpected exception". what are the modifications must be done in struts-config.xml.

Hi guys,,
The CCA no longer shows unsupported error message. I can connect the router with CCA right now, but it shows "Unreachable : Unknown Status". I can't see the front panel of the device and I can't configure anything.
Is there anyone know how to fix it?
I am really confused right now.
Thanks in advance.

Similar Messages

  • Problem in connecting JSP with Oracle 9i.

    Hi,
    I am having problem in connecting JSP with Oracle 9i.
    I am using windows XP and my JDK version is 1.4. For executing JSP I am using
    "jakarta-tomcat-5.5.4-preconfigured". My database name is global.
    I have set java_home, j2ee_home, oracle_home, path, classpath as follows:
    j2ee_home=c:\sun\appserver
    java_home=c:\sun\appserver\jdk
    oracle_home=C:\oracle\ora92
    path=C:\Sun\AppServer\bin;C:\Sun\AppServer\jdk\bin;C:\oracle\ora92\bin
    classpath=C:\Sun\AppServer\lib\j2ee.jar;C:\oracle\ora92\jdbc\lib\ojdbc14.jar;C:\oracle\ora92\jdbc\lib\nls_charse
    t12.zip
    My code is as follows:
    <%@ page language="java" %>
    <%@ page import ="java.sql.*"%>
    <%
    try
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    Connection conn = DriverManager.getConnection ("jdbc:oracle:oci8:@global", "scott", "tiger");
    catch(SQLException e)
    out.println(""+e);
    out.println("Connected");
    %>
    I tried other program:
    <%@ page language="java" %>
    <%@ page import ="java.sql.*"%>
    <%
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:global","scott","tiger");
    out.println("Connected");
    %>
    I am getting following error:
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 5 in the jsp file: /jsp/oracle.jsp
    Generated servlet error:
    oracle.jdbc.OracleDriver cannot be resolved or is not a type
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:389)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Thanking you in advance,
    Anurag

    maneesh108 wrote:
    hi this is maneesh1) Read the thread it has been answered.
    2) The thread is very old. Don't resurrect old threads.
    I'm locking this zombie thread.
    Kaj

  • Facing problem while connecting N70 with bluetooth

    I am connecting N70 with my laptop thru bluetooth. But im facing a error msg saying that hardware problem with MODEM.
    do i need to install Modem & if so which one suitable.
    all others application working thru bluetooth expect net connection.
    description:
    Window XP
    Nokia PC suite letest one
    thru blutooth.
    plz suggest. Thanks

    When one installed pcsuites successfully it installed all drivers including the modem, the reasons why it takes sometimes when one is prompted to connect the cable.
    Try to uninstall pcsuite again & run the pcsuites cleaner afterwards then re-install pcsuite. Don't connect the cable until told to so & check. If it does fail again, make a backup & format your phone; is the firmware of your N70 the latest one?
    Knowledge not shared is knowledge wasted!
    If you find it helpfull, it's not hard to click the STAR..

  • Connecting Database with Struts

    package assignment.actions;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.ResultSetMetaData;
    import java.sql.Statement;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionError;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import assignment.forms.QuizBeann;
    * @version      1.0
    * @author
    public class QuizActionAction extends Action
    public ActionForward execute(ActionMapping mapping, ActionForm form,
    HttpServletRequest request, HttpServletResponse response)
    throws Exception {
    ActionErrors errors = new ActionErrors();
    ActionForward forward = new ActionForward(); // return value
    QuizBeann quizBeann = (QuizBeann) form;
    try {
              String qns = quizBeann.getQuestion();
              String ans = quizBeann.getAnswer();
              String op1 = quizBeann.getOption1();
              String op2 = quizBeann.getOption2();
              String op3 = quizBeann.getOption3();
              String op4 = quizBeann.getOption4();
         if(qns != null || ans != null || op1 != null || op2 != null || op3 != null || op4 != null){
                        try{
                             Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                             Connection con = DriverManager.getConnection("jdbc:odbc:Quiz");
                             Statement s = con.createStatement();
                             String sql = "INSERT INTO Quiz(Qns,Ans,Option1,Option2,Option3,Option4) VALUES ('"+qns+"','"+ans+"','"+op1+"','"+op2+"','"+op3+"','"+op4+"')";
                             ResultSet rs = s.executeQuery(sql);
                             ResultSetMetaData rsmd = rs.getMetaData();
                             int columnCount = rsmd.getColumnCount();
                             StringBuffer result = new StringBuffer();
                             result.append("<HTML><BODY><TABLE border=\"1\" width=\"100%\">");
                             while(rs.next()){
                                  result.append("<TR>");
                                  for(int i =1; i <= columnCount; i++){
                                       result.append("<TD>");
                                       result.append(rs.getString(i));
                                       result.append("</TD>");
                                  result.append("</TR>");
                             result.append("</TABLE></BODY></HTML>");
                             //((HttpServletResponse) quizBeann).getWriter().write(result.toString());
                        catch(Exception e){
                             System.out.println(e.toString());
                        return mapping.findForward("success");
    // do something here     
         else {
              return mapping.findForward("failed");
    } catch (Exception e) {
    // Report the error using the appropriate name and ID.
    errors.add("name", new ActionError("id"));
    // If a message is required, save the specified key(s)
    // into the request for use by the <struts:errors> tag.
    if (!errors.isEmpty()) {
    saveErrors(request, errors);
    // Forward control to the appropriate 'failure' URI (change name as desired)
    //     forward = mapping.findForward("failure");
    } else {
    // Forward control to the appropriate 'success' URI (change name as desired)
    // forward = mapping.findForward("success");
    // Finish with
    return (forward);
    I can't seem to run my page with this action mapping. Any idea what is wrong with the codes?

    1. When you post code, use code tags to preserve formatting.
    2. The way you are trying to do, Struts is an overkill.
    3. Struts has a tag to configure a datasource in struts-config.xml.
    4. You should not be generating HTML in an Action class. That is not the reason an action class is provided for.
    5. Your problem is the beginning of what happens when you mix too much code. Make better use of classes and separate out functionality that does not belong to the action class. It will make life easier for you.
    6. You never close the Connection, Statement or ResultSet. Eventually, it would lead to bigger problems. Close all your resources properly.

  • STRAND PROBLEM while connecting D2K with DB

    Dear All,
    For some reason I am unable to connect SQLPlus, Forms and Reports to my oracle 10g database. Everthing is in one machine which is dell with good configuration.
    O/S: Windows XP DB: Oracle 10g Enterprise Edition D2K: Rel: 6.0
    All have installed successfully. With in Net8 Easy Config & Net8 Assistant the service tests successfully but when I use the same string within Forms / Reports / Sqlplus it gives typical windows (microsoft) error with the following caption:
    Oracle SQL*PLUS has encountered a problem and needs to close.
    When I checked evenlog it has the error with following text:
    "Faulting application plus80w.exe, version 0.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x000000d7"
    Important Note: the same runtime of D2K is successfully connecting one other database (oracle 8i on sun soloaris) which resides in different machine and executing the application with no problems. On the other hand local 10g db is also connectable via its own sqlplus
    Kindly assist me on this problem... Can versions of DB and D2K make difference!!!
    Looking forward for your expert advices on the issue...Thanks
    Regards,
    Zia

    Mr. Sybrand,
    Thanks for the reply and I understood your point. Can you please further guide me to get an appropriate Oracle Forms/Reports (Developer) version in order to make application using Oracle Database 10g. Please note that most of my experience is in D2K 2000 rel:6. and unfortunately I came into software development after a long gap that is why not much aware about latest version out there of Oracle Forms/Reports.
    But is there really no way to connect D2K rel:6 with DB 10g !!!
    Regards,
    Zia

  • Problem in connecting netbeans with oracle 10g express edition

    hi friends... i need help in connecting the database with netbeans..... in netbeans, under services option... i have a option for database... but am not getting any drop-down while right clicking to add a new database... i tried in both netbeans6.9 and netbeans7... what should i do to connect netbeans7 to oracle 1og express edition.... pls help me friends.... pls do reply

    First of all, I think your dot... button is broken, it keeps repeating which makes it SO much harder to read your post.
    Secondly, I suggest you take your question to the Netbeans mailing lists. This is a Java programming forum, not a technical support forum for the hundreds of tools available to support Java programming.
    http://netbeans.org/community/lists/index.html

  • HT201699 having problem to connect internet with virgin simcard

    hi, I bought virgin contract with blackberry 9300 but when i insert my virgin sim card in Iphone 3g I am unable to connect internet, can some one help me with this issue so i can connect with internet. any help much appreciate. Thanks. .

    Hi,
    Thanks for your question.
    According to your description, I am not quite sure of your network deployment. I would appreciate it if you can post
    a figure of your network topology.
    In addition, I recommend you to check the common suggestions below:
    You can configure the default gateway to 192.168.2.3, then tracert a public website, such as tracert google.com, then check the result.
    In addition, you can disable the firewall and run “ping 192.168.2.3” at the command prompt. If it is unable to ping, you can check the route table or
    ARP cache. If it is able to ping, you can try to ping the public IP of the ADSL modem. If it is unable to ping the public IP address, please contact your ISP for assistance.
    By the way, based on your question, it is more related to network, I will move it to the network forum. Thanks for your understanding and support.
    Best regards,
    Susie

  • Problem In connecting Client with oracle

    hello all,
    I am trying to connect a system, with my oracle server, but the client machine is also having oracle installed on it. Is it possible to connect same machin with my oracle server. I am working on Oracle 8i.

    Except version incompatibility, any Oracle system can connect to any Oracle DB, any Oracle server can work as Client to another Oracle server.
    On the machine that works as Client you have only to configure a TNS alias to connect to the DB on the other machine.

  • Adobe Connect issues with Windows 7

    Has anyone found a solution to the problems Adobe Connect has with Windows 7?

    Sounds like something is blocking network traffic. I'm not aware of any Windows 7 specific issues. I've used Windows 7 with connect for 2 years with no Windows specific issues.
    I'd call support at 800-945-9120 and see if they can indentify the issue and give you a resolution.

  • Urgent problem in connecting servlet and oracle

    Hi
    I have problem in connecting servlet with oracle.Kindly let me know what all the classes i should include in classpath to get connected.Where will i find the oracle driver.Kindly help me to do this.
    With regrds
    Vaiju

    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/index.html
    http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96654/toc.htm
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jdbc/index.html

  • Unable to connect forms6i with oracle 10g

    hi:
    i am facing a problem to connect forms6i with oracle 10.2 g. i already make a entry in TNSNAMES.ora file in forms folder.
    while i am trying to connect it dispaly "ORA-12203: TNS:unable to conect to destination" error.
    please help. Thanks in advance.
    Regards,
    Abhishek

    Hi
    i already make a entry in TNSNAMES.ora Another option...
    1. Pls Verify that the net service name you entered was correct including no spaces.
    2.Verify that the ADDRESS portion of the connect descriptor which corresponds to the net service name is correct.
    3.Ensure that the destination process (for example the listener) is running at the remote node and the cabel of ur local net work connecting to ur server is well connected and working well.
    4. Test ur local network cabel and try to make the connection to another computer set.
    5.u can check from Start > control panel > administrative tools > services that the service name is started or not if it is Started Restarted or refresh it.
    6. Ensure that the listener is running at the remote node and that the ADDRESS parameters specified in TNSNAMES.ORA are correct.
    and the more ....
    Hope this helps...
    Regards,
    Abdetu...

  • Hello, my sister her macbook pro cannot connect to our wireless internet. My imac however can, so the problem has to do with her laptop. We were wondering how we could solve this problem? Thank you very much in advance!

    Hello, my sister her macbook pro cannot connect to our wireless internet. My imac however can, so the problem has to do with her laptop. We were wondering how we could solve this problem? Thank you very much in advance!

    We did that, but it just doesn't seem to be able to connect. So basically we tried to connect to our network and insert the password, but afterwards it does nothing. Weird thing is also that the network symbol (top right of the screen) says that it has been connected, but when I go look at the system preferences --> network, it states that it has not been connected

  • TS3694 hey everyone.. i have a problem with my 3Gs iphone.. i updated to the ios5 and now when i open it says that i have to connect it with the itunes. when i connect it says that has an error 28 something like that.. can anyone help me to fix it?? Regar

    hey everyone.. i have a problem with my 3Gs iphone.. i updated to the ios5 and now when i open it says that i have to connect it with the itunes. when i connect it says that has an error 28 something like that.. can anyone help me to fix it?? Regards

    Error 23, 28, 29: These errors may indicate a hardware issue with your device. Follow the steps in this article. Also attempt to restore while connected with the white USB Dock Connector cable that shipped with your device, on a known good computer and network to isolate this issue to the device. The MAC address being missing or the IMEI being the default value, (00 499901 064000 0), can also confirm a hardware issue. Out-of-date or incorrectly configured security software can also cause these errors.

  • My iPhone 5 got problem when connect with lighting cable, this will keep pop up message "this accessory may not be supported"

    My iPhone 5 got problem when connect with lighting cable, this will keep pop up message "this accessory may not be supported", I can't charge or sync at all. I tried plug and unplug many time, still can't detect/charge my iPhone5, but sometime will 'lucky' that can connect to my iTunes and charge battery…
    This message will auto pop up also when I don't have plug anything in my iPhone 5, It is very annoying…
    The lighting cable is original and now i'm using OS 7.0.4 / iTunes is 11.1.3
    What I can do to fix this problem? Thank you.

    I would try using another cable you can likely borrow one to test from somebody
    if it's the same then likely the connector in your iphone have been damaged

  • I have a problem to connect with FaceTime. I am using OS X 10.9.1 on a Mac PowerBook which is 4 weeks old. I can connect on iPhone but not from my computer.

    I have a problem to connect with FaceTime. I am using OS X 10.9.1 on a Mac PowerBook which is 4 weeks old. I can connect on iPhone but not from my computer. Does anyone have a similar problem???

    The warranty entitles you to complimentary phone support for the first 90 days of ownership.

Maybe you are looking for