WLS 7 Performance vs. WLS 5.1

We're evaluating 7.0 as a upgrade for 5.1.
We have two machines, configured essentially identically.
On one machine, we're running 5.1 sp10 (maybe 9), and the other we're
running 7.0.
We're benchmarking a small part of the system that is "pure" application
server, versus web tier to app server.
WLS 7.0 is clocking in a ~40% slower than 5.1 for this test.
They're running, essentially, the same jar file. For 7.0 we wrapped it into
a simple application EAR file, and we had to make one class change for it to
compile against 7.0.
Other than that, the jar is basically the same, holding 45 beans. They're
all 1.1 Session, BMP, and CMP beans. They both had their respective ejbc
routines run on them, for WLS 7, this was done outside the container.
They are both using different JDBC drivers, the Oracle OCI drivers supplied
with the respective WLS servers.
They're both taking advantage of the internal WLS "pass by reference"
optimization, even though we're not using the LocalInterfaces.
The 7.0 instance looks like it is doing a little bit more GC activity than
the 5.1 instance, but the numbers we're getting back from the
'java -verbose:gc' display aren't enough to come anywhere near the
difference in performance that we're seeing.
So, I'm curious what other sources of internal friction could be?
The test is with ONE user performing, essentially, one transaction. So, it's
a bit of a micro benchmark, but it happens to exercise a majority of the
system. It's not a contention problem.
Maybe it's an unrealistic test. Perhaps that under load with more users,
while WLS 7 is slower now, it's performance will stay more constant as more
load is placed on the system compared to WLS 5.1.
The machines we're testing on are small machines (Sun Netra's, 512MB). The
goal was to get as close to an "apples-to-apples" comparison as we could.
Any pointers would be great.
Regards,
Will Hartung
([email protected])

what security impl are you using for each, they cannot be the same?
Joel
"Will Hartung" <[email protected]> wrote in message
news:[email protected]...
We're evaluating 7.0 as a upgrade for 5.1.
We have two machines, configured essentially identically.
On one machine, we're running 5.1 sp10 (maybe 9), and the other we're
running 7.0.
We're benchmarking a small part of the system that is "pure" application
server, versus web tier to app server.
WLS 7.0 is clocking in a ~40% slower than 5.1 for this test.
They're running, essentially, the same jar file. For 7.0 we wrapped itinto
a simple application EAR file, and we had to make one class change for itto
compile against 7.0.
Other than that, the jar is basically the same, holding 45 beans. They're
all 1.1 Session, BMP, and CMP beans. They both had their respective ejbc
routines run on them, for WLS 7, this was done outside the container.
They are both using different JDBC drivers, the Oracle OCI driverssupplied
with the respective WLS servers.
They're both taking advantage of the internal WLS "pass by reference"
optimization, even though we're not using the LocalInterfaces.
The 7.0 instance looks like it is doing a little bit more GC activity than
the 5.1 instance, but the numbers we're getting back from the
'java -verbose:gc' display aren't enough to come anywhere near the
difference in performance that we're seeing.
So, I'm curious what other sources of internal friction could be?
The test is with ONE user performing, essentially, one transaction. So,it's
a bit of a micro benchmark, but it happens to exercise a majority of the
system. It's not a contention problem.
Maybe it's an unrealistic test. Perhaps that under load with more users,
while WLS 7 is slower now, it's performance will stay more constant asmore
load is placed on the system compared to WLS 5.1.
The machines we're testing on are small machines (Sun Netra's, 512MB). The
goal was to get as close to an "apples-to-apples" comparison as we could.
Any pointers would be great.
Regards,
Will Hartung
([email protected])

