Tuesday, April 30, 2013

Thread Dump on Stuck thread with Diagnostic Image

See also https://blogs.oracle.com/jamesbayer/entry/weblogic_notifications_watch_t
See also http://docs.oracle.com/cd/E21764_01/web.1111/e13714/config_diag_images.htm

connect('weblogic', 'weblogic1', 't3://myserver.acme.com:7001')

edit()
startEdit()
#untarget existing default module
cd('/SystemResources/Module-FMWDFW')
set('Targets',jarray.array([], ObjectName))


theMailSessionName='MailSessionAdmin'
cd('/')
myMbean = getMBean('/MailSessions/' + theMailSessionName)
if (myMbean == None):
    print "createMailSession", theMailSessionName
    cmo.createMailSession(theMailSessionName)
    cd('/MailSessions/MailSessionAdmin')
    cmo.setJNDIName('MailSessionAdmin')
    prop = Properties()
    prop.setProperty('mail.smtp.host', 'smtp.acme.com')
    cmo.setProperties(prop)
    set('Targets',jarray.array([ObjectName('com.bea:Name=osbpl1as,Type=Server'), ObjectName('com.bea:Name=osbpl1cl,Type=Cluster')], ObjectName))
else:
    print "mailSession", theMailSessionName, "already exists"
    
#create custom module
cd('/')
cmo.createWLDFSystemResource('stuckthreadsmodule')

cd('/SystemResources/stuckthreadsmodule')
cmo.setDescription('create a diagnostic image whenever the server is in warning')

#create image notification
cd('/WLDFSystemResources/stuckthreadsmodule/WLDFResource/stuckthreadsmodule/WatchNotification/stuckthreadsmodule')
cmo.createImageNotification('stuckthreaddiagnosticmodule')
cd('/WLDFSystemResources/stuckthreadsmodule/WLDFResource/stuckthreadsmodule/WatchNotification/stuckthreadsmodule/ImageNotifications/stuckthreaddiagnosticmodule')
cmo.setEnabled(true)
cmo.setImageDirectory('logs/diagnostic_images')
cmo.setImageLockout(10)

#create email notification
cd('/WLDFSystemResources/stuckthreadsmodule/WLDFResource/stuckthreadsmodule/WatchNotification/stuckthreadsmodule')
cmo.createSMTPNotification('stuckthreadnotificationemail')

cd('/WLDFSystemResources/stuckthreadsmodule/WLDFResource/stuckthreadsmodule/WatchNotification/stuckthreadsmodule/SMTPNotifications/stuckthreadnotificationemail')
cmo.setEnabled(true)
cmo.setMailSessionJNDIName('MailSessionAdmin')
set('Recipients',jarray.array([String('pierluigi.vernetto@acme.com')], String))
cmo.setSubject(None)
cmo.setBody(None)

#create a watch
cd('/WLDFSystemResources/stuckthreadsmodule/WLDFResource/stuckthreadsmodule/WatchNotification/stuckthreadsmodule')
cmo.createWatch('stuckthreadwatch')

#configure watch rule
cd('/WLDFSystemResources/stuckthreadsmodule/WLDFResource/stuckthreadsmodule/WatchNotification/stuckthreadsmodule/Watches/stuckthreadwatch')
cmo.setRuleType('Log')
cmo.setEnabled(true)
cmo.setRuleExpression('(SEVERITY = \'Error\') AND ((MSGID = \'WL-000337\') OR (MSGID = \'BEA-000337\'))')
cmo.setAlarmType('AutomaticReset')
cmo.setAlarmResetPeriod(60000)

#assign notifications to watch
cd('/WLDFSystemResources/stuckthreadsmodule/WLDFResource/stuckthreadsmodule/WatchNotification/stuckthreadsmodule/Watches/stuckthreadwatch')
set('Notifications',jarray.array([ObjectName('com.bea:Name=stuckthreaddiagnosticmodule,Type=weblogic.diagnostics.descriptor.WLDFImageNotificationBean,Parent=[osbpl1do]/WLDFSystemResources[stuckthreadsmodule],Path=WLDFResource[stuckthreadsmodule]/WatchNotification[stuckthreadsmodule]/ImageNotifications[stuckthreaddiagnosticmodule]'), ObjectName('com.bea:Name=stuckthreadnotificationemail,Type=weblogic.diagnostics.descriptor.WLDFSMTPNotificationBean,Parent=[osbpl1do]/WLDFSystemResources[stuckthreadsmodule],Path=WLDFResource[stuckthreadsmodule]/WatchNotification[stuckthreadsmodule]/SMTPNotifications[stuckthreadnotificationemail]')], ObjectName))

cd('/SystemResources/stuckthreadsmodule')
set('Targets',jarray.array([ObjectName('com.bea:Name=osbpl1cl,Type=Cluster')], ObjectName))

validate()
save()
activate()




This will create:- a mail session "MailSessionAdmin"
- a diagnostic module "stuckthreadsmodule"
- inside it, a watch stuckthreadwatch
- the watch will use 2 notifications, stuckthreaddiagnosticmodule and stuckthreadnotificationemail




How to test:

mkdir -p /opt/oracle/apps/wlstuck/WEB-INF

make a small index.jsp

<% Thread.sleep(660000); %> and a web.xml
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<display-name>wlstuck</display-name>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
</web-app>


"Health Check Interval" (Configuration/Health Monitoring) defines how often the server checks its health.

"Stuck Thread Max Time" (Configuration/Tuning) defines how many seconds to wait before flagging the thread as stuck.

You sohuld get an email when the stuck thread makes the server go in WARNING state:
WatchTime: Apr 24, 2013 6:29:13 PM CEST 
WatchDomainName: osbpl1do 
WatchServerName: osbpl1ms1 
WatchSeverityLevel: Notice 
WatchName: stuckthreadwatch 
WatchRuleType: Harvester 
WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-000337') OR (MSGID = 'BEA-000337'))
WatchData: com.bea:Name=osbpl1ms1,Type=ServerRuntime//State = RUNNING  
WatchAlarmType: AutomaticReset 
WatchAlarmResetPeriod: 60000 
SMTPNotificationName: stuckthreadnotificationemail 








Monday, April 29, 2013

Statement Timeout on a datasource

If your DB takes too long to return data from a JDBC call, you might have STUCK threads.

Using DBMS_LOCK.sleep(seconds => 20); in a stored procedure I have simulated the behaviour of a SLOW DB.

I set a Statement Timeout value of 15 seconds on the Datasource.

value = 15 
cd('/JDBCSystemResources/' + dsName + '/JDBCResource/' + dsName + '/JDBCConnectionPoolParams/' + dsName)
cmo.setStatementTimeout(int(value))

(value is in SECONDS, not in MILLISECONDS)

After 15 seconds I get:

java.sql.SQLTimeoutException: ORA-01013: user requested cancel of current operation
ORA-06512: at "SYS.DBMS_LOCK", line 205
ORA-06512: at "DEV1_SOAINFRA.PRC_PROCESS", line 17
ORA-06512: at line 1

 at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
 at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
 at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
 at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
 at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
 at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
 at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:213)
 at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1075)
 at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
 at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
 at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
 at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:9259)
 at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
 at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:99)
 at oracle.tip.adapter.db.sp.AbstractStoredProcedure.execute(AbstractStoredProcedure.java:123)


In alternative, you might also get a java.sql.SQLTimeoutException: ORA-03111: break received on communication channel

