I'm really stuck on the simpliest example of liquibase migration taken from Oracle-Base. So I've created two files and put it into folder preset.
Contents of file controller.xml:
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.9.xsd">
<changeSet author="tim" id="01_tab1_seq">
<sqlFile dbms="oracle"
endDelimiter=";"
path="test.sql"
splitStatements="true"
relativeToChangelogFile="true"
stripComments="false"/>
</changeSet>
</databaseChangeLog>
Contents of file test.sql:
create or replace view asdas
as
select 1 val from dual
/
I open Windows Terminal Preview at this folder and try to perform a migration:
PS C:\Users\%USERNAME%\Desktop\preset> sql testuser/testuser#dev-db1
Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
SQLcl: Release 21.1 Production on Tue Jul 20 18:25:55 2021
Copyright (c) 1982, 2021, Oracle. All rights reserved.
Last Successful login time: Tue Jul 20 2021 18:25:57 +03:00
Connected to:
Oracle Database 19c Standard Edition 2 Release 19.0.0.0.0 - Production
Version 19.7.0.0.0
SQL> lb update -changelog controller.xml
Processing has failed for your request.
liquibase.exception.UnexpectedLiquibaseException: java.io.IOException: The file test.sql was not found in
- C:\Oracle\jdbc\lib\ojdbc8.jar
- C:\Oracle\jlib\orai18n-mapping.jar
- C:\Oracle\jlib\orai18n-utility.jar
- C:\Oracle\jlib\orai18n.jar
- C:\Oracle\lib\ojdbc8.jar
- C:\Oracle\modules\oracle.xdk\xmlparserv2.jar
- C:\Oracle\modules\org.glassfish.javax.json.jar
- C:\Oracle\rdbms\jlib\xdb6.jar
- C:\Oracle\sqlcl\lib
- C:\Oracle\sqlcl\lib\ST4.jar
- C:\Oracle\sqlcl\lib\antlr-runtime.jar
- C:\Oracle\sqlcl\lib\commons-codec.jar
- C:\Oracle\sqlcl\lib\commons-logging.jar
- C:\Oracle\sqlcl\lib\dbtools-common.jar
- C:\Oracle\sqlcl\lib\dbtools-data.jar
- C:\Oracle\sqlcl\lib\dbtools-http.jar
- C:\Oracle\sqlcl\lib\dbtools-net.jar
- C:\Oracle\sqlcl\lib\dbtools-sqlcl.jar
- C:\Oracle\sqlcl\lib\ext
- C:\Oracle\sqlcl\lib\ext\dbtools-liquibase.jar
- C:\Oracle\sqlcl\lib\ext\dbtools-modeler-cli-ext.jar
- C:\Oracle\sqlcl\lib\ext\dbtools-modeler-common.jar
- C:\Oracle\sqlcl\lib\ext\liquibase-core.jar
- C:\Oracle\sqlcl\lib\ext\snakeyaml-1.12.jar
- C:\Oracle\sqlcl\lib\guava.jar
- C:\Oracle\sqlcl\lib\httpclient5.jar
- C:\Oracle\sqlcl\lib\httpcore5.jar
- C:\Oracle\sqlcl\lib\httpmime.jar
- C:\Oracle\sqlcl\lib\jackson-annotations.jar
- C:\Oracle\sqlcl\lib\jackson-core.jar
- C:\Oracle\sqlcl\lib\jackson-jr-objects.jar
- C:\Oracle\sqlcl\lib\jackson-jr-stree.jar
- C:\Oracle\sqlcl\lib\jansi.jar
- C:\Oracle\sqlcl\lib\javax.json.jar
- C:\Oracle\sqlcl\lib\jdbcrest.jar
- C:\Oracle\sqlcl\lib\jline.jar
- C:\Oracle\sqlcl\lib\ojdbc8.jar
- C:\Oracle\sqlcl\lib\oraclepki.jar
- C:\Oracle\sqlcl\lib\orai18n-collation.jar
- C:\Oracle\sqlcl\lib\orai18n-mapping.jar
- C:\Oracle\sqlcl\lib\orai18n-servlet.jar
- C:\Oracle\sqlcl\lib\orai18n-utility.jar
- C:\Oracle\sqlcl\lib\orai18n.jar
- C:\Oracle\sqlcl\lib\orajsoda.jar
- C:\Oracle\sqlcl\lib\osdt_cert.jar
- C:\Oracle\sqlcl\lib\osdt_core.jar
- C:\Oracle\sqlcl\lib\slf4j-api.jar
- C:\Oracle\sqlcl\lib\slf4j-jdk14.jar
- C:\Oracle\sqlcl\lib\sshd-common.jar
- C:\Oracle\sqlcl\lib\sshd-contrib.jar
- C:\Oracle\sqlcl\lib\sshd-core.jar
- C:\Oracle\sqlcl\lib\xdb6.jar
- C:\Oracle\sqlcl\lib\xmlparserv2-sans-jaxp-services.jar
- C:\Oracle\sqlcl\lib\xmlparserv2.jar
- C:\Program Files\Java\jre1.8.0_291\lib\ext\access-bridge-64.jar
- C:\Program Files\Java\jre1.8.0_291\lib\ext\cldrdata.jar
- C:\Program Files\Java\jre1.8.0_291\lib\ext\dnsns.jar
- C:\Program Files\Java\jre1.8.0_291\lib\ext\jaccess.jar
- C:\Program Files\Java\jre1.8.0_291\lib\ext\jfxrt.jar
- C:\Program Files\Java\jre1.8.0_291\lib\ext\localedata.jar
- C:\Program Files\Java\jre1.8.0_291\lib\ext\nashorn.jar
- C:\Program Files\Java\jre1.8.0_291\lib\ext\sunec.jar
- C:\Program Files\Java\jre1.8.0_291\lib\ext\sunjce_provider.jar
- C:\Program Files\Java\jre1.8.0_291\lib\ext\sunmscapi.jar
- C:\Program Files\Java\jre1.8.0_291\lib\ext\sunpkcs11.jar
- C:\Program Files\Java\jre1.8.0_291\lib\ext\zipfs.jar
- C:\Users\%USERNAME%\Desktop\preset\ST4-4.3.1.jar
- C:\Users\%USERNAME%\Desktop\preset\antlr-runtime-3.5.2.jar
- C:\Users\%USERNAME%\Desktop\preset\commons-codec-1.15.jar
- C:\Users\%USERNAME%\Desktop\preset\commons-logging-1.2.0.0.1.jar
- C:\Users\%USERNAME%\Desktop\preset\dbtools-common-21.1.1.jar
- C:\Users\%USERNAME%\Desktop\preset\dbtools-data-21.1.1.jar
- C:\Users\%USERNAME%\Desktop\preset\dbtools-http-21.1.1.jar
- C:\Users\%USERNAME%\Desktop\preset\dbtools-net-21.1.1.jar
- C:\Users\%USERNAME%\Desktop\preset\dbtools-sqlcl-21.1.1.jar
- C:\Users\%USERNAME%\Desktop\preset\guava-30.1-jre.jar
- C:\Users\%USERNAME%\Desktop\preset\httpclient5-5.0.3.jar
- C:\Users\%USERNAME%\Desktop\preset\httpcore5-5.0.3.jar
- C:\Users\%USERNAME%\Desktop\preset\jackson-annotations-2.12.1.jar
- C:\Users\%USERNAME%\Desktop\preset\jackson-core-2.12.1.jar
- C:\Users\%USERNAME%\Desktop\preset\jackson-jr-objects-2.12.1.jar
- C:\Users\%USERNAME%\Desktop\preset\jackson-jr-stree-2.12.1.jar
- C:\Users\%USERNAME%\Desktop\preset\jansi-1.18.jar
- C:\Users\%USERNAME%\Desktop\preset\javax.activation-api-1.2.0.jar
- C:\Users\%USERNAME%\Desktop\preset\javax.json-1.1.4.jar
- C:\Users\%USERNAME%\Desktop\preset\jaxb-api-2.4.0-b180830.0359.jar
- C:\Users\%USERNAME%\Desktop\preset\jdbcrest-21.1.1.jar
- C:\Users\%USERNAME%\Desktop\preset\jline-2.14.6.jar
- C:\Users\%USERNAME%\Desktop\preset\low-level-api-13.0.0.jar
- C:\Users\%USERNAME%\Desktop\preset\ojdbc8-21.0.0.jar
- C:\Users\%USERNAME%\Desktop\preset\oraclepki-21.0.0.jar
- C:\Users\%USERNAME%\Desktop\preset\orai18n-21.0.0.jar
- C:\Users\%USERNAME%\Desktop\preset\orai18n-mapping-21.0.0.jar
- C:\Users\%USERNAME%\Desktop\preset\orai18n-utility-21.0.0.jar
- C:\Users\%USERNAME%\Desktop\preset\orajsoda-1.1.6.jar
- C:\Users\%USERNAME%\Desktop\preset\osdt_cert-21.0.0.jar
- C:\Users\%USERNAME%\Desktop\preset\osdt_core-21.0.0.jar
- C:\Users\%USERNAME%\Desktop\preset\slf4j-api-1.7.30.jar
- C:\Users\%USERNAME%\Desktop\preset\slf4j-jdk14-1.7.30.jar
- C:\Users\%USERNAME%\Desktop\preset\sshd-common-2.6.0.jar
- C:\Users\%USERNAME%\Desktop\preset\sshd-contrib-2.6.0.jar
- C:\Users\%USERNAME%\Desktop\preset\sshd-core-2.6.0.jar
- C:\Users\%USERNAME%\Desktop\preset\sshd-scp-2.6.0.jar
- C:\Users\%USERNAME%\Desktop\preset\sshd-sftp-2.6.0.jar
- C:\Users\%USERNAME%\Desktop\preset\ucp-21.0.0.jar
- C:\Users\%USERNAME%\Desktop\preset\xdb6-21.0.0.jar
- C:\Users\%USERNAME%\Desktop\preset\xmlparserv2-sans-jaxp-services-21.0.0.jar
- C:\jdbc\lib\ojdbc8.jar
- C:\jlib\orai18n-mapping.jar
- C:\jlib\orai18n-utility.jar
- C:\jlib\orai18n.jar
- C:\rdbms\jlib\xdb6.jar
Specifying files by absolute path was removed in Liquibase 4.0. Please use a relative path or add '/' to the classpath parameter.
Even though I'm running sqlcl from the same directory I get the error above. One can see that directory C:\Users\%USERNAME%\Desktop\preset\ is not on the list. Instead there is a bunch of jar files that don't persist in this directory.
My OS version is Windows 10. Here's versions of tools I use:
PS C:\Users\%USERNAME%\Desktop\preset> sql testuser/testuser#dev-db1
Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
SQLcl: Release 21.1 Production on Tue Jul 20 18:35:55 2021
Copyright (c) 1982, 2021, Oracle. All rights reserved.
Last Successful login time: Tue Jul 20 2021 18:35:57 +03:00
Connected to:
Oracle Database 19c Standard Edition 2 Release 19.0.0.0.0 - Production
Version 19.7.0.0.0
SQL> lb version
Liquibase version: 4.3.1
Extension Version: 21.1.1.0
Any thoughts will be appreciated.
EDIT:
I've tried to run it using Windows 10 Linux Subsystem and it worked:
roman#UBUNTU-LT:/mnt/c/Users/%USERNAME%/Desktop/preset$ sql testuser/testuser#dev-db1
SQLcl: Release 21.1 Production on Thu Jul 22 16:54:14 2021
Copyright (c) 1982, 2021, Oracle. All rights reserved.
Last Successful login time: Thu Jul 22 2021 16:54:18 +03:00
Connected to:
Oracle Database 19c Standard Edition 2 Release 19.0.0.0.0 - Production
Version 19.7.0.0.0
SQL> lb update -changelog controller.xml
######## ERROR SUMMARY ##################
Errors encountered:0
SQL>
Looks like there's something with running it under Windows environment.
Related
Sysdba not logging other users are logging below, how to
fix it, able to login to other users successfully, please find below, only with sysdba not working
[oracle#dztupbin]$ ./sqlplus SYSTEM/"oracle"
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:09 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Last Successful login time: Thu Apr 28 2022 11:05:00 +01:00
Connected to:
Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
[oracle#dztup bin]$ ./sqlplus SYSTEM/"oracle" as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:18 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
sqlplus / as sysdba also giving same result:-
./sqlplus / as sysdba
ERROR:
ORA-01017: invalid username/password; logon denied
[oracle#dztup bin]$ ./sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:18 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
I connected to sys user now:-
[oracle#dztup bin]$ ./sqlplus system/"oracle"
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 13:25:51 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Last Successful login time: Thu Apr 28 2022 13:25:15 +01:00
Connected to:
Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
SQL> conn sys as sysdba
Enter password:
Connected.
SQL>
SQL>
SQL>
SQL> show user
USER is "SYS"
granted sysdba privilige to system user now able to connect:
but still sqlplus / as sysdba not working.
[oracle#dztup bin]$ ./sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:18 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
SYSDBA is a privilege, not a user. The SYSTEM account does not have SYSDBA privileges, by default. The only account with default SYSDBA privileges is SYS, which is usually authenticated locally by the operating system. e.g.:
sqlplus / as sysdba
If you have granted SYSDBA privileges to other users, then those users are authenticated against a separate password file when logging in with the SYSDBA role, and not the normal password hash. The password file is not updated automatically when the users' normal password is changed (as with ALTER USER x IDENTIFIED BY pass). To update the password in the password file you must re-grant SYSDBA privileges to the user; otherwise use the old password.
Have a job which takes around 1/2 minutes to finish, now trying to run this job through the command line just goes on forever and doesn't finish. It doesn't look like I get any errors from this either. So the job seems to be starting and I know the job works correctly since it works within spoon, any ideas?
C:\Users\a\Downloads\pdi-ce-8.3.0.0-371\data-integration> Kitchen.bat
/file:C:\Users\a\Downloads\pdi-ce-8.3.0.0-371\data-integration\job.kjb
/level:Minimal
DEBUG: Using PENTAHO_JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jre1.8.0_231 DEBUG: _PENTAHO_JAVA=C:\Program Files\Java\jre1.8.0_231\bin\java.exe
C:\Users\a\Downloads\pdi-ce-8.3.0.0-371\data-integration>"C:\Program
Files\Java\jre1.8.0_231\bin\java.exe" "-Xms1024m" "-Xmx2048m"
"-XX:MaxPermSize=256m" "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2"
"-Djava.library.path=libswt\win64" "-DKETTLE_HOME="
"-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD="
"-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT="
"-DKETTLE_JNDI_ROOT=" -jar launcher\launcher.jar -lib ..\libswt\win64
-main org.pentaho.di.kitchen.Kitchen -initialDir "C:\Users\a\Downloads\pdi-ce-8.3.0.0-371\data-integration"\
/file:C:\Users\a\Downloads\pdi-ce-8.3.0.0-371\data-integration\job.kjb
/level:Minimal Java HotSpot(TM) 64-Bit Server VM warning: ignoring
option MaxPermSize=256m; support was removed in 8.0 13:58:07,867 INFO
[KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is
enabled 13:58:12,006 INFO [KarafInstance]
* Karaf Instance Number: 2 at C:\Users\a\Downloads\pdi-ce-8.3.0.0-
371\data-integration.\system\karaf\caches\kitchen\data-1
FastBin Provider Port:52902
Karaf Port:8803
OSGI Service Port:9052 *
******************************************************************************* Dec 19, 2019 1:58:12 PM org.apache.karaf.main.Main$KarafLockCallback
lockAquired INFO: Lock acquired. Setting startlevel to 100 2019/12/19
13:58:12 - Kitchen - Logging is at level : Minimal 2019/12/19 13:58:12
- Kitchen - Start of run. 2019-12-19 13:58:15.902:INFO:oejs.Server:jetty-8.1.15.v20140411 2019-12-19
13:58:15.955:INFO:oejs.AbstractConnector:Started
NIOSocketConnectorWrapper#0.0.0.0:9052 Dec 19, 2019 1:58:16 PM
org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions INFO:
Adding the extensions from bundle org.apache.cxf.cxf-rt-management
(182) [org.apache.cxf.management.InstrumentationManager] Dec 19, 2019
1:58:16 PM org.apache.cxf.bus.osgi.CXFExtensionBundleListener
addExtensions INFO: Adding the extensions from bundle
org.apache.cxf.cxf-rt-transports-http (183)
[org.apache.cxf.transport.http.HTTPTransportFactory,
org.apache.cxf.transport.http.HTTPWSDLExtensionLoader,
org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,
org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,
org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]
Dec 19, 2019 1:58:16 PM
org.pentaho.caching.impl.PentahoCacheManagerFactory$RegistrationHandler$1
onSuccess INFO: New Caching Service registered 2019/12/19 13:58:17 -
job - Start of job execution Dec 19, 2019 1:58:18 PM
org.apache.cxf.endpoint.ServerImpl initDestination INFO: Setting the
server's publish address to be /lineage Dec 19, 2019 1:58:18 PM
org.apache.cxf.endpoint.ServerImpl initDestination INFO: Setting the
server's publish address to be /i18n Dec 19, 2019 1:58:19 PM
org.apache.cxf.endpoint.ServerImpl initDestination INFO: Setting the
server's publish address to be /marketplace
Update
Tried deleting kitchen cache from Karaf cache starting running but job never finished, now I'm running the job with a debug level and getting these results. Still, the job doesn't get any further than this, Job works in spoon so cannot be related to the job.
C:\Users\a\Downloads\pdi-ce-8.3.0.0-371\data-integration>kitchen.bat
/file:C:\Users\a\Downloads\pdi-ce-8.3.0.0-371\data-integration\Job.kjb
/level:Debug
DEBUG: Using PENTAHO_JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jre1.8.0_231
DEBUG: _PENTAHO_JAVA=C:\Program Files\Java\jre1.8.0_231\bin\java.exe
C:\Users\a\Downloads\pdi-ce-8.3.0.0-371\data-integration>"C:\Program
Files\Java\jre1.8.0_231\bin\java.exe" "-Xms1024m" "-Xmx2048m"
"-XX:MaxPermSize=256m" "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2"
"-Djava.library.path=libswt\win64" "-DKETTLE_HOME="
"-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD="
"-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT="
"-DKETTLE_JNDI_ROOT=" -jar launcher\launcher.jar -lib ..\libswt\win64
-main org.pentaho.di.kitchen.Kitchen -initialDir "C:\Users\a\Downloads\pdi-ce-8.3.0.0-371\data-integration"\
/file:C:\Users\a\Downloads\pdi-ce-8.3.0.0-371\data-integration\Job.kjb
/level:Debug
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=256m; support was removed in 8.0
08:07:33,026 INFO [KarafBoot] Checking to see if
org.pentaho.clean.karaf.cache is enabled
08:07:37,211 INFO [KarafInstance]
* Karaf Instance Number: 1 at C:\Users\a\Downloads\pdi-ce-8.3.0.0- *
* 371\data-integration.\system\karaf\caches\kitchen\data-1 *
* FastBin Provider Port:52901 *
* Karaf Port:8802 *
* OSGI Service Port:9051 *
Dec 23, 2019 8:07:38 AM org.apache.karaf.main.Main$KarafLockCallback
lockAquired
INFO: Lock acquired. Setting startlevel to 100
2019/12/23 08:07:38 - Kitchen - Logging is at level : Debug
2019/12/23 08:07:38 - Kitchen - Start of run.
2019/12/23 08:07:38 - Kitchen - Allocate new job.
2019/12/23 08:07:38 - Kitchen - Parsing command line options.
2019-12-23 08:07:43.475:INFO:oejs.Server:jetty-8.1.15.v20140411
2019-12-23 08:07:43.538:INFO:oejs.AbstractConnector:Started
NIOSocketConnectorWrapper#0.0.0.0:9051
Dec 23, 2019 8:07:43 AM
org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle
org.apache.cxf.cxf-rt-management (182)
[org.apache.cxf.management.InstrumentationManager]
Dec 23, 2019 8:07:43 AM
org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle
org.apache.cxf.cxf-rt-transports-http (183)
[org.apache.cxf.transport.http.HTTPTransportFactory,
org.apache.cxf.transport.http.HTTPWSDLExtensionLoader,
org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,
org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,
org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]
Dec 23, 2019 8:07:44 AM
org.pentaho.caching.impl.PentahoCacheManagerFactory$RegistrationHandler$1
onSuccess
INFO: New Caching Service registered
2019/12/23 08:07:45 - Job - Start of job execution
2019/12/23 08:07:45 - Job - exec(0, 0, START.0)
2019/12/23 08:07:45 - START - Starting job entry
2019/12/23 08:07:45 - Job - Job
Dec 23, 2019 8:07:46 AM org.apache.cxf.endpoint.ServerImpl
initDestination
INFO: Setting the server's publish address to be /lineage
Dec 23, 2019 8:07:47 AM org.apache.cxf.endpoint.ServerImpl
initDestination
INFO: Setting the server's publish address to be /i18n
Dec 23, 2019 8:07:48 AM org.apache.cxf.endpoint.ServerImpl
initDestination
INFO: Setting the server's publish address to be /marketplace
2019/12/23 08:07:55 - Job - Triggering heartbeat signal
for Job at every 10 seconds
Something deeper must have been corrupted, as I deleted all files, downloaded the latest version, and it worked.
to run from command line you have to run below command
path to kitchen.sh/kitchen.sh -file=".ktr filename" --level=Debug >> "log.txt"
i have an oracle server 12c and would like to connect from an windows machine with sqlplus.
Server-Version is 12.2.0.1
SQLPlus is 11.2.0.1
when i connect to the server like "sqlplus user/pass#ORCL" i got the error
ORA-01017: invalid username/password; logon denied
The credentials are correct. With SQLPlus 12.2 it works fine.
By checking support matrix it should be work also with 11.2.0
So here is my tnsnames.ora from the windowsclient
ORCL =
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=10.162.6.52)
(PORT=1521)
)
(CONNECT_DATA=
(SERVER = DEDICATED)
(SID=orcltok)
)
)
the PASSWORD_VERSION for the User is for 11g and 12c.
i have checked by from dba_users.
i hope someone have a tip for me.
Best wishes
Oliver
I was very interested in your task, I put an experiment on oracle XE 11g and instant client 11.
1. USER SCOTT password Tiger
2. USER Scott password TigeR
C:\app\oracle\product\11.2.0\client_1>sqlplus.exe system/password#aws
SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 19 22:05:00 2018
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
SQL> alter user SCOTT identified by Tiger;
SQL> select * from all_users;
USERNAME USER_ID CREATED
------------------------------ ---------- ---------
XS$NULL 2147483638 28-AUG-11
SCOTT 48 19-JAN-18
APEX_040000 47 28-AUG-11
APEX_PUBLIC_USER 45 28-AUG-11
FLOWS_FILES 44 28-AUG-11
HR 43 28-AUG-11
MDSYS 42 28-AUG-11
ANONYMOUS 35 28-AUG-11
XDB 34 28-AUG-11
CTXSYS 32 28-AUG-11
OUTLN 9 28-AUG-11
USERNAME USER_ID CREATED
------------------------------ ---------- ---------
SYSTEM 5 28-AUG-11
SYS 0 28-AUG-11
13 rows selected.
SQL> create user "Scott" identified by TigeR ;
User created.
SQL> grant connect to "Scott";
Grant succeeded.
SQL> select * from all_users;
USERNAME USER_ID CREATED
------------------------------ ---------- ---------
XS$NULL 2147483638 28-AUG-11
Scott 51 19-JAN-18
SCOTT 48 19-JAN-18
APEX_040000 47 28-AUG-11
APEX_PUBLIC_USER 45 28-AUG-11
FLOWS_FILES 44 28-AUG-11
HR 43 28-AUG-11
MDSYS 42 28-AUG-11
ANONYMOUS 35 28-AUG-11
XDB 34 28-AUG-11
CTXSYS 32 28-AUG-11
USERNAME USER_ID CREATED
------------------------------ ---------- ---------
OUTLN 9 28-AUG-11
SYSTEM 5 28-AUG-11
SYS 0 28-AUG-11
14 rows selected.
C:\app\oracle\product\11.2.0\client_1>sqlplus.exe "Scott"/Tiger#aws
SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 19 22:10:31 2018
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
SQL> show user
USER is "SCOTT"
SQL>
C:\app\oracle\product\11.2.0\client_1>sqlplus.exe "Scott"/TigeR#aws
SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 19 22:14:41 2018
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
C:\app\oracle\product\11.2.0\client_1>sqlplus.exe /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 19 22:15:22 2018
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> connect Scott/TigeR#aws
ERROR:
ORA-01017: invalid username/password; logon denied
SQL> connect "Scott"/TigeR#aws
Connected.
SQL> show user
USER is "Scott"
SQL>
Example 2. sqlplus 12.2.0 instant client 12.2.0.1
C:\oracle\instantclient_12_2>sqlplus.exe Scott/Tiger#aws
SQL*Plus: Release 12.2.0.1.0 Production on Mon Jan 22 09:42:08 2018
Copyright (c) 1982, 2017, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
SQL> show user
USER is "SCOTT"
SQL>
C:\oracle\instantclient_12_2>sqlplus.exe "Scott"/"Tiger"#aws
SQL*Plus: Release 12.2.0.1.0 Production on Mon Jan 22 09:44:46 2018
Copyright (c) 1982, 2017, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
SQL> show user
USER is "SCOTT"
SQL> exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
C:\oracle\instantclient_12_2>sqlplus.exe /nolog
SQL*Plus: Release 12.2.0.1.0 Production on Mon Jan 22 09:45:48 2018
Copyright (c) 1982, 2017, Oracle. All rights reserved.
SQL> conn Scott/TigeR#aws
ERROR:
ORA-01017: invalid username/password; logon denied
SQL> conn "Scott"/TigeR#aws
Connected.
SQL> show user
USER is "Scott"
SQL>
If the user name contains letters in different registers, then sqlplus 11 and 12 translates the username to upper case always. If you run it like this
sqlpus "Scott"/TigeR#aws this is equivalent to sqlpus "SCOTT"/TigeR#aws.
If you first run the sqlplus /nolog command
and then connect "Scott"/TigeR#aws. That all connects.
I have setup new Msbuild sonar runner and kickoff analysis for a project type "class library". It went successful. To test it further,
I have created one more project which has only one file with 5 Interface definitions.
I made sure that names of interfaces NOT started with letter 'i'.
I created a quality profile with one stylecop rule i.e. "Interface names must begin with i".
I started cmd prompt (VS command prompt) and change it's path to the directory which has .csproj file. Clearly I am NOT at .sln file level. precisely one more level down where we can see .csproj file.
Fired Begin - msbuild -end sequence.
It shows ANALYSIS SUCCESSFUL but when I don't see any issues on dashboard ( Issues zero where as I expect 5, each one is for one interface).
After careful observation of Log, It shows following message. I am not sure that I quite understand it.
WARNING: File is not under the project directory and cannot currently be analysed by SonarQube. File: C:\Users\raja.moparthi\AppData\Local\Temp.NETFramework,Version=v4.5.AssemblyAttributes.cs, project: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\TestFib2.csproj
Please let me know what is going wrong here.
Begin command Log given below :
Default properties file was found at D:\MsBuildSonarQubeRunner\SonarQube.Analysis.xml
Loading analysis properties from D:\MsBuildSonarQubeRunner\SonarQube.Analysis.xml
Pre-processing started.
Using environment variables to determine the download directory...
Removing the existing directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube
Creating directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube
Creating directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\bin
SonarQube server url: http://{SonarQube ServerName: I removed it}:9000/
Downloading SonarQube.MSBuild.Runner.Implementation.zip from http://{SonarQube ServerName: I removed it}/static/csharp/SonarQube.MSBuild.Runner.Implementation.zip to D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\bin\SonarQube.MSBuild.Runner.Implementation.zip
Executing file D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\bin\MSBuild.SonarQube.Internal.PreProcess.exe
Args: "/k:FibTest" "/n:FibTestAnalysis" "/v:1.0.0.0" "/s:D:\MsBuildSonarQubeRunner\SonarQube.Analysis.xml"
Working directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube
Timeout (ms):-1
Process id: 4692
10:51:21 PM Loading analysis properties from D:\MsBuildSonarQubeRunner\SonarQube.Analysis.xml
10:51:21 PM The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\raja.moparthi\AppData\Local\Microsoft\MSBuild\14.0\Microsoft.Common.targets\ImportBefore
10:51:21 PM The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\raja.moparthi\AppData\Local\Microsoft\MSBuild\12.0\Microsoft.Common.targets\ImportBefore
10:51:21 PM The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\raja.moparthi\AppData\Local\Microsoft\MSBuild\4.0\Microsoft.Common.targets\ImportBefore
10:51:21 PM Not running under TeamBuild
10:51:21 PM Analysis base directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube
Build directory:
Bin directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\bin
Config directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\conf
Output directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\out
Config file: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\out
10:51:21 PM Creating config and output folders...
10:51:21 PM Creating directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\conf
10:51:21 PM Creating directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\out
10:51:21 PM Generating the FxCop ruleset: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\conf\SonarQubeFxCop-cs.ruleset
10:51:22 PM Generating the FxCop ruleset: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\conf\SonarQubeFxCop-vbnet.ruleset
10:51:22 PM Saving the config file to D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\conf\SonarQubeAnalysisConfig.xml
Process returned exit code 0
Pre-processing succeeded.
----------------
Msbuild command log is given below.
Microsoft (R) Build Engine version 12.0.21005.1
[Microsoft .NET Framework, version 4.0.30319.34209]
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 9/8/2015 10:51:36 PM.
Project "D:\SonarQube-Test-Projects\Fibanocci\TestFib2\TestFib2.csproj" on node 1 (default targets).
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
CoreCompile:
Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files.
_CopyAppConfigFile:
Skipping target "_CopyAppConfigFile" because all output files are up-to-date with respect to the input files.
CopyFilesToOutputDirectory:
TestFib2 -> D:\SonarQube-Test-Projects\Fibanocci\TestFib2\bin\Debug\TestFib2.exe
OverrideCodeAnalysisProperties:
Skipping FxCop analysis: the SonarQube ruleset does not exist. Ruleset: D:\SonarQube-Test-Projects\Fibanocci
\TestFib2\.sonarqube\conf\\SonarQubeFxCop-cs.ruleset
Skipping FxCop analysis: the project is a test project
SetStyleCopAnalysisSettings:
Setting 'sonar.stylecop.projectFilePath' to 'D:\SonarQube-Test-Projects\Fibanocci\TestFib2\TestFib2.csproj'
WriteSonarQubeProjectData:
Directory "D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\out\\TestFib2__AnyCPU_Debug_635773494965392474" doesn't exist. Skipping.
Creating directory "D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\out\\TestFib2__AnyCPU_Debug_635773494965392474".
Done Building Project "D:\SonarQube-Test-Projects\Fibanocci\TestFib2\TestFib2.csproj" (default targets).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.32
End
----------------
End command log is given below.
Default properties file was found at D:\MsBuildSonarQubeRunner\SonarQube.Analysis.xml
Loading analysis properties from D:\MsBuildSonarQubeRunner\SonarQube.Analysis.xml
Post-processing started.
Using environment variables to determine the download directory...
Executing file D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\bin\MSBuild.SonarQube.Internal.PostProcess.exe
Args:
Working directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube
Timeout (ms):-1
Process id: 8528
10:51:54 PM Not running under TeamBuild
10:51:54 PM Analysis base directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube
Build directory:
Bin directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\bin
Config directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\conf
Output directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\out
Config file: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\out
10:51:54 PM Loading the SonarQube analysis config from D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\conf\SonarQubeAnalysisConfig.xml
10:51:54 PM Generating SonarQube project properties file to D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\out\sonar-project.properties
10:51:54 PM WARNING: File is not under the project directory and cannot currently be analysed by SonarQube. File: C:\Users\raja.moparthi\AppData\Local\Temp\.NETFramework,Version=v4.5.AssemblyAttributes.cs, project: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\TestFib2.csproj
10:51:54 PM Writing processing summary to D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\out\ProjectInfo.log
10:51:54 PM Creating directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\bin\sonar-runner
10:51:54 PM The SONAR_RUNNER_HOME environment variable is not required and will be ignored.
10:51:54 PM Calling the sonar-runner...
10:51:54 PM SONAR_RUNNER_OPTS is not configured. Setting it to the default value of -Xmx1024m
10:51:54 PM Setting environment variable 'SONAR_RUNNER_OPTS'. Value: -Xmx1024m
10:51:54 PM Executing file D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\bin\sonar-runner\bin\sonar-runner.bat
Args: -Dproject.settings="D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\out\sonar-project.properties"
Working directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\bin\sonar-runner\bin
Timeout (ms):-1
Process id: 11196
10:51:54 PM D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\bin\sonar-runner\bin\..
10:51:54 PM SonarQube Runner 2.4
10:51:54 PM Java 1.8.0_60 Oracle Corporation (64-bit)
10:51:54 PM Windows 7 6.1 amd64
10:51:54 PM SONAR_RUNNER_OPTS=-Xmx1024m
10:51:54 PM INFO: Runner configuration file: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\bin\sonar-runner\bin\..\conf\sonar-runner.properties
10:51:54 PM INFO: Project configuration file: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\out\sonar-project.properties
10:51:54 PM INFO: Default locale: "en_US", source code encoding: "UTF-8"
10:51:54 PM INFO: Work directory: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\out\.sonar
10:51:55 PM INFO: SonarQube Server 5.0.1
10:51:56 PM 22:51:56.238 INFO - Load global referentials...
10:51:57 PM 22:51:57.049 INFO - Load global referentials done: 813 ms
10:51:57 PM 22:51:57.055 INFO - User cache: C:\Users\raja.moparthi\.sonar\cache
10:51:57 PM 22:51:57.065 INFO - Install plugins
10:51:57 PM 22:51:57.390 INFO - Install JDBC driver
10:51:57 PM 22:51:57.600 INFO - Create JDBC datasource for jdbc:jtds:sqlserver://{DB server- I removed original server name for security purpose}/sonar;SelectMethod=Cursor
10:52:04 PM 22:52:04.530 INFO - Initializing Hibernate
10:52:07 PM 22:52:07.162 INFO - Load project referentials...
10:52:10 PM 22:52:10.353 INFO - Load project referentials done: 3191 ms
10:52:10 PM 22:52:10.354 INFO - Load project settings
10:52:10 PM 22:52:10.884 INFO - Loading technical debt model...
10:52:11 PM 22:52:11.930 INFO - Loading technical debt model done: 1046 ms
10:52:11 PM 22:52:11.936 INFO - Apply project exclusions
10:52:20 PM 22:52:20.949 WARN - SCM provider autodetection failed. No SCM provider claims to support this project. Please use sonar.scm.provider to define SCM of your project.
10:52:20 PM 22:52:20.951 INFO - ------------- Scan TestFib2
10:52:20 PM 22:52:20.955 INFO - Load module settings
10:52:57 PM 22:52:57.308 INFO - Loading rules...
10:53:07 PM 22:53:07.904 INFO - Loading rules done: 10596 ms
10:53:08 PM 22:53:08.100 INFO - Configure Maven plugins
10:53:10 PM 22:53:10.219 INFO - Compare to previous analysis (2015-09-08)
10:53:10 PM 22:53:10.439 INFO - Compare over 30 days (2015-08-09, analysis of 2015-09-08 21:09:01.457)
10:53:10 PM 22:53:10.441 INFO - No quality gate is configured.
10:53:10 PM 22:53:10.513 INFO - Base dir: D:\SonarQube-Test-Projects\Fibanocci\TestFib2
10:53:10 PM 22:53:10.514 INFO - Working dir: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\out\.sonar\FibTest_FibTest_B51D1FBF-8925-45C4-B8C8-5DBE2F60DBCE
10:53:10 PM 22:53:10.518 INFO - Test paths: Program.cs, Properties/AssemblyInfo.cs, App.config
10:53:10 PM 22:53:10.519 INFO - Source encoding: UTF-8, default locale: en_US
10:53:10 PM 22:53:10.519 INFO - Index files
10:53:10 PM 22:53:10.576 INFO - 2 files indexed
10:53:15 PM 22:53:15.923 INFO - Quality profile for cs: Mks Test Rules
10:53:15 PM 22:53:15.949 INFO - Sensor QProfileSensor...
10:53:15 PM 22:53:15.961 INFO - Sensor QProfileSensor done: 12 ms
10:53:15 PM 22:53:15.961 INFO - Sensor InitialOpenIssuesSensor...
10:53:17 PM 22:53:17.547 INFO - Sensor InitialOpenIssuesSensor done: 1586 ms
10:53:17 PM 22:53:17.548 INFO - Sensor ProjectLinksSensor...
10:53:18 PM 22:53:18.541 INFO - Sensor ProjectLinksSensor done: 993 ms
10:53:19 PM 22:53:19.130 INFO - Sensor VersionEventsSensor...
10:53:21 PM 22:53:21.896 INFO - Sensor VersionEventsSensor done: 2766 ms
10:53:21 PM 22:53:21.896 INFO - Sensor FileHashSensor...
10:53:21 PM 22:53:21.904 INFO - Sensor FileHashSensor done: 8 ms
10:53:21 PM 22:53:21.904 INFO - Sensor SCM Sensor...
10:53:21 PM 22:53:21.904 INFO - No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.
10:53:21 PM 22:53:21.904 INFO - Sensor SCM Sensor done: 0 ms
10:53:21 PM 22:53:21.904 INFO - Sensor CPD Sensor...
10:53:21 PM 22:53:21.905 INFO - DefaultCpdEngine is used for cs
10:53:21 PM 22:53:21.906 INFO - Sensor CPD Sensor done: 2 ms
10:53:22 PM 22:53:22.118 INFO - Execute decorators...
10:53:28 PM 22:53:28.033 INFO - ------------- Scan FibTestAnalysis
10:53:28 PM 22:53:28.039 INFO - Load module settings
10:53:28 PM 22:53:28.086 INFO - Configure Maven plugins
10:53:28 PM 22:53:28.291 INFO - Compare to previous analysis (2015-09-08)
10:53:28 PM 22:53:28.491 INFO - Compare over 30 days (2015-08-09, analysis of 2015-09-08 21:09:01.457)
10:53:28 PM 22:53:28.493 INFO - No quality gate is configured.
10:53:28 PM 22:53:28.518 INFO - Base dir: D:\SonarQube-Test-Projects\Fibanocci\TestFib2
10:53:28 PM 22:53:28.518 INFO - Working dir: D:\SonarQube-Test-Projects\Fibanocci\TestFib2\.sonarqube\out\.sonar
10:53:28 PM 22:53:28.518 INFO - Source encoding: UTF-8, default locale: en_US
10:53:29 PM 22:53:29.121 INFO - Sensor InitialOpenIssuesSensor...
10:53:30 PM 22:53:30.301 INFO - Sensor InitialOpenIssuesSensor done: 1180 ms
10:53:30 PM 22:53:30.302 INFO - Sensor ProjectLinksSensor...
10:53:30 PM 22:53:30.893 INFO - Sensor ProjectLinksSensor done: 591 ms
10:53:31 PM 22:53:31.483 INFO - Sensor VersionEventsSensor...
10:53:33 PM 22:53:33.659 INFO - Sensor VersionEventsSensor done: 2176 ms
10:53:33 PM 22:53:33.659 INFO - Sensor FileHashSensor...
10:53:33 PM 22:53:33.660 INFO - Sensor FileHashSensor done: 1 ms
10:53:33 PM 22:53:33.660 INFO - Sensor SCM Sensor...
10:53:33 PM 22:53:33.660 INFO - No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.
10:53:33 PM 22:53:33.660 INFO - Sensor SCM Sensor done: 0 ms
10:53:33 PM 22:53:33.660 INFO - Sensor CPD Sensor...
10:53:33 PM 22:53:33.660 INFO - Sensor CPD Sensor done: 0 ms
10:53:33 PM 22:53:33.774 INFO - Execute decorators...
10:53:37 PM 22:53:37.356 INFO - Store results in database
10:53:42 PM 22:53:42.464 INFO - ANALYSIS SUCCESSFUL, you can browse http://{ server- I removed original server name for security purpose}:9000/dashboard/index/FibTest
10:53:42 PM 22:53:42.464 INFO - Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report.
10:53:42 PM 22:53:42.465 INFO - Executing post-job class org.sonar.plugins.core.issue.notification.SendIssueNotificationsPostJob
10:53:44 PM INFO: ------------------------------------------------------------------------
10:53:44 PM INFO: EXECUTION SUCCESS
10:53:44 PM INFO: ------------------------------------------------------------------------
10:53:44 PM Total time: 1:49.413s
10:53:44 PM Final Memory: 14M/457M
10:53:44 PM INFO: ------------------------------------------------------------------------
10:53:44 PM Process returned exit code 0
10:53:44 PM The sonar-runner has finished
10:53:44 PM Creating a summary markdown file...
10:53:44 PM Analysis results: http://{ server- I removed original server name for security purpose}:9000/dashboard/index/FibTest
Process returned exit code 0
Post-processing succeeded.
Thanks for providing all these valuable details in your questions, which makes it easier to answer.
First of all, you can safely ignore the message C:\Users\raja.moparthi\AppData\Local\Temp.NETFramework,Version=v4.5.AssemblyAttributes.cs : That file does not belong to your project, and does not have to be analyzed.
Then, I think that you are facing a limitation of the MSBuild SonarQube Runner 1.0 release, which is already fixed in the soon to be released 1.0.1 version: If the full path to your .csproj file contains test, the project will be detected as a test one, and SonarQube doesn't report issues on tests projects. See this tickets for details: https://jira.sonarsource.com/browse/SONARMSBRU-121 While waiting on this new release, the easiest thing you can do is simply to remove test from the folder names.
I still have the issue described by Dinesh using TFS' SonarQube Extension 2.0.0, which embeds SonarQube Scanner for MSBuild 2.2.0.24:
If the full path to your .csproj file contains test, the project will be detected as a test one, and SonarQube doesn't report issues on tests projects.
I've solved it by customizing the Test project pattern in Sonar Qube's Administration | Configuration | General Settings | Scanner for MSBuild.
I'm trying to import a dump file using imp command in oracle 10g. The following error message is displayed. Kindly assist
C:\Documents and Settings>imp 'rdata/rdata#nxtgen' file="D:\oracle\schema.dmp"
log=D:\oracle\schema.log full=y
Import: Release 10.2.0.1.0 - Production on Fri Jun 21 11:54:29 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
IMP-00058:
IMP-00000: Import terminated unsuccessfully
C:\Documents and Settings>