[jboss-user] [EJB 3.0] - Re: java.lan.ClassCastException when casting to remote bean

2008-11-21 Thread manemannen
The purpose here was to have self contained war client. I want to run the enterprise application on one jboss server and access it from various other applications located elsewhere. A little off topic but one thing that is bugging me is all the examples I have reviewed during the search for the

[jboss-user] [EJB 3.0] - SOLVED: java.lan.ClassCastException when casting to remote b

2008-11-20 Thread manemannen
Awesome, that did it. Now it works as intended! Thank you very much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191010#4191010 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191010 _

[jboss-user] [EJB 3.0] - Re: java.lan.ClassCastException when casting to remote bean

2008-11-20 Thread manemannen
Thanks for all the help Jaikiran! War file removed and the EAR is deployed. Below is the new JNDI tree (I removed the local interface for the bean to narrow it down even more). It seems i'm still stuck with the wierd "remote" treeitem. Global JNDI Namespace +- TopicConnectionFactory (class:

[jboss-user] [EJB 3.0] - Re: java.lan.ClassCastException when casting to remote bean

2008-11-20 Thread manemannen
I tried java 1.5 instead and I deployed it manually on my other jboss installationsame problem ;) I know that this is a common problem for many newbies like myself and one would think that there should be some examples on how to handle it. Although I can't seem to find them. View the origi

[jboss-user] [EJB 3.0] - Re: java.lan.ClassCastException when casting to remote bean

2008-11-20 Thread manemannen
Java version; java version "1.6.0_06" | Java(TM) SE Runtime Environment (build 1.6.0_06-b02) | Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode) | and I am using Eclipse which handles the deploy. I will test your suggestion with Java 1.5 and deploy manually. View the original post :

[jboss-user] [EJB 3.0] - Re: java.lan.ClassCastException when casting to remote bean

2008-11-20 Thread manemannen
Ok, changed that (and tried possible variations of the settings) but sadly I still get the CCE. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190833#4190833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190833

[jboss-user] [EJB 3.0] - Re: java.lan.ClassCastException when casting to remote bean

2008-11-20 Thread manemannen
I followed what was said in anonymous wrote : See this wiki for details http://www.jboss.org/community/docs/DOC-9288 (section "Specifying Isolation"). and added the following in my projects: War: WEB-INF/jboss-web.xml | | | com.test:archive=simpleserver.ear | |

[jboss-user] [EJB 3.0] - Re: java.lan.ClassCastException when casting to remote bean

2008-11-20 Thread manemannen
Output from "ls": [EMAIL PROTECTED]:~/jboss-4.2.2.GA/server/default/tmp/deploy$ ls -laR tmp41571simple-webclient-exp.war/ | tmp41571simple-webclient-exp.war/: | total 16 | drwxr-xr-x 4 magnus magnus 4096 2008-11-20 10:11 . | drwxr-xr-x 12 magnus magnus 4096 2008-11-20 10:11 .. | drwxr-

[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException in remote EJB3.0 lookup from tomcat w

2008-11-20 Thread manemannen
Di d you ever find a good solution for this? I am stuck with the same problem.. br Magnus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190748#4190748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190748

[jboss-user] [EJB 3.0] - Re: java.lan.ClassCastException when casting to remote bean

2008-11-20 Thread manemannen
Thanks for the replies! Yes, I figured that it was the class loading issue after reading a bunch of other posts (before posting the original topic). Sadly, I do not know how to remedy the problem. When I look in the unpacked war I can see the interfaces the simple-ejb.jar file and there is ano

[jboss-user] [EJB 3.0] - java.lan.ClassCastException when casting to remote bean inte

2008-11-19 Thread manemannen
I get a ClassCastException when trying to cast to a remote interface of stateful session bean (for some reason it works for the stateless ones..). To really pinpoint the problem I made the easiest project possible. At the server application I have the following bean @Stateful | public class S

[jboss-user] [JBoss Getting Started Documentation] - Re: Trailblazer fails to start

2008-10-01 Thread manemannen
I just downloaded JBossAS 4.2.3 and deployed EJB3Trail.ear. I did just as I did before and guess what - this time it worked?! hm, total confusion.. Now I just need to see if it works when I deploy my project from within Eclipse as well. View the original post : http://www.jboss.com/index.html

[jboss-user] [JBoss Getting Started Documentation] - Re: Trailblazer fails to start

2008-10-01 Thread manemannen
I also tried to deploy the provided EJB3Trail.ear (that is without creating my own project and so on..). The same result. The queues that are problematic are: mdb, mdpojo, injection. The first error I get in the logs is the following (with some ok messages before that). 18:42:03,897 WARN [Mess

[jboss-user] [JBoss Getting Started Documentation] - Re: Trailblazer fails to start

2008-10-01 Thread manemannen
Ok I am using jboss 4.2.2.GA deployed on Ubuntu 8.04.1 (Linux version 2.6.24-19-generic). anonymous wrote : 1) Another MDB is using the same queue name, in which case perhaps only that MDB has read access to the queue. I don't think it could be this problem. The beans in the TrailBlazer demo tr

[jboss-user] [JBoss Getting Started Documentation] - Re: Trailblazer fails to start

2008-10-01 Thread manemannen
I use version 4.2.x so unfortunately it isn't that easy. Do I need to specify any specifics regarding security to allow the beans to access the queues? I might have missed something when grabbing the files from the demo.. /Magnus View the original post : http://www.jboss.com/index.html?module=

[jboss-user] [JBoss Getting Started Documentation] - Trailblazer fails to start

2008-09-30 Thread manemannen
Hi, I followed the TrailBlazer tutorial (http://trailblazer.demo.jboss.com/EJB3Trail/). Since I am new to both JBoss and EJBs I started a scratch EJB project (in Eclipse) and added the code provided in the tutorial. The Project deploys fine on JBoss but the Message beans fails to connect to th