ATG Migration 9_1 to 10_1
To Do ATG Migration from 9.1p4 t0 ATG 10.1.1 commerce platform
After reviewing the migration document following is my understanding on how to do successful migration
1. My exitising application is running on ATG9.1p4 with all the OOTB and custom data in it
- I execute startExportRepository command to export and create an xml file of my entire data [There will be multiple files depending on schema - Pub, Core, Cata, Catb]
2. Once the existing data is exported, I run the update/add scripts as mentioned in document for ATG 10.0 and then to ATG 10.1
3. Execute startImportRepository to import all the data to the db that is now having ATG 10.1 schema.
My question is what happens to my exiting schema and data from ATG 9.1 ? Do I create a new schema for 9.1 and then run the migration scripts or Do I run on the existing data ? If so, what about the custom tables that I created for 9.1 ?
Hi ,
Its always better to practice migration on a copy of your original schema , so that you can be sure that your application runs smoothly , and any mistake can be corrected :
1- You may not need to backup all your data , only backup what the migration guide says.
2- custom tables - it depends on what you have customized and how much , best bet will be to migrate as per migration guide , and then start the server and look out for errors in server console , then fix them as required.
once your are sure of all changes you need , document and do it on your original data.
migration from 9 to 10 is going to be tricky - multisite - pricing - promotion changes , yeah but it will be very easy from 10 to 10.1
Answer to your question - as your are migration your 9.1 schema - and running scripts on same schema - the same schema and your custom tables will be used for 10.1 , your do not need to export and backup everything , migration scripts are written in such a way to avoid that, else it wont be a migration - it will be a new database installation.
other useful points :
1- Use .bat/.sh files of migration kit , they run scrips in proper order.
2- open the scrips in a text editor and go through it , sometimes important comments are written inside them like which tables to backup before running them.
``
Praveer
Similar Messages
-
Wishlist issue in ATG migration to 10.1 version
Hi all,
I am doing ATG migration from 10.0.3 to 10.1 version and I am getting the following exception:
**** Error Seg Jan 14 09:17:49 BRST 2013 1358162269186 /atg/userprofiling/ProfileAdapterRepository Error parsing the model: atg.repository.RepositoryException: Your wishlist property specifies an invalid name external repository /atg/commerce/gifts/Giftlists
**** Error Seg Jan 14 09:17:49 BRST 2013 1358162269186 /atg/userprofiling/ProfileAdapterRepository Your wishlist property specifies an invalid gift item-type-list
**** Error Seg Jan 14 09:17:49 BRST 2013 1358162269186 /atg/userprofiling/ProfileAdapterRepository atg.repository.RepositoryException: Your wishlist property specifies an invalid name external repository /atg/commerce/gifts/Giftlists
**** Error Seg Jan 14 09:17:49 BRST 2013 1358162269186 /atg/userprofiling/ProfileAdapterRepository Your wishlist property specifies an invalid gift item-type-listI verify the gitf list path in dyn/admin and it is correct.
The xml file wishlist property is this:
<table name="dcs_user_wishlist" id-column-name="user_id" type="auxiliary" shared-table-sequence="1">
<property expert="false" readable="true" category-resource="categoryCommerceLists" item-type="gift-list" display-name-resource="wishlist" writable="true" cache-mode="inherit" column-name="giftlist_id" repository="/atg/commerce/gifts/Giftlists" cascade="insert,update,delete" hidden="false" name="wishlist" required="false" queryable="true">
<attribute name="resourceBundle" value="atg.commerce.UserProfileTemplateResources"/>
</property>
</table>Someone can help me?
Thanks in advanceThis seems like effect and not cause. Check if you see startup error for Giftlists repository.
You can also try browsing to /atg/commerce/gifts/Giftlists component and see if you see all the items and property rendered correctly. -
ATG Migration from 9.3 to 10.2
We are migrating our application from ATG 9.3 to ATG 10.2. Please let us know whether we have any direct migration document from ATG 9.3 to 10.2?
You can find the migration guides at:
Oracle ATG Web Commerce Migration Documentation
Here you will see this is a three step migration. See 9.x version from the document above for the steps. -
Updating view mapping for atg migration
Hi experts
In the migration document they have mentioned about update view mappings. i am not able to understand this? they also mentioned
Before you import the new ATG 10.0 view mappings, edit the following files in
>/home/localconfig/atg/dynamo/service/jdbc
FakeXADataSource.properties
FakeXADataSource_production.properties.
here is my question- why do we need to change FakeXADataSource.properties. is this mandetory? If you are using Oracle (XA datasource) , why do we need to edit fakexadatasource. please help me to understand .
thanks
KrishHi Krish,
yes, it is mandatory. the FakeXADataSource.properties used during initial export and import of data when installing.
Thanks & Regards
Suman Vasireddy
Please mark any update as "Correct Answer" or "Helpful Answer" if that update helps/answers your question, so that others can identify the Correct/helpful update between many updates. -
Hi All,
I was wondering if there is any document for migrating CRS 10.1.2 to CRS 10.2.
I was following the ATG migration doc and it has mentioned that CRS has been rewritten for 10.2 and
"If an application is based on an earlier version of CRS, follow the migration steps described elsewhere in this guide"
Any kind suggestion for where I have to look, would be appreciated.
Regards,
NitinHi,
You need to include the module named Store.KnowledgeBase in runassembler while building your EAR. Also, as Nitin specified Returns has also been introduced as part of ATG 10.2. You need to execute the SQL corresponding to Returns and KnowledgeBase in your Production Schema.
The best approach would be to take a dump of your Publishing Data that is getting used in current application. Then install ATG 10.2 freshly through CIM and then import the data in ATG 10.2.
FYI,
They have modified the path of certain Formhandlers in ATG 10.2. Also StoreRepository has been renamed to Location Repository and so on.
Thanks,
Tatai -
Getting error in BCC 10.1 interface
Hi all,
I am doing ATG migration from 10.0.3 to 10.1 version. I could migrate de BCC interface, but I am getting an exception when access the media interface.
The exception is this:
java.lang.IllegalArgumentException: getPropertyValue() failed, invalid property name 'this' at atg.adapter.version.CurrentVersionItem.getPropertyValue(CurrentVersionItem.java:426)
at atg.remote.assetmanager.common.service.ServiceUtils.getPropertyValue(ServiceUtils.java:2231)
at atg.remote.assetmanager.editor.service.PropertyEditorAssetViewServiceImpl.createAssetViewState(PropertyEditorAssetViewServiceImpl.java:221)
at atg.remote.assetmanager.editor.service.RepositoryAssetViewServiceImpl.createAssetViewState(RepositoryAssetViewServiceImpl.java:128)
at atg.remote.assetmanager.editor.service.AssetEditorStateFactory.createAssetViewState(AssetEditorStateFactory.java:310)
at atg.remote.assetmanager.editor.service.AssetEditorStateFactory.initializeViewInfo(AssetEditorStateFactory.java:221)
at atg.remote.assetmanager.editor.service.AssetEditorStateFactory.createAssetEditorState(AssetEditorStateFactory.java:131)
at atg.remote.assetmanager.editor.service.AssetEditorService.getAsset(AssetEditorService.java:383)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)
at atg.flex.messaging.services.TransactionalJavaAdapter.invoke(TransactionalJavaAdapter.java:189)
at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503)
at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884)
at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121)
at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:146)
at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278)
at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:322)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.java:192)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:275)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.servlet.http.CookieBufferServlet.service(CookieBufferServlet.java:119)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.userprofiling.ExpiredPasswordServlet.service(ExpiredPasswordServlet.java:378)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:228)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:657)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.epub.servlet.LocaleServlet.service(LocaleServlet.java:84)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.epub.servlet.ProjectServlet.service(ProjectServlet.java:109)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.epub.servlet.PublishingSecurityServlet.service(PublishingSecurityServlet.java:80)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:150)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:213)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:696)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2447)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:191)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.search.servlet.SearchClickThroughServlet.service(SearchClickThroughServlet.java:437)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:161)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:512)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:230)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:460)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.servlet.pipeline.CachePreventionServlet.service(CachePreventionServlet.java:141)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:287)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:302)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:392)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:113)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:234)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:191)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:324)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1224)
at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:910)
at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)
at atg.filter.dspjsp.PageFilter.innerDoFilter(PageFilter.java:349)
at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:208)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)I can't imagine how to solve this, someone can help me?
Thanks in advanceHi Granado,
This sounds like a property descriptor does not have the this property that the code is trying to reach.
Did you follow the steps in this document http://docs.oracle.com/cd/E29239_02/pdf/ATG1003-101MigrationGuide.pdf? if not I recommend you to go through it
Regards,
Obed -
JumpServlet issue in migration to ATG 10.1
Hi all,
I am doing migration from ATG 10.0.3 to 10.1 version. I am using JumpServlet component to convert some URLs, like browse/category.jsp, to other friendly URLs.
In version 10.0.3 it was working fine, but in 10.1 it is not loading any page with the friendly URL. See my log:
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet Start of Jump Servlet service method
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet Inbound URL=</store/home-accents/cat10016/>
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet Number of templates is <4>
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet forward url is <null>
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet forward url is <null>
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet forward url is <%2Fbrowse%2Fdepartment.jsp?categoryId=cat10016&itemType=department>
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet Got first matching URL
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet Template supports the browser type
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet Using exact match URL <%2Fbrowse%2Fdepartment.jsp?categoryId=cat10016&itemType=department>
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet Forwarding to URL <%2Fbrowse%2Fdepartment.jsp?categoryId=cat10016&itemType=department>
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet Start of Jump Servlet service method
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet Inbound URL=</store/home-accents/cat10016/%2Fbrowse%2Fdepartment.jsp>
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet Number of templates is <4>
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet forward url is <null>
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet forward url is </index.jsp?categoryId=%252Fbrowse%252Fdepartment.jsp&itemType=category>
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet Got first matching URL
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet Template supports the browser type
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet Using exact match URL </index.jsp?categoryId=%252Fbrowse%252Fdepartment.jsp&itemType=category>
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet Forwarding to URL </index.jsp?categoryId=%252Fbrowse%252Fdepartment.jsp&itemType=category>
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet End of Jump Servlet service method
**** debug /atg/dynamo/servlet/dafpipeline/JumpServlet End of Jump Servlet service methodIt seems like the component is putting some code, like %2F, instead of / signal, and this is making problem in the URLs. But I don't have any idea to solve this issue.
Anyone can help me?
Thanks a lotHi Gautam Singh,
My DepartmentIndirectTemplate.properties file is:
$class=atg.repository.seo.IndirectUrlTemplate
# Url template format
urlTemplateFormat=/store/{item.friendlyURL}/{item.id}/
# Regex that matches above format
indirectRegex=.*/store/[^/]*?/([^$].*?)(/$|\\?.*$|$)
# Regex elements
regexElementList=\
item | id | /atg/commerce/catalog/ProductCatalog:category,\
| |
# Forward Url template
forwardUrlTemplateFormat={item.template.url}?categoryId\={item.id}&itemType\=department
# Web App registry
defaultWebApp=/atg/registry/webappregistry/ATGCommerceReferenceStore
# Supported Browser Types
supportedBrowserTypes=\
robot,\
background-image,\
bad-cacher,\
checker,\
cookie,\
euc,\
Emacs-W3,\
file-upload,\
font-sizer,\
frames,\
HotJava,\
indexer,\
inlinejpeg,\
java,\
javascript,\
Lynx,\
MSIE,\
MSIE4,\
MSIE5,\
MSIE6,\
MacOS,\
Mosaic,\
Mozilla,\
Netscape,\
Netscape4,\
NonFunctionalXDC,\
ssl,\
server-push,\
slurper,\
tables,\
Unix,\
WML,\
WebTV,\
Win3X,\
Win95,\
WinNT,\
Windows,\
X11Any suggestion?
Thanks a lot -
Migration from ATG Dynamo 5.1 to Weblogic 10.3 Server
Hi,
We are currently involved in a project in which the application has be
migrated from the ATG Dynamo Server 5.1 to Weblogic 10.3 application
server.
While doing this we are facing some problems related to
DynamoHttpServletRequest.
Previosly the code was written as below:
DynamoHttpServletRequest atgRequest = (DynamoHttpServletRequest)
request;
HttpSession atgSession = (HttpSession) atgRequest.resolveName("/" );
Since we are moving to the weblogic server we are planning to remove
the DynamoHttpServletRequest and use the javax HttpServletRequest.
But to do this i am unable to find the functionality that does
resolveName("/" ).
I tried writing the below 2 lines of code inplace of the 2 lines of
code above, but it is not solving the purpose.
HttpServletRequest weblogicRequest = (HttpServletRequest) request;
HttpSession weblogicSession = (HttpSession)
weblogicRequest.getSession();
Can anybody please help me in solving this problem where i can replace
DynamoHttpServletRequest with HttpServletRequest.
Any suggestions are welcome.
Thanks in advance
ShailendraHi Ravi,
Thanks for your response.
While migrating we have tried to remove the ATG dependency and we are getting session invalid. We are unable to find a similar method for “resolveName” in HTTPServletRequest. The method “resolveName” of the DynamoHttpServletRequest is being used to retrieve the session object by passing a String parameter (‘/’ or any URL).
Whereas the HTTPServletRequest has only two methods [getSession() or getSession(Boolean)] to retrieve the session object and here we cannot pass any String parameter. Thus we are unable the replicate the existing functionality using the HTTPServletRequest class.
Below are some code examples for your reference.
Sample1:
Below commented code is original one. we tried to as mentined below:
//import atg.servlet.DynamoHttpServletRequest;
/* DynamoHttpServletRequest atgRequest = (DynamoHttpServletRequest) request;
HttpSession atgSession = (HttpSession) atgRequest.resolveName("/" );
String atgsession = "jsessionid=" + atgSession.getId();
HttpServletRequest weblogicRequest = (HttpServletRequest) request;
HttpSession weblogicSession = (HttpSession) weblogicRequest.getSession();
String weblogicsession = "jsessionid=" + weblogicSession.getId();
Sample2:
Below commented code is original one. we tried to as mentined below:
/* ATG Dynamo for Session Last Access Time functionality */
//import atg.servlet.DynamoHttpServletRequest;
/* DynamoHttpServletRequest atgRequest = (DynamoHttpServletRequest) request;
HttpSession session = (HttpSession) atgRequest.resolveName("/atg/dynamo/servlet/sessiontracking/SessionManager/" + sessionID);
HttpServletRequest weblogicRequest = (HttpServletRequest) request;
HttpSession session = (HttpSession) weblogicRequest.getSession();
we would like to know is there any smilar functionality or methods available so we can use in HttpServletRequest or servlets.
Thanks,
Nagesh -
ATG Search Migration Question 10.1
Hi,
We are migrating an existing application from ATG 2007.1 to ATG10.1. The migration document does not indicate about running any import scripts on the publishing schemas to import the updated search view mapping data, but it appears that this data for ATG 10.1 has been modified when compared to 2007.1 version. there are a lot of view mappings which have been added into the publishing schema. I was able to find out when i did a reference installation using CIM so i could use it for comparison after migration.
Are we supposed to run those import scripts again on the publishing schema post database migration?
Thanks,
SrikanthCan I reach this with patches No, you have to install the base release of 10.2 and then migrate.
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14238/toc.htm -
ATG 11 migration with JbossEAP6.1
Hi,
I am working on migration from ATG 10.2 to ATG11.
Application is working fine with ATG10.2 with JbossEAP5.1.
Config path is loading three times in log file and getting errors following way.
10:51:41,702 ERROR [stderr] (ServerService Thread Pool -- 83) java.lang.NoSuchFieldException: policy
10:51:41,702 ERROR [stderr] (ServerService Thread Pool -- 83) at java.lang.Class.getDeclaredField(Class.java:1948)
10:51:41,702 ERROR [stderr] (ServerService Thread Pool -- 83) at atg.servlet.ServletUtil.getJBoss5JspClasspath(ServletUtil.java:568)
10:51:41,702 ERROR [stderr] (ServerService Thread Pool -- 83) at atg.nucleus.servlet.NucleusServlet.getClasspath(NucleusServlet.java:1337)
10:51:41,702 ERROR [stderr] (ServerService Thread Pool -- 83) at atg.nucleus.servlet.NucleusServlet.initBigEarNucleus(NucleusServlet.java:1277)
10:51:41,702 ERROR [stderr] (ServerService Thread Pool -- 83) at atg.nucleus.servlet.NucleusServlet.init(NucleusServlet.java:465)
10:51:41,702 ERROR [stderr] (ServerService Thread Pool -- 83) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194)
10:51:41,702 ERROR [stderr] (ServerService Thread Pool -- 83) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100)
10:51:41,702 ERROR [stderr] (ServerService Thread Pool -- 83) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3591)
10:51:41,712 ERROR [stderr] (ServerService Thread Pool -- 83) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3798)
10:51:41,712 ERROR [stderr] (ServerService Thread Pool -- 83) at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156)
10:51:41,712 ERROR [stderr] (ServerService Thread Pool -- 83) at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
10:51:41,712 ERROR [stderr] (ServerService Thread Pool -- 83) at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)
10:51:41,712 ERROR [stderr] (ServerService Thread Pool -- 83) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
10:51:41,712 ERROR [stderr] (ServerService Thread Pool -- 83) at java.util.concurrent.FutureTask.run(FutureTask.java:262)
10:51:41,722 ERROR [stderr] (ServerService Thread Pool -- 83) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
10:51:41,722 ERROR [stderr] (ServerService Thread Pool -- 83) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
10:51:41,725 ERROR [stderr] (ServerService Thread Pool -- 83) at java.lang.Thread.run(Thread.java:745)
10:51:41,725 ERROR [stderr] (ServerService Thread Pool -- 83) at org.jboss.threads.JBossThread.run(JBossThread.java:122)
10:52:02,225 WARNING [oracle.jps.credstore] (ServerService Thread Pool -- 83) Opening of wallet based credential store failed. Reason java.io.IOException: PKI-0
2002: Unable to open the wallet. Check password.
10:52:02,262 ERROR [nucleusNamespace.atg.dynamo.server.OPSSInitializer] (ServerService Thread Pool -- 83) null: oracle.security.jps.JpsException: JPS-01050: Ope
ning of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
at oracle.security.jps.se.JpsSEStartup.start(JpsSEStartup.java:63)
10:52:04,906 ERROR [nucleusNamespace.atg.dynamo.server.OPSSInitializer] (ServerService Thread Pool -- 73) null: oracle.security.jps.JpsException: oracle.securit
y.jps.JpsRuntimeException: Cannot read from policy store. Reason is PolicyStore Error, JPS-00027: internal error dataStoreEntry is null.
at oracle.security.jps.se.JpsSEStartup.start(JpsSEStartup.java:63)
I don't know why config path and class path is loading 3 times and causing the above errors.
Please any one help me on this issue.
Thanks,
SreedharHi Sreedhar
This is a known issue please see
ATG 11 runAssembler for JBoss 6 EAP Causes Error "java.net.SocketException: factory already defined" and/or Multiple Instances of Nucleus to Start Up (Doc ID 1644855.1)
https://support.oracle.com/rs?type=doc&id=1644855.1
++++
Thanks
Gareth
Please mark any update as "Correct Answer" or "Helpful Answer" if that update helps/answers your question, so that others can identify the Correct/helpful update between many updates. -
Resource Bundle issue in ATG 10 migration
Hi,
Migrating from ATG 2007.1 to 10 & getting issues with resource bundle for Merchandizing pages in BCC.Page is loading the StoreMerchandisingIcons.swf from the WAR module.Additionally the page is throwing error #404 for StoreMerchandisingIcons_en.swf & StoreMerchandisingIcons_en_US.swf (which is not available in the WAR)
This URL is loading fine
http://localhost:8180/store-merchandising/StoreMerchandisingIcons.swf
404 for these URLs
http://localhost:8180/store-merchandising/StoreMerchandisingIcons_en.swf
http://localhost:8180/store-merchandising/StoreMerchandisingIcons_en_US.swf
Configured the resource bundle & default locale in the StoreConfiguration but still I am getting this error.Am I missing anything?
Debugged through FireBug , not getting any error in the page or Jboss console
Thanks in advance!
ManiHi,
Application.getResourceBundle(FacesContext, String) retrieves the named ResourceBundle from faces-config.xml and is indeed a good way to access a bundle from an application.
Now, however, you're trying to access a Model layer bundle which is itself an aberration imho. I already mentioned that in numerous posts in the past, but I won't ever think that specifying localized information in the model layer is a good design. At best I could accept it for default value, but localized message it in no way a business logic concern, it's pretty much a pure presentation one. The model layer should return error code/keys and parameters and it should be the responsibility of the view layer to translate it in an understandable version for the target client (human or automated). Can't you use a view layer bundle?
Regards,
~ Simon -
Hi Friends,
Currently we are using ATG 9.0 on Web sphere application server (WAS 6.1). But we are plannig to migrate WAS 6.1 to WAS 8.
i would like to ask whether ATG 9.0 is compatible with WAS 8 environment or not? ? If YES, can someone please let me know what all the things which need to be updated or modified as part of this migration activity.
Thanks,
ShubhHi,
You need to include the module named Store.KnowledgeBase in runassembler while building your EAR. Also, as Nitin specified Returns has also been introduced as part of ATG 10.2. You need to execute the SQL corresponding to Returns and KnowledgeBase in your Production Schema.
The best approach would be to take a dump of your Publishing Data that is getting used in current application. Then install ATG 10.2 freshly through CIM and then import the data in ATG 10.2.
FYI,
They have modified the path of certain Formhandlers in ATG 10.2. Also StoreRepository has been renamed to Location Repository and so on.
Thanks,
Tatai -
Hi All,
we are working on ATG9.1 to ATG 10 migration. we are getting the issue regarding the BCC.
Generate the standalone ear file in ATG 10 environment and Deployed in jboss-eap-5.0.
After creating new merchandising project we are not able to see the assets to change instead we are navigating to BCC home page and when we click on other tabs like SearchAdministration again we are navigating to BCC home page. No errors shown in the log.
Thanks in Advance
RamsHi,
Thanks for the reply.
When i try to open the Content Administration project from BCC(logged in as admin),i am getting the below warning and returned to the same page.
WARN [ProjectServlet] Ignoring project parameter "prj646001" because user does not have permission at access processes and/or projects.
when i create my publihsing.ear from cim and run the server, i am not getting this issue.when i use the migration ear (compiled and assembled as stand alone on ATG 10.0.2), i am getting this issue.
Where can i set this permission?
Thanks,
Rams
Edited by: Rams on Nov 2, 2011 1:01 AM
Edited by: Rams on Nov 2, 2011 1:02 AM -
Migration from ATG 5.1.1 to Weblogic 10.3
Hi,
we are migratiing our application server from ATG 5.1.1 to Weblogic 10.3. but there are some ATG Nuclear menthods are used in application. we want to know simiar ones for those.
what is the similar method of resolveName?
Thanks,
NageshHi Ravi,
Thanks for your response.
While migrating we have tried to remove the ATG dependency and we are getting session invalid. We are unable to find a similar method for “resolveName” in HTTPServletRequest. The method “resolveName” of the DynamoHttpServletRequest is being used to retrieve the session object by passing a String parameter (‘/’ or any URL).
Whereas the HTTPServletRequest has only two methods [getSession() or getSession(Boolean)] to retrieve the session object and here we cannot pass any String parameter. Thus we are unable the replicate the existing functionality using the HTTPServletRequest class.
Below are some code examples for your reference.
Sample1:
Below commented code is original one. we tried to as mentined below:
//import atg.servlet.DynamoHttpServletRequest;
/* DynamoHttpServletRequest atgRequest = (DynamoHttpServletRequest) request;
HttpSession atgSession = (HttpSession) atgRequest.resolveName("/" );
String atgsession = "jsessionid=" + atgSession.getId();
HttpServletRequest weblogicRequest = (HttpServletRequest) request;
HttpSession weblogicSession = (HttpSession) weblogicRequest.getSession();
String weblogicsession = "jsessionid=" + weblogicSession.getId();
Sample2:
Below commented code is original one. we tried to as mentined below:
/* ATG Dynamo for Session Last Access Time functionality */
//import atg.servlet.DynamoHttpServletRequest;
/* DynamoHttpServletRequest atgRequest = (DynamoHttpServletRequest) request;
HttpSession session = (HttpSession) atgRequest.resolveName("/atg/dynamo/servlet/sessiontracking/SessionManager/" + sessionID);
HttpServletRequest weblogicRequest = (HttpServletRequest) request;
HttpSession session = (HttpSession) weblogicRequest.getSession();
we would like to know is there any smilar functionality or methods available so we can use in HttpServletRequest or servlets.
Thanks,
Nagesh -
Hi
I am trying to migrate a set of applications in ATG 5.1 to weblogic 8.1.
I am trying to work out if the tags in ATG work in weblogic as well when the dynamo tag libraries are properly set in the lib folder.
A simple index.jsp with code like below
<%@ taglib uri="/dspTaglib" prefix="wl" %>
<wl:page>
</wl:page>
is giving me the following error. Can anybody tell me where I am going wrong..?
Thnx siva
java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:329)
at atg.servlet.NameContextManager.getSessionManager(NameContextManager.java:673)
at atg.servlet.NameContextManager.getSessionManager(NameContextManager.java:644)
at atg.servlet.ServletUtil.getSessionManager(ServletUtil.java:460)
at atg.servlet.NameContextManager.setTrackingAttributes(NameContextManager.java:560)
at atg.servlet.NameContextManager.initializeSessionNameContext(NameContextManager.java:458)
at atg.taglib.dspjsp.Utils.checkParentSessionNameContext(Utils.java:441)
at atg.taglib.dspjsp.PageTag.doStartTag(PageTag.java:309)
at jsp_servlet.__index._jspService(__index.java:141)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:446)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)Hi
If your applications was written using J2EE standars there are no issues
The only thing you must rememeber is that any app server has a specific classloader. Then, you must package your apps according this.
Jin
Maybe you are looking for
-
Looking for a better resource to get a handle on using effects in after effects (CS6 BTW)
Hello thanks for looking in, I would like to get better control over Zooming. The Zooming I found in AE did not function when dragged it into my effects controller...Is the only Zoom control really the "Scale" as found in Prem-Pro? I could not find i
-
HT4437 How do I change the display output orientation to my TV from my iPhone?
The ABC app on my iPhone5 displays sideways (portrait) when outputting to my TV while using Air Play. How do I change the orientation output to my tv when using apps such as ABC?
-
Hi, I have one servlet that is supposed to create an excel sheet. Then I have a couple jsp's with a link to this servlet on each of those jsp's. The content of the excel sheet should depend on wich link has been clicked. My problem is: if I open an e
-
Where can I get ScriptUI for photoshop CC?
I've searched the internet, and I can't find anything referring to ScriptUI for photoshop CC. Can someone tell me where I can get the download?
-
How - Custom Java App- SRM Integration
I am looking to replicate some of the "Request for Quotation" creation/management functionality from SRM in a custom application (for business/technical/ease-of-use reasons) and send the created RFQs over to SAP SRM. Can I use XI to send RFQs into SR