iplant webserver 6.0 sp5 problem
Hi all I am using iplanet webserver6.0 with service pack 5 It is giving following error . Can anyone help me in this regard Regards, /Mar/2003:18:54:19] failure ( 3944): Internal error: Unexpected error condition thrown (java.lang.UnsupportedClassVersionError: sun/tools/javac/Main (Unsupported major.minor version 48.0),sun/tools/javac/Main (Unsupported major.minor version 48.0)), stack: java.lang.UnsupportedClassVersionError: sun/tools/javac/Main (Unsupported major.minor version 48.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled Code) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java, Compiled Code) at java.net.URLClassLoader.defineClass(URLClassLoader.java, Compiled Code) at java.net.URLClassLoader.access$1(URLClassLoader.java, Compiled Code) at java.net.URLClassLoader$1.run(URLClassLoader.java, Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java, Compiled Code) at com.iplanet.server.http.servlet.IWSJavaC.compile(IWSJavaC.java, Compiled Code) at com.iplanet.server.http.servlet.IWSJavaCompiler.compile(IWSJavaCompiler.java :73) at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:25 2) at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java: 173) at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java :427) P.RAMESHKUMAR, ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Ant build tool for iplanet webserver
Hey any one can tell me when I can down Ant tool for iplanet webserver 6.0 And what modification have to be done after to get it work.. Regards, P.RAMESHKUMAR, -Original Message- From: Edgar Dollin [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 11:40 PM To: '[EMAIL PROTECTED]'; 'Struts Users Mailing List' Subject: RE: Formatting dates in html:text If you just want to display, the bean:write tag has some date formatting options. For entry the 'best' current solution is to subclass the TextTag class and do your processing there. The strategy I have been using in such a tag is to use a 'hidden' field with your actual form data and javascript to do the translations to another field the user actually edits, of course returning the altered text to your hidden field. One of the javascript guys was asking about a hypothetical date tag, but I don't remember the details or the status. Edgar -Original Message- From: Greg Dunn [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 11:52 AM To: 'Struts Users Mailing List' Subject: Formatting dates in html:text I'm trying to display a date in a particular format in an html-el:text box. I'm filling my form bean from my DAO which returns a timestamp, and html-el:text size=10 property=presReadingDate value=${meterReading.dtPresReadDt}/ displays the long date/time format 'Tue Mar 26 10:45:59 CST 2003' which is no good. I was looking at a discussion on this topic in the archives, but it appears that it was left as food for thought http://www.mail-archive.com/[EMAIL PROTECTED]/msg52386.html I use the JSTL fmt:formatDate tag to display a date outside a form, but it can't be nested so it's no good here. This scenario seems like it would be fairly common. What does one do here? Format the date in a get/set pair in their bean and display that? Use basic HTML input type=text tags? What's best practice? Thanks, Greg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
getting javax.servlet.ServletException...
Hi all I am getting following error when working struts on iplanet webserver 6.0 Any one can solve the problem ? [25/Mar/2003:13:46:18] warning ( 1848): vs(https-CTP-VI0455)ServletException thrown in servlet.init; context = /BP, servlet = 'action'; stack tace: javax.servlet.ServletException: Parsing error processing resource path /WEB-INF/struts-config.xml at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1337) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn tity.java:98) at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317) at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170) at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java: 675) , root cause: org.xml.sax.SAXParseException: Next character must be terminating !DOCTYPE ... declaration . at com.sun.xml.parser.Parser.fatal(Parser.java:2817) at com.sun.xml.parser.Parser.fatal(Parser.java:2811) at com.sun.xml.parser.Parser.nextChar(Parser.java:2735) at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1127) at com.sun.xml.parser.Parser.parseInternal(Parser.java:481) at com.sun.xml.parser.Parser.parse(Parser.java:284) at javax.xml.parsers.SAXParser.parse(SAXParser.java:155) at javax.xml.parsers.SAXParser.parse(SAXParser.java:77) at org.apache.struts.digester.Digester.parse(Digester.java:755) at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1332) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn tity.java:98) at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317) at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170) at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java: 675) Regards, P.RAMESHKUMAR, ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. **
RE: getting javax.servlet.ServletException...
Hi Thanx for your reply Following is my struts-config.xml file.. I am only using ActionServlet not using ActionForm ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.0//EN http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd; !-- This is the Struts configuration file for the example application, using the proposed new syntax. NOTE: You would only flesh out the details in the form-bean declarations if you had a generator tool that used them to create the corresponding Java classes for you. Otherwise, you would need only the form-bean element itself, with the corresponding name and type attributes. -- struts-config !-- == Global Forward Definitions == -- global-forwards forward name=logoff path=/logoff.do/ forward name=logonpath=/logon.jsp/ forward name=success path=/mainMenu.jsp/ /global-forwards !-- == Action Mapping Definitions == -- action-mappings actionpath=/testjsp type=org.apache.struts.webapp.example.TestAction scope=request input=/testjsp.jsp forward name=success path=/testjsp.jsp / /action /action-mappings /struts-config Regards, P.RAMESHKUMAR, -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 2:11 PM To: Struts Users Mailing List Subject: Re: getting javax.servlet.ServletException... Can you post a copy of your struts-config.xml Cheers Simon - Original Message - From: Ramesh_KumarP [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 9:33 AM Subject: getting javax.servlet.ServletException... Hi all I am getting following error when working struts on iplanet webserver 6.0 Any one can solve the problem ? [25/Mar/2003:13:46:18] warning ( 1848): vs(https-CTP-VI0455)ServletException thrown in servlet.init; context = /BP, servlet = 'action'; stack tace: javax.servlet.ServletException: Parsing error processing resource path /WEB-INF/struts-config.xml at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1337) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn tity.java:98) at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317) at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170) at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java: 675) , root cause: org.xml.sax.SAXParseException: Next character must be terminating !DOCTYPE ... declaration . at com.sun.xml.parser.Parser.fatal(Parser.java:2817) at com.sun.xml.parser.Parser.fatal(Parser.java:2811) at com.sun.xml.parser.Parser.nextChar(Parser.java:2735) at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1127) at com.sun.xml.parser.Parser.parseInternal(Parser.java:481) at com.sun.xml.parser.Parser.parse(Parser.java:284) at javax.xml.parsers.SAXParser.parse(SAXParser.java:155) at javax.xml.parsers.SAXParser.parse(SAXParser.java:77) at org.apache.struts.digester.Digester.parse(Digester.java:755) at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1332) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn tity.java:98) at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317) at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170) at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java: 675) Regards, P.RAMESHKUMAR, ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact
RE: getting javax.servlet.ServletException...
Hi Thanks for your reply . I have changed strut-confg.xml (deleted the white spaces) and worked still it is giving same problem... I have attached web.xml file.. See you can find out some solution for me.. Regards, P.RAMESHKUMAR, -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 3:07 PM To: Struts Users Mailing List Subject: Re: getting javax.servlet.ServletException... Right. I just ran your file through XMLSpy with the dtd. You will be pleased to know it is well formed and valid. I cant really see anything else wrong with it. Try knocking out the space after the encoding and befor the ? like this 8859-1?. and put the DOCTYPE declaration on one line. Run it again and then post the whole error trace again. Cheers Simon PS Could you post me your web.xml I would like to check something in that. - Original Message - From: Ramesh_KumarP [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:06 AM Subject: RE: getting javax.servlet.ServletException... Hi Thanx for your reply Following is my struts-config.xml file.. I am only using ActionServlet not using ActionForm ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.0//EN http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd; !-- This is the Struts configuration file for the example application, using the proposed new syntax. NOTE: You would only flesh out the details in the form-bean declarations if you had a generator tool that used them to create the corresponding Java classes for you. Otherwise, you would need only the form-bean element itself, with the corresponding name and type attributes. -- struts-config !-- == Global Forward Definitions == -- global-forwards forward name=logoff path=/logoff.do/ forward name=logonpath=/logon.jsp/ forward name=success path=/mainMenu.jsp/ /global-forwards !-- == Action Mapping Definitions == -- action-mappings actionpath=/testjsp type=org.apache.struts.webapp.example.TestAction scope=request input=/testjsp.jsp forward name=success path=/testjsp.jsp / /action /action-mappings /struts-config Regards, P.RAMESHKUMAR, -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 2:11 PM To: Struts Users Mailing List Subject: Re: getting javax.servlet.ServletException... Can you post a copy of your struts-config.xml Cheers Simon - Original Message - From: Ramesh_KumarP [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 9:33 AM Subject: getting javax.servlet.ServletException... Hi all I am getting following error when working struts on iplanet webserver 6.0 Any one can solve the problem ? [25/Mar/2003:13:46:18] warning ( 1848): vs(https-CTP-VI0455)ServletException thrown in servlet.init; context = /BP, servlet = 'action'; stack tace: javax.servlet.ServletException: Parsing error processing resource path /WEB-INF/struts-config.xml at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1337) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn tity.java:98) at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317) at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170) at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java: 675) , root cause: org.xml.sax.SAXParseException: Next character must be terminating !DOCTYPE ... declaration . at com.sun.xml.parser.Parser.fatal(Parser.java:2817) at com.sun.xml.parser.Parser.fatal(Parser.java:2811) at com.sun.xml.parser.Parser.nextChar(Parser.java:2735) at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1127) at com.sun.xml.parser.Parser.parseInternal(Parser.java:481) at com.sun.xml.parser.Parser.parse(Parser.java:284) at javax.xml.parsers.SAXParser.parse(SAXParser.java:155) at javax.xml.parsers.SAXParser.parse(SAXParser.java:77) at org.apache.struts.digester.Digester.parse(Digester.java:755) at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1332) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466
FW: getting javax.servlet.ServletException...
As I can not send all files in one msg I am sending it in 3 mails.. Regards, P.RAMESHKUMAR, -Original Message- From: Ramesh_KumarP Sent: Tuesday, March 25, 2003 5:39 PM To: 'Struts Users Mailing List' Subject: RE: getting javax.servlet.ServletException... My error msgs are [24/Mar/2003:22:38:49] info ( 1016): successful server startup [24/Mar/2003:22:38:49] info ( 1016): iPlanet-WebServer-Enterprise/6.0 B05/18/2001 10:26 [24/Mar/2003:22:38:49] info ( 1016): Installing a new configuration [24/Mar/2003:22:38:49] info ( 1016): [LS ls1] http://CTP-VI0455, port 80 ready to accept requests [24/Mar/2003:22:38:49] info ( 1016): A new configuration was successfully installed [24/Mar/2003:22:38:50] info ( 1016): Loading IWSSessionManager by default. [24/Mar/2003:22:38:50] info ( 1016): IWSSessionManager: Maximum number of sessions is 1000 [24/Mar/2003:22:38:51] info ( 1016): Adding web application (/BP) at (d:/iplanet/servers/docs/BP) [24/Mar/2003:22:38:51] info ( 1016): Loading IWSSessionManager by default. [24/Mar/2003:22:38:51] info ( 1016): IWSSessionManager: Maximum number of sessions is 1000 [24/Mar/2003:22:38:51] info ( 1016): vs(https-CTP-VI0455)servlet 'action' class = 'org.apache.struts.action.ActionServlet' loaded in context = '/BP' [24/Mar/2003:22:38:51] info ( 1016): action: init [24/Mar/2003:22:38:51] info ( 1016): action: Loading application resources from resource org.apache.struts.webapp.example.ApplicationResources [24/Mar/2003:22:38:51] info ( 1016): action: Initializing configuration from resource path /WEB-INF/struts-config.xml [24/Mar/2003:22:39:12] warning ( 1016): vs(https-CTP-VI0455)ServletException thrown in servlet.init; context = /BP, servlet = 'action'; stack tace: javax.servlet.ServletException: Parsing error processing resource path /WEB-INF/struts-config.xml at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1337) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn tity.java:98) at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317) at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170) at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java: 675) , root cause: org.xml.sax.SAXParseException: External entity not found: http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd;. at com.sun.xml.parser.Parser.fatal(Parser.java:2817) at com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506) at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137) at com.sun.xml.parser.Parser.parseInternal(Parser.java:481) at com.sun.xml.parser.Parser.parse(Parser.java:284) at javax.xml.parsers.SAXParser.parse(SAXParser.java:155) at javax.xml.parsers.SAXParser.parse(SAXParser.java:77) at org.apache.struts.digester.Digester.parse(Digester.java:755) at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1332) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn tity.java:98) at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317) at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170) at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java: 675) [24/Mar/2003:22:39:12] info ( 1016): Successfully initialized web application environment (web-apps.xml) for virtual server (https-CTP-VI0455) ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. **
RE: getting javax.servlet.ServletException...
my strut-config .xml ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.0//EN http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd; !-- This is the Struts configuration file for the example application, using the proposed new syntax. NOTE: You would only flesh out the details in the form-bean declarations if you had a generator tool that used them to create the corresponding Java classes for you. Otherwise, you would need only the form-bean element itself, with the corresponding name and type attributes. -- struts-config !-- == Global Forward Definitions == -- global-forwards forward name=logoff path=/logoff.do/ forward name=logonpath=/logon.jsp/ forward name=success path=/mainMenu.jsp/ /global-forwards !-- == Action Mapping Definitions == -- action-mappings actionpath=/testjsp type=org.apache.struts.webapp.example.TestAction scope=request input=/testjsp.jsp forward name=success path=/testjsp.jsp / /action /action-mappings /struts-config Regards, P.RAMESHKUMAR, -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 3:07 PM To: Struts Users Mailing List Subject: Re: getting javax.servlet.ServletException... Right. I just ran your file through XMLSpy with the dtd. You will be pleased to know it is well formed and valid. I cant really see anything else wrong with it. Try knocking out the space after the encoding and befor the ? like this 8859-1?. and put the DOCTYPE declaration on one line. Run it again and then post the whole error trace again. Cheers Simon PS Could you post me your web.xml I would like to check something in that. - Original Message - From: Ramesh_KumarP [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:06 AM Subject: RE: getting javax.servlet.ServletException... Hi Thanx for your reply Following is my struts-config.xml file.. I am only using ActionServlet not using ActionForm ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.0//EN http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd; !-- This is the Struts configuration file for the example application, using the proposed new syntax. NOTE: You would only flesh out the details in the form-bean declarations if you had a generator tool that used them to create the corresponding Java classes for you. Otherwise, you would need only the form-bean element itself, with the corresponding name and type attributes. -- struts-config !-- == Global Forward Definitions == -- global-forwards forward name=logoff path=/logoff.do/ forward name=logonpath=/logon.jsp/ forward name=success path=/mainMenu.jsp/ /global-forwards !-- == Action Mapping Definitions == -- action-mappings actionpath=/testjsp type=org.apache.struts.webapp.example.TestAction scope=request input=/testjsp.jsp forward name=success path=/testjsp.jsp / /action /action-mappings /struts-config Regards, P.RAMESHKUMAR, -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 2:11 PM To: Struts Users Mailing List Subject: Re: getting javax.servlet.ServletException... Can you post a copy of your struts-config.xml Cheers Simon - Original Message - From: Ramesh_KumarP [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 9:33 AM Subject: getting javax.servlet.ServletException... Hi all I am getting following error when working struts on iplanet webserver 6.0 Any one can solve the problem ? [25/Mar/2003:13:46:18] warning ( 1848): vs(https-CTP-VI0455)ServletException thrown in servlet.init; context = /BP, servlet = 'action'; stack tace: javax.servlet.ServletException: Parsing error processing resource path /WEB-INF/struts-config.xml at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1337) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466
RE: getting javax.servlet.ServletException...
my web.xml is ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; web-app !-- Action Servlet Configuration -- servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameapplication/param-name param-valueorg.apache.struts.webapp.example.ApplicationResources/param-va lue /init-param init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param init-param param-namedebug/param-name param-value2/param-value /init-param init-param param-namedetail/param-name param-value2/param-value /init-param init-param param-namevalidate/param-name param-valuetrue/param-value /init-param load-on-startup2/load-on-startup /servlet !-- Action Servlet Mapping -- servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping !-- The Welcome File List -- welcome-file-list welcome-filetestjsp.jsp/welcome-file /welcome-file-list !-- Application Tag Library Descriptor -- taglib taglib-uri/WEB-INF/app.tld/taglib-uri taglib-location/WEB-INF/app.tld/taglib-location /taglib !-- Struts Tag Library Descriptors -- taglib taglib-uri/WEB-INF/struts-bean.tld/taglib-uri taglib-location/WEB-INF/struts-bean.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-html.tld/taglib-uri taglib-location/WEB-INF/struts-html.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-logic.tld/taglib-uri taglib-location/WEB-INF/struts-logic.tld/taglib-location /taglib /web-app Regards, P.RAMESHKUMAR, -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 4:13 PM To: Struts Users Mailing List Subject: Re: getting javax.servlet.ServletException... Attachement are removed on this mailing list. Paste your file in message body Nico. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. **
Help...struts on iPlanet webserver 6.0
Hi, I am using struts applicationi on iPlanet webserver 6.0. When server loads the struts application it gives following exception. Any one give hints to solve the problem ? warning ( 1068): vs(https-CTP-VI0455)ServletException thrown in servlet.init; context = /BP, servlet = 'action'; stack tace: javax.servlet.ServletException: Parsing error processing resource path /WEB-INF/struts-config.xml at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1337) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn tity.java:98) at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317) at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170) at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java: 675) , root cause: org.xml.sax.SAXParseException: External entity not found: http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd;. at com.sun.xml.parser.Parser.fatal(Parser.java:2817) at com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506) at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137) at com.sun.xml.parser.Parser.parseInternal(Parser.java:481) at com.sun.xml.parser.Parser.parse(Parser.java:284) at javax.xml.parsers.SAXParser.parse(SAXParser.java:155) at javax.xml.parsers.SAXParser.parse(SAXParser.java:77) at org.apache.struts.digester.Digester.parse(Digester.java:755) at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1332) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn tity.java:98) at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317) at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170) at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java: 675) Regards, P.RAMESHKUMAR, ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: help :::: struts on iplanet
Hi, Thanks for your reply Actually we are trying a sample struts example on iplanet windows.. We have used wdeploy tool only. Even then it is giving exception... An it is not running... please tell me tha solution.. Following is the errors [20/Mar/2003:15:08:27] warning ( 143): vs(https-ctp-vi0207)ServletException thrown in servlet.init; context = /test, servlet = 'database'; stack tace: javax.servlet.UnavailableException: Cannot load database from '/WEB-INF/database.xml' at org.apache.struts.webapp.example.DatabaseServlet.init(DatabaseServlet.java:1 80) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn tity.java:98) at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317) at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170) at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java: 675) , root cause: [20/Mar/2003:15:08:27] info ( 143): vs(https-ctp-vi0207)servlet 'action' class = 'org.apache.struts.action.ActionServlet' loaded in context = '/test' [20/Mar/2003:15:08:27] info ( 143): action: init [20/Mar/2003:15:08:27] info ( 143): action: Loading application resources from resource org.apache.struts.webapp.example.ApplicationResources [20/Mar/2003:15:08:27] info ( 143): action: Initializing configuration from resource path /WEB-INF/struts-config.xml [20/Mar/2003:15:09:12] warning ( 143): vs(https-ctp-vi0207)ServletException thrown in servlet.init; context = /test, servlet = 'action'; stack tace: javax.servlet.ServletException: Parsing error processing resource path /WEB-INF/struts-config.xml at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1337) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn tity.java:98) at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317) at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170) at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java: 675) , root cause: org.xml.sax.SAXParseException: External entity not found: http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd;. at com.sun.xml.parser.Parser.fatal(Parser.java:2817) at com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506) at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137) at com.sun.xml.parser.Parser.parseInternal(Parser.java:481) at com.sun.xml.parser.Parser.parse(Parser.java:284) at javax.xml.parsers.SAXParser.parse(SAXParser.java:155) at javax.xml.parsers.SAXParser.parse(SAXParser.java:77) at org.apache.struts.digester.Digester.parse(Digester.java:755) at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1332) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn tity.java:98) at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:317) at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:170) at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java: 675) [20/Mar/2003:15:09:12] info ( 143): Successfully initialized web application environment (web-apps.xml) for virtual server (https-ctp-vi0207) Regards, P.RAMESHKUMAR, -Original Message- From: Velagapudi, Niranjan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 8:24 PM To: 'Struts Users Mailing List' Subject: RE: help struts on iplanet Ramesh, Few Days back, we gathered the information (from the members of this list) that iPlanet 6.0 with struts on Windows gave some frustrating experiences and it does work on Solaris. With that information, we tried and successfully configured Struts 1.0 with iPlanet 6.0 on Solaris with Java 1.3. We have not configured any of the examples that come with Struts, though. What we realized is to use the iPlanet's 'wdeploy' tool to deploy your application will give you better chances of success. Niranjan -Original Message- From: Ramesh_KumarP [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 11:55 PM To: [EMAIL PROTECTED] Subject: help sturts on iplanet Hi all , I am using iplanet webserver 6.0 . can anyone tell me how to configure iplanet to work sturts.. Rameshkumar ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material
webapps in iplanet webserver
Hi all, Any one worked on iplanet webserver 6.0 with stuts ?? Can any one tell me what is the to be done to run struts application on iplanet webserver-6.0 Regards, P.RAMESHKUMAR, ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
help :::: sturts on iplanet
Hi all , I am using iplanet webserver 6.0 . can anyone tell me how to configure iplanet to work sturts.. Rameshkumar ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. **
how to deploy a simple struts application in iplanet webserver6.0
Hi, i am new to iplanet webserver 6.0 and struts.. i just tried a simple web appication with struts ActionServlet just it check the input and accordingly forward to different jsp.but i was not able to run the application .it is giving servelet exception while loading itself i am using only the ActionServlet, i am not using ActionForm my directory structure is : i have created a web app in server doc root(iplanet/server/doc) Test WEB-INF classes lib bin i have put action servlet inside classes dir i have given the mapping in web-apps.xml of virtual server. that is all i have done.. please help me to solve this problem Regards, P.RAMESHKUMAR, ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. **
Problem when using struts in iplanet webserver
Hi, I am facing Problem when using struts in iplanet webserver- 6.0 I am getting following error messages Please any one help [19/Mar/2003:10:45:59] warning ( 181): Internal Error: Cannot load servlet 'action'; context = 'https-ctp-vi0207' vsid = '/test' [19/Mar/2003:10:45:59] info ( 181): vs(https-ctp-vi0207)servlet 'action' class = 'org.apache.struts.action.ActionServlet' loaded in context = '/test' [19/Mar/2003:10:45:59] info ( 181): action: init [19/Mar/2003:10:45:59] info ( 181): action: Loading application resources from resource org.apache.struts.webapp.example.ApplicationResources [19/Mar/2003:10:45:59] info ( 181): action: Initializing configuration from resource path /WEB-INF/struts-config.xml [19/Mar/2003:10:46:44] warning ( 181): vs(https-ctp-vi0207)ServletException thrown in servlet.init; context = /test, servlet = 'action'; stack tace: javax.servlet.ServletException: Parsing error processing resource path /WEB-INF/struts-config.xml at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1337) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn tity.java:98) at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1 025) at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne r.java:951) , root cause: org.xml.sax.SAXParseException: External entity not found: http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd;. at com.sun.xml.parser.Parser.fatal(Parser.java:2817) at com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506) at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137) at com.sun.xml.parser.Parser.parseInternal(Parser.java:481) at com.sun.xml.parser.Parser.parse(Parser.java:284) at javax.xml.parsers.SAXParser.parse(SAXParser.java:155) at javax.xml.parsers.SAXParser.parse(SAXParser.java:77) at org.apache.struts.digester.Digester.parse(Digester.java:755) at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1332) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn tity.java:98) at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1 025) at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne r.java:951) [19/Mar/2003:10:46:44] warning ( 181): Internal Error: Cannot load servlet 'action'; context = 'https-ctp-vi0207' vsid = '/test' Regards, P.RAMESHKUMAR, ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how to configure iplant web server for struts
HI, I am facing problem in working struts in iplant webserver I am using only ActionServlet Tell me step by step procedure to execute an struts - application in iplanet web server.. Regards, P.RAMESHKUMAR, ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. **