This discussion is archived
0 Replies Latest reply: Jun 5, 2013 3:39 PM by user645950 RSS

Error in Tomcat Start Up

user645950 Newbie
Currently Being Moderated
Hi Experts,

We have following two demantra installations on windows XP box -

7.3.1.4.2
7.2.0.1

When starting the tomcat for 7.2.0.1, we are getting the following error :


---------------------------------------------------------------------------------------
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME: C:\Program Files\Java\jdk1.5.0_22
Jun 5, 2013 6:26:21 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8085
Jun 5, 2013 6:26:21 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 516 ms
Jun 5, 2013 6:26:21 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 5, 2013 6:26:21 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.19
Jun 5, 2013 6:26:21 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
log4j:WARN No appenders could be found for logger (org.apache.catalina.start
ldConfig).
log4j:WARN Please initialize the log4j system properly.
2013-06-05 18:26:22,218 [main] DEBUG appserver.system: Configuration file lo
> C:\Program Files\Demantra Spectrum7201\Collaborator\demantra\conf\logconf
2013-06-05 18:26:22,234 [main] DEBUG appserver.system: Logs will be dumped t
\Program Files\Demantra Spectrum7201\Collaborator\demantra\conf\..\logs\coll
ator.log
2013-06-05 18:26:22,234 [main] DEBUG appserver.system: Logs will be dumped t
\Program Files\Demantra Spectrum7201\Collaborator\demantra\conf\..\logs\inte
ion.log
2013-06-05 18:26:22,250 [main] DEBUG appserver.system: Value for parameter c
t.javaPlugin.downloadUrl was not specified, using ../plugin/
2013-06-05 18:26:22,296 [main] DEBUG appserver.system: Starting Service Dema
Application Server/7.2.0 (97)
.2013-06-05 18:26:22,812 [main] ERROR appserver.error:
java.sql.SQLException: Listener refused the connection with the following er
ORA-12514, TNS:listener does not currently know of service requested in conn
descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(PORT=1521)(HOST=localhost))(CONNECT_DAT
ERVICE_NAME=orcl)))

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.
:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.
:261)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.j
420)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)

---------------------------------------------------------------------------

The tomcat for 7.3.1.4.2 is working perfectly fine. Even we can connect to the database using command prompt. Can anyone point as why we are getting error - 'ORA-12514, TNS:listener does not currently know of service requested in connect descriptor' for one installation, but other is working just fine. Both installations are on the same database with sid - 'orcl', port -'1521' and hostname - 'localhost'.

Thanks
Regards
Jasvinder

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points