[JBoss-user] [EJB/JBoss] - Re: ClassCastException if calling EJB from external servlet

2006-05-07 Thread kbhdk1976
Hi, I have excatly the same problem, and can't seem to fix it...

Anyone have a suggestion ?

:-)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3941709#3941709

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941709


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException on PortableRemoteObject.narrow()

2005-12-02 Thread darranl
Two pieces of information missing, JBoss version and what is the client 
performing the lookup.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3910271#3910271

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3910271


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException on PortableRemoteObject.narrow()

2005-12-02 Thread PitPalme
Hi, thanks for replying.

JBoss versions I've tested with:

4.0.1sp1
4.0.3sp1

About the client: one is a Servlet, the other one a MDB.

The MDB is the main client, the servlet I've just create to continue testing at 
home, where I can't make use of the MDB, as I can't send a message to it (it's 
not a JMS message it works on).

I've meanwhile found 
http://www.jboss.com/index.html?module=bbop=viewtopict=64201
and therein 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases
and
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration

So I guess the Servlet will not work at any time, which is something I could 
live with (at least I wouldn't know why I'd really *need* the Servlet being 
able to load the business object in a different ear). But not being able to get 
the RemoteObject from a different EAR when calling from the MDB is a show 
stopper for me, because it would require me to shut down MDB-service every time 
one of the many enterprise applications that should be accessed through the MDB 
deploys an update :-/

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3910380#3910380

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3910380


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [EJB/JBoss] - Re: ClassCastException on PortableRemoteObject.narrow()

2005-12-02 Thread Dev Adk
Hi,
I was having just the same problem and (took at least few hours searching on google and interpreting user posts) looks like a classloader issue. The following discussions throw a light on it.

http://www.jboss.org/index.html?module=bbop=viewtopict=59192postdays=0postorder=ascstart=0


http://www.jbossgroup.com/index.html?module=bbop=viewtopicp=3887843
Eventually it boils down to two solutions -

1. In the $JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xmlfile you need to change two parameters -

attribute name=Java2ClassLoadingCompliancetrue/attribute
attribute name=UseJBossWebLoadertrue/attribute 

The following link tells why.

http://jira.jboss.com/jira/browse/JBAS-1691

This method works I have tested myself.

2. You need to package your web or client application WITHOUT the ejb (home/remote) classes. They should be present ONLY in the ejb jar file.

This approach I haven't tested but should work as per the above discussions.

Atul.

On 12/2/05, PitPalme [EMAIL PROTECTED] wrote:
Hi, thanks for replying.JBoss versions I've tested with:4.0.1sp14.0.3sp1About the client: one is a Servlet, the other one a MDB.
The MDB is the main client, the servlet I've just create to continue testing at home, where I can't make use of the MDB, as I can't send a message to it (it's not a JMS message it works on).I've meanwhile found 
http://www.jboss.com/index.html?module=bbop=viewtopict=64201and therein
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCasesandhttp://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration
So I guess the Servlet will not work at any time, which is something I could live with (at least I wouldn't know why I'd really *need* the Servlet being able to load the business object in a different ear). But not being able to get the RemoteObject from a different EAR when calling from the MDB is a show stopper for me, because it would require me to shut down MDB-service every time one of the many enterprise applications that should be accessed through the MDB deploys an update :-/
View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3910380#3910380Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3910380---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click___JBoss-user mailing list
JBoss-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] [EJB/JBoss] - Re: ClassCastException for EJB3.0 sessionbean lookup

2005-08-29 Thread mboni
This looks familiar, I think I ran into it at some point, but don't recall 
exactly what was wrong.

Make sure your client is doing a JNDI lookup on the remote interface class 
name, not the local interface or the bean itself.  Also, make sure you are 
casting the result of the JNDI lookup to the remote interface, not anything 
else.

If that doesn't work, take a closer look at what exactly $Proxy120 is, find out 
what interfaces it implements.   (Put in some debug log statements, or use a 
debugger)

For more help, we probably need to see some of the code around your 
UserAction.java line 357.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3892096#3892096

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3892096


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with EJBs

2005-07-17 Thread nirmalyaghosh
Thankyou svetzal, setting UseJBossWebLoader to true (in 4.0.2), solved the 
problem.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3885186#3885186

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885186


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException on EJB Remote Lookup/Narrow

