Problem in creating 1 image using differnt images
Dear Fellows I want to create an image by using different images in byte array format. Images may be transparent or normal images. I want final result in byte array. I am using the following technique which is working fine but the problem with this technique is that it takes too much time to create an image. This is because I am using MediaTraker. If I delete the code of MediaTracker then program have undeterministic behavior i.e, sometimes it create the final image properly and sometimes nothing is displayed in final image.
I need some help from you. If anyone of you know the technique to draw image using different images without using mediaTracker kindly let me know.
Early replies will be appreciated
// here is the sample code which i m using for creating image
byte[] backgroundImage= // read 800 X 600 image from disk and convert it in to byte array
byte[] image1 = // read 200 X 200 image from disk and convert it in to byte array
byte[] transparentImage // read 300 X 300 transparent image from disk and convert it in to byte array
Image img=null;
Frame frame =new Frame();
frame.addNotify();
//creating BufferedImage object to store Final image
BufferedImage requiredImage= new BufferedImage(800,600,BufferedImage.SCALE_SMOOTH);
//get Graphics of BufferedImage created above
Graphics2D g=(Graphics2D) requiredImage.getGraphics();
///// begin draw back ground image
img=Toolkit.getDefaultToolkit().createImage(backgroundImage);
try
MediaTracker mt = new MediaTracker(frame);
mt.addImage(img, 0); // adds image with ID 0
mt.waitForID(0);
}catch(Exception myex)
myex.printStackTrace();
//draw background starting from x=0, y=0 with 800 X 600 dimentions
g.drawImage(img,0,0,800,600,null);
////////// end draw background image
////////// begin draw image1
img=Toolkit.getDefaultToolkit().createImage(image1);
try
MediaTracker mt = new MediaTracker(frame);
mt.addImage(img, 0); // adds image with ID 0
mt.waitForID(0);
}catch(Exception myex)
myex.printStackTrace();
//draw image1 starting from x=10, y=10 with 200 X 200 dimentions
g.drawImage(img,10,10,200,200,null);
//////////// end draw image1
//////begin transparentImage
img=Toolkit.getDefaultToolkit().createImage(backData);
try
MediaTracker mt = new MediaTracker(frame);
mt.addImage(img, 0); // adds image with ID 0
mt.waitForID(0);
}catch(Exception myex)
myex.printStackTrace();
//draw transparentImage starting from x=400, y=0 with 300 X 300 dimentions
g.drawImage(img,400,0,300,300,null);
///end draw transparent image
byte []finalResult = //convert requiredImage into byte array;
you can mail me the solution on my email address [email protected]
thanks with best regards
and waiting for someone to reply
kamran zameer
is there anyone on this forum to help me??????
regards,
kamran zameer
Similar Messages
-
Problem while creating PO using BAPI_PO_CREATE1
HAI TO ALL
I AM TRYING TO CREATE PO USING BAPI
ORDER IS SUCCESFULLY GENERATED, BUT THE CONDITIONS WHATEVER I PASS IS ARE REPEATING ,
EVEN WE CONFIGURED DEFAULT VALUES MAINTAINED IN TRANSCTION 'OMFI" AND MAINTAINED Default Values for Purchasing FOR PARAMETER IN PARAMETER TAB IN USER PROFILE,
HELP ME...
REGARDS,
SNHi Sid.
I'm having this same problems on creating PO Service. Did you solve it? How did you do that?
I'm using a PR and the Category is 'Y', and I cant find where is the problem.
The tables that I'm passing to the BAPI_PO_CREATE1 are:
POITEM/ POITEMX
POACCOUNT/ POACCOUNTX
POSERVICES
POSRVACCESSVALUES
Please, if you have any idea, let me know!
Tks a lot!
Renata -
Problems when creating form using wizard
i use the data block wizard to create a form but one of my field, i use a radio button.in the layout editor, the radio button did not appear.how can i make it appear on my screen?
i have another problem.
how can i use the colunm of two tables when using data block wizard to create one data block?Hello Nicky,
You can place the "Signature Field" in the form and ask your users to sign the file before submitting it via email.
Regards,
Anoop -
Problems in creating dir using applet
hi
i'm getting various exceptions while creating a new directory
i know that an applet can not create dir directly because of some
security . But what if i want to create it using the applets only??
how to do it??
Thanx in advance
AshishTo answer your question I would need to know what stack trace comes back with.
I also need to know the set up.. Is the applet running on you personal machine and what operating system are you using.
Lee -
Problem while creating assets using BAPI
Use table enhancement BAPI_TE_ANLU
Diagnosis :The BAPIs for creating and changing assets currently support only those customer enhancements that relate to the user fields created using SAP enhancement AIST0002.
Can anybody give the appropriate solution why this error is coming while creating assets using BAPI.Looks like you are trying to transfer custom fields into the asset master data that were not added following the steps in enhancement AIST0002.
Using EXTENSIONIN parameter, you can transfer user fields from the asset master record. However, it is not possible to transfer fields that are updated in user-defined tables. Only user fields that were defined using SAP enhancement AIST0002 and are automatically updated in table ANLU can be udpated in this way. This means you have to use table extension BAPI_TE_ANLU.
Enhancement AIST0002 contains function module EXIT_SAPL1022_001 as a component in which user fields can be implemented.
The documentation ( BAPIPAREX) of the structure that forms the basis for this parameter contains additional information about using this parameter.
Please check how table ANLU has been enhanced and also go through the documentation of enhancement AIST0002.
Regards,
Shyam -
Problem in Creating Table using DB Config. Assistant
Hi, everybody. I see the error messages below when I use DB Configuration Assitant in Oracle 8i to create my database :-
ORA-01034 : Oracle not available
ORA-27146 : post/wait initializtion failed
ORA-01012 : not logged on
Can u tell me how to solve this problem ?Connect as servermanager and enter on the prompt
"lsnrctl status" it will give you whether you have started the listener service and after that connect as internal and "startup" if the database is started it will give message "database instance already started" or else it will start the database.
also make sure you have created all control files properly
Nadeem -
Problem in creating DataServer using SQL2008 connection status is ERROR
HI All
I am fairly new in SAP MII , and i have been trying to create new data server using MSSQL2008 which is on my laptop(local) and i access MII in web based form. the sap MII version is 12.1.5(Build99)
this what i did
1.I have deployed JDBC 3.0 driver on system management on SAP MII
2.When creating the Data server I have done the following check below (screen dump)
Connector IDBC
ConnectorID
ConnectorType SQL
DatePrefix '
DateSuffix '
DaysRetention 7
Description mii
Enabled T
InitCommand
InternalDateFormat yyyy-MM-dd HH:mm:ss
JDBCDriver com.microsoft.sqlserver.jdbc.SQLServerDriver
MaxRetryCount 5
Name tigo2
PoolMax 100
PoolSize 1
RetryInterval 60000
ServerPackage com.sap.xmii.Illuminator.connectors.IDBC
ServerURL jdbc:sqlserver://localhost:1433;databaseName=MII
Timeout 15
UseCount 256
UserName sa
ValidationQuery SELECT GETDATE()
WaitTime 30
3. I checked the connection of my server in Management studio which works fine
checked the port , which is fine and the firewall exception changed it to except SQL SERVER PORT 1433
but i still get the connection status error: tried locating the logviewer to see what the problem is cant retrieve anything
Kindly guide me in the right path for im runnin out of ideas. I installed the JDBC driver on the laptop and made CLASSPATH to point to that folder STILL no luck.
and with regards to viewing the LOGviewer I truely have no IDea how to do that , I have tried to check on the forum nothing helped.
Edited by: Tigomezge on Jun 21, 2011 3:19 PMTigo,
You can try this,
Install SQL Server Management Studio on MII server (where MII is installed, should already have one if you have installed NW on SQL DB, if not, install one) and then try to access DB installed on your laptop from there using the IP address (not local host).
If it works fine then atleast one thing can be confirmed that your DB is accessible outside of your laptop (means no TCP/IP or port or firewall issues).
Also, When you unzip the Driver exe file (i mean install), usually you will find 2 jar files,
1) sqljdbc.jar
2) sqljdbc4.jar
Use of these jar files purely depends on the Java installed on the system. refer to this link on more details:
[Choosing Right JAR File|http://msdn.microsoft.com/en-us/library/ms378422.aspx]
Let us know how it goes
Regards,
Adarsh
Edited by: Adarsh Sidnoor on Jun 22, 2011 7:37 PM -
Problem while Creating BOM using LSMW Direct Input
Hi all ,
I am trying to create the BOM Using LSMW Direct Input Method .
I am getting problem at step 9 that is Read Data.
It is able to read the values from header and item files .
but it is not able to write , so the Written is 0 always .
I put the field names first in the flat file and correcponding values below it with tab delimited.
Please let me know where the Problem would be.... I am trying this from long time ..
Regards ,
Rajhi ,
Yes i am specify files i am attaching 2 files .
ones is header and the other is line item data .
my strucure is :
Hi ,
I am still getting problem while for writing the records after reading the data .....
my header structure :
STYPE
MATNR
WERKS
SELAL
STLAN
DATUV
ZTEXT
my item structure :
STYPE
MATNR
WERKS
SELAL
POSTP
MENGE
my header data :
STYPE MATNR WERKS SELAL STLAN DATUV ZTEXT
1 388 0110 20 1 06.01.2009 SAMPLE ZTEXT
my item data :
STYPE MATNR1 WERKS SELAL POSTP MENGE
1 388 0110 20 N 1234
1 382 0110 20 N 12345
Above text files are delimited by tabulator.
Please guide me . The files are reading but unable to write .....
Regards,
Raj -
Problem while creating queries using SQVI
Guys,
I have many diff versions of sap's. 4.6c, 4.7, 4.7uc, 5.0, 5.0uc and so on......
I have to few queries in 4.7 in SQVI, i have to make it in sync in all the othr servers.
I have created all of them in all servers, but while creating in 4.6c, when i am using option "table Join" while creating query in SQVI, the system doesnt take me to next screen.
What could be the problem. Its going to next screen when i use option "table" but not when i use "table joins".
Can v transport these queries ( i mean SQVI queries, not those in sq01 ).
Helppp..................used table view
-
Problem to create shipment using idoc
Hi,
I am having a problem on EDI-IDOCS to create inbound shipment.
I am using the message type SHIPPL.
IDOC - TPSSHT01
Process code-SHIP.
And I am using the function module IDOC_INPUT_SHIPPL to process the idoc.
After processing the idoc i am getting the error message - shipment has not saved( 51).
Also i am getting the error message - Transportation planning point has no partner for transportatn. plan.
I couldnt figure out what the error would be.
If possible can you please help me regarding this problem.
Thanks in advance.Hi Goutham,
This is an error due to either the data or missing config. This error message is issued when the system cannot find an entry in table TTDS. Check your data and the config and make correction accordingly.
In config it is under
Logistics Execution> Transportation> Interfaces> External Trabnsportation Planning Systems> Maintain Transportation Planning Point for External Systems
or if you don't have external planning system, you will find the corresponding config under
Enterprise Structure> Logistics Execution> Maintain Transportation Planning Point.
Your message is more related to external transportation planning point which is in the first config option above.
If you don't have external transportatio planning, then your choice of the EDI components is wrong. Look in the code of this function module where this message is generated, you will understand.
Srinivas -
How to save image using an image object in servlet on web server
I'll be very thankful to anyone who helps me in this matter.
i developed an applet which draws on a buffered image.
now i want to save this buffered image as a jpg image on the web server.
i know i have to use servlets or jsp for this.
but i want to use servlet for specific reasons.
can anyone plz provide me the code for taking an image object from an applet and saving it thru servlet.
i need this solution as soon as possible.
thanks in advance.Take a look around for URLConnection, and Applet to Servlet communication (also check the [url http://forum.java.sun.com/forum.jsp?forum=33]Servlet forum).
Basic concepts will be to open a URLConnection to the URL mapped on your server for the servlet, then send the image, byte by byte, to the servlet, then ask for a reply from the servlet.
Once asked for a reply the servlet will need to take the image sent to it (hopefully via an HTTP post) and copy it to a location on disk. (You could have a parameter to the request that tells you want to name the file...)
As for the converting buffered image to JPEG, I haven't done this before, but I know others have. You can look around (more likely to find it in the [url http://forum.java.sun.com/forum.jsp?forum=31]Java Programing[ul] forum) for the code needed. -
Problems in creating Invoice using BAPI
Hello Friends,
I am using a BAPI BAPI_BILLINGDOC_CREATEMULTIPLE to create invoice from a sales order, but i am not able to change the payer value.
The payer is by default taken from Sales-Order, even if i change it in Payer value passed to BAPI.
Please suggest me a solution.
Sandeep.To answer your question I would need to know what stack trace comes back with.
I also need to know the set up.. Is the applet running on you personal machine and what operating system are you using.
Lee -
Problem in Creating Shipment using BAPI
Hi All,
I am using the bapi BAPI_SHIPMENT_CREATE for creating shipment for deliveries in my program.
When I schedule it in the background (i.e.SM37) the job gets cancelled when there is a dynamic credit block (Message type is E).
When I execute the program in the foreground i.e. using transaction SA38, the shipment gets created successfully.
It would be great if anyone suggest a way to overcome this issue.
Thanks.
Regards, Senthil G.hi,
Try thsi BAPi
BAPI_CUSTOMER_CREATE
Regards
Sandipan -
Problem in create gade using hr_garde_api.create_grade
Hi all ,
I try to create grade usin create garde api ,my grade key flexfied is 1 segment , this the code i use
DECLARE
v_grade_id NUMBER;
V_OBJECT_VERSION_NUMBER NUMBER;
V_grade_DEFINITION_ID NUMBER;
V_NAME VARCHAR2 (200);
BEGIN
V_grade_definition_id :=1;
V_NAME :='Test';
HR_GRADE_API.create_grade
(p_validate => false
,p_business_group_id =>81
,p_date_from => TO_DATE('01-JAN-1900')
,p_sequence =>1
,p_effective_date => TO_DATE('01-JAN-1900')
,p_date_to => null
,p_request_id => null
,p_program_application_id => null
,p_program_id => null
,p_program_update_date => null
,p_last_update_date => null
,p_last_updated_by => null
,p_last_update_login => null
,p_created_by => null
,p_creation_date => null
,P_ATTRIBUTE_CATEGORY => NULL
,P_ATTRIBUTE1 => NULL
,P_ATTRIBUTE2 => NULL
,P_ATTRIBUTE3 => NULL
,P_ATTRIBUTE4 => NULL
,P_ATTRIBUTE5 => NULL
,P_ATTRIBUTE6 => NULL
,P_ATTRIBUTE7 => NULL
,P_ATTRIBUTE8 => NULL
,P_ATTRIBUTE9 => NULL
,P_ATTRIBUTE10 => NULL
,P_ATTRIBUTE11 => NULL
,P_ATTRIBUTE12 => NULL
,P_ATTRIBUTE13 => NULL
,P_ATTRIBUTE14 => NULL
,P_ATTRIBUTE15 => NULL
,P_ATTRIBUTE16 => NULL
,P_ATTRIBUTE17 => NULL
,P_ATTRIBUTE18 => NULL
,P_ATTRIBUTE19 => NULL
,P_ATTRIBUTE20 => NULL
,P_INFORMATION_CATEGORY => NULL
,P_INFORMATION1 => NULL
,P_INFORMATION2 => NULL
,P_INFORMATION3 => NULL
,P_INFORMATION4 => NULL
,P_INFORMATION5 => NULL
,P_INFORMATION6 => NULL
,P_INFORMATION7 => NULL
,P_INFORMATION8 => NULL
,P_INFORMATION9 => NULL
,P_INFORMATION10 => NULL
,P_INFORMATION11 => NULL
,P_INFORMATION12 => NULL
,P_INFORMATION13 => NULL
,P_INFORMATION14 => NULL
,P_INFORMATION15 => NULL
,P_INFORMATION16 => NULL
,P_INFORMATION17 => NULL
,P_INFORMATION18 => NULL
,P_INFORMATION19 => NULL
,P_INFORMATION20 => NULL
,P_SEGMENT1 =>'Meduim Level'
,P_SEGMENT2 => NULL
,P_SEGMENT3 => NULL
,P_SEGMENT4 => NULL
,P_SEGMENT5 => NULL
,P_SEGMENT6 => NULL
,P_SEGMENT7 => NULL
,P_SEGMENT8 => NULL
,P_SEGMENT9 => NULL
,P_SEGMENT10 => NULL
,P_SEGMENT11 => NULL
,P_SEGMENT12 => NULL
,P_SEGMENT13 => NULL
,P_SEGMENT14 => NULL
,P_SEGMENT15 => NULL
,P_SEGMENT16 => NULL
,P_SEGMENT17 => NULL
,P_SEGMENT18 => NULL
,P_SEGMENT19 => NULL
,P_SEGMENT20 => NULL
,P_SEGMENT21 => NULL
,P_SEGMENT22 => NULL
,P_SEGMENT23 => NULL
,P_SEGMENT24 => NULL
,P_SEGMENT25 => NULL
,P_SEGMENT26 => NULL
,P_SEGMENT27 => NULL
,P_SEGMENT28 => NULL
,P_SEGMENT29 => NULL
,P_SEGMENT30 => NULL
,p_language_code => hr_api.userenv_lang
,p_concat_segments => NULL
,p_short_name => NULL
,p_grade_id => v_grade_id
,p_object_version_number =>v_object_version_number
,p_grade_definition_id =>V_grade_definition_id
,p_name =>v_name
COMMIT;
END;and this error appear to me
ORA-20001: HR_6153_ALL_PROCEDURE_FAIL: N, PROCEDURE, per_grd_shd.constraint_error, N, STEP, 10
ORA-06512: at "APPS.HR_GRADE_API", line 685
ORA-06512: at line 10Edited by: user12079979 on 25-May-2010 00:31Further, If you look into the code of the package procedure per_grd_shd.constraint_error, you would see that the error comes from the constraint violation PER_GRADES_FK2. This foreign key constraint is between the tables per_grades and per_grade_definitions. Thus most probably the error is because of the fact that you are trying to pass a value to the table per_grades which is not present in the table per_grade_definitions. Hence the error.
Hope it helps in understanding as well as resolving the error. -
Problem in create database use dbca in RAC
i setup a two-nodes RAC, and use dbca to create db
here is the output of dbca
[oracle@rac1 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp
Copying database files
1% complete
3% complete
9% complete
15% complete
21% complete
27% complete
30% complete
Creating and starting Oracle instance
32% complete
36% complete
40% complete
44% complete
45% complete
48% complete
50% complete
Creating cluster database views
52% complete
70% complete
Completing Database Creation
73% complete
76% complete
79% complete
80% complete
81% complete
90% complete
99% complete
100% complete
Look at the log file "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb/mydb.log" for further details.
and here is the log output:
Failed to retrieve network listener resources required for the Real Application Clusters high
availability extensions configurations on the following nodes: [rac1, rac2].
Do you want listeners on port 1521 with prefix LISTENER to be created on nodes [rac1, rac2]
automatically? If you would like to configure the listener with different properties, run NetCA
before continuing.
PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [CRS-0215: Could not start
resource 'ora.rac1.ASM1.asm'.]
PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [CRS-0215: Could not start
resource 'ora.rac2.ASM2.asm'.]
Could not mount the diskgroup on node: rac2. The ASM instance on node rac2 is not started.
Could not mount the diskgroup on node: rac2. The ASM instance on node rac2 is not started.
Copying database files
DBCA_PROGRESS : 1%
DBCA_PROGRESS : 3%
DBCA_PROGRESS : 9%
DBCA_PROGRESS : 15%
DBCA_PROGRESS : 21%
DBCA_PROGRESS : 27%
DBCA_PROGRESS : 30%
Creating and starting Oracle instance
DBCA_PROGRESS : 32%
DBCA_PROGRESS : 36%
DBCA_PROGRESS : 40%
DBCA_PROGRESS : 44%
DBCA_PROGRESS : 45%
DBCA_PROGRESS : 48%
DBCA_PROGRESS : 50%
Creating cluster database views
DBCA_PROGRESS : 52%
DBCA_PROGRESS : 70%
Completing Database Creation
Failed to start listeners on nodes "[rac1, rac2]" of cluster database "mydb", "CRS-1028: Dependency
analysis failed because of:
CRS-0223: Resource 'ora.rac2.LISTENER_RAC2.lsnr' has placement error.".
DBCA_PROGRESS : 73%
DBCA_PROGRESS : 76%
DBCA_PROGRESS : 79%
ORA-01078: failure in processing system parameters
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+ORADG/mydb/spfilemydb.ora'
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15056: additional error message
ORA-17503: ksfdopn:DGOpenFile05 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15173: entry 'spfilemydb.ora' does not exist in directory 'mydb'
ORA-06512: at line 4
ORA-01034: ORACLE not available
DBCA_PROGRESS : 80%
ORA-01034: ORACLE not available
ORA-01034: ORACLE not available
ORA-01034: ORACLE not available
DBCA_PROGRESS : 81%
ORA-01034: ORACLE not available
DBCA_PROGRESS : 90%
Enterprise manager configuration failed due to the following error -
Invalid username/password.
Refer to the log file at /opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb/emConfig.log for more
details.
You can retry configuring this database with Enterprise Manager later by manually running
/opt/ora/product/10.2.0/db_1/bin/emca script.
DBCA_PROGRESS : 99%
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
PRKP-1001 : Error starting instance mydb1 on node rac1
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.mydb.mydb1.inst' has placement error.
PRKP-1001 : Error starting instance mydb2 on node rac2
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.mydb.mydb2.inst' has placement error.
DBCA_PROGRESS : 100%
Database creation complete. Check the logfiles at
/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb for details.
Database Information:
Global Database Name:mydb
System Identifier(SID) Prefix:mydb
it should be run netca before running dbca?this time i run netca first,and then run dbca to configure the ASM,after that i run dbca to create database
listener and asm instance is online,but when i create DB ,still have error
Copying database files
DBCA_PROGRESS : 1%
DBCA_PROGRESS : 3%
DBCA_PROGRESS : 9%
DBCA_PROGRESS : 15%
DBCA_PROGRESS : 21%
DBCA_PROGRESS : 27%
DBCA_PROGRESS : 30%
Creating and starting Oracle instance
DBCA_PROGRESS : 32%
DBCA_PROGRESS : 36%
DBCA_PROGRESS : 40%
DBCA_PROGRESS : 44%
DBCA_PROGRESS : 45%
DBCA_PROGRESS : 48%
DBCA_PROGRESS : 50%
Creating cluster database views
DBCA_PROGRESS : 52%
DBCA_PROGRESS : 70%
Completing Database Creation
DBCA_PROGRESS : 73%
DBCA_PROGRESS : 76%
DBCA_PROGRESS : 79%
ORA-01078: failure in processing system parameters
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+ORADG/mydb/spfilemydb.ora'
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15056: additional error message
ORA-17503: ksfdopn:DGOpenFile05 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15173: entry 'spfilemydb.ora' does not exist in directory 'mydb'
ORA-06512: at line 4
ORA-01034: ORACLE not available
DBCA_PROGRESS : 80%
ORA-01034: ORACLE not available
ORA-01034: ORACLE not available
DBCA_PROGRESS : 89%
DBCA_PROGRESS : 98%
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
PRKP-1001 : Error starting instance mydb1 on node rac1
CRS-0215: Could not start resource 'ora.mydb.mydb1.inst'.
PRKP-1001 : Error starting instance mydb2 on node rac2
CRS-0215: Could not start resource 'ora.mydb.mydb2.inst'.
DBCA_PROGRESS : 100%
following info from my template file
<MiscParams>
<databaseType>MULTIPURPOSE</databaseType>
<maxUserConn>20</maxUserConn>
<percentageMemTOSGA>40</percentageMemTOSGA>
<customSGA>false</customSGA>
<archiveLogMode>false</archiveLogMode>
<initParamFileName>+ORADG/admin/{DB_UNIQUE_NAME}/pfile/init.ora</initParamFileName>
</MiscParams>
<SPfile useSPFile="true">{ORACLE_HOME}/dbs/spfile{SID}.ora</SPfile>
</InitParamAttributes>
and dbca create +ORADG in /home/oracle dir (why??)
[oracle@rac1 ~]$ ls +ORADG/admin/mydb/pfile/init.ora.6132011173958
+ORADG/admin/mydb/pfile/init.ora.6132011173958
Edited by: 859340 on 2011-7-12 下午7:25
Maybe you are looking for
-
Reading .txt file Server side
How do you read a file server side and send it to the client. I am getting confused with FileReader and the fact that you have to wrap a socket with PrintWriter, BufferedWriter and OutputStreamWriter i.e. BufferedReader in = new BufferedReader(new In
-
How to block status profile in Network Activity
Dear All, Is there any way to block status profile in network activity? Is it possible block base on network type / network profile? Cheers, Nies
-
I only wanna to have a FM Tuner in a new Fifth Generation iPod. If any one wanna to have this feature then please tell others and apple to insert FM Tuner. It will definitely increase the sales in at least India where many people are fond of FM. Plea
-
KSTDUMP: End of in-memory trace dump ORA-00704: 引导程序进程失败 ORA-00704: 引导程序进程失败 ORA-00600: 内部错误代码,参数: [4000], [14], [], [], [], [], [], [] 数据库无法启动,启动时提示:ORA-01092: ORACLE 例程终止.强行断开连接
-
Printer software question..
Was just wondering if anyone can recommend a brand of all-in-one printer that does not require the installing of mass amounts of manufacturer software. I had an HP all in one that required the installation of HP software (photozone, memory maker, sca