199 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
IBM API Connect - Adding IBM DataPower Gateway into the mix - SOMA import failed
Thu, Aug 17th 2017 18
What's the opposite of "cat" ? Another in the "I did not know that" series
Wed, Aug 16th 2017 104
Getting my head around REST APIs
Tue, Aug 15th 2017 100
IBM DataPower Gateway - SSH now working
Tue, Aug 15th 2017 33
IBM DataPower Gateway on Docker - So far, now (mostly) so good
Tue, Aug 15th 2017 28
IBM DataPower Gateway on Docker - Remember the memory
Tue, Aug 15th 2017 36
And more IBM DataPower Gateway - SSH this time around
Tue, Aug 15th 2017 18
Top 10
What's the opposite of "cat" ? Another in the "I did not know that" series
Wed, Aug 16th 2017 104
Getting my head around REST APIs
Tue, Aug 15th 2017 100
IBM API Connect - still learning how to say "Doh!"
Mon, Aug 14th 2017 57
Transport Layer Security (TLS) 1.2 and SoapUI
Fri, Jun 12th 2015 43
Securing the Database - IBM DB2 10.5 and Transport Layer Security 1.2
Wed, Jun 3rd 2015 40
Executing external Python/Jython scripts from within WebSphere Application Server's wsadmin tool
Thu, Feb 27th 2014 37
IBM DataPower Gateway on Docker - Remember the memory
Tue, Aug 15th 2017 36
IBM DataPower Gateway - SSH now working
Tue, Aug 15th 2017 33
Hmmm, macOS Sierra and XQuartz and X11
Thu, Oct 27th 2016 32
WAS - How to clear the WebSphere class caches
Mon, Feb 10th 2014 31


Just because we can doesn't mean we should - Serving Static Content from WebSphere Application Server's Web Container
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
   

This ties up with something about which I've been talking with one of my colleagues.

Using my BPM 8.5.7 VM, I created an HTML file: -

Hello.html

<html>
<body>
<head>
<h1>
Hello World!
</h1>
</head>
</body>
</html>

here: -

/opt/ibm/WebSphereProfiles/AppSrv01/installedApps/PCCell1/IBM_BPM_Portal_AppCluster.ear/process-portal.war

This location hosts the Heritage Process Portal, which has two URIs: -

 
The first URI - /portal - actually references a different WAR file ( process-portal-support.war ) whereas the second URI - /HeritagePortal - references this WAR ( process-portal.war ).

Therefore, with my HTML file in this location: -

/opt/ibm/WebSphereProfiles/AppSrv01/installedApps/PCCell1/IBM_BPM_Portal_AppCluster.ear/process-portal.war

I can hit the following URL: -


and see my page: -

 

Bottom line, this turns WAS into a rather expensive HTTP server, but we can put static content within a WAR, purely in the interests of research and development :-)


---------------------
http://portal2portal.blogspot.com/2017/02/just-because-we-can-doesnt-mean-we.html
Feb 08, 2017
6 hits



