Wednesday, March 8, 2017

Raastech @ GLOC

Going to GLOC in Cleveland this May 17-18? If so, then check out some of the presentations some of our top consultants be giving at the conference!



Title
Provisioning Your First DBaaS Instance with Oracle Database Cloud Service
Description
Moving to the cloud is inevitable, yet many haven’t started getting their hands dirty yet. This presentation will walk you through key Oracle Cloud concepts for those who have never seen or used it before, and walk through provisioning a cloud database, which includes storage and infrastructure. We explain how to access it, and discuss various administration concepts. This presentation is perfect for the Oracle DBA who wants to understand how to get started administering an Oracle DBaaS environment, from a technical perspective.
Date
Thu, May 18, 2017
Time
4:00pm - 5:00pm
Presenter



Title
Getting Started with Oracle BPM Suite Development
Description
Let’s face it. There’s a shortage of Oracle BPM development skills out there. And developing SOA-based integrations is not quite the same as modeling business processes. This presentation is self-explanatory and is geared towards Oracle SOA Suite developers who want to understand key concepts surrounding BPM and how to get started developing your first business process.
Date
Thu, May 18, 2017
Time
8:30am - 9:30am
Presenter



Title
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's Useful
Description
Do we really need virtualization within Oracle WebLogic Server? Last year, I said no. This year, my opinion has changed. I explain domain partitions, how to set it up, and when you'd want have multiple partitions in a single WebLogic domain. I also discuss the App2Cloud utility from Oracle which simplifies the migration of your on-premise WebLogic domain to the Oracle Java Cloud Service (JCS). Attend this presentation and find out what changed my mind.
Date
Thu, May 18, 2017
Time
2:45pm - 3:45pm
Presenter


See you there!

Recap of Oracle Compute Cloud vs. AWS EC2 at NATCAP-OUG

Last night's NATCAP-OUG meetup was attended by around 20 people, and there was a good lively discussion surrounding the Oracle Compute Cloud vs. Amazon Web Services EC2 presentation.


After a brief overview of IaaS and differences between virtualization and cloud computing, Ahmed Aboulnaga dug right in to his live demo of provisioning an Oracle Compute Cloud instance, setting up public/private keys, and installing the General Purpose Desktop to connect through VNC.

A lot of great discussion took place between the presenter, organizers, and the attendees during the presentation. Some mentioned their issues with the UI and support, while others were happy with overall cost and performance. It's this back-and-forth and sharing of experiences that made the event valuable to all.

Many thanks to NATCAP-OUG for organizing this meetup.


Tuesday, March 7, 2017

[Quick Tip] AWS SDK: Get Account Number

I ran into an issue the other day, where I was looking to determine which account I was in on AWS. Since we are primarily trying to work with Javascript on the project. I decided to do this one in Javascript as well.

Code:

var iam = new AWS.IAM();

iam.getUser(null,function(err,data){
    output = data['User'].Arn.match(/arn\:aws\:iam\:\:(\d{12})\:user\/.*/i);
    console.log(output[1]);
});

Obviously you can just log it out, but you can also use it for more practical purposes, such as verifying which account you're in before doing something important. In my case I using for some automated scripts so that they determine what they are going to do based on which account they are using at the time. Preventing certain actions.


References:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/match
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/IAM.html#getUser-property

Monday, March 6, 2017

"Certificates does not conform to algorithm constraints" when starting up Oracle Access Manager 11g

Problem:

While starting up the Oracle Access Manager 11gr2ps3 (OAM 11.1.2.3.0) AdminServer, you may receive continuously repeating errors of the following:
<Feb 8, 2017 3:26:57 AM GMT> <Warning> <Coherence> <BEA-000000> <2017-02-08 03:26:57.537/135.970 Oracle Coherence GE 3.7.1.13 <Warning> (thread=PacketListener1, member=n/a): TcpDatagramSocket{bind=ServerSocket[addr=/192.168.0.10,localport=9001]}, exception regarding peer iamhost1/192.168.0.10:9001, General SSLEngine problem; Certificates does not conform to algorithm constraints>

