>FROM: Jim Williams
>That did it.
>Thankyou very much.
>Jim
>
>--- Radu Mateescu <<EMAIL: PROTECTED>> wrote:
>> is your jndi.properties in the client's classpath?

Can someone update the CVS:

    jboss/manual/src/guide/examples/template/build.xml

and the:

    http://prdownloads.sourceforge.net/jboss/JBoss.3.0Template.Project.zip?download

to fix this?  I had the same problem yesterday.  Because chapter 3 of  
JBoss.3.0QuickStart.pdf with this example are supposed to be a gentle 
introduction to JBoss 3.0 and xdoclet, it ought to work.  Since  build.xml 
does not put all needed files into web-client.war, what should have been 
a fun exercise turned into lengthy research session on the EJB2 spec, Ant 
and XDoclet.  

So far, I have hand-patched my web-client.war file, but I don't have the 
build.xml doing this yet because I am currently learning Ant.

I also noticed that jboss-web.xml and web-client.xml do not appear in the 
web-client.war using the current build.xml.  The error message was:

javax.naming.NamingException: ejb-ref: ejb/webtest/TestSession, no ejb-link match, use 
jndi-name in jboss-web.xml

This goes away when these two xml files are put into the web-inf directory 
of the web-client.war.

Paul

P.S.: BTW, I think it is really cool that JBoss emits section numbers of the 
EJB2 spec when something goes wrong, but these:

> > Bean   : test/TestMessage
> > Method : public void ejbCreate() throws
> > CreateException
> > Section: 15.7.3
> > Warning: The ejbCreate() method must define no
> > application exceptions.
> >
> > 09:57:50,316 INFO  [EJBDeployer]
> > Bean   : test/TestMessage
> > Method : public void ejbRemove() throws
> EJBException
> > Section: 15.7.5
> > Warning: The ejbRemove() method must define no
> > application exceptions.

are obviously off the track since neither EJBException nor CreateException are
application exceptions.



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to