java.lang.reflect.InvocationTargetException

Oracle Community | oimuser007 | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Multiple ear deployment throws "No username found in principals"

    Coderanch | 10 years ago | GowriSankar Narayanaswamy
    javax.ejb.AccessLocalException: SecurityException; CausedByException is: No matching username found in Principals

    Root Cause Analysis

    1. java.lang.SecurityException

      Insufficient method permissions, principal=null, ejbName=tcITResourceInstanceOperations, method=create, interface=LOCALHOME, requiredRoles=[User], principalRoles=[]

      at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation()
    2. JBoss Application Server Server
      LocalHomeProxy.invoke
      1. org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:273)
      2. org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:135)
      3. org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
      4. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
      5. org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
      6. org.jboss.ejb.Container.invoke(Container.java:981)
      7. org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:359)
      8. org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
      8 frames
    3. Unknown
      $Proxy299.create
      1. $Proxy299.create(Unknown Source)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. Thor.API.Base
      tcBaseUtilityClient.getLocalInterface
      1. Thor.API.Base.tcBaseUtilityClient.getLocalInterface(Unknown Source)
      1 frame
    6. Thor.API.Operations
      tcITResourceInstanceOperationsClient.findITResourceInstances
      1. Thor.API.Operations.tcITResourceInstanceOperationsClient.findITResourceInstances(Unknown Source)
      1 frame
    7. net.abc.oim
      UpdateITResourceParam.execute
      1. net.abc.oim.client.schedule.xellerate.UpdateITResourceParam.execute(UpdateITResourceParam.java:67)
      1 frame
    8. com.thortech.xl
      QuartzWrapper$TaskExecutionAction.run
      1. com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
      2. com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
      2 frames
    9. Thor.API.Security
      jbossLoginSession.runAs
      1. Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
      1 frame
    10. com.thortech.xl
      QuartzWrapper.execute
      1. com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
      1 frame
    11. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:203)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2 frames