1 Reply Latest reply on Dec 31, 2003 4:39 AM by kkaal

    Loosing Context

    kkaal

      Hi,

      could plse one interprete the following behaviour of my JBOSS 3.2.3 / Tomcat installation for me??

      I have a myapp.war file which I deploy normally, after the server started up.

      In the myapp.war file there are 4 files:

      index.jsp
      index2.jsp
      sub/sec.jsp
      sub/third.jsp

      In all files, I have a link to any other file.

      I call "http://myapp/index.jsp". In this, I hover over all links and see the full URL in the status-bar, which all start with "http://myapp/...". And they work.

      When I go to "sub/sec.jsp", the links there start with "http://..." or "http://sub/..". No "myapp".

      What is wrong there??

      Thanks for your help

      Klaus

        • 1. Re: Loosing Context
          kkaal

          Hi,

          here more info on the issue:

          Log of deployment:

          ---------------------------------------------------------------------------------
          11:16:09,391 INFO [MainDeployer] Starting deployment of package: file:/C:/Programme/jboss/server/default/deploy/corpsim.war
          11:16:09,841 INFO [EmbeddedTomcatService] deploy, ctxPath=/corpsim, warUrl=file:/C:/Programme/jboss/server/default/tmp/deploy/tmp40258corpsim.war/
          11:16:09,841 INFO [EmbeddedTomcatService] ClusteredHTTPSessionService not found
          11:16:09,841 ERROR [EmbeddedTomcatService] Failed to setup clustering, clustering disabled
          11:16:10,152 INFO [Engine] SingleSignOnContextConfig[/corpsim]: Added certificates -> request attribute Valve
          11:16:10,192 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@9d2de4
          11:16:10,202 INFO [Engine] StandardManager[/corpsim]: Seeding random number generator class java.security.SecureRandom
          11:16:10,202 INFO [Engine] StandardManager[/corpsim]: Seeding of random number generator has been completed
          11:16:10,202 INFO [Engine] StandardWrapper[/corpsim:default]: Loading container servlet default
          11:16:10,202 INFO [Engine] StandardWrapper[/corpsim:invoker]: Loading container servlet invoker
          11:16:10,532 INFO [MainDeployer] Deployed package: file:/C:/Programme/jboss/server/default/deploy/corpsim.war
          -----------------------------------------------------------------

          The client looses the ability to refrence to the context:

          "/sub/test.jsp" does NOT map to
          "http://localhost:8080/corpsim/sub/test.jsp" as expected, but to
          "http://localhost:8080/sub/test.jsp"

          I was told, that the error of the classloader (see above) is normal...

          I am using latest JBOSS 3.2.3 and see the above loader-warning several times in the startup-log.

          Thanks for your help

          Klaus