Topic
  • No replies
SystemAdmin
SystemAdmin
261 Posts

Pinned topic JDK13 PTF9 does not work w/WebSphere 4.0

‏2001-07-19T23:21:35Z |
See below thread from the ibm.software.websphere.application-server NG, regarding some incompatibility between the latest 1.3 JDK & WAS 4:

====
Yes, that was it, we were using a newer JDK:

java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cn130-20010609 (JIT enabled:
jitc))

After installing the JDK that came w/WAS4, the deploy now works.

Thanks for the tip.

Now, anyone care to explain why the newer 1.3 JDK won't work w/WAS 4 (no one
decided to regression test against IBM's next generation e-business
platform)?

  • Eric

"David Artus" <artusd@nospamuk.ibm.nospamcom> wrote in message
news:3B575E1F.1A89C1FF@nospamuk.ibm.nospamcom...

Well, it worked for me when I tried it.

What do you mean when you say JDK 1.3 ptf 9? I'm using the version delivered
with WAS itself. I see the following version:

C:/WebSphere4AEs/AppServer/java/bin ./java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cn130-20010502w (JIT enabled:
jitc

))

If by any chance you are using some other version, please try again
with the version WAS was validated against.

Eric Yu wrote:

> Ken:
>
> From my developer who was working on this, we are using only IBM provided
> JARs, included with WAS4 as well as from the InfoCenter tutorial:
>
> >>>
>
http://www-4.ibm.com/software/webservers/appserv/doc/v40/aes/infocenter/was/
> 0601_SimpleSessionBean_AES.html
>
> This involves writing no code; the starting point is a prebuilt jar file
> (SimpleSessionEBJ10.jar) downloaded from infocenter.
>
> Can also get the same error (4 times, once for each sample EJB) by
> uninstalling Samples.ear and attempting to reinstall. Obviously this also
> involves no code or objects other than those provided by IBM.
> <<<
>
> BTW, we are on Win2K SP2, and JDK 1.3 PTF9.
>
> - Eric
>
> "Ken Hygh" <kenhygh@nc.rr.com> wrote in message
> news:3B562EAD.D693CAB8@nc.rr.com...
> Eric,
> Just a WAG, but do you have a non-Serializable object passed to your EJB
as
> a
> parameter?
>
> Ken
>
> Eric Yu wrote:
>
> > When trying to generate code for deployment against an EAR in the
> > Application Assembly Tool, we get the following [ this is when going
thru
> > the Tutorial: "Session bean assembly, configuration, and deployment
> > tutorial" ]:
> >
> > Cleanup the expanded directory C:\...\TEMP\SimpleSession_ear
> > Deploy module EJB11.jar
> > java.lang.VerifyError: (class:
> > com/ibm/eclipse/internal/core/plugins/model/ModelParser, method: <init>
> > signature: (Lcom/ibm/eclipse/internal/core/plugins/model/IFactory;)V)
> > Incompatible object argument for method call
> > Starting workbench.
> > at
> >
>
com.ibm.eclipse.internal.core.plugins.RegistryManager.processManifestFile(Re
> > gistryManager.java:101)
> > Shutting down workbench.
> > at
> >
>
com.ibm.eclipse.internal.core.plugins.RegistryManager.processManifestFiles(R
> > egistryManager.java:128)
> > at
> >
>
com.ibm.eclipse.internal.core.plugins.RegistryManager.loadRegistry(RegistryM
> > anager.java:67)
> > at
> >
>
com.ibm.eclipse.internal.core.runtime.InternalPlatform.loaderStartup(Interna
> > lPlatform.java:356)
> > at java.lang.reflect.Method.invoke(Native Method)
> > at com.ibm.eclipse.core.boot.BootLoader.startup(BootLoader.java:853)
> > at
> >
>
com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.startup(BatchDeploy.java:87)
> > at com.ibm.etools.ejbdeploy.EJBDeploy.startup(EJBDeploy.java:254)
> > at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:57)
> > at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:195)
> > Delete undeployed module file
> C:\...\TEMP\SimpleSession_ear\EJB11_source.jar
> > Save the deployed modules as EAR file
> > J:\...\SimpleSession\Deployed_SimpleSession.ear
> >
> > When performing a Verify, we get:
> >
> > Exception:
> > java.lang.ClassCastException:
> > com.ibm.etools.client.impl.ApplicationClientImpl at
> >
>
com.ibm.etools.validation.ear.EarValidator.validateRefs(EarValidator.java:22
> > 2) at
> >
com.ibm.etools.validation.ear.EarValidator.validate(EarValidator.java:54)
> at
> >
com.ibm.etools.validation.ear.EarValidator.validate(EarValidator.java:63)
> at
> >
>
com.ibm.etools.validation.ValidatorLauncher.start(ValidatorLauncher.java:52)
> > at
> >
com.ibm.ejs.util.mof.ArchiveValidator.validate(ArchiveValidator.java:122)
> at
> >
>
com.ibm.ejs.util.mof.ArchiveValidator.validateEARFile(ArchiveValidator.java:
> > 52) at
> > com.ibm.ejs.util.mof.ArchiveValidator.validate(ArchiveValidator.java:28)
> at
> >
>
com.ibm.ejs.assembly.gui.command.VerifyCommand.validate(VerifyCommand.java:2
> > 2) at
> > java.lang.reflect.Method.invoke(Native Method) at
> > com.ibm.ejs.assembly.gui.command.BaseCommand.run(BaseCommand.java:84) at
> >
>
com.ibm.ejs.sm.client.command.ThreadPool$PooledThread.run(ThreadPool.java:89
> > )
> > com.ibm.etools.validation.ValidationException: CHKJ1000E: Validation
> failed:
> > at
> >
com.ibm.etools.validation.ear.EarValidator.validate(EarValidator.java:72)
> at
> >
>
com.ibm.etools.validation.ValidatorLauncher.start(ValidatorLauncher.java:52)
> > at
> >
com.ibm.ejs.util.mof.ArchiveValidator.validate(ArchiveValidator.java:122)
> at
> >
>
com.ibm.ejs.util.mof.ArchiveValidator.validateEARFile(ArchiveValidator.java:
> > 52) at
> > com.ibm.ejs.util.mof.ArchiveValidator.validate(ArchiveValidator.java:28)
> at
> >
>
com.ibm.ejs.assembly.gui.command.VerifyCommand.validate(VerifyCommand.java:2
> > 2) at
> > java.lang.reflect.Method.invoke(Native Method) at
> > com.ibm.ejs.assembly.gui.command.BaseCommand.run(BaseCommand.java:84) at
> >
>
com.ibm.ejs.sm.client.command.ThreadPool$PooledThread.run(ThreadPool.java:89
> > )
> > java.lang.reflect.InvocationTargetException:
> > com.ibm.etools.validation.ValidationException: CHKJ1000E:
> > Validation failed: at
> >
com.ibm.etools.validation.ear.EarValidator.validate(EarValidator.java:72)
> at
> >
>
com.ibm.etools.validation.ValidatorLauncher.start(ValidatorLauncher.java:52)
> > at
> >
com.ibm.ejs.util.mof.ArchiveValidator.validate(ArchiveValidator.java:122)
> at
> >
>
com.ibm.ejs.util.mof.ArchiveValidator.validateEARFile(ArchiveValidator.java:
> > 52) at
> > com.ibm.ejs.util.mof.ArchiveValidator.validate(ArchiveValidator.java:28)
> at
> >
>
com.ibm.ejs.assembly.gui.command.VerifyCommand.validate(VerifyCommand.java:2
> > 2) at
> > java.lang.reflect.Method.invoke(Native Method) at
> > com.ibm.ejs.assembly.gui.command.BaseCommand.run(BaseCommand.java:84) at
> >
>
com.ibm.ejs.sm.client.command.ThreadPool$PooledThread.run(ThreadPool.java:89
> > )
> >
> > Any ideas?
> >
> > Thanks,
> > Eric
===
http://att1.html