-
Posts
270 -
Joined
-
Last visited
-
Days Won
2
Everything posted by softlab
-
Hi, I'm infopar on Johnny. Here's my problem. I have my structure under public_html, among the dirs with JSPs I have the folder WEB-INF/classes, in it some folders as it/fp/servlets, in it my servlets. In my web.xml I have: <servlet> <servlet-name>ServletServizi</servlet-name> <servlet-class>it.fp.servlets.ServletServizi</servlet-class> </servlet> <servlet-mapping> <servlet-name>ServletServizi</servlet-name> <url-pattern>/ServletServizi</url-pattern> </servlet-mapping> When from a <form> I hit submit <form action="ServletServizi" method="post" class="menu"> <input name="dati" type="submit" class="pulsante submenu <%=funzioneCorrente%>" value="Dati Parrocchiali"> <input type="hidden" name="funzione" value="datiParrocchiali" /> <input type="hidden" name="paginaUtente" value="../servizio/datiParrocchia.jsp" /> <input type="hidden" name="paginaErrore" value="" /> </form> I get Not Found The requested URL /ServletServizi was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. and in my log file I find [Thu Jan 31 13:14:47 2013] [error] [client 151.25.22.29] File does not exist: /home/infopar/public_html/ServletServizi, referer: http://infopar.heliohost.org/index.jsp What's the problem? Thanks in advance.
-
Hi. I had my account suspended and reactivated it. I can connect to my cPanel correctly. The account was on Johnny. What I can't do is see my index.jsp page; when i try to connect to it, I only see the jsp code, it seems java is not active. Please help me. My info: a. HelioHost username: infopar b. server my account is on: Johnny c. my HelioHost main domain: infopar.heliohost.org. Thanks
-
On my computer all works well; i thought it could be a problem related to -XX:MaxPermSize on Tomcat startup. Which value should I use to have the same configuration on my computer? Thanks
-
Hi. I get this exception on johnny wher I try to load my index.jsp page. What could be the problem? Thank you exception org.apache.jasper.JasperException: PermGen space org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:473) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) root cause javax.servlet.ServletException: PermGen space org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965) org.apache.jsp.index_jsp._jspService(index_jsp.java:110) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) root cause java.lang.OutOfMemoryError: PermGen space
-
Hi. I'm softlab on johnny and I get this exception wher I try to load my index.jsp page. What could be the problem? Thank you exception org.apache.jasper.JasperException: PermGen space org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:473) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) root cause javax.servlet.ServletException: PermGen space org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965) org.apache.jsp.index_jsp._jspService(index_jsp.java:110) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) root cause java.lang.OutOfMemoryError: PermGen space
-
Hi. The first time I posted my problem was in May; then I reposted it various times, because I got no reasonable answer. Till now, no replies. When I give a service to the public, be it free or not, I think I have to satisfy any help request for errors, doubts and so on. Here I did not have any of these things; my problem remains my problem, no one gave me a solution for it. Do you think it is reasonable? For complete information, I append the problem to this post, hoping that someone could (and would) help me. --------------------------------------------------------------------- Pointing my java application (http://studiofp.heliohost.org/infoPar/index.jsp) and clicking the link "Accesso" I get the result below: Not Found The requested URL /infoPar/ServletUtenti was not found on this server. The servlet is in the web.xml file as below ServletUtenti it.fp.servlets.ServletUtenti ServletUtenti /ServletUtenti and is present in the WEB-inf\classes folder, in a package named "it.fp.servlets" under the named folder. In addition, I deployed the same application on a desktop under Tomcat 6.0.35 and it works perfectly. Which could be the problem?
-
Hi. I would like to put my servlets into a package, say com.servlets, in WEB-INF\classes folder under public_html folder. What should I write in my jsp and web.xml file to have the jsp invoking a servlet from the package? Besides, should all of my site go under public_html folder? Thanks in advance
-
Collecting my posts into one doesn't help me to solve my problem. I would have expected more collaboration. Thanks anyway.
- 5 replies
-
- java servlet jsp
- java servlet jsp
- (and 2 more)
-
Hi. I'm on Johnny. I would like to know which should be the structure under public_html folder. I put my servlets into a package (it.fp.servlets); under WEB-INF\classes I have the folder it\fp\servlets, and there are the servlets. My index.jsp page tries to locate a Servlet under that folder, but the error is Not Found The requested URL /ServletUtenti was not found on this server. Where am I wrong? Thanks
- 5 replies
-
- java servlet jsp
- java servlet jsp
- (and 2 more)
-
Hi. I'm on Johnny and can't find anyone that helps me. I would like to know which should be the structure under public_html folder. I put my servlets into a package (it.fp.servlets); under WEB-INF\classes I have the folder it\fp\servlets, and there are the servlets. My index.jsp page tries to locate a Servlet under that folder, but the error is Not Found The requested URL /ServletUtenti was not found on this server. Where am I wrong? Thanks
- 5 replies
-
- java servlet jsp
- java servlet jsp
- (and 2 more)
-
Hi. I'm on Johnny and can't find anyone that helps me. I would like to know which should be the structure under public_html folder. I put my servlets into a package (it.fp.servlets); under WEB-INF\classes I have the folder it\fp\servlets, and there are the servlets. My index.jsp page tries to locate a Servlet under that folder, but the error is Not Found The requested URL /ServletUtenti was not found on this server. Where am I wrong? Thanks
- 5 replies
-
- java servlet jsp
- java servlet jsp
- (and 2 more)
-
Hi. Pointing my java application (http://studiofp.heliohost.org/infoPar/index.jsp) and clicking the link "Accesso" I get the result below: Not Found The requested URL /infoPar/ServletUtenti was not found on this server. The servlet is in the web.xml file as below ServletUtenti it.fp.servlets.ServletUtenti ServletUtenti /ServletUtenti and is present in the WEB-inf\classes folder, in a package named "it.fp.servlets" under the named folder. In addition, I tried to deploy the same application under Tomcat 6.0.35 and it works perfectly. Which could be the problem? Thanks
- 5 replies
-
- java servlet jsp
- java servlet jsp
- (and 2 more)
-
Hi. Pointing my java application (http://studiofp.heliohost.org/infoPar/index.jsp) and clicking the link "Accesso" I get the result below: Not Found The requested URL /infoPar/ServletUtenti was not found on this server. The servlet is in the web.xml file as below ServletUtenti it.fp.servlets.ServletUtenti ServletUtenti /ServletUtenti and is present in the WEB-inf\classes folder, in a package named "it.fp.servlets" under the named folder. In addition, I tried to deploy the same application under Tomcat 6.0.35 and it works perfectly. Which could be the problem? Thanks
- 5 replies
-
- java servlet jsp
- java servlet jsp
- (and 2 more)
-
Hi. Yesterday in the morning I requested java enabled for my site studiofp on johnny. Till now, I' getting this error: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. What's the problem? Thanks
-
Path and filename seem to be correct; on my desktop all is Ok. By the way, as I said, also when I try to execute ServletsTestPage (the sample servlet you put in the WEB-INF\classes folder), the response is: Not Found The requested URL /ServletsTestPage was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
-
Hi. I did Java Request already. If I execute the sample JSP, all is Ok. When I try to execute ServletsTestPage, the response is: Not Found The requested URL /ServletsTestPage was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I also uploaded my war file, which contains some servlets into a package with the corresponding web.xml entries; if I try to invoke any of them, same response What should i do? My HelioHost context is studiofp. Thank you.
-
You mean with a Tomcat server running? No, I tried it only in a NetBeans environment (Tomcat inside NetBeans). I'll try and let you know.
-
Just to be precise: in my last post I wanted to ask a question, but I missed the question mark. So I repost it correctly. Is my context structure correct (all JSPs and java classes and packages under public_html, JSPs with other subfolders, JARs in WEB-INF\lib subfolder, java classes in WEB-INF\classes subfolder, with other subfolders for java packages)? Thanks
-
Yes, I tried. The most significant suggestions were to be sure my JARs were in the classpath (I hope WEB-INF\lib is in the classpath) and to put a ";" after the last "import" statement (tried, with no success); one wanted to see Tomcat logs, but I have no access to them (I tried to ask your forum if I could have control on my context, such as stopping, starting and restarting it, but you said it is not possible). Is my context structure correct (all JSPs and java classes and packages under public_html, JSPs with other subfolders, JARs in WEB-INF\lib subfolder, java classes in WEB-INF\classes subfolder, with other subfolders for java packages). Thanks
-
I considered this, but in my environment (NetBeans 7.0.1, Tomcat 7.0.14, Java 1.6.0_27) all is ok. Also sounds strange to me that a different version of Tomcat could cause all these problems.
-
Here's what happens: - connect to http://softlab.heliohost.org/index.jsp - click on "Infocar" on the right bar. Below is what I get; I want just to point out that "it.jTools.util.FunzioniSessione" is a classs residing in the package "it.jTools.util" (file jTools.jar), present in my "public_html\WEB-INF\lib" folder. HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 6 in the generated java file Only a type can be imported. it.jTools.util.FunzioniSessione resolves to a package An error occurred at line: 7 in the jsp file: /index.jsp FunzioniSessione cannot be resolved to a type 4:
-
I have no access to Tomcat logs, whatever log file could I have?
-
I just saw that link in the past; I tried adding ";" after the last import statement, but no changes. I use NetBeans, and running my web-app under NetBeans doesn't get any error. My JSP pages, apart from the first index.jsp (which is directly under my "public_html" folder), are in subfolders of my "public_html" folder; JARs are in my WEB-INF\lib subfolder. Any other suggestions?
-
Home page is showing correctly, wher I click on "infocar" then happens what described in the topic.
-
Hi. I'm softlab on johnny and I have a problem. I FTPed my java classes and jars in my "public_html" folder. When I connect to the index.jsp page (directly present under the "public_html" folder), all is ok. When from the index.jsp page I try to load another JSP, which is in a subfolder of the "public_html" folder and imports classes from the jars (present in the "WEB-INF\lib" folder) or any java class in the "WEB-INF\classes" folder, referencing in the import the package they belong (), on the instantiation of the class (FunzioniSessione f = new FunzioniSessione() I get the following error: An error occurred at line: 6 in the generated java file Only a type can be imported. it.swlab.util.FunzioniSessione resolves to a package. What is the problem? Java classes and JSP files are under my "public_html" folder, with the structure they have under tomcat (JSPs directly under the "public_html" folder or in its subfolders, java classes in the "WEB-INF\classes" folder and in its subfolders, organized in packages, JARs in the with "WEB-INF\lib" folder). Thanks in advance softlab