Keys differ while decryption
Hello
plz help me to solve my problem
My problem as above
I am doing encrption and decryption data with priva/pub keys
which are stored in diff files
i am generating keys in one program
& different program I am using these keys to encrypt/decrypt data
But its showing me 2 diff keys are used
how its possible
plz tell me
my sample program is below with o/p
This is my first prog where i am generating keys & store in files
import java.security.KeyPairGenerator;
import java.security.KeyPair;
import java.security.PublicKey;
import java.security.PrivateKey;
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException;
import javax.crypto.BadPaddingException;
import java.security.SignatureException;
import java.security.NoSuchAlgorithmException;
import java.security.InvalidKeyException;
import java.security.InvalidAlgorithmParameterException;
import java.io.*;
import java.util.*;
public class AsymmetricCipherTest1 {
public static void main(String[] unused) throws Exception {
String result,result1;
String xform = "RSA/NONE/PKCS1Padding";//ECB/NoPadding";
// Generate a key-pair
KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA");
kpg.initialize(512); // 512 is the keysize.
KeyPair kp = kpg.generateKeyPair();
PublicKey pubk = kp.getPublic();
PrivateKey prvk = kp.getPrivate();
System.out.println("private key start=");
//System.out.println("\n" + prvk);
/*by me*/
try
ObjectOutputStream out1 = new ObjectOutputStream(new FileOutputStream("C:/WINNT/system32/privkey.key"));
out1.writeObject(prvk);
out1.close();
ObjectOutputStream out2 = new ObjectOutputStream(new FileOutputStream("C:/WINNT/system32/pubkey.key"));
out2.writeObject(pubk);
out2.close();
}catch(Exception e ){ System.out.println(e);}
try
ObjectInputStream in1 = new ObjectInputStream(new FileInputStream("C:/WINNT/system32/tempkey.txt"));
PrivateKey key1= (PrivateKey)in1.readObject();
in1.close();
ObjectInputStream in2 = new ObjectInputStream(new FileInputStream("C:/WINNT/system32/tempkey1.txt"));
PrivateKey key2= (PrivateKey)in2.readObject();
in2.close();
System.out.println("privatekey "+in1 +"publickey" +in2);
catch(Exception e ){ System.out.println(e);}
output
privatekey java.io.ObjectInputStream@1434234
publickey java.io.ObjectInputStream@af8358
This is my second program where i am using stored keys to enc/dec data
import java.security.KeyPairGenerator;
import java.security.KeyPair;
import java.security.PublicKey;
import java.security.PrivateKey;
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException;
import javax.crypto.BadPaddingException;
import java.security.SignatureException;
import java.security.NoSuchAlgorithmException;
import java.security.InvalidKeyException;
import java.security.InvalidAlgorithmParameterException;
import java.io.*;
import java.util.*;
public class AsymmetricCipherTest2 {
private static byte[] encrypt(byte[] inpBytes, PublicKey key,
String xform) throws NoSuchAlgorithmException, InvalidKeyException, IllegalBlockSizeException,
NoSuchPaddingException, BadPaddingException, InvalidAlgorithmParameterException,Exception {
Cipher cipher = Cipher.getInstance("RSA/NONE/PKCS1Padding","BC");//,"SUN");// "IAIK");//Cipher.getInstance(xform);
cipher.init(Cipher.ENCRYPT_MODE, key);
System.out.println("a encrypted=" + cipher.doFinal(inpBytes));
return cipher.doFinal(inpBytes);
private static byte[] decrypt(byte[] inpBytes, PrivateKey key,
String xform) throws NoSuchAlgorithmException, InvalidKeyException, IllegalBlockSizeException,
NoSuchPaddingException, BadPaddingException, InvalidAlgorithmParameterException,Exception {
Cipher cipher = Cipher.getInstance("RSA/NONE/PKCS1Padding","BC");//,"SUN");//,"BC");// "IAIK");
cipher.init(Cipher.DECRYPT_MODE, key);
System.out.println("a decrypted=" + cipher.doFinal(inpBytes));
return cipher.doFinal(inpBytes);
public static void main(String[] unused) throws Exception {
String result,result1;
String xform = "RSA/NONE/PKCS1Padding";//ECB/NoPadding";
try
ObjectInputStream in1 = new ObjectInputStream(new FileInputStream("C:/WINNT/system32/privkey.key"));
PrivateKey key1= (PrivateKey)in1.readObject();
in1.close();
ObjectInputStream in2 = new ObjectInputStream(new FileInputStream("C:/WINNT/system32/pubkey.key"));
PublicKey key2= (PublicKey)in2.readObject();
in2.close();
System.out.println("private key "+in1+"\n"+"public key "+in2+"\n");
byte[] dataBytes = "Information Security for email sending".getBytes();
byte[] encBytes = encrypt(dataBytes, key2, xform);
result = new String(encBytes,"UTF8");
System.out.println("Encryped data "+result);
byte[] decBytes = decrypt(encBytes, key1, xform); //(encBytes, prvk, xform);
result1 = new String(decBytes,"UTF8");
System.out.println("\nDecrypt data:" result1 "\n");
boolean expected = java.util.Arrays.equals(dataBytes, decBytes);
System.out.println("Test " + (expected ? "SUCCEEDED!" : "FAILED!"));
}catch(Exception e ){ e.printStackTrace();}
output
private key java.io.ObjectInputStream@137c60d
public key java.io.ObjectInputStream@ab853b
a encrypted=[B@54a328
Encryped data ������?Z0??I?��???f?4??X(Q?L"q?O?��????e↨▬?]0???C??????L��Pt?{W?fg
a decrypted=[B@a3d4cf
Decrypt data:Information Security for email sending
Test SUCCEEDED!
plz help me soon
Regard shilpa
Thank for ur immediate reply,
First I'll tell u my problem,
I am doing email sending appliction with
EcryptionDecryption,
for that iam generating keys using KeyGenerator. so
from that the generated private key for the current
logined user, This still does not make sense - the user should give you his public key and keep his private key very PRIVATE. YOU should not know the Private key, only the Public key!
i am storing it in a file
,but while decrypting iam not getting the same key
that is stored in a file.How do you know! The code you provided earlier seemed to give the same keys for me. OK the toString() methods gave different results but the toString() mthod on a does not provide a representation of the key. You need to look a the fields of the key.
Similar Messages
-
Question
Background: When restoring Full + DIFF backups of a Change Data Capture (CDC) enabled database to a different SQL server, the CDC integrity is not being maintained. We did RESTORE the databases with the KEEP_CDC option.
How do I successfully restore the CDC enabled database backups (FULL + DIFF) while maintaining the CDC integrity?
Answer
When restoring a CDC enabled database on a different machine that is running SQL Server, besides using use the KEEP_CDC option to retain all the CDC metadata, you also need to add Capture and Cleanup jobs.
In addition, as you want to restore FULL + DIFF backups of a CDC enabled database, you need to note that the KEEP_CDC and NoRecovery options are incompatible. Use the KEEP_CDC option only when you are completing the recovery. I made a test to display
the whole process that how to restore the CDC enabled database backups (FULL + DIFF) on a different machine.
Create a database named ’CDCTest’ in SQL Server 2012, then enable the CDC feature and take full+ differential backups of the database.
-- Create database CDCTest
CREATE DATABASE [CDCTest] ON PRIMARY
( NAME = N'CDCTest ', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ CDCTest.mdf' , SIZE = 5120KB ,
MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
LOG ON
( NAME = N'CDCTest _log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ CDCTest _log.LDF' , SIZE = 3840KB ,
MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
use CDCTest;
go
-- creating table
create table Customer
custID int constraint PK_Employee primary key Identity(1,1)
,custName varchar(20)
--Enabling CDC on CDCTest database
USE CDCTest
GO
EXEC sys.sp_cdc_enable_db
--Enabling CDC on Customer table
USE CDCTest
GO
EXEC sys.sp_cdc_enable_table
@source_schema = N'dbo',
@source_name = N'Customer',
@role_name = NULL
GO
--Inserting values in customer table
insert into Customer values('Mike'),('Linda')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
--Taking full database backup
backup database CDCTest to disk = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ CDCTest.bak'
insert into Customer values('David'),('Jane')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
--Taking differential database backup
BACKUP DATABASE CDCTest TO DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ CDCTestdif.bak' WITH DIFFERENTIAL
GO
Restore Full backup of the ‘CDCTest’ database with using KEEP_CDC option in a different server that is running SQL Server 2014.
Use master
Go
--restore full database backup
restore database CDCTest from disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTest.bak' with keep_cdc
Restore Diff backup of the ‘CDCTest’ database.
Restore Database CDCTest From Disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTest.bak'
With Move 'CDCTest' To 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\CDCTest.mdf',
Move 'CDCTest _log' To 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\CDCTest _log.LDF',
Replace,
NoRecovery;
Go
--restore differential database backup
restore database CDCTest from disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTestdif.bak' with keep_cdc
Add the Capture and Cleanup jobs in the CDCTest database.
--add the Capture and Cleanup jobs
Use CDCTest
exec sys.sp_cdc_add_job 'capture'
GO
exec sys.sp_cdc_add_job 'cleanup'
GO
insert into Customer values('TEST'),('TEST1')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
Reference
Track Data Changes (SQL Server)
Restoring a SQL Server database that uses Change Data Capture
Applies to
SQL Server 2014
SQL Server 2012
SQL Server 2008 R2
SQL Server 2008
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Question
Background: When restoring Full + DIFF backups of a Change Data Capture (CDC) enabled database to a different SQL server, the CDC integrity is not being maintained. We did RESTORE the databases with the KEEP_CDC option.
How do I successfully restore the CDC enabled database backups (FULL + DIFF) while maintaining the CDC integrity?
Answer
When restoring a CDC enabled database on a different machine that is running SQL Server, besides using use the KEEP_CDC option to retain all the CDC metadata, you also need to add Capture and Cleanup jobs.
In addition, as you want to restore FULL + DIFF backups of a CDC enabled database, you need to note that the KEEP_CDC and NoRecovery options are incompatible. Use the KEEP_CDC option only when you are completing the recovery. I made a test to display
the whole process that how to restore the CDC enabled database backups (FULL + DIFF) on a different machine.
Create a database named ’CDCTest’ in SQL Server 2012, then enable the CDC feature and take full+ differential backups of the database.
-- Create database CDCTest
CREATE DATABASE [CDCTest] ON PRIMARY
( NAME = N'CDCTest ', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ CDCTest.mdf' , SIZE = 5120KB ,
MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
LOG ON
( NAME = N'CDCTest _log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ CDCTest _log.LDF' , SIZE = 3840KB ,
MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
use CDCTest;
go
-- creating table
create table Customer
custID int constraint PK_Employee primary key Identity(1,1)
,custName varchar(20)
--Enabling CDC on CDCTest database
USE CDCTest
GO
EXEC sys.sp_cdc_enable_db
--Enabling CDC on Customer table
USE CDCTest
GO
EXEC sys.sp_cdc_enable_table
@source_schema = N'dbo',
@source_name = N'Customer',
@role_name = NULL
GO
--Inserting values in customer table
insert into Customer values('Mike'),('Linda')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
--Taking full database backup
backup database CDCTest to disk = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ CDCTest.bak'
insert into Customer values('David'),('Jane')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
--Taking differential database backup
BACKUP DATABASE CDCTest TO DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ CDCTestdif.bak' WITH DIFFERENTIAL
GO
Restore Full backup of the ‘CDCTest’ database with using KEEP_CDC option in a different server that is running SQL Server 2014.
Use master
Go
--restore full database backup
restore database CDCTest from disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTest.bak' with keep_cdc
Restore Diff backup of the ‘CDCTest’ database.
Restore Database CDCTest From Disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTest.bak'
With Move 'CDCTest' To 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\CDCTest.mdf',
Move 'CDCTest _log' To 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\CDCTest _log.LDF',
Replace,
NoRecovery;
Go
--restore differential database backup
restore database CDCTest from disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTestdif.bak' with keep_cdc
Add the Capture and Cleanup jobs in the CDCTest database.
--add the Capture and Cleanup jobs
Use CDCTest
exec sys.sp_cdc_add_job 'capture'
GO
exec sys.sp_cdc_add_job 'cleanup'
GO
insert into Customer values('TEST'),('TEST1')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
Reference
Track Data Changes (SQL Server)
Restoring a SQL Server database that uses Change Data Capture
Applies to
SQL Server 2014
SQL Server 2012
SQL Server 2008 R2
SQL Server 2008
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread. -
How to hide product key page while installing SQL server 2012 ?
I need to hide the product key page while installing SQL server 2012 enterprise edition
I was trying to use the following command
Setup.exe /ACTION=Install /FEATURES=SQL /INSTANCENAME=Intuition /PID=<My product Key.
/IACCEPTSQLSERVERLICENSETERMS
The product key was applied , but the install screen is being shown with the Product key i have provided and it is in editable mode.
Is there any way i can hide this SQL server product key page ?
The reason is we are including SQL setup in our application and as per Microsoft policy we should not reveal the product key to user. If we are able to hide this from installing page , we can hide the installation command in some exe.
Note : Customers need fulfledged versions so we can't install SQLExpress.Hello,
Could you try using /Q or /QS parameter?
http://msdn.microsoft.com/en-us/library/ms144259(v=sql.110).aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
How can we implement product key feature while installing AIR application?
How can we implement product key feature while installing AIR application?
Hello,
Could you try using /Q or /QS parameter?
http://msdn.microsoft.com/en-us/library/ms144259(v=sql.110).aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
I'm working on with a customer on a 2106 controller with 1130 series ap's. Everyting seems fine until the client does a reauthentication. At this point the clients send a stream of authentication attempts to the RADIUS server (40 or so a second). The RADIUS (Microsoft IAS) is passing the authetication. The Controller has the error: DOT1X-1-INVALID_WPA_KEY_STATE: Received EAPOL-key message while in invalid state (0) - version 1, type 3, descriptor 254 with the mac address of the offending client in the log, at the same rate of the authentication storm. The clients have current drivers. We are using the Microsoft supplicant and have the Microsoft updates (SP2 and relevant wireless patches) installed.
I'm currently testing using the Intel supplicant, but have not been doing it long enough to see if it is an issue with that supplicant.Okay.... for this wlan ssid, you selected WPA+WPA2. Here you should define either WPA w/ tkip or WPA2 w/ AES.... or both. WPA2 performs better than WPA, but that depends on your client supporting WPA2. Since you selected PSK, you must of entered a pre-shared key. So in the AAA server tab, you don't have to enable local eap authentication.
For local eap, you need to choose wpa+wpa2 and 802.1x. This will also require a certificate on the WLC. I won't go into this too much because you are using PSK. Now on the client side, you would configure the ssid and either wpa tkip or wpa2 aes and psk... not enterprise. Enter you pre-shared key in the client and you should be good to go! -
Unable to validate message; key used for decrypting message is invalid;
When trying to decrypt an RNIF message in our SAP XI system we are running into an issue with below error message:
"Unable to validate message; key used for decrypting message is invalid; expected keystore entry: SSL-<SID>; keystore entry used: null"
The keystore administrator role is mapped to XIAFUSER. We validated the decryption using the J2EE Private Key thru a third-party (non-SAP) tool and it works fine. The keystore SSL-<SID> contains the Private Key and Cert from our CA. The message was encrypted using the Public Key of J2ee engine.
We were unable to generate more details even after increasing the log level. The security.log is the only place showing the above error message.The folder C:\j2sdk1.4.2_13\jre\lib\security contains the Java Cryptography Extension (JCE) files - 'local_policy.jar' and 'US_export_policy.jar' .The default files will have a size of 3 kb.These need to be replaced by JCE Unlimited Strength Jurisdiction Policy Files - 'local_policy.jar' and 'US_export_policy.jar' which are of size 5kb. In brief, C:\j2sdk1.4.2_13\jre\lib\security should contain the files - 'local_policy.jar' and 'US_export_policy.jar' and their size should be 5kb (and not 3kb). After we did this change the decrypt worked fine.
-
How to use Shared secret key(diffie hellman) for encryption n decryption
In my client server program i wanted to encrypt a random key using shared secret key for encryption and decryption with DES. but i'm unable to encrypt it as init() is not takin the shared secret key for encryption. somebody please help. my mail id - [email protected]
You need to post some code because it works for everyone else.
-
How does a public/private key encrypt and decrypt each other?
I understand the logic that when a communication takes place both parties pass their public keys to each other which is used to encrypt all messages. Once the party receives the messages the private key is used to decrypt them however I'm wondering how a private key is generated from a public key. If the private key is based on an algorithm wouldn't each party be able to generate what the other person's private key would be based on the public? Wouldn't a third party?
How the public and private keys are generated depends on what public key cryptosystem is being used, but in general the private key cannot be derived from the public with a computationally feasable algorithm, while the public key can be derived from the private key very quickly. Two examples:
RSA: private keys are 2 primes, p and q, and an encryption exponent d. Public key is the product p*q, and an encryption exponent e. How does the attacker get p and q, or d, from n and e? The best attack known against this (for properly chosen p, q, and d) is factoring. Factoring can be made infeasable by choosing the primes to be large enough.
Diffie-Hellman: a prime modulus p and a base g < p is known by everyone (including the attacker). The private key is an integer x chosen randomly, 2 <= x < p-1 (there are better ways to choose x). The public key is g^x mod p. How does the attacker get x from g^x mod p? Again, the best known attack is one that is computationally roughly equal to factoring a composite number of about the size of p. -
Getting Error while decrypt a file using Blowfish algorithm
I am using blowfish algorithm for encrypt and decrypt my file. this is my code for encrypting decrypting .
while i am running program i am getting an Exception
Exception in thread "main" javax.crypto.BadPaddingException: Given final block not properly padded
at com.sun.crypto.provider.SunJCE_h.b(DashoA6275)
at com.sun.crypto.provider.SunJCE_h.b(DashoA6275)
at com.sun.crypto.provider.BlowfishCipher.engineDoFinal(DashoA6275)
at javax.crypto.Cipher.doFinal(DashoA12275)
at Blowfishexe.main(Blowfishexe.java:65)
import java.security.*;
import javax.crypto.*;
import javax.crypto.spec.*;
import java.io.*;
import org.bouncycastle.crypto.CryptoException;
import org.bouncycastle.crypto.KeyGenerationParameters;
import org.bouncycastle.crypto.engines.DESedeEngine;
import org.bouncycastle.crypto.generators.DESedeKeyGenerator;
import org.bouncycastle.crypto.modes.CBCBlockCipher;
import org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher;
import org.bouncycastle.crypto.params.DESedeParameters;
import org.bouncycastle.crypto.params.KeyParameter;
import org.bouncycastle.util.encoders.Hex;
public class Blowfishexe {
public static void main(String[] args) throws Exception {
KeyGenerator kgen = KeyGenerator.getInstance("Blowfish");
kgen.init(128);
String keyfile="C:\\Encryption\\BlowfishKey.dat";
SecretKey skey = kgen.generateKey();
byte[] raw = skey.getEncoded();
SecretKeySpec skeySpec = new SecretKeySpec(raw, "Blowfish");
System.out.println("key"+raw);
byte[] keyBytes = skey.getEncoded();
byte[] keyhex = Hex.encode(keyBytes);
BufferedOutputStream keystream =
new BufferedOutputStream(new FileOutputStream(keyfile));
keystream.write(keyhex, 0, keyhex.length);
keystream.flush();
keystream.close();
Cipher cipher = Cipher.getInstance("Blowfish");
cipher.init(Cipher.ENCRYPT_MODE, skeySpec);
System.out.println("secretKey"+skeySpec);
FileOutputStream fos=new FileOutputStream("C:\\Encryption\\credit11.txt");
BufferedReader br=new BufferedReader(new FileReader("C:\\Encryption\\credit.txt"));
String text=null;
byte[] plainText=null;
byte[] cipherText=null;
while((text=br.readLine())!=null)
System.out.println(text);
plainText = text.getBytes();
cipherText = cipher.doFinal(plainText);
fos.write(cipherText);
br.close();
fos.close();
cipher.init(Cipher.DECRYPT_MODE, skeySpec);
FileOutputStream fos1=new FileOutputStream("C:\\Encryption\\BlowfishOutput.txt");
BufferedReader br1=new BufferedReader(new FileReader("C:\\Encryption\\credit11.txt"));
String text1=null;
/*while((text1=br1.readLine())!=null)
System.out.println("text is"+text1);
plainText=text1.getBytes("UTF8");
cipherText=cipher.doFinal(plainText);
fos1.write(cipherText);
br1.close();
fos1.close();
//byte[] encrypted = cipher.doFinal("This is just an example".getBytes());
//System.out.println("encrypted value"+encrypted);*/
Any one pls tell me how to slove my problem
thanks in advancehi
i got the solution. its working now
but blowfish key ranges from 56 to448
while i am writing the code as
KeyGenerator keyGenerator = KeyGenerator.getInstance("Blowfish");
keyGenerator.init(448);
this code is generating the key upto 448 bits
but coming to encoding or decode section key length is not accepting
cipher.init(Cipher.ENCRYPT_MODE, key);
Exception in thread "main" java.security.InvalidKeyException: Illegal key size or default parameters
at javax.crypto.Cipher.a(DashoA12275)
at javax.crypto.Cipher.a(DashoA12275)
at javax.crypto.Cipher.a(DashoA12275)
at javax.crypto.Cipher.init(DashoA12275)
at javax.crypto.Cipher.init(DashoA12275)
at Blowfish1.main(Blowfish1.java:46)
i am getting this error
what is the solution for this type of exception.
thank you -
Losing bytes while decrypting with Rijndael
I wondered if somebody would like to help me solve the following problem:
I'm trying to decrypt a file which is 32 bytes long before the decryption process. After the the decryption process, just 16 of the 32 bytes remain. All of the 16 bytes are decoded correctly! Does somebody know how i can prevent such a loss of data?
Here follows a code-snippet:
byte[] enckey = "thisisabeautifullkeydontyouthink".getBytes();
SecretKeySpec key = new SecretKeySpec(enckey, "Rijndael");
System.out.println("Loaded the key.");
// Create a cipher using that key to initialize it
Cipher cipher = Cipher.getInstance("Rijndael/CBC/PKCS5Padding");
FileInputStream fis = new FileInputStream("c:\\temp\\foo.dat");
FileOutputStream fos = new FileOutputStream("c:\\temp\\decrypted_foo.dat");
byte[] iv = "thisstringislong".getBytes();
IvParameterSpec spec = new IvParameterSpec(iv);
System.out.println("Initializing the cipher.");
cipher.init(Cipher.DECRYPT_MODE, key, spec);
CipherInputStream cis = new CipherInputStream(fis, cipher);
System.out.println("Decrypting the file...");
int theByte = 0;
while ((theByte = cis.read()) != -1)
fos.write(theByte);
cis.close();
fos.close();
I hope somebody is able to help me out!
Thanks in advance,
MathieuI didn't use padding encode my files, so i've changed my cipher.init to Cipher cipher = Cipher.getInstance("Rijndael/CBC/NoPadding"); Now the cipher does not produce any errors when decrypting. Still the output differs slightly from the original file.
For encoding my files i use perl. Is there a possibility to decode my files using the java.cipher? If so, what parameters should I use for decoding my files? Here follows my Perl code:
sub encrypt{
my ($key, $file, $file_out) = @_;
my $buffer;
# Rijndael encryption module
use Crypt::Rijndael;
$cipher = new Crypt::Rijndael $key, Crypt::Rijndael::MODE_CBC;
# Open files
open INF, $file;
open OUTF, ">$file_out";
# Binairy mode
binmode INF;
binmode OUTF;
# Set IV
$iv="mijnnaamishaasje";
$cipher->set_iv($iv);
# Read in and write
while (
read (INF, $buffer, 1024) and
print OUTF $cipher->encrypt(get16($buffer))
# Close files
close OUTF;
close INF;
sub get16 {
my $data = shift;
if (length($data)%16==0) {
$return = $data;
else {
$return = $data . "\0" x ( 16 - length($data) % 16 );
return $return; -
Migration key : wrong : while importing
hello gurus
i am importing an export from source system to destination system
source system
os : HP-UX
ver: B 11.23
DB: oracle 9.2.0.6.0
target system
os: Win2000 advanced server
DB: oracle 9.2.0.6.0
its giving error in migration key
it says
" The migration Key you entered is wrong, please enter the right one. If this fails constantly and you if you are sure to used the officially from SAP for this migration ordered key then remember to provide also as evidence the OS Build and DB Build Version information of the log, the Property file of the export and the Return code of the the migration key check from the log. "
m attaching
property sheet
src.ci.sid=MYP
src.ci.instance.number=00
src.ci.instance.name=JC00
src.ci.host=sapux1
src.iaik.fullVersion=false
src.java.encrypt.policy=strong
src.export.version=1.11
src.j2ee.apps=portal,kmc
src.export.typeIsCopy=true
db.copyWithDBtools=false
src.db=b3Jh
src.os=SFBJQTY0
src.dt=V2VkIEp1bCAxMSAxNjoyNDo1MyBHTVQrMDUzMCAoSVNUKSAyMDA3
src.id=MTcyNzk\=
src.ap=U0FQX0pURUNIUyxTQVAtSkVFLFNBUC1KRUVDT1IsU0FQX0pURUNIRix6b29tdXAuc2NhLExNLVRP\nT0xTLE5XTUFETUlO
src.so=U3RhbmRhbG9uZQ\=\=
sapinst
INFO 2007-07-17 14:28:27
Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/keydb.xml to: q0w9e9r8t7.1.xml.
INFO 2007-07-17 14:28:27
Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/keydb.xml to: q0w9e9r8t7.1.xml.
INFO 2007-07-17 14:28:34
Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/change.log to: C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/change.1.log.
INFO 2007-07-17 14:28:34
Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/change.log to: C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/change.1.log.
INFO 2007-07-17 14:28:34
Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\CENTRAL\ONE_HOST\change.1.log.
INFO 2007-07-17 14:28:34
Removing file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\CENTRAL\ONE_HOST\change.log.
INFO 2007-07-17 14:28:34
Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\CENTRAL\ONE_HOST\change.log.
INFO 2007-07-17 14:28:34
Output of change 'user' '/install' is written to the logfile change.log.
WARNING 2007-07-17 14:28:34
Execution of the command "change 'user' '/install'" finished with return code 1. Output:
This utility needs Terminal Services to be running.
INFO 2007-07-17 14:28:35
Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'LTITEST\Administrator' on host '.'.
INFO 2007-07-17 14:28:35
File not found: [C:/DOCUME1/ADMINI1/LOCALS~1/Temp/sapinst_exe.956.1184662597/msvcp71.dll].
INFO 2007-07-17 14:28:35
File not found: [C:/DOCUME1/ADMINI1/LOCALS~1/Temp/sapinst_exe.956.1184662597/msvcr71.dll].
INFO 2007-07-17 14:28:36
Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\CENTRAL\ONE_HOST\summary.html.
PHASE 2007-07-17 14:28:36
Prepare the installation program.
INFO 2007-07-17 14:28:51
Installation start: Tuesday, 17 July 2007, 14:28:28; installation directory: C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_~1\CENTRAL\ONE_HOST; product to be installed: SAP NetWeaver '04 Support Release 1> Java System> Oracle> Central System> Migration - Target System Installation
INFO 2007-07-17 14:29:41
This SAPinst Java System Copy is Property File Version : 1.11
INFO 2007-07-17 14:29:41
This SAPinst EXE uses OS Build Version : I386
INFO 2007-07-17 14:29:41
This SAPinst XML is DB Build Version : ora
INFO 2007-07-17 14:53:00
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
INFO 2007-07-17 14:53:58
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
INFO 2007-07-17 14:54:01
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
INFO 2007-07-17 14:54:07
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
INFO 2007-07-17 14:54:12
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
INFO 2007-07-17 14:54:17
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
INFO 2007-07-17 14:54:22
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
INFO 2007-07-17 14:54:29
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
INFO 2007-07-17 14:54:34
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
INFO 2007-07-17 14:54:38
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
INFO 2007-07-17 14:54:42
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
INFO 2007-07-17 14:54:46
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
INFO 2007-07-17 14:54:50
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
sapinst_dev
TRACE [iaxxccontrolfile.cpp:344]
CControlFile::getMessageFilePath()
Running with messages from C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST
TRACE [sapinst.cpp:306]
CSapInst::initMessaging()
This is SAPinst, version 642, build 703609
compiled on Nov 21 2004, 22:48:58
TRACE [sapinst.cpp:311]
CSapInst::initMessaging()
Gui connected by user Administrator from host LTITEST
TRACE [syxxsyshlp.cpp:133]
syslib::logSystemState()
Process environment
===================
Environment Variables
=====================
= C:=C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_~1\CENTRAL\ONE_HOST
ALLUSERSPROFILE = C:\Documents and Settings\All Users
APPDATA = C:\Documents and Settings\Administrator\Application Data
CommonProgramFiles = C:\Program Files\Common Files
COMPUTERNAME = LTITEST
ComSpec = C:\WINNT\system32\cmd.exe
HOMEDRIVE = C:
HOMEPATH = \Documents and Settings\Administrator
LOGONSERVER =
LTITEST
NUMBER_OF_PROCESSORS = 1
OS = Windows_NT
Os2LibPath = C:\WINNT\system32\os2\dll;
Path = D:\oracle\COE\ora92\jre\1.4.2\bin\client;D:\oracle\COE\ora92\jre\1.4.2\bin;D:\oracle\COE\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE = x86
PROCESSOR_IDENTIFIER = x86 Family 6 Model 8 Stepping 3, GenuineIntel
PROCESSOR_LEVEL = 6
PROCESSOR_REVISION = 0803
ProgramFiles = C:\Program Files
SAPINST_EXEDIR_CD = C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST
SystemDrive = C:
SystemRoot = C:\WINNT
TEMP = C:\DOCUME1\ADMINI1\LOCALS~1\Temp
TMP = C:\DOCUME1\ADMINI1\LOCALS~1\Temp
USERDOMAIN = LTITEST
USERNAME = Administrator
USERPROFILE = C:\Documents and Settings\Administrator
windir = C:\WINNT
User: LTITEST\Administrator, Id: S-1-5-21-329068152-1788223648-682003330-500
Working directory: C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_~1\CENTRAL\ONE_HOST
Current access token
====================
Could not get thread token. Last error: 1008. I assume that no thread token exists.
Got process token.
Privileges:
Privilege SeBackupPrivilege, display name: Back up files and directories, not enabled.
Privilege SeRestorePrivilege, display name: Restore files and directories, not enabled.
Privilege SeShutdownPrivilege, display name: Shut down the system, not enabled.
Privilege SeDebugPrivilege, display name: Debug programs, not enabled.
Privilege SeAssignPrimaryTokenPrivilege, display name: Replace a process level token, not enabled.
Privilege SeIncreaseQuotaPrivilege, display name: Increase quotas, not enabled.
Privilege SeSystemEnvironmentPrivilege, display name: Modify firmware environment values, not enabled.
Privilege SeChangeNotifyPrivilege, display name: Bypass traverse checking, enabled.
Privilege SeRemoteShutdownPrivilege, display name: Force shutdown from a remote system, not enabled.
Privilege SeTcbPrivilege, display name: Act as part of the operating system, not enabled.
Privilege SeUndockPrivilege, display name: Remove computer from docking station, enabled.
Privilege SeSecurityPrivilege, display name: Manage auditing and security log, not enabled.
Privilege SeTakeOwnershipPrivilege, display name: Take ownership of files or other objects, not enabled.
Privilege SeLoadDriverPrivilege, display name: Load and unload device drivers, enabled.
Privilege SeSystemProfilePrivilege, display name: Profile system performance, not enabled.
Privilege SeImpersonatePrivilege, display name: Impersonate a client after authentication, enabled.
Privilege SeSystemtimePrivilege, display name: Change the system time, not enabled.
Privilege SeCreateGlobalPrivilege, display name: Create global objects, enabled.
Privilege SeProfileSingleProcessPrivilege, display name: Profile single process, not enabled.
Privilege SeIncreaseBasePriorityPrivilege, display name: Increase scheduling priority, not enabled.
Privilege SeCreatePagefilePrivilege, display name: Create a pagefile, not enabled.
TRACE [synxcsyinf.cpp:92]
CSySystemInfoImpl::CSySystemInfoImpl()
Could not find IsWow64Process in Kernel32 DLL. I assume we are not running under WOW64.
TRACE [syxxsyshlp.cpp:143]
syslib::logSystemState()
System information
==================
OS version, host name: Microsoft Windows NT [Version 5.0.2195 Service Pack 4] LTITEST
RAM size (MB): 2047.53
Swap size (MB): 4096
TRACE [iaxxclientacceptor.cpp:124]
CClientAcceptor::acceptImpl()
Running with control file C:/PROGRA1/SAPINS1/NW04SR1/WEBAS_~1/CENTRAL/ONE_HOST/control.xml version 642 and changelist 702011
TRACE [iaxxccontrolfile.cpp:235]
CControlFile::getDialogControlFileName()
Running with dialog control file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/dialog.xml
TRACE [iaxxccontrolfile.cpp:184]
CControlFile::getResourecFileName()
Running with resource file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/helppool.xml
INFO 2007-07-17 14:28:27 [syxxcfile.cpp:325]
CSyFileImpl::copy(const CSyPath & q0w9e9r8t7.1.xml, ISyNode::eCopyMode 3, ISyProgressObserver*) const
Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/keydb.xml to: q0w9e9r8t7.1.xml.
INFO 2007-07-17 14:28:27 [syxxcfile.cpp:446]
CSyFileImpl::copy(const CSyPath & q0w9e9r8t7.1.xml, ISyNode::eCopyMode 3, ISyProgressObserver*) const
Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/keydb.xml to: q0w9e9r8t7.1.xml.
TRACE [iaxxclib.cpp:165]
load()
Opened iaccdlib.dll
TRACE [synxcsyinf.cpp:92]
CSySystemInfoImpl::CSySystemInfoImpl()
Could not find IsWow64Process in Kernel32 DLL. I assume we are not running under WOW64.
TRACE [synxcsyinf.cpp:92]
CSySystemInfoImpl::CSySystemInfoImpl()
Could not find IsWow64Process in Kernel32 DLL. I assume we are not running under WOW64.
TRACE [synxcsyinf.cpp:92]
CSySystemInfoImpl::CSySystemInfoImpl()
Could not find IsWow64Process in Kernel32 DLL. I assume we are not running under WOW64.
TRACE [iaxxccontrolfile.cpp:77]
CControlFile::getControlFilePath()
Running with control file path C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST
TRACE [iaxxcdgprc.cpp:635]
CDialogProcessor::processDialogs()
Executing dialog step Preinstall|ind|ind|ind|ind|ind|0|changeUserInstall
TRACE [iaxxclib.cpp:165]
load()
Opened iamodos.dll
TRACE [synxccuren.cpp:780]
CSyCurrentProcessEnvironmentImpl::getEffectiveUser(iastring&)
effective user corresponds to real user
INFO 2007-07-17 14:28:34 [syxxcfile.cpp:325]
CSyFileImpl::copy(const CSyPath & C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/change.1.log, ISyNode::eCopyMode 3, ISyProgressObserver*) const
Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/change.log to: C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/change.1.log.
INFO 2007-07-17 14:28:34 [syxxcfile.cpp:446]
CSyFileImpl::copy(const CSyPath & C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/change.1.log, ISyNode::eCopyMode 3, ISyProgressObserver*) const
Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/change.log to: C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/change.1.log.
INFO 2007-07-17 14:28:34 [synxcpath.cpp:834]
CSyPath::createFile()
Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\CENTRAL\ONE_HOST\change.1.log.
INFO 2007-07-17 14:28:34 [synxcfile.cpp:152]
CSyFileImpl::remove()
Removing file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\CENTRAL\ONE_HOST\change.log.
TRACE [iaxxejsexp.cpp:208]
EJS_Installer::writeTraceToLogBook()
nodeType: 'UNKNOWN'
INFO 2007-07-17 14:28:34 [synxcpath.cpp:834]
CSyPath::createFile()
Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\CENTRAL\ONE_HOST\change.log.
TRACE [iaxxclib.cpp:165]
load()
Opened iajsmod.dll
INFO 2007-07-17 14:28:34
CJSlibModule::writeInfo_impl()
Output of change 'user' '/install' is written to the logfile change.log.
WARNING 2007-07-17 14:28:34
CJSlibModule::writeWarning_impl()
Execution of the command "change 'user' '/install'" finished with return code 1. Output:
This utility needs Terminal Services to be running.
TRACE [iaxxccntrl.cpp:493]
CController::stepExecuted()
The step changeUserInstall with key Preinstall|ind|ind|ind|ind|ind|0|changeUserInstall has been executed successfully.
TRACE [iaxxcdgprc.cpp:635]
CDialogProcessor::processDialogs()
Executing dialog step Preinstall|ind|ind|ind|ind|ind|0|AddPrivilege
TRACE [synxccuren.cpp:780]
CSyCurrentProcessEnvironmentImpl::getEffectiveUser(iastring&)
effective user corresponds to real user
TRACE [synxccuren.cpp:780]
CSyCurrentProcessEnvironmentImpl::getEffectiveUser(iastring&)
effective user corresponds to real user
TRACE [iaxxclib.cpp:165]
load()
Opened iamodnt.dll
TRACE [ianxbusprv.cpp:288]
CIaNtUserPrivileges::add_impl(., LTITEST\Administrator, SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege)
Ignored existing privilege: SeTcbPrivilege
TRACE [ianxbusprv.cpp:288]
CIaNtUserPrivileges::add_impl(., LTITEST\Administrator, SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege)
Ignored existing privilege: SeAssignPrimaryTokenPrivilege
TRACE [ianxbusprv.cpp:288]
CIaNtUserPrivileges::add_impl(., LTITEST\Administrator, SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege)
Ignored existing privilege: SeIncreaseQuotaPrivilege
INFO 2007-07-17 14:28:35 [ianxbusprv.cpp:337]
CIaNtUserPrivileges::add_impl(., LTITEST\Administrator, SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege)
Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'LTITEST\Administrator' on host '.'.
TRACE [iaxxccntrl.cpp:493]
CController::stepExecuted()
The step AddPrivilege with key Preinstall|ind|ind|ind|ind|ind|0|AddPrivilege has been executed successfully.
TRACE [iaxxcdgprc.cpp:635]
CDialogProcessor::processDialogs()
Executing dialog step Preinstall|ind|ind|ind|ind|ind|0|replaceDLLs
INFO 2007-07-17 14:28:35
CJSlibModule::writeInfo_impl()
File not found: [C:/DOCUME1/ADMINI1/LOCALS~1/Temp/sapinst_exe.956.1184662597/msvcp71.dll].
INFO 2007-07-17 14:28:35
CJSlibModule::writeInfo_impl()
File not found: [C:/DOCUME1/ADMINI1/LOCALS~1/Temp/sapinst_exe.956.1184662597/msvcr71.dll].
TRACE [synxcsyinf.cpp:92]
CSySystemInfoImpl::CSySystemInfoImpl()
Could not find IsWow64Process in Kernel32 DLL. I assume we are not running under WOW64.
TRACE [iaxxccntrl.cpp:493]
CController::stepExecuted()
The step replaceDLLs with key Preinstall|ind|ind|ind|ind|ind|0|replaceDLLs has been executed successfully.
TRACE [iaxxcdgprc.cpp:635]
CDialogProcessor::processDialogs()
Executing dialog step Preinstall|ind|ind|ind|ind|ind|0|registerEventsDll
TRACE [synxcsyinf.cpp:92]
CSySystemInfoImpl::CSySystemInfoImpl()
Could not find IsWow64Process in Kernel32 DLL. I assume we are not running under WOW64.
TRACE [iaxxejsexp.cpp:208]
EJS_Installer::writeTraceToLogBook()
C:/DOCUME1/ADMINI1/LOCALS~1/Temp/sapinst_exe.956.1184662597/sapinstevents.dll not found.
TRACE [iaxxejsexp.cpp:208]
EJS_Installer::writeTraceToLogBook()
E:/EP6Dump/WAS640InstMaster\IM01_NT_I386\SAPINST/NT/I386/sapinstevents.dll not found.
TRACE [synxcfile.cpp:134]
CSyFileImpl::getFileVersion()
file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/sapinstevents.dll has version 693717.642
TRACE [synxcfile.cpp:134]
CSyFileImpl::getFileVersion()
file C:/WINNT/system32/SAPinst/sapinstevents.dll has version 703609.642
TRACE [syxxcfile.cpp:240]
CSyFileImpl::copy(const CSyPath & C:/WINNT/system32/SAPinst/sapinstevents.dll, ISyNode::eCopyMode 545, ISyProgressObserver*) const
Did not copy file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_COPY/CENTRAL/ONE_HOST/sapinstevents.dll to: C:/WINNT/system32/SAPinst/sapinstevents.dll (source file version is not higher than target file version)
TRACE [iaxxccntrl.cpp:493]
CController::stepExecuted()
The step registerEventsDll with key Preinstall|ind|ind|ind|ind|ind|0|registerEventsDll has been executed successfully.
TRACE [iaxxcdgprc.cpp:635]
CDialogProcessor::processDialogs()
Executing dialog step Preinstall|ind|ind|ind|ind|ind|0|diSummarize
TRACE [iaxxccntrl.cpp:493]
CController::stepExecuted()
The step diSummarize with key Preinstall|ind|ind|ind|ind|ind|0|diSummarize has been executed successfully.
TRACE [iaxxcdgprc.cpp:635]
CDialogProcessor::processDialogs()
Executing dialog step Preinstall|ind|ind|ind|ind|ind|0|diProgress
TRACE [iaxxccntrl.cpp:493]
CController::stepExecuted()
The step diProgress with key Preinstall|ind|ind|ind|ind|ind|0|diProgress has been executed successfully.
INFO 2007-07-17 14:28:36 [synxcpath.cpp:834]
CSyPath::createFile()
Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\CENTRAL\ONE_HOST\summary.html.
PHASE 2007-07-17 14:28:36 [iaxxcwalker.cpp:416]
CDomWalker::printPhaseInfo()
Prepare the installation program.
INFO 2007-07-17 14:28:51 [iaxxcwalker.cpp:59]
CDomWalker::walk()
Installation start: Tuesday, 17 July 2007, 14:28:28; installation directory: C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_~1\CENTRAL\ONE_HOST; product to be installed: SAP NetWeaver '04 Support Release 1> Java System> Oracle> Central System> Migration - Target System Installation
TRACE [iaxxclib.cpp:165]
load()
Opened iamodora.dll
TRACE [iaxxccntrl.cpp:398]
CController::activateEvaluator()
The controller registered the module COraInputChecker
TRACE [iaxxclib.cpp:165]
load()
Opened iamodada.dll
TRACE [iaxxccntrl.cpp:398]
CController::activateEvaluator()
The controller registered the module CIaSdbActor
TRACE [iaxxcdgprc.cpp:635]
CDialogProcessor::processDialogs()
Executing dialog step J2EE_SystemCopy_OneHost|ind|ind|ind|WebAS|640|0|fillContext
TRACE [iaxxejsexp.cpp:208]
EJS_Installer::writeTraceToLogBook()
t_J2EE_SystemCopy.remove(WHERE 1=1)
TRACE [iaxxejsexp.cpp:208]
EJS_Installer::writeTraceToLogBook()
t_J2EE_SystemCopy.insertRow(), inserting
TRACE [iaxxccntrl.cpp:493]
CController::stepExecuted()
The step fillContext with key J2EE_SystemCopy_OneHost|ind|ind|ind|WebAS|640|0|fillContext has been executed successfully.
TRACE [iaxxcdgprc.cpp:635]
CDialogProcessor::processDialogs()
Executing dialog step J2EE_SystemCopy_OneHost|ind|ind|ind|WebAS|640|0|J2EE_SystemCopy|ind|ind|ind|ind|ind|0|requestCDs
TRACE [cdxxccdcli.cpp:202]
CCdClientImpl::makeSomePackagesAvailable
CD Client for Component J2EE_SystemCopy|ind|ind|ind|ind|ind
TRACE [iaxxgenimp.cpp:189]
showDialog()
showing dlg diCdServerWithCdName
TRACE [iaxxgenimp.cpp:205]
showDialog()
<dialog sid="diCdServerWithCdName">
<dialog/>
TRACE [iaxxgenimp.cpp:845]
showDialog()
waiting for an answer from gui
TRACE [iaxxdlghnd.cpp:98]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_NEXT requested
TRACE [iaxxgenimp.cpp:212]
showDialog()
<dialog sid="diCdServerWithCdName">
<dialog/>
TRACE [iaxxccntrl.cpp:493]
CController::stepExecuted()
The step requestCDs with key J2EE_SystemCopy_OneHost|ind|ind|ind|WebAS|640|0|J2EE_SystemCopy|ind|ind|ind|ind|ind|0|requestCDs has been executed successfully.
TRACE [iaxxcdgprc.cpp:635]
CDialogProcessor::processDialogs()
Executing dialog step J2EE_SystemCopy_OneHost|ind|ind|ind|WebAS|640|0|J2EE_SystemCopy|ind|ind|ind|ind|ind|0|readSourceProperties
TRACE [iaxxejsexp.cpp:208]
EJS_Installer::writeTraceToLogBook()
Instance name of source CI is 'JC00', J2EE standalone is 'true'. The following J2EE applications were installed on the source system: portal,kmc.
TRACE [iaxxccntrl.cpp:493]
CController::stepExecuted()
The step readSourceProperties with key J2EE_SystemCopy_OneHost|ind|ind|ind|WebAS|640|0|J2EE_SystemCopy|ind|ind|ind|ind|ind|0|readSourceProperties has been executed successfully.
TRACE [iaxxcdgprc.cpp:635]
CDialogProcessor::processDialogs()
Executing dialog step J2EE_SystemCopy_OneHost|ind|ind|ind|WebAS|640|0|J2EE_SystemCopy|ind|ind|ind|ind|ind|0|updateApplTable
INFO 2007-07-17 14:29:41
CJSlibModule::writeInfo_impl()
This SAPinst Java System Copy is Property File Version : 1.11
TRACE [synxcsyinf.cpp:92]
CSySystemInfoImpl::CSySystemInfoImpl()
Could not find IsWow64Process in Kernel32 DLL. I assume we are not running under WOW64.
INFO 2007-07-17 14:29:41
CJSlibModule::writeInfo_impl()
This SAPinst EXE uses OS Build Version : I386
TRACE [iaxxejsexp.cpp:208]
EJS_Installer::writeTraceToLogBook()
TRUE Case 3
INFO 2007-07-17 14:29:41
CJSlibModule::writeInfo_impl()
This SAPinst XML is DB Build Version : ora
TRACE [iaxxgenimp.cpp:189]
showDialog()
showing dlg d_sysCopyEnterSimpleMigrationKey
TRACE [iaxxgenimp.cpp:205]
showDialog()
<dialog sid="d_sysCopyEnterSimpleMigrationKey">
<dialog/>
TRACE [iaxxgenimp.cpp:845]
showDialog()
waiting for an answer from gui
TRACE [iaxxdlghnd.cpp:98]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_NEXT requested
INFO 2007-07-17 14:53:00
CJSlibModule::writeInfo_impl()
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
TRACE [iaxxdlghnd.cpp:322]
CDialogHandler::doHandleDoc()
The migration Key you entered is wrong, please enter the right one. If this fails constantly and you if you are sure to used the officially from SAP for this migration ordered key then remember to provide also as evidence the OS Build and DB Build Version information of the log, the Property file of the export and the Return code of the the migration key check from the log.
TRACE [iaxxgenimp.cpp:845]
showDialog()
waiting for an answer from gui
TRACE [iaxxcnclhd.cpp:101]
CCancelHandler::doHandleDoc()
CCancelHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:187]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:98]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_NEXT requested
INFO 2007-07-17 14:53:58
CJSlibModule::writeInfo_impl()
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
TRACE [iaxxdlghnd.cpp:322]
CDialogHandler::doHandleDoc()
The migration Key you entered is wrong, please enter the right one. If this fails constantly and you if you are sure to used the officially from SAP for this migration ordered key then remember to provide also as evidence the OS Build and DB Build Version information of the log, the Property file of the export and the Return code of the the migration key check from the log.
TRACE [iaxxgenimp.cpp:845]
showDialog()
waiting for an answer from gui
TRACE [iaxxcnclhd.cpp:101]
CCancelHandler::doHandleDoc()
CCancelHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:187]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:98]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_NEXT requested
INFO 2007-07-17 14:54:01
CJSlibModule::writeInfo_impl()
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
TRACE [iaxxdlghnd.cpp:322]
CDialogHandler::doHandleDoc()
The migration Key you entered is wrong, please enter the right one. If this fails constantly and you if you are sure to used the officially from SAP for this migration ordered key then remember to provide also as evidence the OS Build and DB Build Version information of the log, the Property file of the export and the Return code of the the migration key check from the log.
TRACE [iaxxgenimp.cpp:845]
showDialog()
waiting for an answer from gui
TRACE [iaxxcnclhd.cpp:101]
CCancelHandler::doHandleDoc()
CCancelHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:187]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:98]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_NEXT requested
INFO 2007-07-17 14:54:07
CJSlibModule::writeInfo_impl()
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
TRACE [iaxxdlghnd.cpp:322]
CDialogHandler::doHandleDoc()
The migration Key you entered is wrong, please enter the right one. If this fails constantly and you if you are sure to used the officially from SAP for this migration ordered key then remember to provide also as evidence the OS Build and DB Build Version information of the log, the Property file of the export and the Return code of the the migration key check from the log.
TRACE [iaxxgenimp.cpp:845]
showDialog()
waiting for an answer from gui
TRACE [iaxxcnclhd.cpp:101]
CCancelHandler::doHandleDoc()
CCancelHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:187]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:98]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_NEXT requested
INFO 2007-07-17 14:54:12
CJSlibModule::writeInfo_impl()
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
TRACE [iaxxdlghnd.cpp:322]
CDialogHandler::doHandleDoc()
The migration Key you entered is wrong, please enter the right one. If this fails constantly and you if you are sure to used the officially from SAP for this migration ordered key then remember to provide also as evidence the OS Build and DB Build Version information of the log, the Property file of the export and the Return code of the the migration key check from the log.
TRACE [iaxxgenimp.cpp:845]
showDialog()
waiting for an answer from gui
TRACE [iaxxcnclhd.cpp:101]
CCancelHandler::doHandleDoc()
CCancelHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:187]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:98]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_NEXT requested
INFO 2007-07-17 14:54:17
CJSlibModule::writeInfo_impl()
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
TRACE [iaxxdlghnd.cpp:322]
CDialogHandler::doHandleDoc()
The migration Key you entered is wrong, please enter the right one. If this fails constantly and you if you are sure to used the officially from SAP for this migration ordered key then remember to provide also as evidence the OS Build and DB Build Version information of the log, the Property file of the export and the Return code of the the migration key check from the log.
TRACE [iaxxgenimp.cpp:845]
showDialog()
waiting for an answer from gui
TRACE [iaxxcnclhd.cpp:101]
CCancelHandler::doHandleDoc()
CCancelHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:187]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:98]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_NEXT requested
INFO 2007-07-17 14:54:22
CJSlibModule::writeInfo_impl()
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
TRACE [iaxxdlghnd.cpp:322]
CDialogHandler::doHandleDoc()
The migration Key you entered is wrong, please enter the right one. If this fails constantly and you if you are sure to used the officially from SAP for this migration ordered key then remember to provide also as evidence the OS Build and DB Build Version information of the log, the Property file of the export and the Return code of the the migration key check from the log.
TRACE [iaxxgenimp.cpp:845]
showDialog()
waiting for an answer from gui
TRACE [iaxxcnclhd.cpp:101]
CCancelHandler::doHandleDoc()
CCancelHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:187]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:98]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_NEXT requested
INFO 2007-07-17 14:54:29
CJSlibModule::writeInfo_impl()
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
TRACE [iaxxdlghnd.cpp:322]
CDialogHandler::doHandleDoc()
The migration Key you entered is wrong, please enter the right one. If this fails constantly and you if you are sure to used the officially from SAP for this migration ordered key then remember to provide also as evidence the OS Build and DB Build Version information of the log, the Property file of the export and the Return code of the the migration key check from the log.
TRACE [iaxxgenimp.cpp:845]
showDialog()
waiting for an answer from gui
TRACE [iaxxcnclhd.cpp:101]
CCancelHandler::doHandleDoc()
CCancelHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:187]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:98]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_NEXT requested
INFO 2007-07-17 14:54:34
CJSlibModule::writeInfo_impl()
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
TRACE [iaxxdlghnd.cpp:322]
CDialogHandler::doHandleDoc()
The migration Key you entered is wrong, please enter the right one. If this fails constantly and you if you are sure to used the officially from SAP for this migration ordered key then remember to provide also as evidence the OS Build and DB Build Version information of the log, the Property file of the export and the Return code of the the migration key check from the log.
TRACE [iaxxgenimp.cpp:845]
showDialog()
waiting for an answer from gui
TRACE [iaxxcnclhd.cpp:101]
CCancelHandler::doHandleDoc()
CCancelHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:187]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:98]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_NEXT requested
INFO 2007-07-17 14:54:38
CJSlibModule::writeInfo_impl()
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
TRACE [iaxxdlghnd.cpp:322]
CDialogHandler::doHandleDoc()
The migration Key you entered is wrong, please enter the right one. If this fails constantly and you if you are sure to used the officially from SAP for this migration ordered key then remember to provide also as evidence the OS Build and DB Build Version information of the log, the Property file of the export and the Return code of the the migration key check from the log.
TRACE [iaxxgenimp.cpp:845]
showDialog()
waiting for an answer from gui
TRACE [iaxxcnclhd.cpp:101]
CCancelHandler::doHandleDoc()
CCancelHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:187]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:98]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_NEXT requested
INFO 2007-07-17 14:54:42
CJSlibModule::writeInfo_impl()
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
TRACE [iaxxdlghnd.cpp:322]
CDialogHandler::doHandleDoc()
The migration Key you entered is wrong, please enter the right one. If this fails constantly and you if you are sure to used the officially from SAP for this migration ordered key then remember to provide also as evidence the OS Build and DB Build Version information of the log, the Property file of the export and the Return code of the the migration key check from the log.
TRACE [iaxxgenimp.cpp:845]
showDialog()
waiting for an answer from gui
TRACE [iaxxcnclhd.cpp:101]
CCancelHandler::doHandleDoc()
CCancelHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:187]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:98]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_NEXT requested
INFO 2007-07-17 14:54:46
CJSlibModule::writeInfo_impl()
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
TRACE [iaxxdlghnd.cpp:322]
CDialogHandler::doHandleDoc()
The migration Key you entered is wrong, please enter the right one. If this fails constantly and you if you are sure to used the officially from SAP for this migration ordered key then remember to provide also as evidence the OS Build and DB Build Version information of the log, the Property file of the export and the Return code of the the migration key check from the log.
TRACE [iaxxgenimp.cpp:845]
showDialog()
waiting for an answer from gui
TRACE [iaxxcnclhd.cpp:101]
CCancelHandler::doHandleDoc()
CCancelHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:187]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_ERROR received
TRACE [iaxxdlghnd.cpp:98]
CDialogHandler::doHandleDoc()
CDialogHandler: ACTION_NEXT requested
INFO 2007-07-17 14:54:50
CJSlibModule::writeInfo_impl()
Return code of migration check : MTc5Z2RFTTUwVEwwMWVxdGRVMDBhYTQ=
TRACE [iaxxdlghnd.cpp:322]
CDialogHandler::doHandleDoc()
The migration Key you entered is wrong, please enter the right one. If this fails constantly and you if you are sure to used the officially from SAP for this migration ordered key then remember to provide also as evidence the OS Build and DB Build Version information of the log, the Property file of the export and the Return code of the the migration key check from the log.
kindly help me out
regards
shoebhello David
yes
source CI & DB are on same hosts
while destination CI & DB are on same hosts
i donno why its not accepting the key... m giving the source & destination parameters exactly the same while generating the key
is that can we migrate a 64 bit system to a 32 bit system ?
kindly help
thx
regards
shoeb -
Installing Arch Linux on USB key: error while booting
Hello,
first of all, I must say I've followed the steps from this article on arch wiki to install archlinux on my USB key: https://wiki.archlinux.org/index.php/In … _a_USB_key
So what I did is to use one of my 2 usb keys to INSTALL linux, and the second one to RUN linux. I used dd to write on the 1st usb, eveything worked fine when booting, then I do install arch on the my second usb following the stept from the link above, everything works until I get this error while booting (at the middle):
Waiting 10 seconds for device /dev/sdc/
Root device '/dev/sdc' doesn't exist. Attempting to create it.
ERROR: Unable to determine major/minor number of root device '/dev/disk/by-uuid/lotsofnumbers'
You are being dropped to a recovery shell
Type 'exit' to try and continue booting
/bin/sh: Can't contact tty; job control turned off
[ramfs /]#
To summarize I'll show you my conf files that could help you to resolve my problem:
/etc/fstab.conf
/dev/sdc1 /boot ext2 defaults 0 1
/dev/sdc2 / ext3 defaults 0 1
/dev/sdc3 /home ext3 defaults 0 1
So here I've sdc1 boot 32MB partition; sdc2 root 3GB partition; sdc3 home 978MB partition for a total of 4GB USB key~
I didn't make a swap partition as in the tutorial they are writing it's unnecessary for some kind of reasons.
/etc/mkinitcpio.conf
HOOKS="base udev usb autodetect pata scsi sata filesystems"
I've added to here, "usb" to the hooks
installed GRUB on my sdc, here is the menu.ist:
# (0) Arch Linux
title Arch Linux (USB)
root (hd0,0)
kernel /vmlinuz26 root=/dev/sdc ro vga=773
initrd /kernel26.img
So, I boot GRUB without problems, start Arch Linux, but then I got this error above.
I've searched alot on some forums and read many stuffs, but sitll can't fix it and it seems complicated.
I've tried to boot with UUID, also, but didn't make difference. I tried to remove some parameter from the hooks, but unfortunately this wasn't working still. I've read somewhere to use chroot, but I didn't catch on how to do that and what was the use of chroot, I'm still noob user of arch linux and currently learning. Maybe it's the problem, as some forum were talking about creating a new image, but I still don't know how to make it. By the way, I'm not sure this could have fixed my current problem. I've also read somewhere it could be due to my lack of space, but I wrote you how I did partition my USB key, let me know if you have any suggestion please.1. What I did is re-installing entirely from my installation disk or USB to test out different setting in my config files, because I don't know how to edit my .conf as I can't really finish to boot to the end and get in terminal mode? If there is a quicker way to edit files from any terminal to go into my current USB sdc to modify directly my file from there, I'd enjoy probably. So rebuilding the initpio, no, I just re-installed to test out different configs.
2. Yes, same error.
3. Tested out by-id/by-path and uuid = no difference
4. Didn't know about larch, it seems to be a nice tool, I'll check it out -
Hello,
Was running osx Lion, newest update. Using Hitachi 320 GB 5200RPM HD. I5, 4 gb DDR3. Mac Book Pro, 13 inch, fall2011. Heres what happened:
Opened Disk Utility Via Launchpad> Utilities upon normal boot into home screen. Ran Disk verify on Mactintosh HD partition and was told the disk needed repair. Restart, cmmd-R upon restart. Run disk utility, verify disk on Main Disk (whole drive), Needs repair: run permissions repair, run disk repair. Completes both processes on my Main disk (the whole 320 GB).... Machintosh HD now is greyed out, and will not unlock with my password to run Verify Disk. Attempt restart in safe mode, fail. Disk utility refuses to recognize drive, Machitosh HD turns to Disk 13 after failed attempt. Select Macintosh HD, Turn off encryption. Attempt password access to unlock and mount, fail will not accept password.
Trying from Terminal/ command line now via cmmd-r restart.... diskutil list.... sees Macintosh HD 3 tiers. will unlock Macintosh HD (bottom tier), but fails to mount. Second tier, says decryption is happening, but no direction is given.
What I have been told by the computer guys I tool it to is that the HD froze while it was being decrypted, and they cannot extract the data. There is nothing mechanically wrong with the HD. I had to buy a new HD, and Keep the old one with hopes of extracting the Data....
What do I do here guys? How do I mount the drive externally to connect to my mac book pro?
Is this drive repairable?
What sort of file recovery program is going to get these files back?
Why did this happen?
Thank you guys in advance.You could create a new profile, remove the content, and replace it with the entire profile from your old drive.
But you are only asking about bookmarks, though I expect you also meant to include your browsing history so you would want places.sqlite
References:
* Transferring data to a new profile - Firefox - MozillaZine Knowledge Base<br>http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
* Creating a new Firefox profile on Windows - MozillaZine Knowledge Base<br>http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
* Profile folder - MozillaZine Knowledge Base<br>http://kb.mozillazine.org/Profile
* Profile folder - Firefox - MozillaZine Knowledge Base<br>http://kb.mozillazine.org/Profile_folder_-_Firefox
* Lost bookmarks - MozillaZine Knowledge Base<br>http://kb.mozillazine.org/Lost_bookmarks -
ORA-02266: unique/primary keys - error while using Exchange Partition
Hi All,
While using EXCHANGE PARTITION statement as given below,
ALTER TABLE SOURCE_TABLE EXCHANGE PARTITION PRT_EXCG_PRTN WITH TABLE TARGET_TABLE
we are getting this error,
ORA-02266: unique/primary keys in table referenced by enabled foreign keys
However, there are no tables have foreign keys referring this TARGET_TABLE, we checked this by referring
USER_CONSTRAINTS table, it has only primary key and NOT NULL constraints.
SELECT * FROM USER_CONSTRAINTS WHERE TABLE_NAME like 'TARGET_TABLE';
We are using the following version,
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
PL/SQL Release 9.2.0.6.0 - Production
CORE 9.2.0.6.0 Production
TNS for IBM/AIX RISC System/6000: Version 9.2.0.6.0 - Production
NLSRTL Version 9.2.0.6.0 - Production
Is it due to any error in our end or it could be a bug in Oracle and should we go for any patch updation ?
Please guide us to resolve this error as soon as possible, thank you.
Regards,
Deva*** Duplicate Post ***
Please Ignore. -
Needs steps, key points while undeploying & unclustering an bpm engine
Hi,
We are using Oracle 10G 10.3.2 in a clustered weblogic version with clustered servers - each catering to different workflows.
Need to undeploy a process which is currently deployed in one of the cluster engine
What are the steps/ key things to be considered while doing this. There are no bpm instances of that particular process
Thanks,
-SreeHi,
We are using Oracle 10G 10.3.2 in a clustered weblogic version with clustered servers - each catering to different workflows.
Need to undeploy a process which is currently deployed in one of the cluster engine
What are the steps/ key things to be considered while doing this. There are no bpm instances of that particular process
Thanks,
-Sree
Maybe you are looking for
-
How do I get my wifi to stay on when it goes out on me?
-
Paper Jam for HP PSC 1610 All-in-One Printer
Paper Jam for HP PSC 1610 All-in-One Printer: I had a paper jam and cleared the paper from the printer. Now every time I turn the printer "on" it picks up the top piece of paper from the tray and runs it about ½ to ¾ of the way thru the paper feed,
-
I want to sync only my existing contacts, and not gain all of my facebook friends. Is it possible?
-
IIe card in a LC/Performa 575 computer
Hi, I just read this article in Apple database: http://docs.info.apple.com/article.html?artnum=8458 Is there a way to make a 575 uses the IIe card and the COMM slot (with Ethernet) work together, or it is really incompatible all the way? Thanks
-
Audio Scrubbing gone in Imovie 09
In the past I ad sound of my video clips as soon as I scroll with my mouse over a part of the clip. This does not work anymore. It only works if I play the whole clip. Does anybode know where I can turn this on? I tried on the left side of the vu met