[JBoss-user] [Beginners Corner] - Re: Shocked and stunned from JBOSS!

2004-03-23 Thread ahardy66
Hey Zeron, I've been there & done that. I spent a whole day on this one and related 
errors, and found the best solution was to tidy up my development environment so that 
the class path available when I compile is exactly the same or more restricted than 
the class path used by JBoss's class loader.

It meant taking my project apart and putting it back together as 3 seperate ones, but 
now I'm confident where the classes are going to be and I don't have to wing it 
anymore. 

Plus of course after spending so long hunting down the exception's cause, I will now 
for evermore associate 'class not found' with this problem :)

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827069#3827069";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827069>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Shocked and stunned from JBOSS!

2004-03-23 Thread zeron
Yes, NoClassDefFoundError is thrown to tell you that you are missing a class, and I 
don't know where to load it from...

In my case: 
AAAException extends BaseException

BaseException was not included. OK.
I am just wondering here, why can't the ClassLoader say: "I cannot find class 
definition for BaseException while trying to load AAAException " ???

It says: "I cannot find class definition for AAAException".
Misleading, ain't it??

And I guess the ClassLoader which is trying to load the missing class is one of the 
JBoss class loaders.. 
Pls, correct me if I'm wrong...

zeron



http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827063#3827063";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827063>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Shocked and stunned from JBOSS!

2004-03-23 Thread triathlon98
anonymous wrote : 
  | It was a very simple mistake, but I wonder.. how come the stack trace for the 
error did not contain any hint about the root class which is missing??? Guess JBoss 
needs to include the relevant errors in there, no?? :)
  | 

Nothing JBoss specific, this is just how Java works. The classloader tries to load the 
class and fails because not all required classes are found. This results on a 
ClassNofFoundException when trying to load named class. Complain to Sun...

Joachim

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827056#3827056";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827056>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Shocked and stunned from JBOSS!

2004-03-23 Thread zeron
Hello!
Thanx for the reply and help.
I like JBoss but I don't like the lack of docs for it... :)

triathlon98, thank you.
You guess was JUST right.  AAAException was extending another exception which I'm 
bundling in a seperate jar file.  I copied that jar to the /deploy folder, then tried 
to deploy the ejb... and guess what?? it worked!!

It was a very simple mistake, but I wonder.. how come the stack trace for the error 
did not contain any hint about the root class which is missing???  Guess JBoss needs 
to include the relevant errors in there, no?? :)

will go now to the second step of my journey (actually what I'm trying to do is to 
port our read-and-running application to JBoss).  

Wish me luck.. I believe I'll need your support later on too.
thank you all again..

zeron

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827049#3827049";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827049>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Shocked and stunned from JBOSS!

2004-03-23 Thread triathlon98
First guess, it is not the exception class which is not found, but a class it uses or 
extends (could even be an uninitialised member variable).

Joachim

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827022#3827022";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827022>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Shocked and stunned from JBOSS!

2004-03-23 Thread dannyyates
The JAR file layout you quote appears to show AAAException.class in mycomp/ejb, not 
mycomp/ejb/myejb. Perhaps this is the problem?

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827021#3827021";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827021>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user