MGR-11401 error in ORACLE 7.3.4 servers

Hi All,
I want to run a shell script connecting to oracle database and redirect the output to a file. Please find the command i am using and the error received. Kindly suggest me an alternate or correct the same.
GMX-/home/oracle/health: svrmgrl @dbhealth.sql |tee dbcheck.lst
Oracle Server Manager Release 2.3.4.0.0 - Production
Copyright (c) Oracle Corporation 1994, 1995. All rights reserved.
Oracle7 Server Release 7.3.4.0.0 - Production
With the distributed and parallel query options
PL/SQL Release 2.3.4.0.0 - Production
SVRMGR> MGR-11401: input error, unable to read input line
MGR-01508: unable to close the current file

Hi all,
I am using HPUX OS. Please find the contents of my script.
spool db_check.lst
!echo =============================================================
!echo DATABASE HEALTH CHECK REPORT
!echo =============================================================
!echo
!echo =====================
!echo CURRENT DATE and TIME
!echo ======================
Select to_char(sysdate,'yyyy-mm-dd hh24:mi:ss') "Current Date/Time" from dual;
!echo
!echo =================
!echo VERSION
!echo =================
select * from v$version;
!echo
!echo =================
!echo DATABASE NAME
!echo =================
Select name from v$database;
!echo
!echo ===========================================
!echo Instance Pools and memory companents detail
!echo ===========================================
Show parameter pool
sho parameter sort
sho parameter cache
!echo
!echo ==================
!echo CONTROL FILES
!echo ==================
select * from v$controlfile;
!echo
!echo ==================
!echo LOG FILE GROUPS
!echo ==================
select * from v$logfile;
!echo
!echo ==================
!echo LOG FILE MEMBERS
!echo ==================
select * from v$log;
!echo
!echo ============================
!echo TABLESPACES AND DATAFILES
!echo ============================
select TABLESPACE_NAME, to_char(file_id, '999') "File_id", FILE_NAME, BYTES/1024/1024 "Size in MB" , STATUS
from dba_data_files
order by TABLESPACE_NAME, file_name;
!echo
!echo ============================
!echo UTILIZATION OF TABLESPACES
!echo ============================
select t.tablespace, t.totalspace as " Totalspace(MB)",
round((t.totalspace-nvl(fs.freespace,0)),2) as "Used Space(MB)",
nvl(fs.freespace,0) as "Freespace(MB)",
round(((t.totalspace-nvl(fs.freespace,0))/t.totalspace)*100,2) as "%Used",
round((nvl(fs.freespace,0)/t.totalspace)*100,2) as "% Free"
from
(select round(sum(d.bytes)/(1024*1024)) as totalspace,d.tablespace_name tablespace
from dba_data_files d
group by d.tablespace_name) t,
(select round(sum(f.bytes)/(1024*1024)) as freespace,f.tablespace_name tablespace
from dba_free_space f
group by f.tablespace_name) fs
where t.tablespace=fs.tablespace (+)
order by t.tablespace;
!echo
!echo ===========================
!echo TABLESPACES utl >90
!echo ============================
select t.tablespace, t.totalspace as " Totalspace(MB)",
round((t.totalspace-nvl(fs.freespace,0)),2) as "Used Space(MB)",
nvl(fs.freespace,0) as "Freespace(MB)",
round(((t.totalspace-nvl(fs.freespace,0))/t.totalspace)*100,2) as "%Used",
round((nvl(fs.freespace,0)/t.totalspace)*100,2) as "% Free"
from
(select round(sum(d.bytes)/(1024*1024)) as totalspace,d.tablespace_name tablespace
from dba_data_files d
group by d.tablespace_name) t,
(select round(sum(f.bytes)/(1024*1024)) as freespace,f.tablespace_name tablespace
from dba_free_space f
group by f.tablespace_name) fs
where t.tablespace=fs.tablespace (+)
and round(((t.totalspace-nvl(fs.freespace,0))/t.totalspace)*100,2) >=90
order by t.tablespace
!echo
!echo
!echo LIBRARY CACHE HIT RATIO. THIS VALUE SHOULD BE GREATER 95%
!echo ===========================================================
select sum(pins)/(sum(pins)+sum(reloads))*100 "Hit Ratio" from v$librarycache;
!echo
!echo ==================================
!echo LIBRARY CACHE PIN HIT RATIO STATISTICS
!echo =========================================
select namespace,pins,pinhits,pinhitratio,reloads from v$librarycache;
!echo
!echo =========================================================
!echo DICTIONARY HIT RATIO. THIS VALUE SHOULD BE GREATER 85%
!echo ==========================================================
select (1-(sum(getmisses)/sum(gets)))*100 "Hit Ratio"
from v$rowcache;
!echo
!echo =========================================
!echo DICTIONARY CACHE PIN HIT RATIO STATISTICS
!echo =========================================
select parameter,gets,getmisses,scans,scanmisses from v$rowcache;
!echo
!echo ==========================================================
!echo DATABASE BUFFER HIT RATIO. THIS VALUE SHOULD BE GREATER 95%
!echo ===========================================================
select name,value from v$sysstat where name in ('db block gets','consistent gets','physical reads');
select round((1-(pr.value/(bg.value+cg.value)))*100,2)
from v$sysstat pr, v$sysstat bg, v$sysstat cg
where pr.name='physical reads'
and bg.name='db block gets'
and cg.name='consistent gets';
!echo
!echo ==================================
!echo REDO LOG BUFFER STATISTICS.
!echo 'redo buffer allocation retries' SHOULD BE NEAR 0; 'redo entries' SHOULD BE LESS THAN 1%
!echo ==========================================================================================
select name, value from v$sysstat
where name in ('redo buffer allocation retries','redo entries');
!echo ==================================
!echo STATISTICS OF ROLLBACK SEGMENT
!echo IF ANY WAITS IN FIRST SQL STATEMENT EXCEEDS 1% OF TOTAL IN SECOND SQL STATEMENT, CREATE MORE ROLLBACK SEGMENTS.
!echo ===============================================================================================================
select class,count from v$waitstat where class in
('system undo header','system undo block','undo header','undo block');
select sum(value) from v$sysstat
where name in ('db block gets','consistent gets');
!echo
!echo =======================
!echo STATISTICS OF SORTS
!echo =======================
select name,value from v$sysstat where name in
('sorts (memory)', 'sorts (disk)');
!echo
!echo =====================
!echo STATISTICS OF I/O
!echo =====================
select name,phyrds,phywrts,readtim,writetim
from v$filestat a, v$dbfile b
where a.file# = b.file#
order by readtim desc;
!echo
!echo =====================
!echo Database users detail
!echo =====================
select username,default_tablespace,temporary_tablespace from dba_users;
!echo ==================================
!echo OBJECTS WHOSE STATUS ARE INVALID
!echo ===================================
select OBJECT_NAME, owner, object_type, STATUS from all_objects where
object_type in
('FUNCTION','INDEX', 'LIBRARY','PACKAGE','PACKAGE BODY',
'PROCEDURE', 'SEQUENCE','SYNONYM','TABLE','TRIGGER',
'TYPE','UNDEFINED','VIEW')
and status = 'INVALID'
and OWNER not in ('SYS','SYSTEM')
spool off
exit;

