Problems connecting from Client to Database
I've run into a strange situation,
We are running Oracle 8.1.7 installed on Sco?!? In the past everyone has just opened a netterm connection from windows 2000 to the box that the database exists on and run SQL Plus from within that window. They do not use any of the client side Oracle tools.
I just started working here and was trying to explain the benefits of some of the existing Oracle tools that are out there. I installed Discoverer along with some other tools and was having troubles connecting. I uninstalled everything and started with just SQL Plus. The following is my tnsnames entry for the database:
oradev =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(Host = ORADEV)
(Port = 1521)
(CONNECT_DATA = (SID = DVCX)
and the error that I get when I try to connect is:
ORA-12514: Message 12514 not found; product=RDBMS80; facility=ORA
The strange thing is that I installed JDeveloper and told it to start a SQL Plus session and it works fine. It is pointing at the exact same executable that I tried running from the start menu. C:\ORACLE\806\BIN\PLUS80W.EXE
I tried running this executable frmo the Dos prompt using this:
C:\ORACLE\806\BIN\PLUS80W.EXE user/passwd@oradev:1521:DVCX
and I get this error message:
ORA-06401: NETCMN: invalid driver designator
Does anyone have any ideas? It would be really nice to be able to show these guys why they spent so much money to buy Oracle. Right now they're only using it to store data.
Any responses would be appreciated. If I don't know the answer to your questino I can ask around and find it.
Thanks,
Chris S.
Before I do that,
Since it's not really my database to hack around with, why would the everything work through JDeveloper or through a netterm session to the Sco box? I'm not familiar with stopping and starting the listener so I will have to figure out how to do that as well.
Thanks again for your input. I appologize if these are newby questions but this has always been set up for me in the past. I'm on new ground here.
Thanks,
Chris S. I haven't worked with Java so I can't explain the JDeveloper connection. I assume netterm is a terminal emulater, thus running a 'local' session on the host and doesn't need the listener to be running.
Before you change anything, on the SCO box run the following command:
prompt> lsnrctl status
if it is not running or configured properly, you should see this kind of output (my output is from an NT box, but it should be close):
LSNRCTL for 32-bit Windows: Version 9.0.1.1.1 - Production on 04-OCT-2002 13:59:44
Copyright (c) 1991, 2001, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=astra)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
if it is running, it should show you which ports it is listening on. All things considered, you should take these steps first, because some O/Ss like to play games with the location of the config files (esp. Sun).
Similar Messages
-
Pb connecting from client to database after changing domain name
Hi,
I've got 3 databases wthis 3 listeners. all worked well since we change domain name. database server is in DMZ and is reconize witn 2 IP adresses.
I can ping with tnsping but when I run sqlplus user/passwd@ORACLE_SID I've got this message : ERROR:
ORA-12535: TNS : le dÚlai imparti Ó l'opÚration est ÚcoulÚ
on local host this command run well and connect to database.
is there somebody that knows this problem and its solution?
Thank you for your help.
PS: I'm on oracle 9.2.0 and windows200 server and clientI've got this message in listener.log
Démarré avec pid=3028
Ecoute sur : (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Ecoute sur : (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bam_sgbd.imelios.com)(PORT=1522)))
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
19-MAR-2004 14:21:33 * (CONNECT_DATA=(SERVICE_NAME=ADRPRODR)(CID=(PROGRAM=c:\oracle\ora92\bin\sqlplus.exe)(HOST=U0011001)(USER=BerPRE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.80.180)(PORT=2032)) * establish * ADRPRODR * 0
19-MAR-2004 14:34:36 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ADRPRODR)(CID=(PROGRAM=C:\oracle\ora92\bin\sqlplus.exe)(HOST=BAM_SGBD)(USER=BAM_SGBD))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.80.223)(PORT=2394)) * establish * ADRPRODR * 0
19-MAR-2004 14:40:53 * (CONNECT_DATA=(SERVICE_NAME=ADRPRODR)(CID=(PROGRAM=c:\oracle\ora92\bin\sqlplus.exe)(HOST=U0011001)(USER=BerPRE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.80.180)(PORT=2195)) * establish * ADRPRODR * 0
19-MAR-2004 14:44:18 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ADRPRODR)(CID=(PROGRAM=C:\oracle\ora92\bin\sqlplus.exe)(HOST=BAM_SGBD)(USER=BerPre))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.80.223)(PORT=2809)) * establish * ADRPRODR * 0
19-MAR-2004 14:57:52 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ADRPRODR)(CID=(PROGRAM=C:\oracle\ora92\bin\sqlplus.exe)(HOST=BAM_SGBD)(USER=BAM_SGBD))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.80.223)(PORT=3413)) * establish * ADRPRODR * 0
19-MAR-2004 15:11:47 * (CONNECT_DATA=(SERVICE_NAME=ADRPRODR)(CID=(PROGRAM=c:\oracle\ora92\bin\sqlplus.exe)(HOST=U0011001)(USER=BerPRE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.80.180)(PORT=2433)) * establish * ADRPRODR * 0
19-MAR-2004 15:55:59 * (CONNECT_DATA=(SERVICE_NAME=ADRPRODR)(CID=(PROGRAM=c:\oracle\ora92\bin\sqlplus.exe)(HOST=U0011001)(USER=BerPRE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=IP_ADRESSE)(PORT=2561)) * establish * ADRPRODR * 0
19-MAR-2004 15:56:26 * (CONNECT_DATA=(SERVICE_NAME=ADRPRODR)(CID=(PROGRAM=c:\oracle\ora92\bin\sqlplus.exe)(HOST=U0011001)(USER=BerPRE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=IP_ADRESSE)(PORT=2568)) * establish * ADRPRODR * 0
this seems to work pas on client connection doesn't arrive -
HOW TO CONNECT FROM CLIENT MACHINE TO REMOTE MACHINE(SERVER DATABASE MACHINE)
Hi friends.
I need your valuable help,
I am using oracle 11g database.
I have two system.One is client machine and installed oracle 11G client software.
and from this machine user can connect remote server database(This is old remote system, this is just for Information).
And i have created one new database called RMANP in new remote server machine (this is the machine, in which i need to connect from client machine)
ex
CLIENT MACHINE DETAIL IS:
system66
ip address is 192.162.21.66
REMOTE SEVER MACHINE DETAILS IS:
system56
ip address is 192.162.21.56.
and i add entry on client machine tnsname.ora file like following,
RMANP=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=192.168.21.56)
(PORT=1521)
(CONNECT_DATA=
(SERVICE_NAME=rmanp)
But when i try to connect to remote server from client machine in sqlplus, i am getting an error, Like following,
SQL> CONN SYS/SYSPW AS SYSDBA;
ERROR:
ORA-12560: TNS:protocol adapter error2684285 wrote:
Hi friends.
I need your valuable help,
I am using oracle 11g database.
I have two system.One is client machine and installed oracle 11G client software.
and from this machine user can connect remote server database(This is old remote system, this is just for Information).
And i have created one new database called RMANP in new remote server machine (this is the machine, in which i need to connect from client machine)
ex
CLIENT MACHINE DETAIL IS:
system66
ip address is 192.162.21.66
REMOTE SEVER MACHINE DETAILS IS:
system56
ip address is 192.162.21.56.
and i add entry on client machine tnsname.ora file like following,
RMANP=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=192.168.21.56)
(PORT=1521)
(CONNECT_DATA=
(SERVICE_NAME=rmanp)
But when i try to connect to remote server from client machine in sqlplus, i am getting an error, Like following,
SQL> CONN SYS/SYSPW AS SYSDBA;
ERROR:
ORA-12560: TNS:protocol adapter error
There is nothing in your connect string to tell sqlplus which database you want to connect to. Therefore it assumes (by default) that you want to connect to a *local* database whose name is identified by the value of the environment variable ORACLE_SID. And there is no such database, so he gets the reported error trying to establish a connection to a non-existent local service.
You need to specify your target database, thusly:
SQL> conn sys/syspw@rmanp as sysdba
BTW, connecting to a remote database as sysdba is considered by most DBAs to be a big secruity breach. If you really need sysdba privileges (rare) you should be logged on to the database server machine with proper OS credentials, and work from there.
Also, TYPING IN ALL CAPS IS PERCEIVED AS SHOUTING. -
Accepting connection from client
Hello,
I want to create java server which accepts connection from client once and then continuously waits for request sent by client. Something same as select() call in C
Something of kind
Server.java:
Socket socket = server.accept();
while(true)
// listen for request ,
// if request received , create new thread for processing
// return response
I don't want to accept connection again and again
Edited by: tryit on Aug 29, 2008 11:41 PMThanks for the reply.
But even in this library, an new thread is created which keeps on doing accept() in while(true) and after accepting connection , another thread is created to do the processing.
But i want that once the connection is established between server and client i.e once accept() is done then just using that socket rest of processing i.e read()/write() is done , no need for accept() in while(true)
I have something like this
SenderReciever.java
public class SenderAndReciever
private ServerSocket server;
private int port = 6000;
public SenderAndReciever()
try
server = new ServerSocket(port);
catch (IOException e)
e.printStackTrace();
public void handleConnection()
try
Socket socket = server.accept();
/* PROBLEM AREA */
/* This while loop results in infinite loop .
* if i move Socket socket = server.accept() inside while then it accepts one connection
* returns a response but then waits for another connection to be accepted
* But i want connection once accepted , use the same socket for rest all communications
while (true)
new ConnectionHandler(socket);
catch (IOException e)
e.printStackTrace();
public static void main(String[] args)
SenderAndReciever senderAndReciever = new SenderAndReciever();
senderAndReciever.handleConnection();
}ConnectionHandler.java:
class ConnectionHandler implements Runnable
private Socket socket;
public ConnectionHandler(Socket socket)
this.socket = socket;
Thread t = new Thread(this);
t.start();
public void run()
try
readData();
processData();
sendData();
catch (Exception e)
e.printStackTrace();
} -
I can't connect to Wi-Fi - keeps timing out. No problem connecting from other laptops / phones. Stopped working after I did a system upgrade. What can I do? I am on OS X Yosemite.
Take each of the following steps that you haven't already tried, until the problem is resolved. Some of these steps are only possible if you have control over the wireless router.
Step 1
Turn Wi-Fi off and back on.
Step 2
Restart the router and the computer. Many problems are solved that way.
Step 3
Change the name of the wireless network, if applicable, to eliminate any characters other than letters and digits. You do that on your router via its web page, if it's not an Apple device, or via AirPort Utility, if it is an Apple device.
Step 4
Run the Network Diagnostics assistant.
Step 5
In OS X 10.8.4 or later, run Wireless Diagnostics and fix the issues listed in the Summary, if any.
Step 6
Back up all data before proceeding.
Launch the Keychain Access application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad and start typing the name.
Enter the name of your wireless network in the search box. You should have one or more "AirPort network password" items with that name. Make a note of the name and password, then delete all the items. Quit Keychain Access. Turn Wi-Fi off and then back on. Reconnect to the network.
Step 7
You may need to change other settings on the router. See the guidelines linked below:
Recommended settings for Wi-Fi routers and access points
Potential sources of interference
Step 8
Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list and recreate it with the same settings. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain.
Step 9
Reset the System Management Controller (SMC). -
Restrict number of simultaneous connection from client to EJB bean
I have EJB bean and JavaSE client. I want to restrict number of simultaneous connection from client to EJB bean. For example to maximum allowed 3. How I can do it?
:) but answer is too general.
I want to know how to design such "simple reference counting". As I understand it is not recommended to use static variables in EJB. so how to implement such counting in a right way?
Edited by: NoName on Aug 20, 2009 1:25 AM
Edited by: NoName on Aug 20, 2009 1:31 AM -
Problem to connect from client to server RMISSLSecuritySocket
Hi,
I�m try to connect to my RMISSLSecuritySocket out of my LAN and the debug tell me:
keyStore is :
keyStore type is : jks
keyStore provider is :
init keystore
init keymanager of type SunX509
trustStore is: seguridad\clientstore
trustStore type is : jks
trustStore provider is :
init truststore
adding as trusted cert:
Subject: CN=Romenawerson, OU=Romenawerson Software, O=Masser, L=SC, ST=SC, C=ES
Issuer: CN=Romenawerson, OU=Romenawerson Software, O=Masser, L=SC, ST=SC, C=ES
Algorithm: RSA; Serial number: 0x443264ec
Valid from Tue Apr 04 13:22:04 BST 2006 until Mon Jul 03 13:22:04 BST 2006
trigger seeding of SecureRandom
done seeding SecureRandom
%% No cached client session
*** ClientHello, TLSv1
RandomCookie: GMT: 1166208304 bytes = { 177, 248, 233, 26, 255, 131, 30, 219, 187, 7, 161, 130, 36, 97, 87, 143, 144, 27, 106, 206, 189, 167, 26, 137, 97, 16, 104, 162 }
Session ID: {}
Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA]
Compression Methods: { 0 }
AWT-EventQueue-0, WRITE: TLSv1 Handshake, length = 73
AWT-EventQueue-0, WRITE: SSLv2 client hello message, length = 98
AWT-EventQueue-0, READ: TLSv1 Handshake, length = 945
*** ServerHello, TLSv1
RandomCookie: GMT: 1166208307 bytes = { 184, 222, 131, 149, 231, 192, 11, 143, 18, 21, 255, 30, 23, 69, 88, 116, 202, 214, 156, 247, 108, 121, 158, 141, 11, 182, 75, 196 }
Session ID: {70, 131, 237, 51, 103, 184, 128, 17, 11, 250, 79, 30, 226, 89, 202, 255, 40, 244, 207, 103, 23, 232, 181, 12, 213, 90, 153, 213, 5, 179, 105, 119}
Cipher Suite: SSL_RSA_WITH_RC4_128_MD5
Compression Method: 0
%% Created: [Session-1, SSL_RSA_WITH_RC4_128_MD5]
** SSL_RSA_WITH_RC4_128_MD5
*** Certificate chain
chain [0] = [
Version: V1
Subject: CN=Romenawerson, OU=Romenawerson Software, O=Masser, L=SC, ST=SC, C=ES
Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
Key: Sun RSA public key, 2048 bits
modulus: 26218049066688812844166292053322592777371129439466024553015697381624406300839227173808057660437842049778162997716778672465698869907347066124616563594240125762524939915402315386003803148278000690289855047564064085048848218487772248550902777635260652977838418228357272143568678808697631825834935842172373214502488401919079625206784817447169856160975190854447483259794542577274185756524489133463104507701871398035038051874790106390687139882093092278152813019096166210094417604042911501907793329618438553321927409287787349853730049580333692091467723730149335152659294835570337214736792744190512402485625826849470971056221
public exponent: 65537
Validity: [From: Tue Apr 04 13:22:04 BST 2006,
To: Mon Jul 03 13:22:04 BST 2006]
Issuer: CN=Romenawerson, OU=Romenawerson Software, O=Masser, L=SC, ST=SC, C=ES
SerialNumber: [ 443264ec]
Algorithm: [MD5withRSA]
Signature:
0000: 99 79 9F 84 5E A9 54 D5 19 D9 B9 2E EC F0 8F 98 .y..^.T.........
0010: B2 35 DD 26 34 84 37 3C 47 50 2E 2A 05 5C 21 C3 .5.&4.7<GP.*.\!.
0020: D6 98 24 CB 04 9E CF DC 1E 35 5C 4A 0A 29 EA 4E ..$......5\J.).N
0030: 21 84 26 9A 6E 47 A2 17 77 A1 60 2A A6 F3 E9 92 !.&.nG..w.`*....
0040: DD 76 77 D5 20 ED 94 9F AA FD 56 4F 6F 77 75 E3 .vw. .....VOowu.
0050: EE E4 3B 4F 80 10 1A 68 E3 20 7A D8 27 19 31 54 ..;O...h. z.'.1T
0060: 9C 90 8C D8 49 EA 48 73 FD F6 C6 6F 71 56 89 2E ....I.Hs...oqV..
0070: 3D 4F 29 0D ED 50 8E BA FA A6 2B 54 D9 91 1D 98 =O)..P....+T....
0080: E9 1A E7 17 DB DC 6B 84 D9 A4 32 6B BD 65 F1 F1 ......k...2k.e..
0090: 24 10 69 B7 43 C7 76 B5 E3 29 4C 41 12 62 E2 DF $.i.C.v..)LA.b..
00A0: 95 6F 6A FA 52 B8 FB C5 DB 1C B8 54 F3 20 0E B4 .oj.R......T. ..
00B0: BE B6 B6 36 09 F3 CF 3A 1E E8 68 1D 34 D9 EF 43 ...6...:..h.4..C
00C0: 3F FC 11 D2 B8 45 A7 1C 72 81 DD 3A 82 FC F7 DC ?....E..r..:....
00D0: C8 98 69 86 83 09 96 BF D9 1D 94 36 2E 50 7F 48 ..i........6.P.H
00E0: 05 B2 3B A6 F1 75 34 06 38 14 BE BD 60 3B F7 17 ..;..u4.8...`;..
00F0: 03 92 B4 38 99 47 5F 96 DC F1 33 22 C5 BE FB 91 ...8.G_...3"....
Found trusted certificate:
Version: V1
Subject: CN=Romenawerson, OU=Romenawerson Software, O=Masser, L=SC, ST=SC, C=ES
Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
Key: Sun RSA public key, 2048 bits
modulus: 26218049066688812844166292053322592777371129439466024553015697381624406300839227173808057660437842049778162997716778672465698869907347066124616563594240125762524939915402315386003803148278000690289855047564064085048848218487772248550902777635260652977838418228357272143568678808697631825834935842172373214502488401919079625206784817447169856160975190854447483259794542577274185756524489133463104507701871398035038051874790106390687139882093092278152813019096166210094417604042911501907793329618438553321927409287787349853730049580333692091467723730149335152659294835570337214736792744190512402485625826849470971056221
public exponent: 65537
Validity: [From: Tue Apr 04 13:22:04 BST 2006,
To: Mon Jul 03 13:22:04 BST 2006]
Issuer: CN=Romenawerson, OU=Romenawerson Software, O=Masser, L=SC, ST=SC, C=ES
SerialNumber: [ 443264ec]
Algorithm: [MD5withRSA]
Signature:
0000: 99 79 9F 84 5E A9 54 D5 19 D9 B9 2E EC F0 8F 98 .y..^.T.........
0010: B2 35 DD 26 34 84 37 3C 47 50 2E 2A 05 5C 21 C3 .5.&4.7<GP.*.\!.
0020: D6 98 24 CB 04 9E CF DC 1E 35 5C 4A 0A 29 EA 4E ..$......5\J.).N
0030: 21 84 26 9A 6E 47 A2 17 77 A1 60 2A A6 F3 E9 92 !.&.nG..w.`*....
0040: DD 76 77 D5 20 ED 94 9F AA FD 56 4F 6F 77 75 E3 .vw. .....VOowu.
0050: EE E4 3B 4F 80 10 1A 68 E3 20 7A D8 27 19 31 54 ..;O...h. z.'.1T
0060: 9C 90 8C D8 49 EA 48 73 FD F6 C6 6F 71 56 89 2E ....I.Hs...oqV..
0070: 3D 4F 29 0D ED 50 8E BA FA A6 2B 54 D9 91 1D 98 =O)..P....+T....
0080: E9 1A E7 17 DB DC 6B 84 D9 A4 32 6B BD 65 F1 F1 ......k...2k.e..
0090: 24 10 69 B7 43 C7 76 B5 E3 29 4C 41 12 62 E2 DF $.i.C.v..)LA.b..
00A0: 95 6F 6A FA 52 B8 FB C5 DB 1C B8 54 F3 20 0E B4 .oj.R......T. ..
00B0: BE B6 B6 36 09 F3 CF 3A 1E E8 68 1D 34 D9 EF 43 ...6...:..h.4..C
00C0: 3F FC 11 D2 B8 45 A7 1C 72 81 DD 3A 82 FC F7 DC ?....E..r..:....
00D0: C8 98 69 86 83 09 96 BF D9 1D 94 36 2E 50 7F 48 ..i........6.P.H
00E0: 05 B2 3B A6 F1 75 34 06 38 14 BE BD 60 3B F7 17 ..;..u4.8...`;..
00F0: 03 92 B4 38 99 47 5F 96 DC F1 33 22 C5 BE FB 91 ...8.G_...3"....
*** ServerHelloDone
*** ClientKeyExchange, RSA PreMasterSecret, TLSv1
AWT-EventQueue-0, WRITE: TLSv1 Handshake, length = 262
SESSION KEYGEN:
PreMaster Secret:
0000: 03 01 E3 5F 8B 56 4D 06 C4 F6 12 CD 93 81 AF 2C ..._.VM........,
0010: 62 26 48 E1 F7 98 41 3E 97 99 40 AD 80 2A 2D C6 b&H...A>..@..*-.
0020: F7 13 6D 2A 15 EF 4C F9 E3 B4 90 9E 6E 07 51 C5 ..m*..L.....n.Q.
CONNECTION KEYGEN:
Client Nonce:
0000: 46 83 ED 30 B1 F8 E9 1A FF 83 1E DB BB 07 A1 82 F..0............
0010: 24 61 57 8F 90 1B 6A CE BD A7 1A 89 61 10 68 A2 $aW...j.....a.h.
Server Nonce:
0000: 46 83 ED 33 B8 DE 83 95 E7 C0 0B 8F 12 15 FF 1E F..3............
0010: 17 45 58 74 CA D6 9C F7 6C 79 9E 8D 0B B6 4B C4 .EXt....ly....K.
Master Secret:
0000: 91 F9 46 EC DC 49 20 6E 1B 36 43 FD 25 49 FD 03 ..F..I n.6C.%I..
0010: AC 97 EF 22 8F 8C 16 F3 82 4C 38 BD C1 E6 D5 38 ...".....L8....8
0020: 11 20 1C D1 41 50 C6 96 96 92 39 0B D8 2C 00 DF . ..AP....9..,..
Client MAC write Secret:
0000: 5E 90 BF 8E 39 D1 B8 4C 43 65 32 D4 6E 92 F0 C0 ^...9..LCe2.n...
Server MAC write Secret:
0000: 41 EF 1A 63 21 69 D7 C6 82 FA E0 EA CC F2 7F C6 A..c!i..........
Client write key:
0000: 16 A2 E1 AD 6C BA 83 E7 DD 22 59 44 21 48 A2 12 ....l...."YD!H..
Server write key:
0000: 7B FC 54 77 6F 67 92 99 88 71 6C 34 ED 48 C2 1C ..Twog...ql4.H..
... no IV used for this cipher
AWT-EventQueue-0, WRITE: TLSv1 Change Cipher Spec, length = 1
*** Finished
verify_data: { 185, 57, 235, 98, 149, 175, 131, 220, 206, 66, 222, 206 }
AWT-EventQueue-0, WRITE: TLSv1 Handshake, length = 32
AWT-EventQueue-0, READ: TLSv1 Change Cipher Spec, length = 1
AWT-EventQueue-0, READ: TLSv1 Handshake, length = 32
*** Finished
verify_data: { 170, 212, 47, 137, 112, 161, 231, 13, 84, 116, 170, 163 }
%% Cached client session: [Session-1, SSL_RSA_WITH_RC4_128_MD5]
AWT-EventQueue-0, WRITE: TLSv1 Application Data, length = 23
AWT-EventQueue-0, setSoTimeout(900000) called
AWT-EventQueue-0, READ: TLSv1 Application Data, length = 35
AWT-EventQueue-0, setSoTimeout(0) called
AWT-EventQueue-0, WRITE: TLSv1 Application Data, length = 35
AWT-EventQueue-0, WRITE: TLSv1 Application Data, length = 72
AWT-EventQueue-0, READ: TLSv1 Application Data, length = 322
28-jun-2007 18:17:57 sun.rmi.transport.WeakRef pin
M�S FINA: AWT-EventQueue-0: strongRef = sun.rmi.transport.DGCImpl@1551f60
28-jun-2007 18:17:57 sun.rmi.transport.ObjectTable putTarget
M�S FINA: AWT-EventQueue-0: add object [0:0:0, 2]
28-jun-2007 18:17:57 sun.rmi.transport.ConnectionInputStream done
M�S FINA: AWT-EventQueue-0: send ack
AWT-EventQueue-0, WRITE: TLSv1 Application Data, length = 17
AWT-EventQueue-0, READ: TLSv1 Application Data, length = 17
AWT-EventQueue-0, WRITE: TLSv1 Application Data, length = 31
The Exception is: Connection refuse to host: 192.168.1.21; java.net.ConnectException: Connection timed out: connect
I think that the Hadshaked it�s ok, but I don�t know why I can�t connect satisfactorily. In my LAN the aplication is working perfectily. Please help me!!!!!!!! Sorry but my english is not very well.Hi,
After installation of XI , We have to do some post installation activities to configure the XI as an Integration server...
If you have not done the post installation activities ..try to execute the Template Installer..
It will do all the post installation activities ...here is the path.
http://help.sap.com/saphelp_nw2004s/helpdata/en/4b/c25a42793d1653e10000000a155106/frameset.htm
If this is helpfull for you ....reward points...
regds,
vasanth. -
Remote tuxedo domain rejects connection from client only Tuxedo JCA Adapter
I am trying to use a client only configured Oracle Tuxedo JCA Adapter 11.1.1.2.1 to connect to a remote tuxedo 10.3 domain. The connector is deployed to a JDeveloper 10.1.3.4 embedded OC4J container. The connector is failing silently when attempting to establish a connection with the remote domain. Locally, the JCA Adapter ntrace logs the following:
1/20/11:9:41:49 PM:10:TRACE[DMLocalAccessPoint,DMLocalAccessPoint]> (ypjspNQ5QIPKmOyk1DlAgw==)
1/20/11:9:41:49 PM:10:DBG[DMLocalAccessPoint,DMLocalAccessPoint]_useSSL = false
1/20/11:9:41:49 PM:10:TRACE[DMLocalAccessPoint,DMLocalAccessPoint]< return(10)
1/20/11:9:41:49 PM:10:INFO[TuxedoAdapterSupervisor,createLocalAccessPoint]TJA_0233:Info: Default local access point for factory null created, access point id ypjspNQ5QIPKmOyk1DlAgw==.
1/20/11:9:41:49 PM:10:DBG[TuxedoAdapterSupervisor,createLocalAccessPoint]features = 159
1/20/11:9:41:49 PM:10:TRACE[TuxedoAdapterSupervisor,startListeners]> ()
1/20/11:9:41:49 PM:10:TRACE[TuxedoAdapterSupervisor,startListeners]< (20) return
1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]> (__sess_0_0)
1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_lap_name:ypjspNQ5QIPKmOyk1DlAgw==
1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_rap_name:e1tst_tdtux02
1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_pro_name:__default_session_profile__
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _lap: com.oracle.tuxedo.adapter.config.DMLocalAccessPoint@1f6bc1a
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _rap: com.oracle.tuxedo.adapter.config.DMRemoteAccessPoint@1b75e54
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _pro: com.oracle.tuxedo.adapter.config.DMSessionProfile@191f64b
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]sec = NONE
1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]< return(60)
1/20/11:9:41:49 PM:10:INFO[TuxedoAdapterSupervisor,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint ypjspNQ5QIPKmOyk1DlAgw== and RemoteAccessPoint e1tst_tdtux02.
1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]> (__sess_0_1)
1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_lap_name:ypjspNQ5QIPKmOyk1DlAgw==
1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_rap_name:e1tst_tdtux01
1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_pro_name:__default_session_profile__
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _lap: com.oracle.tuxedo.adapter.config.DMLocalAccessPoint@1f6bc1a
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _rap: com.oracle.tuxedo.adapter.config.DMRemoteAccessPoint@1c0f654
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _pro: com.oracle.tuxedo.adapter.config.DMSessionProfile@191f64b
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]sec = NONE
1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]< return(60)
1/20/11:9:41:49 PM:10:INFO[TuxedoAdapterSupervisor,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint ypjspNQ5QIPKmOyk1DlAgw== and RemoteAccessPoint e1tst_tdtux01.
1/20/11:9:41:49 PM:10:TRACE[TuxedoAdapterSupervisor,registerClientSideResourceAdapter]create default import
1/20/11:9:41:49 PM:10:TRACE[ServiceManager,registerImportedService]> (*)
1/20/11:9:41:49 PM:10:INFO[,]factory = null
1/20/11:9:41:49 PM:10:INFO[,]name = *
1/20/11:9:41:49 PM:10:INFO[,]iname = *
1/20/11:9:41:49 PM:10:TRACE[ServiceManager,registerImportedService]register Default Import
1/20/11:9:41:49 PM:10:TRACE[Route,Route]> (*)
I can't determine if there are any problems from these log entries, but the remote tuxedo domain logs the following in the ULOG:
155138.tdtux01!GWTDOMAIN.3495.4.0: LIBGWT_CAT:1073: ERROR: Unable to obtain remote domain id (ypjspNQ5QIPKmOyk1DlAgw==) information from shared memory
155138.tdtux01!GWTDOMAIN.3495.4.0: LIBGWT_CAT:1509: ERROR: Error occurred during security negotiation - closing connection
My understanding is that the client only configuration should connect to a remote tuxedo domain as an anonymous client instead of a peer tuxedo domain, but the remote tuxedo gateway domain listener is acting like the client has to be configured in its dmconfig file before it will allow the connection request. Is there a different kind of listener the client only configuration should connect to instead of the tuxedo gateway domain listener? How can a remote tuxedo domain accept a connection from an anonymous client if the client must first be specified in the remote domain's dmconfig file? Is this a tuxedo 11g only feature? I'm trying to connect to a tuxedo 10.3 server.
The local ra.xml is reproduced here:
<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<display-name>Tuxedo JCA Adapter</display-name>
<vendor-name>Oracle</vendor-name>
<eis-type>Tuxedo</eis-type>
<resourceadapter-version>11gR1(11.1.1.2.1)</resourceadapter-version>
<license>
<description>Tuxedo SALT license</description>
<license-required>false</license-required>
</license>
<resourceadapter>
<resourceadapter-class>com.oracle.tuxedo.adapter.TuxedoClientSideResourceAdapter</resourceadapter-class>
<config-property>
<config-property-name>debugConfig</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
<config-property>
<config-property-name>traceLevel</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>100000</config-property-value>
</config-property>
<config-property>
<config-property-name>xaAffinity</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
<config-property>
<config-property-name>remoteAccessPointSpec</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>//tdtux01:9601/domainId=e1tst_tdtux01,//tdtux02:9601/domainId=e1tst_tdtux02</config-property-value>
</config-property>
<outbound-resourceadapter>
<connection-definition>
<managedconnectionfactory-class>com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory</managedconnectionfactory-class>
<connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
<connectionfactory-impl-class>com.oracle.tuxedo.adapter.cci.TuxedoConnectionFactory</connectionfactory-impl-class>
<connection-interface>javax.resource.cci.Connection</connection-interface>
<connection-impl-class>com.oracle.tuxedo.adapter.cci.TuxedoJCAConnection</connection-impl-class>
</connection-definition>
<transaction-support>NoTransaction</transaction-support>
<authentication-mechanism>
<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
<credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
</authentication-mechanism>
<reauthentication-support>false</reauthentication-support>
</outbound-resourceadapter>
</resourceadapter>
</connector>
Thanks for any help.
SteveLooks like this is an RTFM question. From:
[http://download.oracle.com/docs/cd/E18050_01/jca/docs11gr1/users/jca_usersguide.html]
Is the following:
Dynamic RemoteAccessPoint (RAP) Insertion
In order to make default LocalAccessPoint to work, Oracle Tuxedo GWTDOMAIN gateway configuration is required in order to make this simplified /Domain configuration to work.
GWTDOMAIN gateway must be modified to allow Dynamic RemoteAccessPoint (RAP) Registration. If DYNAMIC_RAP is set to YES, it will also update the in-memory database of the status of the connection from those dynamically registered RAP. If the connection from those dynamically registered RAP lost then the information about that RAP will be removed from the SHM database.
GWADM must be modified to process the DM MIB correctly to reflect the connection status of those dynamically registered RAP. When the connection from those dynamically registered RAP lost their entries in the SHM database will also be removed so that the DM MIB query can return the connection status correctly.
The dynamically registered RAP will be added to /DOMAIN configuration permanently. Their existence will only be known when the Session is established. Their existence will be lost when the connection is lost.
The DM_CONNECTION Oracle Tuxedo /Domain DMIB call returns all the connected dynamically registered RemoteAccessPoint. All other dynamically registered RemoteAccessPoint that are not connected will not be shown.
The OPENCONNECTION DMIB request will not be supported to connect to those dynamically registered RAP.
The CLOSECONNECTION Oracle Tuxedo /DMIB request closes the connection and remove the session from those dynamically registered RemoteAccessPoint, and returns its connection status as 'UNKNOWN.
The PERSISTENT_DISCONNECT type of CONNECTION_POLICY will be honored that means when PERSISTENT_DISCONNECT is in effect all connections request from any RAP, whether they are dynamically or non-dynamically registered, will be rejected.
I must have overlooked this section when reading it. Looks like I've got more configuration to do.
Thanks,
Steve -
Can Oracle 7i and 8i be connected from Oracle 9i database
I want to know if i can do the following. That means is it possible in production scenario. If yes then how and will it affect the performance to a great extend.
We are now upgrading the application server to weblogic 10.3 . But this server supports only Oracle 9i and above. But we have two more data server which are Oracle 8i and Oracle 7i. These databases will be upgraded later on but not now. So the problem is i can not connect to these Oracle database versions if i use Weblogic 10.3. So i wanted to know if there is any possibility of connecting the application server to a intermideate Oracle 9i database which will act as a bridge from Application server to Oracle 7i and 8i. Can Oracle 9i connect to Oracle 7i and 8i. If yes then how. You can provide me online references if any.
Thanks in advance. Waiting for your reply.manoj.tcs wrote:
The connection what you are refering is from a normal pc to Oracle 7i or 8i database. But i want to connect from Oracle 9i to Oracle 8iWhen connecting from one db to another (via a db_link) the 'calling' db is just another client to the 'called' db. if you can connect to 7.x (there was no 7i) with a 9.x sqlplus, then you should be able to connect with a 9.x database. At a previous job, we did something similar to get an app compiled against 8.1 to use a 10.2 database - set up a 9.2 intermediary that had nothing but db_links and synonyms pointing on to the 10g.
However, I wouldn't bet the company on making your scenario work. You really should upgrade your databases first. -
Oracle 8 not connecting from client machines
hello
i am using oracle 8 on windows environment. the problem is that oracle is connecting on the server machine but not on client machine for some days. sometimes i do connects but sometimes the application helds for long time and no response is obtained. Application is residing on the server and drive has been mapped on the client machines. What can be the possible cause. ping on the network is ok.
Waiting...
iftikhar ahmad
Lahoreoracle 8Wauv a historic database from 1997 - http://tonguc.wordpress.com/2006/12/27/history-of-oracle/
do you really have to stay at that version first of all, 11gR1 is out and 9iR2 is de-supported recently and I couldnt find this release's documentation also.
What about tnsping and sqlplus connection from your clients and listener status on your server - lsnrctl status
You may need to set, take and analyze sql*net traces - http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/apxtblsh.htm#i1004660
Best regards. -
Problem connecting from Oracle to MS Excel - 64 bit
Hello,
I have problem connecting to excel from oracle 11.2 using DG4ODBC.
OS - Windows 7 - 64 bit
Database version :- Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit
Created System DSN using ODBC:
Data Source Name = test12
Oracle home Path :- D:\app\11g64db\product\11.2.0\dbhome_1
Content of initdg4odbc.ora file :
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = test12
HS_FDS_TRACE_LEVEL = 255
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
Content of listener.ora:
# listener.ora Network Configuration File: D:\app\11g64db\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = vis)
(ORACLE_HOME = D:\app\11g64db\product\11.2.0\dbhome_1)
(SID_NAME = vis)
(SID_DESC =
(PROGRAM = dg4odbc)
(SID_NAME = dg4odbc)
(ORACLE_HOME = D:\app\11g64db\product\11.2.0\dbhome_1)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = D:\app\11g64db
Content of tnsnames.ora:
# tnsnames.ora Network Configuration File: D:\app\11g64db\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
excel_test =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(CONNECT_DATA=(SID=dg4odbc))
(HS=OK)
VIS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = vis)
Listener status
LSNRCTL for 64-bit Windows: Version 11.2.0.4.0 - Production on 29-AUG-2014 13:56
:11
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.4.0 - Produ
ction
Start Date 29-AUG-2014 13:34:58
Uptime 0 days 0 hr. 21 min. 12 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\app\11g64db\product\11.2.0\dbhome_1\network\admin\l
istener.ora
Listener Log File D:\app\11g64db\diag\tnslsnr\Est-Subramanya\listener\al
ert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "dg4odbc" has 1 instance(s).
Instance "dg4odbc", status UNKNOWN, has 1 handler(s) for this service...
Service "vis" has 2 instance(s).
Instance "vis", status UNKNOWN, has 1 handler(s) for this service...
Instance "vis", status READY, has 1 handler(s) for this service...
Service "visXDB" has 1 instance(s).
Instance "vis", status READY, has 1 handler(s) for this service...
The command completed successfully
DB Link:
CREATE PUBLIC DATABASE LINK TEST123 USING 'excel_test';
error while querying the data:
select * from test@test123;
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-02063: preceding line from TEST123
28500. 00000 - "connection from ORACLE to a non-Oracle system returned this message:"
*Cause: The cause is explained in the forwarded message.
*Action: See the non-Oracle system's documentation of the forwarded
message.
Error at Line: 1 Column: 20
Appreciate the help in advance............
Thanks...Also HS log file showed error.. Below are the contents of the trace file:
Oracle Corporation --- FRIDAY AUG 29 2014 14:01:06.212
Heterogeneous Agent Release
11.2.0.4.0
Oracle Corporation --- FRIDAY AUG 29 2014 14:01:06.211
Version 11.2.0.4.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "UCS2"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "dg4odbc"
Product-Info:
Port Rls/Upd:4/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.4.0_0019, Instance:dg4odbc
Exiting hgogprd, rc=0
hostmstr: 8795961769984: HOA After hoagprd
hostmstr: 8795961769984: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=1000
HOCXU_DB_CSET=873
HS_LANGUAGE not specified
rc=1239980 attempting to get LANG environment variable.
HOCXU_SEM_VER=112000
Entered hgolofn at 2014/08/29-14:01:06
Exiting hgolofn, rc=0 at 2014/08/29-14:01:06
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2014/08/29-14:01:06
hostmstr: 8795961769984: HOA After hoainit
hostmstr: 8795961769984: HOA Before hoalgon
Entered hgolgon at 2014/08/29-14:01:06
reco:0, name:OPTIM, tflag:0
Entered hgosuec at 2014/08/29-14:01:06
Exiting hgosuec, rc=0 at 2014/08/29-14:01:06
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using OPTIM as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2014/08/29-14:01:06
HS_FDS_CONNECT_INFO = "test12"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2014/08/29-14:01:06
dsn:test12, name:OPTIM
optn:
Entered hgocip at 2014/08/29-14:01:06
dsn:test12
Exiting hgocip, rc=0 at 2014/08/29-14:01:06
##>Connect Parameters (len=31)<##
## DSN=test12;
#! UID=OPTIM;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2014/08/29-14:01:06
Entered hgopoer at 2014/08/29-14:01:06
SQLGetDiagRec returns rc=100 (SQL_NO_DATA) for handle 4619630 (SQL_HANDLE_DBC)
Exiting hgopoer, rc=0 at 2014/08/29-14:01:06 with error ptr FILE:hgopoer.c LINE:186 ID:GetDiagRec error
hgocont, line 2831: calling SqlDriverConnect got sqlstate
Exiting hgocont, rc=28500 at 2014/08/29-14:01:06 with error ptr FILE:hgocont.c LINE:2851 ID:Something other than invalid authorization
Exiting hgolgon, rc=28500 at 2014/08/29-14:01:06 with error ptr FILE:hgolgon.c LINE:806 ID:Calling hgocont
hostmstr: 8795908591616: HOA After hoalgon
RPC Calling nscontrol(0), rc=0
hostmstr: 8795908591616: RPC Before Exit Agent
hostmstr: 8795908591616: HOA Before hoaexit
Entered hgoexit at 2014/08/29-14:01:06
Exiting hgoexit, rc=0
hostmstr: 8795911442432: HOA After hoaexit
hostmstr: 8795911442432: RPC After Exit Agent -
IMAP/SSL: problem connecting from a web application
Hi,
I try to connect to a IMAP/SSL server (with a self-signed certificate) from a web application. I followed http://www.javaworld.com/javatips/jw-javatip115.html.
When I try to connect from a java application it works fine. But when I try it from a servlet, it fails:
javax.mail.MessagingException: gaeron.gcrm.test.mail.DummySSLSocketFactory;
nested exception is:
java.net.SocketException: gaeron.gcrm.test.mail.DummySSLSocketFactory
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:461)
at javax.mail.Service.connect(Service.java:236)I use Tomcat 5.5, jdk1.5.0_06 and javamail-1_3_3_01. Here is my code:
Security.setProperty( "ssl.SocketFactory.provider", "gaeron.gcrm.test.mail.DummySSLSocketFactory");
Properties props = new Properties();
Session session = Session.getDefaultInstance(props);
Store store = session.getStore("imaps");
store.connect(server, 993, username, password);
store.close();Can anybody help me?
Thanks,
Előd.I am not sure there is a class called MBoxSSLFactory. Is that a typo? We are in the same boat. We have a web application running on Tomcat that needs to connect to the IMAP store on the MS Exchange 2003 Server. It was working fine until we enabled Basic Authentication - SSL/TLS required setting on it.
In order to eliminate any complications due to Tomcat and all we are trying to get a simple standalone program that talks to IMAP server (using the DummySSLSocketFactory, DummyTrustManager etc) working.
I am stuck on the same error: (shown below is the stack trace and the code we are running). I have tried all the suggestions that have been posted on this "Unconnected Sockets not implemented" issue. I have tried it with both Jdk 1.4.2_08 and JDK 1.5.0.
The JavaMail version is 1.4. If I use JavaMail version 1.3.1 it complains that there is no store type "imaps". If I use "imap" and not "imaps" as the store type I end up getting "Authentication Failed" exception.
Instead of a DummyTrustManager I even tried importing a certificate. We have deployed a Verisign trial certificate on the EXchange server side. So when we run the InstallCert program (http://blogs.sun.com/andreas/entry/no_more_unable_to_find) it allows us to add the valid certificates to our keystore. Once that is done we have tried to create TrustManager based on that keystore. But NOPE..No success. same problem.
We have been stuck on this one for the last 4 days and we have a very critical client deployment that is hampered by this one. I know it is turkey time now..but would really appreciate it if some one can help us out.
javax.mail.MessagingException: Unconnected sockets not implemented;
nested exception is:
java.net.SocketException: Unconnected sockets not implemented
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:479)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at GetSSLMail.getmail.main(getmail.java:37)
Caused by: java.net.SocketException: Unconnected sockets not implemented
at javax.net.SocketFactory.createSocket(SocketFactory.java:97)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:224)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.iap.Protocol.<init>(Protocol.java:84)
at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:87)
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:446)
... 4 more
package GetSSLMail;
/* getmail.java */
import java.util.Properties;
import javax.mail.*;
//import javax.mail.internet.*;
import java.io.*;
public class getmail {
//myauth auth;
public static void main(String args[]) throws Exception {
String host, name, passwd;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter IMAP Host Name: ");
host = br.readLine();
System.out.println("Enter User name: ");
name = br.readLine();
System.out.println("Enter Password: ");
passwd = br.readLine();
java.security.Security.setProperty("ssl.SocketFactory.provider","DummySSLSocketFactory");
// Get a Properties object
Properties props = System.getProperties();
props.put("mail.imaps.host", host);
props.put("mail.imaps.port", "993");
Authenticator auth = new myauth(name, passwd);
Session session = Session.getDefaultInstance(props, auth);
Store store = session.getStore("imaps");
try {
store.connect(); // exception here
System.out.println("store connected");
} catch (Exception e) {
//System.out.println("Error :" + e.toString());
e.printStackTrace();
Folder folder = null;
try {
folder = store.getFolder("INBOX"); // because of earlier exception,
// also
// exception here
} catch (Exception e) {
System.out.println("Error :" + e.toString());
folder.open(Folder.READ_ONLY);
BufferedReader reader = new BufferedReader(new InputStreamReader(
System.in));
Message message[] = folder.getMessages();
for (int i = 0, n = message.length; i < n; i++) {
System.out.println(i + ": " + message.getFrom() + "\t"
+ message[i].getSubject());
System.out
.println("Do you want to read message? [yes to read/quit to end]");
String line = reader.readLine();
if ("yes".equals(line)) {
System.out.println(message[i].getContent());
} else if ("QUIT".equals(line)) {
break;
class myauth extends Authenticator {
String username, password;
public myauth(String name, String passwd) {
username = name;
password = passwd;
public PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(username, password);
package GetSSLMail;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.InetAddress;
import java.net.Socket;
import java.security.KeyStore;
import javax.net.SocketFactory;
import javax.net.ssl.*;
* DummySSLSocketFactory
public class DummySSLSocketFactory extends SSLSocketFactory {
private SSLSocketFactory factory;
SSLContext sslcontext;
TrustManagerFactory tmf;
KeyStore ks;
public DummySSLSocketFactory() {
try {
// try
ks = KeyStore.getInstance("jks");
InputStream in = new FileInputStream("C:\\Documents and Settings\\kk12\\jssecacerts");
in = new BufferedInputStream(in);
ks.load(in,null);
tmf = TrustManagerFactory.getInstance("PKIX");
tmf.init(ks);
sslcontext = SSLContext.getInstance("SSL");
sslcontext.init(null, tmf.getTrustManagers(), null);
HttpsURLConnection.setDefaultSSLSocketFactory(sslcontext.getSocketFactory());
//SSLContext sslcontext = SSLContext.getInstance("TLS");
//sslcontext.init(null,new TrustManager[] { new DummyTrustManager()},null);
factory = (SSLSocketFactory)sslcontext.getSocketFactory();
} catch(Exception ex) {
// ignore
public static SocketFactory getDefault() {
return new DummySSLSocketFactory();
public Socket createSocket(Socket socket, String s, int i, boolean flag)
throws IOException {
return factory.createSocket(socket, s, i, flag);
public Socket createSocket() throws IOException {
System.out.println( "createSocket 0");
return factory.createSocket();
public Socket createSocket(InetAddress inaddr, int i,
InetAddress inaddr1, int j) throws IOException {
return factory.createSocket(inaddr, i, inaddr1, j);
public Socket createSocket(InetAddress inaddr, int i)
throws IOException {
return factory.createSocket(inaddr, i);
public Socket createSocket(String s, int i, InetAddress inaddr, int j)
throws IOException {
return factory.createSocket(s, i, inaddr, j);
public Socket createSocket(String s, int i) throws IOException {
return factory.createSocket(s, i);
public String[] getDefaultCipherSuites() {
return factory.getDefaultCipherSuites();
public String[] getSupportedCipherSuites() {
return factory.getSupportedCipherSuites();
package GetSSLMail;
//import com.sun.net.ssl.X509TrustManager;
import java.security.cert.X509Certificate;
import javax.net.ssl.TrustManager;
public class DummyTrustManager implements TrustManager {
public boolean isClientTrusted( X509Certificate[] cert) {
return true;
public boolean isServerTrusted( X509Certificate[] cert) {
return true;
public X509Certificate[] getAcceptedIssuers() {
return new X509Certificate[ 0]; -
Problem connect form6i and Oracle Database 10g
I can't connect form6i to Oracle Database 10g
When complete user/password@database fatal error produce:
"Oracle Forms Designer has encountered a problem and needs to close. We are sorry for the inconvenience"
Error Detail:
AppName: ifbld60.exe AppVer: 6.0.8.27 ModName: ora805.dll
ModVer: 0.0.0.0 Offset: 000b4f04
Product Install:
- Forms Version: Forms [32 bits] Versión 6.0.8.27.0
- Oracle Database: 10.2.0
- Win XP professional with SP2.
Any idea what might cause Forms to shutdown ubnormally?
ThanksIf your database is using the AL32UTF8 character set, Forms 6i cannot connect.
Read this thread:
connecting form 6i to oracle database 10G express edition -
Problem connecting developer 6i with database 10g express edition
i have installed developer 6i on windows xp
then installed database 10g express edition in different folders
i am able to connect to the database 10g from the sql command line
but i cannot connect from the form builder in 6i
as soon as i try to connect the form builder shuts down
i have copied tnsnames.ora from the 10g to the 6i and it doesn't connect
does anyone know why this is happening ?
please help me solve this issue ???then installed database 10g express edition in different foldersWhich version ? Universal or Western European ?
Universal version uses AL32UTF8 character set and Forms 6i does not work with it. -
Cannot connect to the internet from my MAC on WRT160Nv2 - no problems connecting from my PC
Hi,
I have just bought a WRT160Nv2, but I am having problems connecting to the internet from my MAC (a powerbook with OS X) when I connect to the router wirelessly. If I try from my PC the Internet works fine. Also if I connect the MAC directly to the routers LAN port, the Internet works.
When I connect wirelessly from the MAC I do get an IP adress, and I am able to access the routers web configuration page. I can also see that the correct DNS gets assigned, so I am low on suggestions to what could be the problem.
Currently I have the router set up to WPA2 encryption, but I have tried different settings, e.g. no security at all with the same result.
I just tried upgrading to the newest firmware (WRT160Nv2_v2.0.02_008), also with no luck.
Also I should mention that the MAC can connect to other wireless connections without problems, e.g. my previous ZyXel DSL router.
Any ideas to what could be the problem?
Thanks,
RasmusWell maybe WPA2 Security is not compatible with Mac so change the Security mode to WEP or WPA and prepare security key of 10 digit password and while connecting to the wireless network on Mac type a $ sign first followed by the 10 digit passoword and it should work.
Maybe you are looking for
-
All CD's that I burned for my library have an iCloud icon with an explanation point next to the song. If I right click it prompts me that 'This Item was not added to the iCloud because an error occurred. Some of my purchases have no cloud icon next t
-
Getting an error while importing Development Configuration file (NW 2.0)
i, while importing a development configuration file for Webdynpro ( SAP NW 2.0 ), i am getting an error "Getting Input Stream Failed-> Unable to find the host ..." But i can ping to the server and tr is also working . i could see Active and I
-
HELP. new hard drive not recognized
HELP! guys, i badly need your help. i've been searching all over the internet and reading so many user groups already to search for answers to no avail. I bought a new Western Digital 160GB Scorpio SATA hard drive. I wanted to upgrade my Macbook whic
-
While I am trying to log out from a gmail account on firefox , a new tab pops out informing me about problem with the cookies options. I couldn't follow the instructions in the tab, because I couldn't find anything of the suggestion in the options me
-
Making Condition base value ZERO in RF05L-FWBAS
SD-FI Integration masters - I have a very typical requirement. I need to have ZERO tax in Billing. I have made the Tax Rate & Tax base Amt ZERO in RV60AFZZ. I have even tried giving a Tax code that has tax rate ZERO. Both Invoice & Accounting documen