SlideShare a Scribd company logo
Keeping E-Business Open for Business™




                     BEA Users Group
                           January 16, 2003

    Embedding WLS Server –
     Experience of Building a
    J2EE-based Management
             Server

                Sanjeev Kumar
           skumar@resonate.com
    Management Server Team
         Resonate Inc.




    www.resonate.com
1   Resonate_presentation title
Experience of Building a J2EE-based
       Management Server

 • Basic Control Flows & Characteristics
 • Development Issues
 • Installation & Packaging Issues
 • Operational & Performance Issues




Resonate_presentation title
Commander Solutions – “Moving Parts”

                       Test Engine              Management   Watchdog               Configured Backup
                                                  Server                            Management Server
                                                                                          Node


                                                    PTA




                                 Pass-through
            WLS Server                                                   Backup Pass-
                                    Agent                               through Agent

                                          AA
                                                                               AA

               cm_wls
                                     cm_solaris


       signifies a node (machine) boundary
       signifies “ping” or heartbeat traffic
       signifies configured (primary) connections
       signifies configured backup connections



   Resonate_presentation title
Management Server – Code Layers
                GUI
                                       SLO Manager

                   Servlets             Rules Engine
                                         Scheduler

   Stateless Session Beans     JMS    Failover Manager

                                       Tests & Actions
   Singletons (Entity Beans)
                                     Statistics & Events

                                      Data Subscription
              DB Interface
                                         Discovery

         Weblogic Server             Communication Hub




Resonate_presentation title
Management Server: Characteristics
 • J2EE Technologies Used
     – Servlets, JSP’s, Struts Framework
     – Session Beans, and (partially) Entity Beans
     – BMP, JDBC, and DB Connection Pool
     – (In-memory) JMS
     – XML Parsers

 • WLS HTTP Listener
 • WLS Startup/Shutdown Hooks
 • Different from an In-house, Traditional Application
     – Packaging & Installation
     – Resource planning for varying scales of deployment




  Resonate_presentation title
Management Server: Characteristics
  • Design Patterns Used
         – Singletons: key functional components
         – Value Objects: persistent data
         – Session Bean per Singleton
         – Publish & Subscribe (JMS) for Asynchronous Communication

  • Rules Engine
         – Events combined with AND’s and OR’s
         – Event correlation w.r.t. time and occurrences

  • Agent Communication
         – Persistent and non-persistent message channel
         – Thread pool created and managed by the server



 Resonate_presentation title
Development – Servlet Container
            Servlet Container
                  – Application level authorization filter
                  – Use of JSP’s, servlets, struts framework, and bean shell
                  – Management of HTTP sessions for server failback


HTTP Request                                      Stateless                       JDBC
                    Java            Auth.         Session          Singleton/
 GET/POST          Servlets                        Beans          Value Objects


HTTP Response        Java
                    Server
                     Page
                                               Stateless Session Beans
                                                                              JDBC
                                             (Service Object Model)
            Web Container



                                            Enterprise Java Beans Container



      Resonate_presentation title
Development – EJB Container
• Session Beans
   – <session-type> - stateless; <transaction-type> - bean
   – <isolation_level> - TRANSACTION_READ_COMMITTED, for all methods

• Entity Beans
   – Persistence: <db-is-shared> - true; use of is_modified as “dirty” bit
   – Entity-cache: <concurrency-strategy> - database
   – db_is_shared = false; Caused transaction timeouts
   – db_is_shared = true; Excessive ejbLoad()’s and ejbStore()’s
   – Seen intermittent reentrancy exceptions; possible bug in WLS61sp1

 Moved functionality from entity beans to singletons
 and value objects


 Resonate_presentation title
Development – “Backend”
• Blocking vs. Non-blocking Operations
  – Use of request queues for op’s with high latency (e.g. writes to DB)
  – Decoupling of components via JMS server thread-pool

• Error Handling
  – Logging of application level errors, with varying levels of severity
  – Map most WLS and DB errors to user-consumable errors

• Debugging
  – Synchronization of entries across log files in the control flow chain

• Throughput
  – Data intensive, DB and disk I/O bound
  – Parallelization of disk I/O across as many disks as possible



  Resonate_presentation title