2005-07-15 Thread khoff999
 Thanks for responding.  I'm using JBoss 4.0.2. 

 Yes, the interfaces are in the war file, in a jar under WEB-INF/lib.  This was 
the suggested way to do it in the JBossIDE tutorial.  How would you suggest I 
package them?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3885004#3885004

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885004


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException on EJB Remote Lookup/Narrow

2005-07-15 Thread jaikiran
Place the beans in a jar file, say MyBeans_ejb.jar, and mention this in the 
application.xml file as follows:


MyBeans_ejb.jar



I think this should work

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3885007#3885007

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885007


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException on EJB Remote Lookup/Narrow

2005-07-15 Thread darranl
Have you packaged the jar and war together in an ear?

Just don't add the interfaces jar to the web application.  If the beans are 
deployed within the ear of the war the interfaces will be available at runtime 
anyway.  The section in the tutorial that shows how to do this probably needs 
to be removed now.

The problem is when they are packaged twice is that they get loaded by two 
different classloaders which makes them look as if they are different.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3885009#3885009

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885009


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException on EJB Remote Lookup/Narrow

2005-07-15 Thread jaikiran
Sorry, forgot to mention the contents of application.xml in the previous post:

Make an entry as follows:
 module
  | ejbMyBeans_ejb.jar/ejb
  | /module
  | module

And create a jar file MyBeans.jar containing the interfaces and beans

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3885011#3885011

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885011


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException on EJB Remote Lookup/Narrow

2005-07-15 Thread khoff999
Yes, everything was in an ear.  I did as you suggested and it works fine. 
Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3885023#3885023

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885023


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException on EJB Remote Lookup/Narrow

2005-07-14 Thread darranl
Which version of JBoss are you using?

How is your application actually packaged?

If you have packaged the interfaces in the war file you need to remove them as 
that is probably the cause of the conflict.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3884941#3884941

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884941


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with EJBs

2005-06-25 Thread svetzal
darranl wrote : Have any of you read the links posted by Scott earlier in 
this thread?

I realize everybody's busy and all, but perhaps a short summary of the problem 
(a sentence or two) before referring the world to 25 pages of detailed 
technical description containing _far_ more than we really need to understand 
the issue is not what we want here.

So, perhaps this will help future visitors to this page:

From 4.0.2 JBoss has changed to the Servlet spec classloading model, i.e. it 
uses the Tomcat classloader.

The first link Scott provided details the hows and whys of the ClassLoader 
architecture implemented in JBoss. If you have time, read this, it will help 
you - but get a cup of coffee and spend some time with it, don't just gloss it 
over. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases

The second link Scott provided has some specific examples and reading the 
configurations and their implications triggered my brain far faster than the 
more exhaustive technical description. Since then, however the first link was 
helpful when I couldn't reason something out. 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration

So, while I digest all this, I've set the UseJBossWebLoader to true (the 
standard distribution of JBossAS 4.0.2 sets this false) in the 
jbossweb-tomcat55.sar\META-INF\jboss-service.xml so that the rest of my team 
can keep going unhindered, and I can figure out what I need to do in terms of 
changing our deployment structure to be compliant.

Steve


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3882717#3882717

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882717


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException during ContextInitialization using St

2005-06-15 Thread wcydaip
So, I've been patiently working through this and am getting closer to solving 
the class loading issues, but, still have a few quirks to work out.

I have read the JBossClassLoadingUseCases and found 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration to be very 
useful.

Based on the article ClassLoadingConfiguration I have been able to Isolate my 
classes and deploy my application, however, in doing so I have lost the ability 
to interact with another .ear.

My application depends on a security.ear which holds common classes in a .jar 
file and its own ejb classes.

When I deploy my app with the security.jar file embedded in the web-inf/lib I 
get a ClassCastException.

When I deploy without the security.jar file I get a ClassNotFoundException.

I'm at a loss for what to do next...

Any suggestions appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3881673#3881673

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3881673


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with LocalHome casting

2005-06-13 Thread feroz_ps
Lots of suggestion but i didnt find any thing helpfull , simple i got a .war 
folder which is suppoesed to access a bean deployed separately within jar file 
i tried by giving ejb-local-ref tag in deployment descriptor of ejb module but 
nothing changed, i tried by adding ejb-localref adding jboss-web.xml nothing 
helpfull can any suugest what should i do to make it work


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3881292#3881292

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3881292


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with EJBs

2005-06-10 Thread ccalvo
Hi all,

I have the same problem. It's works with JBoss 3.2.7, but fails when I deploy 
in JBoss 4.0.2. 

What is the problem? I'm new in this environment.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3881050#3881050

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3881050


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with EJBs

2005-06-10 Thread DickP
I experienced the same problem on 4.0.2.  I rolled back to 4.0.1 (SP1) and it 
worked.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3881067#3881067

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3881067


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with EJBs

2005-06-10 Thread darranl
Have any of you read the links posted by Scott earlier in this thread?  

They may help you understand the problem without needing to roll back to 
earlier releases.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3881074#3881074

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3881074


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with LocalHome casting

2005-06-10 Thread erinol0
Thanks Scott.

I just wanted to rephrase what you said to clarify.  It is imperative that you 
do not include classes in both a war and jar in the same ear as they will be 
loaded by two different class loaders, thus causing the ClassCastException.  If 
they are present only once in the ear, they will be loaded and available in the 
unified loader repository and the war will grab the loaded references when an 
attempt to load them from the war fails.  You do not need to modify the 
jboss-service.xml file.  

Now that I understand how JBoss class loading works, I find it preferrable to 
the Sun implementation, which required you to put the file in both the jar and 
war in order for it to work.

Thanks for the help and the great product.

Raj






View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3881102#3881102

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3881102


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with LocalHome casting

2005-06-06 Thread [EMAIL PROTECTED]
There can only be a single class loader for types used in call be reference 
scenarios. Wars are always at bottom of the class loader chain, so this means 
that they should never contain duplicate classes that are involved in call by 
reference scenarios.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3880438#3880438

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880438


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with LocalHome casting

2005-06-05 Thread erinol0
[EMAIL PROTECTED] wrote : And everyone asking this question has read:
  | http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases
  | 

Scott,

   I read the article, and it was very helpful.  However, it doesn't yet cover 
UCL3 and EARs with embedded JARs and WARs (the second TO-DO), which is the 
situation I'm dealing with.  

   So, extrapolating from what you wrote in the use cases wiki page, I would 
need to somehow make the EAR load the session bean's interface classes.  That 
way they would be available to both the JAR and WAR.  

Is this correct?  If so, how do I do that?  If not, what should I do?  

Thanks.

Raj

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3880326#3880326

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880326


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with LocalHome casting

2005-06-04 Thread sudhakar kanakaraj
I Meant for movzx reply on

I've solve this problem by changing options of jboss-service.xml in 
deploy/jbossweb-tomcat55.sar: 

sudhakar kanakaraj

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3880248#3880248

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880248


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with LocalHome casting

2005-06-04 Thread sudhakar kanakaraj
true
 true

Yes! This's been workin fine for classcastexception
problem in JBoss 4.X and +,

thanx a lot!
sudhakar kanakaraj

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3880247#3880247

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880247


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException during ContextInitialization using St

2005-06-04 Thread [EMAIL PROTECTED]
And you have read the following?
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3880258#3880258

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880258


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with LocalHome casting

2005-06-04 Thread [EMAIL PROTECTED]
And everyone asking this question has read:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3880265#3880265

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880265


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with EJBs

2005-06-03 Thread shardulkhatri
on which version of jboss, it worked?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3880187#3880187

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880187


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException during ContextInitialization using St

2005-06-03 Thread wcydaip
There's additional information in the server log after startup about MBeans 
being the root cause:

=ERROR [main] (org.jboss.deployment.scanner.URLDeploymentScanner:527) - 
Incomplete Deployment listing:
  | 
  | --- Incompletely deployed packages ---
  | [EMAIL PROTECTED] { 
url=file:/C:/jboss-4.0.2/server/default/deploy/administration.ear }
  |   deployer: [EMAIL PROTECTED]
  |   status: Deployment FAILED reason: URL 
