Running BEA WebLogic Examples - (Release 8.1.2)

by Jeff Hunter, Sr. Database Administrator


Contents

  1. Introduction
  2. Using the PointBase Database
  3. WebLogic Server - (Examples)
  4. WebLogic Server - (MedRec)
  5. WebLogic Workshop - (workshop)
  6. WebLogic Portal - (portal)
  7. WebLogic Platform - (end2end)
  8. WebLogic Integration - ()


Introduction

BEA WebLogic Server 8.1 is an enterprise-level application server that provides a framework for developing, deploying, and managing J2EE applications both locally and remotely. When you install the WebLogic Server, you have the option of installing several example application domains that demonstrate the functionality of the application server.

This article provides instructions on how to locate, start, and stop these applications.

The following assumptions should be made while reviewing this article:

WebLogic Server Version 8.1, Service Pack 2 - (8.1.2)
BEA Home Directory c:\bea
WebLogic Production Directory c:\bea\weblogic81
Examples Directory c:\bea\weblogic81\samples\domains



Using the PointBase Database

The WebLogic Server distribution includes the PointBase Database Server - an all-Java RDBMS product - solely in support of WebLogic server evaluation. It is included for custom trial applications as well as for the packaged sample applications provided with the WebLogic Server.

I included a brief overview of some of the settings that should be considered useful when working with the sample applications included with WebLogic Server.

PointBase Database
Domain Name(s): examples, medrec
Version: 4.4 ECF Build 236
Driver: com.pointbase.jdbc.jdbcUniversalDriver
URL: jdbc:pointbase:server://localhost/demo
Port: 9092
Users:
   EXAMPLES / EXAMPLES
   PBPUBLIC / PBPUBLIC
   MEDREC / MEDREC
   PBSYSADMIN / PBSYSADMIN
   PUBLIC / PUBLIC
Domain Name(s): workshop, portal
Version: 4.4 ECF Build 236
Driver: com.pointbase.jdbc.jdbcUniversalDriver
URL: jdbc:pointbase:server://localhost:9093/workshop
Port: 9093
Users:
   WEBLOGIC / WEBLOGIC
   PBPUBLIC / PBPUBLIC
   PBSYSADMIN / PBSYSADMIN
   PUBLIC / PUBLIC



WebLogic Server - (Examples)

Let's first take a look at the WebLogic Server Examples application. When you start this example, three applications will be activated:

The web browser will be initiated to the start of the WebLogic Server Example application.

Domain Name examples
Directory Location c:\bea\weblogic81\samples\domains\examples
Start the Server startExamplesServer.cmd
Shutdown the Server
%WL_HOME%\common\bin\commEnv.cmd
cd C:\bea\weblogic81\samples\domains\examples
java -cp %WEBLOGIC_CLASSPATH% weblogic.Admin SHUTDOWN examplesServer -url t3://127.0.0.1:7001 -username weblogic -password weblogic
OR
%WL_HOME%\common\bin\commEnv.cmd
cd C:\bea\weblogic81\samples\domains\examples
java -cp %WEBLOGIC_CLASSPATH% weblogic.Admin FORCESHUTDOWN examplesServer -url t3://127.0.0.1:7001 -username weblogic -password weblogic
Servers examplesServer - (Admin Server & Application Server)
Listener Ports 7001 - (Application Port)
7002 - (SSL Port)
Admin Console http://<hostname>:7001/console
Admin Console Login weblogic / weblogic
Enterprise Applications mainWebApp
   - mainWebApp - (WebAppComponent)

examplesWebApp
   - examplesWebApp - (WebAppComponent)

PointBase Database Driver: com.pointbase.jdbc.jdbcUniversalDriver
URL: jdbc:pointbase:server://localhost/demo
Port: 9092
Schema: EXAMPLES / EXAMPLES
Disabling the Start Page To disable the startup page, go to the "Startup & Shutdown" section in the Admin Console. Select "StartBrowser" and under the "Target" tab deselect "examplesServer" from the "Chosen" box by highlighting it and then clicking the left pointing arrow. Be sure to "Apply" your changes.



