title: meaning of this glassfish warning: context path differs from bundle
body: <p>I'm not quite sure what this error message is indicating:</p>
  
  <pre><code>INFO:   visiting unvisited references
  INFO:   visiting unvisited references
  INFO:   visiting unvisited references
  INFO:   visiting unvisited references
  INFO:   EJB5181:Portable JNDI names for EJB Hello: [java:global/SalutationApp/SalutationApp-ejb/Hello, java:global/SalutationApp/SalutationApp-ejb/Hello!ejb.Hello]
  INFO:   Loading application [SalutationApp#SalutationApp-war.war] at [SalutationApp-war]
  INFO:   SalutationApp was successfully deployed in 976 milliseconds.
  WARNING:   Context path from ServletContext: /SalutationApp-war differs from path from bundle: SalutationApp-war
  INFO:   myRemoteMethod..
  </code></pre>
  
  <p>So far as I can tell, there doesn't seem to be an "application.xml" file...has that been deprecated?</p>
  
  <pre><code>thufir@dur:~/NetBeansProjects/SalutationApp/dist$ 
  thufir@dur:~/NetBeansProjects/SalutationApp/dist$ ll
  total 16
  drwxrwxr-x 2 thufir thufir 4096 Sep  9 01:42 ./
  drwxrwxr-x 8 thufir thufir 4096 Sep  9 01:42 ../
  -rw-rw-r-- 1 thufir thufir 7139 Sep  9 01:42 SalutationApp.ear
  thufir@dur:~/NetBeansProjects/SalutationApp/dist$ 
  thufir@dur:~/NetBeansProjects/SalutationApp/dist$ jar -xf SalutationApp.ear 
  thufir@dur:~/NetBeansProjects/SalutationApp/dist$ 
  thufir@dur:~/NetBeansProjects/SalutationApp/dist$ ll
  total 32
  drwxrwxr-x 3 thufir thufir 4096 Sep  9 01:42 ./
  drwxrwxr-x 8 thufir thufir 4096 Sep  9 01:42 ../
  drwxrwxr-x 2 thufir thufir 4096 Sep  9 01:42 META-INF/
  -rw-rw-r-- 1 thufir thufir 7139 Sep  9 01:42 SalutationApp.ear
  -rw-rw-r-- 1 thufir thufir 1908 Sep  9 01:42 SalutationApp-ejb.jar
  -rw-rw-r-- 1 thufir thufir 4652 Sep  9 01:42 SalutationApp-war.war
  thufir@dur:~/NetBeansProjects/SalutationApp/dist$ 
  thufir@dur:~/NetBeansProjects/SalutationApp/dist$ ll META-INF/
  total 12
  drwxrwxr-x 2 thufir thufir 4096 Sep  9 01:42 ./
  drwxrwxr-x 3 thufir thufir 4096 Sep  9 01:42 ../
  -rw-rw-r-- 1 thufir thufir  103 Sep  9 01:42 MANIFEST.MF
  thufir@dur:~/NetBeansProjects/SalutationApp/dist$ 
  thufir@dur:~/NetBeansProjects/SalutationApp/dist$ cat META-INF/MANIFEST.MF 
  Manifest-Version: 1.0
  Ant-Version: Apache Ant 1.9.2
  Created-By: 1.7.0_51-b31 (Oracle Corporation)
  
  thufir@dur:~/NetBeansProjects/SalutationApp/dist$ 
  </code></pre>
  
  <p>see also comments here:</p>
  
  <blockquote>
    <p>Is the Application-ejb.jar file listed in the application.xml file in
    the META-INF dir of the ear file? Is the Application-ejb.jar in the
    root of the ear file? –  Sam Nunnally Nov 24 '13 at 4:03</p>
  </blockquote>
  
  <p><a href="https://stackoverflow.com/q/20103438/262852">Setting up Enterprise Application</a></p>
  
  <p>which makes me wonder about the structure of my application.  Currently, the application runs with the expected output -- a servlet which invokes an EJB.</p>
  
  <p>What is this error indicative of?</p>
  
  <p>see also:</p>
  
  <p><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=232326" rel="noreferrer">https://netbeans.org/bugzilla/show_bug.cgi?id=232326</a></p>