Problem in creating keystore
I was trying to follow the instructions on this link http://e-docs.bea.com/wls/docs81/admin_ref/utils.html#1184336
when I was trying to do step 4: D:\bea2\weblogic700\samples\server\src>cat testcert.pem
CertGenCA.pem >> newcerts.pem
I don't know where that cat command is. I cannot find it in WLW 8.1. this instruction
seems to work in 7.0. I'm wondering whether this command has been replaced by
another one.
anybody can help me with this?
Thank you. Thank you so much. This problem is solved. However, when I was doing
the next step:
java utils.ImportPrivateKey mykeystore mypasswd mykey mykeypass newcerts.pem
testkey.pem
I got the following error messages:
ImportPrivateKey will create mykeystore
ImportPrivateKey failed, java.lang.NoClassDefFoundError: javax/security/cert/Cer
tificateException
java.lang.NoClassDefFoundError: javax/security/cert/CertificateException
at weblogic.security.utils.SSLContextWrapper.getInstance(SSLContextWrapp
er.java:25)
at utils.ImportPrivateKey.importKey(ImportPrivateKey.java:66)
at utils.ImportPrivateKey.importKey(ImportPrivateKey.java:35)
at utils.ImportPrivateKey.main(ImportPrivateKey.java:21)
I think I need to add some jar file in the classpath, but I don't know which one
to add. Any suggestions? :)
Bruce Stephens <[email protected]> wrote:
Hello,
The goal of this step is to simply put the two files together into one;
to add the certificate and the Certificate Authority (CA) into a single
pem file. The 'cat' command is a generic unix command for concatenate.
If you are using windows, in a cmd shell just use something like "copy
testcert.pem + CertGenCA.pem newcerts.pem" should do the same thing.
HTHs,
Bruce
Yan wrote:
I was trying to follow the instructions on this link http://e-docs.bea.com/wls/docs81/admin_ref/utils.html#1184336
when I was trying to do step 4: D:\bea2\weblogic700\samples\server\src>cattestcert.pem
CertGenCA.pem >> newcerts.pem
I don't know where that cat command is. I cannot find it in WLW 8.1.this instruction
seems to work in 7.0. I'm wondering whether this command has been replacedby
another one.
anybody can help me with this?
Similar Messages
-
Hello, I'm a little new to this and have been working on creating a keystore programmatically. This is code so far: It compiles fine, but it won't run - just the "Press any key to continue" shows up on the command window. I'm sure I've probably made some stupid mistake that's staring at me in the face, but since it's past 1am I can't exactly ask anyone for a fresh set of eyes to see if they spot anything. Could someone please have a quick look at the code below, I'd greatly appreciate it. (by the way all the printlns are just for testing)
try{
Security.addProvider(new com.sun.crypto.provider.SunJCE());
String homedir = System.getProperty("user.home");
System.out.println("Home Directory: "+ homedir);
String fileSep = System.getProperty("file.separator");
String stringKeyStore = homedir + fileSep + ".keystoreF";
System.out.println("StringKeyStore = " + stringKeyStore);
File fileKeyStore = new File(stringKeyStore);
System.out.println("FileName:" + fileKeyStore);
String javaHome = System.getProperty("java.home");
System.out.println("Java Home = " + javaHome);
String keyStoreType=KeyStore.getDefaultType();
System.out.println("KeyStoreType:" + keyStoreType);
if (fileKeyStore.exists() == false){
System.out.println("Creating keystore...");
String [] arstringCommand = new String []{
System.getProperty("java.home") + fileSep + "bin"+fileSep
"keytool",
"-genkey",
"-alias", stringId,
"-keyalg", "RSA",
"-keysize", "1024",
"-dname", "CN=" + stringName,
"-keystore", homedir + fileSep + "keystoreF",
"-keypass", stringPassword,
"-storetype", "JKS",
"-storepass", stringPassword};
Process process = Runtime.getRuntime().exec(arstringCommand);
process.waitFor();
BufferedReader reader = new BufferedReader( new InputStreamReader(process.getInputStream()));
while (true)
try {
String lineStr = reader.readLine();
if (lineStr == null)
break;
System.out.println(lineStr);
} catch (Exception e) { break; }
}//end while
try {
process.waitFor();
catch (InterruptedException e) {}
System.out.println("");*/
passW = stringPassword.toCharArray();
FileInputStream fis = new FileInputStream(homedir + fileSep +
"keystoreF");
keyStore = KeyStore.getInstance(keyStoreType);
System.out.println("KeyStore:" + keyStore);
if (fileKeyStore.exists()) {
FileInputStream fis = new FileInputStream(homedir + fileSep +
"keystoreF");
keyStore.load(fis, passW);
fis.close();
}else {
System.out.println("New KeyStore ("+fileKeyStore+") ...");
keyStore.load(null, passW);
}catch (Exception e)
System.out.println("Cannot load keystore");
}//end constructorit's ok, i found my stupid mistake in another part of the program!!
-
Problem in Creating Certificate in java
Dear all
I have problem in creating certificate using the java lang
I created the keystore as shown in my code:
but i still hasing problem with the code as u can see in the pics...
Please help me to create my digitale certificate because i have to verifying it later... and i am still having no idea how i am going to verify the certificate.....
Thanks in advance..
Mariah
Message was edited by:
screen83i am sorry the picture can't be displayed
anywhy, this the the code:
1KeyStore ks = KeyStore.getInstance("JKS");
2 char[] password = getPassword();
3 java.io.FileInputStream fis =
4 new java.io.FileInputStream("keyStoreName");
5 ks.load(fis, password);
6 fis.close();
7 // get my private key
8 KeyStore.PrivateKeyEntry pkEntry = (KeyStore.PrivateKeyEntry)
9 ks.getEntry("privateKeyAlias", password);
10 PrivateKey myPrivateKey = pkEntry.getPrivateKey();
11
12 // save my secret key
13 javax.crypto.SecretKey mySecretKey;
14 KeyStore.SecretKeyEntry skEntry =
15 new KeyStore.SecretKeyEntry(mySecretKey);
16 ks.setEntry("secretKeyAlias", skEntry, password);
17
18 // store away the keystore
19 java.io.FileOutputStream fos =
20 new java.io.FileOutputStream("newKeyStoreName");
21 ks.store(fos, password);
22 fos.close();
and I have error at line 2 when I am calling rhe method getPassword();
and at line 9 when calling the method getEntry()
and at line 16 when calling the mthod setEntry
Thanks
Mariah
Message was edited by:
screen83 -
I am having problems with creating my apple id. On the phone it is advising me that the ID is not created and then when i do it online it says that it has been created. Can you advise me on what to do please?
Apple ID FAQ http://support.apple.com/kb/HE37
-
Facing some problems in creating a custom tabs in CRMD_ORDER Transaction
Hi Friends,
I am facing some problems in creating a custom tabs in CRMD_ORDER Transaction code in Solution Manager of SAP.
Actually my requirement is adding of two tabs(one is header & another is item tab) in the above Transaction, i was able to put one tab i.e header tab but i was not able to keep item tab. i found a badi CRM_CUSTOMER_I_BADI in which documentation was given & i processed in the same way.
For information i used the Badi CRM_CUSTOMER_H_BADI for header tab which i was able to add the tab & all functions like change, save working Good.
But i want how to add custom tab in which item details were to be attached.
i was done with the necessary SPRO settings(or Tcode CRMV_SSV) & able to see the 2 tabs thats it, but the functionality save is not working for the second tab & not saving in table CRMD_CUSTOMER_I (in this table there is one CI include where we added our item fields).
And also i had a doubt whether to use ALV or Table Control. And if possible can any one can sent me the screen design & the code for the above requirement in detail.
can any one who have knoweldge in Solution Manager & in the above Badi implementation can give me a right solution which will help me a lot.
Thanks a lot in advance.
Thanks
Ravi.
can any one give the solution regarding to the above one.
Edited by: ravikanth on Jul 23, 2008 8:13 AMHello Priyanka,
I have the same problem by using Service Ticket in SAP CRM 5.0.
Did you already solved this issue? If so, can you please provide the solution!?
How can I activate and check the transfer log?
Thanks and regards
Alex -
Dll Created In: - MFC VC
6.0
Application Exe Developed In:
- VC 6.0, C# and VB.net (Applications which are using dll)
OS: - Windows XP sp2 32bit
/ Windows Server 2008 64 bit
Problem: - Facing problem in creating socket
in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
Description: - We have product component which
has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting Error
code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
Already Attempt: - Because error is coming on
client side so what we did, we created a driver in C# which invokes same method from same environment(on client machine) using same dll and we are astonished because it worked fine there.
Kindly Suggest: -
We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not working,
actually it is not executing Create () method,
I will give snippet of the code for understanding the problem because we are not finding any kind solution for it.
Kindly assist us in understanding and fixing this problem.
Code Snippet: -
Int Initialize (LPTSTR SiteAddress, short PortId)
try
CClientTSSocket *m_pJtsSockto;
m_pJtsSockto = new CClientTSSocket;
LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
catch(...)
DWORD errorCode = GetLastError();
CString errorMessage ;
errorMessage.Format("%lu",errorCode);
ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
return IS_ERR_WINDOWS;
Note: -
CClientTSSocket extends CAsyncSocket
IS_ERR_WINDOWS is a macro error code which value I found 7.
LONG ConnectTS(CString strIP, UINT n_Port)
ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
if(!Create())
ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
n_Err = GetLastError();
ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
return NET_INIT;
ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
if(!AsyncSelect(0))
n_Err = GetLastError();
return NET_INIT;
if(!Connect(strIP,n_Port))
n_Err = GetLastError();
ErrorLog(n_Err,0,"ConnectTS","");
return SERVER_NOT_CONNECTED;
Code description: -
From
int GETImage_MT() method we call Initialize() method and pass client machine IP and Port and there we call
ConnectTS() method, In this method we Create() method and finally it returns the error code as mention in macro 7.
Logs after running the program: -
--------ConnectTS has been called ------------
ConnectTS is calling Create [is going to call]
Image System
0
Note: - According to logs, problem is coming in Create method().
Here 0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll
from different exe, it is working fine and we are facing any kind of problem. While same problem application was working properly earlier but now continuously it showing problem.
Kindly assist us to resolve the issue.Pointer variable was already initialized; I have mention in code; kindly assist us.
Dll Created In: - MFC VC 6.0
Application Exe Developed In: - VC 6.0, C# and VB.net (Applications which are using dll)
OS: - Windows XP sp2 32bit / Windows Server 2008 64 bit
Problem: - Facing problem in creating socket
in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
Description: - We have product component
which has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting
Error code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
Already Attempt: - Because error is coming
on client side so what we did, we created a driver in C# which invokes same method from same environment (on client machine) using same dll and we are astonished because it worked fine there.
Kindly Suggest:
- We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not
working, actually it is not executing Create () method, I will give snippet of the code for understanding
the problem because we are not finding any kind solution for it. Kindly assist us in understanding and fixing this problem.
Code Snippet: -
Int Initialize (LPTSTR SiteAddress, short PortId)
try
CClientTSSocket *m_pJtsSockto;
m_pJtsSockto = new CClientTSSocket;
LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
catch(...)
DWORD errorCode = GetLastError();
CString errorMessage ;
errorMessage.Format("%lu",errorCode);
ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
return IS_ERR_WINDOWS;
Note: - CClientTSSocket extends CAsyncSocket
IS_ERR_WINDOWS is a macro error code which value I found 7.
LONG ConnectTS(CString strIP, UINT n_Port)
ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
if(!Create())
ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
n_Err = GetLastError();
ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
return NET_INIT;
ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
if(!AsyncSelect(0))
n_Err = GetLastError();
return NET_INIT;
if(!Connect(strIP,n_Port))
n_Err = GetLastError();
ErrorLog(n_Err,0,"ConnectTS","");
return SERVER_NOT_CONNECTED;
Code description: - From int GETImage_MT() method
we call Initialize() method and pass client machine IP and Port and there we call ConnectTS() method, In
this method we Create() method and finally it returns the error code as mention in macro 7.
Logs after running the program: -
--------ConnectTS has been called ------------
ConnectTS is calling Create [is going to call]
Image System 0
Note: - According to logs, problem is coming in Create method(). Here
0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll from different exe, it is working fine and we are facing any kind of problem.
While same problem application was working properly earlier but now continuously it showing problem.
Kindly assist us to resolve the issue. -
Problem in creating a WebService
hi ... i am having a problem in creating a web service using netbeans .. i am using net beans 6 and glass fish v2 ... when i run the clinet appllication an exception comes that is
javax.xml.ws.WebServiceException: Provider com.sun.xml.ws.spi.ProviderImpl not found
but i have followed right steps ... why this exception is coming ..? plz help.....Hi
please try recreating the EJB , just check whether the home and remote interfaces and the business methods in the home and bean classes are defined properly .Also check whether the ejb editor is showing all the business methods
hope this helps ,please do ot forget to reward points
regards
rajeshkr -
Problem in creating a JDBC System on VC7.1 portal ( CE7.1 SP3)
I have a problem in creating a JDBC System on VC7.1 portal (CE7.1 SP3)
I get the following error:
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the back-end application using the connector defined in this system object
Results
Default alias retrieved successfully
Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
Could you please let me know if there are any guides on SAP Library; I was not able to find any documentation nor any threads discussing this on VC7.1
Although, I saw this thread Can Visual Composer talk to/connect to any Database?..
which says that VC7.1 can connect to SAP backend
and web services only, and there is no direct connection to the db.
Help needed please.Hi Dharmi
Here is a quote of Dafna's post in [another thread in this forum|Re: Copy VC controls]
CE7.1.1 will be released at September 2008 for ramp-up customers.
There are many improvements and new capabilities in the new release of Visual Composer for CE7.1.1. Among the new features you can find:
The missing features from Visual Composer 7.0 (Html view, portal Eventing support (EPCM), JDBC, Undo/Redo, and more..)
Many layout & modeling improvements
Additional ALV table functionality - export to Excel, switch to chart, configure ALV behavior at design time
Integration of Visual Composer in Eclipse - additional entry point to the Visual Composer models from the NWDS. This integration provides the option to add a WD component (in case of missing functionality in Visual Composer), as a black box component to the Visual Composer model. Right-clicking the component will open the Web Dynpro perspective for creating/modifying the component.
Regards,
Shai -
Problem in creating a build.xml for weblogic portal application
Team ,
I am facing problem in creating the build.xml using weblogic.BuildXMLGEN tool .
a) Below is the structure of my portal application
SrcCode
--- .metadata (eclipse plugins folder)
--- B2BApp ( Ear Content)
--- b2bPortal ( portal related file(controllers,jsp)
--- b2bsrc (java src)
b) Now I executed below utility to generate the build.xml "
java weblogic.BuildXMLGen -projectName B2BApp -username weblogic -file build.xml -password welcome1 F:\srcCode"
c) Based on the above step , build.xml got generated .
d) when I execute "ant compile" target from the command prompt , I see the below exception
ant compile
Buildfile: build.xml
compile:
+[wlcompile] [JAM] Warning: failed to resolve class AbstractJspBacking+
+[wlcompile] [JAM] Error: unexpected exception thrown:+
+[wlcompile] com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\b2b\dmr\Picker\PickerController.java at line 58.+
e) I suspect , the problem is bcoz of classpath issues , as I generated build.xml donot have the references to dependent lib's.As build.xml looks like below :
+<target name="compile" description="Only compiles B2BApp application, no appc">+
+<wlcompile srcdir="${src.dir}" destdir="${dest.dir}">+
+<!-- These referenced libraries were not found -->+
+<!-- <library file="p13n-core-web-lib" /> -->+
+<!-- <library file="jersey-web-lib" /> -->+
+.....+
+....+
Please help me to reslove these issues .
PS: I able to deploy the application using 10.3.2 weblogic workshop ( i.e inbuilt eclipse )i JaySen ,
thanks for your response. As mentioned we added all the necessary library within the -librarydir but still we see the same error :
+[JAM] Error: unexpected exception thrown:+
com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\typeAhead\TypeAheadController.java at line 70. Most likely, an annotation is declared whose type has not been imported.
at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.getAnnotationTypeFor(JavadocTigerDelegateImpl_150.java:410)
at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:176)
at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:152)
at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.addAnnotations(JavadocClassBuilder.java:404)
at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.populate(JavadocClassBuilder.java:359)
===================
a) this is a upgrade project [ upgrading from wlp 8.1.4 to 10.3.2 ]
i.e we are using weblogic portal 10.3.2 version.
b) Searched some sites/forums regarding the above error, and it says something related to "jwsc" ant task [ i.e while compiling a webservice(JWS) ], but we see this error while compiling a normal controller(jpf) class :(
c) we are using "ant compile" target which internally calls wlcompile task , while executing wlcompile this error is thrown .
Help Appreciated
Thx,
Sarat -
Problem in creating table maintenance generator for 61 fields in table
Hi Experts,
I am facing problem in creating a table maintenance genarator for a ZTABLE which has 61 fields
i am using below details whicle creating the TMG
in Maintenance screen
i am giving maintenance type as two step
Maint screen no overview screen 2
single screen 3
Dialog Data Transport details
Recording routine standard recording routine
but it is giving following error
screen SAPL<ZTABLE NAME> 0003 could not be generated
In DYNPFIELD_ATTR mandatory field LINE has no value
please let me know how to sort out these errors.
Is there any limit on the number of fields for which we can create table maintenance generetor.
Thanks a lot in advance
SudiptoHi Sudipto,
There is not limit to the number of fields of the Table which can be used in TMG for generation. But, from the usability point of view this will horrible.
I created a Z table and added 64 fields and was able to generate the TMG with the screens perfectly. So, I guess there should not be any problem.
Well, have a look at the Function Group. I guess the screen numbers are already used by some other screens. You can set the system to propose freely available screen numbers from the pool.
Also, check whether proper authorization is assigned or not.
And if nothing is working, you can degenerate all the generated screens and then can have a new regeneration of it.
Hope these tips will work.
Thanks,
Samantak -
Problem in Creating Check boxes as a column in a table using MVC
I am trying to display a table format using the Model view controlers, with 1st column as a checkbox. if the user chooses some check boxes and submit the screen then i need to update the information in a custome table.
I am having a problem in creating the check boxes, also pls tell me how to catch the line items checked by the user in the table...
SriHI Srinivas
I am not getting what the exact problem is.....
I am giving you a work around.....to me it does not seems to be an Ideal Solution..But Probably it will solve your problem....
Changes To be Made in Page Layout...
In Pagelayout
<htmlb:tableView id = "tvX" width = "100%" visibleRowCount = "8" fillUpEmptyRows = "X" selectedRowIndexTable = "<%= selectedRowIndexTable %>"
<b>selectedrowindex = "<%= selectedrowindex %>"
onrowselection = "select"</b>
selectionMode = "MULTISELECT" table = "<%= sflight %>" />
<b>selectedindexrow is an attribute of type INT4</b>
In Do handle event.....instead of using the previous code use this one...
if event->id = 'SUBMIT'.
DATA: WA TYPE INT4.
LOOP AT SELECTEDROWINDEXTABLE INTO WA.
*Here you can read your table of TABLEVIEW with index *equal to WA into a workarea and then use that workarea *to update the customer table ENDLOOP.
elseif event->id = 'tvX'.
tv ?= CL_HTMLB_MANAGER=>GET_DATA( request = request name = 'tableView' id = 'tvX' ).
IF tv IS NOT INITIAL.
table_event = tv->data.
selectedRowIndex = table_event->SELECTEDROWINDEX.
append selectedrowindex into SELECTEDROWINDEXTABLE.
endif.
ENDIF.
Meanwhile..Let me check why that code does not work.....
Hope it solve your problem....
Cheers:)
Mithlesh -
I have a problem in creating a Process Chain(PC).
Hi GURU's
I have a problem in creating a Process Chain(PC). The PC should run on first 3 business days of the month for six times i,e 6am, 7am,8am, 9am,10am,11am.
For this i have created 3 PC like BD1, BD2, BD3, and i selected the Factory calender provided workday 1, 2 , 3 and time for three chains.
Now should i schedule it for 6times in a day.
I tried creating a new job for one of PC's but i have to change the timings for every month (this is not the proper solution).
Please help me.
Regds
LajwanthHi Friend,
For the days part, you can create a new factory calendar with first 3 business days of each month only as working days.
Then in the scheduling -> Restrictions; you can mention that Factory Calendar id and select radio button for "Move job to next working day". Schedule the chain as Periodic "Hourly".
Then for the Time part -> You can insert process type "Decision between multiple alternatives" after the start variant.
After you insert this process type you can create a formula in it to check for system time. In the if condition check for system time i.e., whether it is between 6 - 11. If only the system time is between 6 AM to 11 AM only then the decision step would turn to green and go to the successor step in the process chain.
Process chain would be like:
Start variant -> Decision Step -> Rest of the chain.
So in short the factory calendar will take care of which days the chain will run and decision step will take care of the timings.
Regards
Hemant Khemani -
Problem of creating workbook with permanent template?
Hi all,
Iam facing some problem while creating the workbook with permanent template.Let me expalin in detail.
I have created 3 queries (ex:Stock) and i have to insert these in one workbook with permanent template.I had selected the the permanent template option in settings also.iam able to insert the 3 queris and iam not getting the permanent tempalate.which is mandatory.
I tried saving the existing workbook with same tempalate and removed the query and tried to insert the queries but iam getting <b>abbort system error in program</b>
Pls help me out of this issue.
Thanks and regards,
RajeevHi Joe,
We've seen this error when using express VI's inside of template VI's which are loaded using VI server. Are you doing that? If yes, then take all the express VIs that are inside the template VI and turn them into static subVIs.
I don't know if it will help in your case, but let's try it.
Regards,
Luca
Regards,
Luca -
Problem: While creating a project in iDVD, it plays perfectly on the computer, but after burning the sound is off. Video soundtrack is not in the right place. HELP!
Have you checked out the topics at the right in the More Like This section?
OT -
Problem while Creating MVLOG with synonym in Oracle 9i:Is it an Oracle Bug?
Hi All,
I am facing a problem while Creating MVLOG with synonym in Oracle 9i but for 10G it is working fine. Is it an Oracle Bug? or i am missing something.
SQL> select * from v$version;
BANNER
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SQL>
SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
Table created.
SQL> create materialized view log on t;
Materialized view log created.
SQL> create public synonym syn_t for t;
Synonym created.
SQL> CREATE MATERIALIZED VIEW MV_t
2 REFRESH ON DEMAND
3 WITH PRIMARY KEY
4 AS
5 SELECT name,id
6 FROM syn_t;
Materialized view created.
SQL> CREATE MATERIALIZED VIEW LOG ON MV_t
2 WITH PRIMARY KEY
3 (name)
4 INCLUDING NEW VALUES;
Materialized view log created.
SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
PL/SQL Release 9.2.0.6.0 - Production
CORE 9.2.0.6.0 Production
TNS for Solaris: Version 9.2.0.6.0 - Production
NLSRTL Version 9.2.0.6.0 - Production
SQL>
SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
Table created.
SQL> create materialized view log on t;
Materialized view log created.
SQL> create public synonym syn_t for t;
Synonym created.
SQL> CREATE MATERIALIZED VIEW MV_t
REFRESH ON DEMAND
WITH PRIMARY KEY
AS
2 3 4 5 SELECT name,id
FROM syn_t; 6
Materialized view created.
SQL> CREATE MATERIALIZED VIEW LOG ON MV_t
WITH PRIMARY KEY
(name)
INCLUDING NEW VALUES; 2 3 4
CREATE MATERIALIZED VIEW LOG ON MV_t
ERROR at line 1:
ORA-12014: table 'MV_T' does not contain a primary key constraintRegards
Message was edited by:
Avinash Tripathi
nullHi Nicloei,
Thanks for the reply. Actually i don't want any work around (Creating MVLOG on table rather than synonym is fine with me) . I just wanted to know it is actually an oracle bug or something else.
Regards
Avinash
Maybe you are looking for
-
Can't send more than 1 photo from iPhoto to Mail since upgraded to Leopard
Hi there, I'm using an older version of iPhoto (4.0.3). We recently upgraded to Leopard, and ever since then, we haven't been able to use the Email icon in iPhoto to attach photos in Mail. It prepares to send all the photos, but only attaches one to
-
Lost internet connection while restoring iphone 4S from backup after iOS 6
Hi everyone.. I have just updated my iPhone 4S to iOS6 yesterday. It was iOS5.1.1 and was in jailbreak mode before the update. I did sync my iphone and did the 'Backup' as well before the update by using my latest iTunes via my laptop. The iOS6 updat
-
How to set date field in custom form to default to {NOW} plus one year.
I am developing a subscription site. I have the custom form for inputing a users information. I have the subscribe date set up as a default field of {NOW} that works great. Now I need the renewal field to default to exactly one year from the subscrib
-
Removal of namespace in xslt - Urgent pls
All, version: 11.1.1.3. My incoming xml doc comes like this (sample one) into BPEL with namespace ns1 +*<?xml version="1.0" encoding="UTF-8" ?>*+ +*<ns1:OrderRequestHeader>*+ +*<ns1:ShipTo>*+ +*<ns1:Name xml:lang="en-US">P1- Atlanta</ns1:Name>*+ +*</
-
Why does latest version of Adobe flash player starts multiple copies
When I go to a page that uses adobe flash player Firefox freezes. When I open up task manager there are up to 10 copies of flash player running and I have to close them manually. What is going on?