I have also added oracle.net.CONNECT_TIMEOUT=10000 to the Properties of the datasource, and the timeout still occurs at 15 seconds.

I recommend applying also this parameter, useful in case the DB listener is unresponsive.

In fact, setting the Statement Timeout is equivalent to https://docs.oracle.com/javase/7/docs/api/java/sql/Statement.html#setQueryTimeout(int) , which allows you to create only 1 Datasource and programmatically set the timeout on a per-query basis:

"Limiting Statement Processing Time with Statement Timeout With the Statement Timeout option on a JDBC data source, you can limit the amount of time that a statement takes to execute on a database connection reserved from the data source. When you set a value for Statement Timeout, WebLogic Server passes the time specified to the JDBC driver using the java.sql.Statement.setQueryTimeout() method. If your JDBC driver does not support this method, it may throw an exception and the timeout value is ignored. When Statement Timeout is set to -1, (the default) statements do not timeout. See the JDBC Data Source: Configuration: Connection Pool page in the Administration Console or see “ JDBCConnectionPoolParamsBean” in the WebLogic Server MBean Reference for more details about this option.



Sunday, April 28, 2013

VirtualBox high (50%) CPU on Windows 7

THIS DOESN'T WORK FOR ME: Select the 2 VirtualBox processes in task manager, set affinity, and leave only CPU0 checked.
THIS DOESN'T WORK FOR ME: : Settings / System / Acceleration / disable "Enable Nested Paging"
The only thing which works here is running 2 Virtual boxes at the same time. Weird.

here lots of tips.
I can't believe such a common major issue still goes on for several years, release after release. I am very unimpressed.



First impressions on Puppet

More often, the first impression you have of someone is the right one.

I like Puppet. Allow me to draw a parallel between Puppet - declarative language to build infrastructure - and Maven - declarative language to build software.

Well, structurally Puppet is MUCH more likeable than Maven, because unlike Maven - big garble of cacovisual XML - it's well structured an modular, and it's based on a true DSL and programming language.

However some strong perplexity:

Why Ruby? First, Ruby is a niche language used mainly by Web Developers. And it's not even the most popular, PHP wins by 7 to 1 https://www.udemy.com/blog/modern-language-wars/

Has Puppet/Ruby a strong support for Object Oriented modelling ? Not really: it uses "class" in a sense which is more like a "macro" definition - you can't extend nor encapsulate, you don't have a Constructor....

Has Puppet/Ruby a strong type checking mechanism, and a sound variable declaration check? No way, developing Puppet modules leaves a lot to the eyes of the developer to check if variables are not misspelled, and even using Geppetto as a IDE still leaves you with a lot of responsibility.

Does Geppetto/Ruby/Puppet support refactoring patterns? Not really, you must do a lot manually.

Probably more to come.

So, one more I have the sensation that Puppet is a great idea, developed probably by some smart guy in a garage, and then by a twist of good luck it became mainstream (this is one of those phenomena like JUnit Maven and Ant, who started as poorly designed hacks to solve one issue and then became extremely popular just for lack of a better free alternative).

But it's far from being a thoroughly designed, omni comprehensive, rock-solid tool.



However, again, I have full sympathy and I am tremendously enjoying learning it. If I compare this feeling with the first sight visceral hatred I had for Maven, we are on a good path.

Anyway.... RUBY SUCKS



Saturday, April 27, 2013

400 ppm CO2 ! It's runaway climate change, baby

http://keelingcurve.ucsd.edu/

In a few days we shall hit the 400 ppm (part per million) of CO2 in the atmosphere.

Not that I ever had the illusion that the human race, led by a mob of financial gangsters and military rapists, would have ever cared about the future generations.

Still it's worth being astonished at the pace at which we are fucking this planet.

Please watch directly on youtube, embedding is disabled: http://www.youtube.com/watch?feature=player_detailpage&v=yYHEygjMi1k



Accessing your VirtualBox from putty

This video shows how



in a nutshell, don't use the default NAT network configuration, but rather the Bridged Adapter:





Friday, April 26, 2013

ORA-12705: Cannot access NLS data files or invalid environment specified

I was trying to use TOAD to connect to Oracle DB. Normally I use SQLDeveloper. I understand TOAD is more powerful, but I don't like its UI and I have only the FREE version.
Here it suggests to run regedit and rename NLS_LANG into NLS_LANG_X under any occurrence of the key in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE. I found several occurrences and replaced them all.

It didn't work.


Then I tried changing the Oracle Installed Client to XE and it worked

See also http://www.dba-oracle.com/t_ora_12705_resolution.htm
All this royally sucks. Meaningless error message without any context information.
Anyway I wanted to run TOAD for the "data compare" diff utility between 2 schemas, but it's available only in the commercial version.


Wednesday, April 24, 2013

weblogic.management.provider.EditFailedException: Can not undo unactivated changes while an activate changes operation is still in progress

I was desperately trying to activate some changes, and it keeps failing. Then I undo the changes, and I get this:

"weblogic.management.provider.EditFailedException: Can not undo unactivated changes while an activate changes operation is still in progress"

Workaround:

cd /opt/oracle/domains/osbpl1do/pending
rm -rf *

and restart all. That should clean up the mess.



weblogic change admin port number

change these files:

$DOMAIN_HOME/bin/stopWebLogic.sh
$DOMAIN_HOME/bin/stopManagedWebLogic.sh
$DOMAIN_HOME/bin/startManagedWebLogic.sh
$DOMAIN_HOME/config/backup_config1.xml
$DOMAIN_HOME/config/backup_config.xml
$DOMAIN_HOME/config/fmwconfig/servers/osbpl1as/applications/em/META-INF/emoms.properties.jmxori
$DOMAIN_HOME/config/fmwconfig/servers/osbpl1as/applications/em/META-INF/emoms.properties
$DOMAIN_HOME/config/config.xml
$DOMAIN_HOME/init-info/startscript.xml
$DOMAIN_HOME/init-info/tokenValue.properties
$DOMAIN_HOME/servers/domain_bak/config_prev/config.xml
$DOMAIN_HOME/servers/osbpl1ms1/data/nodemanager/startup.properties
$DOMAIN_HOME/servers/osbpl1ms2/data/nodemanager/startup.properties
$DOMAIN_HOME/servers/osbpl1as/data/nodemanager/osbpl1as.url
$DOMAIN_HOME/servers/osbpl1as/data/ldap/conf/replicas.prop
$DOMAIN_HOME/sysman/state/targets.xml


and also:

rm -rf $DOMAIN_HOME/servers/osbpl1as/tmp/
rm $DOMAIN_HOME/servers/osbpl1as/data/store/default/_WLS_OSBPL1AS000000.DAT
MAYBE it works by simply change a couple of shell scripts and "Listen Port:" in the console. Surely updating the "Listen Port" with the console doesn't update the start and stop scripts.

My idea is that, to be on the safe side, one had better recreate the domain.

Surely, changing managed server port is easier.



virtualbox hanging at "net registered protocol family 2"

I was trying to start the "learning puppet virtual box" on Windows 7...and it was hanging at "net registered protocol family 2".

Enabling IO APIC fixed the issue:



this is explained also here: http://docs.puppetlabs.com/learning/index.html

in Linux , "Log in as root, with the password puppet."
In the Puppet Enterprise web console, "Log in as puppet@example.com, with the password learningpuppet"

