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 p
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
persistence.units:jar=EnterpriseApplication2-ejb.jar,unitName=Enterpr
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
persistence.units:jar=TravelAgency-ejb.jar,unitName=TravelA
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) JB
I had a look at the jndi listings. Looking at it, i believe that your beans are
NOT deployed. I havent used NetBeans, but there might be some way in NetBeans
through which you can deploy your beans.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946028#3946
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:
|
| X
Ok. Try this out:
- Enter the following URL in your browser: http://localhost:8080/jmx-console
- Search for the service=JNDIView on the page that gets rendered. Click on
service=JNDIView link.
- Then on the page that gets displayed, click on the 'Invoke' button, next to
the 'list' method.
-
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
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 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3
Looks like you forgot to post the contents of your ejb-jar.xml file. While
posting the contents, enclose the same in code tags(by using the button
provided above) so that it helps readability
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946013#3946013
Re
Post the contents of your ejb-jar.xml, jboss.xml and web.xml containing the
appropriate entries of the bean
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946007#3946007
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
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 enterp
12 matches
Mail list logo