WebLogic Server - (MedRec)

Now let's take a look at the WebLogic Server MedRec example application. When you start this example, three applications will be activated:

The web browser will be initiated to the start of the WebLogic Server MedRec application.

Domain Name medrec
Directory Location C:\bea\weblogic81\samples\domains\medrec
Start the Server startMedRecServer.cmd
Shutdown the Server
%WL_HOME%\common\bin\commEnv.cmd
cd C:\bea\weblogic81\samples\domains\medrec
java -cp %WEBLOGIC_CLASSPATH% weblogic.Admin SHUTDOWN MedRecServer -url t3://127.0.0.1:7001 -username weblogic -password weblogic
OR
%WL_HOME%\common\bin\commEnv.cmd
cd C:\bea\weblogic81\samples\domains\medrec
java -cp %WEBLOGIC_CLASSPATH% weblogic.Admin FORCESHUTDOWN MedRecServer -url t3://127.0.0.1:7001 -username weblogic -password weblogic
Servers MedRecServer - (Admin Server & Application Server)
Listener Ports 7001 - (Application Port)
7002 - (SSL Port)
Admin Console http://<hostname>:7001/console
Admin Console Login weblogic / weblogic
Enterprise Applications MedRecEAR
   - EntityEJB - (EJBComponent)
   - MdbEJB - (EJBComponent)
   - SessionEJB - (EJBComponent)
   - WebServicesEJB - (EJBComponent)
   - AdminWAR - (WebAppComponent)
   - MainWAR - (WebAppComponent)
   - PatientWAR - (WebAppComponent)
   - WebServicesWAR - (WebAppComponent)

PhysicianEAR
   - PhysicianSessionEJB - (EJBComponent)
   - PhysicianWAR - (WebAppComponent)

StartupEAR
   - startupWebApp - (WebAppComponent)

PointBase Database Driver: com.pointbase.jdbc.jdbcUniversalDriver
URL: jdbc:pointbase:server://localhost/demo
Port: 9092
Schema: MEDREC / MEDREC
Disabling the Start Page To disable the startup page, go to the "Startup & Shutdown" section in the Admin Console. Select "StartBrowser" and under the "Target" tab deselect "MedRecServer" from the "Chosen" box by highlighting it and then clicking the left pointing arrow. Be sure to "Apply" your changes.



WebLogic Workshop - (workshop)

Domain Name workshop
Directory Location C:\bea\weblogic81\samples\domains\workshop
Start the Server startWebLogic.cmd
Shutdown the Server
%WL_HOME%\common\bin\commEnv.cmd
cd C:\bea\weblogic81\samples\domains\workshop
java -cp %WEBLOGIC_CLASSPATH% weblogic.Admin SHUTDOWN cgServer -url t3://127.0.0.1:7001 -username weblogic -password weblogic
OR
%WL_HOME%\common\bin\commEnv.cmd
cd C:\bea\weblogic81\samples\domains\workshop
java -cp %WEBLOGIC_CLASSPATH% weblogic.Admin FORCESHUTDOWN cgServer -url t3://127.0.0.1:7001 -username weblogic -password weblogic
Servers cgServer - (Admin Server & Application Server)
Listener Ports 7001 - (Application Port)
7002 - (SSL Port)
Admin Console http://<hostname>:7001/console
Admin Console Login weblogic / weblogic
Enterprise Applications JWSQueueTransport
   - QueueTransportEJB - (EJBComponent)

certificate
   - certificate - (WebAppComponent)

CreditScoreTopicBean
   - CreditScoreTopicBean - (EJBComponent)

ValidateCreditBean
   - ValidateCreditBean - (EJBComponent)

PointBase Database Schema Driver: com.pointbase.jdbc.jdbcUniversalDriver
URL: jdbc:pointbase:server://localhost:9093/workshop
Port: 9093
Schema: WEBLOGIC / WEBLOGIC
Disabling the Start Page To disable the startup page, go to the "Startup & Shutdown" section in the Admin Console. Select "StartBrowser" and under the "Target" tab deselect "cgServer" from the "Chosen" box by highlighting it and then clicking the left pointing arrow. Be sure to "Apply" your changes.