Tuesday, April 23, 2013

Graceful shutdown with timeout vs force shutdown

http://docs.oracle.com/cd/E25054_01/web.1111/e13708/server_life.htm

Graceful Shutdown

The Graceful Shutdown command transitions a server instance from the RUNNING state to the SHUTDOWN state, allowing work in process to be handled gracefully, with this sequence of state transitions:

RUNNING > SUSPENDING > ADMIN > SHUTTING_DOWN > SHUTDOWN


Force Shutdown

The Force Shutdown command transitions a server instance from the any state to the SHUTDOWN state, without allowing work in process to be handled gracefully. When run for a server instance in the RUNNING state, the Force Shutdown command results in these state transitions:

RUNNING > FORCE_SUSPENDING > ADMIN > STANDBY > SHUTDOWN


If you specify a "Graceful Shutdown Timeout" (value is in seconds), you can transform a Graceful Shutdown into a Force Shutdown if the shutdown is impeded by some funny causes. I think this is the safest option: set 120 so as to allow 2 minutes for all work to be completed, then shutdown.

connect('weblogic', 'weblogic1', 't3://myserver.acme.com:7001')
edit()
startEdit()
cd('/')
serverList=cmo.getServers()
for server in serverList:
    name=server.getName()
    cd('/Servers/' + name)
    cmo.setGracefulShutdownTimeout(120)
save()
activate()



download java 6 update 33

It took me some googling to find out where to download an older version of Java: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html .

Well hidden, indeed.

Oracle DB schema/data compare tools

http://www.impacttoys.com/screen_shots.htm pretty good but doesn't compare data

This one seems really cool, but quite expensive:
http://www.red-gate.com/products/oracle-development/data-compare-for-oracle/
For free you get this http://dbdiff-for-oracle.en.softonic.com/, but download doesn't work here.
more links here http://stackoverflow.com/questions/510813/is-there-a-tool-to-db-diff-on-data-for-an-oracle-database

Monday, April 22, 2013

Install Oracle OSB 11gR1 (11.1.1.7.0) on Amazon Linux

courtesy of aestas.it Install Java 7

more info here https://gist.github.com/tankchintan/1335220

wget http://download.oracle.com/otn-pub/java/jdk/7u21-b11/jdk-7u21-linux-x64.rpm

sudo rpm -i jdk-7u21-linux-x64.rpm

# Check if the default java version is set to sun jdk

java -version

# If not then lets create one more alternative for Java for Sun JDK
sudo /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.7.0_21/bin/java 20000

# Set the SUN JDK as the default java
sudo /usr/sbin/alternatives --config java

# Verify if change in SDK was done.
java -version

Install Weblogic 10.3.6
Download the 64 bit version from this url:
http://download.oracle.com/otn/nt/middleware/11g/wls/1036/wls1036_generic.jar

Create a “silent installation” file with this content:

<?xml version="1.0" encoding="UTF-8"?>

<bea-installer>

<input-fields>

<data-value name="BEAHOME" value="/opt3/oracle/fmw11_1_1_5" />

<data-value name="WLS_INSTALL_DIR" value="/opt3/oracle/fmw11_1_1_5/wlserver_10.3"

/>

<data-value name="COMPONENT_PATHS"

ation Console|WebLogic Server/Configuration Wizard and Upgrade Framework|WebLogic Ser

ver/Web 2.0 HTTP Pub-Sub Server|WebLogic Server/WebLogic JDBC Drivers|WebLogic Server

/Third Party JDBC Drivers|WebLogic Server/WebLogic Server Clients|WebLogic Server/Web

Logic Web Server Plugins|WebLogic Server/UDDI and Xquery Support|Oracle Coherence/Coh

erence Product Files|Oracle Coherence/Coherence Examples"/>

value="WebLogic Server/Core Application Server|WebLogic Server/Administr

<data-value name="NODEMGR_PORT" value="5558" />

<data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="no"/>

<data-value name="LOCAL_JVMS" value="/usr/java/jdk1.7.0_21/"/>

</input-fields>

</bea-installer>



Run the following command:
sudo java -jar wls1036_generic.jar -mode=silent -silent_xml=wls_silent.xml

Install OSB 11.1.1.7.0
mkdir osb
mv ofm_osb_generic_11.1.1.7.0_disk1_1of1.zip osb
cd osb
unzip ofm_osb_generic_11.1.1.7.0_disk1_1of1.zip
# add a oinstall group
sudo groupadd oinstall
# add the ec2-user to that group
sudo usermod -a -G oinstall ec2-user
Log out and log back in to make the group addition effective.
# Make Oracle Home writable by oinstall group
sudo chown -R :oinstall /opt3/oracle/
sudo chmod -R g+rwxs /opt3/oracle/fmw11_1_1_5/
sudo osb/Disk1/stage/Response/createCentralInventory.sh /opt3/oracle/oraInventory oinstall
Create a “response” file in the ‘sob’ folder named custom_installtype_osb11.1.1.7.rsp with the following content:

[ENGINE]

#DO NOT CHANGE THIS.

Response File Version=1.0.0.0.0

[GENERIC]

#Set this to true if you wish to specify a directory where latest updates are downloaded. This option would use the software updates from the specified directory

SPECIFY_DOWNLOAD_LOCATION=false

#

SKIP_SOFTWARE_UPDATES=true

#If the Software updates are already downloaded and available on your local system, then specify the path to the directory where these patches are available and set SPECIFY_DOWNLOAD_LOCATION to true

SOFTWARE_UPDATES_DOWNLOAD_LOCATION=

#Write the name of the Oracle Home directory. The Oracle Home directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character.

#ORACLE_HOME=/app3/oracle/product/osb/Oracle_OSB1

ORACLE_HOME=/opt3/oracle/fmw11_1_1_5/osb

#Write the complete path to a valid Middleware Home.

MIDDLEWARE_HOME=/opt3/oracle/fmw11_1_1_5

#Set this to true if typical installation must be done. If this is set to true then wariable "CUSTOM TYPE" must be set to false as the variables are mutually exclusive

TYPICAL TYPE=false

#Set this to true if custom installation must be done, all other required variables need to be provided. If this is set to true then variable "TYPICAL TYPE" must be set to false as the variables are mutually exclusive.

CUSTOM TYPE=true

#Set this to true if component Oracle Service Bus Examples must be installed. This input will be needed only in the case of custom installation

Oracle Service Bus Examples=false

#Set this to true if component Oracle Service Bus IDE must be installed. This input will be needed only in the case of custom installation

Oracle Service Bus IDE=false

#Give the complete path to a valid WebLogic Server Home for the corresponding Middleware Home entered.

#WL_HOME=/u01/app/oracle/product/osb/wlserver_10.3

WL_HOME=/opt3/oracle/fmw11_1_1_5/wlserver_10.3

#Give the complete path to a valid OEPE Home for the corresponding Middleware Home entered. This input will be needed in both typical and custom installations. But in case of custom installation, Oracle Service Bus IDE must be set to true.

OEPE_HOME=

[SYSTEM]

[APPLICATIONS]

[RELATIONSHIPS]

Run the following command.
osb/Disk1/runInstaller -silent -responseFile /home/ec2-user/osb/custom_installtype_osb11.1.1.7.rsp -jreLoc /usr/java/jdk1.7.0_21/jre/
If the installer complains about swap space, run the following commands to increase the swap:
sudo dd if=/dev/zero of=/swapfile bs=1M count=520

