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{
|
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.
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
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 :
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
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:
|
|
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)
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
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
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
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);
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:
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
13 matches
Mail list logo