tomcat silent installation
Hi All, Can anybody tell me how to install tomcat in silent mode.As i know we can install JDK in silent mode with the help of a response file. Plz help me. its urgent. Regards Vishal Nalwa Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
apachephp4.0---Permission denied error
HI Folks, Once again i need your help. Actually i am using apache php 4.0 an d3 bsd unix as OS. Now i am trying to run a shell script and i am getting the error of permission denied. This script is all about to spawn a new process. I am keenly waiting for the responses. Thanks in advance ...Vishal Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSP pages not refreshing
Hi , Follow these points -Goto tomcat5.5/conf/ folder -open the web.xml -Find out the JSP servlet which will look like servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namefork/param-name param-valuefalse/param-value /init-param init-param param-namexpoweredBy/param-name param-valuefalse/param-value /init-param load-on-startup3/load-on-startup /servlet now modify it to servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namefork/param-name param-valuefalse/param-value /init-param init-param param-namexpoweredBy/param-name param-valuefalse/param-value /init-param init-param param-namereloading/param-name param-valuetrue/param-value /init-param load-on-startup3/load-on-startup /servlet It will surely solve your problem Regards, Vishal Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.5 (need help??????????I
Hi all, I have developed a JSP application. It is working fine on my machine(with tomcat5.5 JRE 1.5 ,win2000). But when this application run on client side (with tomcat5.5 JRE1.5,winNT) it is showing unexpected behaviour it is showing the following error. org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:565) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:296) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:246) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause java.lang.ArrayIndexOutOfBoundsException: 0 org.apache.jasper.compiler.SmapUtil$SDEInstaller.copy(SmapUtil.java:425) And sometimes Exception javax.servlet.ServletException:Truncated class file . . . root cause java.lang.ClassFormatError:Truncated class file Please help me. Is it tomcat5.5 configuration issue or some bad logic in my application. Thanks to all in advance Vishal Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat5.5 configuration issue
Thanks Shapira Yoav Thanks for replying. Yes client has enough disk space. Could you please explain me how disk space is the cause of such exceptions. Is there any other issues can cause these exceptions. Please help me. I need your help. Regards, Vishal --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, Ensure the client has sufficient disk space where Tomcat is installed... Yoav Shapira http://www.yoavshapira.com -Original Message- From: vishal nalwa [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 1:49 AM To: [EMAIL PROTECTED] Subject: tomcat5.5 configuration issue Hi all, I have developed a JSP application. It is working fine on my machine(with tomcat5.5 JRE 1.5 ,win2000). But when this application run on client side (with tomcat5.5 JRE1.5,winNT) it is showing unexpected behaviour it is showing the following error. org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.j ava: 565) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j ava: 296) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:296 ) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:246) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause java.lang.ArrayIndexOutOfBoundsException: 0 org.apache.jasper.compiler.SmapUtil$SDEInstaller.copy(SmapUtil.java:425 ) And sometimes Exception javax.servlet.ServletException:Truncated class file . . . root cause java.lang.ClassFormatError:Truncated class file Please help me. Is it tomcat5.5 configuration issue or some bad logic in my application. Thanks to all in advance Vishal ___ _ Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat5.5 configuration issue
Hi all, I have developed a JSP application. It is working fine on my machine(with tomcat5.5 JRE 1.5 ,win2000). But when this application run on client side (with tomcat5.5 JRE1.5,winNT) it is showing unexpected behaviour it is showing the following error. org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:565) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:296) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:246) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause java.lang.ArrayIndexOutOfBoundsException: 0 org.apache.jasper.compiler.SmapUtil$SDEInstaller.copy(SmapUtil.java:425) And sometimes Exception javax.servlet.ServletException:Truncated class file . . . root cause java.lang.ClassFormatError:Truncated class file Please help me. Is it tomcat5.5 configuration issue or some bad logic in my application. Thanks to all in advance Vishal Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
java.lang.Thread.run(Thread.java:479)
All Gurus, I'm new to Tomcat 4.0 and Apache 1.3.27. I have an application (Business Objects) running on these where the report results are converted to XML and then displayed. My server crashed very often with this error. I added -Xms -Xmx parameters in CATALINA.BAT with value of 1024MB also have set the XML_MAX_BYTES to 1 million. But it doesn't seem to work. I know I'm missing something. Could you please help me in resolving the issue? Thanks in advance Vishal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: java.lang.Thread.run(Thread.java:479)
Apologies for missing the actual error message as following root cause java.lang.OutOfMemoryError -Original Message- From: Singh, Vishal Sent: Friday, 27 August 2004 1:23 PM To: Tomcat Users List Subject: java.lang.Thread.run(Thread.java:479) All Gurus, I'm new to Tomcat 4.0 and Apache 1.3.27. I have an application (Business Objects) running on these where the report results are converted to XML and then displayed. My server crashed very often with this error. I added -Xms -Xmx parameters in CATALINA.BAT with value of 1024MB also have set the XML_MAX_BYTES to 1 million. But it doesn't seem to work. I know I'm missing something. Could you please help me in resolving the issue? Thanks in advance Vishal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Unable to access html/jsp lying in Tomcat Root directory
I have created a symlink for Tomcat root directory /home/vsaxena/jakarta-tomcat-5.0.12/webapps/ROOT to DSpace (Application that I am working upon) directory containing all the JSP and required HTML. (index.html is one of these) However, as I try to access index.html from browser (accessing the URL http://agate.mit.edu:8080/index.html) I get The page cannot be found kind of error. On the bottom of this error page, I get HTTP 400 - Bad Request Internet Explorer What does it mean? What might be the wrong? Any suggestion, clue or feedback will be kindly appreciated. Regards ~Vishal VISHAL SAXENA -Student, M.I.T. Cambridge -Graduate Research Assistant, Sloan Business School, MIT -CELL:1-617-308-1003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Login Password for Tomcat Web Server Administration Screen
On the TOMCAT web server asministration screen, I am being asked to enter user name and password. I was just wondering when i could have given this username and password. I installed Tomcat, PostGRESql, DSapce and Ant. I configured all these and in that process I entered information at several places,. I am kind of lost about what i have to enter on this screen. ~Vishal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Login Password for Tomcat Web Server Administration Screen
Cool ! Now I am facing another problem: bash-2.05$ cd /home/vsaxena/jakarta-tomcat-5.0.12/webapps/ROOT : is my Root directory of Tomcat. However since I want to run DSpace application on Tomcat, so as per the documentation of DSpace - Connect the DSpace webapps up to Tomcat. With many Web applications, the convention is to put everything associated with the application under Tomcat's directory. Since DSpace has many extra components, we instead use symlinks. Go to the webapps directory in Tomcat, and make these symlinks: So I have Root pointing to jsp directory of DSpace: ROOT - /home/vsaxena/dspace_Install/dspace-1.1/jsp Problem is that now if i try to look at http://agate.mit.edu:8080/home.jsp I get page cannot be found error (HTTP 400-Bad request). It says The page you are looking for might have been removed, had its name changed, or is temporarily unavailable I verified home.jsp lies in the /home/vsaxena/dspace_Install/dspace-1.1/jsp directory. What might be the problem? How can I access this jsp. Please note that I installed Tomcat and DSpace as the same user. I will appreciate any suggestion or solution in this regard. Thanks and Regards ~Vishal -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 1:10 PM To: Tomcat Users List Subject: Re: Login Password for Tomcat Web Server Administration Screen http://jakarta.apache.org/tomcat/faq/security.html#login -Tim VISHAL SAXENA wrote: On the TOMCAT web server asministration screen, I am being asked to enter user name and password. I was just wondering when i could have given this username and password. I installed Tomcat, PostGRESql, DSapce and Ant. I configured all these and in that process I entered information at several places,. I am kind of lost about what i have to enter on this screen. ~Vishal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Login Password for Tomcat Web Server Administration Screen
I restarted Tomcat number of times. I will do it again as well! Now, How do I know that user that tomcat is running under, have permissions to access that directory? I mean, I am a user say dspace. I installed DSpace and even the Tomcat as dspace user. I did specify symlink from Tomcat webapp to DSpace jsp directory. While looged in solaris machine, As a dspace user, I can visit any of the file that lies in this jsp directory. I can also start and shutdown Tomcat. And I am not surprised as I installed both of these as a dspace user. However to the outer world, when I try to access these file (from browser through internet), How do i know, who is going to access it. And how can I make sure that anybody can see it through a URL, if access is a problem? How can I test symlink? I am sorry to ask so many questions as I am fairly new to Solaris and quite unexperienced with Tomcat. Regards ~Vishal -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 1:54 PM To: Tomcat Users List Subject: Re: Login Password for Tomcat Web Server Administration Screen Did you restart tomcat after making the symlink? Does the user that tomcat is running under have permissions to access that directory? Did you test your symlink? On Monday 10 November 2003 01:37 pm, VISHAL SAXENA wrote: Cool ! Now I am facing another problem: bash-2.05$ cd /home/vsaxena/jakarta-tomcat-5.0.12/webapps/ROOT : is my Root directory of Tomcat. However since I want to run DSpace application on Tomcat, so as per the documentation of DSpace - Connect the DSpace webapps up to Tomcat. With many Web applications, the convention is to put everything associated with the application under Tomcat's directory. Since DSpace has many extra components, we instead use symlinks. Go to the webapps directory in Tomcat, and make these symlinks: So I have Root pointing to jsp directory of DSpace: ROOT - /home/vsaxena/dspace_Install/dspace-1.1/jsp Problem is that now if i try to look at http://agate.mit.edu:8080/home.jsp I get page cannot be found error (HTTP 400-Bad request). It says The page you are looking for might have been removed, had its name changed, or is temporarily unavailable I verified home.jsp lies in the /home/vsaxena/dspace_Install/dspace-1.1/jsp directory. What might be the problem? How can I access this jsp. Please note that I installed Tomcat and DSpace as the same user. I will appreciate any suggestion or solution in this regard. Thanks and Regards ~Vishal -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 1:10 PM To: Tomcat Users List Subject: Re: Login Password for Tomcat Web Server Administration Screen http://jakarta.apache.org/tomcat/faq/security.html#login -Tim VISHAL SAXENA wrote: On the TOMCAT web server asministration screen, I am being asked to enter user name and password. I was just wondering when i could have given this username and password. I installed Tomcat, PostGRESql, DSapce and Ant. I configured all these and in that process I entered information at several places,. I am kind of lost about what i have to enter on this screen. ~Vishal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ben Souther F.W. Davison Company, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problems with tomcat as rmi client
Hi, I am trying to use a Tomcat webapp as a RMI client. For the test purposes, my RMI server resides on the same machine. When I use a Tomcat webapp as a client, I consistently get a ClassCastException, while if I use a plain java class for the client, it works flawlessly. Following is my client code used in the servlet and the plain java class. System.setProperty(java.rmi.server.codebase, file:/path/to/stubfile/); try { //(line: 141) TestInterface testIf = (TestInterface)Naming.lookup(//localhost/Test); result = testIf.testMethod(); } catch (Exception e) { servlet.log(e.getMessage()); e.printStackTrace(); } I am using: JDK-1.4 tomcat-4.1.12 From the stack it looks like the stub file is located, but it cannot relate it with the interface file. It looks like the interface file and the stub files are loaded with different class loaders and cannot be associated. java.lang.ClassCastException: Test_Stub at com.vishal.eg.TestAction.perform(TestAction.java:141) at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) at java.lang.Thread.run(Thread.java:536) Thanks in advance, Vishal __ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
ClassCastException when using Tomcat as RMI client
Hi, I am trying to use a Tomcat webapp as a RMI client. For the test purposes, my RMI server resides on the same machine. When I use a Tomcat webapp as a client, I consistently get a ClassCastException, while if I use a plain java class for the client, it works flawlessly. Following is my client code used in the servlet and the plain java class. System.setProperty(java.rmi.server.codebase, file:/path/to/stubfile/); try { //(line: 141) TestInterface testIf = (TestInterface) Naming.lookup(//localhost/Test); result = testIf.testMethod(); } catch (Exception e) { servlet.log(e.getMessage()); e.printStackTrace(); } I am using: JDK-1.4 tomcat-4.1.12 From the stack it looks like the stub file is located, but it cannot relate it with the interface file. java.lang.ClassCastException: Test_Stub at com.blah.blah.TestAction.perform(TestAction.java:141) at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) at java.lang.Thread.run(Thread.java:536) Thanks in advance, Vishal __ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[urgent]Help pleeeeez--context problem--logfiles attached
Hi, Please help me out as tomcat is crashing as soon as i add myApp context to it. But it works fine without it. Please give me the possible reasons and the solution for it. Any help will be appreciated. Also attached is log file and config files. sever.xml.bak1 is the file when tomcat works fine.server.xml is file when tomcat crashes.debug.txt gives outputs of ps -ef | grep tomcat debug* are logfiles of tomcatProblem is sever.xml file as tomcat works fine with sever.xml.bak1.Best Regards,VishalVishal GuptaSchlumberger Measurement Systems India Ltd 10th Floor, HMG AmbassadorBangalore 560 025Tel: +91 98451 32104 off: +91 80 2075052-55 Ext: 117 Fax:+91 80 2075056 E-Mail :- [EMAIL PROTECTED] and [EMAIL PROTECTED]Do you Yahoo!? HotJobs - Search new jobs daily now hpb1.zip Description: hpb1.zip -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
tomcat not working
Hi All, I have installed tomcat/apache on HP-UX machine. Apache is working fine but i can't see the tomcat home page at ://ip_address:8080/index.html error is below. I have checked all the conf files in conf directory.everything seems to be OK please suggest the solution. Regards, Vishal Apache Tomcat/4.0.4 - HTTP Status 404 - /index.html type Status report message /index.html description The requested resource (/index.html) is not available. - Do you Yahoo!? Y! Web Hosting - Let the expert host your web site
RE: tomcat not working
Pls see below.. Thanks and regards, Vishal PELOQUIN,JEFFREY (HP-Boise,ex1) [EMAIL PROTECTED] wrote: Do you have an index.html file in your ROOT context/webapp? ..yes its there ..I suspect some configuration or user right as it says resource not available..i made its owner as tomcat and permissions are 777.. ...pls advice as it must be a simple problem...and i am a novice with hp systems.but i have checked min. config mentioned in running.txt and everything seems to be ok most likely /opt/jakarta/webapps/ROOT/index.html What do you get if you try http://ip_address:8080/ without specifying a file? ...I still get the same error Also for your HP-UX machine did you use the apache/tomcat depot provided by HP or did you download the files from apache and jakarta websites? If the latter how much trouble did you have compiling the connector between apache and tomcat? This does not have to do with your problem but I am simply curious as I use HP-UX machines, as well. ..apache jakarta file gave me some error so i used the depot for that but tomcat installation was smooth from jakarta binary file Jeff -Original Message- From: Vishal Gupta [mailto:vhgupta1;yahoo.com] Sent: Thursday, October 24, 2002 3:57 AM To: [EMAIL PROTECTED] Subject: tomcat not working Hi All, I have installed tomcat/apache on HP-UX machine. Apache is working fine but i can't see the tomcat home page at ://ip_address:8080/index.html error is below. I have checked all the conf files in conf directory.everything seems to be OK please suggest the solution. Regards, Vishal Apache Tomcat/4.0.4 - HTTP Status 404 - /index.html type Status report message /index.html description The requested resource (/index.html) is not available. - Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -- To unsubscribe, e-mail: For additional commands, e-mail: Vishal Gupta Schlumberger Measurement Systems India Ltd 10th Floor, HMG Ambassador Bangalore 560 025 Tel: +91 98451 32104 off: +91 80 2075052-55 Ext: 117 Fax:+91 80 2075056 E-Mail :- [EMAIL PROTECTED] and [EMAIL PROTECTED] - Do you Yahoo!? Y! Web Hosting - Let the expert host your web site
urgent:::Pls :Tomcat not working
Hi All, I have installed tomcat/apache on HP-UX machine. Apache is working fine but i can't see the tomcat home page at ://ip_address:8080/index.html error is below. I have checked all the conf files in conf directory.everything seems to be OK please suggest the solution. Regards, Vishal Apache Tomcat/4.0.4 - HTTP Status 404 - /index.html type Status report message /index.html description The requested resource (/index.html) is not available. Vishal Gupta Schlumberger Measurement Systems India Ltd 10th Floor, HMG Ambassador Bangalore 560 025 Tel: +91 98451 32104 off: +91 80 2075052-55 Ext: 117 Fax:+91 80 2075056 E-Mail :- [EMAIL PROTECTED] and [EMAIL PROTECTED] - Do you Yahoo!? Y! Web Hosting - Let the expert host your web site
HTTP Status 500 - Internal Server Error
Hi all, Having deployed Tomcat 4.0.4 in IIS 4.0 When I try to run a java bean program I get following error. * testbean.jsp ** html %@ page language=Java import=java.sql.* session=true % %@ page import=java.util.* % jsp:useBean id=pool scope=application class=connectionpool.ConnectionPool / % Connection con=null; out.println(enter 1); try { out.println(enter 2); //the pull is not initailized if(pool.getDriver()==null) { //initialize the pool pool.setDriver(sun.jdbc.odbc.JdbcOdbcDriver); pool.setURL(jdbc:odbc:oradsn); pool.setUsername(paytest); pool.setPassword(paytest); pool.setSize(5); pool.initializePool(); } //get a connection from the connection pool con = pool.getConnection(); out.println(connection is +con); //create the statement Statement statement1 =con.createStatement(); } catch (Exception e ) {System.out.println(CException : + e.getMessage()); } % * End Of testbean.jsp ** * ERROR ** Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception java.lang.ClassCastException: examples.connectionpool.ConnectionPool at org.apache.jsp.testbean$jsp._jspService(testbean$jsp.java:73) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:201) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:371) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424) at java.lang.Thread.run(Unknown Source) * END OF ERROR ** Thanks Regards Vishal Mukherjee -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
ClassCastException Error
Hi all, Having deployed Tomcat 4.0.4 in IIS 4.0 When I try to run a java bean program I get following error. * testbean.jsp ** html %@ page language=Java import=java.sql.* session=true % %@ page import=java.util.* % jsp:useBean id=pool scope=application class=connectionpool.ConnectionPool / % Connection con=null; out.println(enter 1); try { out.println(enter 2); //the pull is not initailized if(pool.getDriver()==null) { //initialize the pool pool.setDriver(sun.jdbc.odbc.JdbcOdbcDriver); pool.setURL(jdbc:odbc:oradsn); pool.setUsername(paytest); pool.setPassword(paytest); pool.setSize(5); pool.initializePool(); } //get a connection from the connection pool con = pool.getConnection(); out.println(connection is +con); //create the statement Statement statement1 =con.createStatement(); } catch (Exception e ) {System.out.println(CException : + e.getMessage()); } % * End Of testbean.jsp ** * ERROR ** Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception java.lang.ClassCastException: examples.connectionpool.ConnectionPool at org.apache.jsp.testbean$jsp._jspService(testbean$jsp.java:73) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:201) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:371) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424) at java.lang.Thread.run(Unknown Source) * END OF ERROR ** Thanks Regards Vishal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
ClassCastException Error
Hi all, Having deployed Tomcat 4.0.4 in IIS 4.0 When I try to run a java bean program I get following error. * testbean.jsp ** html %@ page language=Java import=java.sql.* session=true % %@ page import=java.util.* % jsp:useBean id=pool scope=application class=connectionpool.ConnectionPool / % Connection con=null; out.println(enter 1); try { out.println(enter 2); //the pull is not initailized if(pool.getDriver()==null) { //initialize the pool pool.setDriver(sun.jdbc.odbc.JdbcOdbcDriver); pool.setURL(jdbc:odbc:oradsn); pool.setUsername(paytest); pool.setPassword(paytest); pool.setSize(5); pool.initializePool(); } //get a connection from the connection pool con = pool.getConnection(); out.println(connection is +con); //create the statement Statement statement1 =con.createStatement(); } catch (Exception e ) {System.out.println(CException : + e.getMessage()); } % * End Of testbean.jsp ** * ERROR ** Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception java.lang.ClassCastException: examples.connectionpool.ConnectionPool at org.apache.jsp.testbean$jsp._jspService(testbean$jsp.java:73) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:201) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:371) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424) at java.lang.Thread.run(Unknown Source) * END OF ERROR ** Thanks Regards Vishal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Bean on Tomcat
Hi all Can anyone tell me how to configure beans om Tomcat 4.0.4 Thanks Regards Vishal Mukherjee -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Web.xml
Hi all Can anyone assist me to write the web.xml in the WEB-INF directory. I have added the context and also created directory of Jsp and servlets. Thanks Regards Vishal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: new to tomcat
hi Is it necessary to deploy the application under webapps directory only. Regards Vishal - Original Message - From: Michael E. Locasto [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, August 12, 2002 6:04 PM Subject: Re: new to tomcat Amit, But when i create TESTJSP directory under Tomcat4.0 - webapps --- TESTJSP --- HelloWorld.jsp did you restart Tomcat after you created that directory and put the jsp in it? You don't need a Context entry in server.xml for directories under webapps/ ... they will get loaded automagically at startup. Regards, Michael try to view in browser .. http://localhost:8080/TESTJSP/HelloWorld.jsp it gives error saying HTTP 404 error .. requested resources are not available.. Can u tell me what type of error is it? regards Amit Luktuke - Original Message - From: Ben Walding [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, August 10, 2002 1:40 PM Subject: Re: new to tomcat Possibly : You should have called the dir webapps not webaaps Although this is probably just a typo in your email :) Amit Luktuke wrote: hello I am very new to Tomcat4.0. I have successfully installed tomcat4.0 on my machine but can not able to run simple HelloWorld.jsp file. I have put it in folder C:\Tomcat4.0\webaaps\TestJSP\Helloworld.jsp webapps On brower .. http://localhost:8080/TestJSP/Helloworld.jsp My O.S is windows 2000 professional i have JDK1.3 installed. Can anyone help me Regards Amit Luktuke -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Newbie to Tomcat on IIS
hi all I am new to tomcat 4.04 has installed tomcat on Win NT 4.0 with IIS. Want to know a few things 1.Is in necessary to deploy your website under the Webapps directory. 2.My directory name is intranet' so what will be the context. and what all I need to change. so that JSP and Beans are configured Please help me I am unable to grasp from the docs. if any one can give me the step by step help I would me very grateful. Thanks Regards Vishal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat on IIS Shudown Procedure
Hi all, I am using tomcat 4.0.4 on IIS with Win NT 4.0 This is our intranet Server, Tomcat is installed as service. At the day end this server automatically shuts down with the shutdown utility of windown resourse kit. Sometimes Next day i find problems with the server that the .JSP pages do not run properly. Am i closing it in a wrong way. can any one help me pls.. Thanks Regards ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Vishal Mukherjee IRSSL Vashi 91.022.7896004.155 (voice) 022.7896020(fax) Life goes on within you and without you G. Harrison. 1943-2001 ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Session JDBC
Hi wiwi .. there r many ways u can handle this situation ... 1) From u'r login page u can send the username and password to a jsp file , which will authenticate the user checking the values from the database .If the user is present u can just forward the page to next JSP ar Servlet Eg : jsp:forward page=/FileName.jsp / for JSP or Eg : jsp:forward page=/servlet/FileName / for Servlets in that servlet or jsp u can initialise a session that will work dedicated to that user throught his login period !!! just add this scriplet before the body tag to have session=true %@ page language=java import=java.sql.* session=true% i can send the option with doing the same stuff purly with servlets also but because of lack of time i'll send it only if u r not satisfied with the present solution !!! do let me know Vishal Gupta Vishal Gupta Software Analyst ABL Technologies India Ph 91-11-3546203 91-11-3546204 91-11-3626315 * - Original Message - From: Wiwi Wiwi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 20, 2002 8:08 AM Subject: Session JDBC Hi all. Can somebody point me some guides on my project. Now, I'm trying to do a login page for my client, and I wish to do some session once the login is successfully. However, I don't know where should my login page forward to? Is it straight away forward to servlet to create a session and validate the user within a servlet? Or, use some Java Bean to create a JDBC connectivity, and on the other hand, create a servlet to handle session? By the way, can anyone guides me on what method(servlet or bean) to be used to create the validation on the user login and create the session for the user? Thanks. regards, wiwi. _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Hi
Hi . If U'r hitting a servlet then in the actionline u have to specify action=/servlet/filename i think u'r only giving action=/filename cos as u have written everything seems right ... the files r in the right directory eg: classes just check if u'r using /servlet/filename Vishal Gupta Software Analyst ABL Technologies India Ph 91-11-3546203 91-11-3546204 91-11-3626315 * - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, May 20, 2002 1:08 PM Subject: Hi Hi man, Here again I have a doubt in hitting a servlet.I have a simple servlet where iam keeping that in C:\jwsdp-1_0-ea2\webapps\ROOT\WEB-INF\classes folder, I have put both .java .class file in classes dir. When iam trying to hit , its giving me... HTTP Status 404 - /One type Status report message /One description The requested resource (/One) is not available. Java Web Services Developer Pack/1.0-ea2 Please tell me how to hit it thanks Regards SivaPrasad. g Orbitech Solutions limited [EMAIL PROTECTED] 091-44-8586231 Extn- 4593 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: placing my source code
Hi SivaPrasad , If u'r calling a Bean from a Jsp u have to put that Bean in u'r Classes Folder . where u put rest of u'r java files . Just put u'r Bean that is nothing but a .java file in u'r classes folder underWeb-Inf . Vishal - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 18, 2002 7:17 PM Subject: placing my source code Hi , Where should I place my standalone java program.I have a bean which is called by a jsp .I dont know where to create a folder to place my bean. I am new to tomcat .Please help me. thanks Regards SivaPrasad. g Orbitech Solutions limited [EMAIL PROTECTED] 091-44-8586231 Extn- 4593 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Who added this - class
Dear Ram who added this is coaused because of overloading of server .. u haven't menshioned which version u r using there is a limit of files tomcat can handle . try reducing the no. of files of u'r application and see if the problem goes !! (Tomete Tomete ) Vishal - Original Message - From: RamNivas [EMAIL PROTECTED] To: Tomcat-User [EMAIL PROTECTED] Sent: Saturday, May 18, 2002 4:43 PM Subject: Who added this - class Dear All, While working with Tomcat I am getting message like who added this? null..bla..bla.. My Development folder and root folder of tomcat is same. What may be wrong Regards Ram -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How to hide code of JSP when we deploy app in Customer site
Hi Phupha if u want that nobody should be able to read u'r code .u have to use java beans to execute u'r bussiness logic and call them from the jsp the user is exposed to ... this way u'r JSp will contain only thehtml code and the script code ... and everything else will be in the class files on the server !!! i have posted an example about how to use java beans with jsp ... if u haven't seen that then lemme know i'll send it again Vishal Software Analyst Abl Technologies India - Original Message - From: Phupha Punyapotasakul/MIS/RY-CPP/Petro [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, May 18, 2002 8:37 AM Subject: How to hide code of JSP when we deploy app in Customer site I decide to use JSP develop web-base app for customer but I don't want Customer to see source code. How Can I do. Any Ideas can solved this. -- --- Phupha Punyapotasakul 01-3742594 MIS Department... CP Petrochemical Co.,Ltd. [038-897103-8 #2027] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Code Sample For -: running JSP with Javabeans
Hi Juanjo ... to use java beans with Jsp's u just have to put all u'r java beans that r nothing but the class files within u'r classes floder if u'r using some pakage then u can put u'r java beans in that package under the classes floder of the Tomcat ... u have to call that Java bean from u'r JSP file here i'm sending u the code to include the beans jsp:useBean id=ClassFileName scope=page class=ClassFileName jsp:setProperty name=ClassFileName property=* / /jsp:useBean this is perfectly working for me .. i hope u'll also get the desired result with this . Vishal Gupta - Original Message - From: juan jose amador [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, May 17, 2002 4:10 PM Subject: running JSP with Javabeans Hi, Yesterday I sent a problem running JSP with javabeans.I can run JSP without problem but not with javaBeans and i Know the java files are well built. The answer I received was to make a package but it does not work. The structure of my directories is: WEBAPPS MYPROJECT WEB-INF +jsp files CLASSES PACKAGE here are file.class. Somebody can help me? Thanks. JUANJO -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: configuration problems
hi dave just try putting a JSP with the following code in u'r Root Folder ... and run it on the browser http://localhost:8080/Test.jsp just save the following code as Test.jsp in u'r root folder : html head titleNew Page 1/title /head %@ page language=java import=java.util.*,java.io.*,java.text.*,java.sql.*,java.math.*; session=true% body % out.print(Hello Dave !!! How r u Doing); % /body /html Vishal - Original Message - From: Dave hackenyos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 17, 2002 1:48 AM Subject: configuration problems Hello Tomcat Users, Although Tomcat home page comes up fine, I am unable to run any examples of jsps or servlets with the following message (for jsp examples): type Status report message /examples/jsp/ description The requested resource (/examples/jsp/) is not available. I have tomcat 4.0.3 installed on a powerbook G4 w/OS 10.1.4. I have set CATALINA_HOME to the root of the installation and set JAVA_HOME appropriately. Any html servlet or jsp works fine if placed in $CATALINA_HOME/webapps/ROOT where the tomcat index.html lives but nothing in the examples directory works. I have written a jsp with a call to a javabean class file which also does not work, stating that the class file is not found even though it is put into the proper directory for class files (.../WEB- INF/classes). I assume when the basic problem above is fixed it will work. Please let me know with there is something missing from my configuration. Thanks for any help you can be, Dave Hackenyos [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Making progress..Tomcat now started - still getting 500 Status
Hi gary .. i think for this problem u need to include the tools.jar file in u'r class path !! try including that if u haven't and then we can see what else can be done if it still doesn't work vishal - Original Message - From: Gary Frick [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, May 17, 2002 12:46 AM Subject: Making progress..Tomcat now started - still getting 500 Status Thanks to everyone for the help in sorting out the port contention problem. Changing the port designation did the trick. Additionally, there was a rogue copy of Tomcat service running which I wasn't aware of. So, now to the next problem (HTTP 500 Error). java.lang.NoClassDefFoundError: sun/tools/javac/Main I believe that my 'properties' files, environment vars, and classpath are correct, but I can't be certain. Can anyone assist with sorting this out? Thanks, Gary -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HELP HELP HELP HELP HOW to Configure Tomcat on IIS and deploy our own web Application.
Any one to help me on this - Original Message - From: Vishal Mukherjee [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, February 25, 2002 10:27 AM Subject: HOW to Configure Tomcat on IIS and deploy our own web Application. Hi all, I an a NewBie to Tomcat. Having installed TC 3.2.3 on IIS 4 with the help of your guidance from the link suggested below. http://www.verysimple.com/scripts/support_tc_iis.html All works fine. I have a web application which i have to deply to our intranet server, mearly copying the files in a directory and adding the context does not work. Can anyone help to delpoy our application where i can get step-by-step methods to configure the application for JSP, Servlets and beans directories and deploy it. Thanks Regards ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Vishal Mukherjee IRSSL Vashi 91.022.7896004.155 (voice) 022.7896020(fax) Don't take life too serious. You'll never escape it alive anyway. - Ebert Hubbard ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Visit Our Cement Site at http://www.indorama.co.in Our Software Site at http://www.irssl.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Visit Our Cement Site at http://www.indorama.co.in Our Software Site at http://www.irssl.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
HOW to Configure Tomcat on IIS and deploy our own web Application.
Hi all, I an a NewBie to Tomcat. Having installed TC 3.2.3 on IIS 4 with the help of your guidance from the link suggested below. http://www.verysimple.com/scripts/support_tc_iis.html All works fine. I have a web application which i have to deply to our intranet server, mearly copying the files in a directory and adding the context does not work. Can anyone help to delpoy our application where i can get step-by-step methods to configure the application for JSP, Servlets and beans directories and deploy it. Thanks Regards ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Vishal Mukherjee IRSSL Vashi 91.022.7896004.155 (voice) 022.7896020(fax) Don't take life too serious. You'll never escape it alive anyway. - Ebert Hubbard ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Visit Our Cement Site at http://www.indorama.co.in Our Software Site at http://www.irssl.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
A simple query
Is it necessary to keep the physical folder under the webapps directory. I have tomcat 3.2.3 on IIS 4 Thanks Regards Visit Our Cement Site at http://www.indorama.co.in Our Software Site at http://www.irssl.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
A simple query
Is it mecessary to keep the physical folder under the webapps directory. Thanks Regards Visit Our Cement Site at http://www.indorama.co.in Our Software Site at http://www.irssl.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Please Somebody help me
Please some boby help me I have installed tomcat 3.2.3 on IIS4 and had configured it as per the instruction. The JSP pages work proberly from http://localhost/examples or http://localhost/jsp but from other mc it does not thou the html works. I think i have not given proper context. What Context to add in the server.xml file for this situation. The physical directory is E:\Indorama The Alias used in IIS is ircl so my intranet site is http://indorama/ircl the JSP pages are located in a the directory e:\indorama\indorama\jsp so at site it reflectes as http://indorama/ircl/indorama/jsp I want to know what will be the context to be added in server.xml Please help me. Thanks Regards ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Vishal Mukherjee IRSSL Vashi 91.022.7896004.155 (voice) 022.7896020(fax) Don't take life too serious. You'll never escape it alive anyway. - Ebert Hubbard ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Visit Our Cement Site at http://www.indorama.co.in Our Software Site at http://www.irssl.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Redirector Comtext.
Hi all, I have installed tomcat 3.2.3 on IIS4 and had configured it as per the instruction. But i am facing a problem What Context to add in the server.xml file for this situation. The physical directory is E:\Indorama The Alias used in IIS is ircl so my intranet site is http://indorama/ircl the JSP pages are located in a the directory e:\indorama\indorama\jsp so at site it reflectes as http://indorama/ircl/indorama/jsp I want to know what will be the context to be added in server.xml Please help me. Thanks Regards ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Vishal Mukherjee IRSSL Vashi 91.022.7896004.155 (voice) 022.7896020(fax) Don't take life too serious. You'll never escape it alive anyway. - Ebert Hubbard ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Visit Our Cement Site at http://www.indorama.co.in Our Software Site at http://www.irssl.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat 4.0 with IIS
Hi all, Is Tomcat 4 compatiable with IIS 4? Can i upgrade my Tomcat 3 on IIS 4 to Tomcat 4 Thanks Regards ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Vishal Mukherjee IRSSL Vashi 91.022.7896004.155 (voice) 022.7896020(fax) Don't take life too serious. You'll never escape it alive anyway. - Ebert Hubbard ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Visit Our Cement Site at http://cement.indorama.com Our Software Site at http://www.irssl.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
TC with IIS
Hi All, I am using TC 3.3a with IIS 4.0 I have gone through many pages to configure it. I am facing problem to configure the isapi_redirector.dll properly. in the iis 4 the ISAPI filters screen the jakarta filter has a RED arrow next to it. What could be the Problem I am using SBS 4.5 with IIS 4.0 and Tomcat 3.3a Thanks Regards ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Vishal Mukherjee IRSSL Vashi 91.022.7896004.155 (voice) 022.7896020(fax) Don't take life too serious. You'll never escape it alive anyway. - Ebert Hubbard ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Visit Our Cement Site at http://cement.indorama.com Our Software Site at http://www.irssl.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat Web Server 3.1 bug
hello , i am working on a web based application using JSP on Tomcat Web Server. Other tools used are JavaMail 1.1. I am getting a runtime exception which i have tried to solve but am unable to do so. So i have come to u for help. I have traced out the location where i get this error. I have a jsp mailTest.jsp which calls method mailUserAboutLoginCreation( ) of TeamshareMailBean.class This method accepts 5 String parameters. This method calls method sendMessage() of MailGenericBean.class. It is here that I get a problem. The following code causes the problem ( of sendMessage() ). try { message = new MimeMessage( session ) ; // message is object of javax.mail.Message class // session is an object of javax.mail.Session class } catch( Exception e ) { outputWriter.write( "CATCH : Exception while creating Message object : " + e ) ; } finally { outputWriter.write( "FINALLY : Exception while creating Message object : " + message ) ; } When the above code executes the 'message' object is not instantiated. The 'catch' block is not executed while the 'finally' block is executing. The code which follows the 'finally' block is not executed. After this the HTML part of mailTest.jsp which lies above the TeamshareMailBean.mailUserAboutLoginCreation( ) appear on my browser followed by the exception. Here is the output ( in italics) : User Name Vishal Batra User Email Address [EMAIL PROTECTED] Company Login ID SUVI User Login ID vishal User Password vishal M A I L T E S T M A I L T E S T Error: 500 Location: /teambean/jsp/mailTest.jsp Internal Servlet Error: java.lang.IllegalStateException: Response has already been committed at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.(Compiled Code) at java.lang.Exception.(Compiled Code) at java.lang.RuntimeException.(RuntimeException.java:47) at java.lang.IllegalStateException.(IllegalStateException.java:45) at org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletResponseFacade.java:157) at org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:299) at org.apache.jasper.runtime.JspServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code) at org.apache.tomcat.core.ContextManager.service(Compiled Code) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Compiled Code) at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code) at java.lang.Thread.run(Compiled Code) Unfortunately, the above code is giving problem only with Tomcat Web Server, version 3.1 and not with version 3.2.1. In my lab we use Tomcat Web Server 3.2.1 but our Application Service Provider uses Tomcat Web Server 3.1 It is working very fine in my lab but not in the uploaded version. Kindly suggest a solution Vishal Batra.
UnsatisfiedLinkError
I am getting an exception "UnsatisfiedLinkError" whilst trying to call the native method from a servlet. Since the native method was in a separate class, I tried invoking the method from a the main method from the same class. THIS WORKS PERFECTLY FINE. Intially, I thought it did not get the shared library. But, I tried changing the name of the library in the "System.loadLibrary("mylib");" And it did fail here. So JVM not finding the library is not the case, since the exception thrown in my case is when I invoke the native method. If anybody can help me on this issue...I would highly apprecaite that. thanks Vishal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]