RE: REFERENCE WAR CLASSES FROM EJB-JAR FILES

2001-03-18 Thread Gary Shea

Mike Cannon-Brookes ([EMAIL PROTECTED]) wrote:

 This is J2EE-defined behaviour.

Can you recall where you found that?  I haven't run into it, and
I want to see what else I missed!

Thanks,

Gary


 The lib dir in orion-application.xml is NOT j2ee-defined behaviour ;)

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Gary Shea
  Sent: Sunday, March 18, 2001 6:00 AM
  To: Orion-Interest
  Subject: RE: REFERENCE WAR CLASSES FROM EJB-JAR FILES
 
 
  Mike Cannon-Brookes ([EMAIL PROTECTED]) wrote:
   Yes, put your common classes in the EJB JAR.
  
   EJB JAR's can't see classes in your WAR.
   WAR's can see classes in your EJB JAR.
  
   -mike
 
  I didn't know that... cool!  Is that a J2EE-defined behaviour,
  or is it orion-specific?
 
  Yet another solution is possible with Orion;
  I am using an entry in the orion-application.xml to specify a library
  directory.  Any jars placed in that directory are visible to the
  entire application.  Kind of like the orion/lib directory but on
  the application level.
 
  Gary
 
  
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Josh P Motto
Sent: Saturday, March 17, 2001 10:21 PM
To: Orion-Interest
Subject: REFERENCE WAR CLASSES FROM EJB-JAR FILES
   
   
Hello,
Can anyone help me with this quick question?
   
I developed several javabeans (not ejb) that I use to pass data
to and from
my EJBs from servlets and Custom Tag Libraries... IE
  address.java contains
the standard address address fields like street city, etc.
   
I store these "pass by value" regular javabeans in the same
  directory tree
as my servlets - and they get compiled successfully into a
  war file, and
then I compile my EJBs into several Jar files, and finally into
an EAR file.
   
However, when starting orion, I get a NoClassDefFoundError
  indicating that
the EJB jar file cannot succesully import the javabean package
into the from
the web war file into the ejb.jar file.
   
My question:  IS IT POSSIBLE TO IMPORT (reference) WEB WAR CLASSES (IE
REGULAR JAVABEANS) STORED IN THE SAME FOLDER AS SERVLETS INTO
  EJBS (ie war
file)?
   
THANK YOU VERY MUCH
   
   
   
HERE IS THE ERROR
   
Auto-deploying usr-ejb.jar (No previous deployment found)...
java.lang.NoClassDefFoundError: com/taskpro/web/usr/UsrLoginCredentia
lsPBV
at java.lang.Class.getMethods0(Native Method)
at java.lang.Class.getMethods(Class.java:742)
at com.evermind.server.ejb.compilation.gb.ah8(JAX)
at com.evermind.server.ejb.compilation.fm.s_(JAX)
at com.evermind.server.ejb.compilation.ga.s_(JAX)
at com.evermind.server.ejb.EJBContainer.bz(JAX)
at com.evermind.server.Application.bz(JAX)
at com.evermind.server.Application.gf(JAX)
at com.evermind.server.ApplicationServer.rv(JAX)
at com.evermind.server.ApplicationServer.aqb(JAX)
at com.evermind.server.ApplicationServer.gf(JAX)
at com.evermind.server.hg.run(JAX)
at java.lang.Thread.run(Thread.java:484)
at com.evermind.util.f.run(JAX)
   
   
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
   
   
  
  
  
 
 
 








RE: REFERENCE WAR CLASSES FROM EJB-JAR FILES

2001-03-17 Thread Mike Cannon-Brookes

Yes, put your common classes in the EJB JAR.

EJB JAR's can't see classes in your WAR.
WAR's can see classes in your EJB JAR.

