Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

issue with struts1.0 to 1.1 upgrade

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,

Our existing struts 1.0 application runs on Websphere5.1 on AIX platform.
We are trying to upgrade this to use struts 1.1. For this, i just changed the struts.jar in WEB-INF/lib folder to struts-1.1.jar and restarted the application. Now what happens is, all the servlets initializes and then just destroys by itself without showing any error or exception. Then again the servlets initializes by itself and destroys after that. This initialization and destruction is going on in a loop.

We tried to run this same application on windows platform and its running fine.

Has anybody faced such a problem. Please help me out.

thanks in advance,

unni.
 
Ranch Hand
Posts: 111
Mac Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi unni,
I think you should change the DOCTYPE definition in struts-config.xml and you have to replace the tld files aslo.

Hope this helps.
 
unni krishna
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried this also. Its not working...

I am pasting the log file below. It may not be of any help bcose it does'nt show any exception or error messages.

[1/4/05 15:53:01:819 PST] 42136e01 ApplicationMg A WSVR0200I: Starting application: captaincircle
[1/4/05 15:53:02:968 PST] 42136e01 WebContainer A SRVE0169I: Loading Web Module: captaincircleweb.
[1/4/05 15:53:03:407 PST] 42136e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: init
[1/4/05 15:53:03:789 PST] 42136e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLoginServlet: init
[1/4/05 15:53:03:821 PST] 42136e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLogoutServlet: init
[1/4/05 15:53:03:853 PST] 42136e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: init
[1/4/05 15:53:04:025 PST] 42136e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: ActionServlet: init
[1/4/05 15:53:06:355 PST] 42136e01 ConnectionFac I J2CA0122I: Resource reference jdbc/captaincircleDS could not be located, so default values of the following are used: [Resource-ref settings]

res-auth: 1 (APPLICATION)
res-isolation-level: 0 (TRANSACTION_NONE)
res-sharing-scope: true (SHAREABLE)
res-resolution-control: 999 (undefined)
[Other attributes]

isCMP1_x: false (not CMP1.x)
isJMS: false (not JMS)

[1/4/05 15:53:11:734 PST] 42136e01 ApplicationMg A WSVR0221I: Application started: captaincircle
[1/4/05 15:53:12:500 PST] 19932e01 StrictServlet E SRVE0047E: An error occurred during destroy
[1/4/05 15:53:12:542 PST] 19932e01 SystemOut O Completed initDb
[1/4/05 15:53:12:598 PST] 19932e01 SystemOut O Completed
[1/4/05 15:53:12:670 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: destroy
[1/4/05 15:53:12:700 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: destroy
[1/4/05 15:53:19:252 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: init
[1/4/05 15:53:19:897 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLoginServlet: init
[1/4/05 15:53:19:924 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLogoutServlet: init
[1/4/05 15:53:19:955 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: init
[1/4/05 15:53:20:794 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: ActionServlet: init
[1/4/05 15:53:30:188 PST] 19932e01 StrictServlet E SRVE0047E: An error occurred during destroy
[1/4/05 15:53:30:219 PST] 19932e01 SystemOut O Completed initDb
[1/4/05 15:53:30:272 PST] 19932e01 SystemOut O Completed
[1/4/05 15:53:30:330 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: destroy
[1/4/05 15:53:30:354 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: destroy
[1/4/05 15:53:30:796 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: init
[1/4/05 15:53:31:156 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLoginServlet: init
[1/4/05 15:53:31:183 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLogoutServlet: init
[1/4/05 15:53:31:303 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: init
[1/4/05 15:53:31:583 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: ActionServlet: init
[1/4/05 15:53:37:173 PST] 19932e01 StrictServlet E SRVE0047E: An error occurred during destroy
[1/4/05 15:53:37:202 PST] 19932e01 SystemOut O Completed initDb
[1/4/05 15:53:37:257 PST] 19932e01 SystemOut O Completed
[1/4/05 15:53:37:315 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: destroy
[1/4/05 15:53:37:338 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: destroy
[1/4/05 15:53:37:822 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: init
[1/4/05 15:53:38:187 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLoginServlet: init
[1/4/05 15:53:38:214 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLogoutServlet: init
[1/4/05 15:53:38:240 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: init
[1/4/05 15:53:38:504 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: ActionServlet: init
[1/4/05 15:53:43:554 PST] 19932e01 StrictServlet E SRVE0047E: An error occurred during destroy
[1/4/05 15:53:43:582 PST] 19932e01 SystemOut O Completed initDb
[1/4/05 15:53:43:633 PST] 19932e01 SystemOut O Completed
[1/4/05 15:53:43:693 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: destroy
[1/4/05 15:53:43:717 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: destroy
[1/4/05 15:53:44:207 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: init
[1/4/05 15:53:44:672 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLoginServlet: init
[1/4/05 15:53:44:697 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLogoutServlet: init
[1/4/05 15:53:44:723 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: init
[1/4/05 15:53:44:791 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: ActionServlet: init
[1/4/05 15:53:50:121 PST] 19932e01 StrictServlet E SRVE0047E: An error occurred during destroy
[1/4/05 15:53:50:151 PST] 19932e01 SystemOut O Completed initDb
[1/4/05 15:53:50:203 PST] 19932e01 SystemOut O Completed
[1/4/05 15:53:50:261 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: destroy
[1/4/05 15:53:50:284 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: destroy
[1/4/05 15:53:50:787 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: init
[1/4/05 15:53:51:202 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLoginServlet: init
[1/4/05 15:53:51:228 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLogoutServlet: init
[1/4/05 15:53:51:255 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: init
[1/4/05 15:53:51:325 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: ActionServlet: init
 
eat bricks! HA! And here's another one! And a tiny ad!
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic