Multiple log4j jars of different versions in classpath

Hi,
Does having multiple log4j jars in the classpath of different versions cause problem. If I have both log4j-1.2.14.jar and log4j-1.2.15.jar in my classpath will that cause a problem.
I have a scenario where in the production env. servers hung and when I checked the classpath it had both the above log4j jars. Could it be an reason for server hanging?
Thanks
AA

Hi GP,
Thanks for all the help again.
2.How to ensure the existing user updates /new user creations that comes from OID 10g propagate to OID 11g as well? Please suggest the steps likely involved in OIM 11g configuration.
3.Also need to ensure the password changes propagates from OID 10g to OID 11g after the above configurations. Please suggest ways for this as well.
->>>PLease clear your requirement. Do you want to transfer data from OID 10g to OID 11g via OIM? If yes configure OID 11g as trusted source and trusted source reconciliation bring OID 10g data to OIM and OIM will propogate it to OID 11g.
I think you are looking for LDAPSync between two OIDs. You can refer its documentation to configure LDAP sync, so whatever changes are done in 10g will be propagated to OIM 11g.
->>>>>>>>>>Yes I want all the users that were once created in OID 10g should also be propagated on OID 11g under a similar context/orgs. Also if any change / modification in the existing user happens on OID 10g should propagate the changes for the same user on OID 11g. Please guide me how to configure trusted source in OIM 11g?
Also can you please point LDAPSync document (for propagate changes for user passwords from OID 10g to OID 11g user). I understand that you are suggesting for the same purpose? Please correct me if am wrong.
Thanks again.

Similar Messages

  • Multiple NW instances of different versions on same server

    Hello,
    Our current landscape has two NW 7.2 Java AS instances installed on a single server. This solution works well for us, as one instance functions as our Dev server and the other functions as the QA.
    I am looking to upgrade to NW 7.3 EP1. Is it possible to have different NW instances at different versions on the same machine? For instance:
    NW 7.2 DEV (port 50000)
    NW 7.2 QAS (port 50200)
    NW 7.31 PRD (port 50400)
    I've already attempted to install NW 7.31 Java as a New and additional installation on the server. Both methods have failed so far. I haven't dug too deeply into the logs yet as I wanted to get feedback from the community first.
    In summary, is it possible to have different versions of NW Java running on the same machine? If so, what is the best practice and process for installing the new NW instance?
    Thanks,
    Greg

    In summary, is it possible to have different versions of NW Java running on the same machine? If so, what is the best practice and process for installing the new NW instance?
    Yes, it is possible. You need to make sure that the hardware has sufficient resources (CPU, RAM, Disk space, etc) to accommodate a new instance, the system numbers and SID's are unique and the OS and DB are supported for the new system.
    Regards
    RB

  • How to use two different versions of the same jar within one project

    Hi everybody!
    I have a big problem while integrating different web service clients within one bigger java project. Both implemetations need some jar files to work but demand different version. So, i would like to know if there is any way to tell which implementation should use which version! Anyhow i add those jars to the classpath makes working only one or the other webservice working but never both! Any ideas somebody?
    Best regrads,
    Stefan G�tz

    Of course do have the jar files different names but the classes inside of them are the same ... means that the standard system classloader can distinguish them. When you add a jar to a classpath the name actually dosent matter.... any other ideas, please?
    PD.: i tryed to add a manifest file to the one jar which makes use of one of the dublicated jars to specify which jar to take direcly but it makes no difference since once classes loaded they cant be distinguish ....see:
    http://java.sun.com/docs/books/tutorial/ext/basics/load.html

  • Running multiple java apps simultaneously, using different versions of jre.

    I have a situation where I have 3 or 4 applications (and one applet) that were built over time, each with a different version of the jdk (ranging from 1.2.2.005 to 1.3.2). I need to know of a way (and it must exist) to run each of these applications on the same machine, and at runtime, have each application (or applet) run with its respective version of the jre. Certainly, one could change some source code and make all programs compatible with a particular jre, but that doesn't solve my problem if a new app is built with a new version of the jdk down the road. Currently, each runs fine by themselves, but if I try to run them together as different processes, some won't do anything because the default jre may not be what it needs. Would the Java Plug-in software have a role to play in this? Is there a way to specify (link) which application should use which jre?
    P.S. These applications (right now) don't have to interact or interface in any way. I just need to have them all running as separate processes on the same machine and be able to jump from one to the other.

    Write a batch file that sets the environment properly and restores it afterwards, here is a sample batch file we use which switches to IBM's JRE to run an app:
    OLDPATH=$PATH
    PATH=$PATH:"/usr/local/java/IBMJava2-13/jre/bin"
    OLDCP=$CLASSPATH
    CLASSPATH="/usr/local/java/IBMJava2-13/jre/lib/rt.jar:."
    OLDHOME=$JAVA_HOME
    JAVA_HOME="/usr/local/java/IBMJava2-13/jre"
    # put the command to execute your program here
    java -jar app.jar
    PATH=$OLDPATH
    CLASSPATH=$CLASSPATH
    JAVA_HOME=$JAVA_HOME
    This is for Linux, but it should be possible to write one for Windows too.

  • Jars dependent on different versions of the another jar

    I have two vendor supplied jars that are both dependent on different releases of another jar. So, in the usage instructions for the first jar, it says to make sure that x_1_2_1.jar is my classpath. Likewise, in the usage instructions for my other jar, it says to make sure that x_2_0_1.jar is in my classpath. The installers for each one of these jar puts their version of the dependent x jar in a subdirectory under their installation.
    This causes all sorts of headaches because neither jar ever gets completely what it is looking for. Code in the jar that depends on x_1 fails if x_2 is in the classpath first, while code in the jar that depends on x_2 fails if x_1 is the classpath first.
    (Since, I'm sure to encounter this mismatched versioning problem with other "utility" jars in future, I'm intentionally withholding the actually names of the jars involved. I'm looking for the general solution to this class of problem, not specific tips related to a particular utilities jar.)
    I was thinking that maybe the manifest Class-Path of each jar might be used to force where each jar looks for it's dependent jars, but the documentation I read about Manifests indicated that each jars Class-Path is simply concatenated into the overall Classpath that the ClassLoader uses.
    If it matters, all this is in a Java 1.3.1 environment.
    It seems like I can't be the first person to come up against this, but I haven't really seen any traffic on the forums about this kind of problem. (Am I missing something obvious?)

    May be custom ClassLoaders may help you, but I am not sure. It depends on whether you are allowed to explicitly load several equally named classes from different sources.
    Probably it is allowed. The following is cited from the Java Language Specification, 2nd edition (chapter 7.7, Unique Package Names, packages.doc.html):
    "If unique package names are not used, then package name conflicts may arise far from the point of creation of either of the conflicting packages. This may create a situation that is difficult or impossible for the user or programmer to resolve. The class ClassLoader can be used to isolate packages with the same name from each other in those cases where the packages will have constrained interactions, but not in a way that is transparent to a na�ve program. "

  • How can I handle deploying multiple test systems on the same PC that have been developed using different versions of LabVIEW, TestStand, and/or Switch Executive?

    The major issue here is that the test systems must be documented and validated before being released to the production floor. Given this if a test station has multiple test systems deployed on it that have been developed on various versions of LV, TS, and Switch exec how can I force the test system selected to use the correct versions of TS, LV, and Switch exec.? I understand that the solution would be to recomplie everything and bring them up to the latest version but that would then require re-validation according to the QA department. Any advice would be greatly appreciated.
    It would be nice if theTS deployment was more like an LV executable... meaning when a LV executable is launched it always knows what LV runtime engine to use when there are multiple engines installed on a PC.

    Hi,
    Multiply versions of teststand can reside on the same system, but only one version can run at a time. They is a utility that has to be run to set the active version.
    The SequenceFiles have a version number, and you will find an error will be generate if you try to Load the sequencefile in the wrong version of TestStand.
    The labview VIs will only work providing the correct version of the RTE is also installed on your system, even a labview executabe requires the correct RTE to be installed, either as part of the executable installation or as a seperate installation, before the labview exe will work correctly.
    I'm not fimilar with the Switch exec but I would expect that it will also require the correct lower level device drivers to be available for the version you are using.
    Therefore, as you are indicating that some of your system are at  a older version, its difficult to image how you could achive this, considering if you say you have different versions of the software(s). For a start, you may have the problem that newer code/ sequencefiles using additional functionatily not available in the older versions.
    I would think your only solution would  be to have different deployments covering the different versions you have, or at least bring all your test systems up to the same version of teststand.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Dynamically load different versions of client jar

    Hello,
    My application needs to simultaneously support different versions of an RMI app. How to dynamically load the proper version of the client jar to connect with the same version of the server. Say Server versions are sv1.0, sv 1.1, sv 2.0 and clients are cl1.0, cl1.1, cl2.0. How to dyncamically load cl1.0 in my application so as to connect with sv1.0, similarly cl1.1 with sv1.1
    Will having a different classloader for each of the client jars, solve the problem?
    Can someone direct me/suggest on how to handle this.
    I appreciate your help and thanks for your time.

    Try this link if you want to see how browser based help will look on MACs and Apple hardware.
    http://www.grainge.org/demos/bbair/
    Your developers would need to create a sniffer to ascertain the OS of the user's device and then route to the required help. That is not built into RoboHelp and RoboHelp Server will not assist with this one.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to fix the Log4j error due to old version of log4j jar bundled with jre

    Hi,
    We have a webstart application which budles the latest log4j.jar (ver 15), but for some users at startup after the app is downloaded the newer version of the log4j jar is not loaded - We get a NoSuchMethodError when we try to use the trace() method of log4j. Question is how do we ensure that our app always picks up the newer version of log4j jar bundled with the app and not the one in the lib/ext folder of the jre,
    thanks

    I think we both have similar issue Thread
    Do anyone knows why this is happening?

  • Classpath Issue - but JAR file is in the classpath

    I'm having an issue getting a JAVA Application Client to run and would welcome any suggestions or input to resolve this problem. I'm not a developer, just the builder/deployer of the applications. There are two developers looking at this problem too, but they are stumped too.
    It complains that it can't find sun/jdbc/rowset/CachedRowSet, which is contained in the rowset.jar - which is in the classpath. I've put all the supporting information below, if you need additional information please let me know and I'll provide it.
    ***** ERRORS FROM RUNNING SCRIPT BELOW *****
    *** NOT Using Verbose: ***
    Exception in thread "main" java.lang.NoClassDefFoundError: sun/jdbc/rowset/CachedRowSet
    *** Using Verbose (only included the output with the error): ***
    [Loading superclasses of com/actuate/schemas/SubmitJobResponse]
    [Loaded java.sql.SQLException from /usr/java130/jre/lib/rt.jar]
    [Loading superclasses of java/sql/SQLException]
    [Signaling in VM: java/lang/NoClassDefFoundError, message: sun/jdbc/rowset/CachedRowSet]
    Exception in thread "main" java.lang.NoClassDefFoundError: sun/jdbc/rowset/CachedRowSet[Loaded sun.i
    o.UnknownCharacterException from /usr/java130/jre/lib/rt.jar]
    [Loading superclasses of sun/io/UnknownCharacterException]
    [Preparing sun/io/UnknownCharacterException]
    ***** SCRIPT TO RUN THE JAVA COMMAND *****
    #!/usr/bin/ksh
    LIBDIR="/actuate/Mace/lib"
    JAVA_CP=""
    MAIN_JAR="MaceEXT.jar"
    JAVA_PATH="/usr/java130/jre/bin"
    JAVA_HOME="/usr/java130/jre"
    JAVA_FULLVERSION=`$JAVA_PATH/java -fullversion`
    JAVA_EXE=${JAVA_HOME}/bin/java
    PATH=$JAVA_PATH:$PATH
    export PATH
    export JAVA_HOME
    JAVA_CP="${LIBDIR}/sljcx.jar"
    JAVA_CP="${LIBDIR}/sljc.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/rowset.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/wsdl4j.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/tt-bytecode.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/servlet.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/saaj.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/log4j-1.2.4.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/jaxrpc.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/commons-logging.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/axis.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/ivjejb35.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/j2ee.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/activation.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/mail.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/ns.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/xmlParserAPIs.jar":${JAVA_CP}
    JAVA_CP="${LIBDIR}/xercesImpl.jar":${JAVA_CP}
    JAVA_CP="$JAVA_HOME/lib/rt.jar":${JAVA_CP}
    echo ""
    echo "Classpath"
    echo $JAVA_CP
    echo ""
    echo "JAVA_Home"
    echo $JAVA_HOME
    echo ""
    echo "JAVA_EXE"
    echo $JAVA_EXE
    echo ""
    echo "JAVA_Path"
    echo $JAVA_PATH
    echo ""
    echo "JAVA FullVersion"
    echo $JAVA_FULLVERSION
    #$JAVA_EXE -cp $JAVA_CP -jar $MAIN_JAR -h dev -c adduser -u 000 -p ""
    $JAVA_EXE -verbose -cp $JAVA_CP -jar $MAIN_JAR -h dev -c adduser -u 000 -p ""
    ***** JAR -tvf OF ROWSET.JAR *****
    server105:/actuate/Mace/lib $ jar -tfv rowset.jar
    0 Tue Jun 13 19:45:42 EDT 2000 META-INF/
    66 Tue Jun 13 19:45:42 EDT 2000 META-INF/MANIFEST.MF
    0 Tue Jun 13 19:45:30 EDT 2000 sun/
    0 Tue Jun 13 19:45:30 EDT 2000 sun/jdbc/
    0 Tue Jun 13 19:45:42 EDT 2000 sun/jdbc/rowset/
    551 Tue Jun 13 19:45:30 EDT 2000 sun/jdbc/rowset/BaseRow.class
    9112 Tue Jun 13 19:45:32 EDT 2000 sun/jdbc/rowset/BaseRowSet.class
    35562 Tue Jun 13 19:45:36 EDT 2000 sun/jdbc/rowset/CachedRowSet.class
    597 Tue Jun 13 19:45:36 EDT 2000 sun/jdbc/rowset/ColInfo.class
    1290 Tue Jun 13 19:45:36 EDT 2000 sun/jdbc/rowset/InsertRow.class
    18442 Tue Jun 13 19:45:38 EDT 2000 sun/jdbc/rowset/JdbcRowSet.class
    2109 Tue Jun 13 19:45:38 EDT 2000 sun/jdbc/rowset/Row.class
    4489 Tue Jun 13 19:45:38 EDT 2000 sun/jdbc/rowset/RowSetMetaDataImpl.class
    4707 Tue Jun 13 19:45:38 EDT 2000 sun/jdbc/rowset/RowSetReaderImpl.class
    8270 Tue Jun 13 19:45:38 EDT 2000 sun/jdbc/rowset/RowSetWriterImpl.class
    4745 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/SQLInputImpl.class
    3287 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/SQLOutputImpl.class
    2326 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/SerialArray.class
    1560 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/SerialBlob.class
    1948 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/SerialClob.class
    592 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/SerialRef.class
    2419 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/SerialStruct.class
    1903 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/WebRowSet.class
    257 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/XmlReader.class
    15620 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/XmlReaderDocHandler.class
    2029 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/XmlReaderImpl.class
    258 Tue Jun 13 19:45:40 EDT 2000 sun/jdbc/rowset/XmlWriter.class
    9797 Tue Jun 13 19:45:42 EDT 2000 sun/jdbc/rowset/XmlWriterImpl.class
    ***** ECHO OF VARIABLES FROM SCRIPT *****
    Classpath
    /usr/java130/jre/lib/rt.jar:/actuate/Mace/lib/xercesImpl.jar:/actuate/Mace/lib/xmlParserAPIs.jar:/ac
    tuate/Mace/lib/ns.jar:/actuate/Mace/lib/mail.jar:/actuate/Mace/lib/activation.jar:/actuate/Mace/lib/
    j2ee.jar:/actuate/Mace/lib/ivjejb35.jar:/actuate/Mace/lib/axis.jar:/actuate/Mace/lib/commons-logging
    .jar:/actuate/Mace/lib/jaxrpc.jar:/actuate/Mace/lib/log4j-1.2.4.jar:/actuate/Mace/lib/saaj.jar:/actu
    ate/Mace/lib/servlet.jar:/actuate/Mace/lib/tt-bytecode.jar:/actuate/Mace/lib/wsdl4j.jar:/actuate/Mac
    e/lib/rowset.jar:/actuate/Mace/lib/sljc.jar:/actuate/Mace/lib/sljcx.jar
    JAVA_Home
    /usr/java130/jre
    JAVA_EXE
    /usr/java130/jre/bin/java
    JAVA_Path
    /usr/java130/jre/bin
    JAVA FullVersion
    java full version "J2RE 1.3.0 IBM build ca130-20020504"
    ***** DIRECTORY LISTING *****
    server105:/actuate/Mace $ ls -lat
    -rwxr-xr-x 1 actuate actuate 1673 Apr 04 09:11 go.sh
    -rw-r----- 1 actuate actuate 476699 Apr 03 12:37 MaceEXT.jar
    drwxr-xr-x 2 actuate actuate 4096 Apr 02 10:49 lib
    -rw-r----- 1 actuate actuate 1818 Mar 28 11:15 MaceConfig.xml
    server105:/actuate/Mace/lib $ ls -lat
    -rw-r----- 1 actuate actuate 32033 Apr 02 10:49 ivjejb35.jar
    -rw-r----- 1 actuate actuate 329096 Apr 02 10:49 j2ee.jar
    -rw-r----- 1 actuate actuate 374291 Apr 01 16:39 ns.jar
    -rw-r----- 1 actuate actuate 654326 Apr 01 16:31 sljc.jar
    -rw-r----- 1 actuate actuate 81987 Apr 01 16:31 sljcx.jar
    -rw-r----- 1 actuate actuate 54368 Mar 31 08:32 activation.jar
    -rw-r----- 1 actuate actuate 867459 Mar 31 08:32 axis.jar
    -rw-r----- 1 actuate actuate 24287 Mar 31 08:31 commons-logging.jar
    -rw-r----- 1 actuate actuate 32069 Mar 31 08:31 jaxrpc.jar
    -rw-r----- 1 actuate actuate 378778 Mar 31 08:31 log4j-1.2.4.jar
    -rw-r----- 1 actuate actuate 305414 Mar 31 08:31 mail.jar
    -rwxrwxrwx 1 actuate actuate 62388 Mar 31 08:31 rowset.jar
    -rw-r----- 1 actuate actuate 18468 Mar 31 08:31 saaj.jar
    -rw-r----- 1 actuate actuate 78350 Mar 31 08:31 servlet.jar
    -rw-r----- 1 actuate actuate 130773 Mar 31 08:31 tt-bytecode.jar
    -rw-r----- 1 actuate actuate 109356 Mar 31 08:31 wsdl4j.jar
    -rw-r----- 1 actuate actuate 933730 Mar 31 08:31 xercesImpl.jar
    -rw-r----- 1 actuate actuate 78440 Mar 31 08:31 xmlParserAPIs.jar

    All that script made my eyes glaze over, but it appears you are running your main class from an executable jar file. Is that correct? Executable jar files don't use the classpath. If you want them to refer to anything outside the executable jar, you have to put Class-Path entries in its manifest.

  • WL7.0 SP2  different version?

    I am getting the following:
    ####<Mar 3, 2004 7:49:52 PM EST> <Info> <EJB> <server1> <app1> <main>
    <kernel identity> <> <010008> <EJB Deploying file: Bean1.jar>
    ####<Mar 3, 2004 7:49:52 PM EST> <Warning> <EJB> <server1> <app1> <main>
    <kernel identity> <> <010004> <The EJB deployment named: app1_MyApp_Bean1
    was compiled by a different version of the WebLogic Server.>
    ####<Mar 3, 2004 7:49:52 PM EST> <Info> <EJB> <server1> <app1> <main>
    <kernel identity> <> <010087> <The EJB deployment named: Bean1.jar is being
    recompiled within the WebLogic Server. Please consult the server logs if
    there are any errors. It is also possible to run weblogic.ejbc as a
    stand-alone tool to generate the required classes.
    No here is the wierd part. I have already run the ejbc on Bean1 on a
    different computer that is at the same SP level. (i.e. SP2) This just
    started doing this yesterday and only after applying a CR that BEA sent us.
    I made sure that the ejb-jar.xml file is EJB 2.0 and the
    weblogic-ejb-jar.xml file is using Weblogic 7.0. It is deployed in an EAR
    file, in case that matters.
    Any ideas?
    Paul Franz

    Ignore this. I found the problem. There was SP1 CR in the CLASSPATH where
    the ejbc was previously run. So the version in the wlgenenerated file in
    the .jar said 7.0.1.0 instead of 7.0.2.0
    Paul Franz
    "Paul Franz" <thefranz_nospam@nospam_comcast.net> wrote in message
    news:40472b24$[email protected]..
    >
    I am getting the following:
    ####<Mar 3, 2004 7:49:52 PM EST> <Info> <EJB> <server1> <app1> <main>
    <kernel identity> <> <010008> <EJB Deploying file: Bean1.jar>
    ####<Mar 3, 2004 7:49:52 PM EST> <Warning> <EJB> <server1> <app1> <main>
    <kernel identity> <> <010004> <The EJB deployment named: app1_MyApp_Bean1
    was compiled by a different version of the WebLogic Server.>
    ####<Mar 3, 2004 7:49:52 PM EST> <Info> <EJB> <server1> <app1> <main>
    <kernel identity> <> <010087> <The EJB deployment named: Bean1.jar isbeing
    recompiled within the WebLogic Server. Please consult the server logs if
    there are any errors. It is also possible to run weblogic.ejbc as a
    stand-alone tool to generate the required classes.
    No here is the wierd part. I have already run the ejbc on Bean1 on a
    different computer that is at the same SP level. (i.e. SP2) This just
    started doing this yesterday and only after applying a CR that BEA sentus.
    I made sure that the ejb-jar.xml file is EJB 2.0 and the
    weblogic-ejb-jar.xml file is using Weblogic 7.0. It is deployed in an EAR
    file, in case that matters.
    Any ideas?
    Paul Franz

  • Replace commons-logging.jar with another version

    Hi all,
    I'm using CR4E version 2 Update 4(v. 12.2.205) and I would use instead of
    commons-logging.jar (v. 1.1.1) provided, the version used in my application
    (v. 1.0.4). Is possible without errors?
    I specify that I not use the provided log4j.jar in CR4E v.2.
    Thanks a lot

    The versions that we provide with our product is the version that we expect to be using when using our product.  Any other version may or may not work and there would be no way to fix an issue specific to using a different version than what we provide.

  • Ok to use different versions of java?

    Hello,
    I installed jdk1.4.2_05 a while ago. I have since downloaded a jar file that requires java 5. Would it be ok to download and install this latest version and still have 1.4.02_05 running also?i,e, is it ok to have run different versions of java on the one machine. Would there be any conflicts etc?

    It's quite common to have multiple versions of Java on the same machine. Obviously you shouldn't install them in the same folder structure though.
    /j2sdk1.4.2_03 - contains version 1.4.2_03
    /j2sdkblah.blah - contains version blah.blah

  • Placement of Log4j.jar

    We are planning to use Log4j, and finds it necessary to use logging both in web and ejb layer.
    The 'obvious' solution is to put log4j.jar in j2ee/home/lib, whitch should make it available to all.
    Unfortunately,
    Oracle is using log4j in their Enterpise Manager web site, which we use for deployment to Oracle iAS 902.
    EM is relying on an older version of Log4j, so the placement in j2ee/home/lib might make EM stop functioning, since EM includes this location (default OC4J home) in its classpath.
    Supplied log4j in WEB-INF/lib of the web-application, and put an entry in orion-application like:
    <library path="../../applications/dealerapp/dealerweb/WEB-INF/lib/log4j-1.2.6.jar" />
    (log4j initialized by a servlet at startup)
    This seems to work, but is there other solutions?
    regards, Trond R.

    Hi Curt - your point is a good one. The Servlet 2.3 spec has tightened up the classloading order a little (and 2.4 tightens it further), so at least we're on the path to a well defined model for class loading in Web applications.
    Just for completeness, the <web-app-class-loader> tag is documented in the Servlet Developer's Guide.
    http://download-west.oracle.com/docs/cd/A97688_08/generic.903/a97680/deploy.htm#1010258
    <web-app-class-loader ... >
    Use this element for class loading instructions.
    Attributes:
    search-local-classes-first: Set this to "true" to search and load WAR file classes before system classes. The default is "false".
    include-war-manifest-class-path: Set this to "false" to not include the class path specified in the WAR file manifest Class-Path attribute when searching and loading classes from the WAR file (regardless of the search-local-classes-first setting). The default is "true".
    -steve-

  • JWSC multiple schema jar with dependencies

    Hi Guys,
    I am using :
    the ant task jwsc of WL10
    the xmlbeans-maven-plugin 2.3.1 from Codehaus.
    XMLbeans generation works fine to produce jar
    JWSC works fine with the produced jars just referenced in the classpath.
    Now if I want to have 2 jars of XMLBeans and one dependent of the other, then the JWSC does not like it although both are present in the classpath.
    I tried the includeSchemas without any success.
    Any ideas? Or maybe have you heard of a maven plugin wrapping already the jwsc task?
    Thanks and enjoy,
    erwan.

    We have similar issues (I think everyone in multiple environments probably does). These are a few of the strategies I have used, but none of them completely addresses your concerns:
    1. Be sure that when designing your application, you allow for as much read-only access as possible. I am not sure about audit requirements elsewhere, but I am allowed to have an account in production, as long as that account has read-only access. This assists in diagnosing the vast majority of problems.
    2. Over some interval (weekly for us), copy production down to the next lowest environment. This in and of itself is problematic, in that we sometimes have changes being migrated up that will conflict with the copy back down. There is no silver bullet for this in my experience, other than creating a completely separate environment for your production copy (e.g., backup, sandbox, whatever you want to name it). Since I generally have SELECT access to production, and the data in the lower environment is never more than a week old, it is a truly rare problem where I would need to actually have fresher production data. (Add in the relative infrequency of a build, say every other month, and you are pretty sure your code is behaving the same way that the user experiences).
    3. I would not worry much about auto-generated keys. Normally, these make sense to the system, but a user invariably uses a separate unique identifier (bank account number, patient ID number, etc.) So, the fact that the lower environment's actual sequence/primary key differs should not matter as much as it seems.
    4. In terms of using pure JDBC to replicate an environment, that should be possible (depending on how many vendor-specific RDBMS fancy features you are using that are not generally supported by JDBC). However, it is my strong surmise that the vendor's own data migration tools will do a better job, more reliably and faster than any "generic" JDBC tool.
    Hope that helps.
    - Saish

  • How can I save different versions in iMovie 11 (plus angry rant)

    Sigh. 
    My fiancee is sitting in front of the computer crying because iMove just messed up her project.  The project that was basically done.  The project she has to hand in tomorrow morning (it is midnight right now). 
    Who knows what happened.  Things apparently just jumped around and no amount of undoing is getting her back to where she wants to be (apparently she used undo, then tried to fix things, then tried to undo again).
    Which leads me to:
    *** was Apple thinking when they removed the ability to save a file?  Seriously!  Both of us are experienced computer users and both of us are in the (very vital) habit of saving multiple versions of a file.  We don't save a version every 10 seconds, and we don't save a version for every insignificant change.  But we do save versions whenever we feel we have hit a milestone.  And we would have done exactly that had there been some obvious way to do it in iMovie.
    OSX Lion (the first version of OSX that desperately makes me want to downgrade) is supposed to autosave so that you don't have to.  But iMove 11 apparently cannot do even this simple thing. As far as I can tell you work on your project and it is the *only* version of this project you can ever work on.  If you make a change, you can either:
    live with it
    or
    linearly undo as long as you have not quit the program.  Heaven forbid that it crashes or (like it just did right now) stops playing back audio and you have to quit and restart.
    There must be a way of saving different versions of your project so that you aren't messing with your one and only precious copy every time you make an edit.  Please tell me there is.  Or how do I get to the autosaved versions?  It is probably too late for her now (she has to redo most of the project to get the audio to line up again) but for future reference we could use some help.
    Sigh.  Now I have to go help her.  I feel so bad for her and I pretty much want to chuck the freaking computer through Apple's living room window right now.

    Sorry for your frustration.
    Here are two tips that may help in the future.
    To save a version, use FILE/DUPLICATE PROJECT http://help.apple.com/imovie/#mov3a61c0ec
    You might also consider using Time Machine backups.

Maybe you are looking for