sudo mkswap /swapfile

sudo swapon /swapfile
or run the installer with the -ignoreSysPrereqs option.
Create an OSB Domain

Run the domain configuration script located in:
/opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/bin/config.sh


Eclipse URL access forbidden for unknown reason

I have installed Geppetto (=Eclipse) and connected to a different SVN repository. Stupidly, both Eclipse installations shared the same cached password, so my other repository started failing with "Eclipse URL access forbidden for unknown reason"

where is eclipse keeping SVN password?

in this folder C:\Users\[username]\AppData\Roaming\Subversion\auth\svn.simple where will be a single file with a funny name.

just rename that file adding ORI at the end, restart Eclipse and reenter the "right" password.

Eclipse stinks. Like a skunk.



Sunday, April 21, 2013

Installing Puppet on Ubuntu

Instructions are here

Download http://apt.puppetlabs.com/puppetlabs-release-stable.deb and put it on your vbox
sudo dpkg -i puppetlabs-release-stable.deb
puppet help
puppet --version

One can install the "free learn puppet VM" : http://info.puppetlabs.com/download-learning-puppet-VM.html (Vbox or VM)



to dry run a puppet manifest:
puppet apply --noop default.pp

run facter to gather info on your system:
facter

to run a class in a manifest:
include pippo

class pippo {

}






Saturday, April 20, 2013

Geppetto IDE, Vagrant and Puppet - part 2

Introductory tutorial on Geppetto IDE here:

https://puppetlabs.com/blog/geppetto-a-puppet-ide/

I come up with my first manifest:
file { "/tmp/somefile.txt":
    ensure => present,
    content => "Ciao scemo",
}

now, how do I execute it on my VirtualBox?

MUST READ Puppet and Vagrant tutorial here:
http://www.linux.com/news/software/applications/694157-setup-your-dev-environment-in-nothing-flat-with-puppet

Here we learn that under your vagrant base directory,
you should create a manifests folder and there a default.pp file, and there you stick your "file { "/tmp/somefile.txt":" etc etc declaration.

At this point, do "vagrant up" and the file somefile.txt is magically created in /tmp.

you can check by logging in with putty at port 2222 using vagrant/vagrant.

Interestingly, my default.pp file has ended up in /tmp/vagrant-puppet/manifests/default.pp on the VM.

more vagrant-puppet doc here: http://docs-v1.vagrantup.com/v1/docs/provisioners/puppet.html



Friday, April 19, 2013

VISIO: automating find and replace

We have several environment that are structurally the same, and they differ only for some configuration values.
Maintaining a separate VISIO diagram for each of them is a nightmare.
One should have a template and populate it dynamically.
Linking shapes to a Datasource is an option, but it seems quite complicated to me.
I have tried exporting to XML (.vdx file), changing the XML with a find/replace, and reimporting, but VISIO fails to import the modified file :
The shape contains a text property row element that is not referenced from the shape's text. Visio has ignored the element

Finally I found that exporting to SVG file, doing the Find&Replace and importing again works pretty well. The only caveat is that VISIO tends to break text in multiple separate tags, so you should avoid defining labels like ${domainNumber} or even ___domainNumber; I chose for labels the format zzzdomainNumber.

I am using VISIO 2007. Maybe in VISIO 2010 the XML is less touchy.

Thursday, April 18, 2013

OSB: com.bea.alsb.alert.log.LocalAlertLogger NullPointerException

We have noticed that when 2 different users access sbconsole at the same time, we have a NullPointerException in a Managed server:


RuntimeException thrown by rmi server: com.bea.alsb.alert.log.LocalAlertLogger.next(Ljava.lang.String;I)
java.lang.NullPointerException.
java.lang.NullPointerException
at com.bea.alsb.alert.log.LocalAlertLogger.next(LocalAlertLogger.java:182)
at com.bea.alsb.alert.log.LocalAlertLogger_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)




This is not a harmful thing, although not desirable.



Tuesday, April 16, 2013

vagrant VM not created. Moving on

On Windows, I have installed a VM, and everything was working fine. vagrant up, vagrant down, vagrante suspend, vagrant resume. All perfect.
Then I rebooted my machine, and when I issue any command I get "vagrant VM not created. Moving on".
My VM had disappeared. Luckily I didn't lose anything.
The only solution was to "add box" again.
Disappointing.

Friday, April 12, 2013

weblogic.management.ManagementException: Booting as admin server, but servername does not match the admin server name

I have created a domain on one machine, packed and unpacked on another machine.
Then enrolled the domain.
When I try to start the MS2 on the second machine using nmConnect() + nmStart(), I get this error:
weblogic.management.ManagementException: Booting as admin server, but servername does not match the admin server name
even if starting the MS2 with startManagedWebLogic.sh works perfectly.
I have then started the MS2 with the WebLogic console, shut it down, and next time the nmStart() works.
Mysteries of WebLogic.

Thursday, April 11, 2013

Thread blocked on "oracle.jdbc.driver.OracleStatement.close"

Be aware that there is a document ID 1362587.1

The cause of this problem has been identified in unpublished Bug:12346819 STUCK THREADS INVOLVING WLS CONNECTION POOL. It is caused by checkHang() code error which loses the abort method that was set by the factory initially. Some cases where JDBC/pool threads could hang. There is a Patch 12346819.
This is what we get:

"[STUCK] ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=10 tid=0x00002aaab3099000 nid=0x15e2 waiting for monitor entry [0x000000004a351000]
   java.lang.Thread.State: BLOCKED (on object monitor)
 at oracle.jdbc.driver.OracleStatement.close(OracleStatement.java:1788)
 - waiting to lock <0x00000007b63b3738> (a oracle.jdbc.driver.T4CConnection)
 at oracle.jdbc.driver.OracleStatementWrapper.close(OracleStatementWrapper.java:83)
 at oracle.jdbc.driver.OraclePreparedStatementWrapper.close(OraclePreparedStatementWrapper.java:80)
 at weblogic.jdbc.common.internal.ConnectionEnv.initializeTest(ConnectionEnv.java:940)
 at weblogic.jdbc.common.internal.ConnectionEnv.destroyForFlush(ConnectionEnv.java:529)
 - locked <0x00000007b5e9aeb8> (a weblogic.jdbc.common.internal.ConnectionEnv)
 at weblogic.jdbc.common.internal.ConnectionEnv.destroy(ConnectionEnv.java:507)
 - locked <0x00000007b5e9aeb8> (a weblogic.jdbc.common.internal.ConnectionEnv)
 at weblogic.common.resourcepool.ResourcePoolImpl.destroyResource(ResourcePoolImpl.java:1802)
 at weblogic.common.resourcepool.ResourcePoolImpl.access$500(ResourcePoolImpl.java:41)
 at weblogic.common.resourcepool.ResourcePoolImpl$Group.killAllConnectionsBeingTested(ResourcePoolImpl.java:2399)
 - locked <0x000000078dbd41d8> (a java.util.TreeSet)
 at weblogic.common.resourcepool.ResourcePoolImpl$Group.destroyIdleResources(ResourcePoolImpl.java:2267)
 - locked <0x0000000785536c30> (a weblogic.jdbc.common.internal.GenericConnectionPool)
 at weblogic.common.resourcepool.ResourcePoolImpl$Group.checkHang(ResourcePoolImpl.java:2475)
 at weblogic.common.resourcepool.ResourcePoolImpl$Group.access$100(ResourcePoolImpl.java:2210)
 at weblogic.common.resourcepool.ResourcePoolImpl.checkResource(ResourcePoolImpl.java:1677)
 at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1588)
 at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1577)
 at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:395)
 at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:342)
 at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:329)
 at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:417)
 at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:324)
 at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:94)
 at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiDataSource.java:350)
 at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:369)
 at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:126)
 at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:94)
 at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
 at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:327)
 at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:291)
 at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:415)
 at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.connect(DatabaseSessionImpl.java:246)
 at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:627)
 at oracle.tip.adapter.db.DBManagedConnectionFactory.createDatabaseSession(DBManagedConnectionFactory.java:1143)
 at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:815)
 at oracle.tip.adapter.db.transaction.DBTransaction.getSession(DBTransaction.java:375)
 at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:256)
 at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:1089)
 at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:247)