-mike

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Josh P Motto
 Sent: Saturday, March 17, 2001 10:21 PM
 To: Orion-Interest
 Subject: REFERENCE WAR CLASSES FROM EJB-JAR FILES


 Hello,
 Can anyone help me with this quick question?

 I developed several javabeans (not ejb) that I use to pass data
 to and from
 my EJBs from servlets and Custom Tag Libraries... IE address.java contains
 the standard address address fields like street city, etc.

 I store these "pass by value" regular javabeans in the same directory tree
 as my servlets - and they get compiled successfully into a war file, and
 then I compile my EJBs into several Jar files, and finally into
 an EAR file.

 However, when starting orion, I get a NoClassDefFoundError indicating that
 the EJB jar file cannot succesully import the javabean package
 into the from
 the web war file into the ejb.jar file.

 My question:  IS IT POSSIBLE TO IMPORT (reference) WEB WAR CLASSES (IE
 REGULAR JAVABEANS) STORED IN THE SAME FOLDER AS SERVLETS INTO EJBS (ie war
 file)?

 THANK YOU VERY MUCH



 HERE IS THE ERROR

 Auto-deploying usr-ejb.jar (No previous deployment found)...
 java.lang.NoClassDefFoundError: com/taskpro/web/usr/UsrLoginCredentia
 lsPBV
 at java.lang.Class.getMethods0(Native Method)
 at java.lang.Class.getMethods(Class.java:742)
 at com.evermind.server.ejb.compilation.gb.ah8(JAX)
 at com.evermind.server.ejb.compilation.fm.s_(JAX)
 at com.evermind.server.ejb.compilation.ga.s_(JAX)
 at com.evermind.server.ejb.EJBContainer.bz(JAX)
 at com.evermind.server.Application.bz(JAX)
 at com.evermind.server.Application.gf(JAX)
 at com.evermind.server.ApplicationServer.rv(JAX)
 at com.evermind.server.ApplicationServer.aqb(JAX)
 at com.evermind.server.ApplicationServer.gf(JAX)
 at com.evermind.server.hg.run(JAX)
 at java.lang.Thread.run(Thread.java:484)
 at com.evermind.util.f.run(JAX)


 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com







RE: REFERENCE WAR CLASSES FROM EJB-JAR FILES

2001-03-17 Thread Gary Shea

Mike Cannon-Brookes ([EMAIL PROTECTED]) wrote:
 Yes, put your common classes in the EJB JAR.

 EJB JAR's can't see classes in your WAR.
 WAR's can see classes in your EJB JAR.

 -mike

I didn't know that... cool!  Is that a J2EE-defined behaviour,
or is it orion-specific?

Yet another solution is possible with Orion;
I am using an entry in the orion-application.xml to specify a library
directory.  Any jars placed in that directory are visible to the
entire application.  Kind of like the orion/lib directory but on
the application level.

Gary


  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Josh P Motto
  Sent: Saturday, March 17, 2001 10:21 PM
  To: Orion-Interest
  Subject: REFERENCE WAR CLASSES FROM EJB-JAR FILES
 
 
  Hello,
  Can anyone help me with this quick question?
 
  I developed several javabeans (not ejb) that I use to pass data
  to and from
  my EJBs from servlets and Custom Tag Libraries... IE address.java contains
  the standard address address fields like street city, etc.
 
  I store these "pass by value" regular javabeans in the same directory tree
  as my servlets - and they get compiled successfully into a war file, and
  then I compile my EJBs into several Jar files, and finally into
  an EAR file.
 
  However, when starting orion, I get a NoClassDefFoundError indicating that
  the EJB jar file cannot succesully import the javabean package
  into the from
  the web war file into the ejb.jar file.
 
  My question:  IS IT POSSIBLE TO IMPORT (reference) WEB WAR CLASSES (IE
  REGULAR JAVABEANS) STORED IN THE SAME FOLDER AS SERVLETS INTO EJBS (ie war
  file)?
 
  THANK YOU VERY MUCH
 
 
 
  HERE IS THE ERROR
 
  Auto-deploying usr-ejb.jar (No previous deployment found)...
  java.lang.NoClassDefFoundError: com/taskpro/web/usr/UsrLoginCredentia
  lsPBV
  at java.lang.Class.getMethods0(Native Method)
  at java.lang.Class.getMethods(Class.java:742)
  at com.evermind.server.ejb.compilation.gb.ah8(JAX)
  at com.evermind.server.ejb.compilation.fm.s_(JAX)
  at com.evermind.server.ejb.compilation.ga.s_(JAX)
  at com.evermind.server.ejb.EJBContainer.bz(JAX)
  at com.evermind.server.Application.bz(JAX)
  at com.evermind.server.Application.gf(JAX)
  at com.evermind.server.ApplicationServer.rv(JAX)
  at com.evermind.server.ApplicationServer.aqb(JAX)
  at com.evermind.server.ApplicationServer.gf(JAX)
  at com.evermind.server.hg.run(JAX)
  at java.lang.Thread.run(Thread.java:484)
  at com.evermind.util.f.run(JAX)
 
 
  _
  Do You Yahoo!?
  Get your free @yahoo.com address at http://mail.yahoo.com
 
 