Similar Messages

  • Performance of WLS as a web server

              Hi,
              I post this on the clustering list since I'm interested in finding out the
              likelyhood of people using WLS as a web server (as well as servlet engine/EJB
              container).
              What do you prefer: WLS or Apache/IIS/NES with the plug-in?
              Why?
              Do you prefer using a front-end cluster that serves static content and load
              balances dynamic requests to a back-end cluster of WLS instances?
              Do you prefer using WLS (Express) on the front-end cluster or Apache/IIS/NES?
              If using a front-end cluster, do you use DNS RR or an external HW load balancer?
              What load balancer do you use if a cluster of WLS instances serves both static
              and dynamic content? (With possibly a separate back-end cluster for EJBs.)
              The performance of WLS as a web-server may cause some people to prefer a front-
              end Apache/IIS/NES cluster, is that right?
              Regards,
              Frank Olsen
              Stonesoft
              

    The main reason that 5.1 is 25% slower than NES or Apache on serving static html
    is that NES/Apache do a lot of native I/O and caching ( their code base is C/C++).
    6.1 fixed that problem, BEA use native I/O to retrieve static html and img files,
    and caching them in memory. Benchmark data shows that they are in par with NES/Apache's
    performance. It's pretty safe for you to use 6.1 to host your static contents
    and use it as web container at the same time.
    My 2 cents.
    Jim Zhou.
    [email protected] (Morten Hindsholm) wrote:
    Hi,
    we are currently using Netscape Enterprise Server 3.6 as our web
    server and WLS 5.1 as web container, both running on AIX 4.3.3.
    We want to get rid of the NES (it is buggy and unsupported) but we are
    unsure if need to replace it with another web server (e.g. Apache or
    iPlanet), or just use WLS 6.1 as both web server and web container.
    So the question is: do you have any experience regarding the
    performance of the WLS 6.1 web server compared to a standard web
    server?
    TIA
    /\/\orten Hindsholm

  • WLS Performance Counters

    Hi,
    I am new to Weblogic Server 6.0 for windows. I have just installed it and it is not showing
    me the performance counters for WLS in sysPerfMon (System
    performance monitor).
    How can we get the Performance counter objects in the sysPerfMon?
    If anyone knows about it, please let me know ASAP.
    Thanks and Regards,
    Pramod.

    John <[email protected]> wrote:
    I wonder whether it's possible to use the Windows Performance Monitor
    to monitor WLS 6.1 SP4 performance counters.No, not as far as I know. WLS performance counters cannot "talk" with the Win32
    performance monitoring APIs or native WMI. It's a technically difficult challenge
    to link these two components together (requiring knowledge of NT internals and
    such) .
    You may wish to contact a third-party vendor that provides J2EE black-box monitoring
    and collection software. Most allow for "offline" analysis, too.
    Brian J. Mitchell
    Systems Administrator, TRX
    email: [email protected]
    office: +1 404 327 7238
    mobile: +1 678 283 6530

  • Accessing WLS performance info.

    WebLogic Server services can be accessed through T3ServicesDef interface.
    Is there any way to access the WLS performance(Heap and other info displayed on WebLogic Console myserver properties tab) through a program.
    thanks

    Thanks so much, though i still have two questions:
    1) Can I see the weblogic.common.managedobject.* API somewhere, since it is not available on Weblogic site..
    2) And I don't know what you mean by
    Oh, and when you use the Console to explore the naming tree it shows you names of interfaces objects
    implement, for example weblogic.server.myserver implements
    weblogic.common.managedobject.RemoteHelpInfoDef
    Please elaborate if you get a chance......
    Regards
    Dimitri Rakitine <[email protected]> wrote:
    javadocs:
    http://www.weblogic.com/docs51/classdocs/javadocs/index.html
    managedobjects:
    From the 'Running the WebLogic Console' (http://www.weblogic.com/docs51/admindocs/console.html)
    Details about WebLogic's services are displayed as "managed objects" in the Console. When an object is "managed" -- that is, when it implements a particular interface -- information about the object shows up in various displays in the Console. A ManagedObject may be database connection pools, security realms, EJB deployments and beans, or a variety of other subsystems and their components.. Oh, and when you use the Console to explore the naming tree it shows you names of interfaces objects
    implement, for example weblogic.server.myserver implements
    weblogic.common.managedobject.RemoteHelpInfoDef
    weblogic.common.managedobject.ManagedObjectDef
    weblogic.common.managedobject.TreeDef
    weblogic.ejb isA EJBManager, weblogic.cluster.mycluster isA RemoteHelpInfoDef, ManagedObjectDef, TreeDef,
    RemoteEquivalent etc.
    Dimitri
    http://dima.dhs.org

  • Performance in WLS 7

    Hi there,
    Is there anyway I can optimize the performance of WLS 7 during startup and during
    JSP and EJB calls? How?
    TQ
    Neo
    Kuala Lumpur

    I'd suggest posting this in the workshop newsgroup.
    -- Rob
    shree wrote:
    i am trying to run the workshop on my desktop with 300 MB ram and 333 MHz machine
    and its very slow. it took 8-10 minutes to invoke the demo application
    Any thoughts

  • Message transmission from Wls 7 to Wls 8 and then to Wls10

    Hi All,
    We are currently doing a POC in which we are using Wls 7, Wls 8.1 and Wls 10 . The basic idea of the POC is that we need to post a message on Wls 7, and from Wls 7 the message should reach Wls 8.1 and inturn from Wls 8.1 it should reach Wls 10. For this communication to take place we have configured message bridges on the respective servers.
    But the problem that we are facing is, we are not bale to transmit message from one Wls server to other, from Wls 7 to Wls 8 and also from 8 to 10.
    We are gettin the following error:-
    <Error> <Security> <090473> <ServerIdentity failed validation, downgrading to anonymous.>
    Can anybody please help on this.
    Regards,
    Rakesh

    If this is just a POC, you might try enabling Domain Trust on each of the domains (here is the 10.3 link, probably different in 8.1 and 7.0):
    http://edocs.bea.com/wls/docs103/ConsoleHelp/taskhelp/security/EnableTrustBetweenDomains.html
    In a production environment there are other security implications for doing this willy nilly, that I recommend you read the docs and post questions in the WLS Security forum.

  • WLS Performance .. Socket Exception...

    Hi
    Recently we encounter the problem when we press the "Refresh" button(Browser MS IE) so quickly then WLS shows the error message as below: (The scenario is calling an entity bean from JSP.)
    GMT+08:00 2000:<E> <HTTP>
    Connection failure
    java.net.SocketException: ReadFile on fd=916 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
         at
    weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java,
    Compiled Code)
         at
    weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
    Compiled Code)
         at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
    Compiled Code)
         at
    weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
    Compiled Code)
    Basicly it's not hurt for our application, but we
    usually need to convert the encoding of the string
    selected from Database in the EJB(it mean I need to
    convert the String because we need chinese). But if we
    press the "Refresh" button so quickly, the chinese is
    incorrect and appeared as "???????". And if we press
    the button later and slowly then the chinese is
    correct.
    Can someone give me some clue about that ? Or is it related with the "Performance Pack" of WLS...?
    BEST & THANKS
    andrew :)
    PS :
    I use Window 2000, WLS 5.1 SP6 and both JDK 1.3 and JDK 1.2.2.
    [weblogic.log]

    Hi Srikant
    Thanks, below the get method of my Entity Bean
    public String getEname() {
    // SBgen: Get variable
    String empName = null;
    try{
    // 'ename' is the filed of the 'emp' table..., it's stored
    // as chinese in Oracle...
    empName = new String(new String(ename).getBytes("iso-8859-
    1"));
    catch (Exception e){
         e.printStackTrace(); }          
    return empName;
    ----------------------------------------------------------------- I use the getByte('iso-8859-1') to convert the string select from database (Oracle 8.1.6, the string in the DB is stored as Chinese) because I need Chinese in web page. The tricky thing is that if I press the 'Refresh' button so quickly then the chinese is displayed as '???' in my web page. If I press the 'Refresh' button slowly then the Chinese is correct in web page(JSP).
    mmmmm...., I do really have no idea about that... Can someone give me some clue about that ? Thanks a lots...
    BEST
    andrew:O
    Srikant Subramaniam <[email protected]> wrote:
    This is a benign error msg ... the client closed the socket without telling the server! We've since turned off this error msg in subsequent service packs.
    Srikant, [email protected], http://weblogic.bea.com/, etc.
    AndrewWang wrote:
    Hi
    Recently we encounter the problem when we press the "Refresh" button(Browser MS IE) so quickly then WLS shows the error message as below: (The scenario is calling an entity bean from JSP.)
    GMT+08:00 2000:<E> <HTTP>
    Connection failure
    java.net.SocketException: ReadFile on fd=916 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at
    weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java,
    Compiled Code)
    at
    weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
    Compiled Code)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
    Compiled Code)
    at
    weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
    Compiled Code)
    Basicly it's not hurt for our application, but we
    usually need to convert the encoding of the string
    selected from Database in the EJB(it mean I need to
    convert the String because we need chinese). But if we
    press the "Refresh" button so quickly, the chinese is
    incorrect and appeared as "???????". And if we press
    the button later and slowly then the chinese is
    correct.
    Can someone give me some clue about that ? Or is it related with the "Performance Pack" of WLS...?
    BEST & THANKS
    andrew :)
    PS :
    I use Window 2000, WLS 5.1 SP6 and both JDK 1.3 and JDK 1.2.2.
    Name: weblogic.log
    weblogic.log Type: Text Document (application/x-unknown-content-type-txtfile)
    Encoding: base64

  • WLE Performance vs WLS

    We are finding that running our EJBs in WLE 5.1 is yeilding performance times that
    are twice as slow as we get running the same EJBs in WLS 5.1.
    Is there anyone out there who have delpoyed their EJBs in a WLE environment that
    can provide some performance comparisons?

    I would recommend that you move to the WLS EJB components. The WLE product will no
    longer have EJB or Java Server support in the next release. Java client support will
    still be in the next release of WLE.
    Carl Lawstuen wrote:
    We are finding that running our EJBs in WLE 5.1 is yeilding performance times that
    are twice as slow as we get running the same EJBs in WLS 5.1.
    Is there anyone out there who have delpoyed their EJBs in a WLE environment that
    can provide some performance comparisons?

  • Poor performance of WLS 6.1

    We have converted our application from WLS 5.1 to WLS 6.1. There is no real
    code changes except the changes required for the deployment model in WLS 6.1
    (WAR and EAR).
    And we put the WLS 6.1 for the performance testing using the Load Runner and
    found that
    the WLS 6.1 runs 25 to 30 times slower than the WLS 5.1. It is totally
    un-expectable and we are hosed.
    The application architecture used for the both weblogic server is the same.
    JDBC + EJB + JSP/Servlet. All the EJBs are stateless session beans.
    OS: Windows 2000, with JDK 131. WebLogic 6.1 Server with SP 1
    Anybody have any idea, how the performance can be matched with the WLS 5.1
    Server.
    Thanks
    /selvan
    Captura Software, Inc

    try using the ibm jvm 1.3, it handles linux threads better than sun jvm.
    "Stefan Hrafnkelsson" <[email protected]> wrote in message
    news:[email protected]...
    We have a problem that seems to be similar. In our profiling the
    Application Server BEA Weblogic was taking most of the CPU time and
    further research showed that a simple call to an EJB (returned ritght
    away) from a web server to an application server took 4ms in CPU time
    of the Application Server (this means 250 calls/second for a 1GHz
    processor or 4.000.000 clock cycles per call).
    We are running WLS 6.1 on RedHat Linux 7.1 and feel we are getting
    much lower performance than 18 months ago when we were doing the
    performance measurment on 5.1 on Windows. Everything seems to perform
    fine except this network call to EJB functions.
    Any suggestion?
    Regards,
    Stefan Hrafnkelsson
    [email protected] or [email protected]
    Betware
    "Tamilselvan Ramasamy" <[email protected]> wrote in message
    news:<[email protected]>...
    I used the OptmizeIt profile and found that the EJB home interface lookup
    from JNDI causing the performance problem.
    Over 70% time spent on the JNDI look ups for the home interface.
    I knew that the weblogic 6.1 server now serializes all the look up andbind
    from the JNDI but i didn't think
    that this will be really this bad. I am trying to cache the homeinterfaces
    using a Singleton Factory class and it requires
    a lot of code changes.
    Is there any hidden option in the server to make the JNDI notserailizing
    everything?
    Thanks
    /selvan
    Captura Software, Inc
    "Bakul Mukherjee" <[email protected]> wrote in message
    news:3BF98690.6D8F8E7@trebor_nelloow.moc...
    The most likely culprit is that you are using call by value where you
    were
    previously using call by reference in WLS 5.1. In WLS 6.1, you willonly
    receive call by reference if you are calling EJBs within the sameapplication
    (normally an EAR file.)
    If you're still seeing slow performance, you'll need to do some
    analysis.
    25-30x slower means that something is very wrong. I would start bydeterming
    where you are spending so much time. You could do this by profiling
    the
    server
    or even by inserting some timestamps in your code.
    If you can provide some more info, we'd be better able to help you
    out.
    >>>
    -- Rob
    Tamilselvan Ramasamy wrote:
    We have converted our application from WLS 5.1 to WLS 6.1. There is
    no
    real
    code changes except the changes required for the deployment model in
    WLS
    6.1
    (WAR and EAR).
    And we put the WLS 6.1 for the performance testing using the Load
    Runner
    and
    found that
    the WLS 6.1 runs 25 to 30 times slower than the WLS 5.1. It is
    totally
    un-expectable and we are hosed.
    The application architecture used for the both weblogic server isthe
    same.
    JDBC + EJB + JSP/Servlet. All the EJBs are stateless session beans.
    OS: Windows 2000, with JDK 131. WebLogic 6.1 Server with SP 1
    Anybody have any idea, how the performance can be matched with the
    WLS
    5.1
    Server.
    Thanks
    /selvan
    Captura Software, Inc

  • Web Application Performance Issue (WLS 12)

    Hello guys,
    I am new to weblogic and i recently downloaded weblogic server 12.1.3.0 and i created a domain and successfully deployed my web application.
    My web app is Java Based (Mainly Servlets , DWR Requests ..), the problem is that it takes for ever to start and it is very slow .
    I deployed it on Tomcat 7 previously and had no problem it was very quick.
    I tried changing the JVM Arguments (xms , xmx and XX:MaxPermSize) but no luck with that .
    Kindly can anyone help me with this issue .
    Thanks in Advance.

    What operating system are you using?
    make sure you are trying a certificated configuration JDK and OS.
    Oracle Fusion Middleware Supported System Configurations
    If using unix/Linux OS based you migh be hitting low entropy issue, you can add
    -Djava.security.egd=file:/dev/./urandom to JAVA_OPTIONS and retest the issue
    Best Regards
    Luz

  • Webservice Migration Problems (WLS 9.2 - WLS 10.3.2)

    Hi,
    we're upgrading our weblogic server from version 9.2 to 10.3.2. Everything runs just fine in my testing environment except for the webservices we have.
    We have 6 webservices (JAX-RPC) which use a generic set of xml schema types to which each webservice offers specialized types that extend the supertype. Here comes the problem: The ant tasks wsdlc and clientgen from wls 9.2 generates java classes that do extend from the superclass. Unfortunatley the same call from the wls 10.3.2 results in a loss of class hierarchy.
    Example:
    <xs:complexType name="personinfo">
    <xs:sequence>
    <xs:element name="firstname" type="xs:string"/>
    <xs:element name="lastname" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="fullpersoninfo">
    <xs:complexContent>
    <xs:extension base="personinfo">
    <xs:sequence>
    <xs:element name="address" type="xs:string"/>
    <xs:element name="city" type="xs:string"/>
    <xs:element name="country" type="xs:string"/>
    </xs:sequence>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    On WLS 9.2 this results in the following:
    class Personinfo {
    class Fullpersoninfo extends Personinfo {
    On WLS 10.3.2. the result differs:
    class Personinfo implements Serializable {
    class Fullpersoninfo implements Serializable {
    Is there any way to tell the wls 10.3.2 to generate a jax-rpc webservice that obeys the extension directive?
    I look forward to your replies =)
    Regards,
    Johannes Bialek

    Hi Jay,
    thanks for the reply. Unfortunately using the other ant task doesn't seem to help. This is a WLS8.2 Version of Clientgen (which used the attribute "clientjar" rather than "destDir"/"destFile" and expected "packagename" as a required parameter). I tried id and it seems to have a couple of problems with schema files imported in included schema files. I worked around this by importing in the schema files from the wsdl itself, but now I get a "weblogic.xml.schema.binding.BindingException: ERROR: during code compilation".
    Full stack trace:
    weblogic.xml.schema.binding.BindingException: ERROR: during code compilation
    at weblogic.xml.schema.binding.internal.codegen.Compiler.invoke_compiler(Compiler.java:581)
    at weblogic.xml.schema.binding.internal.codegen.Compiler.compile_descriptors(Compiler.java:380)
    at weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:290)
    at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.addTypesInSchemas(XSDTypeMappingBuilder.java:140)
    at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.processSchemaTypes(TypeMappingBuilderBase.java:310)
    at weblogic.webservice.tools.build.internal.Schema2JavaImpl.doTypeMapping(Schema2JavaImpl.java:317)
    at weblogic.webservice.tools.build.internal.Schema2JavaImpl.run(Schema2JavaImpl.java:204)
    at weblogic.webservice.tools.build.internal.WSDL2JavaImpl.run(WSDL2JavaImpl.java:258)
    at weblogic.webservice.tools.build.internal.ClientGenImpl.getTypeMappingFromWSDL(ClientGenImpl.java:747)
    at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(ClientGenImpl.java:419)
    at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:359)
    at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:375)
    at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:229)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: java.io.IOException: Compiler failed executable.exec: null
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:493)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:332)
    at weblogic.xml.schema.binding.internal.codegen.Compiler.invoke_compiler(Compiler.java:575)
    ... 41 more
    Shouldn't we be able to use a 9.2 weblogic.jar for creating webservices that run on a 10.3.2?
    Regards,
    Johannes

  • JSTL WLS 7 to WLS 8.1 Upgrade Issues

    We have a web app that currently runs on WLS 7. We have been asked to upgrade the app to WLS 8.1 recently. Most of the screen have ported fine, but there are a couple of screens that seem to be throwing fits. It could be a JDK/JRE issue, but here is the scenario
              jstl looks up a string variable property which is set to either "Y" or "N". Using WLS 7, it comes back as either "Y" or "N". But when I run the same code with WLS81, it comes back as "true" or "false".
              Looking at the property right before it returns always shows the correct value. When I look into the parameters and values, they seem to match the above statements as well (Y,N,true,false).
              Here is an interesting twist though. If I switch the JDK to 1.4 on WLS7, it also changes to "true" and "false". I have tried both sun and jrockit jvms to no avail.
              Has anyone seen this behavior?
              Thanks,
              Ashar

    That's almost what I said but not quite, you should not have any trouble, but this is the real world hence my suggestion to backup properly first.
    As for Yosemite I don't know the answer yet, I would expect it to be a no but we'll have to wait and see.

  • EJB Migration Problem (WLS 9.2 = WLS 10.3.2)

    Hi,
    we are migrating Stateful, Stateless, and Message Driven Bean from wls 9.2 to wls 10.3.2. There is no compile error. But workshop shows Error: "Failed to retrieve WLS runtime for EJB processing".
    Thank you very much for your input.
    John

    Hi,
    we are migrating Stateful, Stateless, and Message Driven Bean from wls 9.2 to wls 10.3.2. There is no compile error. But workshop shows Error: "Failed to retrieve WLS runtime for EJB processing".
    Thank you very much for your input.
    John

  • Corba - differences between WLS 7.02 / WLS 8.1

    In WLS 7.02 the following piece of code works, but in WLS 8.1 I get an exception
    on the last line (see the log below). Would someone have a clue why it’s not working
    with WLS 8.1
    Note: if you want to send me an email, remove the NOSPAM
    TIA !
    public OimSessionInstance openSession() throws EomSessionException {
    Properties props = new Properties();
    props.put("org.omg.CORBA.ORBInitialPort", (new Short(corbaPortNumber)).toString());
    props.put("org.omg.CORBA.ORBInitialHost", serverHost);
    try {
    orb = ORB.init((String[]) null, props);
    String[] services = orb.list_initial_services();
    // setting up the CORBA stuff
    org.omg.CORBA.Object objRef = orb.resolve_initial_references("NameService");
    EomSessionException: class EomSession, method corbaConnection to OIM : exception
    : org.omg.CORBA.MARSHAL: Exception waiting for response; nested exception is:
    java.io.EOFException: GIOP protocol error vmcid: 0x0 minor code: 0
    completed: No
    at EomDefaultConnection.openSession(EomDefaultConnection.java:114)
    at EomSession.<init>(EomSession.java:78)

    "Alain Pigeon" <[email protected]> wrote:
    >
    In WLS 7.02 the following piece of code works, but in WLS 8.1 I get an
    exception
    on the last line (see the log below). Would someone have a clue why it’s
    not working
    with WLS 8.1
    Note: if you want to send me an email, remove the NOSPAM
    TIA !
    public OimSessionInstance openSession() throws EomSessionException {
    Properties props = new Properties();
    props.put("org.omg.CORBA.ORBInitialPort", (new Short(corbaPortNumber)).toString());
    props.put("org.omg.CORBA.ORBInitialHost", serverHost);
    try {
    orb = ORB.init((String[]) null, props);
    String[] services = orb.list_initial_services();
    // setting up the CORBA stuff
    org.omg.CORBA.Object objRef = orb.resolve_initial_references("NameService");
    EomSessionException: class EomSession, method corbaConnection to OIM
    : exception
    : org.omg.CORBA.MARSHAL: Exception waiting for response; nested exception
    is:
    java.io.EOFException: GIOP protocol error vmcid: 0x0 minor
    code: 0
    completed: No
    at EomDefaultConnection.openSession(EomDefaultConnection.java:114)
    at EomSession.<init>(EomSession.java:78)Found a solution:
    In WLS7.0 the code automatically returned the SUN ORB found in the rt.jar. But
    in WLS8.1 you have to force it to the SUN ORB by specifying it in the properties
    file used to instantiate the ORB.
    Example:
    public OimSessionInstance openSession() throws EomSessionException {
    String ORBClassName = "com.sun.corba.se.internal.iiop.ORB";
    String ORBSingletonClassName = "com.sun.corba.se.internal.corba.ORBSingleton";
    Properties props = new Properties();
    props.put("org.omg.CORBA.ORBClass" , ORBClassName);
    props.put("org.omg.CORBA.ORBSingletonClass" , ORBSingletonClassName);
    props.put("org.omg.CORBA.ORBInitialPort", (new Short(corbaPortNumber)).toString());
    props.put("org.omg.CORBA.ORBInitialHost", serverHost);
    try {
    orb = ORB.init((String[]) null, props);
    String[] services = orb.list_initial_services();
    // setting up the CORBA stuff
    org.omg.CORBA.Object objRef = orb.resolve_initial_references("NameService");

  • Transaction difference in WLS 5.1 & WLS 6.1

    I have a CMP that does a simple read & update on a file on the AS400. When I
    run
    this on version 5.1 of Weblogic everything works fine. When I run the same exact
    bean
    on version 6.1 of WLS I get an SQLException that looks like this.
    =======
    java.sql.SQLException: [SQL7008] IN901F in DATAIP not valid for operation.
    at com.ibm.as400.access.JDError.throwSQLException(JDError.java:359)
    at com.ibm.as400.access.AS400JDBCStatement.commonExecute(AS400JDBCStatem
    ent.java:570)
    at com.ibm.as400.access.AS400JDBCPreparedStatement.executeUpdate(AS400JD
    BCPreparedStatement.java:914)
    at weblogic.jdbc.jts.Statement.executeUpdate(Statement.java:503)
    at com.as400.product.ejb.In901f_yrautr__WebLogic_CMP_RDBMS.ejbStore(In90
    1f_yrautr__WebLogic_CMP_RDBMS.java:1207)
    ====
    I found a couple of newsgroups that suggest this type of error is due to "journaling"
    not being turned on for that file. Journaling deals with commit / rollback functionality
    on the AS400. That would suggest to me that it has to do with my transaction
    settings
    in my bean, but I have all transactions set to "Never". So my question is, why
    would
    this work on WLS 5.1 but not on WLS 6.1?? Both versions are using the exact same
    file with journaling turned off. It is an EJB 1.1 bean. Any ideas other than
    trying to turn on the journaling feature for that file??

    I have a CMP that does a simple read & update on a file on the AS400. When I
    run
    this on version 5.1 of Weblogic everything works fine. When I run the same exact
    bean
    on version 6.1 of WLS I get an SQLException that looks like this.
    =======
    java.sql.SQLException: [SQL7008] IN901F in DATAIP not valid for operation.
    at com.ibm.as400.access.JDError.throwSQLException(JDError.java:359)
    at com.ibm.as400.access.AS400JDBCStatement.commonExecute(AS400JDBCStatem
    ent.java:570)
    at com.ibm.as400.access.AS400JDBCPreparedStatement.executeUpdate(AS400JD
    BCPreparedStatement.java:914)
    at weblogic.jdbc.jts.Statement.executeUpdate(Statement.java:503)
    at com.as400.product.ejb.In901f_yrautr__WebLogic_CMP_RDBMS.ejbStore(In90
    1f_yrautr__WebLogic_CMP_RDBMS.java:1207)
    ====
    I found a couple of newsgroups that suggest this type of error is due to "journaling"
    not being turned on for that file. Journaling deals with commit / rollback functionality
    on the AS400. That would suggest to me that it has to do with my transaction
    settings
    in my bean, but I have all transactions set to "Never". So my question is, why
    would
    this work on WLS 5.1 but not on WLS 6.1?? Both versions are using the exact same
    file with journaling turned off. It is an EJB 1.1 bean. Any ideas other than
    trying to turn on the journaling feature for that file??

  • WLS 6.1 - wls 5.1 lookup.

    Hi
    I face a problem with having to lookup an EJB hosted on a 5.1 server from a
    6.1 server.
    As I've read in an earlier post in this newsgroup WLS6.1 -> 5.1 naming
    factories are not compatible. (Resulting in a
    javax.naming.CommunicationException)
    As the classnames and packages are identical on 5.1 and 6.1 for JNDI
    including the 5.1 factory in the server's classpath is not an option.
    Does anyone know of a workaround? (Or a magical compatiblity switch or
    something...)
    Best regards.
    Trond Strømme, Software Engineer, mogul technology.

    I think you can recompile the 5.1 EJB with the -iiop option and access it with
    env.put(Context.PROVIDER_URL, "iiop://somehost:7001");
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
    I haven't tried this between 6.1 and 5.1 but it works between 6.1 and 6.0 which
    are also incompatible for normal t3 communication.
    See: http://e-docs.bea.com/wls/docs61/rmi_iiop/API_rmi_iiop.html#1054561
    for mmore details.
    trond strømme wrote:
    Hi
    I face a problem with having to lookup an EJB hosted on a 5.1 server from a
    6.1 server.
    As I've read in an earlier post in this newsgroup WLS6.1 -> 5.1 naming
    factories are not compatible. (Resulting in a
    javax.naming.CommunicationException)
    As the classnames and packages are identical on 5.1 and 6.1 for JNDI
    including the 5.1 factory in the server's classpath is not an option.
    Does anyone know of a workaround? (Or a magical compatiblity switch or
    something...)
    Best regards.
    Trond Strømme, Software Engineer, mogul technology.

Maybe you are looking for