[JBoss-user] [Beginners Corner] - Re: Calling JBoss 3.2.3 from standalone Tomcat
You are probably using Tomcat's embedded JNDI server without knowing it! Read this: http://www.amitysolutions.com.au/documents/JBossTomcatJNDI-technote.pdf You might start Tomcat with the -nonaming option to disable their JNDI server. Or you could programatically create an InitialContext with properties pointing to your EJB server... this is hardcoded and sucks. Ricardo Arguello View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835687#3835687 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835687 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Calling JBoss 3.2.3 from standalone Tomcat
Thanks, I don't want to mess around with -nonaming, sounds too brutal a solution to me.. The amity article looks to be exactly what I need. I'll give that a try tomorrow.. I found org.apache.naming.factory.EjbFactory in the Tomcat source but looking at the code it seems to use a hardcoded reference to a specific (non-jboss) factory class.. Pity there is no org.apache.naming.factory.GenericEjbFactory with Tomcat yet. Once again, thanks for your help. Regards, Damon. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835749#3835749 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835749 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Calling JBoss 3.2.3 from standalone Tomcat
Thanks for the replies everyone, I returned my JDK/Tomcat to a default environment and copied jbossall-client.jar into the WEB-INF lib along with my helloworld-service.jar. I removed the ejb-link/ tag so I have.. ejb-ref Test EJB connection ejb-ref-nameejb/HelloWorld/ejb-ref-name ejb-ref-typeSession/ejb-ref-type org.service.helloworld.server.facade.interfaces.HelloWorldRemoteHome org.service.helloworld.server.facade.interfaces.HelloWorldRemote /ejb-ref And modified jndi.properties to be java.naming.factory.url.pkgs=org.apache.naming:org.jnp.interfaces java.naming.provider.url=jnp://server:1099 Now I am getting a different error: class javax.naming.NameNotFoundException: org.service.helloworld.server.facade.ejb.HelloWorld not bound I have connected to the EJB server with jndiexplorer and confirmed the JNDI path. An ethereal packet traces show that no connection is made to the EJB server though. Am I missing anything else? Regards, Damon. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835494#3835494 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835494 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Calling JBoss 3.2.3 from standalone Tomcat
If you used the default settings when you installed Tomcat it added a space in the path to Tomcat. Get rid of this space if you have it, otherwise it won't work. /Goran View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835514#3835514 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835514 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Calling JBoss 3.2.3 from standalone Tomcat
Are you sure your web-app is seeing the JBoss client/ libs? If it's not finding the J2EE interfaces then it is probably not finding much anything else either. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835398#3835398 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835398 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Calling JBoss 3.2.3 from standalone Tomcat
Can you try removing the ejb-link? Anyway you are not in-VM to use the ejb-link feature! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835412#3835412 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835412 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Calling JBoss 3.2.3 from standalone Tomcat
You don't have to copy ALL the jars! You just need jboss-3.2.3/client/jbossall-client.jar, but copy it in WEB-INF/lib, not in %JRE_HOME%/lib/ext Ricardo Arguello View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835416#3835416 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835416 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user