Thread Dump Analyzer


I have installed a plugin for VisualVM to analyse Thread Dumps:

http://java.net/projects/tda/downloads/directory/visualvm
download the 3 plugins (all 3 are necessary)

it says:

https://tda.dev.java.net
Version: 2.2 Author: Ingo Rockel   Date: 8/9/10 Source: net-java-dev-tda-visualvm.nbm Homepage: https://tda.dev.java.net 
Plugin Description
VisualVM Module of TDA - Thread Dump Analyzer

To install the plugin
open C:\Oracle\Middleware\jdk160_24\bin\jvisualvm.exe
tools /plugins/downloaded/add plugin/install

"they are not signed" warning.... continue


Be aware that thread dump files must have extension .tdump (like: bla.tdump)

go to file/open/bla.tdump

the trick is to look for "waiting threads", click on the STUCK thread









The tool makes it very easy to navigate from thread to thread based on the monitor id, so as to identify the root cause of a stuck thread.






Book review: Pro Puppet

I have tried to learn Puppet from the official "getting started" guide, but unfortunately it only scratches the surface.

So I am attacking this book, it seems very informative and very well written:



Unfortunately the book is not very entertaining and conversational, it's very molassic and spaghettic, so I find it very difficult to digest. I found this site much more concise and digestible.

Tuesday, April 9, 2013

Encoding and decoding in Java (encryption) and WLST

Faced with the need to encrypt passwords in a DB, I google and find this article, but then I realize it's not recommended (why?) to use sun.misc.BASE64Decoder, I should rather use Apache commons:

