Partitioned machine sending requests to Master Node????
I have a bridged configuration that is used in an unusual manner. We have 16 slaves
that send requests to a service on our master and the master sends a reply back
to a different service on the slave that sent the request. My question is, Is
it possible that when the slave is marked partitioned that the master could still
be recieving messages initiated from the partitioned slave? I am assuming that
the queue is still there on the master, so if the slave knew about it before the
partition, it could still send messages to that location. If this is true, then
I have a second question. If the master recieves a request from the partitioned
slave, and it actually uses a tpcall to a service for the reply, then will it
fail when it finds that the bridge to the machine where the service lives is partitioned?
change
OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());to
DataOutputStream dos = new DataOutputStream(conn.getOutputStream());
dos.writeBytes(URLEncoder.encode(data,"UTF-8"));
dos.close();
//You must read the input data
con.doInput(true);
InputStream in = con.getInputStream();
byte[] b = new byte[1024*128];
int i;
while ((i = in.read(b)) != -1){
in.close();OutputStreamWriter writes chars based on your platforms char encoding but in HTTP protocole you must use 8bit chars with URLEncodeing
Similar Messages
-
Abrupt shutdown of master node causes problem
A service in usmbcom1 (LMID ) makes tpacall to a service which is
present in
both usmbapp1 ( master node LMID ) and usmbapp2 ( slave node LMID
) ( HERE
usmbcom1 , usmbapp1 and usmbapp2 are LMIDs whereas the
corresponding physical m/cs unames are usmbd5 , usmbd3 and usmbd4
They are separate sun boxes) . LDBAL = Y and tpacall is done at
25 / sec.
Now there are 2 scenarios.
1. While tpacall is in progress we kill the servers in usmbapp1
using
kill command ( not kill -9) . Then clean up the ipcs. Only
few ( 3-5 out of a
total of 5000 ) messages were lost . This is understandable since
messages
which were already in the queue got lost). The rest of the messages
were
processes by usmbapp2.
2. In this case we switched off the sun box usmbapp1 ( m/c name
usmbd3)
while tpacall was in progress. This time we lost approx 50% of
the
messages. However if we go to the slave m/c i.e usmbapp2 and manually
make it master ( tmadmin ... master) ., then from that point of
time we stopped
losing messages.
Does that mean manual intervention is necessary if DBBL goes
down? Is there anything which I am missing out while configuring
the system?Hi Scott,
You did understand the scenario and the problems.
The answers are quite convincing.
Actually the QA team here are doing failover testing
and they have both these ( kill and m/c shutdown)
as their test cases.
However I would like to know about what you meant
by High Availability Solutions.
Do you also mean that if I shutdown my master m/c
then no event would be written in the ULOG of slave,
which can be monitored and used to convert the slave
into master programatically ( I mean thru tpadmcall)
Thanks
Somashish
Scott Orshan <[email protected]> wrote:
Hi,
I'm not sure if I completely comprehend your situation,
but let me take
a guess.
When you killed the processes (including the Bridge),
which by the way
is a bad thing to do to TUXEDO, TCP notified the other
connected nodes
that the connection had dropped. This happens fairly quickly.
But if you just turn off a machine, TCP may not detect
it until it times
out, which can take several minutes. Since TUXEDO was
doing Round Robin
load balancing, half the requests were sent to the Bridge,
with a
destination of the dead machine.
To answer your final question, the DBBL has to be migrated
manually,
unless you are using one of our High Availability solutions
that uses an
external monitor.
The reason is that it is very hard to distinguish between
a network
failure or slowdown, and a real failure of the Master
node. And it would
be very bad to have two machines in the domain acting
as the Master.
Scott Orshan
BEA Systems
Somashish Gupta wrote:
A service in usmbcom1 (LMID ) makes tpacall to a servicewhich is
present in
both usmbapp1 ( master node LMID ) and usmbapp2 ( slavenode LMID
) ( HERE
usmbcom1 , usmbapp1 and usmbapp2 are LMIDs whereas the
corresponding physical m/cs unames are usmbd5 , usmbd3and usmbd4
They are separate sun boxes) . LDBAL = Y and tpacallis done at
25 / sec.
Now there are 2 scenarios.
1. While tpacall is in progress we kill the serversin usmbapp1
using
kill command ( not kill -9) . Then clean up theipcs. Only
few ( 3-5 out of a
total of 5000 ) messages were lost . This is understandablesince
messages
which were already in the queue got lost). The restof the messages
were
processes by usmbapp2.
2. In this case we switched off the sun box usmbapp1( m/c name
usmbd3)
while tpacall was in progress. This time we lost approx50% of
the
messages. However if we go to the slave m/c i.e usmbapp2and manually
make it master ( tmadmin ... master) ., then from thatpoint of
time we stopped
losing messages.
Does that mean manual intervention is necessary if DBBLgoes
down? Is there anything which I am missing out whileconfiguring
the system? -
Hi,
I am reading 'Advanced RAC troubleshooting' written by Riyaj Shamsudeen and have some questions about the wait event 'gc current/cr grant 2-way'.
It says:
CR – disk read*
Select c1 from t1 where n1 =:b1;*
+1 User process in instance 1 requests master for a PR mode block.+
+2 Assuming no current owner, master node grants the lock to inst 1.+
+3 User process in instance 1 reads the block from the disk and holds PR.+
Why the master node is inst2? I think if no current owner, inst1 should read the block from the disk directly and it will be the master.
If only one block is read from the disk and the object which the block belongs to is never read, how to define the master node? Is it the requesting node?
Please help me.
Thanks.Hi
Master node is determined by no of time particular node accessed particular block.Which is accessed more will be master node for particular block.As I believe
Wait event gc current appears when request goest for current mode means for updation of blocks.
cr grant 2-way appears when same blocks is modified in two nodes.
Correction is highly appreciate.
Tinku -
Method names on "Client Request with Return" nodes
I wasn't sure whether this question would be better here, or in the "integration"
group. The traffic there is somewhat lighter than in here, so perhaps someone
is more likely to read it here :) .
I have two questions about the "method name" in a "Client Request with Return"
node in a Java Process Definition. Apparently the method name is exposed in the
WSDL. I can sort of understand what this method name is used for in the "request"
node, but I fail to understand what the method name corresponds to in the "reply/response"
node of the pair of two nodes. Why does this need to expose a method name in
the WSDL when the point of the node is just to send back a response to the original
request?
Second, in the "Guide to Building Business Processes" document, in the section
titled "Naming the Methods on Client Request with Return Nodes" (page 3-14 in
my copy), the last sentence says "The name must be a valid Java class name".
Is this true? That confuses me.What do you think is happening here? Specifically if a socket is a connected and a new one comes in. What then?
private void listen() {
try {
clientSocket = serverSocket.accept();
} catch (IOException e) {
e.printStackTrace();
} -
TUXEDO11 in MP mode can't boot TMS_ORA on the non-master node
I have my Tuxedo 11 installed on Ubuntu9.10 server as the master node (SITE1) and on CentOS6.2 as the non-master node (SITE2). The client program is using WSL to communicate with the servers. Tuxedo 11 has no patch, and both Tuxedo11 and Oracle10gR2 are 32 bits running on 32 bits OS.
On both node a TMS_ORA associated with an ORACLE 10gR2 database was installed. When I issue "tmboot -y", the servers on the master node booted normally, however, the TMS_ORA server and server that using TMS_ORA on SITE2 reported "Assume started (pipe). ". There is no core file for these servers on SITE2 and in ULOG on SITE2 there is no Error or Warning concerning the failure starting of TMS_ORA.
In order to check my servers and TMS_ORA works OK on SITE2, I used the master command under tmadmin to first swap the master and non-master node, and after the migration is successful, on SITE2 I issued "tmshutdown -cy" command then "tmboot -y" command. Surprisingly, all the servers booted correctly on both nodes. Then I migrate the master node back to SITE1 and the servers are still there alive and my client program can successfully call these servers which means the TMS_ORA and server using TMS_ORA on both nodes works fine.
The problem is, when I "tmshutdown -s server" (those on SITE2, either TMS_ORA or server using TMS_ORA), then using "tmboot -s server" to boot them (those on SITE2, either TMS_ORA or server using TMS_ORA) I got "Assume started (pipe). " reported and those server process didn't appear on SITE2.
It seems that I can't boot TMS_ORA on SITE2 from the master node SITE1 but can boot all the servers correctly if SITE2 are acting as the master node. Server that don't use TMS_ORA on SITE2 can be booted successfully from SITE1.
Can anybody figure out what's wrong? Thanks in advance.
Best regards,
Orlando
Edited by: user10950876 on 2012-6-13 下午3:02
Edited by: user10950876 on 2012-6-13 下午3:33Hi Todd,
Thank you for you reply. Following is my ULOG and tmboot report:
ubuntu9:~/tuxapp$tmboot -y
Booting all admin and server processes in /home/xp/tuxapp/tuxconfig
INFO: Oracle Tuxedo, Version 11.1.1.2.0, 32-bit, Patch Level (none)
Booting admin processes ...
exec DBBL -A :
on SITE1 -> process id=8803 ... Started.
exec BBL -A :
on SITE1 -> process id=8804 ... Started.
exec BBL -A :
on SITE2 -> process id=3964 ... Started.
Booting server processes ...
exec TMS_ORA -A :
on SITE1 -> process id=8812 ... Started.
exec TMS_ORA -A :
on SITE1 -> process id=8838 ... Started.
exec TMS_ORA2 -A :
on SITE2 -> CMDTUX_CAT:819: INFO: Process id=3967 Assume started (pipe).
exec TMS_ORA2 -A :
on SITE2 -> CMDTUX_CAT:819: INFO: Process id=3968 Assume started (pipe).
exec WSL -A -- -n //128.0.88.24:5000 -m 3 -M 5 -x 5 :
on SITE1 -> process id=8841 ... Started.
8 processes started.
ULOG on ubuntu9
134547.ubuntu9!DBBL.8803.3071841984.0: 06-14-2012: client high water (0), total client (0)
134547.ubuntu9!DBBL.8803.3071841984.0: 06-14-2012: Tuxedo Version 11.1.1.2.0, 32-bit
134547.ubuntu9!DBBL.8803.3071841984.0: LIBTUX_CAT:262: INFO: Standard main starting
134549.ubuntu9!DBBL.8803.3071841984.0: CMDTUX_CAT:4350: INFO: BBL started on SITE1 - Release 11112
134550.ubuntu9!BBL.8804.3072861888.0: 06-14-2012: Tuxedo Version 11.1.1.2.0, 32-bit, Patch Level (none)
134550.ubuntu9!BBL.8804.3072861888.0: LIBTUX_CAT:262: INFO: Standard main starting
134550.ubuntu9!BRIDGE.8806.3072931520.0: 06-14-2012: Tuxedo Version 11.1.1.2.0, 32-bit
134550.ubuntu9!BRIDGE.8806.3072931520.0: LIBTUX_CAT:262: INFO: Standard main starting
134555.ubuntu9!DBBL.8803.3071841984.0: CMDTUX_CAT:4350: INFO: BBL started on SITE2 - Release 11112
134556.ubuntu9!BRIDGE.8806.3072931520.0: CMDTUX_CAT:1371: INFO: Connection received from redhat62
134557.ubuntu9!TMS_ORA.8812.3057321664.0: 06-14-2012: Tuxedo Version 11.1.1.2.0, 32-bit
134557.ubuntu9!TMS_ORA.8812.3057321664.0: LIBTUX_CAT:262: INFO: Standard main starting
134559.ubuntu9!TMS_ORA.8838.3056805568.0: 06-14-2012: Tuxedo Version 11.1.1.2.0, 32-bit
134559.ubuntu9!TMS_ORA.8838.3056805568.0: LIBTUX_CAT:262: INFO: Standard main starting
134559.ubuntu9!WSL.8841.3072153920.0: 06-14-2012: Tuxedo Version 11.1.1.2.0, 32-bit
134559.ubuntu9!WSL.8841.3072153920.0: LIBTUX_CAT:262: INFO: Standard main starting
134559.ubuntu9!WSH.8842.3072411328.0: 06-14-2012: Tuxedo Version 11.1.1.2.0, 32-bit
134559.ubuntu9!WSH.8842.3072411328.0: WSNAT_CAT:1030: INFO: Work Station Handler joining application
134559.ubuntu9!WSH.8843.3073169088.0: 06-14-2012: Tuxedo Version 11.1.1.2.0, 32-bit
134559.ubuntu9!WSH.8843.3073169088.0: WSNAT_CAT:1030: INFO: Work Station Handler joining application
134559.ubuntu9!WSH.8844.3073066688.0: 06-14-2012: Tuxedo Version 11.1.1.2.0, 32-bit
134559.ubuntu9!WSH.8844.3073066688.0: WSNAT_CAT:1030: INFO: Work Station Handler joining application
ULOG on redhat62
134615.redhat62!tmloadcf.3961.3078567616.-2: 06-14-2012: client high water (0), total client (0)
134615.redhat62!tmloadcf.3961.3078567616.-2: 06-14-2012: Tuxedo Version 11.1.1.2.0, 32-bit
134615.redhat62!tmloadcf.3961.3078567616.-2: CMDTUX_CAT:872: INFO: TUXCONFIG file /home/tuxedo/tuxedo/simpapp/tuxconfig has been updated
134617.redhat62!BSBRIDGE.3963.3078089312.0: 06-14-2012: Tuxedo Version 11.1.1.2.0, 32-bit
134617.redhat62!BSBRIDGE.3963.3078089312.0: LIBTUX_CAT:262: INFO: Standard main starting
134619.redhat62!BBL.3964.3079420512.0: 06-14-2012: Tuxedo Version 11.1.1.2.0, 32-bit, Patch Level (none)
134619.redhat62!BBL.3964.3079420512.0: LIBTUX_CAT:262: INFO: Standard main starting
134620.redhat62!BRIDGE.3965.3077868128.0: 06-14-2012: Tuxedo Version 11.1.1.2.0, 32-bit
134620.redhat62!BRIDGE.3965.3077868128.0: LIBTUX_CAT:262: INFO: Standard main starting
134620.redhat62!BRIDGE.3965.3077868128.0: CMDTUX_CAT:4488: INFO: Connecting to ubuntu9 at //128.0.88.24:1800
ubb file content: (just in case you want to see it too. I've commented all the services in the ubb file, except the TMS_ORA2 on SITE2 to make it more distinct.)
*RESOURCES
IPCKEY 123456
DOMAINID TUXTEST
MASTER SITE1, SITE2
MAXACCESSERS 50
MAXSERVERS 35
MAXCONV 10
MAXGTT 20
MAXSERVICES 70
OPTIONS LAN, MIGRATE
MODEL MP
LDBAL Y
*MACHINES
DEFAULT: MAXWSCLIENTS=30
ubuntu9 LMID=SITE1
APPDIR="/home/xp/tuxapp"
TUXCONFIG="/home/xp/tuxapp/tuxconfig"
TUXDIR="/home/xp/tuxedo11gR1"
TLOGDEVICE="/home/xp/tuxapp/TLOG"
TLOGNAME="TLOG"
TLOGSIZE=100
TYPE=Linux
ULOGPFX="/home/xp/tuxapp/ULOG"
ENVFILE="/home/xp/tuxapp/ENVFILE"
UID=1000
GID=1000
redhat62 LMID=SITE2
TUXDIR="/usr/oracle/tuxedo11gR1"
APPDIR="/home/tuxedo/tuxedo/simpapp"
TLOGDEVICE="/home/tuxedo/tuxedo/simpapp/TLOG"
TLOGNAME="TLOG"
TUXCONFIG="/home/tuxedo/tuxedo/simpapp/tuxconfig"
TYPE=Linux
ULOGPFX="/home/tuxedo/tuxedo/simpapp/ULOG"
ENVFILE="/home/tuxedo/tuxedo/simpapp/ENVFILE"
UID=501
GID=501
*GROUPS
BANK1
LMID=SITE1 GRPNO=1 TMSNAME=TMS_ORA TMSCOUNT=2
OPENINFO="Oracle_XA:Oracle_XA+Acc=P/scott/tiger+SesTm=120+MaxCur=5+LogDir=.+SqlNet=xpdev"
CLOSEINFO="NONE"
BANK2
LMID=SITE2 GRPNO=2 TMSNAME=TMS_ORA2 TMSCOUNT=2
OPENINFO="Oracle_XA:Oracle_XA+Acc=P/scott/scott+SesTm=120+MaxCur=5+LogDir=.+SqlNet=tuxdev"
CLOSEINFO="NONE"
WSGRP
LMID=SITE1 GRPNO=3
OPENINFO=NONE
*NETGROUPS
DEFAULTNET NETGRPNO=0 NETPRIO=100
SITE1_SITE2 NETGRPNO=1 NETPRIO=200
*NETWORK
SITE1 NETGROUP=DEFAULTNET
NADDR="//128.0.88.24:1800"
NLSADDR="//128.0.88.24:1500"
SITE2 NETGROUP=DEFAULTNET
NADDR="//128.0.88.215:1800"
NLSADDR="//128.0.88.215:1500"
*SERVERS
DEFAULT:
CLOPT="-A"
#XFER SRVGRP=BANK1 SRVID=1
#TLR_ORA SRVGRP=BANK1 SRVID=2
#TLR_ORA2 SRVGRP=BANK2 SRVID=3
WSL SRVGRP=WSGRP SRVID=4
CLOPT="-A -- -n //128.0.88.24:5000 -m 3 -M 5 -x 5"
*SERVICES
#INQUIRY
#WITHDRAW
#DEPOSIT
#XFER_NOXA
#XFER_XA
Edited by: user10950876 on 2012-6-13 下午10:58 -
Dear DBAs,
for a maintenance reason we had to shutdown the 3 cluster servers (Windows 2003-64bit).
after starting up the master node (the others still down) the windows stuck on the "Applying profile", however if we disconnect this server from the network the server starts.
we noticed that after reconnecting the server to the network, it takes long time to discover the storage disks.
we are planning to move to another master node.
could you please send me a link with the step-by-step on how to move to a new master node.
the database is Oracle 10g v. 10.2.0.4.0
OS: windows 2003-64 bit
your quick reply is highly appreciated.
Regards
Eliewe noticed that after reconnecting the server to the network, it takes long time to discover the storage disks.I am not sure that doing so would decrease the time. You need to check with your n/w guys and storage guys that why its taking time since the same will happen with the new node as well.
we are planning to move to another master node.You need to take a backup of this db and then move it to the new host . Once done, you would need to add nodes to that node . But as said above, find the reason first why you are experiencing slow connectivity?
Aman.... -
IOException in sending Request :: Connection refused: connect
I am using Oracle 10g release 2 windows XP Professional.
I am trying to shutdwon/startup my database thru Enterprise Management Console. However I get the error message:
IOException in sending Request :: Connection refused: connect
The following error message is in the emdctl.trc
(error = 10061)
2007-10-30 21:43:45 Thread-2500 WARN http: snmehl_connect: connect failed to (peaches.austin.rr.com:1158): No connection could be made because the target machine actively refused it.
(error = 10061)
2007-10-30 21:44:20 Thread-3392 WARN http: snmehl_connect: connect failed to (peaches.austin.rr.com:3938): No connection could be made because the target machine actively refused it.
(error = 10061)
2007-10-30 21:45:17 Thread-572 ERROR main: nmectl.c: nmectl_validateTZRegion, agentTZoffset =-300,and testTZoffset for America/Chicago:-360 do not match
2007-10-30 21:45:18 Thread-572 ERROR main: nmectl.c: nmectl_validateTZRegion, agentTZoffset =-300,and testTZoffset for America/Chicago:-360 do not match
Can you help me with this problem. Thanks!REM Set environment variables ORACLE_HOME and ORACLE_SID in Windows System properties.
REM Open a Command Prompt window. Enter:
emctl stop agent
REM Identify an entry from supportedtzs.lst with an offset that matches the one in emdctl.trc
REM Edit emd.properties file replacing the agentTZRegion value with the one found in supportedtzs.lst.
REM For me this meant replacing agentTZRegion=American/Chicago with agentTZRegion=EST5EDT for a -300 offset
REM From Windows Services control panel, restart OracleDBConsoleorcl.
emctl start agent -
100% CPU usage while sending request
Hi guys,
I have designed a cluster including two managed servers running on
different machines. Cluster is on a third machine with IP=192.168.0.20. These managed
servers have different IP's but same ports. i.e. 192.168.0.11 and 192.168.0.12 with same ports 7123 and 7124 for normal and SSL access respectively. Moreover these servers have the same web application deployed.
When I send request as a client to my cluster, the CPU usage of Admin server machine and managed server's machine went to 100% usage. I used the url=http://192.168.0.20:7001/MyWeb/test.html
I am using the clustering mechanism of "HttpClusterServlet". I put this servlet on 192.168.0.20 in WEB-INF folder of default web app. I guess I put it on wrong place.
Please help me in this regard.
Regards,
hexpart
madlight88,
Here are some things to try.
As I understand it you are using a Windows-based PC is that correct? If not, I will have to change the following steps.
It could be a conflict with information from previous syncs in Sync History. Try going to the iTunes preferences (Edit->Preferences) and then the Syncing Tab.
Click on Reset Sync History, and try connecting the iPhone. Does CPU% jump to 100% and stay there? It may jump to there for a few seconds, but should go back down.
If that didn't do it, go back to the Syncing preferences and put a checkmark in "Disable Automatic Syncing".
Connect the iPhone, did the %CPU jump and stay at 100% this time?
Hope this helps,
Nathan C. -
Ironport don´t send request to Active Directory
Hi,
We need to configure an exception to allow the network 10.0.53.0/24 not require validation in Ironport WSA. however users of this network must pass through all content filters appropriate according to their AD group.
NOTE: I need that Ironport don´t send request to Active Directory, when users to network 10.0.53.0/24 need go to internet.
regards,
Yerko.That is correct. This is not possible.
Correct me if I am wrong. It sounds like you do not want Authentication, but still would like to control them using the AD group.
You might want to look into using the Context Directory Agent. With a Context Directory Agent, the agent will scan the Active Directory security logs for logon events. It will build a User-to-IP mapping table. When the users in the 10.0.53.0/24 network access the internet, they will not need to authenticate. The WSA will query the Context Directory Agent and see who is on the IP address. If there is a user, then AD groups can be used. If there is no user, then the user will be a Guest.
The Context Directory Agent runs on CentOS. It will need to be hosted on a dedicated machine, or a virtual machine. The required disk space is 120gb.
-Vance -
Tmloadcf cannot run on a non-master node
please help, i have configured every thing as it says in the document, and it give
me this message when i try to run the tmloadcf ubbsimple
tmloadcf cannot run on a non-master node
any suggestions ASAPHi Rafik,
You don't mention what type of machine you are using, but if it is Microsoft Windows
the OS has an annoying habit of displaying all but the first letter of the name
in lower case letters, even if it was entered in upper case letters. Tuxedo is
case sensitive in this respect - the easiest way to check is to right-click on
"My Computer", select Properties, then select Computer Name. The Full computer
name will show the correct case of the name as it was entered, and this is what
you must use with Tuxedo.
Regards, Malcolm.
"RC Bryan" <[email protected]> wrote:
>
Now that you don't need it any more, when everI have this problem, I
enter the
output of the Tuxedo hostname command into this field. 99% of the time,
this
works. On some systems, tmloadcf wants to see the hostname by itself,
on others
it needs the fully qualified hostname (myhost.bea.com). On some systems,
it has
to be uppercase on others lower case but almost all the time hostname
returns
what tmloadcf needs.
Regards,
/RC Bryan
"Rafik Amir" <[email protected]> wrote:
sorry for the disturbe, it was a strange solution, as i had to write
my machine
name in capital letter to work, i do not know the algorithm it takes
in matching
the machine name, but any way if any one faced this problem try to do
this first
"rafik amir" <[email protected]> wrote:
please help, i have configured every thing as it says in the document,
and it give
me this message when i try to run the tmloadcf ubbsimple
tmloadcf cannot run on a non-master node
any suggestions ASAP -
How to send request to web service using .pem certificate.
Dear All,
I have a .pem, WSDL file and (Request and Response format), this files are provided by the customer, now I have generated the ServiceClass using WSDL file using wsdl.exe.
Now when I send the request I am getting error as "The underlying connection was closed: An unexpected error
occurred on a send" when I told my customer to remove the certificate validation from their web service the "Request
and Response both are working fine".
When I opened the .pem file in notepad the content was
-----BEGIN CERTIFICATE-----
dfkhdfhsdfghgfjhAklajdaJHZKkjjHAKJhjkhkjhkjhkjhkjJKJHKJ......................................
/R-----END CERTIFICATE-----
and nothing else was there as per my client my code is proper for sending request to web service but the using of file i.e .pem file is not proper.
I want to know what else I have to do my customer have given me only .pem file with -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- nothing else in the file.
Can anybody please help me in this, below is my code snapshot.
try
var pem = System.IO.File.ReadAllText(Application.StartupPath + "\\server_selfsigned.pem");
byte[] certBuffer = GetBytesFromPEM(pem, "CERTIFICATE");
SMSService sms = new SMSService(txtURL.Text.Trim());
sms.ClientCertificates.Add(new System.Security.Cryptography.X509Certificates.X509Certificate2
(certBuffer));
SMSRequest smsReq = new SMSRequest();
smsReq.UID = "2000";
smsReq.SMSDetails = new SMSRequestSMSDetails { MessageText = txtMessage.Text.Trim(), MobileNumber = txtMobile.Text.Trim() };
SMSReponse smsRes = sms.sendSMSOperation(smsReq);
MessageBox.Show(smsRes.Code + " = " + smsRes.Message + " = " + smsRes.Status);
catch (Exception ex)
MessageBox.Show(ex.Message);
Thanks in advance.
Best Regards,
Manoj Gupta.Hi,
This issue might be due to the invalid .pem certificate file.
Make sure to include the beginning and end tags on each certificate.
The result should look like this:
-----BEGIN CERTIFICATE-----
(Your Primary SSL certificate: your_domain_name.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Intermediate certificate: DigiCertCA.crt)
-----END CERTIFICATE-----
For more detailed information, you could refer to:
https://www.digicert.com/ssl-support/pem-ssl-creation.htm
Regards -
I experience the same issues as some other posters here with the MacBook Pro, Lion, and certain networks. All other devices (Android phone, Windows laptop, iPad...) deal with the situation just fine on the same networks. The MacBook however gets its knickers in a twist:
I get perpetual "Sending request..." messages at the status bar of Google Chrome. All applications fail to find internet, despite full bars. This was only an issue since upgrading to Lion. A reboot of the Mac will always solve it, meaning it is not the router. Rebooting the router often does not solve it. Turning WiFi off then on sometimes solves it. Quitting Chrome/Safari sometimes solves it. But rebooting the Mac always solves it. This indicates it is an issue Apple really need to address.
Are there any ideas here? I have made sure there are no DNS entries. I have deleted my home network several times and re-added it. I have hard reset the router, and been through three (that's not a misprint) routers.
I doubt it is a hardware issue with the Mac as it only started with Lion, on the same Mac.Does the iOS device connect to other networks? If yes that tend to indicate a problem with your network.
Does the iOS device see the network?
Any error messages?
Do other devices now connect?
Did the iOS device connect before?
Try the following to rule out a software problem:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Power off and then back on your router
.- Reset network settings: Settings>General>Reset>Reset Network Settings
- iOS: Troubleshooting Wi-Fi networks and connections
- Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
- iOS: Recommended settings for Wi-Fi routers and access points
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device.
If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
Apple Retail Store - Genius Bar -
Hi all,
I am a new to Oracle 10g.I am using Enterprise manager for DBA jobs.After ogging in to enterprise manager, when i click the refresh button, i get the folllowing error
" java.lang.Exception: IOException in sending Request :: Connection refused: connect"
Please do help to slove this problem.
ThanksI'm having the same error in my console header. Here is the content of the emagent.trc file.
Running 10gR2 on Win 2K3 server. (bold added for readability)
emctl status dbconsole responds with 'EM Daemon is not running'
2007-03-29 14:02:23 Thread-1776 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
2007-03-29 14:02:23 Thread-1776 WARN main: clear collection state due to OMS_version difference
2007-03-29 14:02:23 Thread-1776 WARN command: Job Subsystem Timeout set at 600 seconds
2007-03-29 14:02:24 Thread-1776 WARN upload: Upload manager has no Failure script: disabled
2007-03-29 14:02:24 Thread-1776 WARN upload: Recovering left over xml files in upload directory
2007-03-29 14:02:24 Thread-2920 ERROR command: nmejcn: received no status header from repository at http://dB_Domain:5500/em/upload/
2007-03-29 14:02:24 Thread-1776 WARN upload: Recovered 0 left over xml files in upload directory
2007-03-29 14:02:25 Thread-1776 WARN metadata: Metric collectSnapshot does not have any data columns
2007-03-29 14:02:27 Thread-1776 WARN metadata: Metric Disk_Path does not have any data columns
2007-03-29 14:02:27 Thread-1776 WARN metadata: Metric osm_diskGroupPolicies does not have any data columns
2007-03-29 14:02:53 Thread-1776 WARN TargetManager: Regenerating all Metadata
2007-03-29 14:05:17 Thread-1776 ERROR util.files: ERROR: nmeufis_new: failed in lfiopn on file: E:\oracle\product\10.2.0\db_3\dB_Domain_SIGD\sysman\emd\agntstmp.txt. error = 2 (No such file or directory)
2007-03-29 14:05:28 Thread-1776 ERROR collector: nmecs_validateStateFile(): state file invalid : E:\oracle\product\10.2.0\db_3\dB_Domain_SIGD\sysman\emd\state\snapshot
2007-03-29 14:05:28 Thread-1776 ERROR collector: Collector state files cleaned, severity will be resent
2007-03-29 14:05:35 Thread-3660 ERROR upload: Error in uploadXMLFiles. Trying again in 60.00 seconds.
2007-03-29 14:05:48 Thread-676 ERROR upload: Failed to delete/move xml file C:\WINDOWS\TEMP\X11.uod, ret = -2 ; agent exiting
2007-03-29 14:05:48 Thread-676 ERROR : Signalled to Exit with status 3
2007-03-29 14:05:48 Thread-1776 ERROR main: EMAgent abnormal terminating
2007-03-29 14:06:29 Thread-2996 WARN command: Job Subsystem Timeout set at 600 seconds
2007-03-29 14:06:29 Thread-2996 WARN upload: Upload manager has no Failure script: disabled
2007-03-29 14:06:29 Thread-2996 WARN upload: Recovering left over xml files in upload directory
2007-03-29 14:06:29 Thread-2996 WARN upload: Recovered 5 left over xml files in upload directory
2007-03-29 14:06:29 Thread-2996 WARN upload: Merging leftover data file named errors.dat
2007-03-29 14:06:29 Thread-2996 WARN upload: Merging leftover data file named severity.dat
2007-03-29 14:06:30 Thread-2996 WARN upload: Merging leftover data file named rawdata.dat
2007-03-29 14:06:30 Thread-2996 WARN metadata: Metric collectSnapshot does not have any data columns
2007-03-29 14:06:31 Thread-2996 WARN metadata: Metric Disk_Path does not have any data columns
2007-03-29 14:06:31 Thread-2996 WARN metadata: Metric osm_diskGroupPolicies does not have any data columns
2007-03-29 14:07:29 Thread-2328 ERROR util.files: nmeufile_getLength: Error in lfilen. Error = 2 (No such file or directory)
2007-03-29 14:15:19 Thread-1960 WARN http: 268,-1: nmehl_httpListener: signaled to exit from emctl
Thank you for your help!
Message was edited by:
david.d -
Java.lang.Exception: Exception in sending Request :: null
hai folks
i down loaded oracle database 10g release 2 from oracle site. after successflly installing the oracle database i got the following java exception when logged on as sys/passcode as sysdba
java.lang.Exception: Exception in sending Request :: null
can any one help me in this regard since i installed oracle database number of times and ended up with same error .connect to the instance using SQL plus, to make sure userid and password are working.
then from OS console check dbconsole status
emctl status dbconsole
emctl status agent
if dbconsole/agent is not running then start dbconsole--emctl start dbconsole
you can also start dbconsole from services tab under admin. -
Hi, everybody.
Oracle Database Control 10g displays on the home page the following message
-- java.lang.Exception: IOException is sending Request :: Connection refused
after killing some database lock that is impeding the users to successfully carry out their daily activities.
What could be the reason ?agent come with db was not working on that time
Maybe you are looking for
-
I asked the question I am unable to print from my iPad 3 since the last update it says printer no longer available with an error code 5809EC well no one directly answered my question so I started looking at other questions that were similar and I fou
-
Hi how do I adjust my camera on a video call
Me
-
DW 8 - Inline Frame TOP alignment
Greetings, I have a table with couple columns. Left column has Iframe of text links. Basically my navigation links for my site. Next colums are just editible regions. Problem is that my left cell with iFrame top text is lower than my next columns tex
-
How to merge two address books?
I am migrating from a G4 with 10.3.9 to a iMac with 10.5. We want to merge the addressbook with another iMac on 10.5 connected via ethernet. The addressbooks used to be identical but the one from the G4 has fallen out of date. I would like to merge t
-
HT204382 Need help uploading musics from PC to Mac.
Hello there, i have old musics from my PC music folder (.wma files) that i would like to upload into my Mac. is there a free driiver/application that i can use to make the musics play in my Mac? I really dont want to buy a new product but i will if i