Tsnlistener

hi,
i am new to oracle and i just installed version 8.0.5 on linux.
when starting the listener, i get the following message
LSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=sid0))
TNS-12224: TNS:no listener
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=PNPKEY))
TNS-12224: TNS:no listener
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=comp4)(Port=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 8.0.5.0.0 -
Production
Start Date 22-JUN-99 22:15:09
Uptime 0 days 0 hr. 26 min. 6 sec
Trace Level err
Security OFF
SNMP ON
Listener Parameter File
/opt/oracle/product/8.0.5/network/admin/listener.ora
Listener Log File
/opt/oracle/product/8.0.5/network/log/listener.log
Listener Trace File
/opt/oracle/product/8.0.5/network/trace/listener.trc
Services Summary...
extproc has 1 service handler(s)
sid0 has 1 service handler(s)
The command completed successfully
LSNRCTL>
i don't understand the error message. do i have a problem and
how can i solve it?
thanks for your answer
axel
null

Hi,
First of all Thank you very much for the suggesion. And to further clarify you about the problem......
I can connect the Oracle Database and print the data even by letting the TSNlistner on. But I could do it only on the console. But I want to show it in a jsp. The thing is When i start TomCat then the TSNListner does not allow TomCat to overtake the Oracle Server. Hence TomCat does not run. And when I give a http request then the Oracle Servlet Engine page pops up. So How can I obtain the data from Oracle switching off the TSNListner and Running TomCat. I want the result in a jsp page. How to do that.

Similar Messages

  • JDBC Thin Drivers and Tom Cat Compatibility Error

    I tried to use thin drivers in JDK 1.4 and Oracle 9i. The Oracle 9i has got a jar file named classes12.jar.
    i usually compile my .java files with the command:
    javac -classpath D:\oracle\jdbc\lib\classes12.jar <nameOfFile.java>
    the same is run in the console by the command
    java -classpath D:\oracle\jdbc\classes12.jar; <nameOfClassFile>
    I am giving the entire code that I want to compile and run below.
    The problem thing I am facing is ..... When even I try to start TOMCAT v5.0 I have to close the TSNListener of Oracle 9i and let the Oracle database only running. But when I request for a execution of a servlet that uses the class file, it gives an error. Telling ClassNotFound. If I add up the classes12.jar file in the classpath then tom cat does not run properly.
    So may anyone help me out of the situation of how to use the thin drivers, compile and run servlets and jsp's in TomCat v5.0.
    If not the solution of my above problem, then I want to know how can I use the Thin Drivers and implement a MVC architechture using TOMCAT and JDK1.5 and JRE1.5

    Where did you add the classes12.jar file reference in Tomcat?
    You need not add it to classpath. Just drop the jar file into the path":
    <TomCatInstallDir>\common\lib
    Tomcat loads all Jars inside this folder and then uses it for Runtime. It does not look at your machine's Classpath attribute

Maybe you are looking for