Error for Generating a log file
Hi Cezar sanos,
i am trying to generate a log file for ODI with details like who logged in and what is is doing kind of things.
For this i am executing the command like
lagentscheduler.bat "-PORT=20910" "-NAME=localagent" "-V=2" > C:\OraHome_1\logs\agent1.log.
But its getting the error like
A JDK is required to execute Web Services with OracleDI. You are currently using a JRE.
OracleDI: Starting Scheduler Agent ...
Starting Oracle Data Integrator Agent...
Version : 10.1.3.5 - 10/11/2008
DwgJv.main: Exit. Return code:-1
Just in case,
the following message :
A JDK is required to execute Web Services with OracleDI. You are currently using a JRE.
is only a warning and not an error message....
Similar Messages
-
How To Generate Debug Log Files for ebs jsp?
hi How To Generate Debug Log Files for ebs r12 jsp?
and where i get the log .please help me thanks!Please check following MOS Document
Oracle Application Server Diagnostic Tools and Log Files in Applications Release 12 (Doc ID 454178.1) -
Needed a code for Creating a Log File in java so that its size is limited
Hi
I need the code for developing a log file using threads so that the log file size is limited
and if the size of the log file is increasing above 1Mb,another log file has to be created automatically and the log have to be printed into that new file.
Thanks in advancepackage cms.web.log;
import java.io.*;
import java.util.Calendar;
import cms.web.WebUser;
* Log is generated by JEditor 1.0.0
* @Project : cms
* @Version : 1.0.0
* @Created date : 11:07:40 PM Thursday, 25/07/2002
* @Author :
* @Organization :
* @Copyright : (c) 2002
* An utility class used to write information, especially error messages, to
* log file so that they can be viewed at later time by administrators.
* Extra information such as date & time they occures & where they are thrown...
* are automatically included and append to the end of log file.
* Log files will increase with the format "name_n" where n is file counter
public class Log implements Serializable
* logs marker
static final String START= "\n\0";
* parent directory that contains log files
private static File parent;
private PrintStream out;
private String name;
* to count how many log for the current stream
int counter;
* maximum number of logs for each log file
int max;
public static void init(File parent)
if (!parent.exists())
parent.mkdirs();
Log.parent= parent;
public Log(String name, int max)
this.name= name;
this.max= max;
file= getLastFile();
counter= countLogs(file);
out= openStream(file);
public synchronized void appendLog(String log)
if (log == null || log.length() == 0)
return;
count();
try {
out.println(START+ counter+ " | "+ getCurrentTime()+ " | "+ log);
out.flush();
} catch (Exception e) {}
* Append the given log to log file.
synchronized void appendLog(String msg, WebUser user)
if (msg == null || msg.length() == 0)
return;
count();
try {
out.println(START+ counter+ "----------------------------------------------------------");
out.println(getCurrentTime());
out.println(user != null? "User:"+ user.getFullName(): "User: public user");
out.println(msg);
out.println("\n----------------------------- end -----------------------------\n");
out.flush();
} catch (Exception e) {}
* Append the given exception to log file
synchronized void appendLog(Throwable error, WebUser user)
if (error == null)
return;
count();
synchronized (out)
try {
out.println(START+ counter+ "----------------------------------------------------------");
out.println("Exception occured at "+ getCurrentTime());
out.println(user != null? "User: "+ user.getFullName(): "User: public user");
error.printStackTrace(out);
out.println("----------------------------- end -----------------------------\n");
out.flush();
} catch (Exception e) {}
private String getCurrentTime()
Calendar c= Calendar.getInstance();
return
parse(c.get(Calendar.HOUR_OF_DAY))+ ":"+ // 0 --> 23
parse(c.get(Calendar.MINUTE))+ ":"+ // 0 --> 59
parse(c.get(Calendar.SECOND))+ " "+ // 0 --> 59
parse(c.get(Calendar.DAY_OF_MONTH))+ "/"+ // 1 --> 31
parse(c.get(Calendar.MONTH)+ 1)+ "/"+ // 1 --> 12
c.get(Calendar.YEAR); // yyyy
private String parse(int n)
return n< 10? "0"+ n: ""+ n;
private void count()
counter++;
if (counter> max)
incrementFile();
counter= 1;
private void incrementFile()
File file= null;
int n= 0;
while ((file= new File(parent, name+ n+ ".log")).exists())
n++;
if (out != null)
out.close();
out= openStream(file);
private PrintStream openStream(File file)
try {
if (file.exists())
return new PrintStream(new FileOutputStream(file.getPath(), true));
else
return new PrintStream(new FileOutputStream(file.getPath()));
} catch (IOException e) {
throw new RuntimeException(e.getMessage());
private int countLogs(File file)
int count= 0;
InputStream in= null;
try {
in= new FileInputStream(file);
int n;
while ((n= in.read()) != -1)
if (n == '\0')
count++;
} catch (IOException e) {
} finally {
if (in != null)
try {
in.close();
} catch (IOException e) {}
return count;
private File getLastFile()
File file= new File(parent, name+ "0.log");
File curr;
int n= 1;
while ((curr= new File(parent, name+ n+ ".log")).exists())
file= curr;
n++;
return file;
protected void finalized()
if (out != null)
out.close(); -
Help on printing error messages to a log file
Hi, may I know whether is there any way to print the error messages to a log file? Thanks for your help!
noobboy,
Please refrain from crossposting all of your questions into multiple forums. You were asked to stop this the last time you did this as well. Please be more considerate in future. -
Generating a log file from oracle db
I want to generate a log file in which i want to dump some useful messages, when anyone does a dml operation on a table, and also, i want to have a switch like YES or NO (may be an environment variable,,) if i switch it to YES the log file should get generated, if NO then, no log file will be generated..
can anyone help, how can you do this task ?
thanks a lot in advance..
sriniYou can use a Trigger and UTL_FILE to write to a file (on the server).
Example:
create or replace trigger test_file
after insert or delete or update on test_case
for each row
declare
v_logfile utl_file.file_type;
begin
v_logfile := utl_file.fopen('\myfiles','test_file.log','a');
if inserting then
utl_file.put_line(v_logfile,'Inserting to table');
elsif deleting then
utl_file.put_line(v_logfile,'Deleting to table');
else
utl_file.put_line(v_logfile,'Updating to table');
end if;
utl_file.fclose(v_logfile);
end test_file;
I want to generate a log file in which i want to dump some useful messages, when anyone does a dml operation on a table, and also, i want to have a switch like YES or NO (may be an environment variable,,) if i switch it to YES the log file should get generated, if NO then, no log file will be generated..
can anyone help, how can you do this task ?
thanks a lot in advance..
srini -
Idoc types that generate the log files
Hi All,
Can anybody provide me the list of IDOC types that generated application log files.
As I found that material master IDOCs generate log files. Is there IDOC types other
than material master that generate log files.
Regards,
Azra.Hi Azra,
You can tell whether an IDOC does create the application log from the function module it uses.
Go to SE37, and type in IDOC_INPUT_<message_type> for inbound or IDOC_OUTPUT_<message_type> for outbound, and search for any function module which start with 'BAL_'. If you can find it, then it creates application log files.
Regards,
Lim... -
Do I need to create new group for standby redo log files?
I have 10 group of redo log files with 2 members for each group for my primary database , Do I need to create new group for standby redo log files for the standby database
Group# Members
==============
1 2
2 2
3 2
4 2
5 2
6 2
7 2
8 2
9 2
10 2
If So, The following statment is correct? or nto
ALTER DATABASE ADD STANDBY LOGFILE GROUP 1 ('D:\Databases\epprod\StandbyRedoLog\REDO01.LOG',D:\Databases\epprod\StandbyRedoLog\REDO01_1.LOG');
please correct me if am doin mistake
becuase when I issue the statment I getting error message sayin the group is already created.Thanks John
I just find the answer
Yes, it's recomeded to add new group , for instnace If I have 10 group from 1 to 10 then the standby shoudl be from 11 to 20
Thanks I found the answer. -
Repeatedly the same error in the omsca.log file during 11g installation
Hi Experts,
One of my customer is getting the below error in the OMSCA.log file:
java.lang.Exception: CREATING_WEBTIER_INST_FAILED
at oracle.sysman.omsca.adapter.wls.OMSWLSAdapter.adapterConfigWebTier(OMSWLSAdapter.java:1808)
at oracle.sysman.omsca.framework.OMSGenericAdapter.configWebTier(OMSGenericAdapter.java:306)
I have checked his setup and pre-reqs,all seems to be perfectly fine.
Kindly let me some pointers related to this issue.
SR:3-4090870221
I have uploaded the log file here.
Regards
Sumani
Edited by: 893642 on Oct 28, 2011 1:13 AMHere some screenshots, this error came back all few minutes!
-
SWF error- while generating the flash files.
Post Author: [email protected]
CA Forum: Xcelsius and Live Office
Hi, in the old forum I came across the folowing topic: SWF error- while generating the flash files.
As I have the same problem, I would like to know the solution / answer / meaning please. What do I have to change in order to let in function properly again.
Thanks anyone.
Femke
(The post is from 3/6/2007)
The following error is generated upon generating the flash files Any insight???SWF error- while generating the flash files.--ErrorSWF Function Overflow. The generated SWF will not function correctly because data dependencies go beyond SWF limits.--
OK -Post Author: Andres
CA Forum: Xcelsius and Live Office
Hello.
I'm having the same problem. It appeared after I made use of many cells (a table of 10x200 cells) with formulas inside them.
Before that, while I was making my tests and only used a few cells and the .XLF file was 4Mb, I had no problem. Now that the .XLF file is 8Mb I see this error appearing (in Spanish):
"Error
Desbordamiento de la función SWF. El archivo SWF generado no funcionará correctamente ya que las dependencias de datos superan los límites de SWF."
Any idea of how this could be resolved (appart from using less data)?
Thanks in advance. -
MDIS failed to generate the Log file!!!
Hello All,
Having a issue where MDIS is not generating the log file..
The scenario is something like this-
The files are getting archived and the records not flowing into MDM
Basis team says-
2014-06-30T14:11:33.339,47083231971072,24,"[MDS=sapdpm1 Repository=REAL_ESTATE ClientSystem=MDM_REAL_ESTATE Port=Building]: Nigerian Building updates part 2 - SLKDDY.txt is empty, the file will be skipped
But the source file was having data it was not empty(bit strange!!)
Also its not generating the LOG to analyze
Regards,
GirishHi Shenoy,
Let me explain the scenario--
User uploads the file through Portal and through FTP records resides in MDM...the issues is when i tried to import through IM it worked and i tried manually push file through Filezilla FTP it worked.
But when we upload file through portal, the file resides in Archive and generating the message-
2014-06-30T14:11:33.339,47083231971072,24,"[MDS=sapdpm1 Repository=REAL_ESTATE ClientSystem=MDM_REAL_ESTATE Port=Building]: Nigerian Building updates part 2 - SLKDDY.txtis empty, the file will be skipped
But the file is having data.
Regards,
Girish -
Where can I set the log level for the "Inbox log file" ?
From the Siebel 8 Bookshelf, it says :
"To set the level of the Inbox log file for troubleshooting
*In Siebel Tools, set the Log Level for the Inbox log file (Alias = InboxLog) to 5*."
But where exactly in Siebel Tools can I find that Log Level ? Which object does the Siebel bookshelf talk about ?Hi,
Loglevels are not configured in Siebel Tools. You have to configure them with the siebel client. You can find a parameter at "Administration - Server Configuration / Server / Events"
Search for "Inbox General Log Events". Set this parameter to 5. It think this should help you.
Cheers Andreas -
hi
How can I generate Rman log file? Oracle xe on windows
My rman backup script is like:
run{
backup device type disk tag '%TAG' database;
SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT';
backup device type disk tag '%TAG' archivelog all not backed up delete all input;
delete noprompt obsolete device type disk;
}In addition to what Paul mentioned, you can also consider the LOG option from the command line.
-
Printing a PDF from a PDF generates a log file
I have pdfs that get generated from a web site and for whatever reason when I go to print them to pdf I just get a log file. I can print to pdf from any other pdf file. I need to do this so that it basically flattens the pdf and the end user can't see where I have typed or added a text box to blank out stuff.
I've tried examining the doc and stripping it of everything.
I've tried making it compatible with Acrobat 8 v1.7
I've tried opening in Acrobat STD, no security set and resave and yet when I open it backup the minimal security settings are back.
I have acrobat 8 std, and reader 8. The original pdf was v1.3, produced apparently from the web site with GPL Ghostscript 8.15, everything is allow in security except doc assembly, commenting, signing, creation of template pages.
Any help anyone can give would be greatly appreciated.
Thank you,
George
Here is part of the error log:
%%[ ProductName: Distiller ]%%
%%[Page: 1]%%
%%[Page: 2]%%
%%[Page: 3]%%
%%[ Error: limitcheck; OffendingCommand: ;#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#23 23#2323#2323#2323#2323#2323#2323#2323#; ErrorInfo: DictCRC --nostringval-- ]%%
Stack:
58
[/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /;#2323#2323#2323 /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef
/;#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323#2323There is one on the fonts tab of the settings. This one is for problems with embedding and says to create the PDF anyway. Font embedding with unlicensed fonts is a common problem for failure in the creation process and that is why I was suggesting it. Also, your discussion of security raises a flag. It suggests that there is some security setting and that may be the issue.
-
Hi
I have the following message in the imta log file
ld3 ims_master[19481]: Store Critical: Unable to read index file for user/romanrob: Mailbox does not exist
but if I do a find for the mailbox it exits in the partition directory.
THis is a brand new system, I have 196000 users on the ldap that were loaded yesterday. Also, I am looking for some advise on ldap cache settings and email configuration settings to improve performance. I am running Messaging server 6 2005Q4 in a Sun-Fire-V890 with 24G memory.
Thanks
Elianaalchalel wrote:
This was affecting all accounts, I ran the reconstruct command and it seems that it fixed the porblem, I tried imap/pop login and I was able to see the content of the inbox and folders.Excellent. You may then want to run:
./reconstruct -rThis will go through all accounts and run basic sanity checks over the store.* files and the contents of messages on disk. If a problem is found the store.idx file will be regenerated/fixed along with the quota database etc.
It is possible that the error was generated because there was not inbox created in the store by the time the user got the first message? This is possible. As I noted before there can be several explanations for the message.
Also, I noticed the following error in the default log:
msprobe[10199]: General Error: storeutil_getpathinfo(/export/mail) return (Value too large for defined data type)
my store partition is in a SAN and the size is 4T.This is a known problem when you have such a large partition size.
bug #6539123 - "msprobe has problems with very large disk partitions"
The fix for this is available in the latest MS6.2 point-patch (125813). You will need to contact Sun Support to get a copy of this patch as we don't release point-patches publicly.
I will set the store.dbtmpdir as you sugested.Please note you need to restart the store for this change to take affect e.g.
./stop-msg ; ./start-msg
Regards,
Shane. -
Error while generating forms library files
Hi,
I am trying to apply patch 7651091 as a prereq for 11845888, but it got failed with message
The following Oracle Forms objects did not generate successfully:
au resource JTFGDIAG.pll
au resource JTFSCGNT.pll
au resource JTF_GRID.pll
au resource ASTBOMAN.pll
au resource ASTRCINT.pll
au resource CSSRFND.pll
au resource CSSRTSK.pll
au resource APPCORE.pll
au resource APPDAYPK.pll
au resource FNDCONC.pll
au resource FNDSQF.pll
au resource CSSRISR.pll
au resource CSSRWKB.pll
au resource CSCSECPS.pll
au resource CSPPLPLN.pll
au resource CSPPLSPR.pll
au resource CSPTRREC.pll
au resource CSPTRVMO.pll
au resource CSUTILS.pll
au resource CSCCCCUS.pll
au resource CSCMNTPN.pll
au resource APPCORE2.pll
au resource APPFLDR.pll
au resource CSCSEDPN.pll
au resource CSCUTILS.pll
au resource CSCCCCRC.pll
au resource CUSTOM.pll
au resource FNDAPLT.pll
au resource FNDATTCH.pll
au resource VERT.pll
au resource VERT2.pll
au resource VERT3.pll
au resource APPTREE.pll
au resource VERT4.pll
au resource JTFTKMAN.pll
au resource VERT5.pll
au resource VERT1.pll
au resource JTFNOTES.pll
au resource OKCEXEVT.pll
au resource OKCKSRCH.pll
au resource OKCADART.pll
au resource OKSACTEV.pll
au resource OKCEXPOR.pll
au resource OKCTREE.pll
au resource OKSAUDET.pll
An error occurred while generating Oracle Forms library files.
Continue as if it were successful [No] :
I tried adadmin for generating form files, there also got error.
Document followed is 762891.1.
OS: hp ux Itanium
APP : 12.1.1
DB : 11.1.0.7
Please anyone help me out finding the solution.
Thanks
kumarHi;
Please see below thread, follow steps. If its not help please update thread
Oracle Forms didn't generate successfully INVOBGEN.pll, INVRSVFM.pll
Regard
Helios
Maybe you are looking for
-
Best way to flash something ON/OFF in premiere?
Here is a scenario: You want a graphic element to flash on and off every second in a 2 hour long sequence, what is the fastest and most efficient way to do this in premiere CS5? Now in after effects this would be done fairly simply with an expression
-
Time Series Function not doing it right
Hello guys I have setting up the time dimensional hierarchy with Year -- QTR---Month--- Days order.. I have a measure call 'Forward Amt' which needs to applied with Month-to-date calculation. Therefore I am using time series functions. I have copied
-
Ldifwrite created file used in ldapadd/ldapmodify gives errors
We want to backup entries in the Users container. 1. The ldif file created by ldifwrite: ldifwrite -c oidtwo -b "cn=Users,dc=dn,dc=dev,dc=pg,dc=gov" -f backup.ldif 2. ldapadd -p 389 -h localhost -D "cn=orcladmin" -w oiddp -f backup.ldif 3. Got errors
-
I used to have an iPod 30GB and had a wall Griffin wall/car charger. Is there really a big change with what iTouch requires? I have tried to charge the iTouch with the wall charger with no result. Just to know if I have to buy a new charger. Thanks C
-
Time Machine backing up external hard drives?
I have a Macbook Pro connected to two external drives. One is a simple 2 TB drive and the other a 6TB RAID1 drive. Before I switched from OSX 10.6.8 to Mountain Lion, Time Machine appeared to back up both the MacBook Pro and the external 2TB drive