I have a working ANT build.xml that executes sqlplus to compile PL/SQL. I develop on MacOSX. My coworker is going to start contributing to the same application. He develops on WinXP. The sqlplus exec from ANT returns a TNS ORA-12560 error on WinXP. The identical build.xml works on MacOSX. The run string that ANT should be constructing on WinXP works in the DOS shell. We have set up the TNS_ADMIN environment variable in WinXP. What could I be missing?
Migrating ANT sqlplus execution from MacOSX to Windows, getting TNS error
369 views Asked by dacracot At
1
There are 1 answers
Related Questions in ORACLE
- sqlplus myusername/mypassword@ORCL not working with Oracle on Docker
- Oracle setting up on k8s cluster using helm charts enterprise edition
- Oracle Managed Data Access Client can't work from IIS but work for local debug environment
- If composite indexing created - indexing is called?
- Oracle Http server ISNT-07551
- why here not creating table?
- Data migration from Oracle Database Clob to GCP Bucket
- SQL Alchemy custom type, forcing blob bind parameter
- How to send message to syslog agent in plsql
- Whatever the data available in previous record it should add to the new record
- I have an Oracle SQL query that is giving me a "ORA-00918: column ambiguously defined" error on a line that is a comment line
- 'ORA-12170: TNS:Connect timeout occurredORA-12170: TNS:Connect timeout occurred' ERROR while working on oracle with laravel
- Is their any way i can open parallel query tabs
- VSCode Libraries not showing for New Java Project
- I can't ssh to my instance, Connection refused
Related Questions in ANT
- How to build using Eclipse Tycho
- Ant Junit ForkMode with Suites
- Apache Ant - How to handle the target error?
- Ant dont upload file
- Eclipse Ant Javadoc - warning of no comment on private field
- Code coverage is not getting generated. Previously I used to get it properly, now they upgraded to rhel 8. Now, no code coverage is coming at all
- Extract *.jar from *.aar and import; Failed resolution of: Lcom/xxx/xxx/xxx/R$layout when APK running
- Ant continues to add the wrong jar file to the classpath even after I've changed it
- How to exclude Kotlin from OkHttp?
- Jetty Error: I' starting my web aap and all of sudden Getting this Error
- Can ant break upon encountering an undefined property?
- ZipException opening "xalan.jar"
- Using ResourceBundle and jar files with ant
- how can we invoke custom ant task from junit
- How do I configure VS Code to debug an opensource project written in Java that uses ANT as its build command?
Related Questions in TNS
- Can SQLSugar LIbrary cause error ORA-12537 and ORA-12571?
- Oracle Database Listener Issue on Windows Server with Public IP
- tns debug/build android returned with unexpected error
- Navigating nodes for select in XML (Crossapply,XMLnamespaces) SQL
- Could not find method compile() for arguments ... nativescript and nativescript-aws
- I/O error :The Network Adapter could not establish the connection
- ORA-12541: TNS : no listening process
- TNS:listener times out every 2 hours on VPN
- TNS BUILD FAILED: Error- cannot access IdentityCredential (NativeScript)
- Logging spring oracle connection details[Hibernate + Hikari + SpringBoot]
- tnsping cannot identify the line feed inside tnsnames.ora
- How to parse the Data part of the Oracle TNS protocol?
- Oracle plenty of timeout entries in log
- Not able to login to Oracle db from other user
- While connecting to Oracle 12c DB facing error ORA-12543: TNS : destination host unreachable
Related Questions in ORA-12560
- ERROR: ORA-12560: TNS:protocol adapter error after I had a Windows update today my Oracle database doesn't start any more
- HELPP -- Cannot start OracleServiceORCL
- Oracle 18c XE Windows 10 - SQLPlus returns TNS-12560 but everything else works
- Unable to connect oracle db with nodejs
- how can I solve ora 12560 TNS protocol adaptor error
- Unable to retrieve data from table using nodeJS. error: ORA-12560: TNS:protocol adapter error
- ORA-12560: TNS: PROTOCOL ADAPTER ERROR PHP, ORACLE, WAMP
- ORA-12560 TNS protocol adapter error
- ora-12560: TNS Protocol Adapter Error
- Oracle 10g users are expired
- Error ORA-12560 TNS:protocol adapter error
- Forms [ORA-12560: TNS:protocol adapter error]
- ORA-12560: TNS:protocol adaptor error after delete one database
- Cannot create connection in Oracle SQL Developer
- "ORA-12560: TNS:protocol adapter error" VS designer
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I'm not sure from your description whether you're using the ANT SQL Task (http://ant.apache.org/manual/Tasks/sql.html) or if your using the exec task to call Sqlplus. Can you please clarify?
If you're calling sqlplus as an external command, you will be at the mercy of two main things: a) environment variables b) tnsnames.ora file
Windows and unix are different in how they handle specifying where you want to connect. In OSX you'll have the ORACLE_HOME and ORACLE_SID environment variables set. In Windows this would be in the registry. You may also have TNS_ADMIN set which determines where your tnsnames.ora file will be found.
First thing to check would be if you are both using the same tnsnames.ora file.
If you are, have both of you try to run tnsping to verify that the alias is configured properly.
Get back to us with the results of those tests.