file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp56868administration.ear-contents/system_web-exp.war/
 deployment failed
  |   state: FAILED
  |   watch: file:/C:/jboss-4.0.2/server/default/deploy/administration.ear
  |   altDD: null
  |   lastDeployed: 1117826809387
  |   lastModified: 1117826796000
  |   mbeans:
  | 
  | --- MBeans waiting for other MBeans ---
  | ObjectName: jboss.web.deployment:id=324750195,war=system_web.war
  |   State: FAILED
  |   Reason: org.jboss.deployment.DeploymentException: URL 
file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp56868administration.ear-contents/system_web-exp.war/
 deployment failed
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss.web.deployment:id=324750195,war=system_web.war
  |   State: FAILED
  |   Reason: org.jboss.deployment.DeploymentException: URL 
file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp56868administration.ear-contents/system_web-exp.war/
 deployment failed
  | 
  | 
  | =DEBUG [main] 
(org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread:151) - 
Notified that enabled: true
  | =DEBUG [main] (org.jboss.deployment.scanner.URLDeploymentScanner:300) - 
Started jboss.deployment:flavor=URL,type=DeploymentScanner
  | =DEBUG [main] (org.jboss.system.ServiceController:433) - Starting dependent 
components for: jboss.deployment:flavor=URL,type=DeploymentScanner dependent 
components: []
  | =DEBUG [main] (org.jboss.deployment.MainDeployer:971) - End deployment 
start on package: jboss-service.xml
  | =DEBUG [main] (org.jboss.deployment.MainDeployer:776) - Deployed package: 
file:/C:/jboss-4.0.2/server/default/conf/jboss-service.xml
  | =DEBUG [main] (org.jboss.web.tomcat.tc5.Tomcat5:518) - Saw 
org.jboss.system.server.started notification, starting connectors
  | = INFO [main] (org.apache.coyote.http11.Http11Protocol:188) - Starting 
Coyote HTTP/1.1 on http-0.0.0.0-8080
  | = INFO [main] (org.apache.jk.common.ChannelSocket:366) - JK: ajp13 
listening on /0.0.0.0:8009
  | = INFO [main] (org.apache.jk.server.JkMain:342) - Jk running ID=0 
time=0/250  config=null
  | = INFO [main] (org.jboss.system.server.Server:456) - JBoss (MX MicroKernel) 
[4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 2m:1s:635ms

Also, I forgot to say, I'm using j2sdk1.4.2_06.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3880214#3880214

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880214


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException during ContextInitialization using St

2005-06-03 Thread wcydaip
I hope this doesn't come back to haunt me later, but, this article explains how 
to get the classloading back to what it was doing in 4.0.1sp1:
http://jira.jboss.com/jira/browse/JBAS-1691

Could someone help me understand the difference between the two classloaders?  
Why would one be favored over the other?

Thanks,

Graham

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3880234#3880234

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880234


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with LocalHome casting

2005-06-01 Thread movzx
I've solve this problem by changing  options of  jboss-service.xml in 
deploy/jbossweb-tomcat55.sar:


  |  attribute name=Java2ClassLoadingCompliancetrue/attribute
  |  attribute name=UseJBossWebLoadertrue/attribute
  | 

This is a class loader issue of Java2.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3879712#3879712

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879712


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with LocalHome casting

2005-06-01 Thread erinol0
movzx wrote : 
  | This is a class loader issue of Java2.

Not really, this is an artifact of the Servlet 2.3 spec, which calls for a web 
container first class loading.  

I haven't tried it yet, but upon rereading the JIRA issue discussion I 
mentioned earlier, I believe that the more appropriate way to solve my problem 
is to instead add the session bean interface packages to the Filtered packages 
list in the file that movzx referenced earlier.  Anyone try this yet?

Thanks 

Raj

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3879754#3879754

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879754


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with LocalHome casting

2005-06-01 Thread movzx
erinol0,so you mean that you will call a SLSB from the web module? If so,that 
will be the same problem as I've mentioned before. I believe you will get a 
ClassCastException if your web module and the EJB module don't belong to the 
same EAR while trying to pass instances by reference,for the Java2 defines a 
unique class as the combination of its classloader and its FQN.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3879796#3879796

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879796


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with LocalHome casting

2005-06-01 Thread erinol0
A stateless session bean can be called from a web module.  I had in fact done 
this with Sun prior to trying JBoss.  Also, my jar and war were even in the 
same ear.  

The issue is just that JBoss changed the default behavior of their web 
container to follow the servlet spec by default, which is why the settings you 
mentioned changing previously removed the ClassCastException.  You basically 
set JBoss back to 4.0.1 settings.  

I did have the same problem as you, and that's why I posted the response to 
your question.  I just wasn't convinced that the solution that I chose (to use 
the JBoss unified class loader for Tomcat) was appropriate.  The JBoss 
developers changed it for a reason, after all.  