WebLogic Portal - (portal)

Domain Name portal
Directory Location C:\bea\weblogic81\samples\domains\portal
Start the Server startWebLogic.cmd
Shutdown the Server
%WL_HOME%\common\bin\commEnv.cmd
cd C:\bea\weblogic81\samples\domains\portal
java -cp %WEBLOGIC_CLASSPATH% weblogic.Admin SHUTDOWN portalServer -url t3://127.0.0.1:7001 -username weblogic -password weblogic
OR
%WL_HOME%\common\bin\commEnv.cmd
cd C:\bea\weblogic81\samples\domains\portal
java -cp %WEBLOGIC_CLASSPATH% weblogic.Admin FORCESHUTDOWN portalServer -url t3://127.0.0.1:7001 -username weblogic -password weblogic
Servers portalServer - (Admin Server & Application Server)
Listener Ports 7001 - (Application Port)
7002 - (SSL Port)
Admin Console http://<hostname>:7001/console
Admin Console Login weblogic / weblogic
Enterprise Applications JWSQueueTransport
   - QueueTransportEJB - (EJBComponent)

paymentWSApp
   - payment - (EJBComponent)
   - payws - (WebServiceComponent)

taxWSApp
   - tax - (EJBComponent)
   - taxws - (WebServiceComponent)

portalApp
   - certificate - (WebAppComponent)
   - portalmanager - (EJBComponent)
   - p13n_ejb - (EJBComponent)
   - prefs - (EJBComponent)
   - pipeline - (EJBComponent)
   - wps - (EJBComponent)
   - content - (EJBComponent)
   - contentrepo - (EJBComponent)
   - security_ejb - (EJBComponent)
   - calendar_ejb - (EJBComponent)
   - contact_ejb - (EJBComponent)
   - discussion_ejb - (EJBComponent)
   - todo_ejb - (EJBComponent)
   - uniqueid_ejb - (EJBComponent)
   - portalAppAdmin - (WebAppComponent)
   - portalAppDataSync - (WebAppComponent)
   - defaultWebApp - (WebAppComponent)
   - sampleportal - (WebAppComponent)
   - tutorial - (WebAppComponent)
   - portalAppTool - (WebServiceComponent)

PointBase Database Schema Driver: com.pointbase.jdbc.jdbcUniversalDriver
URL: jdbc:pointbase:server://localhost:9093/workshop
Port: 9093
Schema: WEBLOGIC / WEBLOGIC
Disabling the Start Page To disable the startup page, go to the "Startup & Shutdown" section in the Admin Console. Select "StartBrowser" and under the "Target" tab deselect "portalServer" from the "Chosen" box by highlighting it and then clicking the left pointing arrow. Be sure to "Apply" your changes.



WebLogic Platform - (end2end)

Domain Name end2end
Directory Location C:\bea\weblogic81\samples\domains\end2end
Start the Server startWebLogic.cmd
Shutdown the Server
%WL_HOME%\common\bin\commEnv.cmd
cd C:\bea\weblogic81\samples\domains\end2end
java -cp %WEBLOGIC_CLASSPATH% weblogic.Admin SHUTDOWN end2endServer -url t3://127.0.0.1:7001 -username weblogic -password weblogic
OR
%WL_HOME%\common\bin\commEnv.cmd
cd C:\bea\weblogic81\samples\domains\end2end
java -cp %WEBLOGIC_CLASSPATH% weblogic.Admin FORCESHUTDOWN end2endServer -url t3://127.0.0.1:7001 -username weblogic -password weblogic
Servers end2endServer - (Admin Server & Application Server)
Listener Ports 7001 - (Application Port)
7002 - (SSL Port)
Admin Console http://<hostname>:7001/console
Admin Console Login weblogic / weblogic
Enterprise Applications WLI-AI Design-time
   - WLI-AI Manager EJBs - (EJBComponent)
   - wlai - (WebAppComponent)

JWSQueueTransport
   - QueueTransportEJB - (EJBComponent)

