<persistence-unit name="Model">
<jta-data-source>jdbc/qweDS</jta-data-source>
<persistence-unit>
Originally posted by Dushyant Agarwal:
1)My FindStudent module, which had included the JPA which you helped me deploy,is facing same some problem.
When I deploy my .war file in /server/default/deploy I am able to execute my application propely. But when I close the browser and try to open a new browser to run the application again it does not show the results obtained from the JPA. I have to redeploy the .war every time I want to run the application correctly. As well as there are no exceptions i the server window.
Originally posted by Dushyant Agarwal:
2)I stil do not know how to Configure Apache trinidad components in
JBoss 4.2.1
All this works absolutely fine!!
But when I try to use the following:
Context ctx=new InitialContext();
for looking up the bean
I get an exception that no InitialContext defined
How should I resolve this problem???
2.)Which resources of JBoss(apart from .war& .jar files)have
java:comp/env/ prepended to their JNDI names???
3.)Why do we have to undeploy+deploy the .war file every time I want to run my application afresh ??? Other wise thw web apllication would not execute as intended!!!
Originally posted by Dushyant Agarwal:
When I say " I want to run my application afresh" I mean --
1. I deploy my .war into server/default/deploy.
2. I start the browser and run my application perfectly.
3. I close the browser.
4. I open the browser again and try to run the application again. But this time it would not run correctly.That is to say that the communication between the Backing bean of the JSF and the SLSB does not take place.
Also No exceptions take place.
Then I have to undeploy+deploy the .war file. This makes my application to run properly.
Originally posted by Dushyant Agarwal:
As far as ejb-ref etc. is concerned I don't seem to have used them any where in my web-application. Can you specifically point out where to look???