Recent Blog Posts
18
IBM API Connect - Adding IBM DataPower Gateway into the mix - SOMA import failed
Thu, Aug 17th 2017 1:39p   Dave Hay
I've been tinkering with an IBM API Connect 5.0.7.2 implementation on my Mac, running all three VMs; the API Manager, the Developer Portal AND the DataPower Gateway on the same box.However, I saw this: -when attempting to integrate APIC and IDG.I dumped out the APIC CMC logs: -debug postmortem export sftp 10.10.2.3 user fred file /tmp/foobar.tar.gzand, on the Mac, exploded the resulting tarball, giving me this: -log/cmc.out:2017-08-17 13:19:30.076 SEVERE [T-83] [com.ibm.datapower.gwapi.impl.Gat
104
What's the opposite of "cat" ? Another in the "I did not know that" series
Wed, Aug 16th 2017 9:33a   Dave Hay
Thanks to a friend, Paul Smith, for sharing this.He had a requirement - to take a list of items ( a text file ) and invert the list.Initially I thought he meant that he wanted to sort the list, which seemed simple.Here's a list: -cat list.txt CatRabbitDogGerbilHamsterHorseRhinoHippoAlosaurso here's the sorted list: -sort list.txt AlosaurCatDogGerbilHamsterHippoHorseRabbitRhinoand here's the reverse sort: -sort -r list.txt RhinoRabbitHorseHippoHamsterGerbilDogCatAlosaurbut NO, I didn't unders
100
Getting my head around REST APIs
Tue, Aug 15th 2017 4:50p   Dave Hay
Almost every product with which I've worked recently, including: -IBM Business Process ManagerIBM Operational Decision Manager (Rules)IBM API ConnectIBM WebSphere Liberty Profile (Collectives)IBM DataPower Gatewayleverages Representational State Transfer (REST) APIs, so I've got no excuse but to L-E-A-R-N.Whilst working through the DataPower tutorial here: -IBM DataPower Gateways - Getting Started - Your first configurationI needed to get a handle on how to drive REST, both in the context of t
33
IBM DataPower Gateway - SSH now working
Tue, Aug 15th 2017 2:53p   Dave Hay
Today has been a day for DataPower: -IBM DataPower Gateway on Docker - Remember the memoryAnd more IBM DataPower Gateway - SSH this time aroundIBM DataPower Gateway on Docker - So far, now (mostly) so goodSo I'm not yet sure why this works, but I was struggling to get SSH to work against an IBM DataPower Gateway Docker image/container.Whilst the configuration looked OK: -https://localhost:9090/configure/SSHServicethe service would refuse to become active, instead frustratingly staying as disabl
28
IBM DataPower Gateway on Docker - So far, now (mostly) so good
Tue, Aug 15th 2017 12:59p   Dave Hay
So this is how I pulled the image: -docker pull ibmcom/datapowerresulting in this: -docker imagesREPOSITORY TAG IMAGE ID CREATED SIZEibmcom/datapower latest 5d04824ab687 2 weeks ago 758MBand this is how I started the container for the first time: -docker run -it -v $PWD/config:/drouter/config -v $PWD/local:/drouter/local -e DATAPOWER_ACCEPT_LICENSE=true -e DATAPOWER_INTERACTIVE=true -p 9090:9090 -p 9
36
IBM DataPower Gateway on Docker - Remember the memory
Tue, Aug 15th 2017 11:56a   Dave Hay
I've been seeing a few interesting exceptions with an IBM DataPower Gateway Docker image, including: -20170815T101929.233Z [0x81000029][system][error] : tid(8175): Execution of webgui:///clixform.xsl stopped: file:///drouter/webgui/clixform.xsl:3530: Stack overflow20170815T101929.233Z [0x8100000f][system][critic] : tid(8175): Failed to save configuration to 'config:///auto-startup.cfg'20170815T101929.234Z [0x8100003c][mgmt][critic] domain(default): tid(8175): Domain configuration not saved.20
18
And more IBM DataPower Gateway - SSH this time around
Tue, Aug 15th 2017 11:15a   Dave Hay
Following this tutorial: -Getting Started - Command Line InterfaceI did this: -configure terminal:ssh 0.0.0.0 22write memorybut saw this: -20170815T105924.939Z [0x81000243][cli][error] : required property host is missing20170815T105924.939Z [][cli][error] : (startup-config:601): exitin the startup logs, and this: -20170815T110105.223Z [0x00b30004][mgmt][error] ssh(SSH Service): tid(111): Invalid local address20170815T110105.224Z [0x8100003f][mgmt][notice] domain(default): tid(111): Domain config
57
IBM API Connect - still learning how to say "Doh!"
Mon, Aug 14th 2017 4:23p   Dave Hay
I saw this: -when testing my API, using the local API Connect Toolkit ( apic edit ), even though the same API worked happily on IBM Bluemix.The suggested URL: -https://localhost:4001/DecisionService/rest/HelloWorldProject/1.0/HelloWorlddidn't work, and there was nothing listening on port 4001 on my Mac.Then I noticed this: -I clicked on the Play icon, which gave me this: -further validated thusly: -netstat -an | grep LISTENtcp46 0 0 *.4001 *.* LISTE
10
IBM BPM - Why won't my Coach Views show up in my Coach ?
Thu, Aug 3rd 2017 1:35p   Dave Hay
As stated previously: -IBM BPM - Consuming RESTful Services using Swagger and YAML - Learning lessonsIBM BPM and IBM ODM Rules - I continue to learn ...I'm tinkering with IBM BPM, learning more about the new Responsive Coach Framework in IBM BPM 8.5.7, and the Client-SIde Human Service capabilities.Having created an External Service and a Service Flow, I then want to create a UI to allow the user to enter their name, and get back a response.So I've created a Coach View, and marked it as a Temp
12
IBM BPM and IBM ODM Rules - I continue to learn ...
Thu, Aug 3rd 2017 11:26a   Dave Hay
Following my earlier post: -IBM BPM - Consuming RESTful Services using Swagger and YAML - Learning lessonsI'm continuing to tinker with IBM BPM, specifically using the web-based Process Designer, to integrate with a very simple Decision Service, called, of course, Hello World.For the record, I'm using IBM BPM on Cloud ( a SaaS offering ) against ODM Rules on Bluemix ( a PaaS offering ).Having created an External Service, using the YAML that I exported from the Decision Server ( as per the prev




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition