Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
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
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
migrate struts1 to struts2 on weblogic server 10.3.6 --> meet difficulty
Raymond Chiu Wing Hing
Ranch Hand
Posts: 91
1
posted 6 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Dear all,
Now I need to prepare to migrate struts1 web project to struts2 on weblogic server. I just think does I need to change below settings file??
+--WEB-INF
+--WEB-INF--struts-bean.tld
+--WEB-INF--struts-html.tld
+--WEB-INF--struts-logic.tld
+--WEB-INF--weblogic.xml
weblogic.xml
<?xml version="1.0" encoding="UTF-8"?> <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <context-root>aeon_app_public</context-root> <container-descriptor> <prefer-web-inf-classes>true</prefer-web-inf-classes> </container-descriptor> Insert session descriptor element here <session-descriptor> <persistent-store-type>replicated</persistent-store-type> <cookie-name>JSESSIONID</cookie-name> <cookie-secure>true</cookie-secure> <url-rewriting-enabled>false</url-rewriting-enabled> </session-descriptor> <resource-description> <res-ref-name> WebLogicOracleDatasource </res-ref-name> <jndi-name> AWIP_DB </jndi-name> </resource-description> </weblogic-web-app>
struts-bean.png
Please remove extension png and change it to be xml or txt
struts-html.png
Please remove extension png and change it to be xml or txt
struts-logic.png
Please remove extension png and change it to be xml or txt
Raymond Chiu Wing Hing
Ranch Hand
Posts: 91
1
posted 6 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Should I also amend message bundle as below and put from struts-config to struts.xml.
<!-- <message-resources key="cardResources" parameter="com.aeon.onlineapplications.struts.CardApplicationResources" /> -->
<constant name="com.aeon.onlineapplications.struts.CardApplicationResources" value="cardResources"></constant>
Raymond Chiu Wing Hing
Ranch Hand
Posts: 91
1
posted 6 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The resource bundle is correct after my
testing
.
On the other hand, only weblogic.xml need to amend to be <persistent-store-type>memory</persistent-store-type> in local developer machine.
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Regarding Session Timeout
Weblogic datasource how to config?
Problem with weblogic.xml
xdoclet problem
Problems deploying javax.xml.stream.XMLInputFactory in Weblogic 12c
More...