From: AndersLind <nu...@jb...> - 2005-08-09 18:44:44
|
"helmut.staudinger" wrote : Hi, | the correct URL should be "java:com/env/ejb/Fibo". | | If you get an exception like "ClassCastException" when narrowing the reference to the homeInterface, have a look at the AdminGuide Chapter 2 (Server Config.) and change some Config-Flags, making the server J2EE-1.4 compliant. I did this with Version 4.0.2 and 4.0.3RC1 and the tutorial example (jBossIDE) worked fine! | | Helmut I can confirm that it works! My sestup is eclipse 3.1.0 with jboss ide 1.5.0M2 and I use JBoss 4.0.3RC1. I ran my setup as a J2EE 1.4 project and used the EAR 1.4 Deployment Descriptor and the application.xml has the following content: <?xml version="1.0" encoding="UTF-8"?> <application version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"> <display-name>Sum Application</display-name> ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3889095#3889095 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3889095 |