[JBoss-user] [EJB 3.0] - EJB QL returning null, it should not

2006-06-09 Thread infonote
This EJB QL query is returning null, when it should not. Can someone point me in the right direction. What is wrong with my EJB QL query? And i call it from the struts action. Thanks in advance. public java.util.List findTrip(String placefrom, String placeto) throws Exception{ |

[JBoss-user] [Installation, Configuration Deployment] - EJB3 Netbeans 5.5 EJB not bound error

2006-05-24 Thread infonote
I am getting this error when i deploy my enterprise app with a web client in JBoss. The EJB and web client compiles successfully. This error is getting me mad. Error EJB not bound. I have a ClientFacade and ClientFacadeLocal I call the Session bean from my struts action bean using JNDI.

[JBoss-user] [Installation, Configuration Deployment] - Re: EJB3 Netbeans 5.5 EJB not bound error

2006-05-24 Thread infonote
In web.xml i have nothing because when i call enterprise bean (session bean) from netbeans 5.5 i get an error in web.xml I have ClientFacade and ClientFacadeLocal as session beans. Ignore the JSF stuff, as i added it but is not used. I am using Struts These are all my xml files: In main

[JBoss-user] [Installation, Configuration Deployment] - Re: EJB3 Netbeans 5.5 EJB not bound error

2006-05-24 Thread infonote
I have no ejb-jar.xml I am using Netbeans 5.5 I created a new enterprise app Then connected DB Added Entity beans Made a Session schema I tried to call enterprise bean from netbeans but i get a web.xml error View the original post :

[JBoss-user] [Installation, Configuration Deployment] - Re: EJB3 Netbeans 5.5 EJB not bound error

2006-05-24 Thread infonote
Just to add, since i was getting error in web.xml i removed it and made a manual initialcontext. I am sure initialcontext.lookup is good as i copied it from the created method when i use call enterprise bean. I then copied the lookup path and added it to my manual initialcontext. Note: i only

[JBoss-user] [Installation, Configuration Deployment] - Re: EJB3 Netbeans 5.5 EJB not bound error

2006-05-24 Thread infonote
Nothing, Could it be a JBoss installation error? As when in Netbeans i go to runtime and click on jboss application server 4 and click on the plus i get: no management support Here is the output of java.lang.String listXML() invoke: It seems to be listed fine. | | java: | |

[JBoss-user] [Installation, Configuration Deployment] - Re: EJB3 Netbeans 5.5 EJB not bound error

2006-05-24 Thread infonote
I deployed the application: Applicaton Deployed Operation start started run-deploy: BUILD SUCCESSFUL (total time: 1 minute 19 seconds) With your help i managed to find 4 possible causes: 1) enterprise application not deployed correctly (see above app is deployed) 2) ejb-jar.xml is missing. 3)

[JBoss-user] [Installation, Configuration Deployment] - Re: EJB3 Netbeans 5.5 EJB not bound error

2006-05-24 Thread infonote
This thing is making me mad. I have everything ready except for deployment. And i thought it will be the easiest part. Looking at the logs of JBoss Application Server: | 3:12:43,046 WARN [ServiceController] Problem starting service

[JBoss-user] [Installation, Configuration Deployment] - Re: EJB3 Netbeans 5.5 EJB not bound error

2006-05-24 Thread infonote
Looking at the logs i have errors when deploying. I have everything ready. I thought deploying would be the easiest part. Any solutions? These are the errors: 13:12:38,796 WARN [ServiceController] Problem starting service

[JBoss-user] [Installation, Configuration Deployment] - Re: EJB3 Netbeans 5.5 EJB not bound error

2006-05-24 Thread infonote
I finally understood the problem. The problem is that JBoss does not support JEE5, and since the enterprise app is JEE5, it does not work. I went with Sun Application Server 9 and everything seems to be working when i call enterprise bean. However, I would like to thank all of JBoss, as you

[JBoss-user] [EJB 3.0] - Call EJB3 method from webclient

2006-05-21 Thread infonote
Hi, In EJB3 how do u call a EJB3 method from the webclient e.g. servlet, action class? I built a enterprise app with ejb and webclient using Netbeans 5.5. E.g. you have sessionbean local in the session bean local you have method: package sessionpackage; boolean sessionmethod(string s);

[JBoss-user] [Installation, Configuration Deployment] - JBoss 4.0.4cr2 deployment problem

2006-05-16 Thread infonote
Hi, I am getting the following errors when trying to deploy a webapp with jboss4.04cr2. An example of an error is: ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/jboss-4.0.4.CR2/server/default/deploy/jboss-aop.deployer/ org.jboss.deployment.DeploymentException:

[JBoss-user] [Beginners Corner] - Struts JBoss problem

2006-05-03 Thread infonote
Hi, I am using JBoss as application server and struts 1.2.7 with MYSql as a DB and NetBeans When i add the data-sources to struts-config.xml and i compile/run the app i get a servlet action not found error. When i remove the data-sources it works well. I have the Mysql J/Connecter installed