In the middle of this code:

   <wasEjbDeploy

inputJar="${project.build.directory}/${project.build.finalName}.jar"
      workingDirectory="${project.build.directory}/temp"

outputJar="${project.build.directory}/${project.build.finalName}.was5.jar"
      washome="${was.home}"
      trace="true"
      quiet="false" />

you can add a classpath="" or classpathref="" to add references to the
various jars that supply the missing classes.

I don't know the property that would supply that but suspect there is one
(hint, hint)

I was doing the same thing for WAS 6 and have maven just execing my
build.xml which has the commands there. I came up with the list of jars for
it.

-- Lee Meador

On 1/23/06, Marcel Schutte <[EMAIL PROTECTED]> wrote:
>
> Hi Malcolm,
>
> Are the EJB classes it is complaining about inside the jar you are
> trying to generate the deploy code for? I seem to recall that WAS
> doesn't like it when EJB classes are not directly in the jar but
> instead are referenced through a manifest classpath entry.
>
> Regards,
> Marcel
>
> --- Malcolm Wong Ho <[EMAIL PROTECTED]> wrote:
>
> >
> > I am getting this error, any idea what the cause is ?
> >
> > [wsejbdeploy] [*Error] ejbModule/ejbs/DefaultSessionHome.java(5):
> > CHKJ2907E: Type ejbs.DefaultSessionHome, or one of its supertypes,
> > cannot be reflected. Check the classpath.
> > [wsejbdeploy] [*Error] ejbModule/ejbs/DefaultSessionBean.java(5):
> > CHKJ2907E: Type ejbs.DefaultSessionBean, or one of its supertypes,
> > cannot be reflected. Check the classpath.
> > [wsejbdeploy] [*Error] ejbModule/ejbs/DefaultSession.java(5):
> > CHKJ2907E: Type ejbs.DefaultSession, or one of its supertypes, cannot
> > be reflected. Check the classpath.
> > [wsejbdeploy] [*Error] ejbModule/META-INF/ejb-jar.xml(Enterprise
> > bean: DefaultSession): CHKJ2802E: <ejb-class> class
> > ejbs.DefaultSessionBean, or one of its supertypes, cannot be
> > reflected. Check the classpath.
> > [wsejbdeploy] [*Error] ejbModule/META-INF/ejb-jar.xml(Enterprise
> > bean: DefaultSession): CHKJ2803E: <home> interface
> > ejbs.DefaultSessionHome, or one of its supertypes, cannot be
> > reflected. Check the classpath.
> > [wsejbdeploy] [*Error] ejbModule/META-INF/ejb-jar.xml(Enterprise
> > bean: DefaultSession): CHKJ2804E: <remote> interface
> > ejbs.DefaultSession, or one of its supertypes, cannot be reflected.
> > Check the classpath.
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]

Reply via email to