Installation & Packaging
    • Usage
          – Silent Install of WLS
          – Install of WLS as a service
          – Embedded WLS (ISV) License

    • Issues Discovered (“Nits”)
          – WLS uninstall is not silent
          – WLS uninstall is not "cumulative", i.e. uninstall of
            WLS61sp1 requires uninstall of WLS61
          – Uninstall does not remove BEA directory completely




0   Resonate_presentation title
Operational Issues: Config. & Startup
         • Server Startup & Shutdown
               – Startup and shutdown class hooks via config.xml
               – Ordered startup of server state
               – Orderly shutdown in the case of failback to primary

         • Management Server (App Level) Config File
               – Setting singleton and thread states at startup time
               – User-visible vs. hidden parameters

         • Log Generation
               – Application level log file
               – Cyclical set of log files




1     Resonate_presentation title
Operational Issues: Performance Related
     • Thread-pool Sizes
          – Strict control of application-spawned threads & execute queue
          – Lack of control of JMS server thread pool size (WLS6.1)

     • Java Heap Sizing
          – Guidelines to specify typical and max on heap size
          – Min & Max for heap and new-space set equal at startup
          – Experimentation required for survivor-ratio and min/max of heap-
            free ratios

     • Database Throughput
          – Control over database and disk I/O throughput
          – Indirectly impacts GC performance



2    Resonate_presentation title
Summary-I
     • Things that worked
            – EJB Container: Stateless session beans
            – In-memory JMS message propagation (pub/sub)
            – Weblogic Server, Rel 6.1sp1, in general
            – Online docs (edocs.bea.com)
            – BEA’s consulting services

     • Things that “kind of” worked
            – Silent install, uninstall & release upgrades of WLS
            – Use of debuggers to step through application code




3   Resonate_presentation title
Summary-II

    • Things that did not work
          – Full GC & network connections

          – Predictability (and outcome) of full GC

          – Network I/O (as supported in JDK 1.3.1)
          – Entity beans & application spawned threads




4   Resonate_presentation title
Questions?

                                     Q&A




5   Resonate_presentation title

More Related Content

What's hot

WebLogic Deployment Plan Example
WebLogic Deployment Plan ExampleWebLogic Deployment Plan Example
WebLogic Deployment Plan Example
James Bayer
 
JBoss Application Server 7
JBoss Application Server 7JBoss Application Server 7
JBoss Application Server 7
Ray Ploski
 
JBoss started guide
JBoss started guideJBoss started guide
JBoss started guidefranarayah
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c Administration
Revelation Technologies
 
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...
BIOVIA
 
Quest v ranger 6.0 product overview - august 2012 sd
Quest v ranger 6.0   product overview - august 2012 sdQuest v ranger 6.0   product overview - august 2012 sd
Quest v ranger 6.0 product overview - august 2012 sd
Dell_Maxwell
 
Powering the Cloud with Oracle WebLogic
Powering the Cloud with Oracle WebLogicPowering the Cloud with Oracle WebLogic
Powering the Cloud with Oracle WebLogic
Lucas Jellema
 
Weblogic configuration
Weblogic configurationWeblogic configuration
Weblogic configuration
Aditya Bhuyan
 
Instruction on creating a cluster on jboss eap environment
Instruction on creating a cluster on jboss eap environmentInstruction on creating a cluster on jboss eap environment
Instruction on creating a cluster on jboss eap environment
Madhusudan Pisipati
 
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...
BIOVIA
 
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...Jeffrey West
 
Weblogic security
Weblogic securityWeblogic security
Weblogic security
Aditya Bhuyan
 
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance
BIOVIA
 
Weblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencastWeblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencast
Rajiv Gupta
 
PACLUG sametime presentation
PACLUG sametime presentationPACLUG sametime presentation
PACLUG sametime presentation
amhiggins
 
Sp2010 high availlability_sql
Sp2010 high availlability_sqlSp2010 high availlability_sql
Sp2010 high availlability_sqlSamuel Zürcher
 
