Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WAS server won't start when using -d64 on Solaris

0 views
Skip to first unread message

Al.Ha...@fnf.com

unread,
Sep 14, 2007, 11:13:59 AM9/14/07
to
Hello all,

I ran a multi-threaded performance test outside of WebSphere 6.0.2.17.
When I passed -d64 to the JVM, I was shocked to find that the test ran 5 times faster.

So, I added the -d64 here:
Application servers > DDV > Process Definition > Java Virtual Machine >> Generic JVM arguments

and I got this message:

[osterme@demss008:/opt/IBM/WebSphere/AppServer/java/jre/bin]$ ./java -version -d64
execv(): No such file or directory
Error trying to exec /opt/IBM/WebSphere/AppServer/java/jre/bin/sparcv9/java.
Check if file exists and permissions are set correctly.
Failed to start a 64-bit JVM process from a 32-bit JVM.
Verify all necessary J2SE components have been installed.
(Solaris SPARC 64-bit components must be installed after 32-bit components.)

So then I downloaded and unpacked j2sdk-1_4_2_12-solaris-sparcv9.tar.Z. I then put the requested folder and files (sparcv9/*) into place.
That got rid of the above error when doing a -version from the prompt.
Success! well, not quite.

Now, my WAS server fails with MQ errors. This launches an avalanche of errors. See below.

To me, it seems like I need to make the "IBM enhancements" to sun's jdk available to the new 64bit modules.

I don't know how to do this or whether or not this would even work. For instance, are the "IBM enhancements" 32 or 64 bit specific?

Any suggestions would be most helpful.

Thanks,

--Erik Ostermueller


[9/14/07 10:43:00:213 EDT] 0000001f ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet SystemStart: java.lang.NoClassDefFoundEr
ror
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:68)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:498)
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:163)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:153)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:189)
at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:80)
at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:171)
at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.java:754)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:688)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:469)
at com.ibm.mq.MQSPIQueueManager.<init>(MQSPIQueueManager.java:52)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2468)
at com.ibm.mq.jms.MQConnection.createQMXA(MQConnection.java:1909)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:104)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:61)
at com.ibm.mq.jms.MQXAQueueConnection.<init>(MQXAQueueConnection.java:46)
at com.ibm.mq.jms.MQXAQueueConnectionFactory.createXAQueueConnection(MQXAQueueConnectionFactory.java:63)
at com.ibm.ejs.jms.JMSManagedQueueConnection.createConnection(JMSManagedQueueConnection.java:123)
at com.ibm.ejs.jms.JMSManagedConnection.<init>(JMSManagedConnection.java:274)
at com.ibm.ejs.jms.JMSManagedQueueConnection.<init>(JMSManagedQueueConnection.java:71)
at com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory.createManagedConnection(WSJMSManagedQueueConnectionFactory.java:96)
at com.ibm.ejs.jms.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:584)
at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1666)
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1439)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:2083)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:868)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:617)
at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQueueConnectionFactoryHandle.java:84)
at com.fnf.xes.tplegacy.advertise.ServiceAdvertiser.sendMessage(ServiceAdvertiser.java:91)
at com.fnf.xes.tplegacy.advertise.ServiceAdvertiser.advertiseAll(ServiceAdvertiser.java:167)
at com.fnf.xes.tplegacy.advertise.SystemStart.init(SystemStart.java:97)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:310)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1696)
at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:140)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:820)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:547)
at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:419)
at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:117)
at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:128)
at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:939)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:892)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:167)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:391)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1245)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1067)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:547)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:751)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:909)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2020)
at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)

at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)

[9/14/07 10:43:00:240 EDT] 0000001f WebExtensionP E Error occured while preparing theservlet for initialization. Check the error logs for details.
[9/14/07 10:43:00:243 EDT] 0000001f WebExtensionP E SRVE0026E: [Servlet Error]-[javax.servlet.ServletException: SRVE0207E: Uncaught initialization exceptio
n thrown by servlet
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:364)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1696)
at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:140)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:820)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:547)
at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:419)
at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:117)
at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:128)
at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:939)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:892)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:167)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:391)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1245)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1067)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:547)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:751)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:909)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2020)
at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
---- Begin backtrace for Nested Throwables
java.lang.NoClassDefFoundError
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:68)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:498)
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:163)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:153)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:189)
at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:80)
at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:171)
at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.java:754)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:688)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:469)
at com.ibm.mq.MQSPIQueueManager.<init>(MQSPIQueueManager.java:52)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2468)
at com.ibm.mq.jms.MQConnection.createQMXA(MQConnection.java:1909)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:104)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:61)
at com.ibm.mq.jms.MQXAQueueConnection.<init>(MQXAQueueConnection.java:46)
at com.ibm.mq.jms.MQXAQueueConnectionFactory.createXAQueueConnection(MQXAQueueConnectionFactory.java:63)
at com.ibm.ejs.jms.JMSManagedQueueConnection.createConnection(JMSManagedQueueConnection.java:123)
at com.ibm.ejs.jms.JMSManagedConnection.<init>(JMSManagedConnection.java:274)
at com.ibm.ejs.jms.JMSManagedQueueConnection.<init>(JMSManagedQueueConnection.java:71)
at com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory.createManagedConnection(WSJMSManagedQueueConnectionFactory.java:96)
at com.ibm.ejs.jms.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:584)
at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1666)
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1439)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:2083)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:868)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:617)


WebSphere Platform 6.0 [ND 6.0.2.17 cf170648.10] running with process name demss008Cell01\DefaultNode\DST and process id 533
Host Operating System is SunOS, version 5.10
Java version = 1.4.2_12, Java Compiler = null, Java VM name = Java HotSpot(TM) Client VM

Paul Ilechko

unread,
Sep 14, 2007, 11:29:14 AM9/14/07
to
Al.Ha...@fnf.com wrote:
> Hello all,
>
> I ran a multi-threaded performance test outside of WebSphere 6.0.2.17.
> When I passed -d64 to the JVM, I was shocked to find that the test ran 5 times faster.
>
> So, I added the -d64 here:
> Application servers > DDV > Process Definition > Java Virtual Machine >> Generic JVM arguments
>


There are separate versions of the IBM products for 64 bit.

Al.Ha...@fnf.com

unread,
Sep 14, 2007, 2:02:33 PM9/14/07
to
> There are separate versions of the IBM products for
> 64 bit.

Where can I get the 64 bit version?
Does that mean that WAS itself comes in 32 and 64 bit distributions?

Thanks,

--Erik

jtpape

unread,
Sep 14, 2007, 2:27:09 PM9/14/07
to
Yes it does.


John Pape
WebSphere Advisory Software Engineer

Paul Ilechko

unread,
Sep 14, 2007, 2:42:04 PM9/14/07
to
Al.Ha...@fnf.com wrote:
>> There are separate versions of the IBM products for
>> 64 bit.
>
> Where can I get the 64 bit version?


Same place you got the 32 bit version ...

Al.Ha...@fnf.com

unread,
Sep 17, 2007, 11:53:19 AM9/17/07
to
ok, thanks.

I'd like to find some detail (perhaps in the install logs?) that indicates whether we installed the 32 or 64 bit version of WAS.

I browsed the files is /opt/IBM/WebSphere/AppServer/logs, but there wasn't anything conclusive. Any ideas?

Nothing in the admin console screamed '32' or '64':

IBM WebSphere Application Server - ND, 6.0.2.17
Build Number: cf170648.10
Build Date: 11/29/06

0 new messages