IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
#Power
#Operatingsystems
#Servers
 View Only

Different format after upgrading to Websphere v9

  • 1.  Different format after upgrading to Websphere v9

    Posted 09/05/23 05:28 AM

    Hi,

    I did an upgrade from Websphere v8.5 to v9 and migrated a web application. The application is working but its output changed from unformatted to formatted. This application services requests from time attendance punch clocks and the output is required to be unformated as below, without CR or LF.

    000000 11963 ZAMMIT AMY 0000000 11629 GATT SILVANA 0000000 11964 MANGION CHANELLE 00000000 01238 ZAHRA MICHAEL JUNIOR 00000000 01302 ABELA LUKE 00000000 01535 BONDIN GEORGE GERALD 00000000 01760 BIANCHI JUSTIN 00000000 01762 DENTICE CIRCO ANDREA 00000000 01781 BARONE IRENE 00000000 01785 AZZOPARDI CLAYTON 00000000 01787 CLEMENTI ADELE 00000000 01818 PAUNOVICH NADICA

    After the migration of the application the output changed to 

    000000              11963   ZAMMIT AMY               
    0000000             11629   GATT SILVANA             
    0000000             11964   MANGION CHANELLE         
    020195C7            10872   CILIA CLINT              
    020595C7            10488   ORLANDO STEPHEN          
    020D90C7            10206   INCORVAJA DENNIS         
    02109FC7            10743   CUCCIARDI ANTHONY        
    021689C7            10151   AQUILINA CHRISTINE

    Does anyone know reason?  or maybe you can pinpoint configuration statement that is responsible from such output?

    When I compare HTTPD.conf files I don't see any difference between the applications on V8.5 or v9 except obviously the statements in relation to v9.

    Below is the HTTPD.conf on v9 where the list output is formatted:

     
      1    LoadModule mod_ibm_si /QSYS.LIB/QHTTPSVR.LIB/QZISI.SRVPGM
      2    AppServer *ALL Start End
      3    WASInstance /QIBM/UserData/WebSphere/AppServer/V9/Base/profiles/test_ta 5733W90 2
      4    WebSpherePluginConfig /QIBM/UserData/WebSphere/AppServer/V9/Base/profiles/test_ta/config/cells/BULEAS41_test_ta/nodes/BULEAS4_test_ta/servers/IHS_MECSZE/plugin-cfg.xml
      5    LoadModule was_ap20_module /QSYS.LIB/QWAS9A.LIB/QSVTAP24.SRVPGM
      6    # HTTP server (powered by Apache) configuration
      7    DocumentRoot /www/mecsze/htdocs
      8    ServerRoot /www/mecsze
      9    Options -ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes -IncludesNoExec -Indexes -MultiViews
      10    Listen *:9090
      11    LogFormat "%h %T %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
      12    LogFormat "%{Cookie}n \"%r\" %t" cookie
      13    LogFormat "%{User-agent}i" agent
      14    LogFormat "%{Referer}i -> %U" referer
      15    LogFormat "%h %l %u %t \"%r\" %>s %b" common
      16    CustomLog logs/access_log combined
      17    SetEnvIf "User-Agent" "Mozilla/2" nokeepalive
      18    SetEnvIf "User-Agent" "JDK/1\.0" force-response-1.0
      19    SetEnvIf "User-Agent" "Java/1\.0" force-response-1.0
      20    SetEnvIf "User-Agent" "RealPlayer 4\.0" force-response-1.0
      21    SetEnvIf "User-Agent" "MSIE 4\.0b2;" nokeepalive
      22    SetEnvIf "User-Agent" "MSIE 4\.0b2;" force-response-1.0
      23    <Directory />
      24         AllowOverride None
      25         Require all denied
      26    </Directory>
      27    <Directory /www/mecsze/htdocs>
      28         AllowOverride None
      29         Require all granted
      30    </Directory>

    And below is the HTTPD.conf from v8.5 where the list output is not formatted as it should be:

     L o a d M o d u l e   m o d _ i b m _ s i   / Q S Y S . L I B / Q H T T P S V R . L I B / Q Z I S I . S R V P G M 
     A p p S e r v e r   * A L L   S t a r t   E n d 
     W A S I n s t a n c e   / Q I B M / U s e r D a t a / W e b S p h e r e / A p p S e r v e r / V 8 5 / E x p r e s s / p r o f i l e s / t e s t _ t a   5 7 3 3 W 8 5   1 
     W e b S p h e r e P l u g i n C o n f i g   / Q I B M / U s e r D a t a / W e b S p h e r e / A p p S e r v e r / V 8 5 / E x p r e s s / p r o f i l e s / t e s t _ t a / c o n f i g / c e l l s / B U L E A S 4 _ t e s t _ t a / n o d e s / B U L E A S 4 _ t e s t _ t a / s e r v e r s / I H S _ M E C S Z E / p l u g i n - c f g . x m l 
     L o a d M o d u l e   w a s _ a p 2 0 _ m o d u l e   / Q S Y S . L I B / Q W A S 8 5 A . L I B / Q S V T A P 2 4 . S R V P G M 
     #   H T T P   s e r v e r   ( p o w e r e d   b y   A p a c h e )   c o n f i g u r a t i o n 
     D o c u m e n t R o o t   / w w w / m e c s z e / h t d o c s 
     S e r v e r R o o t   / w w w / m e c s z e 
     O p t i o n s   - E x e c C G I   - F o l l o w S y m L i n k s   - S y m L i n k s I f O w n e r M a t c h   - I n c l u d e s   - I n c l u d e s N o E x e c   - I n d e x e s   - M u l t i V i e w s 
     L i s t e n   * : 9 0 9 0 
     L o g F o r m a t   " % h   % T   % l   % u   % t   \ " % r \ "   % > s   % b   \ " % { R e f e r e r } i \ "   \ " % { U s e r - A g e n t } i \ " "   c o m b i n e d 
     L o g F o r m a t   " % { C o o k i e } n   \ " % r \ "   % t "   c o o k i e 
     L o g F o r m a t   " % { U s e r - a g e n t } i "   a g e n t 
     L o g F o r m a t   " % { R e f e r e r } i   - >   % U "   r e f e r e r 
     L o g F o r m a t   " % h   % l   % u   % t   \ " % r \ "   % > s   % b "   c o m m o n 
     C u s t o m L o g   l o g s / a c c e s s _ l o g   c o m b i n e d 
     S e t E n v I f   " U s e r - A g e n t "   " M o z i l l a / 2 "   n o k e e p a l i v e 
     S e t E n v I f   " U s e r - A g e n t "   " J D K / 1 \ . 0 "   f o r c e - r e s p o n s e - 1 . 0 
     S e t E n v I f   " U s e r - A g e n t "   " J a v a / 1 \ . 0 "   f o r c e - r e s p o n s e - 1 . 0 
     S e t E n v I f   " U s e r - A g e n t "   " R e a l P l a y e r   4 \ . 0 "   f o r c e - r e s p o n s e - 1 . 0 
     S e t E n v I f   " U s e r - A g e n t "   " M S I E   4 \ . 0 b 2 ; "   n o k e e p a l i v e 
     S e t E n v I f   " U s e r - A g e n t "   " M S I E   4 \ . 0 b 2 ; "   f o r c e - r e s p o n s e - 1 . 0 
     < D i r e c t o r y   / > 
           A l l o w O v e r r i d e   N o n e 
           R e q u i r e   a l l   d e n i e d 
     < / D i r e c t o r y > 
     < D i r e c t o r y   / w w w / m e c s z e / h t d o c s > 
           A l l o w O v e r r i d e   N o n e 
           R e q u i r e   a l l   g r a n t e d 
     < / D i r e c t o r y > 

    Thank you

    Edward



    ------------------------------
    Edward Camilleri
    ------------------------------