commons-codec-1.4.jar (in reality the latest release is not 1.4, but I don't care)

maven is:
<dependency>
 <groupId>commons-codec</groupId>
 <artifactId>commons-codec</artifactId>
 <version>1.4</version>
</dependency>
So I change implementation and I get this wonderful code:

package com.acme.osb.encryption;

import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.security.GeneralSecurityException;

import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.PBEKeySpec;
import javax.crypto.spec.PBEParameterSpec;

import org.apache.commons.codec.binary.Base64;


public class PasswordEncoder {

    private static final char[] PASSWORD = "enfldsgbnlsngdlksdsgm".toCharArray();
    private static final byte[] SALT = {
        (byte) 0xde, (byte) 0x33, (byte) 0x10, (byte) 0x12,
        (byte) 0xde, (byte) 0x33, (byte) 0x10, (byte) 0x12,
    };

    public static void main(String[] args) throws Exception {
        String originalPassword = "secret";
        System.out.println("Original password: " + originalPassword);
        String encryptedPassword = encrypt(originalPassword, PASSWORD);
        System.out.println("Encrypted password: " + encryptedPassword);
        String decryptedPassword = decrypt(encryptedPassword, PASSWORD);
        System.out.println("Decrypted password: " + decryptedPassword);
    }

    private static String encrypt(String property, char[] pw) throws GeneralSecurityException, UnsupportedEncodingException {
        SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("PBEWithMD5AndDES");
        SecretKey key = keyFactory.generateSecret(new PBEKeySpec(pw));
        Cipher pbeCipher = Cipher.getInstance("PBEWithMD5AndDES");
        pbeCipher.init(Cipher.ENCRYPT_MODE, key, new PBEParameterSpec(SALT, 20));
        return base64Encode(pbeCipher.doFinal(property.getBytes("UTF-8")));
    }

    private static String base64Encode(byte[] bytes) {
        return Base64.encodeBase64String(bytes);
    }

    private static String decrypt(String property, char[] pw) throws GeneralSecurityException, IOException {
        SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("PBEWithMD5AndDES");
        SecretKey key = keyFactory.generateSecret(new PBEKeySpec(pw));
        Cipher pbeCipher = Cipher.getInstance("PBEWithMD5AndDES");
        pbeCipher.init(Cipher.DECRYPT_MODE, key, new PBEParameterSpec(SALT, 20));
        return new String(pbeCipher.doFinal(base64Decode(property)), "UTF-8");
    }

    private static byte[] base64Decode(String property) throws IOException {
        return Base64.decodeBase64(property);
    }

}




In WebLogic there is a simple way of encrypting/decrypting passwords, but for fear of depending from the SerializedSystemIni.dat file I am afraid of using it.
Here the official documentation.
Anyway just run . ./setDomainEnv.sh and then "java weblogic.security.Encrypt mypwtoencrypt". To decrypt, since WebLogic doesn't provide a "weblogic.security.Decrypt" utility, follow these steps

In WLST, to decode you can do the following:


from javax.crypto import Cipher
from javax.crypto import SecretKey
from javax.crypto import SecretKeyFactory
from javax.crypto.spec import PBEKeySpec
from javax.crypto.spec import PBEParameterSpec

from org.apache.commons.codec.binary import Base64


def decode(encodedPassword):
    SALT='\xde\x33\x10\x12\xde\x33\x10\x12'
    key='yoursecretkeyhere'
    keyFactory = SecretKeyFactory.getInstance("PBEWithMD5AndDES")
    key = keyFactory.generateSecret(PBEKeySpec(key))
    pbeCipher = Cipher.getInstance("PBEWithMD5AndDES")
    
    pbeCipher.init(Cipher.DECRYPT_MODE, key, PBEParameterSpec(SALT, 20))
    
    resultb=pbeCipher.doFinal(Base64.decodeBase64(encodedPassword))
    
    print String(resultb, "utf-8")







Monday, April 8, 2013

WebLogic silent installation

the command is:
java -d64 -jar /opt3/oracle/software/wls1035_generic.jar -mode=silent -silent_xml=silent.xml

first I try with the file provided on Oracle site :
<?xml version="1.0" encoding="UTF-8"?>
   <bea-installer> 
     <input-fields>
       <data-value name="BEAHOME" value="/opt3/oracle/fmw11_1_1_5" />
       <data-value name="WLS_INSTALL_DIR" value="/opt3/oracle/fmw11_1_1_5/wlserver_10.3" />
       <data-value name="COMPONENT_PATHS"
        value="WebLogic Server/Core Application Server|WebLogic Server
/Administration Console|WebLogic Server/Configuration Wizard and Upgrade 
Framework|WebLogic Server/Web 2.0 HTTP Pub-Sub Server|WebLogic Server/WebLogic 
JDBC Drivers|WebLogic Server/Third Party JDBC Drivers|WebLogic Server
/WebLogic Server Clients|WebLogic Server/WebLogic Web Server Plugins
|WebLogic Server/UDDI and Xquery Support|WebLogic Server/Server Examples|Oracle Coherence/Coherence Product Files" />
       <data-value name="NODEMGR_PORT" value="5558" />
       <data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="no"/>    
    <data-value name="LOCAL_JVMS" value="/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x86_64"/>
    
 
   </input-fields> 
</bea-installer>


and it fails with
"The local BEA product registry is corrupted. Please select another Middleware Home or contact Oracle Support":

then I use this:
<?xml version="1.0" encoding="UTF-8"?>
   <bea-installer>
     <input-fields>
       <data-value name="BEAHOME" value="/opt3/oracle/fmw11_1_1_5" />
       <data-value name="WLS_INSTALL_DIR" value="/opt3/oracle/fmw11_1_1_5/wlserver_10.3" />
       <data-value name="COMPONENT_PATHS"
value="WebLogic Server/Core Application Server|WebLogic Server/Administration Console|WebLogic Server/Configuration Wizard and Upgrade Framework|WebLogic Server/Web 2.0 HTTP Pub-Sub Server|WebLogic Server/WebLogic JDBC Drivers|WebLogic Server/Third Party JDBC Drivers|WebLogic Server/WebLogic Server Clients|WebLogic Server/WebLogic Web Server Plugins|WebLogic Server/UDDI and Xquery Support|WebLogic Server/Server Examples"/>
       <data-value name="NODEMGR_PORT" value="5558" />
       <data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="no"/>
    <data-value name="LOCAL_JVMS" value="/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x86_64"/>
   </input-fields>
</bea-installer>

and I get this:

Extracting 0%....................................................................................................100%
Apr 8, 2013 1:31:27 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: read template from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/templates/domains/wls.jar"
Apr 8, 2013 1:31:28 PM [THREAD: runScript] com.oracle.cie.domain.template.catalog.impl.ComponentsXMLConverter loadComponentsXML
INFO: /opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/lib/components.xml does not contain component elements and will be skipped
Apr 8, 2013 1:31:28 PM [THREAD: runScript] com.oracle.cie.domain.WLSTemplateBuilder parseTemplate
INFO: No config-groups.xml found in template
Apr 8, 2013 1:31:28 PM [THREAD: runScript] com.oracle.cie.domain.WLSTemplateBuilder parseTemplate
INFO: No template-database.xml found in template
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.AbstractTemplate mapComponentSymbols
INFO: Adding top-level component reference: WebLogic Server version 10.3.5.0
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.AbstractTemplate mapComponentSymbols
INFO: Setting symbol for component WebLogic Server version 10.3.5.0 to WebLogic_Server_10.3.5.0_wlserver_10.3_ORACLE_HOME
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: read template from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/templates/domains/wls.jar"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option CreateStartMenu to "false"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option CreateStartMenu to "false"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option OverwriteDomain to "true"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option OverwriteDomain to "true"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option BackupFiles to "false"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option BackupFiles to "false"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option JavaHome to "/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x86_64"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option JavaHome to "/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x86_64"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: find Server "AdminServer" as obj0
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: find Server "AdminServer" as obj0
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj0 attribute Name to "examplesServer"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj0 attribute Name to "examplesServer"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: find User "weblogic" as obj1
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: find User "weblogic" as obj1
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj1 attribute Password to "********"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj1 attribute Password to "********"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: validateConfig "KeyStorePasswords"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: validateConfig "KeyStorePasswords"
Apr 8, 2013 1:31:29 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: write Domain to "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/wl_server"
Apr 8, 2013 1:31:30 PM [THREAD: runScript] com.oracle.cie.domain.DomainChecker validateServerListenPortsInternal
INFO: ListenPort internal Validation result= [null]
Apr 8, 2013 1:31:30 PM [THREAD: runScript] com.oracle.cie.domain.DomainChecker validateServerListenPortsExternal
INFO: ListenPort external Validation result= [null]
Apr 8, 2013 1:31:31 PM [THREAD: Thread-5] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:31 PM [THREAD: Thread-5] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:32 PM [THREAD: Thread-5] com.oracle.cie.domain.DomainRegistryWrapper getDomainRegistryWrapper
INFO: need to initialize domainRegistrydocument object
Apr 8, 2013 1:31:32 PM [THREAD: Thread-5] com.oracle.cie.domain.DomainGenerator generate
INFO: Domain Generation Successful!
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: write Domain to "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/wl_server"
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: close template
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: close template
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/wl_server"
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/wl_server"
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option ReplaceDuplicates to "false"
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option ReplaceDuplicates to "false"
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option AppDir to "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples"
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option AppDir to "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples"
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option BackupFiles to "false"
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option BackupFiles to "false"
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option CreateStartMenu to "false"
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option CreateStartMenu to "false"
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: add template /opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/templates/applications/wls_default.jar to domain
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.WLSTemplateBuilder parseTemplate
INFO: No config-groups.xml found in template
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.WLSTemplateBuilder parseTemplate
INFO: No template-database.xml found in template
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.AbstractTemplate mapComponentSymbols
INFO: Adding top-level component reference: WebLogic Server version 10.3.5.0
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.AbstractTemplate mapComponentSymbols
INFO: Setting symbol for component WebLogic Server version 10.3.5.0 to WebLogic_Server_10.3.5.0_wlserver_10.3_ORACLE_HOME
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: add template /opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/templates/applications/wls_default.jar to domain
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: validateConfig "KeyStorePasswords"
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: validateConfig "KeyStorePasswords"
Apr 8, 2013 1:31:32 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: update domain
Apr 8, 2013 1:31:33 PM [THREAD: Thread-6] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:33 PM [THREAD: Thread-6] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:35 PM [THREAD: Thread-6] com.oracle.cie.domain.TemplateImporter generate
INFO: Domain Extension Successful!
Apr 8, 2013 1:31:35 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: close template
Apr 8, 2013 1:31:35 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: close template
Apr 8, 2013 1:31:35 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/wl_server"
Apr 8, 2013 1:31:35 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:35 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:35 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/wl_server"
Apr 8, 2013 1:31:35 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: update domain
Apr 8, 2013 1:31:35 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: close template
Apr 8, 2013 1:31:35 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: close template
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/wl_server"
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/wl_server"
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: find Server "examplesServer" as obj2
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: find Server "examplesServer" as obj2
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: create Server!SSL "examplesServer!examplesServer" as obj3
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: create Server!SSL "examplesServer!examplesServer" as obj3
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj3 attribute Enabled to "true"
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj3 attribute Enabled to "true"
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option ReplaceDuplicates to "false"
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option ReplaceDuplicates to "false"
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option AppDir to "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples"
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option AppDir to "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples"
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option BackupFiles to "false"
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option BackupFiles to "false"
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: add template /opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/templates/applications/wls_examples.jar to domain
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.WLSTemplateBuilder parseTemplate
INFO: No config-groups.xml found in template
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.WLSTemplateBuilder parseTemplate
INFO: No template-database.xml found in template
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.AbstractTemplate mapComponentSymbols
INFO: Adding top-level component reference: WebLogic Server version 10.3.5.0
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.AbstractTemplate mapComponentSymbols
INFO: Setting symbol for component WebLogic Server version 10.3.5.0 to WebLogic_Server_10.3.5.0_wlserver_10.3_ORACLE_HOME
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: add template /opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/templates/applications/wls_examples.jar to domain
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: unassign JdbcSystemResource "examples-oracleXA" from Target "examplesServer"
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: unassign JdbcSystemResource "examples-oracleXA" from Target "examplesServer"
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: validateConfig "KeyStorePasswords"
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: validateConfig "KeyStorePasswords"
Apr 8, 2013 1:31:36 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: update domain
Apr 8, 2013 1:31:38 PM [THREAD: Thread-7] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:PoolList on type:class com.oracle.cie.domain.xml.configxbmap.impl.JDBCMultiPoolTypeImpl
Apr 8, 2013 1:31:38 PM [THREAD: Thread-7] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:38 PM [THREAD: Thread-7] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:39 PM [THREAD: Thread-7] com.oracle.cie.domain.TemplateImporter generate
INFO: Domain Extension Successful!
Apr 8, 2013 1:31:39 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: close template
Apr 8, 2013 1:31:39 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: close template
Apr 8, 2013 1:31:39 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/wl_server"
Apr 8, 2013 1:31:39 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:39 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:39 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/wl_server"
Apr 8, 2013 1:31:39 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: update domain
Apr 8, 2013 1:31:39 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: close template
Apr 8, 2013 1:31:39 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: close template
Apr 8, 2013 1:31:39 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: read template from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/templates/domains/wls.jar"
Apr 8, 2013 1:31:39 PM [THREAD: runScript] com.oracle.cie.domain.WLSTemplateBuilder parseTemplate
INFO: No config-groups.xml found in template
Apr 8, 2013 1:31:39 PM [THREAD: runScript] com.oracle.cie.domain.WLSTemplateBuilder parseTemplate
INFO: No template-database.xml found in template
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.AbstractTemplate mapComponentSymbols
INFO: Setting symbol for component WebLogic Server version 10.3.5.0 to WebLogic_Server_10.3.5.0_wlserver_10.3_ORACLE_HOME
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: read template from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/templates/domains/wls.jar"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option CreateStartMenu to "false"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option CreateStartMenu to "false"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option OverwriteDomain to "true"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option OverwriteDomain to "true"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option BackupFiles to "false"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option BackupFiles to "false"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option JavaHome to "/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x86_64"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option JavaHome to "/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x86_64"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: find Server "AdminServer" as obj4
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: find Server "AdminServer" as obj4
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj4 attribute Name to "MedRecServer"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj4 attribute Name to "MedRecServer"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj4 attribute ListenPort to "7011"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj4 attribute ListenPort to "7011"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: create Server!SSL "MedRecServer!MedRecServer" as obj5
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: create Server!SSL "MedRecServer!MedRecServer" as obj5
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj5 attribute Enabled to "true"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj5 attribute Enabled to "true"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj5 attribute ListenPort to "7012"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj5 attribute ListenPort to "7012"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: find User "weblogic" as obj6
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: find User "weblogic" as obj6
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj6 attribute Password to "********"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj6 attribute Password to "********"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: validateConfig "KeyStorePasswords"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: validateConfig "KeyStorePasswords"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: write Domain to "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/medrec"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.DomainChecker validateServerListenPortsInternal
INFO: ListenPort internal Validation result= [null]
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.DomainChecker validateServerListenPortsExternal
INFO: ListenPort external Validation result= [null]
Apr 8, 2013 1:31:40 PM [THREAD: Thread-8] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:40 PM [THREAD: Thread-8] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:40 PM [THREAD: Thread-8] com.oracle.cie.domain.DomainGenerator generate
INFO: Domain Generation Successful!
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: write Domain to "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/medrec"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: close template
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: close template
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/medrec"
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:40 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/medrec"
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option ReplaceDuplicates to "false"
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option ReplaceDuplicates to "false"
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option AppDir to "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/server/medrec"
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option AppDir to "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/server/medrec"
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option BackupFiles to "false"
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option BackupFiles to "false"
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: add template /opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/templates/applications/medrec.jar to domain
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.WLSTemplateBuilder parseTemplate
INFO: No config-groups.xml found in template
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.WLSTemplateBuilder parseTemplate
INFO: No template-database.xml found in template
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.AbstractTemplate mapComponentSymbols
INFO: Adding top-level component reference: WebLogic Server version 10.3.5.0
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.AbstractTemplate mapComponentSymbols
INFO: Setting symbol for component WebLogic Server version 10.3.5.0 to WebLogic_Server_10.3.5.0_wlserver_10.3_ORACLE_HOME
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: add template /opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/templates/applications/medrec.jar to domain
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: validateConfig "KeyStorePasswords"
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: validateConfig "KeyStorePasswords"
Apr 8, 2013 1:31:41 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: update domain
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: find Server "MedRecServer" as obj7
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: find Server "MedRecServer" as obj7
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj7 attribute ListenAddress to "hqchnesoa104"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj7 attribute ListenAddress to "hqchnesoa104"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: create Server!SSL "MedRecServer!MedRecServer" as obj8
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: create Server!SSL "MedRecServer!MedRecServer" as obj8
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj8 attribute Enabled to "true"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj8 attribute Enabled to "true"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: create Server!NetworkAccessPoint "MedRecServer!MedRec Local Network Channel" as obj9
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: create Server!NetworkAccessPoint "MedRecServer!MedRec Local Network Channel" as obj9
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj9 attribute ListenAddress to "localhost"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj9 attribute ListenAddress to "localhost"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj9 attribute PublicAddress to "localhost"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj9 attribute PublicAddress to "localhost"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj9 attribute PublicPort to "7011"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj9 attribute PublicPort to "7011"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj9 attribute ListenPort to "7011"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj9 attribute ListenPort to "7011"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj9 attribute TunnelingEnabled to "true"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj9 attribute TunnelingEnabled to "true"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj9 attribute TwoWaySSLEnabled to "true"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj9 attribute TwoWaySSLEnabled to "true"
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:42 PM [THREAD: Thread-9] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:43 PM [THREAD: Thread-9] com.oracle.cie.domain.TemplateImporter generate
INFO: Domain Extension Successful!
Apr 8, 2013 1:31:43 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: close template
Apr 8, 2013 1:31:43 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: close template
Apr 8, 2013 1:31:43 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/medrec"
Apr 8, 2013 1:31:43 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:43 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:43 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/medrec"
Apr 8, 2013 1:31:43 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: update domain
Apr 8, 2013 1:31:43 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: close template
Apr 8, 2013 1:31:43 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: close template
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: read template from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/templates/domains/wls.jar"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.WLSTemplateBuilder parseTemplate
INFO: No config-groups.xml found in template
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.WLSTemplateBuilder parseTemplate
INFO: No template-database.xml found in template
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.AbstractTemplate mapComponentSymbols
INFO: Setting symbol for component WebLogic Server version 10.3.5.0 to WebLogic_Server_10.3.5.0_wlserver_10.3_ORACLE_HOME
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: read template from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/templates/domains/wls.jar"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option CreateStartMenu to "false"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option CreateStartMenu to "false"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option OverwriteDomain to "true"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option OverwriteDomain to "true"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option BackupFiles to "false"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option BackupFiles to "false"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option JavaHome to "/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x86_64"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option JavaHome to "/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x86_64"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: find Server "AdminServer" as obj10
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: find Server "AdminServer" as obj10
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj10 attribute Name to "MedRecServer"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj10 attribute Name to "MedRecServer"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj10 attribute ListenPort to "7011"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj10 attribute ListenPort to "7011"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: create Server!SSL "MedRecServer!MedRecServer" as obj11
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: create Server!SSL "MedRecServer!MedRecServer" as obj11
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj11 attribute Enabled to "true"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj11 attribute Enabled to "true"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj11 attribute ListenPort to "7012"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj11 attribute ListenPort to "7012"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: find User "weblogic" as obj12
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: find User "weblogic" as obj12
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj12 attribute Password to "********"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj12 attribute Password to "********"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: validateConfig "KeyStorePasswords"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: validateConfig "KeyStorePasswords"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: write Domain to "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/medrec-spring"
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.DomainChecker validateServerListenPortsInternal
INFO: ListenPort internal Validation result= [null]
Apr 8, 2013 1:31:45 PM [THREAD: runScript] com.oracle.cie.domain.DomainChecker validateServerListenPortsExternal
INFO: ListenPort external Validation result= [null]
Apr 8, 2013 1:31:45 PM [THREAD: Thread-12] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:45 PM [THREAD: Thread-12] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:45 PM [THREAD: Thread-12] com.oracle.cie.domain.DomainGenerator generate
INFO: Domain Generation Successful!
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: write Domain to "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/medrec-spring"
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: close template
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: close template
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/medrec-spring"
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/medrec-spring"
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option ReplaceDuplicates to "false"
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option ReplaceDuplicates to "false"
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option AppDir to "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/server/medrec-spring"
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option AppDir to "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/server/medrec-spring"
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set config option BackupFiles to "false"
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set config option BackupFiles to "false"
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: add template /opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/templates/applications/medrec-spring.jar to domain
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.WLSTemplateBuilder parseTemplate
INFO: No config-groups.xml found in template
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.WLSTemplateBuilder parseTemplate
INFO: No template-database.xml found in template
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.AbstractTemplate mapComponentSymbols
INFO: Adding top-level component reference: WebLogic Server version 10.3.5.0
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.AbstractTemplate mapComponentSymbols
INFO: Setting symbol for component WebLogic Server version 10.3.5.0 to WebLogic_Server_10.3.5.0_wlserver_10.3_ORACLE_HOME
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: add template /opt3/oracle/fmw11_1_1_5/wlserver_10.3/common/templates/applications/medrec-spring.jar to domain
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: validateConfig "KeyStorePasswords"
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: validateConfig "KeyStorePasswords"
Apr 8, 2013 1:31:46 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: update domain
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: find Server "MedRecServer" as obj13
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: find Server "MedRecServer" as obj13
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj13 attribute ListenAddress to "hqchnesoa104"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj13 attribute ListenAddress to "hqchnesoa104"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: create Server!SSL "MedRecServer!MedRecServer" as obj14
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: create Server!SSL "MedRecServer!MedRecServer" as obj14
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj14 attribute Enabled to "true"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj14 attribute Enabled to "true"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: create Server!NetworkAccessPoint "MedRecServer!MedRec Local Network Channel" as obj15
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: create Server!NetworkAccessPoint "MedRecServer!MedRec Local Network Channel" as obj15
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj15 attribute ListenAddress to "localhost"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj15 attribute ListenAddress to "localhost"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj15 attribute PublicAddress to "localhost"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj15 attribute PublicAddress to "localhost"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj15 attribute PublicPort to "7011"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj15 attribute PublicPort to "7011"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj15 attribute ListenPort to "7011"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj15 attribute ListenPort to "7011"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj15 attribute TunnelingEnabled to "true"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj15 attribute TunnelingEnabled to "true"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: set obj15 attribute TwoWaySSLEnabled to "true"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: set obj15 attribute TwoWaySSLEnabled to "true"
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:46 PM [THREAD: Thread-13] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:47 PM [THREAD: Thread-13] com.oracle.cie.domain.TemplateImporter generate
INFO: Domain Extension Successful!
Apr 8, 2013 1:31:47 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: close template
Apr 8, 2013 1:31:47 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: close template
Apr 8, 2013 1:31:47 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/medrec-spring"
Apr 8, 2013 1:31:47 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultAuthenticatorTypeImpl
Apr 8, 2013 1:31:47 PM [THREAD: runScript] com.oracle.cie.domain.aspect.XBeanConfigAspect selfGetValue
WARNING: Unable to locate property:CredentialEncrypted on type:class com.oracle.cie.domain.xml.configxb.impl.DefaultIdentityAsserterTypeImpl
Apr 8, 2013 1:31:47 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: read domain from "/opt3/oracle/fmw11_1_1_5/wlserver_10.3/samples/domains/medrec-spring"
Apr 8, 2013 1:31:47 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: update domain
Apr 8, 2013 1:31:47 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: close template
Apr 8, 2013 1:31:47 PM [THREAD: runScript] com.oracle.cie.domain.script.ScriptExecutor output
INFO: succeed: close template



(several WARNING)

If you run the procedure twice, the second time it will say

At least one component must be selected.

so to repeat the installation you must first rm -rf /opt3/oracle/fmw11_1_1_5

I am not exactly excited about the accuracy of the documentation.
As a last attempt, I try this:

<?xml version="1.0" encoding="UTF-8"?>
   <bea-installer>
     <input-fields>
       <data-value name="BEAHOME" value="/opt3/oracle/fmw11_1_1_5" />
       <data-value name="WLS_INSTALL_DIR" value="/opt3/oracle/fmw11_1_1_5/wlserver_10.3" />
       <data-value name="COMPONENT_PATHS"
value="WebLogic Server/Core Application Server|WebLogic Server/Administration Console|WebLogic Server/Configuration Wizard and Upgrade Framework|WebLogic Server/Web 2.0 HTTP Pub-Sub Server|WebLogic Server/WebLogic JDBC Drivers|WebLogic Server/Third Party JDBC Drivers|WebLogic Server/WebLogic Server Clients|WebLogic Server/WebLogic Web Server Plugins|WebLogic Server/UDDI and Xquery Support|Oracle Coherence/Coherence Product Files|Oracle Coherence/Coherence Examples"/>
       <data-value name="NODEMGR_PORT" value="5558" />
       <data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="no"/>
    <data-value name="LOCAL_JVMS" value="/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x86_64"/>


   </input-fields>
</bea-installer>


and it works beautifully, creating also coherence folder and giving no warning.

Sunday, April 7, 2013

Vagrant, Puppet, Geppetto

In a nutshell, Vagrant is a wrapper around Puppet to provision Virtual Boxes.
Vagrant doc here  http://docs-v1.vagrantup.com/v1/docs/index.html
Vagrant and Puppet doc here  http://docs-v1.vagrantup.com/v1/docs/provisioners/puppet.html
Virtual Box doc here https://www.virtualbox.org/
Getting started
Download Virtual box here https://www.virtualbox.org/wiki/Downloads
Install it to C:\pierre\virtualbox\
Download vagrant from here http://www.vagrantup.com/
Install it to C:\pierre\vagrant\

To check the Vagrant installation, open a DOS prompt and type "vagrant".

Vagrant Getting Started , this is an excellent hands on tutorial

vagrant box add lucid32 http://files.vagrantup.com/lucid32.box
vagrant init lucid32
vagrant up
 
 
if you get
Vagrant timed out while attempting to connect to the HTTP host.
Please check your internet and proxy settings and try again.


you can download the file and run:
set HOMEDRIVE=C:
set HOMESHARE=c:\pierre\vagrant
vagrant box add lucid32 c:/pierre/downloads/lucid32.box


Geppetto can be downloaded here