Solution:

In this case, we had upgraded our JDK version from jdk1.7.0_91 to jdk1.7.0_121, which introduced this error.

1. Restore the previously working JDK version, or consider looking at changing your JDK version.


Applicable Version:
  • Oracle Access Manager (OAM) 11g (11.1.2.3.0)




Sunday, March 5, 2017

Raastech @ NATCAP-OUG

Are you in the Washington DC area? This Tuesday, March 5, Raastech will be giving a presentation comparing the IaaS offerings from Oracle and Amazon, including a live demo!

Check out the NATCAP-OUG website for more details on the event.
Title
Oracle Compute Cloud vs. Amazon Web Services EC2 – A Hands-On Showdown
Description
We walk through the end-to-end process of provisioning an Oracle Compute Cloud instance from scratch – adding storage, defining firewall rules, creating a private key, and connecting through VNC. Then we do the same thing with Amazon Web Services (AWS) EC2. Speed of provisioning is one of the benefits of the cloud, so let’s embark on this live walkthrough together, see how easy it is to get up and running, and compare the IaaS offering from Oracle and Amazon.
Date
Tue, Mar 7, 2017
Time
8:00pm - 9:00pm
Presenter




See you there!

Friday, February 17, 2017

How Oracle Can Win in the Cloud (response)

Sten Vesterli published an interesting post on LinkedIn today about Oracle and the cloud. Namely, does Oracle have what it takes to win in the cloud when they appear to be so far behind the other major players in the market?
I have much respect for Sten and don't disagree with what he stated in his post, but I have a slightly different take on what Oracle can do to win it big.

There's no denying that Oracle has many amazing products that have successfully served enterprise and mission-critical applications exceptionally well. Need a system for your bank? Air traffic control? Stock exchange? Look no further than Oracle software. But Oracle forgot to hop on the cloud bandwagon back in 2008 and have struggled in that space ever since (Read 5 things Larry Ellison actually said about cloud).

How can Oracle get back on track?



1. Offer low-end free trials for 12 months

I don't believe an unlimited free trial is realistic. I do, however, like Amazon's approach of providing an entry-level virtual server for 12 months free of charge. After all, these free environments won't help much in anything beyond a basic website, and even running a small MySQL database will likely be unusable (I speak from experience).

Oracle can easily do something similar for their PaaS and IaaS services. Once your customers take advantage of it without the pressure of a time limit, and once they are dependent on it and you've gained their trust, they'll naturally lock in.

2. Improve the user experience

This is an area I agree with Sten on and won't repeat his thoughts on it. But I'd like to add that though the interfaces are neat, sharp, and clean in many of the Oracle cloud services, I have three issues surrounding (a) consistency of the user interface across many services, (b) responsive of the interface, and (c) dynamicability (is that even a word?) of the user interface.

When I look at a message on the screen that says "Creating site", do I wait until I get a "Site created successfully" message? Or do I have to refresh the screen because I'm not sure if it will dynamically refresh or not? The little refresh icon is useless because it doesn't respond to mouse clicks or show any indication of activity.

3. Open up to small and medium-sized businesses

When a business such as a medical practice wants to host a small application, they don't want to spend $50,000 in yearly licensing fees in addition to ongoing maintenance costs. At most they'll want to fork out no more than $2,000 a year.

In addition, there's an enormous number of individual entrepreneurs who simply go to Amazon because the barrier to entry is extremely low, allowing them to spend a few hundred dollars a year on some idea that may or may not materialize in the end. That's not the case with Oracle.

Oracle needs to drop their prices on lower-end PaaS and IaaS services and expect a flood of smaller players to sign up. They may be the revenue backbone they will rely on for many years to come.

4. Drop your prices

