glassfish
  1. glassfish
  2. GLASSFISH-16238

could not redeploy web application with libraries - Error in linking security policy for

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1
    • Component/s: security
    • Labels:
      None

      Description

      I m having an web application with few jar files namely:
      commons-io-1.4.jar
      commons-fileupload-1.2.1.jar
      gdata-base-1.0.jar

      first i could easily deploy the web application with the libraries without any problems
      but for the second time i could not re deploy the application

      i get the error:
      Exception while loading the app : Error in linking security policy for void – Inconsistent Module State

      after renaming the jar files to _ wihtout the hyphen i could deploy the application for the first time

      but for the second time i could not re deploy the application

      Now i consistently getting the error: -

      Exception while loading the app : Error in linking security policy for void – Inconsistent Module State
      I think i will have fall back to glassfish 3.01 without the recent update

      even doing this... deleting the _internal directory and restarting the server did not help

      http://www.mentby.com/jacques-21/error-in-linking-security-policy-for-testing-inconsistent-module-state.html

      the log files say that:-

      ===========================================================================================================================

      WARNING: Illegal character in path at index 18: file:/D:/Documents and Settings/Administrator/My Documents/NetBeansProjects/void/build/web/WEB-INF/lib/commons_fileupload-1.2.1.jar

      java.net.URISyntaxException: Illegal character in path at index 18: file:/D:/Documents and Settings/Administrator/My Documents/NetBeansProjects/void/build/web/WEB-INF/lib/commons_fileupload-1.2.1.jar

      at java.net.URI$Parser.fail(URI.java:2809)

      at java.net.URI$Parser.checkChars(URI.java:2982)

      at java.net.URI$Parser.parseHierarchical(URI.java:3066)

      at java.net.URI$Parser.parse(URI.java:3014)

      at java.net.URI.<init>(URI.java:578)

      at java.net.URL.toURI(URL.java:918)

      at com.sun.enterprise.v3.server.SnifferManagerImpl.getURIs(SnifferManagerImpl.java:268)

      at com.sun.enterprise.v3.server.SnifferManagerImpl.getApplicableSniffers(SnifferManagerImpl.java:202)

      at com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:150)

      at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:604)

      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)

      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)

      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)

      at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)

      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)

      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)

      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)

      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)

      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)

      at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:465)

      at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:222)

      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)

      at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)

      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)

      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)

      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)

      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)

      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)

      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)

      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)

      at java.lang.Thread.run(Thread.java:619)

      INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.

      SEVERE: Exception while loading the app

      ===========================================================================================================================

        Activity

        Hide
        kumarjayanti added a comment -

        Can you please try with GlassFish V3.1 release and let us know if this is still an issue.

        Show
        kumarjayanti added a comment - Can you please try with GlassFish V3.1 release and let us know if this is still an issue.

          People

          • Assignee:
            kumarjayanti
            Reporter:
            pradyut
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: