RE: Error while upgrading from struts version 1.0 to 1.1
From the error log, it seems it's looking for the default logger which comes with jdk1.4. Have you configured to use a logger like log4j, if you havn't configured one, then Struts will try to use the logger from jdk1.4. So, try to configure log4j, or use jdk1.4 to see how it goes. The following thread may be helpful. http://www.faqchest.com/prgm/tomcat-l/tmct-02/tmct-0209/tmct-020998/tmct 02092603_04404.html -Original Message- From: Jignesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:34 PM To: Struts Users Mailing List Subject: Re: Error while upgrading from struts version 1.0 to 1.1 Well I think my struts-config.xml is proper except I dont know what to put for controller /controller In web.xml file all parameters are proper Except following config/${module} and rulesets parameter . My aplication has only one module and I dont know what to put for RuleSet since I am using th e default one i.e. org.apache.commons.digester.RuleSet. Also I have moved the MessageResources has been moved from web.xml to struts-Config.xml. From the error I had set earlier. I think its failing in ActionServlet.init(). I am attaching the error file again. Thanks, Jignesh Saul Q Yuan [EMAIL PROTECTED] wrote: Well, here is a bit longer version of the reply. There are many changes from Struts 1.0.1 to 1.1, you can find a full description below: http://jakarta.apache.org/struts/userGuide/release-notes.html and the configuration changes below. http://jakarta.apache.org/struts/userGuide/configuration.html Back to your particular questions, yes, you'll need to define your Message resouce like the following: in Struts-config.xml file. And Struts1.1 works with JDK1.2 and up. HTH, Saul - Original Message - From: Jignesh Kapadia To: Struts Users Mailing List Sent: Monday, March 22, 2004 7:52 PM Subject: RE: Error while upgrading from struts version 1.0 to 1.1 Well, All the jar files are compiled properly. do we need to add some special parameter in in Struts-Config.xml file? It seems its looking for some Message Resource Factory Information. Also does Struts 1.1 work with JDK 1.3.* or we need to have JDK 1.4*? I am struggling with this for almost 2 days now. I created a new application and copied this Struts1.1/jar file along with the set of Commons.jar file. It will a good if somebody can help out in this. Thanks, Jignesh Saul Q Yuan wrote: I think you need to recompile your application against the new Struts.jar file and other jar files it depends on. Saul -Original Message- From: Jignesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: Error while upgrading from struts version 1.0 to 1.1 Hi , I am upgrading my current application from Struts 1.0 to Struts 1.1. The application is working properly with version 1.0. I just copied the struts 1.1 realted jar files in my web-inf/lib directory. Now when I restart my application it gives meError while loading Action Servlet. its failing in Super.init(). Is there anything I need to do other that just realcing the war files when I upgrade the Struts version. The error file is attached in e-mail. Thanks and Regards, Jignesh Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. Do you Yahoo!? http://taxes.yahoo.com/filing.html Yahoo! Finance Tax Center - File online. File on time.
RE: Error while upgrading from struts version 1.0 to 1.1
Hi , Now today I tried it with the Simple Log and tried to run a very simple APP using in WSAD with Struts 1.1 and the Log file generated following error. 3/23/04 15:58:10:184 EST] 26c486ff ServletEngine A SRVE0169I: Loading Web Module: Hello. [3/23/04 15:58:10:512 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: JSP 1.1 Processor: init [3/23/04 15:58:10:512 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: SimpleFileServlet: init [3/23/04 15:58:10:528 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: InvokerServlet: init [3/23/04 15:58:10:684 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: action: init [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.action.ActionResources', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='ApplicationResources', returnNull=true [3/23/04 15:58:11:496 EST] 26c486ff HttpTransport A SRVE0171I: Transport http is listening on port 8,080. [3/23/04 15:58:11:496 EST] 26c486ff WSRegistryImp X Unable to initialize user registry class com.ibm.ejs.security.registry.nt.NTLocalDomainRegistryImpl for type Windows due to exception: Access is denied. [3/23/04 15:58:11:496 EST] 26c486ff StandardIniti W SECJ0007E: Error during security initialization. Exception com.ibm.ejs.security.registry.RegistryErrorException: Windows:Access is denied. I think Its not able to read any Property file in struts.jar file. Do we need to do any setting in web.xml ot struts-config.xml. The resoucebundle has already an entry in config.xml file. Please help, Jignesh Saul Q Yuan [EMAIL PROTECTED] wrote: From the error log, it seems it's looking for the default logger which comes with jdk1.4. Have you configured to use a logger like log4j, if you havn't configured one, then Struts will try to use the logger from jdk1.4. So, try to configure log4j, or use jdk1.4 to see how it goes. The following thread may be helpful. http://www.faqchest.com/prgm/tomcat-l/tmct-02/tmct-0209/tmct-020998/tmct 02092603_04404.html -Original Message- From: Jignesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:34 PM To: Struts Users Mailing List Subject: Re: Error while upgrading from struts version 1.0 to 1.1 Well I think my struts-config.xml is proper except I dont know what to put for In web.xml file all parameters are proper Except following config/${module} and rulesets parameter . My aplication has only one module and I dont know what to put for RuleSet since I am using th e default one i.e. org.apache.commons.digester.RuleSet. Also I have moved the MessageResources has been moved from web.xml to struts-Config.xml. From the error I had set earlier. I think its failing in ActionServlet.init(). I am attaching the error file again. Thanks, Jignesh Saul Q Yuan wrote: Well, here is a bit longer version of the reply. There are many changes from Struts 1.0.1 to 1.1, you can find a full description below: http://jakarta.apache.org/struts/userGuide/release-notes.html and the configuration changes below. http://jakarta.apache.org/struts/userGuide/configuration.html Back to your particular questions, yes, you'll need to define your Message resouce like the following: in Struts-config.xml file. And Struts1.1 works with JDK1.2 and up. HTH, Saul - Original Message - From: Jignesh Kapadia To: Struts Users Mailing List Sent: Monday, March 22, 2004 7:52 PM Subject: RE: Error while upgrading from struts version 1.0 to 1.1 Well, All the jar files are compiled properly. do we need to add some special parameter in in Struts-Config.xml file? It seems its looking for some Message Resource Factory Information. Also does Struts 1.1 work with JDK 1.3.* or we need to have JDK 1.4*? I am struggling with this for almost 2 days now. I created a new application and copied this Struts1.1/jar file along with the set of Commons.jar file. It will a good if somebody can help out in this. Thanks, Jignesh Saul Q Yuan wrote: I think you need to recompile your application against the new Struts.jar file and other jar files it depends on. Saul -Original Message- From: Jignesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: Error while upgrading from struts version 1.0 to 1.1 Hi , I am upgrading my current application from Struts 1.0 to Struts 1.1. The application is working properly with version 1.0. I just copied the struts 1.1 realted jar files in my web-inf/lib directory. Now when I restart my application it gives meError while loading Action Servlet. its failing in Super.init(). Is there anything I need to do other that just realcing the war files when I upgrade the Struts version. The error file is attached in e-mail. Thanks and Regards, Jignesh Do you Yahoo!? Yahoo! Finance Tax Center - File online
RE: Error while upgrading from struts version 1.0 to 1.1
Hi Jignesh, When I was upgrading to struts1.1 beta last year, I had some issues. I did a clean up of the work directory in the Resin Application Server, and everything was fine -Aswath Jignesh Kapadia [EMAIL PROTECTED] wrote: Hi , Now today I tried it with the Simple Log and tried to run a very simple APP using in WSAD with Struts 1.1 and the Log file generated following error. 3/23/04 15:58:10:184 EST] 26c486ff ServletEngine A SRVE0169I: Loading Web Module: Hello. [3/23/04 15:58:10:512 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: JSP 1.1 Processor: init [3/23/04 15:58:10:512 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: SimpleFileServlet: init [3/23/04 15:58:10:528 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: InvokerServlet: init [3/23/04 15:58:10:684 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: action: init [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.action.ActionResources', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='ApplicationResources', returnNull=true [3/23/04 15:58:11:496 EST] 26c486ff HttpTransport A SRVE0171I: Transport http is listening on port 8,080. [3/23/04 15:58:11:496 EST] 26c486ff WSRegistryImp X Unable to initialize user registry class com.ibm.ejs.security.registry.nt.NTLocalDomainRegistryImpl for type Windows due to exception: Access is denied. [3/23/04 15:58:11:496 EST] 26c486ff StandardIniti W SECJ0007E: Error during security initialization. Exception com.ibm.ejs.security.registry.RegistryErrorException: Windows:Access is denied. I think Its not able to read any Property file in struts.jar file. Do we need to do any setting in web.xml ot struts-config.xml. The resoucebundle has already an entry in config.xml file. Please help, Jignesh Saul Q Yuan wrote: From the error log, it seems it's looking for the default logger which comes with jdk1.4. Have you configured to use a logger like log4j, if you havn't configured one, then Struts will try to use the logger from jdk1.4. So, try to configure log4j, or use jdk1.4 to see how it goes. The following thread may be helpful. http://www.faqchest.com/prgm/tomcat-l/tmct-02/tmct-0209/tmct-020998/tmct 02092603_04404.html -Original Message- From: Jignesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:34 PM To: Struts Users Mailing List Subject: Re: Error while upgrading from struts version 1.0 to 1.1 Well I think my struts-config.xml is proper except I dont know what to put for In web.xml file all parameters are proper Except following config/${module} and rulesets parameter . My aplication has only one module and I dont know what to put for RuleSet since I am using th e default one i.e. org.apache.commons.digester.RuleSet. Also I have moved the MessageResources has been moved from web.xml to struts-Config.xml. From the error I had set earlier. I think its failing in ActionServlet.init(). I am attaching the error file again. Thanks, Jignesh Saul Q Yuan wrote: Well, here is a bit longer version of the reply. There are many changes from Struts 1.0.1 to 1.1, you can find a full description below: http://jakarta.apache.org/struts/userGuide/release-notes.html and the configuration changes below. http://jakarta.apache.org/struts/userGuide/configuration.html Back to your particular questions, yes, you'll need to define your Message resouce like the following: in Struts-config.xml file. And Struts1.1 works with JDK1.2 and up. HTH, Saul - Original Message - From: Jignesh Kapadia To: Struts Users Mailing List Sent: Monday, March 22, 2004 7:52 PM Subject: RE: Error while upgrading from struts version 1.0 to 1.1 Well, All the jar files are compiled properly. do we need to add some special parameter in in Struts-Config.xml file? It seems its looking for some Message Resource Factory Information. Also does Struts 1.1 work with JDK 1.3.* or we need to have JDK 1.4*? I am struggling with this for almost 2 days now. I created a new application and copied this Struts1.1/jar file along with the set of Commons.jar file. It will a good if somebody can help out in this. Thanks, Jignesh Saul Q Yuan wrote: I think you need to recompile your application against the new Struts.jar file and other jar files it depends on. Saul -Original Message- From: Jignesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: Error while upgrading from struts version 1.0 to 1.1 Hi , I am upgrading my current application from Struts 1.0 to Struts 1.1. The application is working properly with version 1.0. I just copied the struts 1.1 realted jar files in my web-inf/lib directory. Now when I restart my application it gives meError while loading Action Servlet. its failing in Super.init(). Is there anything I need to do other that just
Re: Error while upgrading from struts version 1.0 to 1.1
Can you run any example applications from Struts1.1 in your current enviroment, that is Webshpere, I think? just try to see if it's an upgrading issue or your application server setup issue. If it's an Websphere issue, you may have better luck from the Websphere user group. - Original Message - From: Jignesh Kapadia To: Struts Users Mailing List Sent: Tuesday, March 23, 2004 7:30 PM Subject: RE: Error while upgrading from struts version 1.0 to 1.1 Hi , Now today I tried it with the Simple Log and tried to run a very simple APP using in WSAD with Struts 1.1 and the Log file generated following error. 3/23/04 15:58:10:184 EST] 26c486ff ServletEngine A SRVE0169I: Loading Web Module: Hello. [3/23/04 15:58:10:512 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: JSP 1.1 Processor: init [3/23/04 15:58:10:512 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: SimpleFileServlet: init [3/23/04 15:58:10:528 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: InvokerServlet: init [3/23/04 15:58:10:684 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: action: init [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.action.ActionResources', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='ApplicationResources', returnNull=true [3/23/04 15:58:11:496 EST] 26c486ff HttpTransport A SRVE0171I: Transport http is listening on port 8,080. [3/23/04 15:58:11:496 EST] 26c486ff WSRegistryImp X Unable to initialize user registry class com.ibm.ejs.security.registry.nt.NTLocalDomainRegistryImpl for type Windows due to exception: Access is denied. [3/23/04 15:58:11:496 EST] 26c486ff StandardIniti W SECJ0007E: Error during security initialization. Exception com.ibm.ejs.security.registry.RegistryErrorException: Windows:Access is denied. I think Its not able to read any Property file in struts.jar file. Do we need to do any setting in web.xml ot struts-config.xml. The resoucebundle has already an entry in config.xml file. Please help, Jignesh Saul Q Yuan [EMAIL PROTECTED] wrote: From the error log, it seems it's looking for the default logger which comes with jdk1.4. Have you configured to use a logger like log4j, if you havn't configured one, then Struts will try to use the logger from jdk1.4. So, try to configure log4j, or use jdk1.4 to see how it goes. The following thread may be helpful. http://www.faqchest.com/prgm/tomcat-l/tmct-02/tmct-0209/tmct-020998/tmct 02092603_04404.html -Original Message- From: Jignesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:34 PM To: Struts Users Mailing List Subject: Re: Error while upgrading from struts version 1.0 to 1.1 Well I think my struts-config.xml is proper except I dont know what to put for In web.xml file all parameters are proper Except following config/${module} and rulesets parameter . My aplication has only one module and I dont know what to put for RuleSet since I am using th e default one i.e. org.apache.commons.digester.RuleSet. Also I have moved the MessageResources has been moved from web.xml to struts-Config.xml. From the error I had set earlier. I think its failing in ActionServlet.init(). I am attaching the error file again. Thanks, Jignesh Saul Q Yuan wrote: Well, here is a bit longer version of the reply. There are many changes from Struts 1.0.1 to 1.1, you can find a full description below: http://jakarta.apache.org/struts/userGuide/release-notes.html and the configuration changes below. http://jakarta.apache.org/struts/userGuide/configuration.html Back to your particular questions, yes, you'll need to define your Message resouce like the following: in Struts-config.xml file. And Struts1.1 works with JDK1.2 and up. HTH, Saul - Original Message - From: Jignesh Kapadia To: Struts Users Mailing List Sent: Monday, March 22, 2004 7:52 PM Subject: RE: Error while upgrading from struts version 1.0 to 1.1 Well, All the jar files are compiled properly. do we need to add some special parameter in in Struts-Config.xml file? It seems its looking for some Message Resource Factory Information. Also does Struts 1.1 work with JDK 1.3.* or we need to have JDK 1.4*? I am struggling with this for almost 2 days now. I created a new application and copied this Struts1.1/jar file along with the set of Commons.jar file. It will a good if somebody can help out in this. Thanks, Jignesh Saul Q Yuan wrote: I think you need to recompile your application against the new Struts.jar file and other jar files it depends on. Saul -Original Message- From: Jignesh Kapadia [mailto:[EMAIL PROTECTED
Re: Error while upgrading from struts version 1.0 to 1.1
Saul: Run websphere as root or Administrator in Windows Regards, Martin - Original Message - From: Saul Q Yuan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 9:05 PM Subject: Re: Error while upgrading from struts version 1.0 to 1.1 Can you run any example applications from Struts1.1 in your current enviroment, that is Webshpere, I think? just try to see if it's an upgrading issue or your application server setup issue. If it's an Websphere issue, you may have better luck from the Websphere user group. - Original Message - From: Jignesh Kapadia To: Struts Users Mailing List Sent: Tuesday, March 23, 2004 7:30 PM Subject: RE: Error while upgrading from struts version 1.0 to 1.1 Hi , Now today I tried it with the Simple Log and tried to run a very simple APP using in WSAD with Struts 1.1 and the Log file generated following error. 3/23/04 15:58:10:184 EST] 26c486ff ServletEngine A SRVE0169I: Loading Web Module: Hello. [3/23/04 15:58:10:512 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: JSP 1.1 Processor: init [3/23/04 15:58:10:512 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: SimpleFileServlet: init [3/23/04 15:58:10:528 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: InvokerServlet: init [3/23/04 15:58:10:684 EST] 26c486ff WebGroup I SRVE0091I: [Servlet LOG]: action: init [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.action.ActionResources', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='ApplicationResources', returnNull=true [3/23/04 15:58:11:496 EST] 26c486ff HttpTransport A SRVE0171I: Transport http is listening on port 8,080. [3/23/04 15:58:11:496 EST] 26c486ff WSRegistryImp X Unable to initialize user registry class com.ibm.ejs.security.registry.nt.NTLocalDomainRegistryImpl for type Windows due to exception: Access is denied. [3/23/04 15:58:11:496 EST] 26c486ff StandardIniti W SECJ0007E: Error during security initialization. Exception com.ibm.ejs.security.registry.RegistryErrorException: Windows:Access is denied. I think Its not able to read any Property file in struts.jar file. Do we need to do any setting in web.xml ot struts-config.xml. The resoucebundle has already an entry in config.xml file. Please help, Jignesh Saul Q Yuan [EMAIL PROTECTED] wrote: From the error log, it seems it's looking for the default logger which comes with jdk1.4. Have you configured to use a logger like log4j, if you havn't configured one, then Struts will try to use the logger from jdk1.4. So, try to configure log4j, or use jdk1.4 to see how it goes. The following thread may be helpful. http://www.faqchest.com/prgm/tomcat-l/tmct-02/tmct-0209/tmct-020998/tmct 02092603_04404.html -Original Message- From: Jignesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:34 PM To: Struts Users Mailing List Subject: Re: Error while upgrading from struts version 1.0 to 1.1 Well I think my struts-config.xml is proper except I dont know what to put for In web.xml file all parameters are proper Except following config/${module} and rulesets parameter . My aplication has only one module and I dont know what to put for RuleSet since I am using th e default one i.e. org.apache.commons.digester.RuleSet. Also I have moved the MessageResources has been moved from web.xml to struts-Config.xml. From the error I had set earlier. I think its failing in ActionServlet.init(). I am attaching the error file again. Thanks, Jignesh Saul Q Yuan wrote: Well, here is a bit longer version of the reply. There are many changes from Struts 1.0.1 to 1.1, you can find a full description below: http://jakarta.apache.org/struts/userGuide/release-notes.html and the configuration changes below. http://jakarta.apache.org/struts/userGuide/configuration.html Back to your particular questions, yes, you'll need to define your Message resouce like the following: in Struts-config.xml file. And Struts1.1 works with JDK1.2 and up. HTH, Saul - Original Message - From: Jignesh Kapadia To: Struts Users Mailing List Sent: Monday, March 22, 2004 7:52 PM Subject: RE: Error while upgrading from struts version 1.0 to 1.1 Well, All the jar files are compiled properly. do we need to add some special parameter in in Struts-Config.xml file? It seems its looking for some Message Resource Factory Information. Also does Struts 1.1 work with JDK 1.3.* or we need to have JDK 1.4*? I am struggling with this for almost 2 days now. I created a new application and copied this Struts1.1/jar file along with the set of Commons.jar file. It will a good if somebody can help out in this. Thanks
RE: Error while upgrading from struts version 1.0 to 1.1
I think you need to recompile your application against the new Struts.jar file and other jar files it depends on. Saul -Original Message- From: Jignesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: Error while upgrading from struts version 1.0 to 1.1 Hi , I am upgrading my current application from Struts 1.0 to Struts 1.1. The application is working properly with version 1.0. I just copied the struts 1.1 realted jar files in my web-inf/lib directory. Now when I restart my application it gives meError while loading Action Servlet. its failing in Super.init(). Is there anything I need to do other that just realcing the war files when I upgrade the Struts version. The error file is attached in e-mail. Thanks and Regards, Jignesh Do you Yahoo!? http://taxes.yahoo.com/filing.html Yahoo! Finance Tax Center - File online. File on time.
RE: Error while upgrading from struts version 1.0 to 1.1
Well, All the jar files are compiled properly. do we need to add some special parameter in in Struts-Config.xml file? It seems its looking for some Message Resource Factory Information. Also does Struts 1.1 work with JDK 1.3.* or we need to have JDK 1.4*? I am struggling with this for almost 2 days now. I created a new application and copied this Struts1.1/jar file along with the set of Commons.jar file. It will a good if somebody can help out in this. Thanks, Jignesh Saul Q Yuan [EMAIL PROTECTED] wrote: I think you need to recompile your application against the new Struts.jar file and other jar files it depends on. Saul -Original Message- From: Jignesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: Error while upgrading from struts version 1.0 to 1.1 Hi , I am upgrading my current application from Struts 1.0 to Struts 1.1. The application is working properly with version 1.0. I just copied the struts 1.1 realted jar files in my web-inf/lib directory. Now when I restart my application it gives meError while loading Action Servlet. its failing in Super.init(). Is there anything I need to do other that just realcing the war files when I upgrade the Struts version. The error file is attached in e-mail. Thanks and Regards, Jignesh Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time.
Re: Error while upgrading from struts version 1.0 to 1.1
Well, here is a bit longer version of the reply. There are many changes from Struts 1.0.1 to 1.1, you can find a full description below: http://jakarta.apache.org/struts/userGuide/release-notes.html and the configuration changes below. http://jakarta.apache.org/struts/userGuide/configuration.html Back to your particular questions, yes, you'll need to define your Message resouce like the following: message-resources parameter=package.MyWebAppResources / in Struts-config.xml file. And Struts1.1 works with JDK1.2 and up. HTH, Saul - Original Message - From: Jignesh Kapadia To: Struts Users Mailing List Sent: Monday, March 22, 2004 7:52 PM Subject: RE: Error while upgrading from struts version 1.0 to 1.1 Well, All the jar files are compiled properly. do we need to add some special parameter in in Struts-Config.xml file? It seems its looking for some Message Resource Factory Information. Also does Struts 1.1 work with JDK 1.3.* or we need to have JDK 1.4*? I am struggling with this for almost 2 days now. I created a new application and copied this Struts1.1/jar file along with the set of Commons.jar file. It will a good if somebody can help out in this. Thanks, Jignesh Saul Q Yuan [EMAIL PROTECTED] wrote: I think you need to recompile your application against the new Struts.jar file and other jar files it depends on. Saul -Original Message- From: Jignesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: Error while upgrading from struts version 1.0 to 1.1 Hi , I am upgrading my current application from Struts 1.0 to Struts 1.1. The application is working properly with version 1.0. I just copied the struts 1.1 realted jar files in my web-inf/lib directory. Now when I restart my application it gives meError while loading Action Servlet. its failing in Super.init(). Is there anything I need to do other that just realcing the war files when I upgrade the Struts version. The error file is attached in e-mail. Thanks and Regards, Jignesh Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time.
Re: Error while upgrading from struts version 1.0 to 1.1
Well I think my struts-config.xml is proper except I dont know what to put for controller /controller In web.xml file all parameters are proper Except following config/${module} and rulesets parameter . My aplication has only one module and I dont know what to put for RuleSet since I am using th e default one i.e. org.apache.commons.digester.RuleSet. Also I have moved the MessageResources has been moved from web.xml to struts-Config.xml. From the error I had set earlier. I think its failing in ActionServlet.init().I am attaching the error file again. Thanks, Jignesh Saul Q Yuan [EMAIL PROTECTED] wrote: Well, here is a bit longer version of the reply. There are many changes from Struts 1.0.1 to 1.1, you can find a full description below:http://jakarta.apache.org/struts/userGuide/release-notes.htmland the configuration changes below.http://jakarta.apache.org/struts/userGuide/configuration.htmlBack to your particular questions, yes, you'll need to define your Message resouce like the following:in Struts-config.xml file. And Struts1.1 works with JDK1.2 and up. HTH,Saul- Original Message - From: Jignesh Kapadia To: Struts Users Mailing List Sent: Monday, March 22, 2004 7:52 PMSubject: RE: Error while upgrading from struts version 1.0 to 1.1Well,All the jar files are compiled properly. do we need to add some special parameter in in Struts-Config.xml file? It seems its looking for some Message Resource Factory Information. Also does Struts 1.1 work with JDK 1.3.* or we need to have JDK 1.4*? I am struggling with this for almost 2 days now. I created a new application and copied this Struts1.1/jar file along with the set of Commons.jar file.It will a good if somebody can help out in this.Thanks,JigneshSaul Q Yuan <[EMAIL PROTECTED]>wrote:I think you need to recompile your application against the newStruts.jar file and other jar files it depends on.Saul-Original Message-From: Jignesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:55 PMTo: [EMAIL PROTECTED]Subject: Error while upgrading from struts version 1.0 to 1.1Hi ,I am upgrading my current application from Struts 1.0 to Struts1.1. The application is working properly with version 1.0. I just copiedthe struts 1.1 realted jar files in my web-inf/lib directory. Now when Irestart my application it gives meError while loading Action Servlet.its failing in Super.init(). Is there anything I need to do other thatjust realcing the war files when I upgrade the Struts version.The error file is attached in e-mail.Thanks and Regards,JigneshDo you Yahoo!?Yahoo! Finance Tax Center - Fileonline. File on time.Do you Yahoo!?Yahoo! Finance Tax Center - File online. File on time.Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time.*** Starting the server *** IBM WebSphere Application Server, Release 4.0.4 Advanced Single Server Edition for Multiplatforms Copyright IBM Corp., 1997-2001 [3/20/04 14:30:12:932 EST] 26cac26b WSRegistryImp X Unable to initialize user registry class com.ibm.ejs.security.registry.nt.NTLocalDomainRegistryImpl for type Windows due to exception: Access is denied. [3/20/04 14:30:12:979 EST] 26cac26b SASConfig X SECJ0108E: Unexpected exception occurred when getting user registry or registry attributes. Start Display Current Environment WebSphere AEs 4.0.4 ptf40230.02 running with process name localhost/Default Server and process id 346 Host Operating System is Windows NT, version 4.0 Java version = J2RE 1.3.1 IBM Windows 32 build cn131w-20020710 ORB130 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM server.root = C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4 Java Home = C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4\java\jre ws.ext.dirs = C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/java/lib;C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/classes;C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/lib;C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/lib/ext;C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/web/help;C:/Program Files/SQLLIB/java/db2java.zip;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.0.1/runtime/wasListener.jar;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.webservice_5.0.1/runtime/worf.jar;C:\wsad40requiredjars;C:\devc\olr_properties\env;C:\JAR\persistent_services_classes.jar;C:\JAR\config_services_classes_1_0_0.jar;C:\JAR\eas_api_classes_2_1_3.jar;C:\JAR\easaccess_classes.jar;C:\JAR\codes_repository_classes.jar;C:\JAR\uniqueidgeneration_services_classes.jar;C:\JAR\xml_services_classes_1_0_0.jar;C:\projects\testingEarWeb\Web Content\WEB-INF\classes;C:\projects\testingEarWeb\Web Content\WEB-INF\lib Classpath = C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/properties;C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/lib/bootstrap.jar;C:/Program Files/IBM/WebSphere