Issue Details (XML | Word | Printable)

Key: JAVAEETUTORIAL-15
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Ian Evans
Reporter: emiddio
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
javaeetutorial

how to fix 3 JMS projects

Created: 24/Oct/10 05:27 PM   Updated: 16/Aug/12 01:31 AM   Resolved: 11/Apr/11 11:02 AM
Component/s: examples
Affects Version/s: 6.0.7-5
Fix Version/s: 6.0.6

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 15
Tags:
Participants: emiddio, Ian Evans and Kim Haase


 Description  « Hide

with nb dev201010190000, and gfv3.1b24, to build all the JMS examples,

i had to edit project.properties for synchconsumer, clientsessionmdb-ejb,
and clientsessionmdb-app-client,

and change
endorsed.classpath=
to
endorsed.classpath=${libs.javaee-endorsed-api-6.0.classpath}

i was working with javaeetutorial sources check out earlier today;

any code resembling the following fails without the change;
@Resource(lookup = "jms/ConnectionFactory")
private static ConnectionFactory connectionFactory;



Kim Haase added a comment - 19/Jan/11 07:00 AM

I think you can mark this resolved, Ian.

All JMS projects that need the endorsed.classpath property set now have it.

It turns out that this property seems to be needed for the main project and the EJB project in clientsessionmdb, but not for the app client project. This example runs in both NB and Ant without it. You might want to test this on your system. I'm using netbeans-dev-201101140000 with GF b37.


Ian Evans added a comment - 11/Apr/11 11:02 AM

Fixed in latest version, per Kim.