The fact of the matter is that prices must come down. I'm pretty sure the executives behind closed doors are trying to match the revenue they're currently generating from on-premise with that of their cloud equivalent. This is a failed strategy and wreaks old-school mentality. Look no further than what happened to Blockbuster - how 40% of their revenue was generated from late fees, and when the model changed because of Netflix, they refused to adapt. Where are they now? (Hint: Bankrupt.)

Furthermore, the disastrous decision that Oracle made in doubling their licensing fees on Amazon (whether justified or not) is sure to backfire.

5. Get those government certifications

For those outside of the U.S., the federal market here in the United States is extremely huge, and the Oracle Cloud is mostly locked out. Check out this site for current list of FedRAMP compliant cloud systems.

6. Empower your partners with free services

Did you know that the Oracle Java Cloud Service (JCS) requires the Oracle Database Cloud Service whether you need a database or not? Who would have known this? Your partners for one.

Oracle's reliance on their partners is more critical than ever to provide objective, clear recommendations to get their clients educated and up and running. But Oracle charging their partners for their services that's intended to be for education/demo purposes is a cost that most partners are unwilling to consider, especially since it's not a one-time fee, but rather an ongoing cost. The 80% discount, while appreciated, is simply not enough when you still have to pay $4,000 to learn about a service and demo it to a client.

7. Introduce true self-service

To this date, it's not possible to sign up on my own and enter my own credit card information. Oracle still sends out paper invoices for their cloud bills. Though self-service will hurt a lot of resellers, the fact is that the reselling market will simply have to die. Offering automated credit card billing further encourages the small to medium-sized business adopters as well.

8. Reduce the confusion surrounding 'My Account' and 'My Services' and 'Oracle Account'

I've been using various Oracle Cloud services for over a year and a half, and even though the same email address is used to sign on these various pages, they apparently maintain different passwords across identity domains. I'm still unclear about the relationship between these supposedly identical Oracle accounts, if there's any at all.

9. Share true cost

People are not stupid, at least not in the IT field.

In the last Oracle OpenWorld 2016, I attended an excellent presentation titled Soaring through the Clouds – Live Demo on How to Integrate Ten Different Oracle Public PaaS Services, presented by various Oracle ACE Directors. The question that couldn't escape my mind was, "I wonder how much all this would cost?" Because knowing Oracle, going live with a simple use case spanning 10 Oracle Cloud services will likely be too cost prohibitive.

I've given this presentation a few times, and will also be giving it again at the upcoming Collaborate 17 conference in Las Vegas, and in it I mention why it made sense for our company to migrate from Amazon Web Services EC2 to Oracle Compute Cloud Service. One of the big reasons? Cost.

When people see real, actual numbers coupled with a positive experience, it carries a lot of weight.

10. Publish OBEs on YouTube

Oracle by Example was/is an excellent resource from Oracle, walking through every step in detail to achieve a certain task and is a great learning tool. Do you know how I learned about Oracle WebLogic Server multitenancy? From this excellent YouTube video by Steve Button, WebLogic Server Product Manager, who walked through the conversion of domains to partitions. It was perfect! I simply sped up the video to 2x and knew everything I needed to in 6 minutes. Now I'm talking about WebLogic multitenancy at the upcoming GaOUG TechDays 17 conference!

I can tell you from first hand experience that most professionals are intimidated getting started in the Oracle cloud because they don't know where to start. I believe that most PaaS and IaaS cloud services need at least 2 to 3 short OBE videos on YouTube for the first timers. One to demonstrate the sign-up and provisioning process, one to explain startup, shutdown, and connectivity, and one to develop or create a simple component using that service.




Conclusion

If Oracle's technologies were bad, I would stand up here and tell you that they simply have no future in the cloud. But that's not the case. Many, though not all, of the Oracle Cloud services are excellent with standout technologies powering them under the covers, but in my opinion it's their customer adoption strategy, cost, and licensing decisions that is unfortunately turning away folks.





Thursday, February 16, 2017

Locked out of Jenkins? Don't worry.

You just setup a new Jenkins box, and you're trying to setup security, but somehow you end up with this screen:

User is missing the Overall/Read permission



All you need to do is go to $JENKINS_HOME/config.xml
?xml version='1.0' encoding='UTF-8'?>
<hudson>
  <disabledAdministrativeMonitors/>
  <version>2.45</version>
  <numExecutors>4</numExecutors>
  <mode>NORMAL</mode>
  <useSecurity>true</useSecurity>
  <authorizationStrategy class="hudson.security.AuthorizationStrategy$Unsecured"/>
  <securityRealm class="hudson.security.HudsonPrivateSecurityRealm">
    <disableSignup>true</disableSignup>
    <enableCaptcha>false</enableCaptcha>
  </securityRealm>

And change <useSecurity> to false. Then restart the jenkins process to pickup the change.

Now get back in there and configure it correctly!

Tuesday, February 14, 2017

Installing the "General Purpose Desktop" on a Linux cloud instance for desktop access through VNC

Want to connect via VNC to your newly created Oracle Compute Cloud instance?

1. Make sure to install the necessary packages:
yum -y groupinstall "Desktop"
yum -y groupinstall "General Purpose Desktop"
yum -y install tigervnc-server
yum -y install firefox
yum -y install xclock
2. Startup the VNC server:
vncserver :1 -geometry 1440x900 -depth 16
3. Connect with a client, such as TightVNC.

4. Shutdown the VNC server when done:
vncserver -kill :1




Raastech @ GaOUG Tech Days 17

Going to GaOUG Tech Days 17 in Atlanta this March 15-16? If so, then check out some of the presentations some of our top consultants be giving at the conference!
Session
6
Title
Getting Started with Security for your Oracle SOA Suite Integrations
Description
With the boom in cloud services that many companies are currently leveraging, integration between them is becoming more and more important. It is not unusual for an organization to have a combination of on-premise and cloud applications, all talking to each other. For SOA-based integrations, security becomes more critical than ever. This presentation is a technical deep-dive on how to secure your integrations via WS-Security and Oracle Web Services Manager (OWSM) for both inbound and outbound integrations. We discuss authentication, message encryption, two-way SSL certificates, and more. A brief mention on Oracle API Manager is provided as well.
Date
Thu, Mar 16, 2017
Time
11:30am - 12:20pm
Location
Amphitheater
Presenter
Michael Mikhailidi



Session
8
Title
Scaling Out Oracle WebLogic Server
Description
Most administrators have already set up a clustered Oracle WebLogic Server installation, primarily to ensure high availability. But performance is generally unknown until production metrics have started trickling in. What are the options available to scale out? Horizontally? Vertically? To the cloud? This presentation walks through various options; scaling out the traditional way, leveraging WebLogic domain partitions, and extending to the cloud via the Oracle Java Cloud Service (JCS). Understanding the options available to you helps you better prepare for future scale outs.
Date
Thu, Mar 16, 2017
Time
3:00pm - 3:50pm
Location
Ann Cramer
Presenter
Ahmed Aboulnaga
Michael Mikhailidi


See you there!




Thursday, February 9, 2017

Understanding the unique ID in the WebLogic Server JCA adapter plan files

Have you ever wondered where Oracle WebLogic Server gets the strange unique ID you see in the JCA adapter plan files?

<?xml version='1.0' encoding='UTF-8'?>
<deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd" global-variables="false">
  <application-name>FtpAdapter</application-name>
  <variable-definition>
    <variable>
      <name>ConfigProperty_ControlDir_Value_14745947429170</name>
      <value>/u01/fmw1221/user_projects/apps/soa_domain/fadapter</value>
    </variable>
    <variable>
      <name>PoolParams_ConnectionCreationRetryFrequencySeconds_14865793562922</name>
      <value>60</value>
    </variable>
    .
    .
    .

The number is "epoch time" plus "sequential ID".

To get the epoch time on a unix server:

oracle@soahost1:/home/oracle> date +%s
1486588928

The sequential ID is the 4 digit number following it.



Applicable Versions:
  • Oracle WebLogic Server 11g
  • Oracle WebLogic Server 12c



