[JBoss-user] [EJB/JBoss] - using JNDI datasource

2004-04-14 Thread aldeponk
Hi, I am developing a EJB that intends to use a datasource through JNDI, using JBOSS as appserver and an Oracle server for the database. How do I compute to use the connection provided by JBOSS, i.e. I want to program a request in my Bean. What would be the proper code to write ? Thanks for yo

[JBoss-user] [EJB/JBoss] - Re: EJB trial failed

2004-04-13 Thread aldeponk
"nickman" wrote : Alain; | | It looks like your client did not complete a proper JNDI remote context initialization. The required code looks something like this: | | | | import java.util.*; | | import javax.naming.*; | | . | | . | | . | | Properties p = new P

[JBoss-user] [EJB/JBoss] - EJB trial failed

2004-04-13 Thread aldeponk
Hi, I developed an EJB through JBuilder, coupled with JBOSS. When I run a client that uses this EJB, I get an error due to JNDI lack of registration (see following error message). javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an ap

[JBoss-user] [HTTPD, Servlets & JSP] - Web App basic error

2004-04-13 Thread aldeponk
Hi, I'm quite new in using multi tiers apps, and more especially web apps. I have devloped a basic web app through JBuilder, couped with JBOSS. The web app has been deployed on the JBOSS server, I can see it on the JBOSS directories. When I run it through localhost (http://localhost:8080/myWe