Illegal java monitor exception
hi all,
i am making an application in which i am receiving live data from from server and i am storing that data into hashtable through one thread then i am reading data from the same hashtable through another thread and wans to display upon applet now the problem is that i am getting
Exception in thread "Thread-4" java.lang.IllegalMonitorStateException: current thread not owner
at java.lang.Object.notify(Native Method)
at Test1$2.execute(Test1.java:102)
at Test1$2.run(Test1.java:73)etting exception
I believe in your current code the synchronized/wait/notify mechanism is decentralized and dispersed among accessor objects of the required data. You should centralize it for the peace of your life.
/* pseudo code */
public class MyDataStore{
private Hashtable data;
public synchronized Boo getData(Object key){
while (data is empty){
wait();
return data.get(key); // may return null
// etc.
}
Similar Messages
-
FCC error :java.lang.Exception: Column value ' ' too long
Hi all,
I am using FCC on receiving File adapter...
While executing i am getting this error in CC monitor
com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value ' ' too long (>1 for 2. column) - must stop',
i searched in SDN but no luck till now..
Plz help me out..
Thanx in advance.Hi,
Check ur FCC parameters,
File content conversion sites
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
Phani.
Reward points if Helpful -
Java.lang.Exception error during XML validation by Integration Engine
Hi professionals,
We are trying to use XML validation by the Integration Engine.
Step 1:
We created an appropriate directory structure where we had to store the structure (xsd).
\usr\sap\<system id>\SYS\global\xi\runtime_server\A\B\C\D\E\F
A - validation
B - schema
C - GUID of the SWCV where service interface reside.
D - Repository Namespace where Service Interface is created.
E - Service Interface Name
F - Repository Namespace where Message Type or External Definition is
assigned.
Step 2:
We also changed the references in the xsd to exclude all the subdirectory references.
e.g folder1/folder2/abc.xsd is become abc.xsd only
Step 3:
We stored both xsdu2019s (schema xsd and referenced xsd to the directory created in step 1)
Step 4:
We changed the directory and xsdu2019s permissions to 777 (we chose 777 for testing purpose).
Step 5:
We changed the property schema validation of the sender agreement to Validation by Integration Engine.
Step 6:
We checked RFC destination for AI_VALIDATION_JCOSERVER on AS ABAP and AS Java and establish an successful connection test.
RESTULTS
The result of those steps is an error message in the message monitor of PI with the error tekst:
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="XML_VALIDATION_INB">CX_XMS_SYSERR_VALIDATION</SAP:Code>
<SAP:P1>java.lang.Exception</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>not used at the moment.</SAP:AdditionalText>
<SAP:Stack>System error occurred during XML validation</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Please assist in how to solve this issueu2026.
Regards, Sjaak.I would suggest follow Appendix A to know the exact path and since you have one XSD referring other XSD check the steps mentioned in Appendix B .... there seems to be some error in referencing ...Appendix A and B are on page 12 & 13 of this document:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06dff94-9913-2b10-6f82-9717d9f83df1?quicklink=index&overridelayout=true
Regards,
Abhishek. -
Error java.lang.Exception: IOException in sending Request :: No rou
hi
Error
java.lang.Exception: IOException in sending Request :: No route to host: connect
this error occur when i open the EM every time,
all my dba_users accounts are unlocked
& when i tried to get the monitoring configuration the no item found dislplays
what i have to so now any point
thanksuser8664817 wrote:
10.2.0.3.0 on win2008(VMWARE) also i have number of invalid objects under different schemas on first installation
wndows firewall is off.Chances are the "invalid objects" are a diversion ... utlrp.sql and move along.
No route to host seems to point to network. Ping? TNSPing? DHCP? Route? -
About "Illegal group reference" exception throws in Matcher
I somehow need to have a string containing one or more '$' be used in some appendReplacement() function in a matcher, so I decided to modify the "$" character in that string into "\$" to escape from capturing an invalid group.
Here is an example illustrating my case:
http://developer.domaindlx.com/ron/TestRE.java.txt
But after changing the "$" to "\\$", supposedly I did, "Illegal group reference" exception still threw when I try to use that "$"-containing string in appendReplacement() method in Matchers.
Can anyone kindly tell me the reason behind and suggest me possible solution?
Thank you very much.You didn't put enough backslashes in (and no I don't know why the extra is needed - probably because there is another layer in there.)
String newString = oldString.replaceAll("[\\$]", "\\\\\\$"); -
Java.lang.Exception: Overwriting file
Hi All,
We are having some trouble with one of our interfaces where XI creates files in append mode and gets the filename from the Payload. From last couple of days, we are getting the below error for some reason. There are no other extra config setups in the file CC.
Any help to figure out the issue would be highly appreciated.
2008-08-12 14:04:56 Error Attempt to process file failed with java.lang.Exception: Overwriting file '
host\folder\otci001\Archive\08122008_140453_OTCI001.txt' not allowed due to configuration flag
2008-08-12 14:04:56 Error Exception caught by adapter framework: Overwriting file '
host\folder\otci001\Archive\08122008_140453_OTCI001.txt' not allowed due to configuration flag.
Thanks,
AJ.HI,
Once the file is appended, are you doing any further processing with file. because the error "not allowed due to configuration flag" and as youhave said its not for al the messages indicates to single point.
If the attempt to append the data in file if in case that is in processing and have locked with some other process flow marked after XI...
You may also need to look into the FTP log details...for more details
Thanks
Swarup -
Urgent help required "java.lang.Exception: Connection reset"
Hi Everyone,
I am getting error message when I access cluster database from grid console.
Error java.lang.Exception: Connection reset
I am unable to create jobs or do other admin stuff on the database, I have searched alot , restarted the repository database, restarted the emgc components, even the agents but of no use. The agent status showing OK as under.
Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent Version : 10.2.0.3.0
OMS Version : 10.2.0.3.0
Protocol Version : 10.2.0.2.0
Agent Home : /app/oracle/agent/agent10g/rac2.tawaf
Agent binaries : /app/oracle/agent/agent10g
Agent Process ID : 19646
Parent Process ID : 19629
Agent URL : https://rac2.tawaf:3872/emd/main
Repository URL : https://tawafapp.tawaf:1159/em/upload
Started at : 2009-04-02 11:26:10
Started by user : oracle
Last Reload : 2009-04-02 11:26:10
Last successful upload : 2009-04-02 12:27:42
Total Megabytes of XML files uploaded so far : 3.48
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0.00
Available disk space on upload filesystem : 86.22%
Last successful heartbeat to OMS : 2009-04-02 12:30:20
Agent is Running and Ready
The error reported in emoms.log is as under.
2009-04-02 12:37:25,073 [MetricCollector:RACHOMETAB_THREAD600:60] ERROR rt.RacMetricCollectorTarget _getAllData.184 - oracle.sysman.emSDK.emd.comm.CommException: Connection reset
oracle.sysman.emSDK.emd.comm.CommException: Connection reset
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1543)
at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:915)
at oracle.sysman.emo.rac.perform.metric.rt.RacHomeTab._getAllData(RacHomeTab.java:180)
at oracle.sysman.emo.rac.perform.metric.rt.RacHomeTab.getData(RacHomeTab.java:91)
at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:404)
at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
at java.lang.Thread.run(Thread.java:534)
can anyone help me as its very urgent for me to clear this error.
thanksthis error is also reported against the cluster database.
Thread: SeverityLoad https://rac2.tawaf:3872/emd/main java.sql.SQLException: ORA-20613: Severity for unknown target. (target guid = 1938FC9C72DDAC01E0C0F268FFC5F6AD) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 174 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 43, File name:Severity -
EM console error java.lang.exception no such target ?
My database oracle 10g EM console getting error message java.lang.exception no such target.
How to solve this error ?Hi,
I have the same problem, and when looking for the sysman/log files I found the following erros reported:
[oracle@dbserver log]$ tail emdb.nohup
10/09/08 12:59:19 ## 1. newPage = /database/instance/sitemap/sitemap
10/09/08 12:59:19 ## 2. newPage = /database/instance/sitemap/sitemap
10/09/08 12:59:23 ## oracle.sysman.db.adm.inst.SitemapController: event="doLoad"
10/09/08 12:59:23 ## 1. newPage = /database/instance/sitemap/health
10/09/08 12:59:23 ## oracle.sysman.db.adm.inst.SitemapController: event="doLoad"
10/09/08 12:59:23 ## 1. newPage = /database/instance/sitemap/health
10/09/08 12:59:23 ## 2. newPage = /database/instance/sitemap/health
10/09/08 12:59:28 ## oracle.sysman.db.adm.inst.SitemapController: event="doLoad"
10/09/08 12:59:28 ## 1. newPage = /database/instance/sitemap/sitemap
10/09/08 12:59:28 ## 2. newPage = /database/instance/sitemap/sitemap
[oracle@dbserver log]$
[oracle@dbserver log]$
[oracle@dbserver log]$ tail emoms.log
2010-09-08 12:51:31,094 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.tip.oem.central.instance.ProcessConnectInstanceIntg
2010-09-08 12:51:31,097 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.webdb.admin.em.PortalIntegration
2010-09-08 12:51:31,099 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.webdb.admin.em.SSOIntegration
2010-09-08 12:51:31,101 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.reports.em.RepIntg
2010-09-08 12:51:31,102 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsEmailIntegration
2010-09-08 12:51:31,135 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOidIntegration
2010-09-08 12:51:31,137 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOvfIntegration
2010-09-08 12:51:31,139 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWebconfIntegration
2010-09-08 12:51:31,141 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWirelessIntg
2010-09-08 12:51:31,143 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsCalGrpIntegration
[oracle@dbserver log]$
[oracle@dbserver log]$
[oracle@dbserver log]$ tail emoms.trc
2010-09-08 12:51:31,094 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.tip.oem.central.instance.ProcessConnectInstanceIntg
2010-09-08 12:51:31,097 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.webdb.admin.em.PortalIntegration
2010-09-08 12:51:31,099 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.webdb.admin.em.SSOIntegration
2010-09-08 12:51:31,101 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.reports.em.RepIntg
2010-09-08 12:51:31,102 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsEmailIntegration
2010-09-08 12:51:31,135 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOidIntegration
2010-09-08 12:51:31,137 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOvfIntegration
2010-09-08 12:51:31,139 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWebconfIntegration
2010-09-08 12:51:31,141 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWirelessIntg
2010-09-08 12:51:31,143 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsCalGrpIntegration
[oracle@dbserver log]$
[oracle@dbserver log]$
[oracle@dbserver log]$
[oracle@dbserver log]$ tail emagent.trc
2010-09-08 12:49:32 Thread-47082384 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2010-09-08 12:49:35 Thread-126417808 ERROR : (nmedmtm.c,626):Memory 0x0 encountered, expect struct_id=10502
2010-09-08 12:49:35 Thread-126417808 ERROR emSDK.xml: ParseError: File=file:/oracle/product/102/db_1/SERVER_ORACLE_SID/sysman/emd/collection/oracle_database_ORACLE_SID.xml, Line=2, Msg=<CollectionItem> Target NAME=ORACLE_SID does not exist
2010-09-08 12:49:35 Thread-126417808 WARN collector: putTgtColl aborted - null type or name
2010-09-08 12:49:35 Thread-126417808 ERROR recvlets: Failed to remove target ORACLE_SID oracle_database (key BA9A34B2AFFFC3FA92AB311F36350213) from hashtable for recvlet tnmevr
2010-09-08 12:49:35 Thread-126417808 ERROR recvlets: Failed to remove target ORACLE_SID oracle_database (key BA9A34B2AFFFC3FA92AB311F36350213) from hashtable for recvlet AQMetrics
2010-09-08 12:49:35 Thread-126417808 WARN upload: Upload manager has no Failure script: disabled
2010-09-08 12:49:35 Thread-40782736 ERROR upload: Error in uploadXMLFiles. Trying again in 123.00 seconds.
2010-09-08 12:50:32 Thread-40782736 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2010-09-08 12:51:02 Thread-40782736 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
[oracle@dbserver log]$
[oracle@dbserver log]$
[oracle@dbserver log]$
[oracle@dbserver log]$ tail emagent.log
2010-09-08 11:35:15 Thread-58100624 target {ORACLE_SID, oracle_database} is broken: cannot compute dynamic properties in time. (00155)
2010-09-08 11:35:15 Thread-58100624 ParseError: File=file:/oracle/product/102/db_1/SERVER_ORACLE_SID/sysman/emd/collection/oracle_database_ORACLE_SID.xml, Line=2, Msg=<CollectionItem> Target NAME=ORACLE_SID does not exist (01006)
2010-09-08 11:37:57 Thread-46816144 ParseError: File=file:/oracle/product/102/db_1/SERVER_ORACLE_SID/sysman/emd/collection/oracle_database_ORACLE_SID.xml, Line=2, Msg=<CollectionItem> Target NAME=ORACLE_SID does not exist (01006)
2010-09-08 12:43:52 Thread-3336784 EMAgent normal shutdown (00703)
2010-09-08 12:45:32 Thread-8911408 Starting Agent 10.1.0.6.0 from /oracle/product/102/db_1 (00701)
2010-09-08 12:47:02 Thread-8911408 target {ORACLE_SID, oracle_database} is broken: cannot compute dynamic properties in time. (00155)
2010-09-08 12:47:02 Thread-8911408 ParseError: File=file:/oracle/product/102/db_1/SERVER_ORACLE_SID/sysman/emd/collection/oracle_database_ORACLE_SID.xml, Line=2, Msg=<CollectionItem> Target NAME=ORACLE_SID does not exist (01006)
2010-09-08 12:47:02 Thread-8911408 fatal error parsing /oracle/product/102/db_1/SERVER_ORACLE_SID/sysman/emd/collection/oracle_database_ORACLE_SID.xml, will be ignored (00405)
2010-09-08 12:47:02 Thread-8911408 EMAgent started successfully (00702)
2010-09-08 12:49:35 Thread-126417808 ParseError: File=file:/oracle/product/102/db_1/SERVER_ORACLE_SID/sysman/emd/collection/oracle_database_ORACLE_SID.xml, Line=2, Msg=<CollectionItem> Target NAME=ORACLE_SID does not exist (01006)
And when looking for this error on ML : "target {ORACLE_SID, oracle_database} is broken: cannot compute dynamic properties in time. (00155)"
I found this document: "Target {database instance, oracle_database} is broken: cannot compute dynamic properties in time [ID 739993.1]"
Which said:
1. Stop the dbconsole
./emctl stop dbconsole
2. Have a back up of the emd.properties file which is in <ORACLE_HOME>/Hostname_SID/sysman/config
Increase the value of
dynamicPropsComputeTimeout=60
to
dynamicPropsComputeTimeout=120
3. Start the dbconsole
./emctl start dbconsole
I follow the instructions and the problem was solved.
post results
Regards -
EM Error : java.lang.Exception: No Such Target
Hi All
I have 10 databses in the server and getting this error only for the one database " java.lang.Exception: No Such Target "
When i stop dbconsole and start it again then the problem will solve but the within a day or two again the same message is appearing.
What would be the best solution for this?Hi,
I have the same problem, and when looking for the sysman/log files I found the following erros reported:
[oracle@dbserver log]$ tail emdb.nohup
10/09/08 12:59:19 ## 1. newPage = /database/instance/sitemap/sitemap
10/09/08 12:59:19 ## 2. newPage = /database/instance/sitemap/sitemap
10/09/08 12:59:23 ## oracle.sysman.db.adm.inst.SitemapController: event="doLoad"
10/09/08 12:59:23 ## 1. newPage = /database/instance/sitemap/health
10/09/08 12:59:23 ## oracle.sysman.db.adm.inst.SitemapController: event="doLoad"
10/09/08 12:59:23 ## 1. newPage = /database/instance/sitemap/health
10/09/08 12:59:23 ## 2. newPage = /database/instance/sitemap/health
10/09/08 12:59:28 ## oracle.sysman.db.adm.inst.SitemapController: event="doLoad"
10/09/08 12:59:28 ## 1. newPage = /database/instance/sitemap/sitemap
10/09/08 12:59:28 ## 2. newPage = /database/instance/sitemap/sitemap
[oracle@dbserver log]$
[oracle@dbserver log]$
[oracle@dbserver log]$ tail emoms.log
2010-09-08 12:51:31,094 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.tip.oem.central.instance.ProcessConnectInstanceIntg
2010-09-08 12:51:31,097 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.webdb.admin.em.PortalIntegration
2010-09-08 12:51:31,099 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.webdb.admin.em.SSOIntegration
2010-09-08 12:51:31,101 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.reports.em.RepIntg
2010-09-08 12:51:31,102 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsEmailIntegration
2010-09-08 12:51:31,135 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOidIntegration
2010-09-08 12:51:31,137 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOvfIntegration
2010-09-08 12:51:31,139 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWebconfIntegration
2010-09-08 12:51:31,141 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWirelessIntg
2010-09-08 12:51:31,143 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsCalGrpIntegration
[oracle@dbserver log]$
[oracle@dbserver log]$
[oracle@dbserver log]$ tail emoms.trc
2010-09-08 12:51:31,094 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.tip.oem.central.instance.ProcessConnectInstanceIntg
2010-09-08 12:51:31,097 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.webdb.admin.em.PortalIntegration
2010-09-08 12:51:31,099 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.webdb.admin.em.SSOIntegration
2010-09-08 12:51:31,101 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.reports.em.RepIntg
2010-09-08 12:51:31,102 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsEmailIntegration
2010-09-08 12:51:31,135 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOidIntegration
2010-09-08 12:51:31,137 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOvfIntegration
2010-09-08 12:51:31,139 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWebconfIntegration
2010-09-08 12:51:31,141 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWirelessIntg
2010-09-08 12:51:31,143 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsCalGrpIntegration
[oracle@dbserver log]$
[oracle@dbserver log]$
[oracle@dbserver log]$
[oracle@dbserver log]$ tail emagent.trc
2010-09-08 12:49:32 Thread-47082384 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2010-09-08 12:49:35 Thread-126417808 ERROR : (nmedmtm.c,626):Memory 0x0 encountered, expect struct_id=10502
2010-09-08 12:49:35 Thread-126417808 ERROR emSDK.xml: ParseError: File=file:/oracle/product/102/db_1/SERVER_ORACLE_SID/sysman/emd/collection/oracle_database_ORACLE_SID.xml, Line=2, Msg=<CollectionItem> Target NAME=ORACLE_SID does not exist
2010-09-08 12:49:35 Thread-126417808 WARN collector: putTgtColl aborted - null type or name
2010-09-08 12:49:35 Thread-126417808 ERROR recvlets: Failed to remove target ORACLE_SID oracle_database (key BA9A34B2AFFFC3FA92AB311F36350213) from hashtable for recvlet tnmevr
2010-09-08 12:49:35 Thread-126417808 ERROR recvlets: Failed to remove target ORACLE_SID oracle_database (key BA9A34B2AFFFC3FA92AB311F36350213) from hashtable for recvlet AQMetrics
2010-09-08 12:49:35 Thread-126417808 WARN upload: Upload manager has no Failure script: disabled
2010-09-08 12:49:35 Thread-40782736 ERROR upload: Error in uploadXMLFiles. Trying again in 123.00 seconds.
2010-09-08 12:50:32 Thread-40782736 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2010-09-08 12:51:02 Thread-40782736 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
[oracle@dbserver log]$
[oracle@dbserver log]$
[oracle@dbserver log]$
[oracle@dbserver log]$ tail emagent.log
2010-09-08 11:35:15 Thread-58100624 target {ORACLE_SID, oracle_database} is broken: cannot compute dynamic properties in time. (00155)
2010-09-08 11:35:15 Thread-58100624 ParseError: File=file:/oracle/product/102/db_1/SERVER_ORACLE_SID/sysman/emd/collection/oracle_database_ORACLE_SID.xml, Line=2, Msg=<CollectionItem> Target NAME=ORACLE_SID does not exist (01006)
2010-09-08 11:37:57 Thread-46816144 ParseError: File=file:/oracle/product/102/db_1/SERVER_ORACLE_SID/sysman/emd/collection/oracle_database_ORACLE_SID.xml, Line=2, Msg=<CollectionItem> Target NAME=ORACLE_SID does not exist (01006)
2010-09-08 12:43:52 Thread-3336784 EMAgent normal shutdown (00703)
2010-09-08 12:45:32 Thread-8911408 Starting Agent 10.1.0.6.0 from /oracle/product/102/db_1 (00701)
2010-09-08 12:47:02 Thread-8911408 target {ORACLE_SID, oracle_database} is broken: cannot compute dynamic properties in time. (00155)
2010-09-08 12:47:02 Thread-8911408 ParseError: File=file:/oracle/product/102/db_1/SERVER_ORACLE_SID/sysman/emd/collection/oracle_database_ORACLE_SID.xml, Line=2, Msg=<CollectionItem> Target NAME=ORACLE_SID does not exist (01006)
2010-09-08 12:47:02 Thread-8911408 fatal error parsing /oracle/product/102/db_1/SERVER_ORACLE_SID/sysman/emd/collection/oracle_database_ORACLE_SID.xml, will be ignored (00405)
2010-09-08 12:47:02 Thread-8911408 EMAgent started successfully (00702)
2010-09-08 12:49:35 Thread-126417808 ParseError: File=file:/oracle/product/102/db_1/SERVER_ORACLE_SID/sysman/emd/collection/oracle_database_ORACLE_SID.xml, Line=2, Msg=<CollectionItem> Target NAME=ORACLE_SID does not exist (01006)
And when looking for this error on ML : "target {ORACLE_SID, oracle_database} is broken: cannot compute dynamic properties in time. (00155)"
I found this document: "Target {database instance, oracle_database} is broken: cannot compute dynamic properties in time [ID 739993.1]"
Which said:
1. Stop the dbconsole
./emctl stop dbconsole
2. Have a back up of the emd.properties file which is in <ORACLE_HOME>/Hostname_SID/sysman/config
Increase the value of
dynamicPropsComputeTimeout=60
to
dynamicPropsComputeTimeout=120
3. Start the dbconsole
./emctl start dbconsole
I follow the instructions and the problem was solved.
post results
Regards -
Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
Checks performed:
RMS Application code location and directory contents:
[oracle@test-rms-app application]$ pwd
/binary_files/STAGING_DIR/rms/application
[oracle@test-rms-app application]$ ls -ltr
total 144
-rw-r--r-- 1 oracle oinstall 272 Dec 7 2010 version.properties
-rw-r--r-- 1 oracle oinstall 405 Jan 16 2011 expected-object-counts.properties
-rw-r--r-- 1 oracle oinstall 892 May 13 2011 ant.install.properties.sample
-rw-r--r-- 1 oracle oinstall 64004 Jun 6 2011 build.xml
drwxr-xr-x 9 oracle oinstall 4096 Jun 16 2011 rms13
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 installer-resources
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 antinstall
drwxr-xr-x 2 oracle oinstall 4096 Jun 16 2011 ant-ext
drwxr-xr-x 5 oracle oinstall 4096 Jun 16 2011 ant
-rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
-rwxr-xr-x 1 oracle oinstall 4249 Dec 18 10:01 install.sh
drwxr-xr-x 4 oracle oinstall 4096 Dec 18 10:06 common
-rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
-rw-r--r-- 1 oracle oinstall 689 Dec 19 10:37 ant.install.log
[oracle@test-rms-app application]$
Application installation:
[oracle@test-rms-app application]$ ./install.sh
THIS IS the driver directory
Verified $ORACLE_SID.
Verified SQL*Plus exists.
Verified write permissions.
Verified formsweb.cfg read permissions.
Verified Registry.dat read permissions.
Verified Java version 1.4.2.x or greater. Java version - 1.6.0
Verified Tk2Motif.rgb settings.
Verified frmcmp_batch.sh status.
WARNING: Oracle Enterprise Linux not detected. Some components may not install properly.
Verified $DISPLAY - 172.16.129.82:0.0.
This installer will ask for your "My Oracle Support" credentials.
Preparing installer. This may take a few moments.
Your internet connection type is: NONE
Integrating My Oracle Support into the product installer workflow...
[move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
Installer preparation complete.
MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
WLS_INSTANCE=WLS_FORMS
ORACLE_SID=rmsdbtst
JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
Launching installer...
To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
[oracle@test-rms-app application]$ tnsping rmsdbtst
TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
Copyright (c) 1997, 2008, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
OK (0 msec)
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ ping test-rms-db
PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
--- test-rms-db.vonmaur.vmc ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ uname -a
Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ cat /etc/*-release
Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
[oracle@test-rms-app application]$
The database is created and all the batch file scripts have been successfully deployed. Now working on the application server. The Weblogic server is installed and 11g forms and reports are installed successfully.
Any help would be helpful.
Thanks,
Ram.Please check MOS Notes:
FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1) -
Hello consultant:
We are trying configurated SSO usind SPNEGO module
We have a portal 7.0 ehp1 and Active Directory Microsoft versión 2003 native
we have followed the steps described in note Sap 1457499"Note 1457499 - SPNego add-on"
When we have logged with user Active Directory and we try access to portal we obtain following error:
Authorization check user error
We have Deploy the Web diagtool from SAP Note 1045019 on the J2EE server, run it and perform the
following steps:
1. Select "Component" = "security" and "Activity" = "all"
2. Click the "Go" button, followed by the "Add All" button
3. Select "Component" = "All" and in the "Search pattern" field write "com.sap.security.spnego"
4. Click the "Go" button, followed by the "Add All" button
5. Start the tool
Then we have reproduce the problem and stop the tool. The generated zip file will contain following error:
15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~p.security.spnego.krb5.crypto.DesCrypto Checksum error! checksum: 0xc46bfed8d0dbc54221ee75405c8cd5ac; calculated checksum: 0x6ead7e801608b729a6957597327f2ba5
15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~m.sap.security.spnego.SPNEGOLoginModule Could not validate SPNEGO token.
java.lang.Exception: Checksum error.
at com.sap.security.spnego.krb5.crypto.DesCrypto.decrypt(DesCrypto.java:43)
at com.sap.security.spnego.krb5.KrbEncryptedData.decrypt(KrbEncryptedData.java:81)
at com.sap.security.spnego.krb5.KrbApReq.decrypt(KrbApReq.java:67)
at com.sap.security.spnego.SPNEGOLoginModule.parseAndValidateSPNEGOToken(SPNEGOLoginModule.java:234)
at com.sap.security.spnego.SPNEGOLoginModule.processAuthorizationHeader(SPNEGOLoginModule.java:385)
at com.sap.security.spnego.SPNEGOLoginModule.login(SPNEGOLoginModule.java:102)
at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:185)
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:70)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:181)
at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:699)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:151)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:634)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:631)
at javax.security.auth.login.LoginContext.login(LoginContext.java:557)
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:912)
at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.login(AuthenticationService.java:367)
at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:126)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:181)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Could you help us?
Many thanks for your collaboration<< Do not post the same question across a number of forums >>
-
Hi,
Can some one provide a resolution for below error:
I have created an interface which load data from csv file which has 320 columns, to a Synonym which has 320 columns in it
using LKM File to SQL, IKM Sql Control Append.
I am getting below error when executing the interface :
com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation. Task: 6 java.lang.Exception: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "
" (92), after : "": <at unknown location> BSF info: Create external table at line: 0 column: columnNo
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:485)
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:711)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.bsf.BSFException: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "
" (92), after : "": <at unknown location>
BSF info: Create external table at line: 0 column: columnNo
at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
... 11 more
Text: The application script threw an exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 BSF info: Create external table at line: 0 column: columnNo
out.print("createTblCmd = r\"\"\"\ncreate table ") ;
out.print(odiRef.getTable("L", "COLL_NAME", "W")) ;
out.print("<?=(extTabColFormat.getUseView())?\"_ET\":\"\"?>\n(\n\t") ;
out.print(odiRef.getColList("", "[CX_COL_NAME]
t"+
"<?=extTabColFormat.getExtTabDataType(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]
u0022, \\u0022[DEST_WRI_DT]
u0022, \\u0022[COL_FORMAT]
u0022, \\u0022[BYTES]
u0022, \\u0022[LONGC]
u0022, \\u0022[SCALE]
u0022)?>"
, ",\\n
t", "","")) ;
out.print("\n)\nORGANIZATION EXTERNAL\n(\n\tTYPE ORACLE_LOADER\n\tDEFAULT DIRECTORY dat_dir\n\tACCESS PARAMETERS\n\t(\n\t\tRECORDS DELIMITED BY 0x'") ;
out.print(odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")) ;
out.print("'\n\t\t") ;
out.print(odiRef.getUserExit("EXT_CHARACTERSET")) ;
out.print("\n\t\t") ;
out.print(odiRef.getUserExit("EXT_STRING_SIZE")) ;
out.print("\n\t\tBADFILE\t\t'") ;
out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
out.print("_%a.bad'\n\t\tLOGFILE\t\t'") ;
out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
out.print("_%a.log'\n\t\tDISCARDFILE\t'") ;
out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
out.print("_%a.dsc'\n\t\tSKIP \t\t") ;
out.print(odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")) ;
out.print("\n") ;
if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {out.print("\n\t\tFIELDS\n\t\t") ;
out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
out.print("\n\t\t(\n\t\t\t") ;
out.print(odiRef.getColList("", "[CX_COL_NAME]\\tPOSITION([FILE_POS]:[FILE_END_POS])
t"+
"<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]
u0022, \\u0022DEST_WRI_DT
u0022, \\u0022[COL_FORMAT]
u0022, \\u0022[BYTES]
u0022, \\u0022[LONGC]
u0022, \\u0022[SCALE]
u0022)?>"
, ",\\n\\t\\t
t", "","")) ;
out.print("\t\t\n\t\t)\n\t)\n") ;
} else {out.print("\n\t\tFIELDS TERMINATED BY x'") ;
out.print(odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")) ;
out.print("'\n\t\t") ;
if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){out.print("\n\t\t") ;
} else {out.print("OPTIONALLY ENCLOSED BY '") ;
out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)) ;
out.print("' AND '") ;
out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)) ;
out.print("' ") ;
}out.print("\n\t\t") ;
out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
out.print("\n\t\t(\n\t\t\t") ;
out.print(odiRef.getColList("", "[CX_COL_NAME]
t"+
"<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]
u0022, \\u0022DEST_WRI_DT
u0022, \\u0022[COL_FORMAT]
u0022, \\u0022[BYTES]
u0022, \\u0022[LONGC]
u0022, \\u0022[SCALE]
u0022)?>"
, ",\\n\\t\\t
t", "","")) ;
out.print("\t\t\n\t\t)\n\t)\n") ;
}out.print("\tLOCATION (") ;
out.print(odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")) ;
out.print(")\n)\n") ;
out.print(odiRef.getUserExit("EXT_PARALLEL")) ;
out.print("\nREJECT LIMIT ") ;
out.print(odiRef.getUserExit("EXT_REJECT_LIMIT")) ;
out.print("\n\"\"\"\n \n# Create the statement\nmyStmt = myCon.createStatement()\n \n# Execute the trigger creation\nmyStmt.execute(createTblCmd)\n \nmyStmt.close()\nmyStmt = None\n \n# Commit, just in case\nmyCon.commit()") ;
****** ORIGINAL TEXT ******
createTblCmd = r"""
create table <%=odiRef.getTable("L", "COLL_NAME", "W")%><?=(extTabColFormat.getUseView())?"_ET":""?>
<%=odiRef.getColList("", "[CX_COL_NAME]\t"+
"<?=extTabColFormat.getExtTabDataType(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022[DEST_WRI_DT]\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
, ",\n\t", "","")%>
ORGANIZATION EXTERNAL
TYPE ORACLE_LOADER
DEFAULT DIRECTORY dat_dir
ACCESS PARAMETERS
RECORDS DELIMITED BY 0x'<%=odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")%>'
<%=odiRef.getUserExit("EXT_CHARACTERSET")%>
<%=odiRef.getUserExit("EXT_STRING_SIZE")%>
BADFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.bad'
LOGFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.log'
DISCARDFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.dsc'
SKIP <%=odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")%>
<% if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {%>
FIELDS
<%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
<%=odiRef.getColList("", "[CX_COL_NAME]\tPOSITION([FILE_POS]:[FILE_END_POS])\t"+
"<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
, ",\n\t\t\t", "","")%>
<%} else {%>
FIELDS TERMINATED BY x'<%=odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")%>'
<% if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){%>
<%} else {%>OPTIONALLY ENCLOSED BY '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)%>' AND '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)%>' <%}%>
<%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
<%=odiRef.getColList("", "[CX_COL_NAME]\t"+
"<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
, ",\n\t\t\t", "","")%>
<%}%> LOCATION (<%=odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")%>)
<%=odiRef.getUserExit("EXT_PARALLEL")%>
REJECT LIMIT <%=odiRef.getUserExit("EXT_REJECT_LIMIT")%>
# Create the statement
myStmt = myCon.createStatement()
# Execute the trigger creation
myStmt.execute(createTblCmd)
myStmt.close()
myStmt = None
# Commit, just in case
myCon.commit().
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:738)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)Hi
I saw your issue and found one think that "String index out of range", can you please compare the columns datatype and column size with target table and ODI table.
ODI Table:
After Reverse Engine, CSV changed into table format can you please open the table from designer>model>csv table and goto columns tab, it will list out the all column name datatype and size. compare the column size and type with your target table.
hope this will resolve your issue.
Regards,
Phanikanth -
Keytool error: java.lang.Exception: Keystore file does not exist:
Hi All,
While listing the keystore using the command keytool -list, I got the error message that
keytool error: java.lang.Exception: Keystore file does not exist: C:\Documents and Settings\subramanian.arivalag\.keystore
I noticed there is no file .keystore in the above mentioned directory. What's this .keystore file? Will it be created automatically or should we create manually?
Already I created a keystore using -genkey command and received CA authority also.
Kindly provide me more details about .keystore file and how to handle this error.If you specified a keystore filename when you created the keystore
i.e. keytool -genkey -alias jboss-ssl -keyalg RSA -keystore my_name.keystore -validity 3650
then you need to specify the same keystore when you export the cert
i.e. keytool -export -alias jboss-ssl -keystore my_name.keystore file my_name.cer -
Java.lang.exception: word is too big
Hi everybody!
I have a problem need your help. At present I have a server-client application, server running on Linux enviroment, client running on Window enviroment. After a period of time, there is a exception thrown to console: java.lang.Exception: word is too big, try to use less letter ..... And at that time, no more client can connect to client, however clients which connected to server from before still run as normal. Please help to fix this. Thank you very muchI can not upload the source code here because it's so big. Before I have never ever met this error. Nearly I have a new server linux machine, and I run my program on this machine, as a result I have had this problem. I say I can catch this exception means I try to trace it by in catch and throw but nothing can be catched. And "word is too big, try to use less letters..." is not mine. I saw it in console. At first, I don't know why client can not connect to server, so I try to find out it in console mode and as you know I find out this exception. If anybody have ever met this error. Please explain it to me and help me to resolve it. Thanks
-
Java.lang.Exception: No such metric - wait_bottlenecks
Hi,
I have a Test-RAC-Sytem (release 11.2.0.3 ) on 2 Linux RH 5.4/X86-64 and managed it with OEM DB Control ( IE9)!
In the Database part I got often the error:
Error
java.lang.Exception: No such metric - wait_bottlenecks I often made the workaround : emctl stop dbconsole & emctl start dbconsole
But I think it is not the real solution, because the error appesrs 1, 2 minutes again.
Can any expert helps me to eliminate this error?
thanks and regards
hqt200475hqt200475 wrote:
Hi,
I have a Test-RAC-Sytem (release 11.2.0.3 ) on 2 Linux RH 5.4/X86-64 and managed it with OEM DB Control ( IE9)!
In the Database part I got often the error:
Error
java.lang.Exception: No such metric - wait_bottlenecks I often made the workaround : emctl stop dbconsole & emctl start dbconsole
But I think it is not the real solution, because the error appesrs 1, 2 minutes again.
Can any expert helps me to eliminate this error?
emctl stop dbconsole
Maybe you are looking for
-
Web site can't be found, also missing guest map now.
Thursday I re-published and all was OK. Today my web address gets the dreaded can't be found page. So I went to my other site to get to my first site (linked) and it goes to the Apple support page. When visiting from my iWeb application it gets to th
-
DIR7 Character Set Problem / Foreign Language
Hi there, I am working on an app built using Director 7 that until now has used the standard English (latin-1) character set. However, I am required to deliver a new version including some elements displayed in a second language, in this case Welsh,
-
Hi gurus In resource based throttling, what's the recommended setting for "Process memory usage" ("process virtual" in the resource based throttling tab of the UI) for a 64-bit host on a 64-bit Windows OS? According to MS (http://msdn.microsoft.com/e
-
Black window with white border and cursor location - how do I get rid of it?
I must have inadvertently hit some key or combo of keys and now I have an oblong black window with white border that is annoyingly telling me what the cursor is over and where I can go/ what I can do from there. How did I manage to turn this on and m
-
Problems with weight watchers propoints app??
i downloaded the ww's propoints calculator app(curve 8520) however when ive logged in my details the app freezes and wont log in i have to take my battery out to get my phone back does anyone know how i can get it to work?