This error is not a failure to run a 32 bit application.  The 32 bit tools must 
be present since the 32 application is working.  There is a failure to call a 
32 bit library from a 64 bit program.  It is not possible to call a 32 bit 
library from a 64 bit program.

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Mike Hamner
Sent: Wednesday, July 02, 2008 7:05 AM
To: [email protected]
Subject: Re: 32-bit Application with 64-bit WAS Linux z-Series(64-bit
platform)


My info may not be totally up-to-date but my understanding is that you need
to install the System Call Emulation layer that allows 31/32 bit programs
to run, unaltered, on a 64 bit kernel.  There is also a set of s390 (31
bit) tools that come on the CD's to instantiate a 31 bit shell environment
as well as allowing you to perform many other functions.

Michael E. Hamner, CDCP
IT Architect/Engineer
Chief Technology Office
National Business Center
U.S. Department of Inerior
7301 W. Mansfield Ave.
Denver Co. 80235
303-969-6619



             Nidhi Behl
             <[EMAIL PROTECTED]
             SYS.COM>                                                   To
             Sent by: Linux on         [email protected]
             390 Port                                                   cc
             <[EMAIL PROTECTED]
             IST.EDU>                                              Subject
                                       32-bit Application with 64-bit WAS
                                       Linux z-Series(64-bit platform)
             06/30/2008 11:39
             PM


             Please respond to
             Linux on 390 Port
             <[EMAIL PROTECTED]
                 IST.EDU>






We have a 32-bit web application deployed on Websphere Application
server 6.0.2 on 64-bit SuSE Linux z-series 10 Platform. The Application
server is configured with IBM Http Server 2.0.47 which comes with this
WAS installer only.

If we access an application which is deployed in WAS, it works fine, but
when we try to execute a test scenario which uses this application, it
fails.

The WAS SystemOut.log shows the following error:

Error initializing AppLogger
Message: Failed to load MyErrlog
Exception:
com.Myerrlog.LogException: Failed to load Myerrlog
            at
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:
274)
            at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:480)
            at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2905)
            at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
            at
com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
            at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:182
9)
            at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:8
4)
            at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio
n(HttpInboundLink.java:469)
            at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio
n(HttpInboundLink.java:408)
            at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLi
nk.java:286)
            at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscr
iminaters(NewConnectionInitialReadCallback.java:201)
            at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(Ne
wConnectionInitialReadCallback.java:103)
            at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMa
nager.java:566)
            at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.
java:619)
            at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.
java:952)
            at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager
.java:1039)
            at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1455)
Caused by: java.lang.UnsatisfiedLinkError:
/space2/ruchi/bin/myerrlog.so: /space2/ruchi/bin/libmyerrlog.so: wrong
ELF class: ELFCLASS32
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2147)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2025)
            at java.lang.Runtime.loadLibrary0(Runtime.java:824)
            at java.lang.System.loadLibrary(System.java:908)
            ... 27 more

Please suggest that can we run a 32-bit application with 32-bit Web
Server and 64-bit Application server as the logs above seem to be
stating that the combination being used is not supported, If yes, is
there some workaround to overcome it??

Thanks,
Nidhi


**************** CAUTION - Disclaimer ***************** This e-mail
contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the
use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further,
you are not to copy, disclose, or distribute this e-mail or its contents
to any other person and any such actions are unlawful. This e-mail may
contain viruses. Infosys has taken every reasonable precaution to
minimize this risk, but is not liable for any damage you may sustain as
a result of any virus in this e-mail. You should carry out your own
virus checks before opening the e-mail or attachment. Infosys reserves
the right to monitor and review the content of all messages sent to or
from this e-mail address. Messages sent to or from this e-mail address
may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

----------------------------------------------------------------------
For MVS-OE subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO MVS-OE

----------------------------------------------------------------------
For MVS-OE subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO MVS-OE

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

__________________________________________________________________________________________________

CONFIDENTIALITY NOTICE: This email from the State of California is for the sole 
use of the intended recipient and may contain confidential and privileged 
information.  Any unauthorized review or use, including disclosure or 
distribution, is prohibited.  If you are not the intended recipient, please 
contact the sender and destroy all copies of this email.  

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to