Encryption trace when connecting from JDBC
Hello,
Please can any one let me know that, How can I trace the JDBC connection using encryption comeing from client to database
I have enabled ASO, on both Server & Client, I can trace net8 connection for example connecting from sqlplus, and I can make sure that from the trace sqlplus connections are encrypted, but for JDBC connection do we have anything like above so that I can trace and say that all connections are encrypted. If anybody can throw light on this.
THANKS IN ADVANCE.
Regards,
Swamy.
hi
are u not able to enable tracing programatically.
if so
i think i now have an idea of using jdbc with aso.
the following params need to be set in sqlnet.ora to enable tracing, when u configure server and client for ASO using Net8.
TRACE_LEVEL_SERVER
TRACE_DIRECTORY_SERVER
similarly u need to set these params programatticallym using properties collection in jdbc.
check the sample below. u can use this as a sample to set the above params.
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Properties props = new Properties();
try {
int level = AnoServices.REQUIRED;
props.put("user","...");
props.put("password","XXXXXXX");
props.put("oracle.net.encryption_client",
Service.getLevelString(level));
props.put("oracle.net.encryption_types_client", "DES56C");
props.put("oracle.net.crypto_checksum_client",
Service.getLevelString(level));
props.put("oracle.net.crypto_checksum_types_client", "MD5");
} catch (Exception e) { e.printStackTrace(); }
// You can put a database name after the @ sign in the connection URL.
Connection conn = DriverManager.getConnection
("jdbc:oracle:thin:@localhost:1521:database_name", props);
Similar Messages
-
Getting "Server refused to allocate pty" when connecting from ssh
Hi All,
I am getting "Server refused to allocate pty" when connecting from ssh to our Solaris 10 8/07 server. I searched in goggle but couldn't find a solution. But from telnet, all users are able to login without any problems. My ssh is default one that comes with sol 10.
Please help if anybody has a solution for this
Thanks in advance.I am seeing this on a sparc solaris 10. root can ssh in and the console is fine but regular users cannot
ssh in . Do you have any suggestions for sparc solaris 10? I don't believe the mount suggestion makes
sense in my environment.
My root drive crashed so I resinstalled solaris but now ssh does not work. telnet works fine but I don't like
telnet.
I get
Server refused to allocate pty and
Server send disconnect message
type2 (SSH_DISCONNECT_PROTOCOL_ERROR)
"Could not create socket pairs: permission denied"
Thanks
Thomas -
Error when connect from portal system (abap ) to external ssl client - sm59
Hi I am tryign to setup a ssl connection from the abap sm59 portal system to an exteral server.. I have setup the certs that the client has given me in strust.but i m gettign the ffg error.
sysno 60
sid PID
systemid 370 (Solaris on SPARCV9 CPU)
relno 7110
patchlevel 0
patchno 150
intno 20020600
make multithreaded, Unicode, 64 bit, optimized
profile /usr/sap/PID/SYS/profile/PID_DVEBMGS60_pidevdb
pid 3911
[Thr 01] Thu Jun 14 08:38:48 2012
[Thr 01] TRACE FILE TRUNCATED
[Thr 07] Thu Jun 14 08:39:07 2012
[Thr 07] *** ERROR during SecudeSSL_SessionStart() from SSL_connect()==SSL_ERROR_SSL
[Thr 07] session uses PSE file "/usr/sap/PID/DVEBMGS60/sec/SAPSSLA.pse"
[Thr 07] SecudeSSL_SessionStart: SSL_connect() failed
[Thr 07] secude_error 536871970 (0x20000422) = "SSL record with the wrong SSLPlaintext.version received"
[Thr 07] >> Begin of Secude-SSL Errorstack >>
[Thr 07] ERROR in ssl3_get_record: (536871970/0x20000422) SSL record with the wrong SSLPlaintext.version received
[Thr 07] << End of Secude-SSL Errorstack
[Thr 07] SSL_get_state() returned 0x00002120 "SSLv3 read server hello A"
[Thr 07] SSL NI-sock: local=57.24.111.151:34110 peer=57.24.110.116:5081
[Thr 07] <<- ERROR: SapSSLSessionStart(sssl_hdl=10720d530)==SSSLERR_SSL_CONNECT
[Thr 07] *** ERROR => IcmConnInitClientSSL: SapSSLSessionStart failed (-57): SSSLERR_SSL_CONNECT {00020a7c} [icxxconn_mt.c 1957]
When i change the sm59 connection not to use ssl. it give me a pop up screen . and asks me to enter user and password...
He then give me a private key file .. i.e a .pfx file but not sure how to load this in strust. I tried to convert in useign sapgenpse. but it fails with teh ffg error
12% sapgenpse import_p12 -p /usr/sap/PID/amos/amos_client.pse /usr/sap/PID/amos/amos_client_pk.pfx
import_p12: MISSING password for PKCS#12 file "/usr/sap/PID/amos/amos_client_pk.pfx"
Please enter PKCS#12 encryption password: *******
PKCS#12/PFX file contains 1 keypair:
1. FriendlyName = "amos.server.interface.webuser.web_int.cert"
X.509v3 (type=Both) RSA-2048 (signed with sha1WithRsaEncryption)
Subject="CN=AMOS WebService Interface Client, OU=IT&S MRO, O=South African Airways (Pty) Ltd, L=OR Tambo International Airport, SP=Gauteng, C=ZA"
Issuer ="[email protected], CN=ca.flysaa.com, OU=Certificate Authority, O=South African Airways (Pty) Ltd, L=OR Tambo International Airport, SP=Gauteng, C=ZA"
ERROR: Incomplete certification path -- NEED certificate of "[email protected], CN=ca.flysaa.com, OU=Certificate Authority, O=South African Airways (Pty) Ltd, L=OR Tambo International Airport, SP=Gauteng, C=ZA"!
I have attached a doc of what it looks like.. appreciate any helpHi,
There is an error in the publishing of template
Template :"bbpsc02" is not publised in ITS.
Go to T.code: SE80
Publish all the templates again and check
Check with your SAP BASIS team for the help
Regards
Ganesh -
VPN - IPX error 733 when connecting from Windows XP
I have a 10.4.8 (Intel) OS X Server at our office. Our Mac users can VPN in with no problems, they get a valid IP from the vpn lease pool, can remotely control desktop machines, use files, etc. However, when trying to connect from XP, my user is getting an Error 733 referring to IPX. Anyone see this or have input for me? It's the boss who can't get in, so you can imagine I need to pay attention to this one!
PPTP only. Basic name/password challenge.
Server has private IP behind Netgear Prosafe Firewall appliance. Server is the DMZ. The Netgear receives our static IP from our T1 gateway, and performs DHCP and NAT for us. The OS X Server has a static private IP, and serves mail, ftp and vpn. (web to follow)
Clients can VPN in and receive a private IP within the specified range. I allow 40 bit and 128 bit encryption.
OSX Server: 192.168.200.250
Starting and ending IP addresses for VPN: 192.168.200.180 - 190
under Client Information:
DNS Servers: (two public DNS local to us from an ISP)
Search domains: (empty)
Network routing definition: 192.168.200.0 / 255.255.255.0 / private
From my PowerBook (10.4.8 client), I connect just fine, can use remote desktop connector to control XP boxes at the office, and access our files, printers, etc. -
Hi Everyone,
I have a question related to RDweb service.
I have successfully installed RD web role on windows server 2012 R2.
All went ok. I also installed a valid third party certificate.
I can connect from outside to the server and run applications using any devices: Ipad’s, mobiles and laptops.
The problem is that: Any Computer/Laptop that is joined on the domain can connect to RDWEB from outside the company BUT CAN'T RUN ANY APPLICATIONS. The RD session is taking long time it failes.
Note that from inside the network is working.
What it can be?
Thank you in advance,
CrissHi,
The internet connection from where I’m doing the tests is quite good. I think the error with the latency is not relevant because probably the computerRD gateway it doesn’t allow it and that way it fails with this error. For a computer that never been joined
on the domain is working perfect no delay at all..
We are using RD Gateway … installed everything on the same machine Windows server 2012 R2.
When I click RemoteApp I see the remote the prompt of RD gateway, I click ok, then nothing happened for 2-3 min. after this time it brings the error with the delay.. OR “couldn’t connect on the remote computer because an error occurred on the remote
computer that you want to connect to.”
Again, the connection is failing ONLY when we try to connect from outside the company and it happened ONLY with the Computers that are joined on the Domain.
EX: An user (with Office Laptop - joined on domain) can connect to RD Gateway and lunch the RemoteApp’s from inside LAN but when is leaving Home can’t run the Remote App;s. In the meantime he can connect and run RemoteApp’s with his private computer.
What it can be different between the Office and his home private computer?
For Outside users we’ve have open only port 443 on firewall. Why need to open UPD 3391?
I’ve notice that if I take a laptop that is working and join it on the domain it will have the same issue. If will dis-join it will still have the same issue after all.
Thank You -
TNS Timed out error when connecting from internet
All,
Apologies if I am missing something simple...
I have set up a test 9i database on a Win 2003 Server, and I can connect to it fine from within my LAN. I am trying to connect to the same database from the internet, but am getting a TNS:Operation timed out error.
I believe I have set everything up correctly:
-Port Forwarding port 1521 on my simple Linksys router/firewall
-TNSPing gives me a sub-second OK (from the internet)
-I can get a TNS:listener could not resolve SERVICE_NAME error if I purposely screw up the service name in the tnsnames.ora file (proving, I think, that I can connect to the Listener from the outside internet)
Am I missing something simple? Why can I ping the listener but not get a response when trying to connect to the database (database is working, I can connect from within my LAN)?
Do I need to download and install the latest release for Win Server 2003?
Thanks,
ChrisThanks for your response, Michael..
Is this something new in 9i? The reason I ask is that I swear that while working on another project last year I was able to set up a development 8i database in my home office and was able to allow my client hit this database from their own location (in Peru, via the internet) using a vb.net app that I had built. The only thing I did on my home router was to forward port 1521.
If my memory is wrong or things have changed since then, then what other ports other than 1521 are used to connect? Security is not really an issue, as I am just trying to set up a test database in order to Q/A an application I'm building.
Thanks in Advance,
Chris -
Connection from jdbc or sqlj using operating system authentication
Is it possible to use the operating system authentication to connect to oracle which is on the same box from jdbc or sqlj??
Any help is appreciatedYou can logon using external credentials with the oci driver by passing in null's as username and password.
-
No external disk encryption available when booted from Lion installer
Problem: When booting my Mac Mini from a Lion Installer USB thumb drive, Neither Disk Utility nor diskutil from the command line seems able to actually encrypt an external drive. They both seem to be able to convert the drives to coreStorage, just not actually encrypt the drives.
Background: I was able to successfully preform 3 encryptions from the Lion system on my 17inch MacBook Pro before failing as described above:
1) I encrypted my main HD in my laptop (using System Preferences > Security & Privacy)
2) I encrypted my Time Machine backup (Using Time Machine system prefs)
3) I converted an external 2TB USB drive filled with data (I had a freshly mirrored copy of all this data as backup) using diskutil cs convert -passphrase from the command line
each of the successful encryptions took about 24hours/Terabyte
Here is where I tried and failed, step by step:
### Failure 1
I created a bootable backup of Mac OS X Lion on a USB thumb drive. I booted my Mac Mini with it and attached a 2TB external USB drive that I wanted to encrypt. It was a blank drive so I launched Disk Utility from the recovery/installer screen and created 1 partion, GUID, Mac OS Extended (Journaled)
Then I went to the Erase tab and chose Mac OS Extended (Journaled, Encrypted), provided a passphrase and erased. It took just a couple seconds and said it was done.
I moved the 2TB external to my laptop running Lion, it asked for the passphrase and when provided the drive mounted just fine but when examined with "diskutil coreStorage list" I see a couple problems (besides the fact I don't believe it encrypted a 2TB drive in 15 seconds)
Conversion Status is NoConversion and it's not listed as revertible - my successful encryptions are listed as "Conversion Status: Complete and Revertible: Yes (unlock and decryption required)"
+-> Logical Volume Family 83A8BED0-EA17-433B-B494-B71D9B16142C
Sequence: 2
Encryption Status: Unlocked
Encryption Type: AES-XTS
Encryption Context: Present
Conversion Status: NoConversion
Has Encrypted Extents: Yes
Conversion Direction: -none-
|
+-> Logical Volume FD9868AA-C880-475A-8AFE-98DFCED1A0B4
Disk: disk8
Status: Online
Sequence: 2
Size (Total): 1999903956992 B (2.0 TB)
Size (Converted): -none-
Revertible: No
LV Name: 2011-07-24
Volume Name: 2011-07-24
Content Hint: Apple_HFS
### Failure 2
Still booted from thumb drive installer, I attached a 1TB Firewire drive with files on it (it is a mirrored copy of an original drive) and l launched Terminal and attempted to use "diskutil cs convert /Volumes/mydrivec -passphrase" to encrypt the drive without erasing it first. Again it seemed to work, it went thru the corestorage step and when mounted on my laptop running Lion I'm asked for the passphrase and it mounts and the files are all fine but again it finished in seconds instead of the 24 hours I was expecting, and diskutil cs list shows a conversion status of "converting" but no progress is being shown in Size (Converted) or Conversion Direction and Revertible says no decryption required
> Logical Volume Family A54F382A-54A0-4295-B3A8-1CA0E92341C4
| ----------------------------------------------------------
| Sequence: 4
| Encryption Status: Unlocked
| Encryption Type: AES-XTS
| Encryption Context: Present
| Conversion Status: Converting
| Has Encrypted Extents: Yes
| Conversion Direction: -none-
| |
| +-> Logical Volume C6AFB536-3C5F-48D0-A590-BD6883A4D763
| ---------------------------------------------------
| Disk: disk7
| Status: Online
| Sequence: 4
| Size (Total): 999542140928 B (999.5 GB)
| Size (Converted): -none-
| Revertible: Yes (no decryption required)
Thoughts on why I'm not getting actual encryption when booted from Lion installer thumb drive? I don't want to upgrade the Mini to Lion (yet), I just want to boot it up from Lion installer and use it as an encryption station for a week.Problem: When booting my Mac Mini from a Lion Installer USB thumb drive, Neither Disk Utility nor diskutil from the command line seems able to actually encrypt an external drive. They both seem to be able to convert the drives to coreStorage, just not actually encrypt the drives.
Background: I was able to successfully preform 3 encryptions from the Lion system on my 17inch MacBook Pro before failing as described above:
1) I encrypted my main HD in my laptop (using System Preferences > Security & Privacy)
2) I encrypted my Time Machine backup (Using Time Machine system prefs)
3) I converted an external 2TB USB drive filled with data (I had a freshly mirrored copy of all this data as backup) using diskutil cs convert -passphrase from the command line
each of the successful encryptions took about 24hours/Terabyte
Here is where I tried and failed, step by step:
### Failure 1
I created a bootable backup of Mac OS X Lion on a USB thumb drive. I booted my Mac Mini with it and attached a 2TB external USB drive that I wanted to encrypt. It was a blank drive so I launched Disk Utility from the recovery/installer screen and created 1 partion, GUID, Mac OS Extended (Journaled)
Then I went to the Erase tab and chose Mac OS Extended (Journaled, Encrypted), provided a passphrase and erased. It took just a couple seconds and said it was done.
I moved the 2TB external to my laptop running Lion, it asked for the passphrase and when provided the drive mounted just fine but when examined with "diskutil coreStorage list" I see a couple problems (besides the fact I don't believe it encrypted a 2TB drive in 15 seconds)
Conversion Status is NoConversion and it's not listed as revertible - my successful encryptions are listed as "Conversion Status: Complete and Revertible: Yes (unlock and decryption required)"
+-> Logical Volume Family 83A8BED0-EA17-433B-B494-B71D9B16142C
Sequence: 2
Encryption Status: Unlocked
Encryption Type: AES-XTS
Encryption Context: Present
Conversion Status: NoConversion
Has Encrypted Extents: Yes
Conversion Direction: -none-
|
+-> Logical Volume FD9868AA-C880-475A-8AFE-98DFCED1A0B4
Disk: disk8
Status: Online
Sequence: 2
Size (Total): 1999903956992 B (2.0 TB)
Size (Converted): -none-
Revertible: No
LV Name: 2011-07-24
Volume Name: 2011-07-24
Content Hint: Apple_HFS
### Failure 2
Still booted from thumb drive installer, I attached a 1TB Firewire drive with files on it (it is a mirrored copy of an original drive) and l launched Terminal and attempted to use "diskutil cs convert /Volumes/mydrivec -passphrase" to encrypt the drive without erasing it first. Again it seemed to work, it went thru the corestorage step and when mounted on my laptop running Lion I'm asked for the passphrase and it mounts and the files are all fine but again it finished in seconds instead of the 24 hours I was expecting, and diskutil cs list shows a conversion status of "converting" but no progress is being shown in Size (Converted) or Conversion Direction and Revertible says no decryption required
> Logical Volume Family A54F382A-54A0-4295-B3A8-1CA0E92341C4
| ----------------------------------------------------------
| Sequence: 4
| Encryption Status: Unlocked
| Encryption Type: AES-XTS
| Encryption Context: Present
| Conversion Status: Converting
| Has Encrypted Extents: Yes
| Conversion Direction: -none-
| |
| +-> Logical Volume C6AFB536-3C5F-48D0-A590-BD6883A4D763
| ---------------------------------------------------
| Disk: disk7
| Status: Online
| Sequence: 4
| Size (Total): 999542140928 B (999.5 GB)
| Size (Converted): -none-
| Revertible: Yes (no decryption required)
Thoughts on why I'm not getting actual encryption when booted from Lion installer thumb drive? I don't want to upgrade the Mini to Lion (yet), I just want to boot it up from Lion installer and use it as an encryption station for a week. -
ORA-12514 Error when connection from OEM
I have RAC database. I can access Cluster from https://rs1pre91dvdba01.pre.ccosvc.com:5500/em
but when clicking on database tab -> Performance -> Afer giving username / password I get
Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (description=(address_list=(address=(host=rs1pre91cl)(protocol=tcp)(port=1521))(address=(host=rs1pre91cl)(protocol=tcp)(port=1521))(load_balance=yes))(connect_data=(service_name=DWH1)))
[oracle@rs1pre91dvdba01 admin]$ . oraenv
ORACLE_SID = [oracle] ? DWH1
The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 is /u01/app/oracle
[oracle@rs1pre91dvdba01 admin]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://rs1pre91dvdba01.pre.ccosvc.com:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/rs1pre91dvdba01_DWH1/sysman/log
How can I access Performance tab from OEM.
thanks.[oracle@rs1pre91dvdba01 admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2011 15:37:35
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 05-JAN-2011 12:06:28
Uptime 28 days 3 hr. 31 min. 7 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/rs1pre91dvdba01/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.30.2.201)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.30.2.203)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "DWH1" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Service "DWH1XDB" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Service "MDM1" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
Service "MDM1XDB" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@rs1pre91dvdba01 admin]$ lsnrctl service
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2011 15:37:44
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:34200 refused:0 state:ready
LOCAL SERVER
Service "DWH1" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:106 refused:0 state:ready
LOCAL SERVER
Service "DWH1XDB" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: rs1pre91dvdba01.pre.ccosvc.com, pid: 6845>
(ADDRESS=(PROTOCOL=tcp)(HOST=rs1pre91dvdba01.pre.ccosvc.com)(PORT=45445))
Service "MDM1" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:56105 refused:0 state:ready
LOCAL SERVER
Service "MDM1XDB" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: rs1pre91dvdba01.pre.ccosvc.com, pid: 24224>
(ADDRESS=(PROTOCOL=tcp)(HOST=rs1pre91dvdba01.pre.ccosvc.com)(PORT=59486))
The command completed successfully
[oracle@rs1pre91dvdba01 admin]$ id
uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba)
[oracle@rs1pre91dvdba01 admin]$ env | sort
ASM_SID=+ASM1
_=/bin/env
COBBLER_SERVER=ccoshs02xvsat01.ccosvc.com
DB_HOME_BIN=/u01/app/oracle/product/11.2.0/dbhome_1/bin
DB_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
DISPLAY=localhost:10.0
DWH_SID=DWH11
G_BROKEN_FILENAMES=1
GI_HOME_BIN=/u01/app/11.2.0/grid/bin
GI_HOME=/u01/app/11.2.0/grid
GRID_HOME=/u01/app/11.2.0/grid
HISTSIZE=1000
HOME=/home/oracle/
HOSTNAME=rs1pre91dvdba01.pre.ccosvc.com
INPUTRC=/etc/inputrc
LANG=en_GB
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
MDM_SID=MDM11
NLS_DATE_FORMAT=dd-mm-yyyy hh24:mi:ss
OLDPWD=/u01/app/oracle/product/11.2.0/dbhome_1/rs1pre91dvdba01_DWH1/sysman/config
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=DWH1
ORACLE_UNQNAME=DWH1
PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin:/home/oracle//bin
PWD=/u01/app/oracle/product/11.2.0/dbhome_1/network/admin
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_CLIENT=172.30.0.125 58337 22
SSH_CONNECTION=172.30.0.125 58337 172.30.2.201 22
SSH_TTY=/dev/pts/0
SVN_EDITOR=vi
TERM=xterm
TNS_ADMIN=/u01/app/11.2.0/grid/network/admin
USER=oracle -
I wrote a JAVA program to test the connection with Oracle. It worked in NT environment, but it did not in Linux Environment. I got the error message: "IO exception: The Network Adapter could not establish the connection."
Here is JAVA code:
import java.sql.*;
class Employee1
public static void main (String args [])
throws SQLException
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection conn =
DriverManager.getConnection ("jdbc:oracle:thin:@203.149.143.1:1521:ora1",
"dxhub", "manager");
Statement stmt = conn.createStatement ();
ResultSet rset = stmt.executeQuery ("select user_id from user_info");
while (rset.next ())
System.out.println (rset.getString ("user_id"));
catch(Exception e)
System.out.println(e.getMessage());
I think there is nothing wrong with JAVA code. There must be something wrong in the Linux environment. I appreciate your help if someone can give me a little advice.
Tony
nullPerhaps you have't listener
Do you sure what your port 1521 - is open?
I recieve this message only if in my "NMAP <myhost> don't have port 1521 is open
- $ORACLE_HOME/bin/lsnrctl
- start
- exit
And everything - ok
null -
OS_USER not correct when connecting using JDBC Thin Client on 10G
Hi Folks,
We are migrating an application from a 9i database to 10g and have a problem that someone might have come across before.
The application is a Java applet based application that connects to the database using JDBC Thin client. on 9i the OS_USER comes up as the user running the applet but in 10G it is coming up as the user account that installed 10G on the DB server.
We tried using a 9i client to identify if it was a client or DB issue but its the same problem with the 9i client connecting to the 10G DB.
If anyone can help it would be much appreciated.
Thanks,
John.What is the return of this command?
SELECT sys_context ('USERENV', 'OS_USER') FROM dual;
Is it the DB user or the OS user? -
4215 Java error: When connecting from IPS event viewer
Hello-
I received a java error when trying to connect to my 4215 with Cisco IPS event viewer. It is as follows:
IOException in open Subscription(): java.security.cert.CertificateExpiredException: NotAfter: Sunday March 29
Is the web server running on 10.x.x.x:443? Please check the communication parameters of the device.
I can set the date on my pc back to last week and all works fine like b4. I have tried updating my java to the latest version and created a new certificate from the IPS.
Any help would greatly be appreciated:
ThanksHi,
The issue can be resolved by following the steps as below
1.Login to the sensor.
2.Run the tls generate-key command.
3.Make sure the certificate is generated.
4.Add the device again. It should work now.
REf: http://www.cisco.com/en/US/products/hw/vpndevc/ps4077/products_qanda_item09186a008025c533.shtml
Do rate if it helped.
Regards
Sridhar -
Invalid security certificate error when connecting from office for iPad
Hi,
I have Alfresco Community running on my NAS including the SharePoint protocol support and can access it from any desktop Microsoft Office application but when I try to "Add a Place" in any of the Microsoft Office for iPad apps I get the following
error message: "Cannot Connect to Site - The site doesn't have a valid security certificate." followed by "Cannot connect to Server - The server may be unavailable. Check your internet connection and try again".
I have the following configuration
- Qnap NAS with QTS 4.1.3
- JRE 8.6.0
- Tomcat 7.0.50
- Alfresco 5.0.c with Share and SPP installed
- Tomcat, Alfresco and Share configured for SSL on 8443 using a self-signed certificate
- SPP configured for SSL on 7070
- iPad Air 2, iOS 8.2 and latest office apps
- CA and server certificate installed on the desktop computers and the iPad
Share and SPP can be reached on the respective ports and I get the websites as expected. And as mentioned desktop MS office applications can access Alfresco via SPP. But I cannot get it to work with the iPad office apps.
Can anybody help with this, please? I know I am not running SharePoint but I assume the problem with the iPad office app is the same?
Thanks
Peter1. I can't say if it is sequential or not, I have never seen a message like that myself when doing add-on update checks - but I have seen other messages, like the update server not using a secure HTTPS address after that became a requirement for updates. <br />
Plus, I have never used anything from Conduit - ''the founder of that company has a shady past with different internet companies puling all dorts of "stuff", IMO. And all Conduit add-ons were removed and banned from the official add-ons website a few years ago because of their "antics" and major user uproar at the time - just recently have we seen a few return''.
2. Right-click individual addons and use ''Visit Homepage''' to see if that feature is being used as intended and where it takes you. Or use '''Find Update''' and see if that triggers that message, to discover which extensions are fro Conduit.
3. IMO, you are better off updating each extension one at a time with '''Find Update''', as I mentioned above. -
Mac suddenly demands password when connecting from a pc
Hey, something strange happened. I got myself an external drive I wanted to share on a mixed network, so I created a share. When I tried to access it from a pc (XP), I got a password prompt, something that had never happened before.
I thought it may be a problem with the drive beeing external, so I created another share, this time on the same drive I alreday had two working ones. Same thing happened.
Then I deleted one of the working shares and re-created it and again there was the password prompt.
I never set a password because I wanted guests to be able to access these shares.
So, any idea what I could do?
P.S. I'm using SharePoints to create shares.That's part of my problem. Before the last couple of OS updates remote connecting was mindless. One would get a login window with the options of "guest" and "registered user". I'm finding that the window doesn't always come up and most of the time when it does, the "guest" option fails every time. Using the registered user login you gets the whole user directory and everything in it.
Remote connectivity has taken a sad turn lately and this surprises me because of the Mac model of universal connectivity. I hope that we can get back to the days of mindless and dependable interconnectivity.
G4 FW800 Mac OS X (10.4.4) Totally Stuffed/Max'd Out with lots of great toys. -
Compile error when connecting to JDBC:ODBC
Hi
I am not used to java so probably this is an enivorment problem, but I cannot fix, please help!
FOLLOWING CODE
import java.sql.*;
public class DBtest {
public static void main (String args[]) {
String jdbcDriver = "sun.jdbc.odbc.JdbcOdbcDriver";
String protocolHeader = "jdbc:odbc:";
String dbName = "myodbc3-test";
String user = "";
String password = "";
Class.forName(jdbcDriver);
Connection cn =
DriverManager.getConnection(protocolHeader+dbName, user, password);
GENERATES FOLLOWING COMPILING ERROR
cd c:/Javakod/NewFolder/
javac -classpath C:\Javakod\ DBtest.java
DBtest.java:17: incompatible types
found : java.sql.Connection
required: NewFolder.Connection
DriverManager.getConnection(protocolHeader+dbName, user, password);
^
1 error
What is wrong? I am using a Win2000.This code compiles and runs fine on my Windows 2000 machine running JDK 1.4.1:
import java.sql.*;
public class AnotherConnectionTester
public static void main(String [] args)
String jdbcDriver = "sun.jdbc.odbc.JdbcOdbcDriver";
String protocolHeader = "jdbc:odbc:";
String dbName = "myodbc3-test";
String user = "";
String password = "";
try
Class.forName(jdbcDriver);
Connection cn = DriverManager.getConnection(protocolHeader+dbName, user, password);
DatabaseMetaData meta = cn.getMetaData();
System.out.println("product name: " + meta.getDatabaseProductName());
catch (Exception e)
e.printStackTrace(System.err);
}I set up an ODBC DSN myodbc3-test to connect to an Access database. It was no problem. I guess that doesn't explain why your post didn't work. I changed the name of the class and added that meta data output so I could make sure that it connected. - MOD
Maybe you are looking for
-
Set back ground color to a particular cell in table view
hi, iam working on a jspDynpage and have a htmlb table view for which i need a way to set back ground color to a particular cell in table view, the color has to be set based on a value..is there a way to do it without using an iterator...well iam
-
Error while Posting to all operative areas
hi, while posting to all operative areas in TBB1 am getting the following error "No accounting rule despite posting to general ledger ERP" for valuation area 002. Whereas no error for operative valuation area 001. Please help.
-
Digital Sigunature in WD Abap .
hi Guru, i want to implement the Server side Digital Sigunature in WD Abap . Can u guess help me in this senario. Is there any Blog available.Can u explain How to do that? Advance Thanx, Regards Vivekananthan.S
-
Addition of Dept ans Section input fields in MIGO transaction.
Hi experts, im very new to customer exits. I got requirement to add two input fields in 'OWN DATA' in MIGO transaction. These fields should be for selected movement types. Can any one please help me in solving this. Please kindly tell me in detail a
-
How do I update Numbers to 2.2 (mtn lion)
I did not purchase from the ap store, rather a physical copy. Software Update takes one to the ap store, which doesn't address this update for me. The iWork Updater doesn't work with it either (says Keynote is not installed). Thanks for any tips I ha