2 Replies Latest reply on Jun 2, 2011 9:20 AM by Rajshekhar Pandey

    Permission Error

    Rajshekhar Pandey Newbie

      Hello to all,


      I am using JBoss Seam 2.2.2 with JBoss AS 5.1. Wherever I create new Seam Web Project and deploy to JBoss Server I get following error on console




      00:55:52,265 INFO  [TomcatDeployment] deploy, ctxPath=/DemoApplication
      00:55:52,343 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/DemoApplication'
      00:55:53,828 INFO  [ServletContextListener] Welcome to Seam 2.2.2.Final
      00:55:56,328 WARN  [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
      00:55:57,062 WARN  [HDScanner] Failed to process changes
      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment "persistence.unit:unitName=#DemoApplication" is missing the following dependencies:
          Dependency "jboss.jca:name=DemoApplicationDatasource,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=DemoApplicationDatasource,service=DataSourceBinding' **")
      
      DEPLOYMENTS IN ERROR:
        Deployment "jboss.jca:name=DemoApplicationDatasource,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=DemoApplicationDatasource,service=DataSourceBinding' **
      
           at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
           at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
           at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
           at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
           at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
           at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
           at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
           at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      


      I am using default persistence.xml file and DemoApplication-ds.xml (Data source file) created by the application.


      Why this error/warning is created and how can I get rid of this?


      Thanks in Advance.