You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Richard S. Huntrods" <hu...@nucleus.com> on 2002/02/14 00:31:35 UTC
Silly little error with JBoss-Tomcat and EJB's...
I have a silly little error trying to compile a java program that
implements EJBs and is to run on Tomcat / JBoss.
The compiler will not compile the source code - complaining that:
import javax.ejb.EJBObject;
does not exist. I've found it in the J2EE javadocs (on Suns web site),
and have (I thought) set up my compile class path correctly (it uses the
classes in java1.3.1/lib, java1.3.1/ext and JBoss/lib/ext.
Has this happened to anyone, and what was the fix? OR... what java
archive contains these classes from "javax.ejb"? Note - other classes
compile just fine, and they also call "javax.ejb" classes - so most are
being found - just not EJBObject.
Thanks,
-Richard
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Silly little error with JBoss-Tomcat and EJB's...
Posted by "David M. Karr" <dm...@earthlink.net>.
>>>>> "Richard" == Richard S Huntrods <hu...@nucleus.com> writes:
Richard> I have a silly little error trying to compile a java program that
Richard> implements EJBs and is to run on Tomcat / JBoss.
Richard> The compiler will not compile the source code - complaining that:
Richard> import javax.ejb.EJBObject;
Richard> does not exist. I've found it in the J2EE javadocs (on Suns web site),
Richard> and have (I thought) set up my compile class path correctly (it uses the
Richard> classes in java1.3.1/lib, java1.3.1/ext and JBoss/lib/ext.
Richard> Has this happened to anyone, and what was the fix? OR... what java
Richard> archive contains these classes from "javax.ejb"? Note - other classes
Richard> compile just fine, and they also call "javax.ejb" classes - so most are
Richard> being found - just not EJBObject.
This class appears to be in "$JBOSS_HOME/lib/ext/jboss-j2ee.jar". You might as
well put all jars in "$JBOSS_HOME/lib/ext" into your classpath.
--
===================================================================
David M. Karr ; Java/J2EE/XML/Unix/C++
dmkarr@earthlink.net
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>