Import java "java.lang.Exception" compile error
I have alreay imported "java.lang.Exception".
There are "Exception_" spec & body in program unit
--- problem is in this part
=================================================
WHEN ORA_JAVA.EXCEPTION_THROWN THEN
javaexc := ORA_JAVA.LAST_EXCEPTION;
Message('Java Exception: java/jarfile '||Exception_.toString(javaexc));
ORA_JAVA.CLEAR_EXCEPTION;
=================================================
I can't find toString() method in Exception_
Hy,
Give to forum user other information.
Where does it happen?
Product? etc..
Regards
Similar Messages
-
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 >>
-
Java java.lang.Exception Fatal Error on php5 webpage
Hi,
we are trying to make a php webpage run on our machine
but at one point it shows the below error.
Also, Im absolute newbie to java
As far i have details
this page is run on php5 with java 6
on Debian 4.0.
Fatal error: Uncaught [[o:Exception]:"java.lang.Exception:
CreateInstance failed: new com.opus.epg.sfa.java.BillToAddress.
Cause: java.lang.ClassNotFoundException: com.opus.epg.sfa.java.BillToAddress
VM: 1.6.0_04@http://java.sun.com/" at: #-15 java.net.URLClassLoader$1.run(URLClassLoader.java:200) #-14 java.security.AccessController.doPrivileged(Native Method)
#-13 java.net.URLClassLoader.findClass(URLClassLoader.java:188)
#0 java.inc(259): java_ThrowExceptionProxyFactory->getProxy(1, NULL, false)
#1 java.inc(411): java_Arg->getResult(false)
#2 java.inc(414): java_Client->getWrappedResult(false)
#3 java.inc(596): java_Client->getInternalResult()
#4 java.inc(1952): java_Client->createObject('com.opus.epg.sf...', Array)
#5 /var/www/newwhizz/icici/Sfa/PostLibPHP.php(187): Java->Java('com.opus.epg.sf...')
#6 /var/www/newwhizz/icici/TestSsl.php(220): PostLibPHP->postSSL(Object(BillToAddress), Object(ShipToAddress), Object(Merchant), Object(MPIData)) #7 {main}] thrown in java.inc on line 222Any suggestions as what the error maybe??
Edited by: raghaven.kumar on Apr 30, 2008 5:42 AMIf i had posted in the wrong section. Kindly tell me the right one.
BTW, Is the problem due to non-specification of including a class?? -
Java.lang.Exception... RMI error
Hello...
I'm have a problem when the program RemoteServer.java is compiled:
The reference is in:
http://developer.java.sun.com/developer/onlineTraining/Programming/BasicJava1/rmi.html
I have a link from /usr/lib/ to /usr/local/lib and libgcj.so.3 is in the last
The error messages is:
java.lang.Exception: compiler exited with status: 1
at 0x4026515f: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/libgcj.so.3)
at 0x402580d2: java.lang.Exception.Exception(java.lang.String) (/usr/lib/libgcj.so.3)
at 0x403189e6: gnu.java.rmi.rmic.CompilerProcess.compile(java.lang.String) (/usr/lib/libgcj.so.3)
at 0x4031d8c2: gnu.java.rmi.rmic.RMIC.compile(java.lang.String) (/usr/lib/libgcj.so.3)
at 0x40318ecd: gnu.java.rmi.rmic.RMIC.processClass(java.lang.String) (/usr/lib/libgcj.so.3)
at 0x40318c7c: gnu.java.rmi.rmic.RMIC.run() (/usr/lib/libgcj.so.3)
at 0x40318b3b: gnu.java.rmi.rmic.RMIC.main(java.lang.String[]) (/usr/lib/libgcj.so.3)
at 0x4023f308: gnu.gcj.runtime.FirstThread.call_main() (/usr/lib/libgcj.so.3)
at 0x402aa0b1: gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.3)
at 0x4024bfdc: JvThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.3)
at 0x4021878c: JvRunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.3)
Any idea???
Thanks..!!the problem is Red Hat has a rmic and rmiregistry already installed in /usr/bin/ folder
-
Need help for traping imported java bean exception
hi everyone
i have imported a java bean into my forms 9i using java importer utility which tries to rename a file on a give path(bean works fine when executed through sql client).
i have problem when called from when button pressed trigger, it throws me an ("FRM-40735 and ORA-105101 NON ORACLE EXCEPTION") error.
i have imported java.lang.exception class and constructed an exception handler to trap java exception in the trigger
as
EXCEPTION
WHEN ORA_JAVA.JAVA_ERROR then
message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
--check for ORA-105101
WHEN ORA_JAVA.EXCEPTION_THROWN THEN
ex:= ORA_JAVA.LAST_EXCEPTION;
message('Java Exception --: '||BIException.toString(ex));
ORA_JAVA.CLEAR_EXCEPTION;
WHEN OTHERS THEN
message('error :'||SQLERRM);
when i imported java.lang.exception i did not find any wrapper pl/sql function or procedure declared to read or get the error messages except for the functions named "new" ,my exception handler failed.
so i tried with BIException which also fails to trap the error i have no idea about BIException and its usage with in forms ,Please do help me out with this issue ASAP.
thanks in advance
Rgds
yashHi,
don't understand what the BIException is supposed to do in your code, can you try
WHEN ORA_JAVA.EXCEPTION_THROWN then
ex := ORA_JAVA.LAST_EXCEPTION;
message('Exception: '||Exception_.toString(ex));
where Exception_ is the imported java.lang.Exception package.
Frank -
Hi,
Followed Oracle recommended note for generating .csr file (Doc ID 1230333.1)
01) $keytool -genkey -alias server.alias -keyalg RSA -keysize 1024 -dname "CN=ServerName,OU=Office,O=OTS,L=Location,S=SW,C=GB" -keypass mypass -keystore ServerName.jks -storepass mypass
02) copy ServerName.jks ServerName.jks.org
03) $keytool -list -v -keystore ServerName.jks -storepass mypass
04) $keytool -certreq -v -alias server.alias -file ServerName.csr -keypass mypass -storepass mypass -keystore ServerName.jks
05) Sent the .csr file to CA
06) ived a filename.cer certificate.
07) rated Root ServerNameRootCert.cer and Intermediate Certificate ServerNameRootInterCert.cer from filename.cer certificate
Importing Root CA into the keystore ServerName.jks
08) $keytool -import -v file ServerNameRootCert.cer -keystore ServerName.jks -trustcacerts -alias AliasOne
09) $keytool -import -v file ServerNameRootInterCert.cer -keystore ServerName.jks -trustcacerts -alias AliasTwo
Now importing the actual certificate using the alias server.alias in the above step 01) and 04)
10) $keytool -import -v file ServerName.cer -keystore ServerName.jks -alias server.alias -keypass -storepass
Getting error message
keytool error: java.lang.Exception: Public keys in reply and keystore don't match
java.lang.Exception: Public keys in reply and keystore don't match
at sun.security.tools.KeyTool.establishCertChain(KeyTool.java:2618)
at sun.security.tools.KeyTool.installReply(KeyTool.java:1870)
at sun.security.tools.KeyTool.doCommands(KeyTool.java:807)
at sun.security.tools.KeyTool.run(KeyTool.java:172)
at sun.security.tools.KeyTool.main(KeyTool.java:167)
Is that anything wrong with the Certificate what is issued by CA?
Is the java version need to be different?
Current Java Version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Oracle JRockit(R) (build R28.2.0-79-146777-1.6.0_29-20111005-1807-linux-x86_64, compiled mode)
Any suggestions please?
Thanks,
KamImport the intermediate cert first then the root and then the signed server certificate.
The alias of root and intermediate doesnt matter, but make sure that the alias of server cert is same as the alias of the private key entry.
Have a look at the following example :
https://blogs.oracle.com/blogbypuneeth/entry/steps_to_create_a_csr -
Error exception in thread 'main' java.lang.No ClassDefFound Error
Hi..
i hope maybe some of u can help me to settle this problem...my problem is when i run this program..this error will appear at command prompt....Exception in thread 'main' java.lang.No ClassDefFound Error.
How to solve this problem?I need someone to help me..this is my coding..
import java.io.*;
class Wang{
public int ringgit, sen;
public Wang (int nilaiRinggit, int nilaiSen){
ringgit=nilaiRinggit;
sen=nilaiSen;
System.out.println("Jumlah sen:"+jumlahSen());
public int jumlahSen ( ) {
return 100*ringgit + sen;
class Aplikasi{
public static void main (String [ ] args) throws IOException {
Wang wang = new Wang (5, 20);
System.out.println ("Jumlah wang:RM"+wang.ringgit+"."+wang.sen);
System.out.println("Sen :"+wang.jumlahSen( ) );
thank you...tq for reply my msg..
i dont know how to do....can u help me?....teach me
step by step......to set the classpath...for ur
info.i'm using win xp...i want to ask u about
compilation and run....to compile i using javac
<filename>.java..and to run ... which one true..using
java <filename>.java or java<filename>?For the javac command, FILEname.java is used. For java command CLASSname is used. Do not use .class or .java. Do use the fully qualified CLASS name. Fully qualified means package name plus the Class name. If you do not specify a package name, then the fully qualified name is just the Class name. Also, all names are case sensitive. MyClass is not equal to myclass.
Lets say you compile HelloWorld.java so you have a HelloWorld.class file in the directory, C:\myjava. Then, use the commandjava -classpath c:\myjava HelloWorld
ang how to settle the error exception in thread 'main'
java.lang.Nosuch method error..You should ALWAYS post the full, exact error message. It is difficult to answer this question without knowing the full error. Which method did Java complain about? Often, this occurs when you try to launch a class as an application but the class does not have a method whose signature is "public static void main(String[] args) "
You might want to try the tutorial here: http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html -
Java.lang.Exception: No such metric - dbconsole error (RAC DB)
I'm running the database console (10.2.0.1) from one RAC node (2-node cluster), and the agent is running on the second node. WHen I try to load the cluster home page, I receive the following error "java.lang.Exception: No such metric" at the top of the page. The rest of the page looks correct.
***emoms.trc** (last 25 lines from node running the dbconsole)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:169)
at oracle.sysman.db.rac.RacControllerResolver.handleRequest(RacControllerResolver.java:137)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
at oracle.sysman.eml.app.Console.doGet(Console.java:285)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:138)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java(Compiled Code))
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java(Compiled Code))
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:568)
*****emagent.trc***** (on agent only node - last 25 lines)
2007-04-03 15:16:33 Thread-2014 ERROR : (nmeusb.c,70):Memory 0x0 encountered, expect struct_id=10006
2007-04-03 15:16:33 Thread-2014 ERROR : (nmeusb.c,70):Memory 0x0 encountered, expect struct_id=10006
2007-04-03 15:16:33 Thread-2014 ERROR : (nmeusb.c,70):Memory 0x0 encountered, expect struct_id=10006
2007-04-03 15:16:33 Thread-2014 ERROR : (nmeusb.c,70):Memory 0x0 encountered, expect struct_id=10006
2007-04-03 15:21:05 Thread-1212 WARN http: snmehl_connect: connect failed to (auisora1g:1158): A remote host refused an attempted connect operation. (error = 79)
2007-04-03 15:21:05 Thread-1212 ERROR upload: FxferSend: Cannot connect to: http://auisora1g:1158/em/upload/. retStatus=-32
2007-04-03 15:21:05 Thread-1212 ERROR upload: Failed to upload file B0000035.xml, ret = -2
2007-04-03 15:21:05 Thread-1212 WARN http: snmehl_connect: connect failed to (auisora1g:1158): A remote host refused an attempted connect operation. (error = 79)
2007-04-03 15:21:05 Thread-1212 ERROR upload: FxferSend: Cannot connect to: http://auisora1g:1158/em/upload/. retStatus=-32
2007-04-03 15:21:05 Thread-1212 ERROR upload: Failed to upload file B0000035.xml, ret = -2
2007-04-03 15:21:05 Thread-1212 WARN http: snmehl_connect: connect failed to (auisora1g:1158): A remote host refused an attempted connect operation. (error = 79)
2007-04-03 15:21:05 Thread-1212 ERROR upload: FxferSend: Cannot connect to: http://auisora1g:1158/em/upload/. retStatus=-32
2007-04-03 15:21:05 Thread-1212 ERROR upload: Failed to upload file B0000035.xml, ret = -2
2007-04-03 15:21:05 Thread-1212 ERROR upload: 3 Failures in a row for B0000035.xml, we give up
2007-04-03 15:21:05 Thread-1212 ERROR upload: Error in uploadXMLFiles. Trying again in 60.00 seconds.
2007-04-03 15:21:22 Thread-1214 WARN http: snmehl_connect: connect failed to (auisora1g:1158): A remote host refused an attempted connect operation. (error = 79)
2007-04-03 15:21:22 Thread-1214 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://auisora1g:1158/em/upload/: retStatus=-32
2007-04-03 15:21:22 Thread-1214 WARN http: snmehl_connect: connect failed to (auisora1g:1158): A remote host refused an attempted connect operation. (error = 79)
2007-04-03 15:21:22 Thread-1214 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://auisora1g:1158/em/upload/: retStatus=-32
2007-04-03 15:21:52 Thread-1217 WARN http: snmehl_connect: connect failed to (auisora1g:1158): A remote host refused an attempted connect operation. (error = 79)
2007-04-03 15:21:52 Thread-1217 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://auisora1g:1158/em/upload/: retStatus=-32
2007-04-03 15:21:52 Thread-1217 WARN http: snmehl_connect: connect failed to (auisora1g:1158): A remote host refused an attempted connect operation. (error = 79)
2007-04-03 15:21:52 Thread-1217 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://auisora1g:1158/em/upload/: retStatus=-32
2007-04-03 15:23:44 Thread-2014 ERROR recvlets.aq: received threshold change alert for special unregistered metric problemTbsp.pctUsed
2007-04-03 15:23:44 Thread-2014 ERROR recvlets.aq: received threshold change alert for special unregistered metric problemTbsp.pctUsed
*******emoms.log******** (from dbconsole node - last 25 lines)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java(Compiled Code))
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java(Compiled Code))
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java(Compiled Code))
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
at oracle.sysman.emdrep.dbjava.loader.XMLDocumentSplitter.split(XMLDocumentSplitter.java:373)
at oracle.sysman.emdrep.dbjava.loader.XMLLoaderContext.loadFromStream(XMLLoaderContext.java:1082)
at oracle.sysman.emdrep.dbjava.loader.XMLLoader.DirectLoad(XMLLoader.java:403)
at oracle.sysman.emdrep.receiver.FxferRecv.DirectLoad(FxferRecv.java:1002)
at oracle.sysman.emdrep.receiver.FxferRecv.loadSeverities(FxferRecv.java:1130)
at oracle.sysman.emdrep.receiver.FxferRecv.receiveFile(FxferRecv.java:1479)
at oracle.sysman.emdrep.receiver.FxferRecv.doPost(FxferRecv.java:809)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java(Compiled Code))
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java(Compiled Code))
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:568)
2007-04-03 17:19:19,999 [SeverityLoad http://auisora1f:3938/emd/main] ERROR eml.XMLLoader markFileAsError.733 - Failed to load B0000000001.xml because of errors; moving to errors directory
2007-04-03 17:19:20,220 [HttpRequestHandler-393332040] ERROR eml.FxferRecv doPost.817 - Upload repsonse header :-ERROR-400|ORA-01861: literal does not match format string
Does anyone know what can be the problem? We just migrated to a 10g envrionement and I don't have much experience troubleshooting the OEM dbconsole functionality. Using the browser and migrating to the agent port (3938) - shows working. The upload url shows the XML file receiver is active.
Environment:
AIX 5.3 ML4
GPFS 3.1
Oracle 10.2.0.1
The emctl status agent command shows the following:
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Agent Version : 10.1.0.4.1
OMS Version : 10.1.0.4.0
Protocol Version : 10.1.0.2.0
Agent Home : /usr/oracle/product/10.2/db/auisora1g_dmsdb2
Agent binaries : /usr/oracle/product/10.2/db
Agent Process ID : 1204328
Parent Process ID : 1241284
Agent URL : http://auisora1g:3938/emd/main
Started at : 2007-04-03 15:23:28
Started by user : ora_idps
Last Reload : 2007-04-03 15:23:28
Last successful upload : 2007-04-03 17:21:36
Total Megabytes of XML files uploaded so far : 1.83
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0.00
Available disk space on upload filesystem : 64.74%
Agent is Running and Readybounce the database and bounce the oms. Check again and let me know the result
-
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) -
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 -
hello portal experts,
we made a homogen copy of our productive system to our test system. i think this caused a trouble in our test portal and i get the error java.lang.Exception:Error in NavigationGroupViewer.createListModel:No NavID!. can anybody tell me where the settings are made for the team viewer and how i can fix this problem.
early replies appreciated..
thanks,
Murat KayaHi Murat,
there can be a number of things that can give you that particular error message:
1. Is the teamviewer/explorer configured correctly in the backend? Are all the navigation paths correct?
2. Has the teamviewver iview been configured with the correct navigation path?
3. Do your users have the right profiles and security settings in the backend?
4. Is the communication between the portal and the backend working properly, ie sso, jco?
Best place to start is to look at the error description in the log in Visual Admin. That might give you an indication of where to start looking.
Cheers,
Dion -
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
Maybe you are looking for
-
My templates are not always showing up in template chooser
When I click on numbers all of my templets do not show up in "My Templates" When I click on the templet it tells me it is in the Template Chooser do I want to replace it. Are there two different places Numbers is saving items?
-
OnClick not working...Please help.
I have a simple function that makes sure info was entered and that the password matches the re-entered password. When I select Submit and "don't fill out any info it processes to the <form action="..."> anyway. What am I doing wrong????? <Html> <Head
-
How to determine the load on the oracle server within a stored procedure?
Hi, I have a subset of commands in my stored procedure that I would like to execute them only if there is not significant load on the database sever. What would be the best way to measure the amount of load on my database server within a stored proce
-
Importing CSV into table - problem with tab-deliminated files
Hi All, I have written an application based on well-known Uploading excel sheet using Oracle Application Express (APEX) example from the following site: http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/ All work
-
Customer Master Conversion LSMW RFBIDE00 and SAVEREPLICA
Hi All, I was able to create both the customer master information using RFBIDE00 and customer address using BAPI_ADDRESSORG_SAVEREPLICA. After creating them, I assumed that they should have the same ADRNR number in tables KNA1 and ADRC. But they were