Where does Flex log Trace statements?
I have no problem logging the trace statements when i run the application as standalone from flex builder.
I deployed the same application in the Weblogic server. Where does Flex compiler log Trace statements when deployed to application server?
Is there anyother way to log the statements?
Trace statements end up on the client that is running the browser
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui
Similar Messages
-
Where does the logging in RDBMSRealm go --and-- are some JavaDocs missing?
I see that a LogOutputStream is created in the example
class RDBMSRealm, but where do all of the log
statements go. The LogOutputStream is created as:
log = new LogOutputStream("RDBMSRealm");
but I do not see and file called RDBMSRealm and/or
I do not see the log statements on stdout.
BTW, I do have logging set to the most detailed
level (Info) from the console if this matters.
Also, are there some JavaDocs missing from
Weblogic's Reference website at
http://edocs.bea.com/wls/docs60/javadocs/index.html
LogOutputStream is an example. I do not see the
class when I select the package
weblogic.logging.
Where is it?
Much Thanks
Bill Ralenkotter.Thanks Terry,
Sorry, I should have mentioned that I am using WL6.0.
Does anyone know what I need to do to get the RDBMS Realm log to start on
WL6.0.
About the missing JavaDocs: Also, if I am doing development using these
classes I still do not
understand why they are not on the 6.0 refernce site!
About the missing JavaDocs,
I see java docs for a lot of classes, but what document do I use that
helps me to understand the entire framework? The Programming
Weblogic Security does give this information.
Example question: how do I get a reference to the realm to create
users? Should I even be doing this?
Thanks for your help.
Bill.
"THorner" <[email protected]> wrote in message
news:B4D7B3CBF165D311844100C04F4E3E1B031246@DANCERACE01...
If you are using WLS5.1 you much set the property
weblogic.security.realm.debug=true
then this information will be sent to stdout. This is set to false by
default, as there is a lot of information, and it is a big performance
hit.
I think weblogic likes to avoid some of its APIs being public, which is
annoying at times, but probably reasonable
terry
-----Original Message-----
From: Bill Ralenkotter [mailto:[email protected]]
Posted At: Thu 03 May 2001 16:00
Posted To: weblogic.developer.interest.security
Conversation: Where does the logging in RDBMSRealm go and are some
JavaDocs missing?
Subject: Where does the logging in RDBMSRealm go and are some
JavaDocs missing?
I see that a LogOutputStream is created in the example
class RDBMSRealm, but where do all of the log
statements go. The LogOutputStream is created as:
log = new LogOutputStream("RDBMSRealm");
but I do not see and file called RDBMSRealm and/or
I do not see the log statements on stdout.
BTW, I do have logging set to the most detailed
level (Info) from the console if this matters.
Also, are there some JavaDocs missing from
Weblogic's Reference website at
http://edocs.bea.com/wls/docs60/javadocs/index.html
LogOutputStream is an example. I do not see the
class when I select the package
weblogic.logging.
Where is it?
Much Thanks
Bill Ralenkotter. -
Where does flex builder keep refererences to the flex projects?
Where does flex builder keep refererences to the flex projects?
I'm getting an error like this on FB3 startup:
The folder PR System Intranet does not exist in the workspace so the reference must be somewhere else.
thanks
!SESSION 2009-11-02 09:47:52.203 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.core.resources 2 10035 2009-11-02 09:47:53.610
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.eclipse.core.resources 4 567 2009-11-02 09:47:53.829
!MESSAGE Workspace restored, but some problems occurred.
!SUBENTRY 1 org.eclipse.core.resources 4 567 2009-11-02 09:47:53.829
!MESSAGE Could not read metadata for 'PR System Intranet'.
!STACK 1
org.eclipse.core.internal.resources.ResourceException: The project description file (.project) for 'PR System Intranet' is missing. This file contains important information about the project. The project will not function properly until this file is restored.
at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceMan ager.java:663)
at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:792)
at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:772)
at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:663)
at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1319)
at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:1949)
at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:1713)
at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:363)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:9 99)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextIm pl.java:993)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:9 74)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:189)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:34 0)
at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackag e.java:37)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java :405)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :111)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
!SUBENTRY 2 org.eclipse.core.resources 4 567 2009-11-02 09:47:53.829
!MESSAGE The project description file (.project) for 'PR System Intranet' is missing. This file contains important information about the project. The project will not function properly until this file is restored.
!ENTRY org.eclipse.osgi 4 0 2009-11-02 09:47:53.860
!MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (161).
!STACK 0Thanks but that file contains things like
<?xml version="1.0" encoding="UTF-8"?>
<actionScriptProperties mainApplicationPath="main.mxml" version="3">
<compiler additionalCompilerArguments="-services "X:\Coldfusion9\wwwroot\WEB-INF\flex\services-config.xml" -locale en_US" copyDependentFiles="true" enableModuleDebug="true" flexSDK="Flex 3.2" generateAccessible="true" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="true" htmlPlayerVersion="9.0.28" htmlPlayerVersionCheck="true" outputFolderPath="Staff_Ratings-debug" sourceFolderPath="src" strict="true" useApolloConfig="false" verifyDigests="true" warn="true">
<compilerSourcePath>
<compilerSourcePathEntry kind="1" linkType="1" path="H:/flash"/>
</compilerSourcePath>
<libraryPath defaultLinkType="1">
<libraryPathEntry kind="4" path=""/>
</libraryPath>
<sourceAttachmentPath/>
</compiler>
<applications>
<application path="main.mxml"/>
</applications>
<modules/>
<buildCSSFiles/>
</actionScriptProperties>
I don't see how FB3 knows about the
Pr System Intranet
project that seems to be the cause of the errors. -
Where does the logging happens for System.out.println
Hello:
I'm usingNetWeaver 2004sJava SP9 evaluation version. Added some System.out.println to the ejbs. Would like to know where to look for the logging details in this case.
Thanks for your help,
RaviHi,
By default, if the setting has been done, then it appears in defaultTrace as mentioned. For configuration of it, refer to this link.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/db315878-0801-0010-928e-98c8283616d3
Reward points if it helps.
Regards,
Vijai -
I configured log4j with console appender , now to check logs where in weblogic can I see my logs ?
Look for your logs in
$DOMAIN_HOME/servers/<servername>/logs/<servername>.log
Also, you need to configure you server to redirect stdout logging enabled
You can do this under, Server->Logging->General->Advanced->Redirect stdout logging enabled -
Where does NWAS log file resides
Hello friends,
Can anybody tell the location of NetWeaver log file, that contains runtime exception and other information regarding execution of J2EE project.
I am using SAP NAWAS 7.10
Thank youHi,
the default trace files present in the cluster folder are very useful.
c:\usr\sap\sid\JC<XX>\j2ee\cluster
inside this you have dispatcher and server nodes. under each such folder you have the log files. These log files contain the trace files. dispatcher\log will contain how he dispatcher is going to look for the server nodes.
server\log will contain the real time problem.
reward suitable points -
Where does system out or log statements go in ISA-CRM?
We have added some system out print and log.error statments in a new java class file.
Can anybody tell where does these statements go, I mean to which log file. I was hoping defaultTrace.0.log, but could n't find.
We are using CRM/ISA b2b.
Thanks in advance.Mark,
Here the steps for session trace:
1. logon to the XCM administrator
http://mycompnay.com:50000/b2b/admin/xcm/init.do
2. Go to General Settings->Customer->b2b->b2bconfig.
3. In the right side frame select true as the value of the parameter logfiledownload.
4. open URL http://mycompnay.com:50000/b2b/admin
5. Click on logging - > session tracing
6. you will see a partial URL in the next jsp page inside a text field. complete this URL for eg.
http://mycompnay.com:50000/b2b/b2b/init.do
7. Click start application. This will bring up the logon page in a separate browser window.
8. In the previous window click Start Session Tracing.
This will create two hyperlinks with a long name begining with session appended by the date and session ID.
9. Move to the new window where logon.jsp was started and execute whatever steps necessary in the B2B application till you execute the code segments containing your log entries.
10. Come back to the previous window and click on the hyperlink for the logfile under the caption "download"
This will open the session log file as a zip -> text document and you can search for your log entries there.
Thx,
Bharat. -
Where does Log files created for Timesten?
Hi!
my question id that where does log file are created ...my timetsen is installed on linux having locations:
Installation Directories
Times Ten Registry /etc/TimesTen
Default Installation Directory /d01/app/oracle/tt70/TimesTen/tt70
Default temporary directory /tmp
Instance name tt70
Instance Home Directory /d01/app/oracle/tt70
Daemon Home Directory /d01/app/oracle/tt70/TimesTen/tt70/info
DemoDataStore Directory /d01/app/oracle/tt70/TimesTen/tt70/info
Documentation Directory /d01/app/oracle/tt70/TimesTen/tt70/doc
LD_LIBRARY_PATH /d01/app/oracle/tt70/TimesTen/tt70/lib
Startup Script /d01/app/oracle/tt70/TimesTen/tt70/startup/tt_tt70
regards
Muh.UsmanThe TimesTen daemon message logs are located in the daemon home directory which by default is <tt_install_dir>/info but can be changed to another location at install time.
A datastore's transaction log files are located by default in the same diredctory as the checkpoint files (specified by the DSN attribute Datastore) but can be placed eslewhere using the DSN attribute LogDir.
Again, this is all covered in the documentation. With all due respect, this forum is not intended to be a substitute for reading the comprehensive and well written documentation.
Chris -
Where does the ejb store the state
hi all,
where does the statefull session store the state in
between multiple methods invocations of the client.
In which format it will storeWhere and in what format stateful session state is stored is an implementation detail of the container.
In many cases passivation will not take place at all, so the session bean state is simply stored in
memory between invocations. If passivation does take place, the container is allowed to store the
passivated state anywhere it likes. Many implementations provide configuration that determines where
the state is stored. In SUN's implementations, the deployer can choose between a file system store,
a high availability database, or in-memory replication.
The important thing is that the application code does not have to concern itself with most of these
details. All you need to do as a developer is ensure that the bean class state conforms to the
contracts for Serializability. The exact rules are covered in Section 4.2.1 of the EJB 3.0 spec.
--ken -
Where does portal store the username after a successful log in?
We have an intranet application, we use the portal security and login screen, etc.
I have written a stored procedure which requires two parameters. One of them we already have at the time we need to call it. The other is username. All we need
to know is how to get the username at the time we must call it. Where does portal store the username after a successful log in for the particular session this user is logged into?
I tried using the following syntax,
When i log in using PORTAL30 then it returns,
SQL> select portal30.wwctx_api.get_user()
2 from dual;
PORTAL30.WWCTX_API.GET_USER()
PORTAL30
But when i logged in using some other user i.e.rtemps it returns,
SQL> connect rtemps@mpdb
Enter password: *******
Connected.
SQL> select portal30.wwctx_api.get_user()
2 from dual;
PORTAL30.WWCTX_API.GET_USER()
PUBLIC
Why does it return PUBLIC, instead of RTEMPS?
rtemps is a Database user though.
How do i test this script for portal users?
Also my application is a multiple user application.
So at a given time, there could be more than user logged in, also there could be more than one sessions of the same user logged in.
what happens in that scenario?
Thank you,
Kalpastill not working..
The first page my user goes to log in, is
http://159.225.218.59/pls/portal30_sso/portal30_sso.draw_custom_login_page
when i look at this stored procedure, it makes a call to the following procedure,
PORTAL30_SSO.wwsso_app_admin.ls_login
and passes a parameter ssousername
From here my user is directed to the home page, which is built using the portlets, the URL for the same is,
http://159.225.218.59/servlet/page?_pageid=255,257&_dad=portal30&_schema=PORTAL30
This is where i want to pass the ssousername, so as to keep track of what the user is doing.
Question 1: where does this page physically reside, or how do i add the parameter ssousername to this page?
I have 1 HTML PORTLET, on this page, and the code behind this looks like,
<!-- PL/SQL Language Definition Section -->
<%@ page language="PL/SQL" %>
<%@ plsql parameter="i_pagenum" default="1" %>
<body>
<table width = 760>
<tr>
Link 1
</tr>
</table>
In the above code, when they click on link 1, it calls a database stored procedure(rpt_param_prov), which is also a psp page.
In here, i want to pass the parameter ssousername.
e.g. the link should look like,
Link 1
Again this is a HTML portlet, so i don't think it will recognize the psp tags.. so that probably might be another issue.
But this is what i want to accomplish. So i can use the user who logged in, for my audit trail application, which will be inserting a record in a database table, everytime, the user runs reports that are being clicked.. like link 1 in above example.
I don't understand why this is so hard.
When i tried
portal30.WWCTX_API.get_user, it still brings back PUBLIC or PORTAL30_PUBLIC. -
Where does the java classes go?
I normally use IntelliJ which automatically puts the java class and the jsp where they are meant to go.
Can some help me.
Can someone please tell me where to put the java class, i have put the jsp pages in the webapps\ROOT but where does the java classes go?
Edited by: Tinkerbelle on Jul 24, 2008 1:46 AMTinkerbelle wrote:
sorry being stupid i do that sorry,
If i change the class to type (as someone said in a previous post)That would only work if you already put the bean in the session scope.
Did you try what PaulOckford wrote?
>
i get this error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 6 in the generated java file
Only a type can be imported. com.database.contactDB resolves to a packageDo you have a package structure that looks like this:
com
com/database/ <-- This is where contactDB.class is located
com/database/contactDB/
Because that is what the compiler is saying. Though it may be thrown off by case (see below)
P.S. If you use the jsp:useBean you do not need the import statement which appears to be where the error occurs. (One of the things that makes JSPs so hard to debug is the fact that the error line in the generated java file as referenced above is never the same as the line in the JSP file).
>
An error occurred at line: 3 in the jsp file: /login.jsp
database.contactDB cannot be resolved to a type
1: <%@ page import="com.database.contactDB" %>
2:
3: <jsp:useBean id='db'
4: scope='session'
5: type='database.contactDB'/>
6: <html>
And to be ultra clear - you did compile contactDB from a .java file to a .class file, and the class is called contactDB and not ContactDB correct? The class name is case sensitive and should be the exact same case in the useBean and import statements as in the real class name.
>
An error occurred at line: 3 in the jsp file: /login.jsp
database.contactDB cannot be resolved to a type
1: <%@ page import="com.database.contactDB" %>
2:
3: <jsp:useBean id='db'
4: scope='session'
5: type='database.contactDB'/>
6: <html>
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
Apache Tomcat/5.5.26Edited by: stevejluke on Jul 24, 2008 7:33 AM
Fixed compile from .class file to a .java file to compile from a .java file to .class file -
Where does SSO information gets stored in Apps 11i
Hi,
I installed Oracle Apps 11.5.10.2. This has been further integrated with Oracle Single Sign On server (Oracle iAS 10.1.2.0.2).
Does any one know where does the SSO infrormation gets stored in Apps, i.e. is there any table which stores these details? How does Apps come to know where to look for SSO server ?
Thanks in advace.dumbdba wrote:
We had a strange issue while enabling SSO for one of the test instances. After registering with the SSO server, the user was still directed to the >AppsLocalLogin.jsp page. The user preferences are SSO and we did take a Apache restart but it did not work.Is this true for all users, or just one? If not all users, this may be a case of cached files on the client (web browser) side. Can the affected users connect from other browsers on other machines, or from their own browsers after clearing the cache?
I ran the test, but it shows me the information which already is known. I mean we know the URL's of SSO server. I was wondering as to how txkrun.pl script handles the login preferences ? Does it changes the aplogon.html file or does something other ?
How does the instance comes to know that it is now single sign-on enabled and has to redirect to the SSO server rather than LocalLogin.jsp.txkrun.pl and AutoConfig should make all the necessary changes to the various configuration files (Apache httpd.conf and mod_osso.conf, Oracle AS ias.properties files, etc). As Hussein states, there should be no need to manually modify aplogon.html. Changes there will be overwritten the next time you (or adpatch) run AutoConfig, anyway.
Vikram Das has written a [useful and thorough treatment|http://oracleappstechnology.blogspot.com/2007/08/apps-11i-login-flow.html] of what goes on in the course of logging in to an 11i system that is integrated with SSO.
It's also possible that you have stale/corrupt JSPs cached on the web server; a simple restart of Apache will not necessarily fix this. Have you tried using ojspCompile.pl (in $FND_TOP/patch/115/bin) to recompile some of the JSPs associated with the login process?
Regards,
John P.
http://only4left.jpiwowar.com -
Does oracle log general errors
Dear experts,
I am using Oracle 11.2.0.3. I am researching on random ORA-00900: invalid SQL statement error that we are seeing in production. Does oracle log such errors in alert.log or any tables? If not can we configure to log such errors?
Thanks.Dont understand.... you are seeing ORA-00900 in production but don't know where to search this error? where do you see it?It is being logged from application in event log which I do not have access to. I wanted to check if oracle also logs such error some where.
SQL Banner : SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 28 12:12:25 2012
SQL :
SELECT
overload,
DECODE (
position,
0,
'RETURN_VALUE',
NVL (argument_name, CHR (0))
) AS name,
DECODE (
in_out,
'IN', 1,
'IN/OUT', 3,
'OUT', DECODE (argument_name, NULL, 6, 2),
1
) AS direction,
DECODE (
data_type,
'BFILE', 101,
'BLOB', 102,
'BYTE', 103,
'CHAR', 104,
'CLOB', 105,
'DATE', 106,
'DECIMAL', 107,
'DOUBLE', 108,
'INT16', 111,
'INT32', 112,
'INT64', 113,
'INTERVAL DAY TO SECOND', 114,
'INTERVAL YEAR TO MONTH', 115,
'LONG', 109,
'LONG RAW', 110,
'NCHAR', 117,
'NCLOB', 116,
'NVARCHAR2', 119,
'RAW', 120,
'REF CURSOR', 121,
'SINGLE', 122,
'TIMESTAMP', 123,
'TIMESTAMP WITH LOCAL TIME ZONE', 124,
'TIMESTAMP WITH TIME ZONE', 125,
'VARCHAR2', 126,
'XMLTYPE', 127,
'NUMBER', 107,
126
) AS oracleType,
DECODE (
data_type,
'BLOB', 0,
'CHAR', 0,
'CLOB', 0,
'LONG RAW', 0,
'NCHAR', 0,
'NCLOB', 0,
'NVARCHAR2', 0,
'RAW', 0,
'VARCHAR2', 2048,
0
) AS length,
NVL (data_precision, 255) AS precision,
NVL (data_scale, 255) AS scale
FROM
all_arguments
WHERE
data_level = 0
AND data_type IS NOT NULL
AND owner = :schemaName
AND package_name = :packageName
AND object_name = :methodName
ORDER BY
overload, position
******************** EXCEPTION PROPERTIES ********************
Errors: Oracle.DataAccess.Client.OracleErrorCollection
Source: Oracle Data Provider for .NET
Number: 900
ErrorCode: -2147467259
Data: System.Collections.ListDictionaryInternal
TargetSite: Void HandleErrorHelper(Int32, Oracle.DataAccess.Client.OracleConnection, IntPtr, Oracle.DataAccess.Client.OpoSqlValCtx*, System.Object, System.String, Boolean)
Edited by: spur230 on Nov 28, 2012 12:13 PM -
RE: log trace on Service Object
I haven't tried myself; but got a copy from someone of part of technote
10398 which says (the minimum you need is:)
trc:in:1 Prints out information about interpreter state object.
10 - Print method entry/exit
trc:in:2 Trace the interpretation of method invocations and exception
handling
2 - Prints entry/exit and exceptions
trc:in:51:1 Traces method entry/exit by task
trc:in:54:1 Traces method entry/exit by application
Try it.
-----Original Message-----
From: Eric Abécassis [mailto:[email protected]]
Sent: Tuesday, April 13, 1999 10:24 AM
To: Forte User List
Subject: log trace on Service Object
Hi Everybody,
I would like to set log trace on each call (method entry and exit) on a
Service Object, but I didn't find any log flag which helps me.
Does someone have any ideas on how to do that ?
Thank you for your help !
Eric Abécassis <[email protected]>
Senior Architect
Sema Group DTS
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hi Eric,
You can find on http://perso.club-internet.fr/dnguyen/ a little tool called CodeAdd which adds Entry and Return trace. I fact, you
can use it to add any kind of code at the beginning and the end of your methods.
It also allows you to add a pre-formated comments header in you code.
In a further version, It may be possible to replace a code sequence from your methods. For instance, you may add a trace class and
change a task.Part.LogMgr.Putline by a call to your own class, or need to suppress some lines.
Just be carefull to use the tool on a local backupo of your repository : CodeAdd updates your methods directly in the repository.
Hope this helps,
Daniel Nguyen
Freelance Forte Consultant
Url : http://perso.club-internet.fr/dnguyen/
Eric =?iso-8859-1?Q?Ab=E9cassis?= a écrit:
Hi Everybody,
I would like to set log trace on each call (method entry and exit) on a
Service Object, but I didn't find any log flag which helps me.
Does someone have any ideas on how to do that ?
Thank you for your help !
Eric Abécassis <[email protected]>
Senior Architect
Sema Group DTS
Eric Abécassis <[email protected]>
Senior Architect
Sema Group DTS
Eric Abécassis
Senior Architect <[email protected]>
Sema Group DTS Courrier HTML
les Algorithmes - Pythagore A route des Lucioles, BP 279;Sophia Antipolis;;06905;France Tél. cellulaire: +33 (0) 6 62 36 68 83
Télécopie: +33 (0) 4 93 95 xx xx
Bureau: +33 (0) 4 93 95 46 50
Informations supplémentaires:
le nom ABECASSIS
Prénom Eric
Version 2.1-
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
Does Flex Builder remove unused code?
Hi, I have alot of dead code in app that is resulting in an unnecessarily large SWF. Is there a way to make the flex compiler remove unused functions?
Although tedious, drkstr_1 has the plan of action. Generally you should need to clean up orphaned code and remove all trace statements. I often see the tracing statements of other Flash Player products when doing development and some are quite revealing if not embarrasing.
Also "unnecessarily large swf" begs the question what is large? If in Flash IDE did you run the bandwidth report to see exactly what makes it "unnecessarily large swf". You see this option in the publish settings.
Typically code is not going to make a "unnecessarily large swf" but rather digital assets embedded and fonts embedded. Code could make it "unnecessarily large swf" if there are lots of libraries you are using and you are only using some tiny part of the library which you could refactor or find a snippet on the net.
Last "unnecessarily large swf" in relation to what bandwidth? Do you have a targeted minimum bandwidth to make the assessment "unnecessarily large swf"?
Maybe you are looking for
-
How can i change the country of my Apple ID without giving out any Credit Cards?
HI. I have the problem of having a Gift Card from the United States and an Apple ID from Colombia. I tried to change the country, but it only lets me continue if i give away a Credit Card number. I don´t want to do that, but neither, i want to lose m
-
How to change the order of the top level navigation?
hello, i don't find where i can change the order of the top level navigation. help would be great because there is no documentation for this issue. greets daniel
-
I have installed acrobat XI (Adobe CC) now there have deleted my installed version from acrobat 8 3D. I need the 3D Toolkit from acrobat 8 3D I have chattet 3 times with the adobe support team but there is not competent or qualified.
-
[locked] I downloaded CS4 and cannot get any photos to open up on it
I cannot get any photos to open up in CS4, all I get is a black screen. I have Vista Business operating system.
-
I have several WLC's in our enviornment and one WCS managing them. I use Orion to monitor and backup the configs to all our devices, which stores all them all in a organized database in txt format, this way I can simply cut and paste the config back