users@glassfish.java.net

Re: Null deployment error doesn't help

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Tue, 19 Dec 2006 15:17:46 -0500

Hi, Keneeth
   Sorry about the frustration this has caused you.
  
   There was a similar issue reported before:
      https://glassfish.dev.java.net/issues/show_bug.cgi?id=546
 
   and the issue was fixed in v1 ur1.
 
   What build of the glassfish are you using? If you are using an
earlier version of glassfish, could you please try with a later version?
Please file a glassfish issue with the test case attached if you still
see problem with later version of glassfish.

   Thanks,

- Hong


Kenneth Clark wrote:

> Hi there
>
> I am about to go mad! The error I am receiving is so non-specific I
> could fall over and start convulsing. Sorry, just very frustrated.
>
> For the server.log file I get (verifier returns that the archive is
> valid)
>
> [#|2006-12-19T20:45:22.171+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.avk.tools.verifier|_ThreadID=15;_ThreadName=Thread-36;|No
> errors found in the archive.|#]
>
> [#|2006-12-19T20:45:23.250+0200|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Thread-36;_RequestID=2542e91c-4d4f-4001-aa05-12dbee16806b;|Exception
> occured in J2EEC Phase
> com.sun.enterprise.deployment.backend.IASDeploymentException:
> Deployment Error -- null
> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:790)
> at java.util.HashMap$KeyIterator.next(HashMap.java:823)
> at
> com.sun.enterprise.deployment.backend.EjbModuleDeployer.generatePolicy(EjbModuleDeployer.java:203)
>
> at
> com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:171)
>
> at
> com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
>
> at
> com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
>
> at
> com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
>
> at
> com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
>
> at
> com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
>
> at
> com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
>
> at
> com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
>
> |#]
>
>
>
> The EJB I am try to deploy looks like
>
> @Stateless
> @WebService(serviceName = "TitleService")
> public class TitleWorkFlowManagerImpl implements TitleWorkFlowManager {
>
> TitleManager manager =
> TitleManagerImpl.getDefaultFactory().create();private TitleManager
> manager = TitleManagerImpl.getDefaultFactory().create();
>
> public TitleWorkFlowManagerImpl(){
>
> }
>
> @WebMethod(operationName="changeTitleDetails")
> @RolesAllowed("TitleAdministrator")
> public TitleResponse changeTitleDetails(TitleRequest titleRequest){
>
> return manager.updateTitle(titleRequest);
> }
>
> @WebMethod(operationName="createTitle")
> @RolesAllowed("TitleAdministrator")
> public TitleResponse createTitle(TitleRequest titleRequest){
> return manager.addTitle(titleRequest);
> }
>
> @WebMethod(operationName="getTitleDetails")
> @RolesAllowed("TitleUser")
> public TitleResponse getTitleDetails(TitleRequest titleRequest){
> return manager.requestTitle(titleRequest);
> }
>
> @WebMethod(operationName="listTitles")
> @RolesAllowed("TitleUser")
> public ListResponse listTitles(ListRequest listRequest){
> return manager.requestTitles(listRequest);
> }
>
> @WebMethod(operationName="removeTitle")
> @RolesAllowed("TitleAdministrator")
> public TitleResponse removeTitle(TitleRequest titleRequest){
> manager.deleteTitle(titleRequest);
> }
> }
>
>
> Can anyone see anything glaringly obvious? Any roads I can take to
> narrow the problem down, anything at all?
>
> Thanks
> Kenneth
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>