(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...
(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...
(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...
BIOVIA
 

What's hot (20)

Oracle WebLogic 11g Topology
Oracle WebLogic 11g TopologyOracle WebLogic 11g Topology
Oracle WebLogic 11g Topology
 
WebLogic FAQs
WebLogic FAQsWebLogic FAQs
WebLogic FAQs
 
WebLogic Deployment Plan Example
WebLogic Deployment Plan ExampleWebLogic Deployment Plan Example
WebLogic Deployment Plan Example
 
JBoss Application Server 7
JBoss Application Server 7JBoss Application Server 7
JBoss Application Server 7
 
JBoss started guide
JBoss started guideJBoss started guide
JBoss started guide
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c Administration
 
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...
 
Quest v ranger 6.0 product overview - august 2012 sd
Quest v ranger 6.0   product overview - august 2012 sdQuest v ranger 6.0   product overview - august 2012 sd
Quest v ranger 6.0 product overview - august 2012 sd
 
Powering the Cloud with Oracle WebLogic
Powering the Cloud with Oracle WebLogicPowering the Cloud with Oracle WebLogic
Powering the Cloud with Oracle WebLogic
 
Weblogic configuration
Weblogic configurationWeblogic configuration
Weblogic configuration
 
Instruction on creating a cluster on jboss eap environment
Instruction on creating a cluster on jboss eap environmentInstruction on creating a cluster on jboss eap environment
Instruction on creating a cluster on jboss eap environment
 
Physical Architecture Layer Design
Physical Architecture Layer DesignPhysical Architecture Layer Design
Physical Architecture Layer Design
 
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...
 
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
 
Weblogic security
Weblogic securityWeblogic security
Weblogic security
 
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance
 
Weblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencastWeblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencast
 
PACLUG sametime presentation
PACLUG sametime presentationPACLUG sametime presentation
PACLUG sametime presentation
 
Sp2010 high availlability_sql
Sp2010 high availlability_sqlSp2010 high availlability_sql
Sp2010 high availlability_sql
 
(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...
(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...
(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...
 

Similar to BUG - BEA Users\' Group, Jan16 2003

F428435966 odtug web-logic for developers
F428435966 odtug   web-logic for developersF428435966 odtug   web-logic for developers
F428435966 odtug web-logic for developers
Meng He
 
OOW09 Ebs Tuning Final
OOW09 Ebs Tuning FinalOOW09 Ebs Tuning Final
OOW09 Ebs Tuning Finaljucaab
 
Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012
Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012
Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012Michael Noel
 
ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...
Nancy Thomas
 
04.egovFrame Runtime Environment Workshop
04.egovFrame Runtime Environment Workshop04.egovFrame Runtime Environment Workshop
04.egovFrame Runtime Environment Workshop
Chuong Nguyen
 
02 -my_sql_roma-may2011
02  -my_sql_roma-may201102  -my_sql_roma-may2011
02 -my_sql_roma-may2011testfank
 
Java Web Programming [1/9] : Introduction to Web Application
Java Web Programming [1/9] : Introduction to Web ApplicationJava Web Programming [1/9] : Introduction to Web Application
Java Web Programming [1/9] : Introduction to Web Application
IMC Institute
 
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
Dimitris Andreadis
 
Intro to sbt-web
Intro to sbt-webIntro to sbt-web
Intro to sbt-web
Marius Soutier
 
The Art & Sience of Optimization
The Art & Sience of OptimizationThe Art & Sience of Optimization
The Art & Sience of OptimizationHertzel Karbasi
 
Java on Windows Azure (Cloud Computing Expo 2010)
Java on Windows Azure (Cloud Computing Expo 2010)Java on Windows Azure (Cloud Computing Expo 2010)
Java on Windows Azure (Cloud Computing Expo 2010)
David Chou
 
WebLogic Diagnostic Framework Dr. Frank Munz / munz & more WLS11g
WebLogic Diagnostic Framework  Dr. Frank Munz / munz & more WLS11gWebLogic Diagnostic Framework  Dr. Frank Munz / munz & more WLS11g
WebLogic Diagnostic Framework Dr. Frank Munz / munz & more WLS11g
InSync Conference
 
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
Rohit Kelapure
 
Performance Engineering Case Study V1.0
Performance Engineering Case Study    V1.0Performance Engineering Case Study    V1.0
Performance Engineering Case Study V1.0sambitgarnaik
 
Oracle WebLogic 12c New Multitenancy features
Oracle WebLogic 12c New Multitenancy featuresOracle WebLogic 12c New Multitenancy features
Oracle WebLogic 12c New Multitenancy features
Michel Schildmeijer
 
Sail Fin Webinar Overview
Sail Fin Webinar OverviewSail Fin Webinar Overview
Sail Fin Webinar Overview
Eduardo Pelegri-Llopart
 
Summer training oracle
Summer training   oracle Summer training   oracle
Summer training oracle
Arshit Rai
 
WildFly AppServer - State of the Union
WildFly AppServer - State of the UnionWildFly AppServer - State of the Union
WildFly AppServer - State of the Union
Dimitris Andreadis
 

Similar to BUG - BEA Users\' Group, Jan16 2003 (20)

F428435966 odtug web-logic for developers
F428435966 odtug   web-logic for developersF428435966 odtug   web-logic for developers
F428435966 odtug web-logic for developers
 
OOW09 Ebs Tuning Final
OOW09 Ebs Tuning FinalOOW09 Ebs Tuning Final
OOW09 Ebs Tuning Final
 
Virtual classroom
Virtual classroomVirtual classroom
Virtual classroom
 
Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012
Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012
Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012
 
ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...
 
04.egovFrame Runtime Environment Workshop
04.egovFrame Runtime Environment Workshop04.egovFrame Runtime Environment Workshop
04.egovFrame Runtime Environment Workshop
 
02 -my_sql_roma-may2011
02  -my_sql_roma-may201102  -my_sql_roma-may2011
02 -my_sql_roma-may2011
 
Java Web Programming [1/9] : Introduction to Web Application
Java Web Programming [1/9] : Introduction to Web ApplicationJava Web Programming [1/9] : Introduction to Web Application
Java Web Programming [1/9] : Introduction to Web Application
 
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
 
Intro to sbt-web
Intro to sbt-webIntro to sbt-web
Intro to sbt-web
 
The Art & Sience of Optimization
The Art & Sience of OptimizationThe Art & Sience of Optimization
The Art & Sience of Optimization
 
Java on Windows Azure (Cloud Computing Expo 2010)
Java on Windows Azure (Cloud Computing Expo 2010)Java on Windows Azure (Cloud Computing Expo 2010)
Java on Windows Azure (Cloud Computing Expo 2010)
 
WebLogic Diagnostic Framework Dr. Frank Munz / munz & more WLS11g
WebLogic Diagnostic Framework  Dr. Frank Munz / munz & more WLS11gWebLogic Diagnostic Framework  Dr. Frank Munz / munz & more WLS11g
WebLogic Diagnostic Framework Dr. Frank Munz / munz & more WLS11g
 
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
 
Performance Engineering Case Study V1.0
Performance Engineering Case Study    V1.0Performance Engineering Case Study    V1.0
Performance Engineering Case Study V1.0
 
Oracle WebLogic 12c New Multitenancy features
Oracle WebLogic 12c New Multitenancy featuresOracle WebLogic 12c New Multitenancy features
Oracle WebLogic 12c New Multitenancy features
 
Jsf Framework
Jsf FrameworkJsf Framework
Jsf Framework
 
Sail Fin Webinar Overview
Sail Fin Webinar OverviewSail Fin Webinar Overview
Sail Fin Webinar Overview
 
Summer training oracle
Summer training   oracle Summer training   oracle
Summer training oracle
 
WildFly AppServer - State of the Union
WildFly AppServer - State of the UnionWildFly AppServer - State of the Union
WildFly AppServer - State of the Union
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 

BUG - BEA Users\' Group, Jan16 2003

  • 1. Keeping E-Business Open for Business™ BEA Users Group January 16, 2003 Embedding WLS Server – Experience of Building a J2EE-based Management Server Sanjeev Kumar skumar@resonate.com Management Server Team Resonate Inc. www.resonate.com 1 Resonate_presentation title
  • 2. Experience of Building a J2EE-based Management Server • Basic Control Flows & Characteristics • Development Issues • Installation & Packaging Issues • Operational & Performance Issues Resonate_presentation title
  • 3. Commander Solutions – “Moving Parts” Test Engine Management Watchdog Configured Backup Server Management Server Node PTA Pass-through WLS Server Backup Pass- Agent through Agent AA AA cm_wls cm_solaris signifies a node (machine) boundary signifies “ping” or heartbeat traffic signifies configured (primary) connections signifies configured backup connections Resonate_presentation title
  • 4. Management Server – Code Layers GUI SLO Manager Servlets Rules Engine Scheduler Stateless Session Beans JMS Failover Manager Tests & Actions Singletons (Entity Beans) Statistics & Events Data Subscription DB Interface Discovery Weblogic Server Communication Hub Resonate_presentation title
  • 5. Management Server: Characteristics • J2EE Technologies Used – Servlets, JSP’s, Struts Framework – Session Beans, and (partially) Entity Beans – BMP, JDBC, and DB Connection Pool – (In-memory) JMS – XML Parsers • WLS HTTP Listener • WLS Startup/Shutdown Hooks • Different from an In-house, Traditional Application – Packaging & Installation – Resource planning for varying scales of deployment Resonate_presentation title
  • 6. Management Server: Characteristics • Design Patterns Used – Singletons: key functional components – Value Objects: persistent data – Session Bean per Singleton – Publish & Subscribe (JMS) for Asynchronous Communication • Rules Engine – Events combined with AND’s and OR’s – Event correlation w.r.t. time and occurrences • Agent Communication – Persistent and non-persistent message channel – Thread pool created and managed by the server Resonate_presentation title
  • 7. Development – Servlet Container Servlet Container – Application level authorization filter – Use of JSP’s, servlets, struts framework, and bean shell – Management of HTTP sessions for server failback HTTP Request Stateless JDBC Java Auth. Session Singleton/ GET/POST Servlets Beans Value Objects HTTP Response Java Server Page Stateless Session Beans JDBC (Service Object Model) Web Container Enterprise Java Beans Container Resonate_presentation title
  • 8. Development – EJB Container • Session Beans – <session-type> - stateless; <transaction-type> - bean – <isolation_level> - TRANSACTION_READ_COMMITTED, for all methods • Entity Beans – Persistence: <db-is-shared> - true; use of is_modified as “dirty” bit – Entity-cache: <concurrency-strategy> - database – db_is_shared = false; Caused transaction timeouts – db_is_shared = true; Excessive ejbLoad()’s and ejbStore()’s – Seen intermittent reentrancy exceptions; possible bug in WLS61sp1 Moved functionality from entity beans to singletons and value objects Resonate_presentation title
  • 9. Development – “Backend” • Blocking vs. Non-blocking Operations – Use of request queues for op’s with high latency (e.g. writes to DB) – Decoupling of components via JMS server thread-pool • Error Handling – Logging of application level errors, with varying levels of severity – Map most WLS and DB errors to user-consumable errors • Debugging – Synchronization of entries across log files in the control flow chain • Throughput – Data intensive, DB and disk I/O bound – Parallelization of disk I/O across as many disks as possible Resonate_presentation title
  • 10. Installation & Packaging • Usage – Silent Install of WLS – Install of WLS as a service – Embedded WLS (ISV) License • Issues Discovered (“Nits”) – WLS uninstall is not silent – WLS uninstall is not "cumulative", i.e. uninstall of WLS61sp1 requires uninstall of WLS61 – Uninstall does not remove BEA directory completely 0 Resonate_presentation title
  • 11. Operational Issues: Config. & Startup • Server Startup & Shutdown – Startup and shutdown class hooks via config.xml – Ordered startup of server state – Orderly shutdown in the case of failback to primary • Management Server (App Level) Config File – Setting singleton and thread states at startup time – User-visible vs. hidden parameters • Log Generation – Application level log file – Cyclical set of log files 1 Resonate_presentation title
  • 12. Operational Issues: Performance Related • Thread-pool Sizes – Strict control of application-spawned threads & execute queue – Lack of control of JMS server thread pool size (WLS6.1) • Java Heap Sizing – Guidelines to specify typical and max on heap size – Min & Max for heap and new-space set equal at startup – Experimentation required for survivor-ratio and min/max of heap- free ratios • Database Throughput – Control over database and disk I/O throughput – Indirectly impacts GC performance 2 Resonate_presentation title
  • 13. Summary-I • Things that worked – EJB Container: Stateless session beans – In-memory JMS message propagation (pub/sub) – Weblogic Server, Rel 6.1sp1, in general – Online docs (edocs.bea.com) – BEA’s consulting services • Things that “kind of” worked – Silent install, uninstall & release upgrades of WLS – Use of debuggers to step through application code 3 Resonate_presentation title
  • 14. Summary-II • Things that did not work – Full GC & network connections – Predictability (and outcome) of full GC – Network I/O (as supported in JDK 1.3.1) – Entity beans & application spawned threads 4 Resonate_presentation title
  • 15. Questions? Q&A 5 Resonate_presentation title