Need the name of the Jar in OIM11G to implement loggers

Hi all,
can anyone please help me to implement loggers in 11g?
I think xlLogger.jar is changed in 11g set up.
if I extract I do not see the logger.class in the com\thortech\util\logging directory.
usually we import com.thortech.util.logging.Logger; and then make use of the methods
1.logger.isDebugEnabled()
2.logger.debug(s);
3. logger.isErrorEnabled()
4. logger.error(s + " : " + s1 + " : " + s2);
5. logger.isInfoEnabled()
6. logger.info(s);
How can I achieve the above functionalities in oim11G?
Which is the jar or class file that I should Import?
Can anyone give me the sample code if they have already coded?
Thanks in advance.
Edited by: venu on Jul 20, 2011 4:45 PM

1.com.thortech.util.logging.Logger is now available in oimclient.jar ,
2.public static Logger logger = Logger.getLogger("CUS.MOD");
3. Make change in logging.xml under $MW_HOME/user_projects/domains/oimdomain/config/fmwconfig/servers/SERVER_NAME according to samples.
Your logger will work.

Similar Messages

  • I need the check list for SOLMAN implementation

    Hi gurus ,
    i need the check  list for solution manager implementation and what are the things to be discuss with the client , i am new to SOLMAN, i have to do this by the evening , any one can help me out
    Cheers
    Gopal.rao

    Hi Gopal,
    I am not sure if this thread of yours is in continuation of the other thread you have started which has been replied by two other Forum members.
    The checklist depends upon which Scenario(s) of SolMan you are trying to implement.
    - Implementation/ Upgrade of ERP systems
    - Service Desk
    - Change Request Monitoring
    - Diagnostics
    - Solution Monitoring (includes BPM/ Interface monitoring)
    - Delivery of SAP Services (EWA, .....)
    Unless you specify the scenario you are seeking information on, it is difficult for anyone to pose a satisfactory reply.
    Best regards,
    Srini

  • How to find the JAR files of a custom portal service?

    Hi all,
    I have created and deployed a custom protal service on to the portal. Now for any of the other apps to make use of this service, i need the JAR files which correspond to this portal service. Where do I find them??
    Regards,
    Narahari
    Message was edited by: Narahari Vedula

    Hi,
    Can you check up if this is located in the following path.
    System Administration ->Support->Portal Runtime
    Here navigate to ROOT/WEB-INF/portal/portalapps
    Open the folder with the name of the par file and check up if you can locate the jar.
    Regards,
    Harish
    (Please award points in case this helps)

  • Play WAV files into the .jar

    Hello,
    I'm doing small application Java with Netbeans.
    I need is to play .wav file sounds are incorporated into the jar.
    I do not want to use external libraries or external sound files, etc.. I want to go with my .JAR to the office, home, etc ... just need the JAR to hear the sounds.
    I've created a folder "Sounds" in "src" and in that place I have my sounds. (Project / src / sounds). It's a way to incorporate a JAR file, or am I wrong?? Run independently of the sound files.
    At the time of reproducing the sound I do the following:
    Clip sonido = AudioSystem.getClip();
    File f = new File(getClass().getResource(/Sonidos/alarma.wav).toURI());
    sonido.open(AudioSystem.getAudioInputStream(f));
    sonido.start();
    If I run the program with netbeans, I play sounds, but which only transfer my .JAR to another computer, does not play ...
    Any ideas?
    Thank's.

    I don't understand, before I had done as you have written me, but did not work, but now it works.
    Problem solved. Thank's.
    Posting the code here:
    InputStream path = getClass().getResourceAsStream("/Sonidos/alarma.wav");
    try
    sonido = AudioSystem.getClip();
    sonido.open(AudioSystem.getAudioInputStream(path));
    sonido.start();
    }catch(Exception fail)
    System.out.println(fail);
    Edited by: 892291 on 19-oct-2011 10:37

  • HOw To Identify The JAR File Name

    Hi,
    In an already developed java code how can we identify which jar file has been used? Does it depend on what packages are included? In a java code which I have the following packages are included, so please tell me what will be the name of the corresponding file:
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Iterator;
    import java.util.Map;
    import javax.xml.namespace.NamespaceContext;
    import javax.xml.xpath.*;
    import org.xml.sax.InputSource;
    import sun.misc.BASE64Encoder;
    import sun.misc.CharacterEncoder;
    Thanks,
    Abhishek.

    The .jar files that i will need are:
    1) aii_map_api.jar
    2) namespace.jar
    Regards,
    Abhishek.

  • Need to know the jar file...?

    Hi,Iam writing an java program which is going to send messages to the remote websphereMQ server,program compiled successfully while in execution it throws error.The prgram is
    com/ibm/jvm/ExtendedSystem/*
    Use source code downloads, example commands,
    and any other techniques at your own risk.
    No warranty is provided.
    import java.util.Properties;
    import javax.jms.JMSException;
    import javax.jms.TextMessage;
    import javax.jms.Queue;
    import javax.jms.QueueConnection;
    import javax.jms.QueueConnectionFactory;
    import javax.jms.QueueSender;
    import javax.jms.QueueSession;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import java.util.Hashtable;
    public class Sender {
         String url_;
         String name_;
         QueueConnection conn = null;
         QueueSession session = null;
         Queue queue = null;
         public Sender(String url, String name) throws JMSException, NamingException {
              url_ = url;
              name_ = name;
             this.initializeSender();
         private void initializeSender() throws JMSException, NamingException {
         /*      Properties props = new Properties();
              props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
              props.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
              props.setProperty("java.naming.provider.url", url_); */
              String icf = "com.ibm.websphere.naming.WsnInitialContextFactory";
              //String url="iiop://192.168.2.45:1421";
              // Initialise JNDI properties
              Hashtable env = new Hashtable();
              env.put("java.naming.factory.initial",icf);
              env.put("java.naming.factory.url.pkgs","com.ibm.ws.naming");
              env.put("org.omg.CORBA.ORBClass","com.ibm.rmi.iiop.ORB");
              env.put("org.omg.CORBA.ORBSingletonClass","com.ibm.rmi.corba.ORBSingleton");
              env.put("javax.rmi.CORBA.UtilClass","com.ibm.rmi.javax.rmi.CORBA.Util");
              env.put("javax.rmi.CORBA.StubClass","com.ibm.rmi.javax.rmi.CORBA.StubDelegateImpl");
              env.put("javax.rmi.CORBA.PortableRemoteObjectClass","com.ibm.rmi.javax.rmi.PortableRemoteObject");
              env.put("java.naming.provider.url",url_);
              InitialContext context = new InitialContext(env);
              QueueConnectionFactory qcf = (QueueConnectionFactory) context.lookup("QCF");
              conn = qcf.createQueueConnection();
              queue=(Queue)context.lookup(name_);
              session = conn.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE);
              conn.start();
          public void send(String text) throws JMSException, NamingException {
              QueueSender send = session.createSender(queue);
              TextMessage tm = session.createTextMessage(text);
              send.send(tm);
              send.close();
         public void disconnect() throws JMSException {
              if(conn != null) {
                   conn.stop();
              if(session != null) {
                   session.close();
              if(conn != null) {
                   conn.close();
         public String getTopicName() {
              return name_;
         public String getTopicURL() {
              return url_;
         public static void main(String args[]) throws Exception {
              System.out.println("Starting JMS Example Sender");
                Sender sender = new Sender("iiop://192.168.2.45:1421", "ASMQUEUE");
                 System.out.println("Sending list of data");
                 sender.send("Krishna Moorthy");
                 sender.disconnect();
                      System.out.println("JMS Example Sender Complete - list sent");
    }During Execution followng error occurs,
    D:\jboss-4.0.5.GA\WebSphere_JMS>java Listener
    Starting JMS Example Listener
    performing lookup...
    Error creating listener: javax.naming.NamingException: Failed to initialize the
    ORB [Root exception is org.omg.CORBA.INITIALIZE: can't instantiate default ORB i
    mplementation com.ibm.CORBA.iiop.ORB  vmcid: 0x0  minor code: 0  completed: No]
    javax.naming.NamingException: Failed to initialize the ORB [Root exception is or
    g.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.ibm.COR
    BA.iiop.ORB  vmcid: 0x0  minor code: 0  completed: No]
    at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:293)
    at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(Ws
    nInitCtxFactory.java:365)
    at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)
    at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:40
    8)
    at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:131)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Listener.initializeListener(Listener.java:78)
    at Listener.<init>(Listener.java:31)
    at Listener.main(Listener.java:112)
    Caused by: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementatio
    n com.ibm.CORBA.iiop.ORB vmcid: 0x0 minor code: 0 completed: No
    at org.omg.CORBA.ORB.create_impl(ORB.java:297)
    at org.omg.CORBA.ORB.init(ORB.java:336)
    at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:77)
    at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:174)
    at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:98)
    at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:74)
    at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:386)
    at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:284)
    ... 8 more
    Caused by: java.lang.NoClassDefFoundError: com/ibm/jvm/ExtendedSystem
    at com.ibm.rmi.util.JDKBridge.setCodebaseProperties(JDKBridge.java:226)
    at com.ibm.rmi.util.JDKBridge.<clinit>(JDKBridge.java:205)
    at com.ibm.rmi.util.RepositoryId.<clinit>(RepositoryId.java:122)
    at com.ibm.rmi.iiop.CDROutputStream.<clinit>(CDROutputStream.java:1077)
    at com.ibm.rmi.corba.ORB.<init>(ORB.java:250)
    at com.ibm.rmi.iiop.ORB.<init>(ORB.java:166)
    at com.ibm.CORBA.iiop.ORB.<init>(ORB.java:521)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at org.omg.CORBA.ORB.create_impl(ORB.java:295)
    ... 15 more
    Done listening
    In my application classpath following jars are used : jms.jar,naming.jar,namingClient.jar,ibmorb.api,ibmorbapi.jar,jndi.jar
    I need to know the jar file name for this class : com/ibm/jvm/ExtendedSystem.And also tell me the solution to solve the above error.Anyone know the solution please reply as early as possible..Thanks in advance

    Have you checked if any of the jar files in your class path contains the missing class ?

  • Name of the JAR file

    can you please tell me,
    the name of the JAR file where this class "'com.ibm.ejs.ns.jndi.CNInitialContextFactory' " exists .
    Thanks

    in fact, i need to know the name of the JAR file
    because i am getting exceptions,
    ...classnotfound......i want to put that JAR file
    in the classpath to avoid classnotfound exception.Uhm... if the stuff is not in your classpath, then you have no choice but to run through your file system and look into every JAR you can find.
    so, if i get to know the name of the JAR file
    .....i would be able to remove the runtime error.Doubt it. Websphere doesn't care for your classpath, it uses its own. So if it doesn't find the class, it's not there.

  • Where does the jar for a custom tag libary need to go?

    I am having trouble getting a custom tag library's classes found. These are located
    in a jar file called blazix.jar.
    I have the following GetName.jsp:
    <%@ taglib prefix="blx" uri="/blx.tld" %>
    <jsp:directive.page import="com.company.project.ejb.UserData"/>
    <jsp:useBean id="user" class="UserData" scope="session"/>
    <HTML>
         <BODY>
              <blx:getProperty name="user" property="*">
              <FORM METHOD=POST ACTION="SaveName.jsp">
                   What's your name? <INPUT TYPE=TEXT NAME=username SIZE=20><BR>
                   What's your e-mail address? <INPUT TYPE=TEXT NAME=email SIZE=20><BR>
                   What's your age? <INPUT TYPE=TEXT NAME=age SIZE=4>
                   <P><INPUT TYPE=SUBMIT>
              </FORM>
              </blx:getProperty>
         </BODY>
    </HTML>
    When I run this, I get the following:
    Parsing of JSP File '/GetName.jsp' failed:
    /GetName.jsp(1): Error in using tag library uri='/blx.tld' prefix='blx': cannot
    find tag class: 'desisoft.jsp.tagext.SetProp'
    probably occurred due to an error in /GetName.jsp line 1:
    <%@ taglib prefix="blx" uri="/blx.tld" %>
    The jar does contain the needed class (desisoft.jsp.tagext.SetProp), but how can
    I tell WebLogic where to find it?
    In other words, what directory does the blazix.jar need to go under? I tried
    adding it to my classpath but that did not help.
    Thanks!

    I got it. Just needed to add my own lib directory under WEB-INF and copy the jar
    to it.
    Question though, why wouldn't this get generated for me? Would think it would
    be a common thing to need.
    "Darrin" <[email protected]> wrote:
    >
    BTW,
    I placed the blx.tld file under the WEB-INF directory. It seems to find
    it OK
    there at least.
    "Darrin" <[email protected]> wrote:
    I am having trouble getting a custom tag library's classes found. These
    are located
    in a jar file called blazix.jar.
    I have the following GetName.jsp:
    <%@ taglib prefix="blx" uri="/blx.tld" %>
    <jsp:directive.page import="com.company.project.ejb.UserData"/>
    <jsp:useBean id="user" class="UserData" scope="session"/>
    <HTML>
         <BODY>
              <blx:getProperty name="user" property="*">
              <FORM METHOD=POST ACTION="SaveName.jsp">
                   What's your name? <INPUT TYPE=TEXT NAME=username SIZE=20><BR>
                   What's your e-mail address? <INPUT TYPE=TEXT NAME=email SIZE=20><BR>
                   What's your age? <INPUT TYPE=TEXT NAME=age SIZE=4>
                   <P><INPUT TYPE=SUBMIT>
              </FORM>
              </blx:getProperty>
         </BODY>
    </HTML>
    When I run this, I get the following:
    Parsing of JSP File '/GetName.jsp' failed:
    /GetName.jsp(1): Error in using tag library uri='/blx.tld' prefix='blx':
    cannot
    find tag class: 'desisoft.jsp.tagext.SetProp'
    probably occurred due to an error in /GetName.jsp line 1:
    <%@ taglib prefix="blx" uri="/blx.tld" %>
    The jar does contain the needed class (desisoft.jsp.tagext.SetProp),
    but how can
    I tell WebLogic where to find it?
    In other words, what directory does the blazix.jar need to go under?
    I tried
    adding it to my classpath but that did not help.
    Thanks!

  • Need signed applet to read a file in the jar?

    i have an applet and i need to read a file (just a picture .jpg) within the jar. but i got a security exception when i try to make the File object for this jpg
    thanks and sorry for my english

    Image image = Toolkit.getDefaultToolkit().getImage(getClass().getResorce("FileName.jpg"));i need to make something like this
    File file = new File("picture.jpg");
    the idea is verify that picture.jpg is really the picture that i put and not other with the same name... and if it is a file objet i can see the last modification date, to make a validation...
    another way is to read some pixels and verify that its colors dont change... but i dont know how to do this neither.
    but thanks anyway!

  • I have a MacBook Pro, 15-inch, Mid 2009.  I would love to upgrade to a Solid State Drive.  What is the best possible upgrade I can buy.  I need the specs and even brand name.  Thank you to anyone who can help.

    I have a MacBook Pro, 15-inch, Mid 2009.  I would love to upgrade to a Solid State Drive.  What is the best possible upgrade I can buy.  I need the specs and even brand name.  Thank you to anyone who can help.

    A 15" mid-2009 MBP RAM specifications are: 204-pin PC3-8500 (1066 MHz) DDR3 SO-DIMM.
    As has been pointed out, OWC is an excellent source for Mac compatible RAM.  Crucial is another first rate source for Mac RAM.  RAM from either vendor will work just as well as any purchased from Apple with the bonus of being less expensive and having a lifetime guarantee.
    Ciao.

  • How to get the jar file without knowing its name and any class inside it?

    Hello, everybody!
    I would like to know if there's a way to get a reference programatically to the initial jar without knowing its name and any class contained in it. By "initial jar" I mean the jar that was called in the prompt, like this:
    java -jar jarfile.jaror in another way, in a graphical system. To be sincere what I really want is to get a reference to the jar's manifest, but I know if I can get a reference to the jar I can get a reference to its manifest file. Or if you know a way to get the manifest directly, it would also help. So, is there a way to do this?
    Thank you.
    Marcos

    jverd wrote:
    marcos_aps wrote:
    abillconsl wrote:
    Can you be more specific - IOW, can you cite a specific case?Absolutely. I want to access the jar in source code with the java.util.zip.JarFile class, for example.But why? You still haven't provided a use case or explained what you're trying to accomplish. As already pointed out, whatever you're trying to do, this is a brittle solution. If you explain what you're trying to accomplish with this, somebody may be able to suggest a better approach.jverd, I explained for baftos. Anyway, I will try to be more specific. I start my sytem like this, from, say, for example, jar1.jar:
    import br.product.System;
    public static void main(String[] args)
        System.start("NameOfTheSystem");
    }The System class is in util.jar, for example. This jar is used by all systems. I wouldn't like to pass in the name of the system, as above. I would like that the System class could read it from jar1.jar's manifest file. I just would like to have this:
    import br.product.System;
    public static void main(String[] args)
        System.start();
    }It is more elegant and I don't have the name of the system in two places: code and manifest file.
    Marcos

  • Hello, I would like to create and print a contact sheet in Photoshop elements 13. I have managed to do that but I need desperately to be able to place a title on the contact sheet. Also, each photograph has as name and I need these names to show up on the

    Hello, I would like to create and print a contact sheet in Photoshop elements 13. I have managed to do that but I need desperately to be able to place a title on the contact sheet. Also, each photograph has as name and I need these names to show up on the contact sheet when I print them out. If this is not possible I will just return my product. I have an old old version of Photoshop that will do just that but with this new elements I cannot find it.

    markc
    What computer operating system is your Premiere Elements 13/13.1 running on?
    Assuming Windows 7, 8, or 8.1 64 bit, open the Elements Organizer 13/13.1 and select your media
    for the Contact Sheet.
    Go to File Menu/Print and set up the Print Dialog for Contact Sheet.
    If you used Edit Menu/Add Caption beforehand, I can see how you can get
    Date
    Caption
    Filename
    under the Print dialog's "4" and even a page number if you have more than 1 page. But, I am not seeing
    where you are going to get a title for each of the contact sheets.
    Any questions or need clarification, please do not hesitate to ask.
    You can get into the Elements Organizer 13/13.1 from the Welcome Screen or by clicking on the Organizer Tab
    at the bottom of the Expert workspace in the Premiere Elements 13/13.1 Editor.
    Please let us know if we have targeted your quesiton..
    Thank you.
    ATR

  • I need to install servlet-api.jar in the libext folder.

    Hi I am doing a tutorial on struts 2.0.11.
    i need to install servlet-api.jar in the libext folder which I have created inside WEB-INF
    Now I have downloaded servlet.api which is in the zip form.
    When I extract the files. Its giving me two folders
    1. javax
    2. META-INF
    Inside javax there is a folder called servlet. Inside servlet folder there are
    a) bunch of call files
    b) http folder
    c) resources folder
    Inside http folder there are
    a) class files
    b) properties files
    Inside the resources folder there are
    a) dtd files
    b) xsd files
    Inside the META-INF folder there is the manifest.mf file
    I just need servlet-api.jar
    I think that I have extracted the contents of servlet-api.jar by using the extract feature of winzip.
    Do you think that by just changing the extension of the file from servlet-api.zip to servlet-api.jar it will do the trick or do i need to do something else.
    Please guide

    pksingh79 wrote:
    Hi ^^,
    your replies were very helpful. I did try to check the lib folder of the webserver and there was not servlet-api.jar. However I downloaded a dummy project and it did have servlet-api.jar in it, so I am ok for now.
    thanks and regards,
    PrashantYou should not be doing that. Always use the one from the application server which you're going to use. Otherwise you will possibly get in runtime trouble due to version differences.
    The actual location and filename of the servlet API might differ per application server implementation. If it was for example Tomcat 6, it is the servlet-api.jar in the /lib directory. If it was for example Glassfish (the current release), then it is the javaee.jar in the /lib directory.

  • How to load the same classes of the same name, from different jars

    Hi,
    I have several different versions of my project in respective jars. I am trying to develop a configuration app, which will have the most current version of my app packaged within it. Then the user will make a selection, and if that selection is an older version, a specific class from one of the jars...which will continue to load other classes within that same jar. If it is the current version, the class will be found within the codebase.
    My question is if this is even possible? Can I load a class from a jar file which has the same file name and package as what is in my current code?

    nasch_,
    So I have been searchin around, and found some good tutorials on classloaders, But i still see a problem.
    Whether I use the same classloader for different sources or not, the problem lies within the reference to the class i am loading. Since this class (a different version of it), is also in the classpath, how does the code know which class is being returned?
    I am having trouble putting this into words, but basically. i don't see how my application will know that i am returning an instance of a class which is not in my classpath.

  • Need BAPI name to change the PO data in SRM.

    HI All,
    Need BAPI name to change the PO data in SRM.
    The BAPI_PO_CHANGE is not available in SRM.
    If there is no BAPI to change PO in SRM, what is the alternate solution?
    Regards,
    A.I.Rajesh.

    hello,
    try using FM BBP_PD_PO_UPDATE.
    regards.

Maybe you are looking for