WebLogic 10.1 performance

We have been having performance issues on our AIX WebLogic boxes, even when the applications are idle. Does anyone know what WebLogic background processes run behind the scenes or have links to documentation. We want to see if there is something there that's consuming resources (ie, memory).

Hello,
1. Do you have Wily or any monitoring probes / agents associated to the WebLogic JVM?
2. Can you perform a Thread Dump through Admin Console or kill -3 [pid] and see what is running on the background?
Thanks,
Paz

Similar Messages

  • Weblogic.developer.interest.performance is moving!

    This newsgroup has been relocated. Going forward, please use the weblogic.developer.interest.performance newsgroup, which will be located in the [url http://forums.bea.com/category.jspa?categoryID=2004]WebLogic Server/Java EE Newsgroups folder, located at:
    http://forums.bea.com/category.jspa?categoryID=2004

    I just thought it was weird that I was blocked form sending, ever though
    others are stil able to post there.
    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]..
    weblogic.developer.interest is a very old newsgroup. About 2 years ago,
    we split it into separate newsgroups for each part of the server (ejb,
    jsp etc). Now that the product continues to rapidly grow, we've
    continued to split even those newsgroups into subgroups: ejb.cmp
    ejb.tools etc.
    -- Rob
    David Roussel wrote:
    I can't seem to post the weblogic.developer.interest news group. Outlook
    Express tells me that it's blocked by by news server, but my news sever
    is
    newsgroups.bea.com. Any ideas?
    Thanks
    David Roussel--
    Coming Soon: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnweblogic.com

  • WebLogic 8.1:  Performance Monitor in AIX 5.2

    Can you add the Performance Monitor features to bea (WebLogic 8.1) running in AIX
    5.2.
    Can you explain in details
    If YES, how?
    If NO, Why NOT?

    Make sure to add dirig.jar in WEBLOGIC_CLASSPATH.
    Doug
    "tim" <[email protected]> wrote:
    >
    downloaded bea performance monitor and added to the startserver.sh
    "%JAVA_HOME%\bin\java" %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -Dweblogic.Name=%SERVER_NAME%
    -Dweblogic.management.username=%WLS_USER% -Dweblogic.management.password=%WLS_PW%
    -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE%
    -Djava.security.policy="%WL_HOME%\server\lib\weblogic.policy" weblogic.Server
    -Dweblogic.classloader.preprocessor=com.dirig.preprocessor.DirigBEAClassProcessor
    ENDLOCAL
    weblogic81 is not starting as it is not finding the class 'DirigBEAClassProcessor'.
    I searched for this class in the dir where i installed beaplugin but
    don't find
    it

  • WebLogic RMI UNIX Performance problem

    Hi.
    I'm experiencing problems with the performance of RMI calls from within session
    beans to external RMI services. I have a system running 4 RMI services in separate
    JVMs to weblogic 6.1 instance on Solaris 2.6 on SPARC boxes with 1+ Gb of RAM.
    The system was developed on NT and deployed to UNIX. A typical request is serviced
    in 70-90 ms on the NT development box (Desktop 512Mb RAM) but when deployed to
    the UNIX box takes anywhere between 500-4000 ms. Performance metrics in the code
    indicate that 'crunch' times are similar but remote RMI calls are orders of magnitude
    greater.
    Has anybody had similar problems? I have checked the tuning guides wrt TCP/IP
    configurations but would not expect such a large difference using the default
    Solaris configuration. Memory and CPU utilisation on the SPARC are low as are
    I/O and other metrics available from vmstat.
    Cheers
    Pete

    Hi.
    The JVMs are running on the same machine thus should be looking in /etc/hosts
    and not going via DNS.
    I have read there is a performance gain by tying WL to a single CPU, any insight?
    Pete
    Andy Piper <[email protected]> wrote:
    "Pete Harris" <[email protected]> writes:
    I'm experiencing problems with the performance of RMI calls from withinsession
    beans to external RMI services. I have a system running 4 RMI servicesin separate
    JVMs to weblogic 6.1 instance on Solaris 2.6 on SPARC boxes with 1+Gb of RAM.
    The system was developed on NT and deployed to UNIX. A typical requestis serviced
    in 70-90 ms on the NT development box (Desktop 512Mb RAM) but whendeployed to
    the UNIX box takes anywhere between 500-4000 ms. Performance metricsin the code
    indicate that 'crunch' times are similar but remote RMI calls are ordersof magnitude
    greater.
    Has anybody had similar problems? I have checked the tuning guideswrt TCP/IP
    configurations but would not expect such a large difference using thedefault
    Solaris configuration. Memory and CPU utilisation on the SPARC arelow as are
    I/O and other metrics available from vmstat.Its possible that you are getting a DNS lookup for each request or
    worse a reverse lookup. You might want to try using IP addresses in
    your config to see if that helps.
    andy

  • Weblogic 5.1 Performance Issue

    1. I am having a performence Issue with an application
    on Weblogic App server.
    2. The application is database intensive, with database operations
    for some reports that take few minutes (2 to 5 mins).
    The Weblogic thread count properties was set at 15 during this
    test.
    The JVM max heap size is set to 512 MB.
    I am using Oracle thin Driver to connect from my jsp's/ EJB's(Stateless)
    to the database.
    3. When I simulated 30 users concurrent testing, the application
    server is responding very slow. Even pages that do not
    require any interaction with the database server (jsp's with
    only html tags and no java) take time.
    4. During the above test, CPU utilization was low (8%) and java
    heap memory utilization was also low (10%).
    The Execute Queue length was high (40 to 60) and Execute queue
    throughput was low (1 to 5).
    6. Subsequent to the above test, I increased the Weblogic thread
    count properties to 30 and repeated the test.
    The performance has improved little bit but heap memory became
    close to 100%.
    Can anyone tell what is going wrong?
    Would using OCI driver instead of Oracle Thin Driver for this application
    result in substantial benefit?

    why dont you issue kill -3 on the process and determine what your threads
    are doing. You bottleneck will become obvious.
    BTW kill -3 gives you a thread dump
    On 23 Mar 2001 14:35:48 -0800, Tiju John <[email protected]> wrote:
    >
    Hi
    The application server having a cpu utilization of 20-25% on peak
    load and Database server have cpu utilization of 10-12%
    on peak load.
    Tiju
    Srikant Subramaniam <[email protected]> wrote:
    looks like you are db-bound ... what is the cpu utilization
    on the db server?
    Srikant.
    Tju John wrote:
    1. I am having a performence Issue with an application
    on Weblogic App server.
    2. The application is database intensive, with databaseoperations
    for some reports that take few minutes (2 to 5 mins).
    The Weblogic thread count properties was set at 15during this
    test.
    The JVM max heap size is set to 512 MB.
    I am using Oracle thin Driver to connect from myjsp's/ EJB's(Stateless)
    to the database.
    3. When I simulated 30 users concurrent testing, theapplication
    server is responding very slow. Even pages that do not
    require any interaction with the database server(jsp's with
    only html tags and no java) take time.
    4. During the above test, CPU utilization was low (8%)and java
    heap memory utilization was also low (10%).
    The Execute Queue length was high (40 to 60) andExecute queue
    throughput was low (1 to 5).
    6. Subsequent to the above test, I increased the Weblogicthread
    count properties to 30 and repeated the test.
    The performance has improved little bit but heapmemory became
    close to 100%.
    Can anyone tell what is going wrong?
    Would using OCI driver instead of Oracle Thin Driverfor this application
    result in substantial benefit?--
    Srikant, [email protected], http://weblogic.bea.com/,
    etc.

  • Monitor weblogic cluster server performance

    I am using "System Monitor" got from http://dev2dev.bea.com/utilitiestools/monitoring.html to monitor my weblogic server performance. For single server, it is working well.
    However I can't use it to monitor the cluster server performance. For example:
    server 1 and server 2 have clustered weblogic server - APPS listerning on port 8888. On server 1, I have admin server running on server 1 - ADMIN_SVR1 listerning on port 232.
    I can dump the admin server Mbean information as:
    $java com.iternum.jmx.monitor.SystemMonitor -url t3://localhost:232 -user admin -password xxxxx -mBeanType ExecuteQueueRuntime -of performance.txt
    However I can't dump the cluster server performance data as following:
    $java com.iternum.jmx.monitor.SystemMonitor -url t3://localhost:8888 -user admin -password xxxxxx -mBeanType ExecuteQueueRuntime -of performance.txt
    Did I make any mistake? Do you have better tool to monitor weblogic performance?
    Thanks in advance,
    carl

    how to attach GC file?

  • WebLogic's High-Performance XML parser

    I understand that 6.1's high performance XML parser is the replacement of 6.0's
    custom generated parser. Per the documentation, I need to set SAXParserFactory
    to weblogic.xml.babel.jaxp.SAXParserFactoryImpl, but I couldn't find weblogic/xml/babel/jaxp/SAXParserFactoryImpl
    in either weblogic.jar or xmlx.jar. There are bunch of weblogicx/xml/babel/* in
    xmlx.jar.
    When I call JAXP code, I got this error:
    javax.xml.parsers.FactoryConfigurationError: Failed to find SAXParserFactory.
    weblogic.xml.babel.jaxp.SAXParserFactoryImpl
    javax.xml.parsers.FactoryConfigurationError: Failed to find SAXParserFactory.
    weblogic.xml.babel.jaxp.SAXParserFactoryImpl
    Am I missing something, or the 6.1 beta download forget to include the *.babel.jaxp.*
    stuff?
    Jim Zhou.

    Jim,
    Please don't use System.setProperty() in any server code. This was intended
    as an example only. I think the XMLReaderFactory is not specified in
    JAXP1.1.
    Thanks,
    Chris
    "Chris Fry" <[email protected]> wrote in message
    news:[email protected]...
    Jim,
    Here is a code fragment to acess the parser:
    System.setProperty("javax.xml.parsers.SAXParserFactory","weblogic.xml.babel.
    jaxp.SAXParserFactoryImpl");
    SAXParserFactory factory = SAXParserFactory.newInstance();
    SAXParser parser = factory.newSAXParser();
    parser.parse("yourfile.xml",defaultHandler);
    "Jim Zhou" <[email protected]> wrote in message
    news:[email protected]...
    I just found out that XML Registry setting on SAXParserFactory does notapply to
    XMLReaderFactory() and XMLReader:
    XMLReader parser = XMLReaderFactory.createXMLReader();
    I have to use SAXParserFactory to get High Performance Parser kicked in:
    SAXParserFactory factory = SAXParserFactory.newInstance();
    SAXParser parser = factory.newSAXParser();
    Is this the right behavior? Thanks for the help.
    Jim Zhou.
    "Jim Zhou" <[email protected]> wrote:
    Chris,
    Thanks for the reply. It still doesn't work. I think the problem is
    that weblogic.jar
    and xmlx.jar both does not have eihter
    "weblogicx.xml.babel.jaxp.SAXParserFactoryImpl"
    or "weblogic.xml.babel.jaxp.SAXParserFactoryImpl". So the current Beta
    download
    forgot to include the above classes. I might try download Beta again
    to see if
    any difference.
    Regards,
    Jim Zhou.
    "Chris Fry" <[email protected]> wrote:
    Jim,
    This is a mismatch between our beta and the final place that the
    parser
    will
    live in the release, you should be able to get the parser by setting
    the
    SAXParserFactory to weblogicx.xml.babel.jaxp.SAXParserFactoryImpl (it
    will
    be weblogic.xml.babel.jaxp.SAXParserFactoryImpl in the final release).
    A couple notes:
    The parser only handles standalone documents, with no entityreferences
    and
    is optimized for small to midsize documents (IE soap and wsdl type
    documents).
    Pleas let me know if you can get it to work.
    Chris
    "Jim Zhou" <[email protected]> wrote in message
    news:[email protected]...
    I understand that 6.1's high performance XML parser is the
    replacement
    of
    6.0's
    custom generated parser. Per the documentation, I need to setSAXParserFactory
    to weblogic.xml.babel.jaxp.SAXParserFactoryImpl, but I couldn't findweblogic/xml/babel/jaxp/SAXParserFactoryImpl
    in either weblogic.jar or xmlx.jar. There are bunch ofweblogicx/xml/babel/* in
    xmlx.jar.
    When I call JAXP code, I got this error:
    javax.xml.parsers.FactoryConfigurationError: Failed to findSAXParserFactory.
    weblogic.xml.babel.jaxp.SAXParserFactoryImpl
    javax.xml.parsers.FactoryConfigurationError: Failed to findSAXParserFactory.
    weblogic.xml.babel.jaxp.SAXParserFactoryImpl
    Am I missing something, or the 6.1 beta download forget to includethe
    *.babel.jaxp.*
    stuff?
    Jim Zhou.

  • WebLogic 6.0 performance on Solaris (Excessive polling)

    We have a problem with SunOs 5.8, multi (2) CPU, 1GB memory Weblogic 6.0 sp1 and
    java 1.3.0.
    While running some benchmarks we realized that the tests run much faster (25%-40%
    faster) on a NT Pentium III 800 MHz desktop with 256MB RAM than on our Sun Ultra-250
    with the above configuration.
    So, we decided to do some profiling by turning on hprof (-X:runhprof:cpu=samples,depth=12)
    and realized that over 50% of the time is spent in polling the sockets (weblogic.socket.PosixSocketMuxer.poll).
    On NT, only 0.23% time is spent on the same activity. I do not know if on NT WebLogic
    uses a different IPC model (select vs. interrupt) but the time taken on Solaris
    doing polls is outrageous. I am wondering if anybody else out there has experienced
    the same problem? Any insights you have to share on this will be appreciated.
    TIA,
    -Anil Singhal

    The Xprof output is misleading - this does not mean that 50% of
    the CPU is spent on polling sockets. It simply means that 50% of the thread samples
    were in a polling method (probably waiting, not running).
    Yes, I believe that an 800MHz PIII would blow away an ES-250 which runs at less
    that 300MHz. So you have 2CPU -> 600MHz. Then
    (800-600)/800 = 25% which is what you get.
    Mike
    "Michael Girdley" <----> wrote:
    Are you using the performance pack? If not, you should.
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "Anil Singhal" <[email protected]> wrote in message
    news:3adc4f27$[email protected]..
    We have a problem with SunOs 5.8, multi (2) CPU, 1GB memory Weblogic6.0
    sp1 and
    java 1.3.0.
    While running some benchmarks we realized that the tests run much faster(25%-40%
    faster) on a NT Pentium III 800 MHz desktop with 256MB RAM than onour Sun
    Ultra-250
    with the above configuration.
    So, we decided to do some profiling by turning on hprof(-X:runhprof:cpu=samples,depth=12)
    and realized that over 50% of the time is spent in polling the sockets(weblogic.socket.PosixSocketMuxer.poll).
    On NT, only 0.23% time is spent on the same activity. I do not knowif on
    NT WebLogic
    uses a different IPC model (select vs. interrupt) but the time takenon
    Solaris
    doing polls is outrageous. I am wondering if anybody else out therehas
    experienced
    the same problem? Any insights you have to share on this will beappreciated.
    TIA,
    -Anil Singhal

  • WebLogic 6.0 performance on Solaris vs NT

    Has anybody tried comparing the performance of WebLogic 6.0 sp1 on Solaris (SunOS
    5.8) with NT 4.0? Please post your experiences.
    TIA,
    -Anil

    The Xprof output is misleading - this does not mean that 50% of
    the CPU is spent on polling sockets. It simply means that 50% of the thread samples
    were in a polling method (probably waiting, not running).
    Yes, I believe that an 800MHz PIII would blow away an ES-250 which runs at less
    that 300MHz. So you have 2CPU -> 600MHz. Then
    (800-600)/800 = 25% which is what you get.
    Mike
    "Michael Girdley" <----> wrote:
    Are you using the performance pack? If not, you should.
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "Anil Singhal" <[email protected]> wrote in message
    news:3adc4f27$[email protected]..
    We have a problem with SunOs 5.8, multi (2) CPU, 1GB memory Weblogic6.0
    sp1 and
    java 1.3.0.
    While running some benchmarks we realized that the tests run much faster(25%-40%
    faster) on a NT Pentium III 800 MHz desktop with 256MB RAM than onour Sun
    Ultra-250
    with the above configuration.
    So, we decided to do some profiling by turning on hprof(-X:runhprof:cpu=samples,depth=12)
    and realized that over 50% of the time is spent in polling the sockets(weblogic.socket.PosixSocketMuxer.poll).
    On NT, only 0.23% time is spent on the same activity. I do not knowif on
    NT WebLogic
    uses a different IPC model (select vs. interrupt) but the time takenon
    Solaris
    doing polls is outrageous. I am wondering if anybody else out therehas
    experienced
    the same problem? Any insights you have to share on this will beappreciated.
    TIA,
    -Anil Singhal

  • BEA weblogic 8.1 performance monitor plug-in doesn't work

    downloaded bea performance monitor and added to the startserver.sh
    "%JAVA_HOME%\bin\java" %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -Dweblogic.Name=%SERVER_NAME%
    -Dweblogic.management.username=%WLS_USER% -Dweblogic.management.password=%WLS_PW%
    -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE%
    -Djava.security.policy="%WL_HOME%\server\lib\weblogic.policy" weblogic.Server
    -Dweblogic.classloader.preprocessor=com.dirig.preprocessor.DirigBEAClassProcessor
    ENDLOCAL
    weblogic81 is not starting as it is not finding the class 'DirigBEAClassProcessor'.
    I searched for this class in the dir where i installed beaplugin but don't find
    it

    Make sure to add dirig.jar in WEBLOGIC_CLASSPATH.
    Doug
    "tim" <[email protected]> wrote:
    >
    downloaded bea performance monitor and added to the startserver.sh
    "%JAVA_HOME%\bin\java" %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -Dweblogic.Name=%SERVER_NAME%
    -Dweblogic.management.username=%WLS_USER% -Dweblogic.management.password=%WLS_PW%
    -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE%
    -Djava.security.policy="%WL_HOME%\server\lib\weblogic.policy" weblogic.Server
    -Dweblogic.classloader.preprocessor=com.dirig.preprocessor.DirigBEAClassProcessor
    ENDLOCAL
    weblogic81 is not starting as it is not finding the class 'DirigBEAClassProcessor'.
    I searched for this class in the dir where i installed beaplugin but
    don't find
    it

  • Weblogic 6.1 performance

    Hi,
    We are running a weblogic 6.1SP3. We notice every time after running weblogic
    server a period of time, we experienced more slow down response from the server.
    Those requests will require to retrieve/insert/update data from our oracle database.
    Our observation is when more delay caused on user requests, the stateful session
    seems to have abnormal handling on the request like swap to do other request during
    process one request. We just wonder in what circumstance the stateful bean will
    swap like this so frequently? Is there any setting needs to be configured? Like
    how to set the priority to do which process first or to avoid the stateful bean
    swap to do other request?
    By the way, will the problem is caused by the setting of execute Queue? We have
    currently set to default value 15, do we need to tune the execute queue to improve
    the weblogic performance? Also, will this be the cause on the setting of garbage
    collection? Any configuration requires to set? As currently what we will do is
    to restart our server after running a few days in order to keep the performance
    stable.

    Hi,
    If you doubt your execute queue is the bottleneck,
    you can always monitor it during the performance
    test. If the idle threads of the default queue are often
    down to 0, your system may need redesign.
    Create another queue for your EJB and HTTP requests.
    Leave the default queue for the basic I/O and the like.
    Peace
    lynchwu at truetel dot com dot tw
    lynchwu at truetel dot com dot tw
    "Claribel" <[email protected]> ¼¶¼g©ó¶l¥ó·s»D
    :3f7cfaf5$[email protected]..
    >
    Hi,
    We are running a weblogic 6.1SP3. We notice every time after runningweblogic
    server a period of time, we experienced more slow down response from theserver.
    Those requests will require to retrieve/insert/update data from our oracledatabase.
    >
    >
    Our observation is when more delay caused on user requests, the statefulsession
    beans seems to have abnormal handling on the request like swap to do otherrequest
    during process one request. We just wonder in what circumstance thestateful bean
    will swap like this so frequently? Is there any setting needs to beconfigured?
    Like how to set the priority to do which process first or to avoid thestateful
    bean swap to do other request?
    By the way, will the problem is caused by the setting of execute Queue? Wehave
    currently set to default value 15, do we need to tune the execute queue toimprove
    the weblogic performance? Also, will this be the cause on the setting ofgarbage
    collection? Any configuration requires to set? As currently what we willdo is
    to restart our server after running a few days in order to keep theperformance
    stable.

  • WebLogic 7 IPlanetAuthenticationProvider Performance

    Hello!
    I'm trying to use the IPlanteAuthenticationProvider of WLS7 to achieve
    authentication and authorization. WLS7 is running on RedHat 7.x on a
    P3/400/256MB and IPlanet 5.1 is running on SUN Ultra 10 with Solaris
    9.
    I get terrible performance of less than 1 successfull authentication
    per second. No matter if SSL is used or not. An unrestricted Servlet
    can be requested up to about 70 times per second on this hardware...
    Does anyone have experience in Performance-Tuning the
    IPlanetAuthenticationProvider? Or has anyone written one by himself?
    What performance can be achieved?
    Thnak you very much!
    Thomas

    Hi,
    If you doubt your execute queue is the bottleneck,
    you can always monitor it during the performance
    test. If the idle threads of the default queue are often
    down to 0, your system may need redesign.
    Create another queue for your EJB and HTTP requests.
    Leave the default queue for the basic I/O and the like.
    Peace
    lynchwu at truetel dot com dot tw
    lynchwu at truetel dot com dot tw
    "Claribel" <[email protected]> ¼¶¼g©ó¶l¥ó·s»D
    :3f7cfaf5$[email protected]..
    >
    Hi,
    We are running a weblogic 6.1SP3. We notice every time after runningweblogic
    server a period of time, we experienced more slow down response from theserver.
    Those requests will require to retrieve/insert/update data from our oracledatabase.
    >
    >
    Our observation is when more delay caused on user requests, the statefulsession
    beans seems to have abnormal handling on the request like swap to do otherrequest
    during process one request. We just wonder in what circumstance thestateful bean
    will swap like this so frequently? Is there any setting needs to beconfigured?
    Like how to set the priority to do which process first or to avoid thestateful
    bean swap to do other request?
    By the way, will the problem is caused by the setting of execute Queue? Wehave
    currently set to default value 15, do we need to tune the execute queue toimprove
    the weblogic performance? Also, will this be the cause on the setting ofgarbage
    collection? Any configuration requires to set? As currently what we willdo is
    to restart our server after running a few days in order to keep theperformance
    stable.

  • Weblogic portal propagation performance issue.

    Hi,
    I created a weblogic portal for client and deployed it on server. After some time we made changes in our portal assests.
    I want to reflect these changes on production environment using portal propagation.
    I am able to propagate portal assests successfully on production environment using ant script but it takes so much time to propagate.
    I have used onlinedownload, offlinecombine, onlineUpload, onlineCommit operation.
    src.zip size is 40MB takes 3 hours to dowload, dest.zip size is also of 40MB takes 8hours to dowload.
    I have used scoping as well.
    I want to reduce propagation time.
    For this i read concept of proliferation, but i am not clear that what is the role of proliferation in propagation.
    Whether or not proliferation will reduce the Propagation time.
    Or is there any way to do this.
    Your help will be appreciable.

    Hi,
    Proliferation refers to the process by which changes made to the Library instance of a portal asset are pushed into user-customized instances of that asset which means that when any changes are made to the portlet in source and if you want to propagate that change to the destination, that time if that portlet is used in a desktop where many users are provided an option to customize that desktop only that particular time at destination if you change the Portal Resources Proliferation of Updates Configuration setting to either Asynchronous or off propagation will be faster because that time propagation utility will not change for each user. If the value is synchronous it changes for each user and hence some delay that too it will happen during commit operation only but not during download operation.
    So I feel, Proliferation may not be useful for your case.
    We need to find why downloading source is taking 3 hrs and destination is taking 8 hrs.
    Please let me know whether you are running downloadsource and downloaddestination.
    I suggest run downloadSource in source machine itself and downloadDestination on the destination Machine itself so that you can reduce the network latency.
    Thanks & Regards,
    Murali.
    ===========

  • Java Stored Procedure calling HTTP Servlet in Weblogic

    I am currently working on an e-commerce application for a brick-n-mortar electronics store. The store currently has an Oracle database that contains all of the products the store sells. The e-commerce site will have a separate Oracle database. Both database are Oracle 9i release 2 databases. The e-commerce site will be using BEA's Weblogic as its application server. I need to move data from the store db into the e-commerce db. The actual moving of the data is not the issue. The issue comes from needing to call several methods on a Stateless Session EJB, loaded on the Weblogic server, to perform backend processing. I wanted to make a JNDI call from a Java Stored Procedure but with Release 2, this option is no longer supported. The release notes (http://otn.oracle.com/tech/java/htdocs/9idb2_java.html) indicated that the JVM now supports calling out to Servlets using HTTP Client from a Java Stored Procedure.
    Has anyone done this? Is there any sample code available?
    Thanks for any help.

    I am currently working on an e-commerce application for a brick-n-mortar electronics store. The store currently has an Oracle database that contains all of the products the store sells. The e-commerce site will have a separate Oracle database. Both database are Oracle 9i release 2 databases. The e-commerce site will be using BEA's Weblogic as its application server. I need to move data from the store db into the e-commerce db. The actual moving of the data is not the issue. The issue comes from needing to call several methods on a Stateless Session EJB, loaded on the Weblogic server, to perform backend processing. I wanted to make a JNDI call from a Java Stored Procedure but with Release 2, this option is no longer supported. The release notes (http://otn.oracle.com/tech/java/htdocs/9idb2_java.html) indicated that the JVM now supports calling out to Servlets using HTTP Client from a Java Stored Procedure.
    Has anyone done this? Is there any sample code available?
    Thanks for any help. Hi,
    sorry we have not yet formally documented this but here is a code snippet
    Kuassi
    /* HttpCallout - simple test to callout to static pages from Java Stored
    Procedures */
    import java.io.IOException;
    import java.io.InputStream;
    import HTTPClient.HTTPConnection;
    import HTTPClient.HTTPResponse;
    import HTTPClient.AuthorizationInfo;
    public class HttpCallout {
    public static void main(String[] argv) throws InterruptedException {
    HttpCallout t = new HttpCallout(argv);
    t.run();
    private String[] argv ;
    HttpCallout(String[] argv) {
    this.argv = argv;
    void initSSL() {
    public void run() {
    try {
    if ( argv.length == 0 ) {
    System.out.println("HttpCallout " +
    "protocol " +
    "host " +
    "port " +
    "page ");
    return;
    // process arguments
    int argc = 0;
    String protocol = argv[argc++];
    String host = argv[argc++];
    int port = Integer.parseInt(argv[argc++]);
    String page = argv[argc++];
    // Debugging - don't set for now
    // System.setProperty("HTTPClient.log.mask", "3");
    // noop
    initSSL();
    // Grab HTTPConnection
    HTTPConnection con = new HTTPConnection(protocol, host, port);
    con.setTimeout(20000);
    con.setAllowUserInteraction(false);
    // Grab Response
    HTTPResponse rsp = con.Get(page);
    byte[] data = rsp.getData();
    if ( data == null ) {
    System.out.println("no data");
    } else {
    System.out.println("data length " + data.length);
    System.out.println(new String(data));
    catch ( Throwable ex ) {
    ex.printStackTrace();

  • Weblogic.rjvm.PeerGoneException: ; nested exception is: java.io.EOFException

    Hi,
    We are working with Weblogic 6.1.
    The system was quite stable, but a couple of days ago some batch process suddenly
    started to fail, with no apparent reason, there was no change in the system neither
    in the code.
    The following exception is received:
    Stopped, RemoteException weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.io.EOFException
    We have also noticed that other jobs had failed before due to some memory problems,
    but using the Weblogic Console; Monitoring; Performance, then when some jobs had
    some memory problems forcing the garbage collection the batches worked properly.
    Maybe these 2 problems have no relation between one an other, but they appeared
    at the same time.
    Any help will be appreciated.
    Thanks and best regards.

    Hi,
    We are working with Weblogic 6.1.
    The system was quite stable, but a couple of days ago some batch process suddenly
    started to fail, with no apparent reason, there was no change in the system neither
    in the code.
    The following exception is received:
    Stopped, RemoteException weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.io.EOFException
    We have also noticed that other jobs had failed before due to some memory problems,
    but using the Weblogic Console; Monitoring; Performance, then when some jobs had
    some memory problems forcing the garbage collection the batches worked properly.
    Maybe these 2 problems have no relation between one an other, but they appeared
    at the same time.
    Any help will be appreciated.
    Thanks and best regards.

Maybe you are looking for

  • Problems with PSE 8.0  (windows 7)

    Hello, PSE 8 doesn't work anymore on my PC with windows 7 Organizer opens well and also it is possible to import images, but it is not possible to give tags to images. So I cannot organize my images. When I try to edit an image in Editor, Editor open

  • No crop tool in camera raw

    I have only 8 tools in the Camera RAW toolbar: Zoom Hand White Balance, Color Sampler Targeted Adjustment Spot Removal Red Eye Adjustment Brush Graduated Filter Radial Filter I right clicked on the toolbar to see if the Cropping, Straightening, etc.

  • Can't get rid of Reading List side pane

    I turned my computer on and brought up Safari. I didn't realize that the wifi wasn't turned on. It said that I could click on Reading Lists to read pages without being connected. I clicked on it just for fun and the Reading List Side Panel came up on

  • USB Nokia C2-05 - PC not working

    I downloaded newest version  ( 6. Dec 2013) of Nokia Suite and installed new version (6. Dec 2013)software on the C2-05 but still get msg on phone: USB unit not supported. Disconnect cable. I used the same USB-port to send an MMS Email to myself to t

  • Hard drive memory missing

    I have a Mac Book Pro. It has been running very slowly so been checking the amount of memory available. Get info shows 277GB being used out of 319GB. Daisy disk sofatware showing the same. In both cases though if I dig deeper into each of the sub fol