RE: REFERENCE WAR CLASSES FROM EJB-JAR FILES

2001-03-17 Thread Mike Cannon-Brookes

This is J2EE-defined behaviour.

The lib dir in orion-application.xml is NOT j2ee-defined behaviour ;)

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Gary Shea
 Sent: Sunday, March 18, 2001 6:00 AM
 To: Orion-Interest
 Subject: RE: REFERENCE WAR CLASSES FROM EJB-JAR FILES


 Mike Cannon-Brookes ([EMAIL PROTECTED]) wrote:
  Yes, put your common classes in the EJB JAR.
 
  EJB JAR's can't see classes in your WAR.
  WAR's can see classes in your EJB JAR.
 
  -mike

 I didn't know that... cool!  Is that a J2EE-defined behaviour,
 or is it orion-specific?

 Yet another solution is possible with Orion;
 I am using an entry in the orion-application.xml to specify a library
 directory.  Any jars placed in that directory are visible to the
 entire application.  Kind of like the orion/lib directory but on
 the application level.

   Gary

 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Josh P Motto
   Sent: Saturday, March 17, 2001 10:21 PM
   To: Orion-Interest
   Subject: REFERENCE WAR CLASSES FROM EJB-JAR FILES
  
  
   Hello,
   Can anyone help me with this quick question?
  
   I developed several javabeans (not ejb) that I use to pass data
   to and from
   my EJBs from servlets and Custom Tag Libraries... IE
 address.java contains
   the standard address address fields like street city, etc.
  
   I store these "pass by value" regular javabeans in the same
 directory tree
   as my servlets - and they get compiled successfully into a
 war file, and
   then I compile my EJBs into several Jar files, and finally into
   an EAR file.
  
   However, when starting orion, I get a NoClassDefFoundError
 indicating that
   the EJB jar file cannot succesully import the javabean package
   into the from
   the web war file into the ejb.jar file.
  
   My question:  IS IT POSSIBLE TO IMPORT (reference) WEB WAR CLASSES (IE
   REGULAR JAVABEANS) STORED IN THE SAME FOLDER AS SERVLETS INTO
 EJBS (ie war
   file)?
  
   THANK YOU VERY MUCH
  
  
  
   HERE IS THE ERROR
  
   Auto-deploying usr-ejb.jar (No previous deployment found)...
   java.lang.NoClassDefFoundError: com/taskpro/web/usr/UsrLoginCredentia
   lsPBV
   at java.lang.Class.getMethods0(Native Method)
   at java.lang.Class.getMethods(Class.java:742)
   at com.evermind.server.ejb.compilation.gb.ah8(JAX)
   at com.evermind.server.ejb.compilation.fm.s_(JAX)
   at com.evermind.server.ejb.compilation.ga.s_(JAX)
   at com.evermind.server.ejb.EJBContainer.bz(JAX)
   at com.evermind.server.Application.bz(JAX)
   at com.evermind.server.Application.gf(JAX)
   at com.evermind.server.ApplicationServer.rv(JAX)
   at com.evermind.server.ApplicationServer.aqb(JAX)
   at com.evermind.server.ApplicationServer.gf(JAX)
   at com.evermind.server.hg.run(JAX)
   at java.lang.Thread.run(Thread.java:484)
   at com.evermind.util.f.run(JAX)
  
  
   _
   Do You Yahoo!?
   Get your free @yahoo.com address at http://mail.yahoo.com