Eclipse jboss jsp oracle xe connect error

hi
i am using eclipse ganymede 342 and my second configuration is:
jboss as 420 ga
oracle 10g xe
windows xp
jdk15
when i run my jsp file that contains instructions to connect to oracle 10g xe and query my database i got this error:
org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 9
6: <body>
7: <%
8: try{
9: Class.forName("oracle.jdbc.driver.OracleDriver" );
10: //Class.forName("oracle.jdbc.OracleDriver" );
11: String url = "jdbc:oracle:thin:@//127.0.0.1:8080:xe";
12: Connection con = DriverManager.getConnection(url,"system","system" );
Stacktrace:
     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:518)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
     org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
javax.servlet.ServletException: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
     org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:855)
     org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:784)
     org.apache.jsp.index_jsp._jspService(index_jsp.java:98)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
     org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
     org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
     org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
     org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:128)
     org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)
     java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     java.lang.Class.forName0(Native Method)
     java.lang.Class.forName(Class.java:164)
     org.apache.jsp.index_jsp._jspService(index_jsp.java:63)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
     org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
why?
thanks for your help.

hi orafad,
i try current style db:
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@//localhost/xe","system","system");
but i get this error:
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 17
17: Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@//localhost/xe","system","system");
Stacktrace:
     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:518)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
