Urgent Help~~ some error
The code is like that
System.out.println("3. Average CGA per teacher:");
for (int i=0;i<a.length;i++)
Person s = (Person) a;
String id="";
if (s instanceof Teacher)
System.out.print("\t"+s.fname +" "+ s.lname +":");
id = (((Teacher)s).gettid()) ;
double average=0.0;
int count=0;
for (int q=0;q<a.length;q++)
Person w = (Person) a[q];
if (w instanceof Student)
if (((Student)w).getsup().equals(id))
average = ((Student)w).getca() + average;
count ++;
System.out.print("\t"+roundTo2DecimalPlaces(average/count)+ "\n");
the output is
3. Average CGA per teacher:
HoiHa Chan: 2.80
SiFu Hong: 3.07
James So: 3.17
WingYip Wong: 3.65
that's funny, why like that?
Call me dense but, I don't get it - why is that funny?
Similar Messages
-
Urgent Help! Errors in source system(RSM 340)
Need urgent help. Issue in production.
I added fields to the COPA datasource, by changing the operating concern. I recreated the datasource with the same name replicated into BW & ran delta again. The whole procedure worked fine in Dev & Quality but in production it gives me the below error. I thought its a delta issue so I deleted the data & try reload but still same issue. Below is the error. I checked the connection with R3. its an ok. All other loads work fine. Before deleting delta, it gives below error & when you rerun, it finishes with zero records. I also tried activating update, transfer & ods & cube in BW. I also asked functional guy to check operating concern & its active. kindly help
Errors in source system RSM 340
Error message from the source system
Diagnosis
An error occurred in the source system.
System Response
Caller 09 contains an error message.Hi PK,
caller 09 error mainly because of source(target system) and destination(bw system) not configured correctly.
i think you get the error message as follows. file is in the client workstation as like.
better you contact basis people. they will resolve this.
hope this help you
Regards
Harikrishna N -
Need urgent help to "error 5". Found a solution, but looking for a savior.
Hey guys.
I'm really a fish out of water here. But I'm in great need of some help. But I really don't know if this is he place to get it (maybe you can point me in the right direction?).
Case:
I have a very important InDesign-file (CS5) that's been toasted. I'm getting the notorious (and rare) "error 5"-message. The file can't open no matter what I do. I've figured out that this error could be because I've been copy pasting big images into the ID-document instead of using Place (silly me). I didn't make a backup (stupid me).
I've heard that Markzware have made an extension program for Quark Express 8 (which i have just downloaded in trial) called ID2Q that makes Quark open ID-files. Even files that have the error 5. My problem is now this: There's no trial version availible of ID2Q and since I'm a student with empty pockets I can't afford to by the software for the aprox. 200$.
Therefor I'm looking for someone that might have the software lying around and would be willing to get my file (I've put it up on a ftp-server) change it into a quark-file and return to me. I should then be able to open it in ID and save it again as .indd - at least that's what i read around the web is my ONLY solution.
Looong post, I know. Sorry. Do ANY of you where to get this kind of help?
Thanx.
Roald from BarcelonaAnyone offering that would be in violation of the EULA.
Your best bet is contact Markzware to see what they can arrange for you.
Bob -
Very urgent help needed- Error while passing XML document to Oracle stored
Hi !
I have been struggling a lot to call Oracle 9i stored procedure passing Stringbuilder object type from ASP.NET
I am using Visual Studio 2008 Professional, OS: Windows XP and Oracle: 9.2.0.1.0
Following is the procedure:
CREATE or REPLACE PROCEDURE loadCompanyInfo (clobxml IN clob) IS
-- Declare a CLOB variable
ciXML clob;
BEGIN
-- Store the Purchase Order XML in the CLOB variable
ciXML := clobxml;
-- Insert the Purchase Order XML into an XMLType column
INSERT INTO companyinfotbl (companyinfo) VALUES (XMLTYPE(ciXML));
commit;
--Handle the exceptions
EXCEPTION
WHEN OTHERS THEN
raise_application_error(-20101, 'Exception occurred in loadCompanyInfo procedure :'||SQLERRM);
END loadCompanyInfo ;
And following is the ASP.net code:
StringBuilder b = new StringBuilder();
b.Append("<?xml version=\"1.0\" encoding=\"utf-8\" ?>");
b.Append("<item>");
b.Append("<price>500</price>");
b.Append("<description>some item</description>");
b.Append("<quantity>5</quantity>");
b.Append("</item>");
//Here you'll have the Xml as a string
string myXmlString1 = b.ToString();
//string result;
using (OracleConnection objConn = new OracleConnection("Data Source=testdb; User ID=testuser; Password=pwd1"))
OracleCommand objCmd = new OracleCommand();
objCmd.Connection = objConn;
objCmd.CommandText = "loadCompanyInfo";
objCmd.CommandType = CommandType.StoredProcedure;
//OracleParameter pmyXmlString1 = new OracleParameter("pmyXmlString1", new OracleString(myXmlString1));
objCmd.Parameters.Add("myXmlString1", OracleType.clob);
objCmd.Parameters.Add(myXmlString1).Direction = ParameterDirection.Input;
//objCmd.Parameters.Add("result", OracleType.VarChar).Direction = ParameterDirection.Output;
try
objConn.Open();
objCmd.ExecuteNonQuery();
catch (Exception ex)
Label1.Text = "Exception: {0}" + ex.ToString();
objConn.Close();
When I am trying to execute it, I am getting the following error:
Exception: {0}System.Data.OracleClient.OracleException: ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'LOADCOMPANYINFO' ORA-06550: line 1, column 7: PL/SQL: Statement ignored at System.Data.OracleClient.OracleConnection.CheckError(OciErrorHandle errorHandle, Int32 rc) at System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, Boolean needRowid, OciRowidDescriptor& rowidDescriptor, ArrayList& resultParameterOrdinals) at System.Data.OracleClient.OracleCommand.ExecuteNonQueryInternal(Boolean needRowid, OciRowidDescriptor& rowidDescriptor) at System.Data.OracleClient.OracleCommand.ExecuteNonQuery() at Default.Button1Click(Object sender, EventArgs e)
I understand from this that the .net type is not the correct one, but I am not sure how to correct it. I could not find any proper example in any documentation that I came across. Most of the examples give information on how to read but not how to insert XML into Oracle table by calling Stored Procedure.
Can you please help me to solve this problem? I hope that you can help solve this.
Also, can you please give me an example of passing XML document XMLdocument to Oracle Stored procedure.
In both the cases, if you can provide the working code then it would be of great help.
Thanks,Hi ,
Additional to the Above error details my BPEL code looks like this:
<process name="BPELProcess1"
targetNamespace="http://xmlns.oracle.com/Application10/Project10/BPELProcess1"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:client="http://xmlns.oracle.com/Application10/Project10/BPELProcess1"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
<partnerLinks>
<partnerLink name="bpelprocess1_client" partnerLinkType="client:BPELProcess1" myRole="BPELProcess1Provider" partnerRole="BPELProcess1Requester"/>
</partnerLinks>
<variables>
<variable name="inputVariable" messageType="client:BPELProcess1RequestMessage"/>
<variable name="outputVariable" messageType="client:BPELProcess1ResponseMessage"/>
</variables>
<sequence name="main">
<receive name="receiveInput" partnerLink="bpelprocess1_client" portType="client:BPELProcess1" operation="process" variable="inputVariable" createInstance="yes"/>
<invoke name="callbackClient" partnerLink="bpelprocess1_client" portType="client:BPELProcess1Callback" operation="processResponse" inputVariable="outputVariable"/>
</sequence>
</process>
Kindly help if anyone has faced this Issue before.
Regards,
Rakshitha -
Need urgent help with Error -200018
hi all,
I'm trying to generate analog signals using 8 channels of pxi 6733 (basically from this generation), and it works well (sample rate 1MHz, with 10000 samples per buffer).
At the same time, I want to fetch the generated analog signals using pxi 5105 (basically using niScope Stream to Disk Queues Win32 File IO_Basic.vi from here), and it runs with no problem. (sample rate 20MHz).
BUT, when I try to get them running together at the same time, I got the error -200018:
"A DAC conversion is started before the data to be converted were available.
Decrease the output frequency to increase the period between two DAC conversions, or reduce the size of the output buffer to the data faster (faster) to write.
When using an external clock, check whether the signal contains noise or voltage spikes."
And I couldn't find any helps for this error, I've tried to reduce the clock rate of pxi 5105, but doesnt help.
Any helps are much appreciated.
Regards,
Yan.Mystogan wrote:
1. I'm using non regenerative buffer.
2. I think I'm creating output using onboard buffer.
This contradicts. Non regenerative generation means that you have to refill the buffer in a required time frame (depending on buffer size and clock speed of generation). So if you generate a signal with 10kHz, you have to refill the buffer with 20kB/s. This is the load for the bus system.
Look into the specification of the PXIe1082. On page 1-7, you'll see the setup for the PXIe bus in the chassis and how it distributes to the different slots.
Taking your numbers into account, you have 1MHz generation (so 2MB/s) and 20MHz acquisition (40MB/s) as bus load. Adding some overhead, it is something which should be supported in the chassis in any combination of used slots (since all slots do have x4, with MUXing up to two slots, so leaving transferrate of x2 for each slot).
So the next questions are:
What kind of controller are you using?
How does your software write data to the generation task? Is it possible that the loop performing this is starving in your application software?
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
Urgent help please: Error on opening MW project
Hi
I have a similar error message to the one in this thread
error loading project
One day I was using MW and all was fine, the next day it blows up when trying to open a project. We use CVS - is it possible that the NullPointerException would occur if a configuration file had been removed or altered outside of MW (although I have never done this)?
Where can I look to get more information on what MW is choking on?
Many thanks
JamesDon
Thanks for your help. This occurs with 9.0.4.4
I have filed a TAR because this now urgent for us (holding up the development team).
I think that Karen Moore has looked at the problem in the related post and I hope that she gets the chance to look at this too.
James -
Urgent Help Needed : Error While deploying the composite to soa server
Hi ,
I an facing an issue in the deployment of the composite:
The error says that:
[12:50:56 PM] Error deploying archive sca_Project8_rev1.0.jar to partition "default" on server soa_server1 [http://ocmappsvr.outrigger.lan:8001]
[12:50:56 PM] HTTP error code returned [500]
[12:50:56 PM] Error message from server:
There was an error deploying the composite on soa_server1: Deployment Failed: Error occurred during deployment of component: BPELProcess1 to service engine: implementation.bpel, for composite: Project8: ORABPEL-01005
Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "BPELProcess1" of composite "default/Project8!1.0*soa_16d80d3c-15dd-43c7-93e9-34a1e2398035"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
[12:50:56 PM] Check server log for more details.
[12:50:56 PM] Error deploying archive sca_Project8_rev1.0.jar to partition "default" on server soa_server1 [http://ocmappsvr.outrigger.lan:8001]
[12:50:56 PM] #### Deployment incomplete. ####
[12:50:56 PM] Error deploying archive file:/C:/JDeveloper/mywork/Application10/Project8/deploy/sca_Project8_rev1.0.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
I have noticed the following behaviour in the soa server:
1.When i try to deploy a composite without any bpel ,it gets deployed without any error
2.composite with bpel specification 2.0 gets deployed without any error
3.composite with bpel specification 1.1 doen not get deployed . throws the above mentioned classpath error
4. In the composite with bpel specification 1.1 when i replace the namespace "http://schemas.xmlsoap.org/ws/2003/03/business-process/"(comes with the BPEL 1.1 spec) with "http://docs.oasis-open.org/wsbpel/2.0/process/executable" (comes with BPEL 2.0 spec) ,it gets deployed without any error.
I really dont understand why this is happening.
This is coming up in the production environment so i can not uninstall the soa server or create a new domain.
Kindly help.
Regards,
RakshithaHi ,
Additional to the Above error details my BPEL code looks like this:
<process name="BPELProcess1"
targetNamespace="http://xmlns.oracle.com/Application10/Project10/BPELProcess1"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:client="http://xmlns.oracle.com/Application10/Project10/BPELProcess1"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
<partnerLinks>
<partnerLink name="bpelprocess1_client" partnerLinkType="client:BPELProcess1" myRole="BPELProcess1Provider" partnerRole="BPELProcess1Requester"/>
</partnerLinks>
<variables>
<variable name="inputVariable" messageType="client:BPELProcess1RequestMessage"/>
<variable name="outputVariable" messageType="client:BPELProcess1ResponseMessage"/>
</variables>
<sequence name="main">
<receive name="receiveInput" partnerLink="bpelprocess1_client" portType="client:BPELProcess1" operation="process" variable="inputVariable" createInstance="yes"/>
<invoke name="callbackClient" partnerLink="bpelprocess1_client" portType="client:BPELProcess1Callback" operation="processResponse" inputVariable="outputVariable"/>
</sequence>
</process>
Kindly help if anyone has faced this Issue before.
Regards,
Rakshitha -
Urgent Help Please, Error with Nested Table
Hello All,
I'm trying to create data mining models based on some medical data. I have combined two tables (Patients) and (tumors) into one table (cancer_patients). In the (cancer_patients) table there is one column (tumors) as nested table column. So I got the following error (ORA-22913) about the nested table. I need an advice about how to fix this error in ODM please
This is the code of the tables
CREATE TABLE "DSS2_MINING"."PATIENTS"
( "PATIENT_ID" VARCHAR2(10 BYTE) NOT NULL ENABLE,
"REGISTRY_ID" NUMBER(10,0),
"RACE" VARCHAR2(2 BYTE),
"***" VARCHAR2(1 BYTE),
"BIRTHDATE_YEAR" NUMBER(4,0),
"NUMBER_OF_PRIMARIES" NUMBER(1,0),
"VITAL_STATUS_RECORD" VARCHAR2(1 BYTE),
"CAUSE_OF_DEATH" VARCHAR2(5 BYTE),
"SURVIVAL_TIME" VARCHAR2(4 BYTE),
"SURVIVAL_TIME_FINAL" NUMBER,
"SURVIVAL_VARIABLE" VARCHAR2(1 BYTE),
CONSTRAINT "PATIENTS_PK" PRIMARY KEY ("PATIENT_ID");
CREATE TABLE "DSS2_MINING"."TUMORS"
( "TUMOR_ID" NUMBER NOT NULL ENABLE,
"PATIENT_ID" VARCHAR2(10 BYTE), -- FK
"SEER_RECORD_NUMBER" NUMBER, -- This column contain a sequance number of the records for each patients
"MARITAL_STATUS" VARCHAR2(1 BYTE),
"AGE" NUMBER,
"DATE_OF_DIAGNOSIS" DATE,
"HISTOLOGY_GROUP" VARCHAR2(2 BYTE),
"BEHAVIOR" VARCHAR2(1 BYTE),
"GRADE" VARCHAR2(1 BYTE),
"DERIVED_AJCC_STAGE_GROUP" VARCHAR2(2 BYTE),
"STAGE_OF_CANCER" VARCHAR2(2 BYTE),
"RADIATION" VARCHAR2(1 BYTE),
"CS_SCHEMA" VARCHAR2(2 BYTE),
"FIRST_PRIMARY_IND" VARCHAR2(1 BYTE),
"TUMOR_SIZE" NUMBER(4,1),
"TUMOR_EXTENSION" VARCHAR2(2 BYTE),
"LYMPH_NODES" VARCHAR2(1 BYTE),
"NODES_POSITIVE" NUMBER,
"ESTROGEN" VARCHAR2(3 BYTE),
"PROGESTERONE" VARCHAR2(3 BYTE),
"SURGERY" VARCHAR2(2 BYTE),
CONSTRAINT "TUMORS_PK" PRIMARY KEY ("TUMOR_ID");
create or replace type tumor_object AS
object(
tumor_id VARCHAR2(1),
marital_status VARCHAR2(1),
age NUMBER(3),
date_of_diagnosis DATE,
cs_schema VARCHAR2(2),
histology_group VARCHAR2(2),
behavior VARCHAR2(1),
grade VARCHAR2(1),
first_primary_ind VARCHAR2(1),
tumor_size NUMBER(4, 1),
tumor_extension VARCHAR2(2),
lymph_nodes VARCHAR2(1),
nodes_positive NUMBER(4),
surgery VARCHAR2(2),
radiation VARCHAR2(1)
create or replace type tumor_table as table of tumor_object;
CREATE TABLE "DSS2_MINING"."CANCER_PATIENTS"
( "PATIENT_ID" VARCHAR2(10 BYTE) NOT NULL ENABLE,
"RACE" VARCHAR2(2 BYTE),
"***" VARCHAR2(1 BYTE),
"NUMBER_OF_PRIMARIES" NUMBER(1,0),
"TUMORS" "DSS2_MINING"."TUMOR_TABLE" ,
"VITAL_STATUS_RECORD" VARCHAR2(1 BYTE),
"CAUSE_OF_DEATH" VARCHAR2(5 BYTE),
"SURVIVAL_TIME_FINAL" NUMBER,
"SURVIVAL_VARIABLE" VARCHAR2(1 BYTE),
CONSTRAINT "CANCER_PATIENTS_PK" PRIMARY KEY ("PATIENT_ID")
NESTED TABLE "TUMORS" STORE AS "TUMORS_STOR_TABLE"Then, I have transferred the data using
INSERT
INTO CANCER_PATIENTS
SELECT PATIENT_ID,
RACE,
NUMBER_OF_PRIMARIES,
SELECT CAST(
COLLECT(
TUMOR_OBJECT(
TUMOR_ID,
MARITAL_STATUS,
AGE,
DATE_OF_DIAGNOSIS,
CS_SCHEMA,
HISTOLOGY_GROUP,
BEHAVIOR,
GRADE,
FIRST_PRIMARY_IND,
TUMOR_SIZE,
TUMOR_EXTENSION,
LYMPH_NODES,
NODES_POSITIVE,
SURGERY ,
RADIATION
AS TUMOR_TABLE
FROM "TUMORS" T
WHERE T.PATIENT_ID = P.PATIENT_ID
VITAL_STATUS_RECORD,
CAUSE_OF_DEATH,
SURVIVAL_TIME_FINAL,
SURVIVAL_VARIABLE
FROM PATIENTS PThanks
A.L
Edited by: user9003901 on Nov 30, 2010 12:23 AMHi
i was using AWM since 9i just because it creates OLAP metadata with a new API called CWM2, and Oracle Enterprise Manager was using a propietary API .
With AWM 10.1.0.4 building your OLAP metadata is very simple, you can define your Dimensions, cubes, measures and even you can load your data from your source system.
You can refer to the Oracle® OLAP Application Developer's Guide where you can find more information on this tool.
And relative to your error i will recommend that you build on a dimension-by-dimension basis and try to validate your OLAP Metadata.
Regards -
dear friends,
i used oracle database 10g Release 1 which i've patched it with Oracle 10.1.04 patchset, Oracle JDeveloper 10g (Version 10.1.2.1.0, build 1913) and bibeans 10.1.2.1 to build Business Intelligence based Application.
first, i create OLAP metadata ( like: dimensions, level, cube, measures ) with Oracle Enterprise Manager Database Control, i design my cube in star schema format and store my OLAP metadata in COBA_OLAP schema that i've created before.
After all my job with OLAP metadata finished, then i go to command prompt and validate my OLAP metadata with utility that brought by Oracle BIBeans 10.1.2.1 called bi_checkconfig
i validate my OLAP metadata by executing this command from command prompt:
C:\jdev1012\bibeans\bi_checkconfig>bi_checkconfig -h localhost -po 1521 -sid kuliah -u COBA_OLAP -p wysiwyg -q
BI Beans Diagnostics(v1.0.2.0) 10/18/05
==============================================================================================================
JDEV_ORACLE_HOME....................................................................................................... = C:\jdev1012
JAVA_HOME...................................................................................................................... = C:\jdev1012\jdk\jre
JDeveloper version................................................................................................................ = 10.1.2.1.0.1913
BI Beans release description................................................................................................. = BI Beans 10.1.2 Production Release
BI Beans component number................................................................................................ = 10.1.2.67.0
BI Beans internal version....................................................................................................... = 3.2.2.0.24.2
Connect to database............................................................................................................. = Successful
JDBC driver version............................................................................................................... = 10.1.0.42
JDBC JAR file location.......................................................................................................... = C:\jdev1012\jdbc\lib
Database version.................................................................................................................. = 10.1.0.4.0
OLAP Catalog version............................................................................................................ = 10.1.0.4.0
OLAP AW Engine version...................................................................................................... = 10.1.0.4.0
OLAP API Server version....................................................................................................... = 10.1.0.4.0
BI Beans Catalog version....................................................................................................... = N/A; not installed in COBA_OLAP
OLAP API JAR file version..................................................................................................... = "10.1.0.5.0"
OLAP API JAR file location.................................................................................................... = C:\jdev1012\jdev\lib\ext
Load OLAP API metadata ..................................................................................................... = unsuccessful
Error: An error occurred during olap API metadata retrieval. This is probably caused by inconsistent metadata.
my log file at C:\jdev1012\bibeans\bi_checkconfig\bi_error.log looks like this :
============================================================================
1) An error occurred during olap API metadata retrieval. This is probably caused by inconsistent metadata.
1) An error occurred during olap API metadata retrieval. This is probably caused by inconsistent metadata.
============================================================================
oracle.express.ExpressServerExceptionError class: Unknown Error
Server error descriptions:
INI: A system failure occurred., Generic at TxsOqConnection::getDefaultDatabase
at BICheckConfig.checkConnection(BICheckConfig.java:277)
at BICheckConfig.main(BICheckConfig.java:1367)
i really need help to fix this problem, any kind of solutions will be very appreciated...
best regards,
amirilHi
i was using AWM since 9i just because it creates OLAP metadata with a new API called CWM2, and Oracle Enterprise Manager was using a propietary API .
With AWM 10.1.0.4 building your OLAP metadata is very simple, you can define your Dimensions, cubes, measures and even you can load your data from your source system.
You can refer to the Oracle® OLAP Application Developer's Guide where you can find more information on this tool.
And relative to your error i will recommend that you build on a dimension-by-dimension basis and try to validate your OLAP Metadata.
Regards -
< MODERATOR: Message locked. Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. >
Dear Sap Friends,
When we complete a cheque payment, a spool print is created but its just a report, no actual cheque is showing up.
kindly give me advise how can i solve this issue, its very urgent.
Warm Regards
PaulHi karthik
My client in canada, this is the information they sent to me, please let me know what are the question i suppose to ask the client.
"Can you have a FI resource contract us regarding cheque printing.
When we complete a cheque payment, a spool print is created but its just a report, no actual cheque is showing up."
Regards
PAUL -
Urgent help needed : Error while creating r-tree index
Hi All:
When i try to create an rtree index on a multipolygon layer am getting the following error . Am using the following statement:
CREATE INDEX SYSTEM.TEST_IDX ON SYSTEM.TEST("GEOMETRY) INDEXTYPE IS MDSYS.SPATIAL_INDEX PARAMETERS ('SDO_INDX_DIMS=2')
java.sql.SQLException: ORA-29855: error occurred in the execution of ODCIINDEXCR
EATE routine
ORA-00600: internal error code, arguments: [kope2upic954], [], [], [], [], [], [
Best Regards
Debasish SahuHi,
There is something wrong with the data as you loaded it.
Can you try to validate the geometries?
Thanks,
d -
Updating to MAXDB 7.5.00.29- user logon failed error! Urgent Help
Hi
I am trying to update MaxDB 7.5.00 to MaxDB 7.5.00.29
on WAS 6.40. When I run the update via SDBUPD, I get the error "cannot establish database instance". i have looked in the log files(MaxDBUpdate_install-16.07.2005-16.13.log)
and the error is
<b>user_logon failed
ERR
-24950,ERR_USRFAIL: user authorization failed</b>
I am following "MaxDB update SAP note 735598" and under Windows section it states I should call the SDBUPD from the cmd prompt as follows:
SDBUPD -d <database_name> -u <dbm_userid>,<password>
so i run
<b>SDBUPD -d J2E -u Administrator,portal</b>
I assume <dbm_userid> is the default userid which is Admisitrator when installing WAS and MAXDB. I ahve not changed the default during the installation.
I have tried <b>SAPJ2EDB</b> as dmb_userid as well as <b>J2EE_Admin</b>, they still give the same error.
Any help on this?
Need urgent help
Much appreciated
RD
Message was edited by: RDHi
Thank you for your reply!!
I used control,control as user,password. This worked 100%, but then it reached to a point where it gave this error, i get this from the log file:
<b>STDERR: test pgm/sqltcp.dll failed: cannot extract pgm/sqltcp.dll: sharing violation during open of existing file</b>
What causes this error, and how can i get pass this ?
I assume some instance is started, but before I ran the SDBUPD, I stopped the J2E under sap system in SAPMMC.
Below is the output it gave when i ran SDBUPD from cmd prompt, I have bolded where the error starts:
D:\UpdatesPatches\MaxDB\maxdb-server-win-32bit-i386-7_5_00_29>SDBUPD -d J2E -u control,control
MaxDB INSTANCE UPDATE
starting installation Mo, Jul 18, 2005 at 08:57:11
operating system: Windows I386 NT 5.2 Service Pack 1
callers working directory: D:/UpdatesPatches/MaxDB/maxdb-server-win-32bit-i386-7
500_29
installer directory: D:/UpdatesPatches/MaxDB/maxdb-server-win-32bit-i386-7_5_00_
29
archive directory: D:/UpdatesPatches/MaxDB/maxdb-server-win-32bit-i386-7_5_00_29
beginning to check sap db instances
start new instance update
finding instance type...
finding starting release...
finding migration strategy...
looking for running instances...
checking paramfile modifications...
looking for domain user...
checking data consistency for database migration...
switch database state to OFFLINE
checking SAP DB instance "J2E" successfully Mo, Jul 18, 2005 at 08:57:23
starting preparing phase of package Base 7.5.00.29 32 bit
update release check... ok
update binary magic check... ok
checking interferences to other packages... ok
collecting data finished:
independent data path: d:/sapdb/data
independent program path: d:/sapdb/programs
start extraction test run of "D:/UpdatesPatches/MaxDB/maxdb-server-win-32bit-i38
6-7_5_00_29/SDBBAS.TGZ"
<b>test pgm/sqltcp.dll failed: cannot extract pgm/sqltcp.dll: sharing violation dur
ing open of existing file
following programs are running:
dbmsrv.exe [pid = 876]
dbmsrv.exe [pid = 2496]
dbmsrv.exe [pid = 1460]
wahttp.exe [pid = 1420]
dbmsrv.exe [pid = 1188]</b> -
DiskSpace Report Alert Error - Urgently Help Needed
Hell All
I have been take the scripts from https://gallery.technet.microsoft.com/scriptcenter/Disk-Space-Report-Reports-98e64d65
Which is working fine , but my end of scripts out Auto Disclaimer is added and the output has little bit collapsed
Disclaimer HAS BEEN added to the waring and critical Table which is mentioned on this script which is underlined now. and how avoid this
Urgent help is needed
# Check disk space and send an HTML report as the body of an email. #
# Reports only disks on computers that have low disk space. #
# Author: Mike Carmody #
# Some ideas extracted from Thiyagu's Exchange DiskspaceHTMLReport module. #
# Date: 8/10/2011 #
# I have not added any error checking into this script yet. #
# Continue even if there are errors
$ErrorActionPreference = "Continue";
# Items to change to make it work for you.
# EMAIL PROPERTIES
# - the $users that this report will be sent to.
# - near the end of the script the smtpserver, From and Subject.
# REPORT PROPERTIES
# - you can edit the report path and report name of the html file that is the report.
# Set your warning and critical thresholds
$percentWarning = 15;
$percentCritcal = 10;
# EMAIL PROPERTIES
# Set the recipients of the report.
$users = "[email protected]"
#$users = "[email protected]" # I use this for testing by uing my email address.
#$users = "[email protected]", "[email protected]", "[email protected]"; # can be sent to individuals.
# REPORT PROPERTIES
# Path to the report
$reportPath = "D:\Jobs\DiskSpaceQuery\Reports\";
# Report name
$reportName = "DiskSpaceRpt_$(get-date -format ddMMyyyy).html";
# Path and Report name together
$diskReport = $reportPath + $reportName
#Set colors for table cell backgrounds
$redColor = "#FF0000"
$orangeColor = "#FBB917"
$whiteColor = "#FFFFFF"
# Count if any computers have low disk space. Do not send report if less than 1.
$i = 0;
# Get computer list to check disk space
$computers = Get-Content "servers_c.txt";
$datetime = Get-Date -Format "MM-dd-yyyy_HHmmss";
# Remove the report if it has already been run today so it does not append to the existing report
If (Test-Path $diskReport)
Remove-Item $diskReport
# Cleanup old files..
$Daysback = "-7"
$CurrentDate = Get-Date;
$DateToDelete = $CurrentDate.AddDays($Daysback);
Get-ChildItem $reportPath | Where-Object { $_.LastWriteTime -lt $DatetoDelete } | Remove-Item;
# Create and write HTML Header of report
$titleDate = get-date -uformat "%m-%d-%Y - %A"
$header = "
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>
<title>DiskSpace Report</title>
<STYLE TYPE='text/css'>
<!--
td {
font-family: Tahoma;
font-size: 11px;
border-
border-right: 1px solid #999999;
border-bottom: 1px solid #999999;
border-
padding-
padding-right: 0px;
padding-bottom: 0px;
padding-
body {
margin-
margin-
margin-right: 0px;
margin-bottom: 10px;
table {
border: thin solid #000000;
-->
</style>
</head>
<body>
<table width='100%'>
<tr bgcolor='#CCCCCC'>
<td colspan='7' height='25' align='center'>
<font face='tahoma' color='#003399' size='4'><strong>AEM Environment DiskSpace Report for $titledate</strong></font>
</td>
</tr>
</table>
Add-Content $diskReport $header
# Create and write Table header for report
$tableHeader = "
<table width='100%'><tbody>
<tr bgcolor=#CCCCCC>
<td width='10%' align='center'>Server</td>
<td width='5%' align='center'>Drive</td>
<td width='15%' align='center'>Drive Label</td>
<td width='10%' align='center'>Total Capacity(GB)</td>
<td width='10%' align='center'>Used Capacity(GB)</td>
<td width='10%' align='center'>Free Space(GB)</td>
<td width='5%' align='center'>Freespace %</td>
</tr>
Add-Content $diskReport $tableHeader
# Start processing disk space reports against a list of servers
foreach($computer in $computers)
$disks = Get-WmiObject -ComputerName $computer -Class Win32_LogicalDisk -Filter "DriveType = 3"
$computer = $computer.toupper()
foreach($disk in $disks)
$deviceID = $disk.DeviceID;
$volName = $disk.VolumeName;
[float]$size = $disk.Size;
[float]$freespace = $disk.FreeSpace;
$percentFree = [Math]::Round(($freespace / $size) * 100, 2);
$sizeGB = [Math]::Round($size / 1073741824, 2);
$freeSpaceGB = [Math]::Round($freespace / 1073741824, 2);
$usedSpaceGB = $sizeGB - $freeSpaceGB;
$color = $whiteColor;
# Set background color to Orange if just a warning
if($percentFree -lt $percentWarning)
$color = $orangeColor
# Set background color to Orange if space is Critical
if($percentFree -lt $percentCritcal)
$color = $redColor
# Create table data rows
$dataRow = "
<tr>
<td width='10%'>$computer</td>
<td width='5%' align='center'>$deviceID</td>
<td width='15%' >$volName</td>
<td width='10%' align='center'>$sizeGB</td>
<td width='10%' align='center'>$usedSpaceGB</td>
<td width='10%' align='center'>$freeSpaceGB</td>
<td width='5%' bgcolor=`'$color`' align='center'>$percentFree</td>
</tr>
Add-Content $diskReport $dataRow;
Write-Host -ForegroundColor DarkYellow "$computer $deviceID percentage free space = $percentFree";
$i++
# Create table at end of report showing legend of colors for the critical and warning
$tableDescription = "
</table><br><table width='20%'>
<tr bgcolor='White'>
<td width='10%' align='center' bgcolor='#FBB917'>Warning less than 15% free space</td>
<td width='10%' align='center' bgcolor='#FF0000'>Critical less than 10% free space</td>
</tr>
Add-Content $diskReport $tableDescription
Add-Content $diskReport "</body></html>"
# Send Notification if alert $i is greater then 0
if ($i -gt 0)
foreach ($user in $users)
Write-Host "Sending Email notification to $user"
$smtpServer = "MySMTPServer"
$smtp = New-Object Net.Mail.SmtpClient($smtpServer)
$msg = New-Object Net.Mail.MailMessage
$msg.To.Add($user)
$msg.From = "[email protected]"
$msg.Subject = "Environment DiskSpace Report for $titledate"
$msg.IsBodyHTML = $true
$msg.Body = get-content $diskReport
$smtp.Send($msg)
$body = ""
https://gallery.technet.microsoft.com/scriptcenter/Disk-Space-Report-Reports-98e64d65Hi,
I want to double confirm which version are you used, please also refer to scripting center for the similar scripts:
Disk Space Monitoring - HTML EMAIL Report
http://gallery.technet.microsoft.com/scriptcenter/6e935887-6b30-4654-b977-6f5d289f3a63
Monitor Free Disk Space Information on a Computer
http://gallery.technet.microsoft.com/scriptcenter/04c29c84-5ecc-4bf6-8dd4-2940db63d9f3
List Available Disk Space
http://gallery.technet.microsoft.com/scriptcenter/7fa38863-ad6f-4f46-ac91-9b7d4a30f52b
Disk Space monitoring
http://gallery.technet.microsoft.com/scriptcenter/fd4f5235-1a80-41ed-87e2-189278fd376c
If you encounter any difficulties when customizing the scripts, you may submit a new question in
The Official Scripting Guys Forum! which is a best resource for scripting related issues.
Best Regards,
Allen Wang -
Can you help me? I meet some errors when I do incomplete recovery with RMAN
In recover step, There are following errors:
RMAN-11001: Oracle Error: ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/d/db/oradata/db01/system01.dbf'
question:
1. Should I restore archive log files generated on July 16th back to orignal archive directory in order to avoid to recover failure?
2. Or Should I add the command "sql 'alter system archive log current'" in the backup script in order to avoid to recover failure?
The following is the detail information:
The database is ok when I try to do incomplete recovery database that was fully backed up on July,16th,2004. The database is oracle 8.1.7 and is in the archive mode:
The following is the backup script:
run {
allocate channel 'dev_0' type 'sbt_tape'
parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=db01,OB2BARLIST=ora8i_online)';
backup incremental level 0 filesperset 1
format 'ora8i_online<db01_%s:%t:%p>.dbf'
database
include current controlfile
archivelog all delete input;
I use it to do a full backup on July 16th,17th successfully.
And I use the following scripts to do incomplete recovery:
run {
allocate channel 'dev_0' type 'sbt_tape'
parms 'ENV=(OB2BARTYPE=ORACLE8,OB2APPNAME=db01)';
sql "alter database mount";
set until time ='17.07.2004';
restore database;
recover database;
sql "alter database open resetlogs";
sql "alter database open";
There script is successful in restore step. But there are some errors in recover step. The detail information is showing in following log:
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: dev_0
RMAN-08500: channel dev_0: sid=13 devtype=SBT_TAPE
RMAN-08526: channel dev_0: HP OpenView OmniBack II A.04.10/176
RMAN-03022: compiling command: sql
RMAN-06162: sql statement: alter database mount
RMAN-03023: executing command: sql
RMAN-03022: compiling command: set
RMAN-03022: compiling command: restore
RMAN-03022: compiling command: IRESTORE
RMAN-03023: executing command: IRESTORE
RMAN-08016: channel dev_0: starting datafile backupset restore
RMAN-08502: set_count=2056 set_stamp=531622798 creation_time=16.07.2004
RMAN-08089: channel dev_0: specifying datafile(s) to restore from backup set
RMAN-08016: channel dev_0: starting datafile backupset restore
RMAN-08502: set_count=2180 set_stamp=531623409 creation_time=16.07.2004
RMAN-08089: channel dev_0: specifying datafile(s) to restore from backup set
RMAN-08523: restoring datafile 00001 to /d/db/oradata/db01/system01.dbf
RMAN-08023: channel dev_0: restored backup piece 1
RMAN-08511: piece handle=netace_ora8i_online<db01_2180:531623409:1>.dbf tag=null params=NULL
RMAN-08024: channel dev_0: restore complete
RMAN-08023: channel dev_0: restored backup piece 1
RMAN-08511: piece handle=netace_ora8i_online<db01_2212:531623994:1>.dbf tag=null params=NULL
RMAN-08024: channel dev_0: restore complete
RMAN-03022: compiling command: recover
RMAN-03022: compiling command: recover(1)
RMAN-03022: compiling command: recover(2)
RMAN-03022: compiling command: recover(3)
RMAN-03023: executing command: recover(3)
RMAN-08054: starting media recovery
RMAN-03022: compiling command: recover(4)
RMAN-03026: error recovery releasing channel resources
RMAN-11001: Oracle Error: ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/d/db/oradata/db01/system01.dbf'
RMAN-08031: released channel: dev_1
RMAN-08031: released channel: dev_2
RMAN-08031: released channel: dev_0
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: recover
RMAN-03002: failure during compilation of command
RMAN-03013: command type: recover(4)
RMAN-06003: ORACLE error from target database: ORA-01220: file based sort illegal before database is open
ORA-06512: at "SYS.X$DBMS_RCVMAN", line 7220
ORA-06512: at "SYS.X$DBMS_RCVMAN", line 5053
ORA-06512: at line 1
I repeat my questions:
1. Should I restore archive log files generated on July 16th back to original archive directory in order to avoid to recover failure?
2. Or Should I add the command "sql 'alter system archive log current'" in the backup script in order to avoid to recover failure?
Can you help me ? Thank you.You are correct. In RMAN8i, you should add the "alter system archive log current; command before you backup the archive logs.
You are running into the case where Oracle needs additional redo to make the database consistent that was located in the current online log at the time of the backup.
If you set UNTIL TIME to an earlier time does the recover work?
In Oracle9i, if you issue the command, "backup database plus archive logs", RMAN will automatically archive the current online log before performing the archive log backups.
Thanks, Tammy -
I cannot use iCloud on Windows 7, as it won't recognize my apple ID when i try to sign in to icloud it i get error saying "you can't sign in because of a server error (please help some one)
Although your message isn't mentioned in the symptoms, let's try the following document with that one:
Apple software on Windows: May see performance issues and blank iTunes Store
Maybe you are looking for
-
Which external screen for santa rosa macbook
Hello, i'm very happy to use my black macbook but since it heats a lot and i'd like it to be used bigger for videos I have purchased many adapters . The first one is the macbook one but it has vga output as many (never understood why for mac) so I c
-
Send mail from r/3 System to Microsoft outlook.
Hi All, I am trying to send the mail from the ABAP program to the Microsoft outlook. When i execute the program , it creates a mail and puts it in the SAP office workplace "Outbox". It says waiting for the communication..or something like that. I thi
-
Asset Master Business Area Different, PO Business Area Different
Hi Experts, When FI person creates asset master, he gives business area suppose 1000, plant 1000. But when we make po, somebody makes po in 2000 business area, plant 2000 and give 1000 business area asset master, and po saves and gr, miro done. In ou
-
Function module like ENQUEUE and DEQUEUE for function location.
Hi All, I should be highly appreciate if any one help me for locking function module like ENQUEUE and DEQUEUE for function location. Thanks Shaw
-
Need to make li bullets red, text dark grey
I am trying to make the bullets on my pages red, with the text beside it dark grey. See site at: http://www.lotusvalleydesigns.com/meixnerconstruction/ourservicescommercial.html Also, I am not sure that I did the li tags correctly. When I ran the val