1 Reply Latest reply: Aug 30, 2010 7:14 PM by 843833 RSS

    Java j2ee with ubuntu

    843833
      hi...
      i am trying to useing java 2EE with linux (ubuntu) like.(servlet , jsp , ...).
      first : i downloaded java sdk and set the enviroment variables (PATH , CLASSPATH , JAVA_HOME ) right.
      second i downloaded tomcat (Servlet Container ) ,configure it and set the enviroment variables for it
      third : i ran the tamcat (sh /tomcatDir/bin/startup.sh)
      fourth : i accessed html files (http://localhost/hello.html) , jsp files (http://localhost/hello.jsp) , and servlets (http://localhost/servlets/helloServlet)
      What happened is : in sometimes i can access these files from server correctly sometimes i cant access that file and web browser(fireFox)..talking about certification issues and i cant see the contents of these file on my browser..what should i do ..plz?
        • 1. Re: Java j2ee with ubuntu
          843833
          hello..
          finally i found a solution to this problem..
          we have to edit this file (tomcat_directory/conf/context.xml) :
          change context element form : <context> ......</context>

          to : <context reloadable="true" privileged="true" > ......</context>