javax.servlet.ServletException: java.lang.NoSuchMethodError: oracle.i18n.text.OraBoot.getCharsetMaxCharLen(Ljava/lang/String;)Ljava/lang/String;
and then i tried this one:
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:8085:xe","system","system");
and got this error:
Error: Erreur d'E/S: The Network Adapter could not establish the connection
so i think my url connection is good and may be the problem is elsewhere
thanks for your listening
========================
hi udo,
i checked the lsnrctl status and this is the result:
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\xp>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-OCT. -2011 14:02:49
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connexion Ó (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUT du PROCESSUS D'ECOUTE
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Date de dÚpart 06-OCT. -2011 23:04:12
DurÚe d'activitÚ 0 jours 14 heures 58 min. 36 sec
Niveau de trace off
SÚcuritÚ ON: Local OS Authentication
SNMP OFF
Service par dÚfaut XE
Fichier de paramÞtres du processus d'Úcoute C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
Fichier journal du processus d'Úcoute C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
RÚcapitulatif d'Úcoute des points d'extrÚmitÚ...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=compaq)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8085))(Presentation=HTTP)(Session=RAW))
RÚcapitulatif services...
Le service "CLRExtProc" comporte 1 instance(s).
L'instance "CLRExtProc", statut UNKNOWN, comporte 1 gestionnaire(s) pour ce service...
Le service "PLSExtProc" comporte 1 instance(s).
L'instance "PLSExtProc", statut UNKNOWN, comporte 1 gestionnaire(s) pour ce service...
Le service "XEXDB" comporte 1 instance(s).
L'instance "xe", statut READY, comporte 1 gestionnaire(s) pour ce service...
Le service "XE_XPT" comporte 1 instance(s).
L'instance "xe", statut READY, comporte 1 gestionnaire(s) pour ce service...
Le service "xe" comporte 1 instance(s).
L'instance "xe", statut READY, comporte 1 gestionnaire(s) pour ce service...
La commande a rÚussi
however, i want to say that i manually changed the http port for oracle (now port 8085) to avoid conflict with jbossAS which use port 8080 by default
all changes goes correct
so i change my url connexion like this:
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@//localhost:1521:xe","system","system");
and got the same error
question: it is not a problem to run eclipse jboss oracle express edition in a virtual machine?
or may be an error inside my jsp page:
<%@ page language="java" import="java.sql.*" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Employes</title>
</head>
<body>
<%
try {
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@//localhost:8085:xe","system","system");
System.out.println("Connected sucessfully.<br /><br />\n");
System.out.println("Return all the employees name.<br />\n");
String sql = "SELECT ENAME FROM EMP";
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery(sql);
while (rs.next()) {
     out.println(" ename=" + rs.getString("ename") + "<br />\n");
stmt.close();
stmt = null;
conn.close();
conn = null;
out.println("<br />Disconnected sucessfully.<br /><br />\n");
catch (Exception ex) {
out.println(" Error: " + ex.getLocalizedMessage() + "<br><br>\n");
%>
</body>
</html>
thanks for your listening
==================================
NB:
i work into virtual machine oracle virtualbox with windows xp and my configuration is:
eclipse
jboss
oracle express edition
jdk

Similar Messages

  • Tomcat 5.5.20 / Oracle  JDBC connection error

    Hi All,
    I am using Eclipse 3.2/ Tomcat 5.5.20/ Oracle 8i
    Inside my java class; right after finding the context, it gives error on line:
    conn = dataSource.getConnection();
    my server.xml <Resource> settings are proper within one tag...
    I am loosing my hair faster... please someone help me..
    Error Stack:
    javax.servlet.ServletException
         org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.NullPointerException
         com.nibtt.beans.ConnectionBean.getConnection(ConnectionBean.java:80)
         com.nibtt.actions.LoginAction.execute(LoginAction.java:44)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Regards
    Hepzi

    Hi Zadok,
    I am going insane. Thank God you replied. I am pasting my code here.
    I have setup Tomcat5.5.20 <resource> tag as follows: for connection pooling
    <Resource      name="jdbc/TestStrutsDB" auth="Container"
              type="javax.sql.DataSource" factory="org.apache.commons.dbcp.BasicDataSourceFactory"
              username="SCOTT" password="TIGER"
              driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@111.1.1.1:1521:TEST"
              maxActive="8" maxIdle="4"/>
    my application web.xml code:
    <resource-ref>
    <description>Oracle DB Connection</description>
    <res-ref-name>jdbc/TestStrutsDB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    my java code:
    public Connection getConnection() throws Exception{
              Context ctx = new InitialContext();
    Context envContext = (Context)ctx.lookup("java:/comp/env");
    javax.sql.DataSource dataSource = null;
         ResultSet rst = null;
         Statement stmt = null;
         try {
              if(envContext == null ) {
         System.out.println( "context is NULL");
              } else
         System.out.println( "context is NOT NULL");
    dataSource = (javax.sql.DataSource)envContext.lookup("jdbc/TestStrutsDB");
              if (dataSource != null) {
                   System.out.println( "before actual connection to database: "+dataSource.toString() );
                   try {
                        conn = dataSource.getConnection();
                   } catch (Exception connEx) {
                        System.out.println( connEx.getStackTrace());
              if(conn != null) {
         System.out.println( "Got Connection "+conn.toString());
         stmt=conn.createStatement();
         rst=stmt.executeQuery("select username from testTomcat");
         while(rst.next()){
              System.out.println("User Name is: " + rst.getString("username"));
         rst.close();
         rst = null;
         stmt.close();
    stmt = null;
    conn.close();
         conn = null;
         // do what you wish with Connection
         } catch (SQLException e) {
              while((e = e.getNextException()) != null) {
                        System.out.println("SQLException: " + e.getMessage());
                        System.out.println("SQLState: " + e.getSQLState());
                        System.out.println("VendorError: " + e.getErrorCode());
                        System.out.println(e.getStackTrace());
         } finally {
         try {
         conn.close();
         } catch (SQLException ex) {
              System.out.println(ex.getStackTrace());
              return conn;
         } //End of Connection function
    Please let me know if had gone wrong somewhere
    Thanks in advance
    Regards
    Hepzi

  • Oracle JDBC Connection Error ?

    Hi all .. i have JDeveloper9.0 and oracle database i have created the following page (which is the first !) to test the connection to oracle database,
    <%@ page contentType="text/html;charset=WINDOWS-1252"%>
    <%@ page import="java.sql.*"%>
    <%@ page import="oracle.jdbc.driver.*"%>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    Hello World
    </TITLE>
    </HEAD>
    <BODY>
    <%
    out.println("good things comes for the ones whos wait");
    // testing Database Connection
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@10.0.24.23:1513:test","ap1s","ap1s");
    Statement st = conn.createStatement();
         ResultSet rs= st.executeQuery("select * from XX_CNSLTNT");
         while(rs.next())
    System.out.println(rs.getString(1));
    %>
    <form method="POST" action="untitled1.jsp">
    <p>
    <input type="text" name="T1" size="20">
    <input type="submit" value="Submit" name="B1">
    <input type="reset" value="Reset" name="B2">
    </p>
    </form>
    </BODY>
    </HTML>
    and its generating me this error, when i compile :
    Error: cannot access directory oracle\jdbc\driver; verify that directory is reachable from classpath and/or sourcepath
    so, does any one have a clue of the problem is ??
    thanx in advance

    Is ojdbc14.jar or classes12.jar in the Classpath?

  • Urgent case!!! Oracle DB Connect Error ORA-01033

    Dear all expert,
    After Re-boot the computer, The system show the following error code; Kindly provide solution for me to fixed this case..
    Thank of all Expert.
    The Error message reference to the following:
    SQL&gt; shutdown immediate
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL&gt;
    SQL&gt; startup
    ORACLE instance started.
    Total System Global Area 135338868 bytes
    Fixed Size 453492 bytes
    Variable Size 109051904 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    ORA-00333: redo log read error block 90114 count 8192

    No...
    I am running SQLPLUS from AIX which our SAP OS using ora<sid>.  SQLPLUS from local command prompt works fine.
    We are currently looking into firewall issues where the oracle listener reponds back on a random port rather than the standard port 1521 for which firewall is open. 
    I got hold on some ORACLE notes which talks about using SHARED SOCKET connection to solve the issue

  • Oracle JDBC Connection Error code 12505 in J2EE

    Hi All,
    I'm in a great problem.Could not connect my J2EE server to my Oracle database server.
    My config/resource.properties file as follows
    ================================
    jdbcDataSource.5.name=jdbc/iisdb
    jdbcDataSource.5.url=jdbc:oracle:thin:@128.51.12.33:15 21:iisals.rsapps;create=true
    jdbcDriver.1.name=oracle.jdbc.driver.OracleDriver
    My config/default.properties file as follows
    ================================
    jdbcDatasources=jdbc/iisdb|jdbc:oracle:thin:@128.51.12.33:1521:iisals.rsapps
    Deployment is successful but while running the application through browser the error is as follows
    =======================================
    javax.ejb.CreateException: java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135286784)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    which is for either SID identification problem or TCP/IP
    port problem.
    But from my PC the same database can be connected through sql plus.
    So I am n't getting where is the problem ??????
    Whether any properties file has to be changed ???
    Can anyone help me in this regards,

    Hai everybody,
    I do have the same problem. I am trying to connet to the oracle8.1.7 database in linux machine from windows98. I am able to connect to the database thro' sqlplus, but when i try to connect using JDBC i am getting the follg error :
    java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNU
    M=135294976)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    can any one rectify this problem. I checked even java.policy file. Everything seems to be ok.
    Thx & regards
    jagan

  • ORACLE SSIS connection - ERROR

    What can I do to try to establish a connection between Oracle and SSIS?, this is so far the most frustrating experience with this tool.
    I have updated all the tns files that I have found in my pc. I have done tnsping to the database and I am getting an answer. But with SSIS anything seems to work.
    I am having the next error:
    Test connection failed because of an error in initializing provider. ORA-06413: Connection not open
    But the provider is not working of line
    I am new with this tool, if you can help or if you need more information ask me, but please be polite with your comments or answers
    I'm using SQL SERVER 2012 and Microsoft Visual Studio 2010

    Hi dj2907,
    Did you use
    Microsoft Connector Version 2.0 for Oracle by Attunity to load data into Oracle or unload data from Oracle in the context of Microsoft SSIS?
    I suggest that you should use this adapter to connect to an Oracle Database in SSIS. For more details about how to use this connector to establish a connection to Oracle, please refer to the following blog:
    http://www.sjoukjezaal.com/blog/2014/05/connecting-to-an-oracle-database-using-ssis-2008/
    Besides, as to the error message, the cause should be 64-bit Microsoft OS's install 32-bit applications into the following location
    "C:\Program Files (x86)\..."
    rather than the typical location of
    "C:\Program Files\..."
    This causes an existing networking bug to occur where the networking layer is unable to parse program locations that contain parenthesis in the path to the executable which is attempting to connect to Oracle.
    To fix this issue, please find the location of the application that is generating the error.  Check the path to this location and see if it contains any parenthesis.  If so, you must relocate the application to a directory without any parenthesis
    in the path.
    The following similar thread is for your reference:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/ab662d63-6385-4f73-b27f-d526048f601f/connecting-to-oracle-on-64bit-x64-machine?forum=sqlintegrationservices
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Jsp give me this error javax.servlet.ServletException: oracle.jdbc.driver.O

    Hi master
    Sir I use orace 9i easily in java class with following code
    ===========
    import java.sql.*;
    public class ttst {
    public ttst() {
    public static void main (String args [])
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@fahim:1521:aamir","muhammad","mfa786");
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery("select accid from accbal where accid='K1101'");
    System.out.println ("going for connection");
    while (rset.next())
    s= rset.getString("accid");
    System.out.println (s);
    catch(Exception e){
    e.printStackTrace();
    system give me right result
    and when I use jsp with this code
    <HTML>
    <%@ page import="java.sql.*,java.util.*" %>
    <% String url="jdbc:oracle:thin:@fahim:1521:aamir";
    Connection con;
    Statement stmt;
    ResultSet rs;
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    con = DriverManager.getConnection(url,"muhammad","mfa786");
    stmt=con.createStatement();
    %>
    <%
    %>
    <select name="ltpid">
    <%
    try{
    rs= stmt.executeQuery("select accid,title from chartofacc");
    while (rs.next()){
    %>
    <option Value=<%=rs.getString(1)%>> <%=rs.getString(2) %> </option>
    <%
    catch(Exception e){}
    %>
    </select>
    <br>
    TEST DONE!
    </HTML>
    sir I have class12.zip and class11.zip I same folder
    but system give me this error
    Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: oracle.jdbc.driver.OracleDriver
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
    at org.apache.jsp.bistest$jsp._jspService(bistest$jsp.java:128)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.service(IDEJspServlet.java:173)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.serviceJspFile(IDEJspServlet.java:246)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.service(IDEJspServlet.java:339)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:226)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.netbeans.modules.web.monitor.catalina.MonitorValve.invoke(MonitorValve.java:148)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:534)
    root cause
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1406)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1254)
    at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:198)
    at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at org.apache.jsp.bistest$jsp._jspService(bistest$jsp.java:70)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.service(IDEJspServlet.java:173)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.serviceJspFile(IDEJspServlet.java:246)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.service(IDEJspServlet.java:339)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:226)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.netbeans.modules.web.monitor.catalina.MonitorValve.invoke(MonitorValve.java:148)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:534)
    but jsp page not run
    please give me idea how I how my oracle data in jsp page
    thank
    aamir

    sir i post my problem but they reply me it java problem not oracle problem
    *** oracle reply**********
    You metioned that you use
    jdbc:oracle:thin:@<ip or hostname of machine where your db is installed>: 1521:aamir , description to connect the remote database. So, I think it's not related to your tnsname.ora problem. It's only java oracle thin connection string. Please check this string, make sure the ip and database service name is right.
    one more thing, use sqlplus check your tnsname.ora, if ok, then try to check jdbc and make sure the jdbc driver match to oracle server.
    sir please give me idea how i show my oracle data in clinet browser
    thank's
    aamir 

  • Oracle Discoverer 11g Error to create a new public connection

    Hi,
    Since i have install a new Discoverer 11g, i got this error.
    A connection error.
    - error while creating the session, check for other errors.
    - oracle.discoiv.connections.ConnectionStoreException: While trying to lookup 'jdbc.disco_pstore' didn't find subcontext 'jdbc'. Resolved ''
    - While trying to lookup 'jdbc.disco_pstore' didn't find subcontext 'jdbc'. Resolved ''
    - While trying to lookup 'jdbc.disco_pstore' didn't find subcontext 'jdbc'. Resolved ''
    unable to retrieve connection list
    - Cannot retrieve connection list. Check the Discoverer application log for more details.
    The installation is an stand-alone without OID but i know why - jdbc looking to the metadata of the pstore.
    The database schemas are created and populated by RCU by i cannot use the STAND ALONE mode.
    Cheers
    Edited by: unsolaris on 7-Apr-2012 5:14 PM

    Thank you for your hint, but ...
    In Metalink there are no results for me.
    This is my metalink address:
    https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(from=BOOKMARK&bmDocType=PROBLEM&bmDocDsrc=KB&bmDocTitle=Repository%20Assistant%20Fails%20With%20%22ORA-00942:%20table%20or%20view%20does%20not%20exist%22%20In%20Workspace%20Creation&viewingMode=1143&bmDocID=557067.1))
    Do you have another address?
    Thank you
    Regards
    Siegwin

  • Database Connection Error 42000:[Microsoft][ODBC driver for oracle] Syntax

    Hi,
      This is Sathish, I am trying to create a report and retrieve data through stored procedure using ODBC Connection. When connecting to the Stored Procedure it is showing Database Connection Error 42000:[Microsoft][ODBC driver for oracle] Syntax error or access violation' Error.
    CRXI R2, Oracle 9i.
    What do i do to solve this issue.
    Regards,
    Sathish

    Hi Satish
    It could be an issue with the driver.
    You can try with the OLEDB n Oracle native connection to test if the issue persists.
    Also you can refer to the [Troubleshooting Database Connectivity for Crystal Reports|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d05b3bb7-0f28-2c10-4ea3-84dbdc4e414e&overridelayout=true]
    Hope this helps!!
    Regards
    Sourashree

  • Problem in Oracle Database Connectivity in JSP

    I am having big problem such as Oracle Database connectivity problem
    Following code i am used for database connection. but it throw an exception call class not found exception.
    Pls any one can help me. With a sample code for Oracle Database connection in JSP
    Class.forName ("oracle.jdbc.driver.OracleDriver");
    String url="jdbc:oracle:thin:@172.25.44.54:1521:bbo";
    con = DriverManager.getConnection(url,"user", "user123");
    Thank you

    Well i've never used oracle or their drivers before but i'm presuming that you'd go to oracle.com or something and look for downloads. Otherwise you could goodle for Oracle JDBC drivers. Then just follow the instructions.
    Again i've never used JSP but if you have a manifest file somewhere you'll need to put a class-path: entry in their referecning the jar file with the driver so that it is availble at run-time.
    Wes

  • JSP Code to connect Oracle 10g Database

    Can some give the JSP code for connecting Oracle 10g database

    hi
    First u have to get ojdbc1.4.jar file ,,,, it is the driver for the oracle
    then use the following code :
    import java.sql.*;
    import java.util.*;
    public class connectionBean
         Connection con;
         Statement statement;
         connectionBean()
              try
            Class.forName("oracle.jdbc.driver.OracleDriver");
            con = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:Xe","hr","hr");
            statement=con.createStatement();
              catch(Exception cnfe){     }
         public void testMethod()throws  SQLException{
              ResultSet rs=statement.executeQuery("select * from COUNTRIES");
              while(rs.next())
              System.out.print(rs.getString(1));
         public static void main (String args[])throws  SQLException
              connectionBean cb=new connectionBean();
              cb.testMethod();
    }hope this will help
    Good luck
    Mohammed

  • [nQSError: 77030] Oracle BI Presentation Server Connection Error: Unable to resolve the address for cn.

    Hi Experts,
    When I use Agent functionality to send email in BIEE 11.1.1.7.0, it will generate the following error message as below:  Are you facing the same problem ? Please help me,Thanks very much.
    Global Error: [nQSError: 77030] Oracle BI Presentation Server Connection Error: Unable to resolve the address for cn.
    Error Codes: AXSBMN8D:
    The operation completed successfully.

    Can you try doing telnet to SMTP server from where BI server is installed and let us know the outcome.Just want to check if any firewall is blocking
    telnet hostname portnumber
    Thanks,

  • C# connect Oracle 10g XE Error

    From example
    http://www.oracle.com/technology/obe/hol08/dotnet/getstarted-c/getstarted_c_otn.htm
    using Oracle.DataAccess.Client; // ODP.NET Oracle managed provider
    using Oracle.DataAccess.Types;
    string oradb = "Data Source=ORCL;User Id=hr;Password=hr;";
    OracleConnection conn = new OracleConnection(oradb); // C#
    conn.Open(); <== Connect Error
    Error Message "ORA-12154: TNS:could not resolve the connect identifier specified"
    From question
    How to Connect Oracle Database 10g Express Edition ?
    How to entry in your tnsnames.ora file called "ORCL"?
    I'm beginner.
    Best Regards,

    Hi,
    I posted a reply in the other thread:
    Re: Connect Oracle Database 10g Express Edition Error?
    Regards,
    Mark

  • Error while creating Oracle DB connection in Endeca Intergrator 3.1

    Hi All,
    I am facing an issue while creating a new Oracle DB connection using Inegtator in 3.1 version.
    I get the following exception:
    loader constraint violation in interface itable initialization: when resolving method "oracle.jdbc.OracleConnectionWrapper.setWrapper(Loracle/jdbc/OracleConnection;)V" the class loader (instance of org/jetel/util/classloader/GreedyURLClassLoader) of the current class, oracle/jdbc/driver/OracleConnection, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for interface oracle/jdbc/OracleConnection have different Class objects for the type oracle/jdbc/OracleConnection used in the signature
    we dont have SID but service name and we use like the following in earlier versions:
    jdbc:oracle:thin:@localhost:1556/xx_yy.us.oracle.com
    Not sure what is the issue... Any pointers are appreciated!!
    Thanks in Advance,
    Kartik P.

    Could you have installed Integrator ETL Server into the same Tomcat instance as Studio?  That's not a supported configuration per http://docs.oracle.com/cd/E40518_01/integrator.311/integrator_install/toc.htm#Installing%20Integrator%20ETL%20Server%20on%20Tomcat : "Integrator ETL Server must be installed on a standalone Apache Tomcat. Do not install Integrator ETL Server on a Tomcat server that is being used to host other applications. For example, do not install Integrator ETL Server on the Tomcat that is hosting Studio. ".

  • AS connection error ORA - 03114 to Oracle

    Hi all
    Since 2 days we are facing an issue with our application server.
    B Wed Apr 30 07:23:53 2008
    B  ***LOG BV4=> reconnect state is set for the work process [dblink#2 @ 1772] [dblink  1772 ]
    B  ***LOG BYY=> work process left reconnect status [dblink#2 @ 1773] [dblink  1773 ]
    In the sqlnet.log we have the following error
    ***********************************************************************TNS-12541: TNS:no listener
    2560
    nnecting to:
    (DESCRIPTION=(SDU=32768)(ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=FRSD0APP01)(PORT=1527))(CONNECT_DATA=(SID=PEB)(GLOBAL_NAME=PEB.WORLD)(CID=(PROGRAM=D:\usr\sap\PEB\D00\exe\disp+work.EXE)(HOST=FRSD0APP07)(USER=SAPServicePEB))))
    TNS-12541: TNS:no listener
    2560
    nnecting to:
    (DESCRIPTION=(SDU=32768)(ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=FRSD0APP01)(PORT=1527))(CONNECT_DATA=(SID=PEB)(GLOBAL_NAME=PEB.WORLD)(CID=(PROGRAM=D:\usr\sap\PEB\D00\exe\disp+work.EXE)(HOST=FRSD0APP07)(USER=SAPServicePEB))))
        ns secondary err code: 12560
    nnecting to:
    (DESCRIPTION=(SDU=32768)(ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=FRSD0APP01)(PORT=1527))(CONNECT_DATA=(SID=PEB)(GLOBAL_NAME=PEB.WORLD)(CID=(PROGRAM=D:\usr\sap\PEB\D00\exe\disp+work.EXE)(HOST=FRSD0APP07)(USER=SAPServicePEB))))
        ns secondary err code: 12560
    32-bit Windows: Version 9.2.0.4.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 9.2.0.4.0 - Production
        nt main err code: 5115
    for 32-bit Windows: Version 9.2.0.4.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 9.2.0.4.0 - Production
        nt secondary err code: 61
    nt main err code: 5111
      Tr    00511: No listener
          Tns error struct:TNS-00511: No listener
    e:TNS-00511: No listener
      Tns error struct: code: 61
        nt secondary err code: 61
        nt OS err code: 0
        nt OS err code: 02541
        nt OS err code: 0
        ns main err code: 12541
        12541: TNS:no listener
        ns secondary err code: 12560
        nt main err code: 511
        TNS-00511: No listener
        nt secondary err code: 61
        nt OS err code: 0
        ns secondary err code: 12560
        nt main err code: 511
        TNS-00511: No listener
        nt secondary err code: 61
        nt OS err code: 0
    TNS-12541: TNS:no listener
    TNS-12541: TNS:no listener
        ns secondary err code: 12560
        ns secondary err code: 12560
        nt main err code: 511
        nt main err code: 511
        TNS-00511: No listener
    TNS-00511: No listenere: 61
        nt secondary err code: 61
        nt OS err code: 0
    After investigation we have see Note 690903 - Problems when you reconnect of work
    processes on Oracle
    But this error is not relevant for us.
    If someone can help us, thanks a lot

    Hi Peter
    This is an application server
    The listener is running on the CI
    But the TNSPING is OK.
    After a stop/start of the AS now eveything is working, but I would like to investigate further
    Best regards

Maybe you are looking for

  • How to get the project name in a Reporting Services Report in a Project Site?

    Hi, I developed a report using Reporting Services where I need to choose a project to see the report. I want to include it in a Project Site template using a SSRS Web part. As the report will be in a project web site, I would like the report appears

  • Audit report for block/release Vendor Invoices

    Dear Experts, I need a report for Internal Control purposes that traces the block / release invoices per Vendor, with the respective reasons, users involved , date, invoices amount.    Is there any standard report for it ?  Thank you for your help Ki

  • Indesign - Exporting PDF which has Transparency getting error in PITSTOP

    Hi all, Recently we are getting jobs which has" transparency" - effects used. We are getting problem when we run PITSTOP. We have an Indesign file with transparency in Opening page of an article. One background Image is there, over the image a strip

  • HTML report bugs to report?

    I did  experience two problem with the HTML report in LV6, LV8.0, LV8.5 and LV8.6. 1: When images are placed in the report these are generated in the temp folder. When the report is disposed, these files are not deleted. This will cause the temp fold

  • Bridge doesn't play movie files

    I have Bridge CS5 set to play movie files when it encounters them but for some reason it has decided to stop doing so.