|
 |
j2ee thread: Re: j2ee digest: June 05, 2001
Message #1 by "Ian Spence" <ispence@b...> on Wed, 6 Jun 2001 19:50:19 +0800
|
|
The application could not find the Oracle net service "zeppelin". This is
defined in a file tnsnames.ora.
Check you have Oracle installed.
Then check environment variables ORACLE_HOME, TNS_ADMIN (optional).
ORACLE_HOME contains the base directory of your Oracle installation.
TNS_ADMIN (is optional) contains the directory path of your tnsnames file
location.
Test out oracle by connecting via sqlplus.
Ian Spence.
----- Original Message -----
From: "Java 2 Enterprise Edition digest" <j2ee@p...>
To: "j2ee digest recipients" <j2ee@p...>
Sent: Wednesday, June 06, 2001 7:02 AM
Subject: j2ee digest: June 05, 2001
> J2EE Digest for Tuesday, June 05, 2001.
>
> 1. Weblogic 6
>
> ----------------------------------------------------------------------
>
> Subject: Weblogic 6
> From: "Cameron Chambers" <cam_emo@c...>
> Date: Tue, 5 Jun 2001 21:54:32
> X-Message-Number: 1
>
> Been trying to run the examples in the Java 2 Enterprise Edition with BEA
> Weblogic Server but seem to be running into a snag getting it to work with
> version 6. Has anyone successfully done this?
>
> Edited the setEnv.cmd file has got me to the point where I get a message:
>
> java.sql.SQLException: ORA-12154: TNS:could not resolve service name -
> (scott/********@zeppelin)
> at weblogic.db.oci.OciConnection.getLDAException
> (OciConnection.java:161)
>
> at weblogic.jdbcbase.oci.Driver.connect(Driver.java:92)
> at java.sql.DriverManager.getConnection(DriverManager.java:517)
> at java.sql.DriverManager.getConnection(DriverManager.java:146)
> at utils.dbping.main(dbping.java:167)
>
>
>
>
> ---
>
> END OF DIGEST
>
>
>
|
|
 |