ORA-07200 error during connect into system or sys
I have installed ORACLE8i EE on redhat6.2.
Installation was successfull. But when I try
to connect to system or sys user it throws
ORA-07200 Saying sls-sid not defined where as
ORACLE_SID is set in oratab also the database
is up and running.
Can someone provide the solution.
Thanks,
Chandramohan
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Chandramohan MUmmachi:
I have installed ORACLE8i EE on redhat6.2.
Installation was successfull. But when I try
to connect to system or sys user it throws
ORA-07200 Saying sls-sid not defined where as
ORACLE_SID is set in oratab also the database
is up and running.
Can someone provide the solution.
Thanks,
Chandramohan<HR></BLOCKQUOTE>
Hi Chandramohan,
I think u should run netasst from ur bin directory and configure ur listner and connect data properly
Check ur tnsnames.ora and listner.ora in network/admin directory in $ORACLE_HOME , i thnk this should help u out.
null
Similar Messages
-
ORA-04088: error during execution of trigger
Error Description :
We have more than 100 of records in a csv file which we are processing through a script. At the first execution let
say it generates trigger exception for five records ... when I execute the script second time those five records
are not throwing any exception but may be some other records. But consecutive trigger exception is not happening for any record . If a particular record is throwing exception at first attempt then in the second attempts it's not throwing the trigger exception.
Input file
PROPRTY_ID,NAME,OLD STREET,CITY,STATE,ZIP,NEW STREET,NEW CITY,NEW STATE,NEW ZIP
88527091,SAM PAUL SUMMU ,1061 XYZ,CITY1,ST,95626,5512 XX YY ZZ,TOWN,PA,12345-9812
Error :
88527091,SAM PAUL SUMMU ,1061 XYZ,CITY1,ST,95626,5512 XX YY ZZ,TOWN,PA,12345-9812 - PROPERTY Update Error : ORA-00001: unique constraint (PROD.PK_AUDIT_LOG) violated
ORA-06512: at "PROD.PROPERTY_AUD", line 159
ORA-04088: error during execution of trigger 'PROD.PROPERTY_AUD'
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> desc property
Name Null? Type
PROPERTY_ID NOT NULL NUMBER(20)
TYPE_CODE VARCHAR2(10)
TYPE_PREFIX VARCHAR2(10)
DWELLING_TYPE_CODE NOT NULL VARCHAR2(10)
DWELLING_TYPE_PREFIX NOT NULL VARCHAR2(10)
STREET_NUMBER VARCHAR2(25)
STREET_DIRECTION CHAR(2)
STREET_NAME NOT NULL VARCHAR2(45)
UNIT_NUMBER VARCHAR2(15)
CITY_CODE VARCHAR2(10)
STATE NOT NULL CHAR(2)
ZIP_CODE VARCHAR2(10)
UNIT_TYPE VARCHAR2(10)
UNIT_PREFIX VARCHAR2(10)
COUNTY_CODE VARCHAR2(10)
COUNTRY_CODE NOT NULL VARCHAR2(10)
SQUARE_FEET NUMBER(6)
NUMBER_MOTHER_LAW_UNITS NUMBER(6)
YEAR_BUILT DATE
PROPERTY_VALUE NUMBER(12)
ZIP_PLUS_4 VARCHAR2(4)
SFI_REQ_FLAG CHAR(1)
LAST_MODIFIED NOT NULL DATE
LAST_MODIFIED_BY VARCHAR2(31)
STANDARDIZED_STATUS VARCHAR2(10)
STANDARDIZED_DESC VARCHAR2(200)
SQL> desc audit_log
Name Null? Type
SEQ_NO NOT NULL NUMBER(20)
TABLE_NAME VARCHAR2(31)
USER_STAMP VARCHAR2(31)
TIME_STAMP DATE
TRAN_CODE CHAR(2)
RECORD1 VARCHAR2(2000)
RECORD2 VARCHAR2(2000)
FLAG_FLD CHAR(1)
SFI_FLAG_FLD CHAR(1)
ERROR_NUMBER NUMBER
Update Query which is getting executed :
UPDATE PROPERTY
SET DWELLING_TYPE_CODE = 'SFR',
DWELLING_TYPE_PREFIX = 'DWELLING',
STREET_NUMBER = NULL,
STREET_DIRECTION = NULL,
STREET_NAME = ln_new_street_name, -- <From input file>
UNIT_NUMBER = NULL,
CITY_CODE = ln_city_code, -- <From other Table>
STATE = ln_new_state, -- <From input file>
ZIP_CODE = ln_new_zip_code,
UNIT_TYPE = NULL,
UNIT_PREFIX = NULL,
COUNTY_CODE = ln_county_code, -- <From Other table>
COUNTRY_CODE = 1,
ZIP_PLUS_4 = ln_zip_plus_4 -- <From Input file>
WHERE PROPERTY_ID = ln_property_id; -- <From Other table>
*NOTE :* Property.LAST_MODIFIED field is auto populate through other trigger. It does not causing any problem.
This might be helpful :
SQL> select OWNER, CONSTRAINT_NAME, TABLE_NAME,COLUMN_NAME from dba_cons_columns where CONSTRAINT_NAME='PK_AUDIT_LOG';
OWNER CONSTRAINT_NAME TABLE_NAME COLUMN_NAME
PROD PK_AUDIT_LOG AUDIT_LOG SEQ_NO
PROD_ARCH PK_AUDIT_LOG AUDIT_LOG SEQ_NO
SQL> select SEQ_NO, trim(RECORD1), trim(RECORD2),TIME_STAMP
from audit_log where RECORD1 like '%BUTTE%' order by TIME_STAMP;
SEQ_NO
1675677212
TRIM(RECORD1)
00000000000031814095...SFR .DWELLING ...5512 BUTTE VIEW CT ..15532
.CA.95765 ...1377 .1 .....5000..20100922.SUSMSAHA ..
TRIM(RECORD2)
00000000000031814095...SFR .DWELLING ...5512 BUTTE VIEW CT ..15532
.CA.95765 ...1377 .1 .....5000..20100922.SUSMSAHA ..
TIME_STAMP
22-sep-2010
Trigger Body which is fired and throwing the exception :
create or replace trigger PROPERTY_AUD
before insert or update on PROPERTY
for each row
declare
rec1 varchar2(2000);
rec2 varchar2(2000);
tcode char(1);
ln_seq_id NUMBER:=Null;
ls_sql VARCHAR2(2000):=Null;
begin
select temp_audit_seq.nextval into ln_seq_id from dual;
rec1 := null;
rec2 := null;
if user = 'NONREP_USER' then
return;
end if;
if (dbms_reputil.from_remote = FALSE) then
:NEW.last_modified := sysdate;
if (user = 'SALESFORCE_SYNC') then
:new.last_modified_by := NVL(:new.last_modified_by,USER);
else
:new.last_modified_by := user;
end if;
end if;
if inserting then
rec1 :=
LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.STATE, 2, ' ' ) || '.' ||
RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
tcode := 'I';
elsif deleting then
rec1 :=
LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.STATE, 2, ' ' ) || '.' ||
RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
tcode := 'D';
else
rec1 :=
LPAD(:old.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:old.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:old.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:old.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:old.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:old.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:old.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:old.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:old.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:old.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:old.STATE, 2, ' ' ) || '.' ||
RPAD(:old.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:old.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:old.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:old.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:old.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:old.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:old.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:old.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:old.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:old.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:old.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:old.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:old.STANDARDIZED_DESC, 200, ' ' );
rec2 :=
LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.STATE, 2, ' ' ) || '.' ||
RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
tcode := 'U';
end if;
ls_sql :='
INSERT INTO AUDIT_LOG
( seq_no,
table_name,
user_stamp,
time_stamp,
tran_code,
record1,
record2)
VALUES
( :id,
:s_table_name,
:s_user_name,
:d_sysdate,
:s_tcode,
:s_rec1,
:s_rec2
EXECUTE IMMEDIATE ls_sql
USING ln_seq_id,
'PROPERTY',
user,
sysdate,
tcode,
rec1,
rec2;
end;
Your suggestion is highly appreciated ..
Edited by: Bipul on Sep 23, 2010 12:40 AMTEMP_AUDIT_SEQ generates number with the increment of +1
Although there seems other sequence populating the AUDIT_LOG table through a different sequence with the increment of +10. So till now there are already 1179 different numbers residing in audit_log.seq_no and yet to be generated by the TEMP_AUDIT_SEQ sequence. I will look into more details.
SQL> select max(seq_no) from audit_log;
MAX(SEQ_NO)
1675689121
SQL> select TEMP_AUDIT_SEQ.nextval from dual;
NEXTVAL
1675677285
SQL> select count(*) From audit_log where seq_no>1675677285;
COUNT(*)
1179
SQL> select count(*) from audit_log where seq_no>1675677283 and mod(seq_no,2)=1;
COUNT(*)
1179
SQL> select seq_no from audit_log where seq_no>1675677283 and mod(seq_no,2)=1 and rownum<12;
SEQ_NO
1675677291
1675677301
1675677311
1675677321
1675677331
1675677341
1675677351
1675677361
1675677371
1675677381
1675677391
11 rows selected.
Thank you Lee and Herald ten Dam ... -
Oracle Collaborate Suite ORA-6502 error during loging or form submitting
Hi!
I had Oracle Collaborate Suite ORA-6502 error during loging or form submitting:
Internal error (WWC-00006)
An unexpected error has occurred (WWS-32100)
ORA-6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWC-36000)
Unexpected error encountered in wwsec_api.person_info (ORA-06502: PL/SQL: numeric or value error: character string buffer too small) (WWC-41417)
Error (WWS-20000)
An unexpected error has occurred (WWS-32100)
ORA-6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWC-36000)
Unexpected error encountered in wwsec_api.person_info (ORA-06502: PL/SQL: numeric or value error: character string buffer too small) (WWC-41417).
This happened when:
I was using Russian letters in OCS HTML forms (for example - in Administration provision console or in my own HTML forms)
and only I work in Linux (with UTF-8 encoding) (in Windows with win1251 encoding all is OK).
My Database NLS not-null Parameters are:
NLS_LANGUAGE - AMERICAN
NLS_LENGTH_SEMANTICS - BYTE
NLS_TERRITORY - AMERICA
NLS_CHARACTERSET - AL32UTF8
NLS_NCHAR_CHARACTERSET - AL16UTF16
WHAT MUST I DO TO AVOID THIS SITUATION?
Thank
ValeryAll,
It appears that the page Javascript maximum limit size was reached. The error stopped appearing after some of the page Javascript code was removed out to Application Static Files. I wonder if there exists any "direct" indicator by the system whenever the size limit has been reached?
Again, the run error only occurred when the page was loaded in "Debug" mode.
Bernard -
insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('','','',41)
java.sql.SQLException: ORA-01400: cannot insert NULL into ("SYSTEM"."DESCRIPTION"."TYPE")
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:623)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:112)
at oracle.jdbc.driver.T4CStatement.execute_for_rows(T4CStatement.java:474)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1125)
at com.event.struts.InsertDetails.doPost(InsertDetails.java:78)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source
and i my
Action class is
public class InsertDetails extends HttpServlet{
protected void doPost(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
// TODO Auto-generated method stub
Connection conn = null;
try{
List list = (List) req.getSession().getAttribute("listbean");
InputBean ib = (InputBean) list.get(0);
InputBean ib1 = (InputBean) list.get(1);
InputBean ib2 = (InputBean) list.get(2);
InputBean ib3 = (InputBean) list.get(3);
InputBean ib4 = (InputBean) list.get(4);
InputBean ib5 = (InputBean) list.get(5);
InputBean ib6 = (InputBean) list.get(6);
InputBean ib7 = (InputBean) list.get(7);
conn = ConnectionUtils.getConnection();
Statement stmt = conn.createStatement();
String sql1 = "select seq.nextval from DUAL";
ResultSet rs1 = stmt.executeQuery(sql1);
rs1.next();
int event_id = rs1.getInt(1);
//Advanced and general info
String sql2 = "insert into EVENT_INFO (EVENT_ID,EVENT_NAME,SHORT_NAME,EVENT_START_DATE,EVENT_END_DATE,EVENT_START_TIME,EVENT_END_TIME,event_LOCATION,ADDRESS1,ADDRESS2,CITY,STATE,ZIP_CODE,COUNTRY,event_COMMENT,EVENT_OVERVIEW,EXTRA1,EXTRA2,MEMBERSHIP_OPTION,EXTRA3,EXTRA4,EXTRA5,KID,TEEN,ADULT,SENIOR,SENILE,EVENT_TYPE1,EVENT_TYPE2,DETAILED_DESCRIPTION,IS_DETAILED_DESCRIPTION_HTML,ADDITIONAL_URL,BYPASS_INFORMATION_PAGE,CANCELLATION_POLICY,ADDTIONAL_INFO) values("+event_id+",'"+ib.getName()+"','"+ib.getShortname()+"','"+ib.getStartdate()+
"','"+ib.getEnddate()+"','"+ib.getStarttime()+"','"+ib.getEndtime()+"','"+ib.getLocation()+"','"+ib.getAddress1()+"','"+ib.getAddress2()+"','"+
ib.getCity()+"','"+ib.getState()+"','"+ib.getZip()+"','"+ib.getCountry()+"','"+ib.getComment()+"','"+ib.getTextarea()+"','"+ib.getExtra1()+"','"+
ib.getExtra2()+"','"+ib.getExtra3()+"','"+ib.getExtra4()+"','"+ib.getExtra5()+"','"+ib.getExtra6()+"','"+ib.getExtra7()+"','"+ib.getExtra8()+"','"+
ib.getExtra9()+"','"+ib.getExtra10()+"','"+ib.getExtra11()+"','"+ib.getExtra12()+"','"+ib.getExtra13()+"','"+ib1.getTextarea()+"','"+ib1.getExtra1()+"','"+
ib1.getName()+"','"+ib1.getExtra2()+"','"+ib2.getCancellation_policy()+"','"+ib2.getTextarea()+"')";
stmt.executeQuery(sql2);
//Description
List list1 = (List) ib2.getList();
DescriptionBean db = (DescriptionBean) list1.get(0);
DescriptionBean db1 = (DescriptionBean) list1.get(1);
DescriptionBean db2 = (DescriptionBean) list1.get(2);
DescriptionBean db3 = (DescriptionBean) list1.get(3);
DescriptionBean db4 = (DescriptionBean) list1.get(4);
DescriptionBean db5 = (DescriptionBean) list1.get(5);
DescriptionBean db6 = (DescriptionBean) list1.get(6);
if(db.getDescription()!=" "){
String s1 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db.getDescription()+"','"+db.getTextarea()+"','"+db.getHtmlbutton()+"',"+event_id+")";
stmt.executeQuery(s1);
if(db1.getDescription()!=" "){
String s2 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db1.getDescription()+"','"+db1.getTextarea()+"','"+db1.getHtmlbutton()+"',"+event_id+")";
stmt.executeQuery(s2);
if(db2.getDescription()!=" "){
String s3 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db2.getDescription()+"','"+db2.getTextarea()+"','"+db2.getHtmlbutton()+"',"+event_id+")";
System.out.println(s3);
stmt.executeQuery(s3);
if(db3.getDescription()!=" "){
String s4 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db3.getDescription()+"','"+db3.getTextarea()+"','"+db3.getHtmlbutton()+"',"+event_id+")";
stmt.executeQuery(s4);
if(db4.getDescription()!=" "){
String s5 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db4.getDescription()+"','"+db4.getTextarea()+"','"+db4.getHtmlbutton()+"',"+event_id+")";
stmt.executeQuery(s5);
if(db5.getDescription()!=" "){
String s6 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db5.getDescription()+"','"+db5.getTextarea()+"','"+db5.getHtmlbutton()+"',"+event_id+")";
stmt.executeQuery(s6);
if(db6.getDescription()!=" "){
String s7 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db6.getDescription()+"','"+db6.getTextarea()+"','"+db6.getHtmlbutton()+"',"+event_id+")";
stmt.executeQuery(s7);
//Activity
String sql3 = "insert into ACTIVITY (ACTIVITY_NAME,ACTIVITY_START_DATE,ACTIVITY_END_DATE,ACTIVITY_START_TIME,ACTIVITY_END_TIME,TYPE,CAPACITY,EVENT_ID) values('"+ib3.getName()+"','"+ib3.getStartdate()+"','"+
ib3.getEnddate()+"','"+ib3.getStarttime()+"','"+ib.getEndtime()+"','"+ib3.getExtra1()+"',"+event_id+")";
stmt.executeQuery(sql3);
i put condition for null .But if i dont fill the fields,even then the executeQuery is executing without checking the condition.
wht is the problem
what i want to change in my code.1. Use code tags when you post code.
2. Use prepared statements.
3. If you have a field that requires a non-null entry then you must provide a non-null value. And for Oracle that means non-empty as well. -
ORA-04045: errors during recompilation/revalidation
I was applying catlog.sql and catproc.sql, but has some problem during it, and now, when I try to access a database in the sqlplus appear follow errors:
ERROR:
ORA-04045: errors during recompilation/revalidation of
SYS.DBMS_APPLICATION_INFO
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 2
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 2
Error accessing package DBMS_APPLICATION_INFO
Someone know about it ??
ThanksWhat went wrong during catalog and catproc ?
Did you run out of space ? In that case just enable autoextension on the system tablespace datafile[s] and re-run catalog & catproc. Check the logfiles.
regards,
Ronald.
http://ronr.nl/unix-dba -
Error during communication with System Landscape Directory: HTTP response c
Dear all,
I have redirected a SLD to our Q system. Everything in the Repository is working fine. What did I do:
- Adjusted settings in SLDAPICUST
- Adjusted SAPSLDAPI
- Adjusted LCRSAPRFC
- Adjusted the following values in the Exchange Profile:
com.sap.aii.connect.cr.httpport
com.sap.aii.connect.cr.name
com.sap.aii.connect.landscape.httpport
com.sap.aii.connect.landscape.name
So, SLDCHECK works fine.
The Repository sees the right SLD.
However, in the Directory I cannot choose an Adapter Engine (leaves blank) in my comm. channel.
Then I went to the RWB and got the following message:
<b>Error during communication with System Landscape Directory: HTTP response code: 403 Forbidden</b>
Where can I change something to make this work? Is this a user verification problem?
Thanks in advance for your input.go through the notes :-
#764176 Error in XI due to inconsistent SLD contents
#720717 Reduce the number of System Landscape Directories
Regards
Kenny -
Error when connecting to system
Hi,
I have been off topic for quite a while and when I wanted to pick up today, I couldn't connect to the HANA server anymore. I haven't changed any settings since last setup, all I get is the "Error when connecting to system" in the Quick Lauch of the infornation modeler.
Any suggestions?
THX
MarkusHello,
did you connect since upgrade to SP03?
You might be looking for this thread.
SAP In-Memory Developer Center - planned downtime 2011-11-15, 10-11am PST
Tomas -
403 Error during communication with System Landscape Directory from RWB
Hi,
I've got a new install of PI (XI 7.0) SPS 10 and am getting an error whenever I try to access the SLD from RWB or Integration Builder. The SLD is running on the same server as XI.
I've been through the various config guides (strangely there doesnt seem to be one specifically for PI/XI 7.0), to configure RFC destinations, checked users are not locked etc.
I'm thinking it's probably a VA / Authorisations issue, but could use some ideas!
Here's a few errors just for reference (and future people searching!)
<i>
Error during communication with System Landscape Directory: HTTP response code: 403 (Forbidden)
Unable to read XI domain from the SLD. Monitoring cannot therefore be configured. Error message: com.sap.aii.rwb.exceptions.BuildLandscapeException: Error during communication with System Landscape Directory: HTTP response code: 403 (Forbidden)
No System Landscape Directory exists. Unable to generate the landscape
Unable to read software component versions from System Landscape Directory "my.server:51400" (have tried 8014 also)
</i>
Thanks,
James.Hi,
1) Activated all services
2)Go to SU01 > type PIISUSER and reset the user's pw
Check out this might be helpful
http://help.sap.com/saphelp_nw04/helpdata/en/89/05793c05f0807be10000000a11405a/content.htm
403 ERROR
Check this note might help you 961880
Regards
Agasthuri Doss -
Error during connect to the instance Content Server MAXDB-XSERVER Receive
We rebooted this mornning a PROD Instance with SAPDB!
Second Instance is a Content Server. Now, we got an error during connect via
DBM Gui to Maxdb 7.6.06.04
2011-08-19 10:06:32 577 ERR 11926 XSERVER Receive packet, Ref:8 - socket recv error (110:Connection timed out
Environment variable : 1. Insctance PROD
2. Instance Prod Content Server
We couldnt connect to the database Instnce via DBMgui and also DB50 all collected data are visible, but its possible to start
DBACOCKPIT, analyse DB analyser : Message
Info Size of data cache 260306 pages, 99.98% in use, size of converter cache 1762 pages
Its seems so regarding to the Info of DB Analyser: Instance CSP (sap1) is up since 2011-06-10 12:20:10 that the Content server
didnt recognize that there was a boot this morning!!
In DBACOCKPIT it seems to be o.k. ! We could not boot the PROD Host asap again, because of the maintenance time window!
Where we could check more featur. of the content server. The processes seems to be o.k.!> Near the same problem occurs on our backup content server MAXDB!
> The backup runs during this situation a expanded longer time as normal. I get in DBM Gui today always the error code -4 socket recieve error, the Icon goes green, but there isnt any possibility to analyse the check area -> Diagnosis Files, to improof the status via gui! Via tc DBACOCKPIT i could connect to the instance and get some data! For example, If i try to stop the DB analsyser, its not possible.
I would stop the full gui and also end all dbm*.exe processes in the task manager and start it new.
Markus -
Oracle Java proc ORA-04045: errors during recompilation/revalidation
hi,
I have Oracle Java stored proc called MERGE_ENTITY_AND_EVENT invoked by a trigger. It was working fine for a couple of weeks. Today it throws this generic exception. I'm not sure what changed.
Caused by: java.sql.SQLSyntaxErrorException: ORA-04045: errors during recompilation/revalidation of TLMDEV./3ba8073b_Log4JLogger
ORA-06512: at "MERGE_ENTITY_AND_EVENT", line 1
ORA-06512: at "QUOTE_TRIGGER", line 49
1. What is the root cause of this exception ?
2. Whats the solution ?
If you dont know 1 or 2, how would you go about debugging this problem ?
Thanks in advance.The most likely cause is that something has caused the class TLMDEV./3ba8073b_Log4JLogger to become invalid and implicit invalidation does not succeed in making it valid. In general a class must be valid in order to be run and an attempt to run an invalid class (such as because your trigger calls it) will cause an attempt to validate it and if that attempt fails an ORA-04045 can be the result. Validation of a class amounts to iterating over the set of names referenced by the class and looking for a valid class by that name, perhaps recursively attempting to validate if an invalid class by that name is found. So validation of a class may amount to an attempt to validate several classes at once. If any of them fail to be validatable, which occurs if there is no class for a given referenced name then most if not all of the classes in the set being validated and certainly the top level one will fail to validate. So if things are working correctly, the ultimate reason for the ORA-04045 will prove to be that some name referenced by TLMDEV./3ba8073b_Log4JLogger or recursived by something it references will be a name for which there is no class in the database (or more precisely in the search path used which is typically the current schema followed by PUBLIC, but could be different if some of the classes involved have had explicit resolver specifications given for them). The thing to do to try to start determining what class is missing is to do the query
select owner||'.'||name||' : '||text from all_errors where type like 'JAVA%';
The first thing to look at are lines for TLMDEV./3ba8073b_Log4JLogger. These will probably show text which contains either ORA-29534 identifying a referenced class that exists but could not be recursively valid, or ORA-29521 identifying names for which there is no class. The latter are the ultimately interesting ones since the former will end up being recursively caused by them. So look at the ORA-29521s and then try to determine either why the class is missing and how to restore it or which it is now referenced when it wasn't before (which would happen if some class was changed to reference it or something that references it, recursively). -
ORA-04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
Hi,
i am on 11.5.10.2 RHEL 4.0
i tried running catalog.log on DB Tier as sys, but was not successful.
later sqlplus apps/apps would start giving
ORA-00604 : error occured at recursive SQL level 1
ORA-04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
$sqlplus /nolog works fine... BUT
$sqlplus conn /as sysdba HANGS!!!!
Also logging via URL > after clicking on E-Business Home Page gives
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, changeOnOHSInstall and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
could anybody suggest on this error?
Thanking You
Regards,
SKThanks for your quick reply
status of the object: INVALID
PLSQL_V2_COMPATIBLITY is set to FALSE
Run utlrp.sql to compile all invalid objects in the database
it gave me error as follows:
SQL> @utlrp.sql
declare
ERROR at line 1
ORA -00604 : error occured at recursive SQL level 1
ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
CREATE TABLE utl_recomp_invalid (obj# number)
ERROR at line 1
ORA -00604 : error occured at recursive SQL level 1
ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
CREATE TABLE utl_recomp_sorted (obj# number, depth number)
ERROR at line 1
ORA -00604 : error occured at recursive SQL level 1
ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
CREATE TABLE utl_recomp_compiled(obj# number)
ERROR at line 1
ORA -00604 : error occured at recursive SQL level 1
ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
CREATE INDEX utl_recomp_comp_idx1 ON utl_recomp_compiled(obj#)
ERROR at line 1
ORA -00604 : error occured at recursive SQL level 1
ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
CREATE TABLE utl_recomp_backup_jobs (command varchar2(100), status varchar2(1000))
ERROR at line 1
ORA -00604 : error occured at recursive SQL level 1
ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
SELECT o.obj#, o.type#, o. owner# FROM obj# o
ERROR at line 2
ORA -00604 : error occured at recursive SQL level 1
ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
Edited by: mirage on Dec 4, 2008 6:45 PM -
1 duplicate key error during insert into table
Dear Guru's
While upgrading the SAP_HR patch, I am facing this issue
Current level is SAPKE60455
Trying to apply patch - SAPKE60456
This is seen in the import log
Start import R3TRVDATV_512W_O ...
client 000: 1
client 001: 1
client 070: 1
client 080: 1
client 100: 1
client 320: 1
1 duplicate key error during insert into table T512T occured
End import R3TRVDATV_512W_O (with warnings)
Please help, thank in advance
R3trans is at version 6.19
Regards,
OmkarHello,
Issue was resolved after upgrading the R3trans
Regards,
Omkar -
ORA-00942 Error during unicode export of BI 7.0
Hello Everyone,
I am doing an export of a non-unicode BI 7.0 system to convert and import it into a Unicode database. All the jobs have passed except one and I see the following error in the log file (SAPAPPL0_3.log)
/usr/sap/ABD/SYS/exe/run/R3load: START OF LOG: 20080302124247
/usr/sap/ABD/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
/usr/sap/ABD/SYS/exe/run/R3load: version R7.00/V1.4
Compiled Jun 9 2007 09:20:06
/usr/sap/ABD/SYS/exe/run/R3load -e SAPAPPL0_3.cmd -datacodepage 4102 -l SAPAPPL0_3.log -stop_on_error
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
(RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
(RSCP) WARN: UMGCONTAINER has 1 problems.
(RSCP) INFO: UMGSETTINGS nametab creation: ok.
(RSCP) INFO: Global fallback code page = 1100
(RSCP) INFO: Common character set is not 7-bit-ASCII
(RSCP) INFO: Collision resolution method is 'fine'
(RSCP) INFO: R3trans code pages = Normal
(RSCP) INFO: EXPORT TO ... code pages = Normal
(RSCP) INFO: Check for invalid language keys: active, by default
(RSCP) INFO: I18N_NAMETAB_NORM_ALLOW = 999999999
(RSCP) INFO: I18N_NAMETAB_NORM_LOG = 1000000002
(RSCP) INFO: I18N_NAMETAB_ALT_ALLOW = 10000
(RSCP) INFO: I18N_NAMETAB_ALT_LOG = 10003
(RSCP) INFO: I18N_NAMETAB_OLD_ALLOW = 0
(RSCP) INFO: I18N_NAMETAB_OLD_LOG = 500
(GSI) INFO: dbname = "ABD20070922100908
(GSI) INFO: vname = "ORACLE "
(GSI) INFO: hostname = "ussbbdd5 "
(GSI) INFO: sysname = "HP-UX"
(GSI) INFO: nodename = "ussbbdd5"
(GSI) INFO: release = "B.11.23"
(GSI) INFO: version = "U"
(GSI) INFO: machine = "ia64"
(GSI) INFO: instno = "INITIAL "
(EXP) ERROR: DbSlExeRead failed
rc = 103, table "/BIC/SZTERR_CD"
(SQL error 942)
error message returned by DbSl:
ORA-00942: table or view does not exist
(DB) INFO: disconnected from DB
/usr/sap/ABD/SYS/exe/run/R3load: job finished with 1 error(s)
/usr/sap/ABD/SYS/exe/run/R3load: END OF LOG: 20080302124251
When I run the following command on /BIC/SZTERR_CD, I do not get any table information back. I am not sure how to fix it though.
SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME = '/BIC/SZTERR_CD ';
I did finish all the unicode preconversion steps and also ran the SMIGR_CREATE_DDL program. I had exported recently from the same system but I never got this error during that run.
Another question is about the order in which the steps need to be performed. I completed the preconversion steps, then ran the SMIGR_CREATE_DDL program before proceeding to the export phase. Is this right or does it not matter?
Thanks again for your help!Hello Stacy,
> When I run the following command on /BIC/SZTERR_CD, I do not get any table information back. I am not sure how to fix it though.
> SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME = '/BIC/SZTERR_CD ';
If the object does not exists on the source target database, please check if the ddic of sap still contains the table definition. (SE11 or SE14)
If yes you can set the status of the table /BIC/SZTERR_CD to "ok" in the corresponding task file.
You can not fix this problem in other way after you have started the conversion, because of the export files are already generated (with the information of the sap ddic)...
> I completed the preconversion steps, then ran the SMIGR_CREATE_DDL program before proceeding to the export phase. Is this right or does it not matter?
That was the right way.
Regards
Stefan -
ORA-12154 Error - NET8 Connection Tester Works Though
I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
Any ideas?I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
Any ideas? -
Error during SCM5.1 system copy on target system
Dear Team,
I am encountering the error during system copy of SCM5.1 ABAP which contains livecache and APO as well.
As i am getting the following error at the step " Install database client software".
There are no other database instance which is running as we have installed Oracle 11g DB server software before starting sapinst.But even i have stopped OracleNTSrecoveryservice as this is the only one running with respect to roacle but no luck.
SAPINSt.log:
Installation of SAP liveCache Runtime For SAP AS
starting installation We, Jun 01, 2011 at 11:04:49
operating system: Windows AMD64 NT 6.1 Service Pack 1
callers working directory: C:/Program Files/sapinst_instdir/SCM51/LM/COPY/ORA/SYSTEM/CENTRAL/AS-ABAP
installer directory: C:/51032921_13/SAP_SCM_2007_liveCache_7.7.02.8/DATA_UNITS/LC_WINDOWS_X86_64
archive directory: C:/51032921_13/SAP_SCM_2007_liveCache_7.7.02.8/DATA_UNITS/LC_WINDOWS_X86_64
Dear Experts,
starting preparing phase of package Base 7.7.02.08 64 bit
ERROR 2011-06-01 11:06:43.570
MDB-07020 The database installer reported an error. DIAGNOSIS: Some database applications might still be running. SOLUTION: Check the log file sdbinst.log.
ERROR 2011-06-01 11:06:43.570
MUT-03025 Caught ESAPinstException in module call: .
ERROR 2011-06-01 11:06:43.601
FCO-00011 The step installClientSoftware with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_DBClient|ind|ind|ind|ind|dbclient|0|LIVECACHECLIENT|ind|ind|ind|ind|6|0|Sdb_ClientSoftware_Dialogs|ind|ind|ind|ind|1|0|Sdb_ClientSoftware|ind|ind|ind|ind|auto.id:1|0|installClientSoftware was executed with status ERROR ( Last error reported by the step: The database installer reported an error. DIAGNOSIS: Some database applications might still be running. SOLUTION: Check the log file sdbinst.log.).
INFO 2011-06-01 11:06:44.54
Creating file C:\Program Files\sapinst_instdir\SCM51\LM\COPY\ORA\SYSTEM\CENTRAL\AS-ABAP\__instana_tmp.xml.
Regards,
DheerajSOLUTION: Check the log file sdbinst.log.
Maybe you are looking for
-
Hai experts, I have created one java webservice using NWDS and it is working fine in all environments it is deployed. I want to publish this webservice. Can anyone explain the way for publish this webserice as like a third party webservice. Advance
-
Is it best to run my zen touch off of an alternate power sour
Hey I was wondering if using an alternate power source such as a car adapter would increase my zen touch's battery life. It kind of seems like it would but i don't know for sure. Thanks!
-
Text width discrepancies.
We have a desktop application client/server application which will render Crystal Reports along with a web application which interfaces with the server and renders the same reports. I am seeing differences in the character widths which can cause dif
-
Music player in BlackBerry 7290
Hi, I need to know if I can play mp3 music playlists on BlackBerry 7290. Thank you.
-
Hi, I'm trying to create a very simple excel line chart using the report generator toolkit. I have tried both the Excel Easy Graph and Excel Insert Graph vi's (using xlLine type) but cannot get them to output the type of graph im looking for. Usin