PQ53049: WAS 4.0.1. FOR SOLARIS USING THE SAMPLES WITH AAT TOOL, CAN NOT GENERATE CODE FOR DEPLOYMENT.

APAR status
Closed as Vendor Solution.

Error description
WAS 4.0.1 AAT Tool and the using the WAS samples, on Solaris.
When you choose the option "Generate Code For Deployment", you
get the following error:
Error generating RMI code: RMIC Command returned RC=1
Keywords: Solaris, samples, 4.0.1., PQ53049
Local fix
Edit .jar through AAT and remove the .java files and save the
.jar files again. Then open the .ear file in the AAT and remove
the old .jar files (the ones that contain the .java files)
contained in the ear file and then add the new .jar files(with
out the .java files) into the ear file.
Then "Generate Code for deployment"
Problem summary Problem conclusion Temporary fix Comments
SUNBUG 4452838 had already been opened for an identical
problem and it was closed as "not a bug". Here's the reason
given by Sun:
.
    Looks like the .java files in the ejb jar have later
    timestamps than the .class files, so javac tries to
    compile the .java files within the ejb jar and fails.
    So this is a javac problem as well as a user error,
    and not an RI bug.
.
Looking at the "cmp11.jar" archive, this is true for
the class mentioned in the error, SimpleContainerManagedKey:
.
     915 Tue Mar 06 21:38:54 GMT+00:00 2001 (class file)
    1056 Tue Mar 06 21:38:56 GMT+00:00 2001  (java file)
.
The problem with javac trying to compile source code contained
in a Jar file was opened as SUNBUG 4098712. Unfortunately, Sun
decided to close this as "will not be fixed".
.
We can raise an escalation with Sun to try to get this problem
fixed, but you need to supply us with a business justification
that we can put to Sun.
.
As a workaround either remove .java files from the Jar file, or
make sure that .java files are older than their .class files.
APAR information
APAR number PQ53049
Reported component name WEBSPHERE AE SO
Reported component ID 5630A2202
Reported release 400
Status CLOSED ISV
PE NoPE
HIPER NoHIPER
Submitted date 2001-10-03
Closed date 2001-11-21
Last modified date 2001-11-21

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros

Fix information

Applicable component levels


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ53049
IBM Group: Software Group
Modified date: Nov 21, 2001