Wednesday, February 8, 2017

Create an Oracle OSB Deploy Client (for 12cR2)

Are you trying to import an OSB project to a remote Oracle OSB 12c environment? The annoying part is that you have to have a full blown local copy of JDeveloper or OSB to do so.

These commands bring down the minimum 2.2GB to a workable 60MB of necessary JARs to allow you to do core OSB import and delete tasks.

--

These commands copy files from your local OSB 12.2.1 installation in $SOURCE to a $TARGET location which will be used as the middleware home for your deployments.

#----------------------------------------
# Extract only necessary JARs for SOA import/delete
#----------------------------------------
export SOURCE=/u01/app/oracle/middleware/products/fmw1221
export TARGET=/u02/osbdeploy/middleware
mkdir -p $TARGET/osb/tools/configjar
mkdir -p $TARGET/osb/lib/modules
mkdir -p $TARGET/oracle_common/common/bin
mkdir -p $TARGET/oracle_common/modules
mkdir -p $TARGET/wlserver/modules/features
mkdir -p $TARGET/wlserver/server/lib
mkdir -p $TARGET/coherence/lib
cp $SOURCE/osb/tools/configjar/wlst.sh $TARGET/osb/tools/configjar
cp $SOURCE/osb/lib/modules/oracle.servicebus.kernel-api.jar $TARGET/osb/lib/modules
cp $SOURCE/osb/lib/modules/oracle.servicebus.kernel-wls.jar $TARGET/osb/lib/modules
cp $SOURCE/osb/lib/modules/oracle.servicebus.configfwk.jar $TARGET/osb/lib/modules
cp $SOURCE/oracle_common/common/bin/wlst.sh $TARGET/oracle_common/common/bin
cp $SOURCE/oracle_common/common/bin/setHomeDirs.sh $TARGET/oracle_common/common/bin
cp $SOURCE/oracle_common/common/bin/commBaseEnv.sh $TARGET/oracle_common/common/bin
cp $SOURCE/oracle_common/modules/com.oracle.cie.config-security_8.4.0.0.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/org.glassfish.hk2.hk2-api.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/com.oracle.cie.dependency_1.7.0.0.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/com.oracle.cie.wizard_7.7.0.0.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/org.glassfish.hk2.hk2-locator.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/com.oracle.cie.config-wls_8.4.0.0.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/com.oracle.cie.config-wls-external_8.4.0.0.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/com.bea.core.utils.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/com.bea.core.i18n.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/com.oracle.cie.config-wls-schema_8.4.0.0.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/com.oracle.cie.config-external_8.4.0.0.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/com.oracle.cie.service-table_1.4.0.0.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/com.oracle.cie.comdev_7.7.0.0.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/com.oracle.cie.config-owsm_8.4.0.0.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/org.glassfish.hk2.hk2-utils.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/javax.inject.javax.inject.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/com.oracle.cie.config_8.4.0.0.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/com.oracle.glcm.common-logging_1.5.0.0.jar $TARGET/oracle_common/modules
cp $SOURCE/oracle_common/modules/com.oracle.glcm.encryption_2.6.0.0.jar $TARGET/oracle_common/modules
cp $SOURCE/wlserver/modules/com.bea.core.management.jmx.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.security.encryption.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.server.stubs.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.store.admintool.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.diagnostics.accessor.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.weblogic.rmi.client.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.cluster.api.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.management.mbeanservers.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.descriptor.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.management.core.api.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.jndi.api.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.net.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.transaction.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.beangen.general.api.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.management.context.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.store.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.security.service.ffimpl.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.rmi.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.diagnostics.accessor.runtime.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.iiop-common.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.xml.beaxmlbeans.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.workarea.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.kernel.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.management.config.api.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.common.frag.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.utils.full.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.utils.classloaders.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.weblogic.security.ssl.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.management.jmx.api.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.common.internal.frag.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.core.nodemanager.client.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.timers.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.mbean.maker.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.management.base.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.weblogic.lifecycle.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.jndi.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.store.gxa.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.weblogic.security.digest.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.security.service.engapi.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.management.remote.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.management.core.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.core.base.api.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.iiop.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.security.service.sspi.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.security.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.security.service.ffapi.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.management.scripting.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.management.beanimpls.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.xml.xmlbeans.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.store.admintool-core.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.deploy.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.management.admin.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.weblogic.socket.api.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.core.nodemanager.common.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/javax.transaction.javax.transaction-api.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.weblogic.workmanager.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.internal.thirdparty.jython.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.management.config.validators.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.package.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.logging.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.security.service.cssapi.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/features/wlst.wls.classpath.jar $TARGET/wlserver/modules/features
cp $SOURCE/wlserver/modules/com.oracle.weblogic.lifecycle.provisioning.wlst.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.security.crypto.utils.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.logging.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.deploy.beanapi.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.diagnostics.core.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/javax.enterprise.deploy.deployment-api.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.utils.wrapper.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.jsr166e.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.bea.core.logging.debug.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/javax.security.jacc.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.management.security.api.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/modules/com.oracle.weblogic.security.subject.jar $TARGET/wlserver/modules
cp $SOURCE/wlserver/server/lib/weblogic.jar $TARGET/wlserver/server/lib
cp $SOURCE/coherence/lib/coherence.jar $TARGET/coherence/lib

