Protocol error
hi everyone,
Could you please take a look at the following code?. I'm having some trouble with it. The problem is the following: I have to access to the code of a web page in order to perform different actions depending on it content, but in order to get to that page firs I have to login the server. So, What I do is to call the servlet that manages the application with the code of the Operation (login), user and password. This works fine, I manage to login and I get the code of the first page of the application (which I write in File ficheroEscrituraLogin)
The problem arises when I try to go to the next page. I write the code of the URL and I read the response. and I GET NO response. When I access to File 'FicheroEscrituraArkero' it is empty.
I tried to close the input and output of the Connection and open them again, but then when the program reaches the second
'outConexion = new DataOutputStream(conexion.getOutputStream())' it stops and shows this message:
java.net.ProtocolException: Cannot write output after reading input.
Could you please help me with this?. Thanks a lot in advance.
try{
//file where the code of the first page will be saved
ficheroEscrituraLogin = new PrintWriter(
new BufferedWriter(
new FileWriter("fistPage.htm")),true);
URL url =new URL("http://www.mypage.com/srv");
URLConnection conexion = url.openConnection();
conexion.setAllowUserInteraction(true);
conexion.setDoOutput(true);
outConexion = new DataOutputStream(conexion.getOutputStream());
//First page (login)
codigoOperacion = "00000000";
String login = "myName";
String password = "myPassword";
outConexion.writeBytes("opc=" + codigoOperacion);
outConexion.writeBytes("&login=" + login);
outConexion.writeBytes("&password=" + password);
outConexion.flush();
inConexion = new BufferedReader(
new InputStreamReader(
conexion.getInputStream()));
//save the code of the page
while ((sentencia = inConexion.readLine()) != null ){
ficheroEscrituraLogin.println(sentencia);
ficheroEscrituraLogin.close();
//file where the code of the second page will be saved
ficheroEscrituraArkero = new PrintWriter(
new BufferedWriter(
new FileWriter("secondPage.htm")),true);
//vamos a la pagina de seleccion de juego
codigoOperacion = "00070000";
outConexion.writeBytes("opc=" + codigoOperacion);
outConexion.flush();
while ((sentencia = inConexion.readLine()) != null ){
ficheroEscrituraArkero.println(sentencia);
ficheroEscrituraArkero.close();
inConexion.close();
outConexion.close();
}//try
catch(Exception e){
System.out.println("* * * * * * * * * E R R O R * * * * * * * * *");
e.printStackTrace();
System.exit(-1);
}//catch
hi everyone,
Could you please take a look at the following code?.
I'm having some trouble with it. The problem is the
following: I have to access to the code of a web page
in order to perform different actions depending on it
content, but in order to get to that page firs I have
to login the server. [...]Hi,
I have similar work to domaybe that helps or not, I cannot tell up to now because I haven't tested it yet already.
Have a look at the static function java.net.Autheticator.setDefault(java.net.Autheticator); as far as I have understood this function does install a fixed object providing HTTP accesses with a user/password pair. I tried it, and it works to fetch a password protected WEB page. I don't know what happens after that, if new pages are correctly authentified or not.
Similar Messages
-
B-channel oos and protocol error 510
Dear all,
I have some some issue couple of days ago. The telephony system of my client worked well and suddenly the cannot make external calls via E1. I checked the config and for me it seems to be ok. When I checked the SDL file, I can see the B channel out of service error message following by the
"MGCP PROTOCOL ERROR: <S1/SU1/DS1-0/[email protected]> CRCX error code: 510". They have A CUCM 6.0 and Cisco 2821 as gateway with 12.4 (25f) advance IP service IOS.
I perform the following actions without success:
-From the CUCM in the advance service I forced the Bchannel to bring it in service,
- no mgcp/mgcp, -reboot the CUCM and the Gateway,
-reset the controller throug CUCM,... in vain.
They contacted telco and has confirm that everything seems to be ok. Find below the information that can help you to undestand better
#sh run brief
Building configuration...
Current configuration : 4859 bytes
version 12.4
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec
service timestamps log datetime msec localtime show-timezone
service password-encryption
service sequence-numbers
hostname ATD-CCM-GW
boot-start-marker
boot-end-marker
security authentication failure rate 3 log
security passwords min-length 6
logging buffered 51200 debugging
aaa new-model
aaa authentication login default local
aaa authentication login local_authen local
aaa authorization exec default local
aaa authorization exec local_author local
aaa session-id common
clock timezone A 1
network-clock-participate slot 1
network-clock-select 1 E1 1/1/0
ip cef
ip domain name xx.xxxx.xxx
ip host ATD-CCM1 10.10.10.100
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
isdn switch-type primary-net5
isdn logging
voice-card 0
dspfarm
dsp services dspfarm
voice-card 1
no dspfarm
no voice call carrier capacity active
voice rtp send-recv
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729br8 bytes 40
voice class h323 1
h225 timeout tcp establish 3
crypto pki trustpoint TP-self-signed-635937996
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-635937996
revocation-check none
rsakeypair TP-self-signed-635937996
crypto pki certificate chain TP-self-signed-635937996
certificate self-signed 01
application
service alternate Default
controller E1 1/1/0
framing NO-CRC4
pri-group timeslots 1-31 service mgcp
interface GigabitEthernet0/0
description to_CCM
ip address 10.10.10.254 255.255.255.0
duplex auto
speed auto
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
interface Serial1/1/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn overlap-receiving
isdn incoming-voice voice
isdn bind-l3 ccm-manager
isdn bchan-number-order ascending
isdn sending-complete
no cdp enable
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 10.10..253
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
logging trap debugging
control-plane
voice-port 1/0/0
timing hookflash-out 50
voice-port 1/0/1
signal groundStart
timing hookflash-out 50
voice-port 1/0/2
signal groundStart
timing hookflash-out 50
voice-port 1/0/3
signal groundStart
timing hookflash-out 50
voice-port 1/1/0:15
ccm-manager fallback-mgcp
ccm-manager mgcp
no ccm-manager fax protocol cisco
ccm-manager music-on-hold
ccm-manager config server ATD-CCM1
ccm-manager config
mgcp
mgcp call-agent 10.10.10.100 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode out-of-band
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp modem passthrough voip redundancy
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
mgcp default-package fxr-package
no mgcp package-capability res-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
no mgcp explicit hookstate
mgcp rtp payload-type g726r16 static
mgcp bind control source-interface GigabitEthernet0/0
mgcp bind media source-interface GigabitEthernet0/0
mgcp profile default
dial-peer voice 999101 pots
service mgcpapp
port 1/0/1
forward-digits all
dial-peer voice 999102 pots
service mgcpapp
port 1/0/2
forward-digits all
dial-peer voice 999103 pots
service mgcpapp
port 1/0/3
forward-digits all
dial-peer voice 1 pots
service mgcpapp
incoming called-number .
direct-inward-dial
port 1/1/0:15
forward-digits all
dial-peer voice 999100 pots
service mgcpapp
port 1/0/0
gateway
timer receive-rtp 1200
scheduler allocate 20000 1000
ntp clock-period 17180351
ntp update-calendar
ntp server 10.10.10.9 source GigabitEthernet0/0
end
#sh controller e1
E1 1/1/0 is up.
Applique type is Channelized E1 - balanced
No alarms detected.
alarm-trigger is not set
Version info Firmware: 20090113, FPGA: 20, spm_count = 0
Framing is NO-CRC4, Line Code is HDB3, Clock Source is Line.
Current port master clock:recovered from backplane
Data in current interval (225 seconds elapsed):
0 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
Total Data (last 3 15 minute intervals):
0 Line Code Violations, 0 Path Code Violations,
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
#sh ccm-manager
MGCP Domain Name: ATD-CCM-GW.xx.xxxx.xxx
Priority Status Host
============================================================
Primary Registered 10.10.10.100
First Backup None
Second Backup None
Current active Call Manager: 10.10.10.100
Backhaul/Redundant link port: 2428
Failover Interval: 30 seconds
Keepalive Interval: 15 seconds
Last keepalive sent: 15:31:24 UTC Oct 19 2012 (elapsed time: 00:00:09)
Last MGCP traffic time: 15:31:24 UTC Oct 19 2012 (elapsed time: 00:00:09)
Last failover time: None
Last switchback time: None
Switchback mode: Graceful
MGCP Fallback mode: Enabled/OFF
Last MGCP Fallback start time: None
Last MGCP Fallback end time: None
MGCP Download Tones: Disabled
TFTP retry count to shut Ports: 2
Backhaul Link info:
Link Protocol: TCP
Remote Port Number: 2428
Remote IP Address: 10.10.10.100
Current Link State: OPEN
Statistics:
Packets recvd: 11
Recv failures: 0
Packets xmitted: 18
Xmit failures: 0
PRI Ports being backhauled:
Slot 1, VIC 1, port 0
Configuration Auto-Download Information
=======================================
Current version-id: 1350042385-8bfc9ed0-f85e-4435-8baf-3ad1ceefb55c
Last config-downloaded:00:00:00
Current state: Waiting for commands
Configuration Download statistics:
Download Attempted : 1
Download Successful : 1
Download Failed : 0
TFTP Download Failed : 0
Configuration Attempted : 1
Configuration Successful : 1
Configuration Failed(Parsing): 0
Configuration Failed(config) : 0
Last config download command: New Registration
Configuration Error History:
controller E1 1/1/0
no pri-group timeslots 1-31
FAX mode: disable
#debug isdn q931
#debug mgcp packet
009112: Oct 20 12:48:50.374: MGCP Packet received from 10.10.10.100:2427--->
CRCX 2359 S1/SU1/DS1-0/[email protected] MGCP 0.1
C: D000000001fbf9aa000000F500000001
X: 1f
L: p:20, a:PCMU, s:off, t:00
M: recvonly
R: D/[0-9ABCD*#]
Q: process,loop
<---
009113: Oct 20 12:48:50.382: MGCP Packet sent to 10.10.10.100:2427--->
200 2359 OK
I: 8
v=0
c=IN IP4 10.10.10.254
m=audio 18274 RTP/AVP 0 100
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194
<---
009114: Oct 20 12:48:50.386: ISDN Se1/1/0:15 Q931d: srl_send_l3_pak:
source_id = CCM MANAGER 0x0003, dest_id = Q.921 0x0000, prim = DL_DATA_REQ 0x0240
priv_len = 4 int_id = 0x4636A628 datasize = 64
009115: Oct 20 12:48:50.386: ISDN Se1/1/0:15 Q931d: data =
009116: Oct 20 12:48:50.386: 4636A628000000030240043800010000
009117: Oct 20 12:48:50.386: 0802000105A104038090A31803A9839F
009118: Oct 20 12:48:50.386: 280B526F6C616E64202D2049546C0601
009119: Oct 20 12:48:50.386: 81313232307009803636393332313933
009120: Oct 20 12:48:50.386:
009121: Oct 20 12:48:50.434: MGCP Packet received from 10.10.10.100:2427--->
MDCX 2360 S1/SU1/DS1-0/[email protected] MGCP 0.1
C: D000000001fbf9aa000000F500000001
I: 8
X: 1f
L: p:20, a:PCMU, s:off, t:b8, fxr/fx:t38
M: recvonly
R: D/[0-9ABCD*#]
Q: process,loop
<---
009122: Oct 20 12:48:50.438: MGCP Packet sent to 10.10.10.100:2427--->
510 2360 fx: setting cannot be supported
<---
009123: Oct 20 12:48:50.438: ISDN Se1/1/0:15 Q931d: srl_send_l3_pak:
source_id = CCM MANAGER 0x0003, dest_id = Q.921 0x0000, prim = DL_DATA_REQ 0x0240
priv_len = 4 int_id = 0x4636A628 datasize = 25
009124: Oct 20 12:48:50.438: ISDN Se1/1/0:15 Q931d: data =
009125: Oct 20 12:48:50.438: 4636A628000000030240043800010000
009126: Oct 20 12:48:50.438: 0802000145080280AF
009127: Oct 20 12:48:50.462: MGCP Packet received from 10.10.10.100:2427--->
DLCX 2361 S1/SU1/DS1-0/[email protected] MGCP 0.1
C: D000000001fbf9aa000000F500000001
I: 8
X: 1f
S:
<---
ATD-CCM-GW#
009128: Oct 20 12:48:50.478: MGCP Packet sent to 10.10.10.100:2427--->
250 2361 OK
P: PS=0, OS=0, PR=0, OR=0, PL=0, JI=0, LA=0
<---
009129: Oct 20 12:48:50.478: ISDN Se1/1/0:15 Q931d: srl_send_l3_pak:
source_id = CCM MANAGER 0x0003, dest_id = Q.921 0x0000, prim = DL_DATA_REQ 0x0240
priv_len = 4 int_id = 0x4636A628 datasize = 21
009130: Oct 20 12:48:50.478: ISDN Se1/1/0:15 Q931d: data =
009131: Oct 20 12:48:50.478: 4636A628000000030240043800010000
009132: Oct 20 12:48:50.478: 080200015A
ATD-CCM-GW#
009133: Oct 20 12:49:03.002: MGCP Packet received from 10.10.10.100:2427--->
CRCX 2362 S1/SU1/DS1-0/[email protected] MGCP 0.1
C: D000000001fbf9ac000000F500000002
X: 1e
L: p:20, a:PCMU, s:off, t:b8, fxr/fx:t38
M: recvonly
R: D/[0-9ABCD*#]
Q: process,loop
<---
#sh mgcp statistics
UDP pkts rx 270, tx 270
Unrecognized rx pkts 0, MGCP message parsing errors 0
Duplicate MGCP ack tx 0, Invalid versions count 0
CreateConn rx 10, successful 1, failed 9
DeleteConn rx 1, successful 1, failed 0
ModifyConn rx 1, successful 0, failed 1
DeleteConn tx 0, successful 0, failed 0
NotifyRequest rx 0, successful 0, failed 0
AuditConnection rx 0, successful 0, failed 0
AuditEndpoint rx 61, successful 61, failed 0
RestartInProgress tx 4, successful 4, failed 0
Notify tx 193, successful 193, failed 0
ACK tx 63, NACK tx 10
ACK rx 197, NACK rx 0
IP address based Call Agents statistics:
IP address 10.10.10.100, Total msg rx 270,
successful 260, failed 10
System resource check is DISABLED. No available statistic
DS0 Resource Statistics
Utilization: 0.00 percent
Total channels: 34
Addressable channels: 34
Inuse channels: 0
Disabled channels: 0
Free channels: 34
sh controller e1
#sh network-clocks
Network Clock Configuration
Priority Clock Source Clock State Clock Type
1 E1 1/1/0 GOOD E1
10 Backplane GOOD PLL
Current Primary Clock Source
Priority Clock Source Clock State Clock Type
1 E1 1/1/0 GOOD E1
Thanks for your helpThe explanation for your syslog message is " The B-channel indicated by this alarm has gone out of service. Some of the more common reasons for a B-channel to go out of service include: Taking the channel out of service intentionally to perform maintenance on either the near- or far-end; MGCP gateway returns an error code 501 or 510 for a MGCP command sent from Cisco Unified Communications Manager (Unified CM); MGCP gateway doesn't respond to an MGCP command sent by Unified CM three times; a speed and duplex mismatch exists on the Ethernet port between Unified CM and the MGCP gateway"
Recommended action:
Check the Unified CM advanced service parameter, Change B-channel Maintenance Status to determine if the B-channel has been taken out of service intentionally; Check the Q.931 trace for PRI SERVICE message to determine whether a PSTN provider has taken the B-channel out of service; Reset the MGCP gateway; Check the speed and duplex settings on the Ethernet port. -
XI protocol error occurred in abap proxy scenario- plz
Scenario is asynchronous
Http -> XI ->R/3(abap server proxy)
sender: Through http client
receiver is abap server proxy
<u>Repository objects:</u>
Sender: sender_DT, sender_MT, sender_MI(outbound asynchronous)
Receiver: imported RFC from R/3 client 550, receiver_MI(which has message type refered to the imported RFC)
Interface mapping: source=sender_MI, receiver_MI.
Proxy generated on R/3 client 550 for receiver_MI.
<u>Configuartion objects:</u>
Sender: business service, no comm channel since http sender.
receiver: R/3 business system
Comm channel: receiver_cc type of XI.
transport protocol: http
message protocol : XI 3.0, since both XI and R/3 on webas 6.4
addressing type: URL
target host: diamond
service number: 8005
path: /sap/xi/engine?type=entry
Authentiction data:
user name: user22
passwrod; correct
logon client: 400 which is the same client I developed ll the design and config objects.
Recevr determinaion, interface determination and recevr agrrement looks fine.
The error iam getting is:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIProtocol</SAP:Category>
<SAP:Code area="MESSAGE">LOOP_IN_MESSAGE_ROUTING</SAP:Code>
<SAP:P1>is.05.diamond</SAP:P1>
<SAP:P2>IS</SAP:P2>
<SAP:P3>XI</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>XI protocol error occurred</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
<b>
Please reply , your help is appreciated.</b>
Thanks
KKStefan thanks,
I tried as you suggesetd putting the info of R/3 for
server: diamond
port: 8005
client: 550
user id: user05
pwd: correct
But I get the below error, suggest me what permission should this userid have?
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
<SAP:P1>401</SAP:P1>
<SAP:P2>Unauthorized</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText><!DOCTYPE html PUBLIC"-//W3C//DTD HTML 4.01Transitional//EN"><html><head><title>Logon Error -
Fatal two-task communication protocol error (when using db link)
I have created the db link betwen two databases of oracle version 9i 9.0.2
the db link connects to specific user
when i access the table with same name as user then recieve following message
ORA-03106: fatal two-task communication protocol error
when i access the other tables having different name that the user to which the db link connects
that works alright
so what is solution of problem in this particular case?What is your Oracle release? Is it 9.0.1.2 or 9.2.0?
What version of Sql*Plus client are you using? -
ORA-27023: skgfqsbi: media manager protocol error
can some one please tell me what to do regarding this error, and how can i solve it. the result log is stated below...
Recovery Manager: Release 10.2.0.1.0 - Production on Tue Oct 16 15:26:49 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>
connected to target database: MOT (DBID=2759813257)
using target database control file instead of recovery catalog
RMAN>
echo set on
RMAN> run {
2> allocate channel oem_sbt_backup type 'sbt_tape' format '%U';
3> backup as BACKUPSET current controlfile tag '10162007032648';
4> restore controlfile validate from tag '10162007032648';
5> release channel oem_sbt_backup;
6> }
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on oem_sbt_backup channel at 10/16/2007 15:26:50
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27023: skgfqsbi: media manager protocol error
ORA-19511: Error received from media manager layer, error text:
sbt__rpc_connect: Internal error - could not connect to obproxyd (Oracle Secure Backup error: 'bad port name specified (OB SBT proxy manager)').
RMAN> allocate channel for maintenance type 'sbt_tape' ;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ORA_MAINT_SBT_TAPE_1 channel at 10/16/2007 15:26:51
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27023: skgfqsbi: media manager protocol error
ORA-19511: Error received from media manager layer, error text:
sbt__rpc_connect: Internal error - could not connect to obproxyd (Oracle Secure Backup error: 'bad port name specified (OB SBT proxy manager)').
RMAN> delete noprompt backuppiece tag '10162007032648';
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=125 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 10/16/2007 15:26:51
RMAN-06168: no backup pieces with this tag found: 10162007032648
RMAN> exit;
Recovery Manager complete.can some one please tell me what to do regarding this error, and how can i solve it. the result log is stated below...
Recovery Manager: Release 10.2.0.1.0 - Production on Tue Oct 16 15:26:49 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>
connected to target database: MOT (DBID=2759813257)
using target database control file instead of recovery catalog
RMAN>
echo set on
RMAN> run {
2> allocate channel oem_sbt_backup type 'sbt_tape' format '%U';
3> backup as BACKUPSET current controlfile tag '10162007032648';
4> restore controlfile validate from tag '10162007032648';
5> release channel oem_sbt_backup;
6> }
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on oem_sbt_backup channel at 10/16/2007 15:26:50
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27023: skgfqsbi: media manager protocol error
ORA-19511: Error received from media manager layer, error text:
sbt__rpc_connect: Internal error - could not connect to obproxyd (Oracle Secure Backup error: 'bad port name specified (OB SBT proxy manager)').
RMAN> allocate channel for maintenance type 'sbt_tape' ;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ORA_MAINT_SBT_TAPE_1 channel at 10/16/2007 15:26:51
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27023: skgfqsbi: media manager protocol error
ORA-19511: Error received from media manager layer, error text:
sbt__rpc_connect: Internal error - could not connect to obproxyd (Oracle Secure Backup error: 'bad port name specified (OB SBT proxy manager)').
RMAN> delete noprompt backuppiece tag '10162007032648';
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=125 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 10/16/2007 15:26:51
RMAN-06168: no backup pieces with this tag found: 10162007032648
RMAN> exit;
Recovery Manager complete. -
Important!!! ldap_rename_s: Protocol error with ldapmoddn
When I use "ldapmoddn" to move a user in Active Directory, I have the error:
"ldap_rename_s: Protocol error
ldap_rename_s: additional info: 00000057: LdapErr: DSID-0C09080A, comment: Error in attribute conversion operation, data 0, v893"
And the command line is:
ldapmoddn -p 389 -h 190.57.160.24 -D "CN=administrateur,CN=USERS,DC=xxx,DC=org" -w taaze -b "CN=a,OU=test,dc=xxx,dc=org" -N "dc=xxx,dc=org"
But the user have minimum information...
It's very important for me because it's for my training periode to validate my master!!
Thanks you very much...If I use only the -N option without -R option
ex:ldapmoddn -p 389 -h 190.57.160.24 -D "CN=administrateur,CN=USERS,DC=xxx,DC=org" -w xxx -b "CN=a,OU=test,dc=xxx,dc=org" -N "dc=xxx,dc=org"
I have this error:
"ldap_rename_s: Protocol error
ldap_rename_s: additional info: 00000057: LdapErr: DSID-0C09080A, comment: Error in attribute conversion operation, data 0, v893"
Can you help me please?????
Matthieu -
TT12241: Backup stream protocol error
Hi there,
I get the following error when replicating TT 6.04 datastore:
$ /data/TimesTen/6.04/bin/ttRepAdmin -duplicate -from UsageCollector -host NODE_B -setMasterRepStart -delXla -localhost NODE_A UsageCollector
TT12241: Backup stream protocol error: bad log data packet length -- file "restore.c", lineno 2865, procedure "restoreLogFileNS"
Unfortunately this error, TT12241, is not described in the documentation. Oracle Support and Google searches don’t return any relevant information.
Have any one came across this problem before?
Thanks,
IgorI can't find any previous SR reports of the TT12241. No probable candidate bugs are returned either. However I have not seen the -delXla option being used before, so it may have something to do with using this option. Are you able to exclude this option from the ttRepAdmin -duplicate, and allow the bookmarks to be copied over? You could then connect to the newly created datastore and try to manually delete the bookmarks using "xladeletebookmark".
-
Hi All,
Here is the scenario. Trading Partner (TP) A is sending a RosettaNet business
message (PIP3A2) to TP B. When the weblogic Integration server for TP B receives
this message, I get the following error message,
####<Dec 4, 2001 4:00:33 PM PST> <Error> <B2B> <erpsystem> <myserver> <ExecuteThread:
'9' for queue: 'default'> <> <19:c285badb981bb8b8> <000000> <<RN-Protocol> ERROR:
Cannot locate CA for URI http://localhost:7001/Quantum, Business Identifier 987654321,
Role Product Supplier, in Coversation 3A2, version 1.3.>
It is referring to Conversation 3A2 eventough it has been deleted and should be
using the Conversation called PIP3A2. Can anyone tell me where and how this conversation
is referenced and how it can be fixed?
--Krish.Hi All,
Here is the scenario. Trading Partner (TP) A is sending a RosettaNet business
message (PIP3A2) to TP B. When the weblogic Integration server for TP B receives
this message, I get the following error message,
####<Dec 4, 2001 4:00:33 PM PST> <Error> <B2B> <erpsystem> <myserver> <ExecuteThread:
'9' for queue: 'default'> <> <19:c285badb981bb8b8> <000000> <<RN-Protocol> ERROR:
Cannot locate CA for URI http://localhost:7001/Quantum, Business Identifier 987654321,
Role Product Supplier, in Coversation 3A2, version 1.3.>
It is referring to Conversation 3A2 eventough it has been deleted and should be
using the Conversation called PIP3A2. Can anyone tell me where and how this conversation
is referenced and how it can be fixed?
--Krish. -
I'm currently upgrading from Weblogic 8.1 to Weblogic 9.1 on a Windows environment (Windows XP on my dev box) with an Oracle 8.1.6 database.
During the upgrade, we switched from BEA's Oracle OCI driver ( weblogic.jdbc.oci.Driver ) in Weblogic 8.1 to their Type 4 JDBC driver in Weblogic 9.1 which resulted in a "Net8 protocol error".
Does anybody know what's causing this error and how to resolve this?
Thanks
Stack trace:
####<16-Jun-2006 9:37:35 o'clock AM PDT> <Error> <HTTP> <HY119402> <HY119402.CM-Fleet-Admin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1150475855789> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@681e45 - name: 'CMWeb', context-path: '/CMWeb'] Servlet failed with Exception
com.abs.cmweb.main.MainRuntimeException: CMWeb: INTERNAL RUNTIME EXCEPTION: EJB Exception: ; nested exception is:
com.westech.jade.service.entity.EntityRuntimeException: INTERNAL RUNTIME EXCEPTION: INTERNAL RUNTIME EXCEPTION: <b>[BEA][Oracle JDBC Driver]Internal error: Net8 protocol error.SQL Failed</b>: SELECT OID, BOUNDARY_NAME, USER_ID, PREFERENCE_VALUE FROM CMWEB_BOUNDARY_PREFERENCE WHERE BOUNDARY_NAME = ? AND USER_ID = ?
at com.abs.cmweb.main.control.boundaryUserPreferenceController.BoundaryUserPreferenceControllerRIProxy.findBoundaryUserPreference(BoundaryUserPreferenceControllerRIProxy.java:148)
at com.abs.cmweb.main.util.boundaryUserPreferenceHelper.BoundaryUserPreferenceHelper.getBoundaryUserPreference(BoundaryUserPreferenceHelper.java:50)
at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsUseBean.applyUserPreference(ViewingWCInstructionsAndImplementationsUseBean.java:275)
at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsUseBean.processBoundaryEvent(ViewingWCInstructionsAndImplementationsUseBean.java:179)
at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsFromHomeUseBean.processBoundaryEvent(ViewingWCInstructionsAndImplementationsFromHomeUseBean.java:32)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.fireEvent(HtmlBoundaryController.java:1303)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHtmlBoundaryAction(HtmlBoundaryController.java:337)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHttpServletRequest(HtmlBoundaryController.java:255)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processRequestResponse(HtmlBoundaryController.java:152)
at jsp_servlet._waterconveyance._viewingwchome.__viewingwchome._jspService(__viewingwchome.java:329)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:380)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.doForward(HtmlBoundaryController.java:833)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.doForward(HtmlBoundaryController.java:966)
at com.abs.cmweb.main.boundary.navigatingCMWeb.NavigatingCMWebUseBean.doRedirectToBoundary(NavigatingCMWebUseBean.java:290)
at com.abs.cmweb.main.boundary.navigatingCMWeb.NavigatingCMWebUseBean.processBoundaryEvent(NavigatingCMWebUseBean.java:234)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.fireEvent(HtmlBoundaryController.java:1303)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHtmlBoundaryAction(HtmlBoundaryController.java:337)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHttpServletRequest(HtmlBoundaryController.java:255)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processRequestResponse(HtmlBoundaryController.java:152)
at jsp_servlet._main._viewingcmwebhome.__navigatingcmweb._jspService(__navigatingcmweb.java:470)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:426)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:152)
at jsp_servlet._main._viewingapplicationmessages.__viewingapplicationmessages._jspService(__viewingapplicationmessages.java:298)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)Doug Chew wrote:
I'm currently upgrading from Weblogic 8.1 to Weblogic 9.1 on a Windows environment (Windows XP on my dev box) with an Oracle 8.1.6 database.
During the upgrade, we switched from BEA's Oracle OCI driver ( weblogic.jdbc.oci.Driver ) in Weblogic 8.1 to their Type 4 JDBC driver in Weblogic 9.1 which resulted in a "Net8 protocol error".
Does anybody know what's causing this error and how to resolve this?
ThanksHi, yes. Our old, deprecated and now removed type-2 driver used OCI (whatever version
you have installed) to talk to Oracle. Our new drivers use the wire-level protocol for
all supported DBMS versions. Oracle 8.1.6 is extremely old. I don't think it's even
supported by Oracle anymore, is it? I think you have two options:
1 - Try using Oracle's driver, in the type-2 mode so it also uses OCI.
2 - If (1) doesn't work, you probably have to upgrade your DBMS.
Joe
>
>
Stack trace:
####<16-Jun-2006 9:37:35 o'clock AM PDT> <Error> <HTTP> <HY119402> <HY119402.CM-Fleet-Admin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1150475855789> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@681e45 - name: 'CMWeb', context-path: '/CMWeb'] Servlet failed with Exception
com.abs.cmweb.main.MainRuntimeException: CMWeb: INTERNAL RUNTIME EXCEPTION: EJB Exception: ; nested exception is:
com.westech.jade.service.entity.EntityRuntimeException: INTERNAL RUNTIME EXCEPTION: INTERNAL RUNTIME EXCEPTION: <b>[BEA][Oracle JDBC Driver]Internal error: Net8 protocol error.SQL Failed</b>: SELECT OID, BOUNDARY_NAME, USER_ID, PREFERENCE_VALUE FROM CMWEB_BOUNDARY_PREFERENCE WHERE BOUNDARY_NAME = ? AND USER_ID = ?
at com.abs.cmweb.main.control.boundaryUserPreferenceController.BoundaryUserPreferenceControllerRIProxy.findBoundaryUserPreference(BoundaryUserPreferenceControllerRIProxy.java:148)
at com.abs.cmweb.main.util.boundaryUserPreferenceHelper.BoundaryUserPreferenceHelper.getBoundaryUserPreference(BoundaryUserPreferenceHelper.java:50)
at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsUseBean.applyUserPreference(ViewingWCInstructionsAndImplementationsUseBean.java:275)
at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsUseBean.processBoundaryEvent(ViewingWCInstructionsAndImplementationsUseBean.java:179)
at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsFromHomeUseBean.processBoundaryEvent(ViewingWCInstructionsAndImplementationsFromHomeUseBean.java:32)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.fireEvent(HtmlBoundaryController.java:1303)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHtmlBoundaryAction(HtmlBoundaryController.java:337)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHttpServletRequest(HtmlBoundaryController.java:255)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processRequestResponse(HtmlBoundaryController.java:152)
at jsp_servlet._waterconveyance._viewingwchome.__viewingwchome._jspService(__viewingwchome.java:329)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:380)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.doForward(HtmlBoundaryController.java:833)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.doForward(HtmlBoundaryController.java:966)
at com.abs.cmweb.main.boundary.navigatingCMWeb.NavigatingCMWebUseBean.doRedirectToBoundary(NavigatingCMWebUseBean.java:290)
at com.abs.cmweb.main.boundary.navigatingCMWeb.NavigatingCMWebUseBean.processBoundaryEvent(NavigatingCMWebUseBean.java:234)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.fireEvent(HtmlBoundaryController.java:1303)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHtmlBoundaryAction(HtmlBoundaryController.java:337)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHttpServletRequest(HtmlBoundaryController.java:255)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processRequestResponse(HtmlBoundaryController.java:152)
at jsp_servlet._main._viewingcmwebhome.__navigatingcmweb._jspService(__navigatingcmweb.java:470)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:426)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:152)
at jsp_servlet._main._viewingapplicationmessages.__viewingapplicationmessages._jspService(__viewingapplicationmessages.java:298)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179) -
SIR,
i hadbeen installed oracle aplication server.but i m not connecting to database.when i use the sql*plus.i use the user name-scott &password-tiger.i got an error ORA-12560=TNS PROTOCOL ERROR.
I M NOT ABLE TO RECTIFY ITS PROBLEM,how can i create host string in oracle application server 10g.please send reply its very urgent.
thanx ranjeetAlthough this question is completely off topic of the Personalization you can learn how to configure the SQL*Net connect from the manual by reading the topic "Configure the Client to Use a Net Service Name" found at the following link:
http://download-west.oracle.com/docs/cd/A91202_01/901_doc/network.901/a90154/gettings.htm#483215 -
Error: [Microsoft][ODBC SQL Server Driver]Protocol error in TDS stream
hello,
our application vendors are receving the below errors while running their data load job.I spoke to our networking team member and he said everything looks good on the networking side .Can someone please help me with the below errors.we are using
Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) Enterprise
Edition: Core-based Licensing (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1).
Windows OS:windows server 2008 R2 sp1
7280
6920
DBS-070401
6/5/2014 1:17:24 PM
|Data flow DIM_CONTRACT_SWAM_INIT_LOAD_DF|Loader Key_Generation_DIM_CONTRACT
7280
6920
DBS-070401
6/5/2014 1:17:24 PM
ODBC data source <HPWDBOE001> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server
7280
6920
DBS-070401
6/5/2014 1:17:24 PM
Driver][DBNETLIB]ConnectionWrite (send()).
7280
6920
DBS-070401
6/5/2014 1:17:24 PM
[Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.>.
6760
6164
DBS-070401
6/5/2014 1:17:24 PM
|Data flow DIM_EMPLOYER_GROUP_SWAM_INIT_LOAD_DF|Reader TCRdr_9
6760
6164
DBS-070401
6/5/2014 1:17:24 PM
ODBC data source <serverName> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver]Protocol error in
6760
6164
DBS-070401
6/5/2014 1:17:24 PM
TDS stream
6760
6164
DBS-070401
6/5/2014 1:17:24 PM
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionRead (recv()).
6760
6164
DBS-070401
6/5/2014 1:17:24 PM
[Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.>.
I googled and found the below link the below link which asked me to enable named pipes.I enabled
namped pipes in the sql server Network configuration.I havent yet restarted the sql services as this is a prod box.I will do it later in the evening today.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/69149a71-3c15-4c95-9f95-a30db458abeb/sql-server-2005-communcations-errors-through-odbc?forum=sqldataaccess
Can someone help me with these errors.
Thanks
luckyThank you Erland.
I dont see any crash dumps in sql server.I checked the tcp chimney and its set to automatic.I am not knowing what to look at to resolve this issue.
if its the issue with the client API can i ask our vendor to check the client?
Our networking member gave the following report:
No problems on vlan 14 or your port the top is from the switch to your server then bottom is from my pc to your server
SP_DC_CORE_VSS# ping 10.10.12.228
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.12.228, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
SP_DC_CORE_VSS#
lucky -
Java.rmi.RemoteException: Protocol error reported by the card! why?
Hello,
I am currently trying to run the JCK 2.2.1 SecureRMIDemo using SmartCardIO instead of OCF, but getting an error:
java.rmi.RemoteException: Protocol error reported by the card
(in my last post I succesfully ran the RMIDemo using my SmartCardIO implementation, see http://forums.sun.com/thread.jspa?threadID=5405634&tstart=15)
So here is what I did:
- I succesfully loaded the server app (com.sun.javacard.samples.SecureRMIDemo) on the card without changes.
- I created an new accessor class: public class PINCardAccessor extends SmartCardIOAccessor (I wrote SmartCardIOAccessor for the RMIDemo, it should work fine as an accessor)
- The contents of PINCardAccessor class and SecureOCFCardAccessor are the same, just the class declration makes the difference
- Here is the most important part of my main method:
ca = new PINCardAccessor(false);
JavaCardRMIConnect jcRMI = new JavaCardRMIConnect(ca);
jcRMI.selectApplet(appAID);
// send PIN
System.out.println("Sending PIN...");
if (! ((PINCardAccessor) ca).authenticateUser( PRINCIPAL_APP_PROVIDER_ID ))
System.out.println("Wrong PIN!");
System.exit(0);
Purse myServ = (Purse) jcRMI.getInitialReference();
if(myServ == null)
throw new Exception("Received null instead of the initial ref");
// print balance
System.out.println("Balance: "+myServ.getBalance());And finally here is the debug output:
accessor: select command
0 a4 4 0 a a0 0 0 0 62 3 1 c a 1 7f
90 0 6f 42 6e 40 5e 3e 2 2 38 81 33 f1 0 26 63 6f 6d 2f 73 75 6e 2f 6a 61 76 61 63 61 72 64 2f 73 61 6d 70 6c 65 73 2f 53 65 63 75 72 65 52 4d 49 44 65 6d 6f f 53 65 63 75 72 65 50 75 72 73 65 49 6d 70 6c
90 0 6f 42 6e 40 5e 3e 2 2 38 81 33 f1 0 26 63 6f 6d 2f 73 75 6e 2f 6a 61 76 61 63 61 72 64 2f 73 61 6d 70 6c 65 73 2f 53 65 63 75 72 65 52 4d 49 44 65 6d 6f f 53 65 63 75 72 65 50 75 72 73 65 49 6d 70 6c
Sending PIN...
80 39 0 0 4 12 34 0 46 7f
90 0 0 0
Le=2
csum1=0
csum2=0
90 0
80 38 2 2 6 33 f1 ec a8 ff b8 7f
90 0 99 0 6 ff 9f
Le=5
csum1=-97
csum2=-97
90 0 99 0 6
java.rmi.RemoteException: Protocol error reported by the card
at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.throwError(Unknown Source)
at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.throwException(Unknown Source)
at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.getObject(Unknown Source)
at com.sun.javacard.ocfrmiclientimpl.JCRemoteRefImpl.parseAPDU(Unknown Source)
at com.sun.javacard.ocfrmiclientimpl.JCRemoteRefImpl.invoke(Unknown Source)
at com.sun.javacard.samples.SecureRMIDemo.SecurePurseImpl_Stub.getBalance(Unknown Source)
at SecureClient.main(SecureClient.java:60)Please help me, I cant find the reason for this exception.
thank you
sebastaianOh, thanks for pointing at the JCRE Spec, it is very informative, but i still have not found the problem yet.
If i understand everything right, the communication's flow is
SecureClient <-> PINCardAccessor <-> SmartCardIOAccessor <-> MySecurityService <-> SecurePurseImpl (with help of SecurePurseApplet)
probably i made a mistake in a protocol of one or more layers.
- MySecurityService, SecurePurseImpl and SecurePurseApplet are EXACTLY the one's from com.sun.javacard.samples.SecureRMIDemo of JCDK 2.2.1, so there cant be any mistake (?).
- SmartCardIOAccessor worked fine in my RMIDemo tests, see http://forums.sun.com/thread.jspa?threadID=5405634&tstart=15 - there is also the implementation)
- SecureClient must be obviously correctly
so maybe it's something about PINCardAccessor? hmm...i havent found anything, but here is the complete code:
import javax.smartcardio.CardException;
* Copyright © 2003 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
* @(#)SecureOCFCardAccessor.java 1.11 03/07/08
public class PINCardAccessor extends SmartCardIOAccessor {
public PINCardAccessor(boolean debug) throws CardException {
super(debug);
private static final byte INS_SELECT = (byte)0xA4;
private static final byte APDU_CMD_MASK = (byte)0xFC;
private static final byte CLA_ISO7816 = (byte)0x00;
private static final byte CLA_AUTH = (byte)0x80;
private static final byte INS_AUTH = (byte)0x39;
private static final boolean debug2 = false;
/** Modifies the data and calls super.sendCommandAPDU to perform the actual send.
* The data returned from the smart card is returned by this method within
* the <CODE>ResponseAPDU</CODE> object
* @param apdu The command APDU to be sent to the smart card
* @return The response APDU returned from the card. <CODE>null</CODE> if none available.
* @throws Exception if a communication error or timeout occurred
public byte[] exchangeAPDU( byte[] sendData ) throws java.io.IOException{
System.out.println("Send Data:"+SmartCardIOAccessor.getHexString(sendData));
final boolean select = isSelect(sendData);
byte[] dataWithChecksum;
if(select) {
dataWithChecksum = new byte[ sendData.length ];
System.arraycopy(sendData, 0, dataWithChecksum, 0, sendData.length);
else {
dataWithChecksum = new byte[ sendData.length + 2];
System.arraycopy(sendData, 0, dataWithChecksum, 0, sendData.length-1);
dataWithChecksum[dataWithChecksum.length-1] = sendData[sendData.length-1];
int Lc = dataWithChecksum[4];
short csum = 0;
for(short n = 5; n<Lc+5; ++n) {
csum += sendData[n];
dataWithChecksum[Lc+5] = (byte) (csum>>8);
dataWithChecksum[Lc+6] = (byte) (csum);
dataWithChecksum[4] += 2; // increase Lc
if(debug2) {
for(int i=0; i<dataWithChecksum.length;++i) {
System.out.print(Integer.toHexString(dataWithChecksum[i] & 0x00FF) + " ");
System.out.println();
byte[] receiveDataWithChecksum = super.exchangeAPDU( dataWithChecksum );
byte[] receiveData;
if(debug2) {
for(int i=0; i<receiveDataWithChecksum.length;++i) {
System.out.print(Integer.toHexString(receiveDataWithChecksum[i] & 0x00FF) + " ");
System.out.println();
System.out.println();
if(!select) // verify the checksum
int Le = receiveDataWithChecksum.length - 2; // 2 bytes reserved for SW
if(debug2) {
System.out.println("Le=" + Le);
short csum1 = 0;
for(short n = 2; n<Le; ++n) {
csum1 += receiveDataWithChecksum[n];
short csum2 = (short)
(receiveDataWithChecksum[receiveDataWithChecksum.length - 2]<<8)
|
(receiveDataWithChecksum[receiveDataWithChecksum.length - 1] & 0x00FF)
if(debug2) {
System.out.println("csum1=" + csum1);
System.out.println("csum2=" + csum2);
System.out.println("csum1=" + Integer.toHexString(csum1));
System.out.println("csum2=" + Integer.toHexString(csum2));
if(csum1 != csum2) throw new java.io.IOException("Wrong checksum on returned data");
receiveData = new byte[receiveDataWithChecksum.length-2];
System.arraycopy(receiveDataWithChecksum, 0, receiveData, 0, receiveData.length);
else {
receiveData = new byte[receiveDataWithChecksum.length];
System.arraycopy(receiveDataWithChecksum, 0, receiveData, 0, receiveData.length);
if(debug2) {
for(int i=0; i<receiveData.length;++i) {
System.out.print(Integer.toHexString(receiveData[i] & 0x00FF) + " ");
System.out.println();
System.out.println();
System.out.println("Receive Data:"+SmartCardIOAccessor.getHexString(receiveData));
return receiveData;
boolean authenticateUser( short ID ){
byte[] externalAuthCommand = new byte[8];
externalAuthCommand[0] = CLA_AUTH;
externalAuthCommand[1] = INS_AUTH;
externalAuthCommand[4] = 2; // Lc
externalAuthCommand[5] = (byte)(ID>>8);
externalAuthCommand[6] = (byte)ID;
externalAuthCommand[7] = 0x7F;
try {
byte[] response = this.exchangeAPDU( externalAuthCommand );
if(response[0] != (byte)0x90 || response[1] != 0x00) return false;
else return true;
}catch (Exception e){
return false;
private boolean isSelect(byte[] buffer) {
if(buffer.length < 2) return false;
if((buffer[0]&APDU_CMD_MASK)==CLA_ISO7816 && buffer[1]==INS_SELECT) {
if(debug2) {
System.out.println("accessor: select command");
return true;
else {
return false;
} -
Hi all.
I am using Airfoil 3.2.1 and AE firmware 7.4.2. Now I know these are out of date. But my system was working fine. I did however upgrade the AE FW to the newest one some time ago, had all sorts of problems and had to revert to the older version. So I really don't wish to go through all that again.
Now, out of nowhere this problem started today. My Airfoil could not connect to my speakers on AirTunes. I have reinstalled the software, performed a permissions repair, rebooted, talked to, stared at and said a few curt words to it and still it fails to connect. I get this error information:
Domain: SSAirfoilErrorDomain
Code: -1500
NSLocalizedDescription: RTSP Protocol Error
NSLocalizedRecoverySuggestion: Airfoil received an unexpected status code (Code: 500, Reason: Internal Server Error).
SSRTSPRequest: RECORD rtsp://10.0.1.2/3329666127 RTSP/1.0
User-Agent: Airfoil/3.2.1 (Macintosh; N; Intel)
Active-Remote: 1730019454
DACP-ID: 9BADA7F0CCA4316E
RTP-Info: seq=4878;rtptime=0
Client-Instance: 015DC7C5A93A1356
Range: npt=0-
Session: 1
CSeq: 4
SSRTSPResponse: RTSP/1.0 500 Internal Server Error
Server: AirTunes/101.9
CSeq: 4
After thinking and really understanding nothing from this, I suspect it is the AE, it has always as gremlins. But this is a new one and nothing on my imac has changed in the last day which could result in a conflict of software. Through doing some diagnostic work myself I don't this it is the AirFoil software. Through it I can connect to the computer speakers. I can stream music from itunes8 to the speakers via AirTunes no problem.
Any ideas???
Stu.Well, i thought i should best upgrade which I did to 3.3.1, and it cost me to do so, but it is working again, and that is the main thing! It is a great little app!
Solved. -
Protocol error 4004 with Chatter SYNCERR_FILE_NOT_OPEN using ChatterMail
I use Chatter on my Treo 700p, HotSync Manager 7.0.2, XP Home, getting the error(s) shown below. It's not the PMTRACEDB problem, I've used FileZ to change the backup attribute and that has no effect. Any experience in resolving this is welcomed.
ChatterDB: Protocol Error: Handheld file could not be opened (4004). SYNCERR_FILE_NOT_OPEN
Thanks.
Post relates to: Treo 700p (Verizon)
Post relates to: Treo 700p (Verizon)This has been addressed here, click here for a possible solution:
http://forums.palm.com/palm/board/message?board.id=windows_hotsync&message.id=27941 -
Protocol error: close rcvd twice
Hi
I have noticed lately that a "strange" error message appearing in my /var/adm/messages saying:
root@kapttapp2 # tail -500 messages
Jun 22 17:09:26 kapttapp2 sshd[13668]: [ID 800047 auth.error] error: channel 0: protocol error: close rcvd twice
root@kapttapp2 # tail -500 messages.0
Jun 15 15:10:18 kapttapp2 sshd[953]: [ID 800047 auth.error] error: channel 0: protocol error: close rcvd twice
Jun 16 17:03:37 kapttapp2 sshd[15674]: [ID 800047 auth.error] error: channel 0:elp protocol error: close rcvd twice
Jun 17 17:07:04 kapttapp2 sshd[392]: [ID 800047 auth.error] error: channel 0: protocol error: close rcvd twice
Jun 18 17:08:34 kapttapp2 sshd[16643]: [ID 800047 auth.error] error: channel 0: protocol error: close rcvd twice
Jun 21 08:46:35 kapttapp2 sshd[28911]: [ID 800047 auth.error] error: channel 0: protocol error: close rcvd twice
Please how can i remove this error.
Please help me
Thank in advancehi everyone,
Could you please take a look at the following code?.
I'm having some trouble with it. The problem is the
following: I have to access to the code of a web page
in order to perform different actions depending on it
content, but in order to get to that page firs I have
to login the server. [...]Hi,
I have similar work to domaybe that helps or not, I cannot tell up to now because I haven't tested it yet already.
Have a look at the static function java.net.Autheticator.setDefault(java.net.Autheticator); as far as I have understood this function does install a fixed object providing HTTP accesses with a user/password pair. I tried it, and it works to fetch a password protected WEB page. I don't know what happens after that, if new pages are correctly authentified or not. -
Protocol Error: Unknown error. (1)
I have a Centro (sprint) which has been giving me lots of problems. i want to focus at 1 the issue now. I restored each database separately and it gave me the same error "protocol error: unknown error (1)" Then i back up with nothing checked off to transfer -meaning it's not a particular database giving me this issue AND I STILL GOT THE SAME ERROR. i used dbfixit to check everything and it's fine.
How do i get rid of this error.
Thanks
Sam
PS i backup my data (in addition the the computer) with RSCBACKUP which is amazing!I have a Palm TX with the same error. Has anyone found a solution to the problem
Maybe you are looking for
-
How the Pop UP window got closed on line select
Hi All, at BP_ADDR component we are calling component BP_SEARCH_HELPS by cross component usage on F4, then we are doing bank details search, then on single line select at View BP_SEARCH_HELPS/BankKeySearchHelpResult then it goes to event handler meth
-
Pop - gmail - mail no longer downloading after 10.5.8 update
I don't know if it's related to the update - and I think I also updated safari (which I never use) but overnight my mail program has stopped downloading new mail from my Gmail account, which has always worked without a hitch. The connection doctor sa
-
Migrate tomcat application to oc4j
hello, i want to migrate an application built with jsp and structs from tomcat to oc4j. where can i found documentation about that? regards,
-
Cant use existing apple id or create new one on a new ipod, why ?
Hello, my friend has been using my Apple ID but now he bought a new iPod and he wants to have his own Apple ID but also transfert everything from his old one to the new one. However, when trying to set up the new iPod, it won't take my Apple ID or cr
-
Why is the expand to fit checkbox not available?
I have created a form that is an application for a fellowship. On the second page there are 4 questions they must answer. I need these fields to be able to expand with the text and appear when the document is printed. I have looked for answers and fo