[JBoss-user] [Beginners Corner] - can a Servlet use local intefaces to talk to BMP Entity Bean
I tired to use local interfaces in my Servlet to talk to BMP bean but no luck. I only got it working using remote interfaces. If Servlet and EJb are deployed under the same jboss server process, servlet should be able to use local interfaces to talk the EJB for higher performance. Also it should not matter if Servlet is in separate jar or in .ear file where EJB resides. Any help here? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839332#3839332 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839332 --- 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] [Beginners Corner] - problem configuring jboss 3.2.3 with mySql 3.23
Searing on google yields conflicting info on setting up mysql with jboss. After spedning much time on this issue, the only way I could get it working is to define mysql as DefaultDS in the sample mysql-ds.xml, provided in jboss , copy it to deploy AND deleting hypersonic ds.xml in deploy. It works but I get some expection thrown when jboss is started. I think I should be able to have both hypersonic as DefaultDS and mySQl as MySqlDS working. Any help here? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839331#3839331 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839331 --- 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] - servlet and entity bean problem
I have a project and spent 2 full days and not able to get it working. I am using jboss3.2.3. I have a servlet and entity bean (BMP). Servlet neeeds to talk to entity bean. this is the portion of code in servlet init: Context context = new InitialContext(); Object ref = context.lookup("ArticleLocalHomeNickName"); articleLocalHome = (ArticleLocalHome) PortableRemoteObject.narrow(ref, ArticleLocalHome.class); Servlet's war file's web.xml has: ejb/ArticleLocalHomeNickName Entity net.xys.jm.articleEJB.ArticleLocalHome net.xyz.jm.articleEJB.ArticleLocal and META-INF/jboss-web.xml has: ejb/ArticleLocalHomeNickName ejb/ArticleLocalHomeNickName Jboss throws this exection: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-ref: ejb/ArticleHomeNickName, no ejb-link in web.xml and no jndi-name in jboss-web.xml) Note that I also have defined in web.xml and jboss-web.xml "ArticleHomeNickName" reference in the same way. in the entity bean ejb-jar.xml ArticleHomeNickName ArticleLocalHomeNickName and in entity bean's jboss.xml Article ArticleHomeNickName ArticleLocalHomeNickName I also tried to use but this did not work either. Please help. The 700 page jboss documentation that cost me $10 do not talk about deployment desricptors and how servlet and ejb should be set up. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839138#3839138 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839138 --- 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] [Beginners Corner] - Re: help with C++ client for Jboss. cannot find the samples
Never mind. I found the files. They were moved to demo folder View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830103#3830103 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830103 --- 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] - help with C++ client for Jboss. cannot find the samples file
I downloaded Mico build but I do not see doc/mico/examples/interop/jboss as referred to on this joboss page: http://www.jboss.org/developers/projects/jboss/IIOP In the doc folder in MICO there is just one file not related to jboss. I could not find these files anywhere on MICO site. I am trying to develop C++ client to run under joboss. Please let me know if those samples are archived somewhere on jboss site. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830021#3830021 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830021 --- 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] - how to develop C++ CORBA client to talk to simple EJB in Jbo
Now that I got simple Helloworld EJB working. I need to develop simple C++ CORBA client to talk to Helloworld EJB. In this case I cannot package C++ CORBA client in EAR file that is deployed in Jboss. I need to use the CORBA IIOP protocol between EJB and C++ client. So I figure I will have to change EJB to use CORBA instead of RMI-IIOP. Any pointers how to do that under Jboss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829581#3829581 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829581 --- 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: what are the minimum deployment descriptors
That works! All I had to do is to change the folder name to hworld.jar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829579#3829579 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829579 --- 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] - what are the minimum deployment descriptors
I have the classic and simple HelloWorld EJB and a simple java client. First please tell me what are the deplyment descriptors files that are absolutely necessary to deply a signle Session EJB? Is it possible to copy the .class files that define the EJB in the folder under deploy folder in jboss? Or .class files must be converted to jar? I have set up everything according to the jboss documents to deply this simple EJB but this is the error I get when I deploy: , [EMAIL PROTECTED] { url=file:/C:/jboss-3.2.3/server/default/deploy/hworld/META-INF/ejb-jar.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/jboss-3.2.3/server/default/deploy/hworld/META-INF/ejb-jar.xml lastDeployed: 1081312693531 lastModified: 1081312693531 mbeans: , [EMAIL PROTECTED] { url=file:/C:/jboss-3.2.3/server/default/deploy/hworld/META-INF/jboss.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/jboss-3.2.3/server/default/deploy/hworld/META-INF/jboss.xml lastDeployed: 1081312693531 lastModified: 1081312693531 mbeans: ]MBeans waiting for classes: MBeans waiting for other MBeans: View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829551#3829551 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829551 --- 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