Get your own customer support community
 

How do I tell appClient what class to run?

Does anybody know how to use appClient in Glassfish to run a class when you want to run a class different to the one specified in the manifest? I've been trying using the mainClass parameter but it ignores it and just uses the one in the manifest. It would be useful in Chapter 13 where you have several classes, and you want to run the JMS sender and JMS receiver without changing the manifest in the pom.
I'm probably just using the wrong options but I've specified the jar and mainClass but not having any luck?
 
indifferent I’m probably missing something obvious
Inappropriate?
1 person has this question

User_default_medium