Incidentally, I tried adding the packages of the classes present in my session 
bean interface in a comma seperated list to the filtered packages list in the 
tomcat jboss-service.xml file and setting the class loader properties back to 
false, and that works as well.

Actually, I'd really appreciate it if a JBoss developer would comment on this 
issue, and what is an appropriate course of action to deal with this issue 
(other than pass by value, because that's CPU intensive).  

Thanks,

Raj



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3879838#3879838

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879838


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with LocalHome casting

2005-05-31 Thread student911
i'm not sure if i'm understanding your problem fully (i'm just a beginner) but 
i think i've read somewhere, that for some reason you have to cast a a class 
here in that way:
home 2 = (CommandLocalHome) 
PortableRemoteObject.narrow(home1,CommandLocalHome.class);

hope this helps (at least to find a solution) ;)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3879590#3879590

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879590


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with LocalHome casting

2005-05-31 Thread erinol0
There is no need to narrow on a LocalHome, only with a RemoteHome.  The problem 
is probably that JBoss, as of 4.0.2, uses the Tomcat class loader for anything 
hosted by Tomcat, including web services and JSPs.  Prior to this, they used 
the JBoss Class Loader by default.  You have a few different options with 
regards to how to handle this, so here's the wiki page that should help:

http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration

and JIRA issue page:
http://jira.jboss.com/jira/browse/JBAS-1691

Personally, I just set Tomcat to use the JBoss class loader, but this is 
probably just a stopgap fix.  I think I understand why it was changed, but am 
not sure I'm happy with the call-by-value method of dealing with this.  Does 
anybody have any other solutions that might work.  I'm currently publicly 
exposing a JAX-RPC web service, which in turn calls a stateless session bean.  
I need the web service for .NET client integration.  Thanks in advance for any 
help that anyone can offer.

Raj

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3879604#3879604

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879604


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with EJBs

2005-05-20 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3878554#3878554

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878554


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with EJBs

2005-05-20 Thread spelux
So what i have to do?

I understood that probably it is a problem of version, now i'm trying to test 
it on an older version of JBoss. But if that test would fail what i could do?

Thx a lot ;)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3878569#3878569

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878569


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException with EJBs

2005-05-20 Thread spelux
It was just a problem of JBoss version!! Now it runs!!!

Bye bye! ;)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3878575#3878575

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878575


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException when obtaining a Remote Interface fro

2005-04-21 Thread darranl
There should not be a need to cast the object returned from the create method.

The create method of the home interface should have a return type of the remote 
interface already.  If the home interface is a local home the return type 
should be the local interface.

What does your home interface look like?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874790#3874790

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874790


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException when obtaining a Remote Interface fro

2005-04-21 Thread jjmargon
Hi, again.
The interfaces are remote (I don't run the junit client inside JBoss,but in a 
different virtual machine). 

But, don't worry. It works fine now!!!
The error was mine.
The issue was that the Remote Interface name (HelloWorld) and the bean class 
had the same name, and when the Eclipse shows the different classes to fix the 
import errors, I chose unintentionally the bean class instead the interface 
class.
I've changed the class and it works.

But thanks a lot for your attention and your time.

Bye

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874796#3874796

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874796


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException invoking LocalHome finder methods on

2005-04-19 Thread felandres
Hi all,

  Since NOBODY reply my question, I'll answer it myself... the problem was 
caused by wrong use of (Home/Remote) interface pairs.
  If you're using LocalHome you MUST use the EJB's Local interface!

  I hope this could help somebody...


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874518#3874518

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874518


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException

2004-12-20 Thread darranl
What is the full exception produced by a e.printStackTrace() ?

Are you sure that your client has the same version of the interface as the 
server?

Are you sure that your bean is configured to use the correct home interface?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859253#3859253

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859253


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException on Session Bean - Classloader issue?

2004-08-27 Thread astehman
I included the jar file which contains the session bean in question in the WEB-INF/lib 
directory, but I am still encountering this problem.  I'm not sure exactly why this 
ClassCastException is happening, but I found a post where the exact same problem was 
encountered with Inprise app server and wondered if there wasn't a similar cause 
underlying both problems:

http://groups.google.com/groups?hl=enlr=ie=UTF-8threadm=87e8hg%245al2%40bornews.borland.comrnum=6prev=/groups%3Fq%3D%252BClassCastException%2B%252B%2522session%2Bbean%2522%2B%252Blookup%26hl%3Den%26lr%3D%26ie%3DUTF-8%26selm%3D87e8hg%25245al2%2540bornews.borland.com%26rnum%3D6


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846497#3846497

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846497


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException during getCursor with Oracle...

2004-06-21 Thread daorriss
I figured out how to do it..  For posterity I'll post it here...


  |   cst = connection.prepareCall({call request_list.get_default_request_list 
(?,?,?)});
  |   cst.setInt(1, 1);
  |   cst.setInt(2, 1);
  |   cst.registerOutParameter(3, OracleTypes.CURSOR);
  |   cst.execute();
  |   
  |   rs = (ResultSet) cst.getObject(3);
  | 
Note that using getCursor doesn't work BUT getObject does provided I tell the output 
parameter it's a oracle cursor.

Go figure - the one thing I didn't try was the way to fix it..

The reason for this is that JBoss called statements are implemented via a 
WrappedCallableStatement (a JBoss object) and that can't be cast to the 
OracleCallableStatement (which makes sense after I thought about it a bit).  However, 
you can register the output parameter as an oracle type and then cast *that* to the 
result set.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3839431#3839431

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839431


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException After HotDeploy Stateful Session Bean

2004-06-21 Thread gudmundsonsc
OK, here is a summary of how I resolved this issue:

jbossweb-tomcat50.sar\META-INF\jboss-service.xml:
1. set attribute Java2ClassLoadingCompliance to false
2. set attribute UseJBossWebLoader to false

in building my war (which is included in the ear), I make sure that all required 
library jar files (such as struts) are in the WEB-INF/lib/ directory.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3839455#3839455

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839455


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException After HotDeploy Stateful Session Bean

2004-06-15 Thread jae77
http://www.jboss.org/wiki/Wiki.jsp?page=HotDeployClassCastExceptions

(this would (should) have come up in a search of the forums).

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838784#3838784

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838784


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException After HotDeploy Stateful Session Bean

2004-06-15 Thread gudmundsonsc
Yep, I had already read that page and decided it did not apply in this situation.  Let 
me explain my understanding of the problem.

The class that the code snippet is copied from is called TeacherApplicationBD 
(business deligate) and it is packaged in the exact same jar that the ejb is packaged 
in and it is not keeping any reference to the class returned from before the hot 
deploy, it is simply getting the new TeacherApplicationSessionHome class through 
lookup and then trying to cast it as such in order to use it. 

For an unexplained reason, the TeacherApplicationSessionHome class used to perform the 
cast is from an old class loader that should have been completly replaced by the new 
ear deployment  (notice how url=null after hot deployment).


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838833#3838833

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838833


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException After HotDeploy Stateful Session Bean

2004-06-15 Thread jae77
is the web app packaged inside the ear?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838838#3838838

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838838


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException After HotDeploy Stateful Session Bean

2004-06-15 Thread gudmundsonsc
Yes it is as well.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838864#3838864

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838864


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException After HotDeploy Stateful Session Bean

2004-06-15 Thread gudmundsonsc
After much experimentation, I have found that if I move the code that calls and loads 
the TeacherApplicationBD class directly into a jsp, it works there.  For some reason 
when the TeacherApplicationBD class is loaded from an Action Class it causes the 
ClassCastException inside the TeacherApplicationBD constructor (the code listed 
above).  The one thing I can think of is that the Action Class extends 
org.apache.struts.action.Action which is loaded from a struts.jar located outside of 
the ear and that must somehow cause the problem?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838870#3838870

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838870


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException After HotDeploy Stateful Session Bean