Now that that's done, you simply now need to set your environment and point to the local copy of the minimal middleware home:

#----------------------------------------
# Files needed (contact Raastech for copy)
#----------------------------------------
# customize.xml
# envcode.properties
# osb_delete.py
# osb_import.py

#----------------------------------------
# Set Environment
#----------------------------------------
export DEPLOY_PATH=/u02/osbdeploy
export MW_HOME=/u02/osbdeploy/middleware
export OSB_HOME=$MW_HOME/osb
export CLASSPATH=""
export CLASSPATH=$OSB_HOME/lib/modules/oracle.servicebus.kernel-wls.jar:$CLASSPATH
export CLASSPATH=$MW_HOME/wlserver/modules/com.bea.core.utils.full.jar:$CLASSPATH
export CLASSPATH=$MW_HOME/wlserver/server/lib/weblogic.jar:$CLASSPATH
export CLASSPATH=$OSB_HOME/lib/modules/oracle.servicebus.kernel-api.jar:$CLASSPATH
export CLASSPATH=$OSB_HOME/lib/modules/oracle.servicebus.configfwk.jar:$CLASSPATH
# OSB 11g classpath
# export CLASSPATH=""
# export CLASSPATH=$MW_HOME/wlserver_10.3/server/lib/weblogic.jar:$CLASSPATH
# export CLASSPATH=$MW_HOME/Oracle_OSB1/lib/sb-kernel-impl.jar:$CLASSPATH
# export CLASSPATH=$MW_HOME/Oracle_OSB1/lib/sb-kernel-api.jar:$CLASSPATH
# export CLASSPATH=$MW_HOME/Oracle_OSB1/modules/com.bea.common.configfwk_1.9.0.0.jar:$CLASSPATH
# export CLASSPATH=$MW_HOME/modules/com.bea.core.utils.full_1.10.0.0.jar:$CLASSPATH

#----------------------------------------
# OSB Project Settings
#----------------------------------------
export CODE_PATH=/u02/osbdeploy/code
export CODE_PROJECT=HelloWorldOSB

#----------------------------------------
# OSB Import Command
#----------------------------------------
$MW_HOME/osb/tools/configjar/wlst.sh $DEPLOY_PATH/osb_import.py $DEPLOY_PATH/envcode.properties

#----------------------------------------
# OSB Delete Command
#----------------------------------------
$MW_HOME/osb/tools/configjar/wlst.sh $DEPLOY_PATH/osb_delete.py $DEPLOY_PATH/envcode.properties



Applicable Versions:
    • Oracle Service Bus 12c (12.2.1.x)