hmm, it should work, can you give us more info? well a simple test is to use tomee webapp (http://localhost:8080/tomee) then the jndi view then there should be a button to do ejb invocation. Do it with openejb/DeployerXXX bean and you have the deploy method. Simply give it the path to your ear and it should be deployed.
- Romain 2012/4/12 nj00yy_1 <[email protected]> > Hi, > > I can deploy the ear I downloaded from that website with beta-3 snapshot > now. But my ear cannot be deployed. I have one question: > If my ear doesn't contain ejb module and just contains web module, would > tomee.sh can work fine with this kind of ear? Have you done this kind of > test before? > > Actually, what i am looking for is a java class that is similar as the one > in tomee.sh. I just want to pass parameter to that java class to do EAR > deployment. Do you know which java class has this kind of functionality? > Where can I find a doc or description about how to use that class so that I > can invoke the class to do my deployment? > I prefer a class which works in beta-2 because I do my program based on > beta-2. > > Thanks a lot! > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/scripts-or-API-for-deploy-EAR-on-tomEE-tp4536838p4551148.html > Sent from the OpenEJB Dev mailing list archive at Nabble.com. >