WLI System EJBs
   - WLI Admin - (EJBComponent)
   - WLI Admin Helper - (EJBComponent)
   - Process Tracking - (EJBComponent)
   - Worklist Selection - (EJBComponent)
   - Worklist Persistence - (EJBComponent)
   - Calendar Persistence - (EJBComponent)
   - WLI AI Message Processors - (EJBComponent)
   - WLI AI RAR Upload - (EJBComponent)

WLI Console
   - wliconsole - (WebAppComponent)

Worklist Worker User Interface
   - .workshop/worklist/EJB/ProjectBeans - (EJBComponent)
   - .workshop/worklist/EJB/GenericStateless - (EJBComponent)
   - worklist - (WebAppComponent)

BEA_WLS_DBMS_ADK
   - BEA_WLS_DBMS_ADK_Web - (WebAppComponent)
   - BEA_WLS_DBMS_ADK - (ConnectorComponent)
   - BEA_WLS_DBMS_ADK_LOCALTX - (ConnectorComponent)

e2ePortal
   - .workshop/e2ePortalProject/EJB/OrderRequisitionWebServices_19ipleqjfnzsp - (EJBComponent)
   - .workshop/e2ePortalProject/EJB/WorkflowInvoker_19ipleqjfnzsp - (EJBComponent)
   - .workshop/e2ePortalProject/EJB/TimerControl_-livsjc6qp6ws - (EJBComponent)
   - .workshop/e2ePortalProject/EJB/GenericStateless - (EJBComponent)
   - .workshop/e2ePortalProject/EJB/p13controls_k3cw9vg6497r - (EJBComponent)
   - content.jar - (EJBComponent)
   - content_repo.jar - (EJBComponent)
   - netuix.jar - (EJBComponent)
   - p13n_ejb.jar - (EJBComponent)
   - prefs.jar - (EJBComponent)
   - wps.jar - (EJBComponent)
   - .workshop/e2ePortalProject/EJB/ProjectBeans - (EJBComponent)
   - .workshop/e2ePortalProject/EJB/MDBListener_-1x0154i4jz0he - (EJBComponent)
   - portalAppAdmin - (WebAppComponent)
   - e2ePortalDatasync - (WebAppComponent)
   - e2ePortalProject - (WebAppComponent)
   - e2ePortalTool - (WebServiceComponent)

e2eWorkflow
   - .workshop/e2eWorkflowProject/EJB/WorkflowShipping_jhmkvdzw3gb - (EJBComponent)
   - .workshop/e2eWorkflowProject/EJB/WorkflowBilling_jhmkvdzw3gb - (EJBComponent)
   - .workshop/e2eWorkflowProject/EJB/OrderRequisitionControlWS_jhmkvdzw3gb - (EJBComponent)
   - .workshop/e2eWorkflowProject/EJB/OrderRequisition_jhmkvdzw3gb - (EJBComponent)
   - .workshop/e2eWorkflowProject/EJB/OrderNew_jhmkvdzw3gb - (EJBComponent)
   - .workshop/e2eWorkflowProject/EJB/GenericStateless - (EJBComponent)
   - E2EOrderTrackingEJB.jar - (EJBComponent)
   - e2eWorkflow_AppView1_ApplicationView-ejb.jar - (EJBComponent)
   - .workshop/e2eWorkflowProject/EJB/ProjectBeans - (EJBComponent)
   - e2eWorkflowProject - (WebAppComponent)

PointBase Database Schema Driver: com.pointbase.jdbc.jdbcUniversalDriver
URL: jdbc:pointbase:server://localhost:9093/platform
Port: 9093
Schema: WEBLOGIC / WEBLOGIC
Disabling the Start Page To disable the startup page, go to the "Startup & Shutdown" section in the Admin Console. Select "StartBrowser" and under the "Target" tab deselect "end2endServer" from the "Chosen" box by highlighting it and then clicking the left pointing arrow. Be sure to "Apply" your changes.



WebLogic Integration - ()



Last modified on: Saturday, 18-Sep-2010 18:04:55 EDT
Page Count: 2242