Similar Messages

  • GGS ERROR       150  Oracle GoldenGate Manager for Oracle, mgr.prm:  Addre

    Hi,
    I am not able to start manager process in golden gate.
    Program Status Group Lag Time Since Chkpt
    MANAGER STOPPED
    EXTRACT ABENDED EXT1OP0 00:00:00 19:20:29
    EXTRACT ABENDED PMP1OP0 00:00:00 19:17:36
    ES option not used.).
    2012-08-12 23:19:55 GGS ERROR 150 Oracle GoldenGate Manager for Oracle, mgr.prm: Address already in use.
    2012-08-12 23:19:55 GGS ERROR 190 Oracle GoldenGate Manager for Oracle, mgr.prm: PROCESS ABENDING.
    2012-08-12 23:46:36 GGS INFO 399 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (ggs): start EXT1OP0.
    2012-08-12 23:55:02 GGS INFO 399 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (ggs): start MANAGER.
    2012-08-12 23:55:02 GGS WARNING 201 Oracle GoldenGate Manager for Oracle, mgr.prm: purgeoldextracts /opt/ggs/data01/op00/trail/sc,usecheckpoints,minkeepdays 6 (MINKEEPFILES option not used.).
    2012-08-12 23:55:02 GGS ERROR 150 Oracle GoldenGate Manager for Oracle, mgr.prm: Address already in use.
    2012-08-12 23:55:02 GGS ERROR 190 Oracle GoldenGate Manager for Oracle, mgr.prm: PROCESS ABENDING.

    user23 wrote:
    Hi,
    I am not able to start manager process in golden gate.
    Program Status Group Lag Time Since Chkpt
    MANAGER STOPPED
    EXTRACT ABENDED EXT1OP0 00:00:00 19:20:29
    EXTRACT ABENDED PMP1OP0 00:00:00 19:17:36
    2012-08-12 23:19:55 GGS ERROR 150 Oracle GoldenGate Manager for Oracle, mgr.prm: Address already in use.the port number you specified in your dirprm/mgr.prm file is already in use by another process. Change the port number (or kill the other process) and try to restart mgr.
    ggsci> view param mgr
    PORT 7811
    ggsci> edit param mgr
    (change to unused port, save)
    ggsci> start mgr
    ggsci> view report mgr

  • Getting the following error in Oracle 10g B2B reports, need help where to look into for resolution!

    Hi All,
    I am new to B2B. I am getting following error in B2B Console please suggest what could be the reason and possible steps to resolve:
    Machine Info: (fcgemapptest05)
    Description: General Error
    StackTrace:
    Error -:  AIP-50014:  General Error
      at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1194)
      at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:836)
      at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:402)
      at java.lang.Thread.run(Thread.java:534)
    Regards,
    Sujan

    Can you tell me what's the status of components (value of "In sync" column) when you run "dcmctl getState" command?
    Thanks
    Shail

  • Error  --REP-3000: Internal error starting Oracle Toolkit.

    Hi
    While submitting the concurrent request (active user) im getting error if i submit the active responsibilities
    its completed successfully i have set display also still im getting error.
    Xlib: connection to "omega:0.0" refused by server
    Xlib: Client is not authorized to connect to Server
    Xlib: connection to "omega:0.0" refused by server
    Xlib: Client is not authorized to connect to Server
    REP-3000: Internal error starting Oracle Toolkit.
    REP-3000: Internal error starting Oracle Toolkit.

    Please verify the DISPLAY on the server as follows:
    - Issue "xhost +" as root user
    - Issue "xclock" as applmgr user --> Make sure you can display the clock
    If the above does not work, please set the DISPLAY properly in the application context file and run AutoConfig.
    More details can be found in the following note:
    Note: 200474.1 - Comprehensive REP-3000 Troubleshooting and Overview Guide
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=200474.1

  • Database Error: DBD::Oracle::db do failed: ORA-04030: out of process memory

    Hi
    I have a stored procedure that uses the XMLQuery function (SELECT XMLQuery( '......' RETURNING CONTENT) FROM dual; ) to extract data from 3 different tables and store the xml file in XML DB. This store procedure was running fine for a long time until 2 weeks ago where I started seeing the following error:
    Database Error: DBD::Oracle::db do failed: ORA-04030: out of process memory when trying to allocate 92 bytes (koh dur heap d,qmxtkWriteXobToOpn:heap)
    Currently I have 16,000 records. I am not sure what is going on, the size of the previous successful output xml file is about 2M. I also noticed when the stored procedure runs with 3G of system memory available, it basically used up all the memory and cpu time. The store proc consistently dies after 3.5 hour and spits out the ORA-04030 out of process memory error.
    Does anyone have any suggestion what to look for or what parameters I need to set? Thanks

    Unless your database is strictly a DSS-type of database, your AWR report exposes loads of issues with it. And I think none of the time during the AWR window was spent on database. Look at the DB time (with all those multi cores) compared with the elapsed time of the AWR.
    As you are on 11g, why not make use of MEMORY_TARGET (a single parameter to manage both SGA and PGA)? If you are already on it, ignore this as I can't see it anywhere. If not, get rid of SGA_TARGET and PGA_AGGREGATE_TARGET and replace it with a single MEMORY_TARGET parameter. However you may have a minimum threshold set for different SGA pools so that they won't shrink beyond that point.
    Having said that, setting MEMORY_TARGET is not a guarantee to avoid ORA-4030. Just a single bad PL/SQL code could go and exploit the untunable part of your process memory and even go and blow up the physical memory. If you are using FORALL and BULK load, see if you can cut it down into few chunks rather than running as a single process.
    What does your V$PGASTAT say?

  • Error in Oracle API  HZ_CUST_ACCOUNT_V2PUB.create_cust_account

    Error in Oracle API HZ_CUST_ACCOUNT_V2PUB.create_cust_account
    Column account_number must have a value.
    why?

    What is the apps version ?
    Have you gone through these notes:
    Using TCA API's Including Examples [ID 201243.1]
    How To Create A Customer Via TCA API [ID 159393.1]

  • Deployment Manager Error with Oracle Weblogic Server 10.3.1

    I have installed Identity Manager 9.1.0.2 (patch upgraded from 9.1.0.1) on OEL 5.3 64bit and Weblogic 10.3.1
    Database:Oracle 11gR2 (remote machine).
    **I am aware that IM 9.1.0.2 is not certified on Weblogic 10.3.1 (it is only certified on 10.3),
    The installation was successful and OIManager is up and running. Able to create Users, Resources etc. as well.
    As part of configuring OIM Connectors tried to Import .xml file using Import option from Deployment Management section as below and the following error was displayed.
    "Either your session timed out or you are trying to access a page without logging in".
    Did all workarounds like enabling java, changing browsers, restarting machine etc as per the below discussion but in vain.
    Deployment Manager Error with Oracle Weblogic Server
    Can any one suggest any workaround or solution for this problem.
    Or atleast can any one confirm there is no Identity manager available on this date which is compatible with 10.3.1? and cannot be continued further.
    Thanks in Advance
    Sudheer
    Edited by: SudheerPrabhala on Oct 20, 2009 1:26 AM

    You are facing this issue because you're using a non certified combination.
    Other folks who tried to use OIM in 10.3.1 ended up in the same problem you're facing.

  • Error starting Oracle BAM active data cache service

    Hi
    after installing BAM every thing working fine ,but if restart my system Oracle BAM active data cache service throwing following error
    "The Oracle BAM Active Data Cache service on Local computer started and then stopped.Some services stop automatically if they have no work to do,for example the performance logs and alerts service"
    Database is running fine
    Following is the ADC log file error
    2007-12-07 17:19:29,640 [2928] ERROR - ActiveDataCache The Oracle BAM Active Data Cache service failed to start. Oracle.BAM.ActiveDataCache.Common.Exceptions.CacheException: ADC Server exception in Startup(). ---> System.DllNotFoundException: Unable to load DLL (OraOps10.dll).
    at Oracle.DataAccess.Client.OpsTrace.GetRegTraceInfo(UInt32& TrcLevel, UInt32& StmtCacheSize)
    at Oracle.DataAccess.Client.OraTrace.GetRegistryTraceInfo()
    at Oracle.DataAccess.Client.OracleConnection..ctor(String connectionString)
    at Oracle.DataAccess.Client.OracleConnection..ctor(String connectionString)
    at Oracle.BAM.ActiveDataCache.Kernel.StorageEngine.Oracle.OracleDataFactory.GetConnection()
    at Oracle.BAM.ActiveDataCache.Kernel.StorageEngine.Oracle.OracleStorageEngine.GetServerVersion()
    at Oracle.BAM.ActiveDataCache.Kernel.StorageEngine.Oracle.OracleStorageEngine.Startup(IDictionary oParameters)
    at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.Startup()
    --- End of inner exception stack trace ---
    at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.Startup()
    at Oracle.BAM.ActiveDataCache.Kernel.Server.Server.Startup()
    at Oracle.BAM.ActiveDataCache.Service.DataServer.Run()
    2007-12-07 17:24:45,250 [1524] ERROR - ActiveDataCache Unable to load DLL (OraOps10.dll).
    2007-12-07 17:24:45,265 [1524] WARN - ActiveDataCache Exception occurred in method Startup
    Please help me in resolving this issue .Am getting this issue every time
    Thanks
    BS

    Make sure the path to the ODAC used by BAM (C:\OracleBAM\ClientForBAM\bin) is the first item in the system PATH
    environment variable. Restart your computer after fixing this.
    If that doesn't fix it, please check the Troubleshooting section in the BAM Install Guide.
    Regards, Stephen

  • Getting error in Oracle EDQP Webservice call using Soap UI

    Hi ,
    I am trying to use Oracle EDQP webservice : http://<<hostname>>:<<port>>/datalens/ws/Processor
    when i trying to access the processOneLine or processList operation, i am getting the follwing error:
    <faultstring>oracle.pdq.api1.minicore.SaDetailException: 1318: Invalid job step - Either you must specify a step name when there are multiple output steps or there are no output steps that return a result.
    Code: 1318
    Details: Either you must specify a step name when there are multiple output steps or there are no output steps that return a result.</faultstring>
    Please help me to resolve this issue.
    Thanks in Advance.
    - Raj

    Hi Raj,
    Not sure if this is already resolved.
    Seems your DSA has atleast 2 outputs. As of Version 11.1.1.6.1 the webervice allows calls to DSAs with only 1 output. So your options are:
    Combine your outputs to single output
    Use other integration methods
    Hope this helps.
    Thanks!
    Anand Lonkar

  • ODBC error in oracle 11g

    Hi all.
    I have installed oracle 11g release 2 64 bit on my system and also installed Informatica powercenter 9.1. the informatica repository is in oracle database. I have configured informatica perfectly since i could run workflow when connecting to flat files etc. i am having problem when i am trying to connect informatica to oracle source system and receiving following error the oracle(tm) client and networking components were not found. I read in many forums posts and realized i should install oracle client. I am encountering issues once the client is installed on my system. the issue is that my repository and integration server stops in informatica powercenter. the error log says TNS could not be resolved. then i tried to log in to database server "sys as sysdba" i am receiving error "ORA-01031: insufficient privileges ". I have done following things to resolve my error
    1) checked my user is in ora_dba group
    2) checked sqlnet.ora file SQLNET.AUTHENTICATION_SERVICES= (NTS)
    I dont know where to start to now fix this error. I have some questions Is there a problem installing both server and client on the same machine.
    Your help will be greatly appreciated.
    P.s I am not sure whether this to redirected to informatica forums or oracle forums so my apologizes if i am in a wrong place.
    Regards
    Rajkumar

    Hi Rajkumar,
    I suspect you're actually using 32 bit components, as I've only ever seen the error message you've posted "oracle(tm) client and networking components were not found" come from Microsoft ODBC or OLEDB provider for Oracle, and those only come in 32 bit. The fact that they got loaded in the first place and didnt find the client indicates the process is 32 bit.
    You'll first need to determine for sure whether the process that needs connectivity is 32 bit or 64 bit, then install that bit-ness of Oracle client. You can also install both a 32 bit and a 64 bit client, and in some cases you need both. If you're running it ON the database machine and already have a 64 bit database, that already includes a 64 bit client.
    In either case, you can probably just go with the 11201 client.. Here's the link, click "see all" to get to the client download:
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    Hope it helps,
    Greg
    Edited by: gdarling on Oct 15, 2012 7:40 AM

  • Error Message: oracle/jbo/html/databeans/Res

    I have copied required JAR and ZIP files into the /lib directory of Java Web Server. Classpath is also pointed to that. I am getting the first screen of JSP with menu on left side but I am getting "Error Message: oracle/jbo/html/databeans/Res" if I am trying to run any JSP having NavigationBar WebBean..Any Ideas. Otherwise
    null

    This is a new library with Jdev 9.0.3,
    bc4j_jclient_common.jar.
    iAS 9.0.2 doesn't include this file.

  • Getting ORA-06512: at "APPS.FND_MSG_PUB", line 279 error in Oracle Sourcing

    Hi,
    We have recently applied Sourcing Rollup 2 J patch in our instance. After this, when the users change their timezone, the system behaves weirdly. The Server timezone and Client timezone are set to Dubai timezone (GMT+4) at site level. If the user is using this timezone, there is no issues. But when the user changes the timezone to something else (anything > GMT+4 or anything < GMT+4), he cannot publish auctions. He is getting error like:
    oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "APPS.FND_MSG_PUB", line 279
    ORA-06512: at "APPS.HZ_TIMEZONE_PUB", line 877
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "APPS.FND_MSG_PUB", line 279
    ORA-06512: at "APPS.HZ_TIMEZONE_PUB", line 1088
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "APPS.PON_OEX_TIMEZONE_PKG", line 41
    ORA-06512: at "APPS.PON_AUCTION_PKG", line 1052
    ORA-06512: at line 1
    We feel like this is some issues with the system. Some times, this works, sometimes different kind of errors are seen. When user is trying to log in, another error like the following is seen:
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SQL_PLSQL_ERROR. Tokens: ROUTINE = AppsConnectionManager.appsInitialize(int,int,int,int,Connection):-1,-1,-1,0,oracle.jdbc.driver.OracleConnection@192a848; REASON = java.sql.SQLException: ORA-20001: Oracle error -6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    has been detected in FND_GLOBAL.INITIALIZE.
    ORA-06512: at "APPS.APP_EXCEPTION", line 70
    ORA-06512: at "APPS.FND_GLOBAL", line 64
    ORA-06512: at "APPS.FND_GLOBAL", line 1028
    ORA-06512: at "APPS.FND_GLOBAL", line 541
    ORA-06512: at line 1
    When we bounced server, this error went away. But the first error still persists. What could be the reason for this?
    Regards,
    Arun

    I traced through the packages. Here is the result:
    1. PON_AUCTION_PKG line 1052;
    x_newstarttime := PON_OEX_TIMEZONE_PKG.CONVERT_TIME(p_open_bidding_date,x_oex_timezone,x_timezone);
    'x_oex_timezone' is the 'Server Timezone' profile value at site level. 'x_timezone' is the user's timezone. If the user's timezone is not a valid zone (checking done in PON_OEX_TIMEZONE_PKG.VALID_ZONE procedure), this param is assigned the value of 'x_oex_timezone'.
    2. The PON_OEX_TIMEZONE_PKG.CONVERT_TIME procedure calls the procedure HZ_TIMEZONE_PUB.Get_Time(), and I hope here the issue starts. The OUT parameters to this procedure are toDate, status, msg_count and msg_data. Note that here the msg_data is defined as VARCHAR2(100).
    3. Within the procedure HZ_TIMEZONE_PUB.Get_Time(), the error is raised from line 877. This is a WHEN OTHERS case of this procedure. This is from the API ;
    FND_MSG_PUB.Count_And_Get(
    p_encoded => FND_API.G_FALSE,
    p_count => x_msg_count,
    p_data => x_msg_data);
    4. Next error from FND_MSG_PUB is from line 279. This is within the procedure FND_MSG_PUB.Count_And_Get, when executing the following statement:
    p_data := Get ( p_msg_index => G_FIRST ,
    p_encoded => p_encoded );
    5. The 'GET' procedure, sets the value from global table 'G_msg_tbl( G_msg_index ).encoded_message ' to the p_data variable, and here is a potential slippage. The global variable can hold a value of upto 2000 characters. But the p_data is originally defined to be of size VARCHAR2(100). I think this can cause the issue. I am not sure what is the message getting assigned to the global variable here.
    Could this be the problem? Inside the code, some assignments to fnd_mesage are done. But some of those messages are not present in our database (fnd_new_messages). Any clue on this would be greatly helpful.
    Thanks,
    Arun

  • Error in Oracle 10g (10.0.3) in Servlet Filtering

    Hi
    I found this error on oracle 10g (10.0.3) Version. my same code is working on 9.0.4 can you please tell what is the problem? I am using servlet filtering.
    Mine is swing base application which will call applet and this will call Servlet.
    500 Internal Server Error
    java.lang.IllegalStateException: dispatcher chain is empty
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.EvermindHttpServletRequest.getCurrentDispatcher(EvermindHttpServletRequest.java:3975)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.EvermindHttpServletRequest.getParameters(EvermindHttpServletRequest.java:1393)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.EvermindHttpServletRequest.getParameter(EvermindHttpServletRequest.java:2126)
         at com.fmr.cfit.security.IdentityAgent.getUserIdFromParameter(Unknown Source)
         at com.fmr.cfit.security.IdentityAgent.getUserId(Unknown Source)
         at com.fmr.cfit.security.IdentityAgent.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.FileRequestDispatcher.handleWithFilter(FileRequestDispatcher.java:130)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.FileRequestDispatcher.forwardInternal(FileRequestDispatcher.java:210)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:824)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:291)
         at java.lang.Thread.run(Unknown Source)

    I am able to resolve the issue:
    The mistake I was doing was creating ORACLE_HOME in the enviornment variable, as I have Oracle 10 G database and SOA suite on the same machine, so it was creating a clash, the right approach is setting the ORACLE_HOME through command prompt, I was setting ORACLE_HOME because while executing the configure_oid.bat file it requires ORACLE_HOME to be set.
    -Yatan

  • JDeveloper Error ! oracle.xml.sql.OracleXMLSQLException: Cannot map Unicode

    Hi All,
    I have 2 identical table structures with different data in Oracle.
    I am using following xsql and XSLT sheet to produce xml files with these tables. ( have to run twice xsql file by changing the Table names )
    When I run the xsql file with Table1, it works fine, produced the xml file on the browser.
    But when I run the xsql file with Table2, it gives following error message:
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'http://192.10.1.14:8988/Workspace_ONIX-ONIX2-context-root/untitled1.xsql'. Line 1, Position 1
    oracle.xml.sql.OracleXMLSQLException: Cannot map Unicode to Oracle character.
    ^
    These two are my xsql and xslt files:
    - - - - xsql file - - - -
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <?xml-stylesheet type="text/xsl" href="TT14.xsl"?>
    <xsql:query connection="Connection1" id-attribute="" tag-case="lower"
    rowset-element="LIST" row-element="DEPA"
    xmlns:xsql="urn:oracle-xsql">
    SELECT * from TT26
    </xsql:query>
    TT14.xsl file
    <xsl:stylesheet version="1.0" encoding="UTF-8" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method ="xml" indent= "yes" encoding="UTF-8"/>
    <!--DOCTYPE ONIXmessage SYSTEM "http://www.editeur.org/onix/2.1/reference/onix-international.dtd"-->
    <xsl:template match ="list">
    <BBMessage>
    <<xsl:for-each select="depa">
    <Product>
    <RecordReference>
    <xsl:value-of select="wai"/>
    </RecordReference>
    <NotificationType>
    <xsl:value-of select="wantype"/>
    </NotificationType>
    </Product>
    </xsl:for-each>
    </BBMessage>
    </xsl:template>
    </xsl:stylesheet>
    All comments are highly welcomed...
    Thanks

    Hi Deepak
    Thanks for the post, but I am afraid that's not the issue with the error.
    I changed both encoding to "UTF-8" still i get the problem.
    I tried even without the XSLT sheet, still I have the problem..
    - - - - xsql file ---
    &lt;?xml version = '1.0' ?&gt;
    &lt;!--
    | Uncomment the following processing instruction and replace
    | the stylesheet name to transform output of your XSQL Page using XSLT
    &lt;?xml-stylesheet type="text/xsl" href="YourStylesheet.xsl" ?&gt;
    --&gt;
    &lt;page xmlns:xsql="urn:oracle-xsql" connection="Connection1"&gt;
    &lt;xsql:query max-rows="-1" null-indicator="no" tag-case="lower"&gt;
    select * from Table2
    &lt;/xsql:query&gt;
    &lt;/page&gt;
    - - - - Result ----
    &lt;?xml version="1.0" ?&gt;
    - &lt;!--
    | Uncomment the following processing instruction and replace
    | the stylesheet name to transform output of your XSQL Page using XSLT
    &lt;?xml-stylesheet type="text/xsl" href="YourStylesheet.xsl" ?&gt;
    --&gt;
    - &lt;page&gt;
    &lt;error&gt;oracle.xml.sql.OracleXMLSQLException: Cannot map Unicode to Oracle character.&lt;/error&gt;
    &lt;/page&gt;
    Any Comment ???
    Thanks

  • Get more info about the last errors in Oracle

    Hi all,
    There is a log in a live system where it is possible to see every minute the following error:
    Sweep Incident[48073]: failed, err=[1858]
    I know that error can happen mainly when:
    1. Trying to insert caracter field in a numeric column
    2. Using in the wrong way the function to_date()
    I need more information about that error, what can be causing the error in the system and why. Is it possible to see more information about the last errors in Oracle? For example, if a query produces an error... is it possible to see in Oracle the error and the query that caused the error?
    Hope you can help me.
    Thanks in advance.

    Thanks Niall.
    I'm not sure if I got you...
    What I found is that MMON makes snapshots of the database 'health' and stores this information in the AWR. So, it seems like in the database there could be a numeric column that is storing character fields, and when MMON works, it finds that error... is that right?
    I found the following information:
    SQL> select substr(s.username,1,18) username,
    2 substr(s.program,1,22) program,
    3 decode(s.command,
    4 0,'No Command',
    5 1,'Create Table',
    6 2,'Insert',
    7 3,'Select',
    8 6,'Update',
    9 7,'Delete',
    10 9,'Create Index',
    11 15,'Alter Table',
    12 21,'Create View',
    13 23,'Validate Index',
    14 35,'Alter Database',
    15 39,'Create Tablespace',
    16 41,'Drop Tablespace',
    17 40,'Alter Tablespace',
    18 53,'Drop User',
    19 62,'Analyze Table',
    20 63,'Analyze Index',
    21 s.command||': Other') command
    22 from
    23 v$session s,
    24 v$process p,
    25 v$transaction t,
    26 v$rollstat r,
    27 v$rollname n
    28 where s.paddr = p.addr
    29 and s.taddr = t.addr (+)
    30 and t.xidusn = r.usn (+)
    31 and r.usn = n.usn (+)
    32 order by 1;
    USERNAME PROGRAM COMMAND
    oracle@airvs1b (MMON) No Command
    SQL> select addr, pid, spid, username, serial#, program,traceid, background, latchwait, latchspin from v$process where program='oracle@airvs1b (MMON)';
    ADDR PID SPID USERNAME SERIAL# PROGRAM
    000000044A4E48A8 24 15372 oracle 1 oracle@airvs1b (MMON)
    TRACEID B LATCHWAIT LATCHSPIN
    ---------------- ---------- ------------------------ --------------- 1
    SQL> select
    2 substr(a.spid,1,9) pid,
    3 substr(b.sid,1,5) sid,
    4 substr(b.serial#,1,5) ser#,
    5 substr(b.machine,1,6) box,
    6 substr(b.username,1,10) username,
    7 b.server,
    8 substr(b.osuser,1,8) os_user,
    9 substr(b.program,1,40) program
    10 from v$session b, v$process a
    11 where
    12 b.paddr = a.addr
    13 and a.spid=15372
    14 order by spid;
    PID SID SER# BOX USERNAME SERVER OS_USER PROGRAM
    15372 1082 1 airvs1 DEDICATED oracle oracle@airvs1b (MMON)
    Is there any way I can see what MMON is doing and when is failing?
    Thank you very much.
    Edited by: user11281526 on 19-jun-2009 5:18

Maybe you are looking for

  • Need to take over apple ID due to death of a family member

    My Dad has died and I need to take over his apple ID in order to help my mum, who has his iPhone, computer, MacBook, iPad, and her iPhone all on his account. I have tried several times contacting Apple Support, and was starting to get somewhere, howe

  • My iPhone 3GS keeps freezing when I lock the keypad

    I have a 32gb iPhone 3gs and it regularly freezes when I lock the keypad. It sometimes comes unfrozen after a while (usually a long time) and sometimes doesn't come back at all and I have to reset it. I find that it consistently and nearly 100% of th

  • T61p docking station/ethernet cable problem

    When placed in the mini docking station, my T61p laptop fails to recognize the Ethernet cable connected to the dock itself.  To  successfully use an Ethernet connection the cable must be connected directly to the Ethernet port on the thinkpad and the

  • XMI import/export

    Cannot find how to import XMI formatted UML models in the JDeveloper3.0 trial version. Any clue ?

  • Configure JDeveloper ADF Project based on user properties

    I have my own project code tree and would like to create a JDeveloper Project based on that. Is there a way to instruct JDeveloper to read the source file locations from a properties file. For example, look into \trunk\jsp_src for all the jsf files ;