2004-06-14 Thread gudmundsonsc
BTW, this is with JBoss 3.2.4.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838723#3838723

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838723


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException at runtime

2004-05-12 Thread jae77
i posted this message back when the mailing lists were being used directly (as opposed 
to now where we primarily use the forums and just see the messages via the list).

maybe i should turn this into the base for a wiki faq page since this topic seems to 
be coming up a lot as of late. 

-

  if you want to have two scoped ears in the same VM communicate w/ each other, then 
you need to extract the common interfaces out of both of the scoped ears and either 
deploy them as standalone jars, or package them up into an *unscoped* ear.  

  ie: 

  A.ear is scoped and exposes it's interface via a class called Foo.

  B.ear is scoped and needs to use interface Foo to access A.ear

  remove class Foo from both A.ear and B.ear and either deploy it in a standalone jar 
and you'll be good to go. the whiteboard picture would look something like this: 


  Foo.jar 

  A.ear (scoped)B.ear (scoped)


  so when A.ear asks for interface Foo, it sees that it is not available via it's 
classloader and then asks for it from the top level class loader. the same thing 
occurs w/ B.ear - it can't find the class, and asks the top level loader, leaving both 
ears to get the same class loader definition. 
this also now allows you to hot deploy A.ear and/or B.ear w/o having to restart jboss.

  this mechanism also works if for hot deploying unscoped ears as well. 
  
  keep in mind that if your interfaces return an object of type Baz, that class will 
also have to be packaged inside the same jar that contains the ejb interfaces. 

  a slight con to this approach is that if any of the classes change inside the 
standalone jar file and you redeploy it, you will either have to restart the server or 
touch all the other deployment archives that rely upon that jar. the reason for this 
is that the ear's class loader will have a stale reference to classes in the jar. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834633#3834633

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834633


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException at runtime

2004-05-12 Thread fburlet

Ok, thank you for your help.

Yes, it might be a good idea to post your explanation on the wiki.

Fred.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834648#3834648

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834648


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException at runtime

2004-05-12 Thread jae77
now availabe through the wiki. 

http://jboss.org/wiki/Wiki.jsp?page=HotDeployClassCastExceptions

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834661#3834661

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834661


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException

2004-02-24 Thread triathlon98
meerkat512 wrote : 
  | Using PortableRemoteObject.narrow() also results in a ClassCastException. 
  | 
  | Does this definitely work for you in the situation where you have an entity EJB 
and the client is running in a different JVM than the server?
  | 
  | When you write that I should not cast remote objects, is that a general J2EE 
principle, or something specifically that is not recommended because it doesn't work 
in JBoss?
  | 

This definately works and is in all the books about J2EE. It is not JBoss specific. 
However, you have to be careful that your client jars match the server jars exactly. 
If you recompile your program and the server and client side jars are not bases on the 
same compiled classes, then you will never get this to work.

For in-VM JNDI lookup, a simple cast is sufficient (though probably only in JBoss with 
both client and server using the same UnifiedClassLoader.
In principle the PortableRemoteObject.narrow makes sure that the differences between 
classloaders can be overcome.

Joachim

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3822644#3822644

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822644


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException

2004-02-24 Thread pilhuhn
My experience so far is, that also for remote interfaces and calls, the simple cast is 
enough in JBoss.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3822646#3822646

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822646


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException

2004-02-24 Thread Kevin Conner
The purpose of the PortableRemoteObject.narrow method is to handle the casting when 
the object uses IIOP as the transport mechanism (corba or RMI/IIOP) and has nothing to 
do with your problem.  You should use this whenever downcast an object that may be 
using IIOP, the lookup of a home interface being one such occassion.

The fact that you can get it to work when you set the thread context loader suggests 
that you have multiple copies of that interface in different class loaders.  The cast 
will only work if you are casting to a class/interface loaded with the same 
classloader.

Add some debug before the cast to walk the class and interface hierarchy of the 
objects, printing out the class AND classloader in each case.

My guess is that you will find your FooHome interface loaded by multiple classloaders, 
perhaps in multiple jars.

Identify and remove the duplicate entries and your problem will be solved. :-)


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3822654#3822654

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822654


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException

2004-02-23 Thread meerkat512
OK,

I have found a workaround from this post:

http://www.jboss.org/index.html?module=bbop=viewtopict=9102watch=topicstart=0

When I added the line 


  | Thread.currentThread().setContextClassLoader(FooHome.class.getClassLoader());
  | 

before my lookup, the code started working.

Is this a bug with JBoss? It seems like an excessive hack to have to put a line like 
this before every JNDI lookup. Does anyone know a better solution for this problem?

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3822570#3822570

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822570


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException

2004-02-23 Thread triathlon98
meerkat512 wrote : 
  | 
  |   | Object o = context.lookup(FooHome);
  |   | FooHome home = (FooHome)o;
  |   | 
  | 

You should not just cast remote objects, that does not work. Use something like this:


  | object o=context.lookup(jndiName);
  | FooHome home=javax.rmi.PortableRemoteObject.narrow(o, FooHome.class);
  | 

That should do the trick.

Joachim

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3822573#3822573

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822573


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [EJB/JBoss] - Re: ClassCastException

2004-02-23 Thread rsequeira

If you are using EJB 2.0 and the local clients, then I think you can get
away with explicit casting as opposed to narrowing.

Thanks,
RS


   
  
  triathlon98  
  
  [EMAIL PROTECTED]  To:   [EMAIL PROTECTED] 
 
  Sent by:   cc:   
  
  [EMAIL PROTECTED]Subject:  [JBoss-user] [EJB/JBoss] - 
Re: ClassCastException 
  ceforge.net  
  
   
  
   
  
  02/23/2004 10:37 AM  
  
  Please respond to
  
  jboss-user   
  
   
  
   
  




meerkat512 wrote :
  |
  |   | Object o = context.lookup(FooHome);
  |   | FooHome home = (FooHome)o;
  |   |
  |

You should not just cast remote objects, that does not work. Use something
like this:


  | object o=context.lookup(jndiName);
  | FooHome home=javax.rmi.PortableRemoteObject.narrow(o, FooHome.class);
  |

That should do the trick.

Joachim

View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3822573#3822573

Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822573


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





This transmission is intended to be strictly confidential. If you are not
the intended recipient of this message, you may not disclose, print, copy
or disseminate this information. If you have received this in error, please
reply and notify the sender (only) and delete the message. Unauthorized
interception of this e-mail is a violation of federal criminal law.




---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException

2004-02-23 Thread meerkat512
Hi,

Using PortableRemoteObject.narrow() also results in a ClassCastException. 

Does this definitely work for you in the situation where you have an entity EJB and 
the client is running in a different JVM than the server?

When you write that I should not cast remote objects, is that a general J2EE 
principle, or something specifically that is not recommended because it doesn't work 
in JBoss?

Thanks,
Dan



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3822617#3822617

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822617


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException thrown when looking up a remote home

2004-02-17 Thread zolmed75
View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3821897#3821897

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821897

Both the client and server are using sdk1.4.2.  What are the client jars you're 
reffering to?  I thought the only thing the client needs are the remote EJB 
interfaces.  Also, since JBoss uses dynamic proxies, I was under the impression that 
the only class that needs to be loaded at runtime during a lookup is the remote 
InvocationHandler class being used by the dynamic proxy.  Is this correct or am I 
dreaming?  Thanks in advance...


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException thrown when looking up a remote home

2004-02-16 Thread darranl
View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3821668#3821668

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821668

Have you updated the client to use the client jars from the new version of JBoss 
instead of the old ones?



Also are the server and client using the same JDK version?


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException on narrow

2004-02-09 Thread marc fleury
View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3820809#3820809

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3820809

Ok, 



that is interesting and we should document the errors better.  The goal here is 
CLEARLY to have all the classes deployed ONCe (so you can talk cross service). Maybe 
the META-INF load should be loaded with a LOG message saying that the classes there 
will only see the classes defined. 



Then I am glad there are duplicate class logs.  One visibility one package per class, 
very good


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user