OTN Tour Latin America 2015: Panama

Panama City

panama

Panama was another interesting place to be. Very few Europeans I know have ever been to Panama. The trip from the airport started with a glimpse of Panama’s surprising skyline. Pleasant enough I was located in the 29th floor (!) of a downtown hotel.

20150821_095650The conference was a bit further away towards the canal at another hotel next to one of the biggest shopping malls in the known universe.

I had the last slot and since we were running late, people volunteered to stay a bit longer for my Oracle WebLogic and Docker presentation.

Saturday we had a day off. Edgardo Sanchez from the local user group took us on a trip to the Panama canal and Casco Antiguo (the historic center of town). I am not a good shopper, usually I am buying nothing at all, but at the end I bought a Panama coffee mug as a souvenir.

Btw, I uploaded the WebLogic with Docker and 12 new features of Oracle WebLogic Server 12c presentation slides.

 

OTN Tour Latin America 2015: El Salvador

Screen Shot 2015-09-04 at 13.07.53

San Salvador

In San Salvador I had the best hotel experience. I got upgraded for no particular reason to the executive lounge which provides a view to the local volcano (and free soft drinks).

Also I met Alex Gorbatchev from Python for the first time in person. The conference was at a military club in a very relaxed and safe atmosphere. Anyway, I felt a bit like the scene in the Monty Python clip with the comfy chair since it was really hot and we faced a splendid swimming pool without having the time and/or possibility to go for a swim.

Screen Shot 2015-09-04 at 16.38.06

Again I did two presentations one about Docker in general and its usage for WebLogic with  and one about 12 new features of Oracle WebLogic Server 12c both with great audience feedback and participation. After the session there was a high number of people asking for the slides and trying to get some answers on additional topics. My impression was that a smallish but very interested group of people is working with WebLogic and that everybody was curious about Docker.

Same as in Guatemala the conference ended with a picture taking session 🙂 Heli from Finland has another blog posting about the fun part of our trip.

san salvadorScreen Shot 2015-09-04 at 13.08.10

OTN Tour Latin America 2015: Guatemala

Guatemala City

I attended this year’s OTN Latin America 2015 tour and travelled across 5 countries.

badges

Guatemala was one of the places I always wanted to visit so I arrived a day early on own expenses. My flight was via FRA and Houston and I arrived at GUA City an hour and half before midnight. My suitcase did not. It took an hour until somebody from UA showed up at the airport so I missed Deiby from the local user group who volunteered to pick me up at the airport on a Friday night.

antigua

The following day I did a trip to the historic city of Antigua, the old capital including a guided walk through the center and an easy walk up to Cerro de la Cruz which offers a breathtaking view to the surrounding volcanoes and Antigua.

The conference itself was an excellent experience (thanks to Deiby Gomez and his colleagues!), perfectly organized and coordinated with a great mixture and huge number of local and international speakers. For the first time I met Daniel Morgan, Anton Els (see his posting for the fantastic boring / exciting pic we took!), Edward Roske, Björn Rost and Jeff Davies in person. One of the cool things of an OTN tour is that you can listen also to a lot of great people so I attended most of Dan’s and Jeff’s session but unfortunately missed Anton’s sessions.

My own session was well attended. I guess that over 100 people showed up which was a big surprise to me! My Spanish is slightly above Tarzan level, still I decided to give the introduction in Spanish and the rest in English, which on the one hand side was confusing for the live interpreter and on the other hand side entertaining for the audience. At the end of the day we had a lovely speakers dinner playing a bit of golf while having excellent food.

gua

You can download the slides for my presentations on Slideshare:

12 Things you should know about WebLogic 12c

WebLogic 12c and Docker (includes a basic Docker introduction)

Using HTTP instead of T3 for WebLogic Scripting Tool (WLST)

A friend of mine asked why the WLST connection from the Jython based scripting tool is only working with t3. IMHO using t3 for WLST is not a big deal since it is a WebLogic tool talking to WebLogic itself, and t3 was built and optimised for that.

You might want to replace t3 with HTTP anyway, e.g. for one the following reasons:

– for the sake of standards, you want to use as many standard protocols as possible. t3 is WebLogic vendor specific.

– you might have problems with t3 when connecting through firewalls.

 

Easy Solution

Here is the good news. Unknown to many, WLST does work with HTTP if you enable tunneling for the Admin server ( Admin Server / Protocols / General ).

Screen Shot 2015-03-02 at 10.24.50

then it’ possible to use HTTP for WLST:

wls:/offline> connect('weblogic','welcome1','http://localhost:7001')
Connecting to http://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server "AdminServer" that belongs to domain "simon".
Warning: An insecure protocol was used to connect to the 
server. To ensure on-the-wire security, the SSL port or 
Admin port should be used instead.

Using a Network Channel

Alternatively if you want to separate the admin traffic but not use SSL (which would be enforced e.g. by using the administration port feature of WebLogic), you could create a network channel under Admin Server / Protocols / Channels for the t3 protocol, e.g. on port 8888 and enable “Tunneling” for that channel. Note that http is already enabled for the channel but this is not enough, you must enable tunneling.

Screen Shot 2015-03-02 at 10.15.29

 

Administration Port

The third and most secure possibility of course is using tunneling in combination with the administration port.

 

Comments:

– You do not need the administration port for using WLST with HTTP.

– It’s not required to change WLST from t3 to HTTP. This posting only shows how it can be done if one of the reasons above apply to you.

– Changing other clients from t3 to IIOP or so, e.g. JMS clients or standalone Java clients using RMI typically has more implications which are not discussed here.

 

More?

If you want to learn more about the basics WebLogic scripting tool I recommend to start with the following web cast.

WebLogic Startup Customization: setUserOverrides.sh

Many people modify the setDomainEnv.sh file that specifies the core settings for a WebLogic domain, e.g. for adding debug or monitoring ports or additional switches for the JVM:

DOMAIN_HOME/bin/setDomainEnv.sh

I confess, I do the same for quick and dirty hacks, yet changes here will be overwritten during a domain upgrade. It’s much better to put such changes into the following config file:

DOMAIN_HOME/bin/setUserOverrides.sh

Your changes will remain even when updating a domain, also they will be respected by pack/unpack. Check out the official Oracle documentation.