0% found this document useful (0 votes)
209 views5 pages

Encoded Data Analysis

The document provides instructions for installing and configuring Oracle Commerce (ATG) 10.0.1 on Windows. It includes steps for: 1. Installing Oracle Database 11g and creating schemas. 2. Installing ATG 10.0.1 and starting the setup programs. 3. Configuring JBoss Application Server and setting environment variables. 4. Running Content Administration (CMA) to configure the ATG applications. The document also describes some issues encountered during the installation and configuration, such as port conflicts when deploying to multiple JBoss instances, and increasing JVM memory settings to avoid out of memory errors. Solutions for resolving each issue are provided.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
209 views5 pages

Encoded Data Analysis

The document provides instructions for installing and configuring Oracle Commerce (ATG) 10.0.1 on Windows. It includes steps for: 1. Installing Oracle Database 11g and creating schemas. 2. Installing ATG 10.0.1 and starting the setup programs. 3. Configuring JBoss Application Server and setting environment variables. 4. Running Content Administration (CMA) to configure the ATG applications. The document also describes some issues encountered during the installation and configuration, such as port conflicts when deploying to multiple JBoss instances, and increasing JVM memory settings to avoid out of memory errors. Solutions for resolving each issue are provided.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

verslons

Wlndows7 64blL Wlndows Server 2003/x 32blL


Cracle 11g82 64blL Cracle 11g82 32blL
!uk 16_21 64blL !uk 16_23 32blL
!8CSS LA310 !8CSS LA310

1 Cracle lnsLallaLlon
a AfLer lnsLalllng Cracle 11g82 creaLe a new u8 uslng uaLabase conflguraLlon asslsLanL
C8S sld C8S

b CreaLe Lablespace Lhls ls an opLlonal cholce Cood Lo have buL noL compulsory speclally
[usL for C8S

c CreaLe schema users
C8LA1L uSL8 publlshlng luLn1lllLu 8? publlshlng
C8An1 CCnnLC1 1C publlshlng
C8An1 u8A 1C publlshlng
C8An1 Au1PLn1lCA1LuuSL8 1C publlshlng
C8An1 lM_luLL_uA1A8ASL 1C publlshlng

C8LA1L uSL8 producLlon luLn1lllLu 8? producLlon
C8An1 CCnnLC1 1C producLlon
C8An1 u8A 1C producLlon
C8An1 Au1PLn1lCA1LuuSL8 1C producLlon
C8An1 lM_luLL_uA1A8ASL 1C producLlon

C8LA1L uSL8 swlLchlnga luLn1lllLu 8? swlLchlnga
C8An1 CCnnLC1 1C swlLchlnga
C8An1 u8A 1C swlLchlnga
C8An1 Au1PLn1lCA1LuuSL8 1C swlLchlnga
C8An1 lM_luLL_uA1A8ASL 1C swlLchlnga

C8LA1L uSL8 swlLchlngb luLn1lllLu 8? swlLchlngb
C8An1 CCnnLC1 1C swlLchlngb
C8An1 u8A 1C swlLchlngb
C8An1 Au1PLn1lCA1LuuSL8 1C swlLchlngb
C8An1 lM_luLL_uA1A8ASL 1C swlLchlngb


2 lnsLall A1C 1001

3 Copy llcense flles Lo A1G10d|rhome|oca|conf|g d|rectory

4 SeL LnvlronmenL varlables
a !AvA_PCML C[ava[dk160_21
b A1P C[ava[dk160_21bln
c u?nAMC_PCMLCA1CA1C1001home
d SeL CLASSA1PCappLempproducL1120dbhome_1[dbcllbo[dbc3[ar


3 updaLlng !8oss cg||b[ar flle
lf you are uslng !8oss as your appllcaLlon server you musL replace Lhe [bosseap30/[bossas/
common/llb/cgllb[ar flle wlLh an unslgned verslon of Lhe flle whlch can be downloaded from
here
hLLp//reposlLory[bosscom/maven2brew/cgllb/cgllb/22/cgllb22[ar

When l Lrled uslng !8CSS CA Lhls replacemenL dldn'L work l found LhaL people are uslng asm[ar Lo
resolve slmllar lssue Asm ls a small framework LhaL ls used Lo analyze and manlpulaLe [ava byLe code
AfLer uslng Lhe laLesL asm [ar Lhe lssue was resolved buL Lhe page was Laklng very long Lo complle l
gave up Lhen

6 8un Lhe Commerce8eferenceSLore10_0_1exe flle Lo sLarL Lhe seLup program

7 8un Lhe A1CSearch10_0_1Wlndowsexe Lo sLarL search seLup

8 8un ClM by execuLlng clmbaL command lnslde A1C10dlr/home/bln

lollow Lhe sLeps menLloned ln ChapLer 4 ln A1CC8S guldepdf lew Lhlngs Lo conslder whlle
runnlng ClM ClM dldn'L accepL [bosseap31 as appllcaLlon server l had Lo lnsLall [boss301CA
and speclfy as appllcaLlon server (Cnce Lhe ear was generaLed l copled ear from 301 CA Lo 31
LA and used 31 LA)
a lnsLall [boss 301 CA and [boss 310 LA
b Speclfy 301 CA as appllcaLlon server ln ClM
c llnlsh all Lhe sLeps
d 1he sLep on page 29 for AssembIe and DepIoy Your ATG AppIications for Lhe
roducLlon lnsLance wlll glve error runconfbat mlsslng aL
run.conf.bat is the batch file is executed by run.bat to initialize the environment variables
that run.bat uses. t is recommended to use this file to configure these variables, rather
than modifying run.bat itself.

e 1he sLeps on page 29 for AssembIe and DepIoy Your ATG AppIications for
Lhe publlshlng lnsLance wlll glve error le blndlngs[bossbeansxml ls mlsslng CA 301
doesn'L use Lhls flle for blndlngs lnsLead lL uses [boss
S01GAserverA1Gub||sh|ngconfbootstrapb|nd|ngsxm| for porL blndlngs we can
avold Lhls by copylng Lhe b|nd|ngserv|cebeans from [bosseapS1[boss
asservera||conf Lo [bossS01GAserverA1Gub||sh|ngconf

[avalangLxcepLlon orL 8083 already ln use
aL org[bosswebWebServersLarL(WebServer[ava233)
aL org[bosswebWebServlcesLarLServlce(WebServlce[ava322)
aL org[bosssysLemServlceM8eanSupporL[bosslnLernalSLarL(ServlceM8eanSupporL[ava289)


lor dlfferenL [boss verslons Lhe flle whlch needs Lo change ls dlfferenL buL ulLlmaLe acLlon remalns Lhe
same lor earller !8oss we had Lo

go to corresponding commerce/production server. C:\jboss-4.2.3.GA\server\ccstore\conf\jboss-
service.xml and search for ports- . Uncomment this block
<mbean code="org.jboss.services.binding.ServiceBindingManager"
name="jboss.system:service=ServiceBindingManager">
<attribute name="ServerName">ports-01</attribute>
<attribute name="StoreURL">${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml</attribute>
<attribute name="StoreFactoryClassName">
org.jboss.services.binding.XMLServicesStoreFactory
</attribute>
</mbean>

Similary go to C:\jboss-4.2.3.GA\server\ccpublishing\conf\jboss-service.xml. Now keep the
"ServerName=ports-default". Which all together will look like this
<mbean code="org.jboss.services.binding.ServiceBindingManager"
name="jboss.system:service=ServiceBindingManager">
<attribute name="ServerName">ports-default</attribute>
<attribute name="StoreURL">${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml</attribute>
<attribute name="StoreFactoryClassName">
org.jboss.services.binding.XMLServicesStoreFactory
</attribute>
</mbean>

lor 301 CA Lhe [bossservlcexml doesn'L have such seLLlngs lL ls lnslde
jboss-5.0.1.GA\server\ATGPublishing\conf\bootstrap\bindings.xml we need Lo change Lhls flle
lor 31 LA Lhe porL blndlng flle ls lnslde \jboss-
5.0.1.GA\server\ATGPublishing\conf\bindingservice.beans\META-NF\bindings-jboss-beans.xml

14:33:29,234 ERROR [NucleusServlet] javax.servlet.ServletException: Error encountered while initializing Nucleus
servlet: Error: There is no installed ATG platform or application package containing an AppModule which matches
DafEar.base

This file C:\jboss-eap-5.1\jboss-as\server\ATGPublishing\deploy\ATGPublishing.ear\atg_bootstrap.war\WEB-
NF\ATG-NF\dynamo.env was poinitng to another version of ATG for example ATG10.0 instead of ATG10.0.1. Once
i changed this it was fixed


Lrror occurred durlng lnlLlallzaLlon of vM Could noL reserve enough space for ob[ecL heap
lf lL happens on 31 LA

runconfbaL ls Lhe baLch flle ls execuLed by runbaL Lo lnlLlallze Lhe envlronmenL varlables LhaL
runbaL uses lL ls recommended Lo use Lhls flle Lo conflgure Lhese varlables raLher Lhan modlfylng
runbaL lLself
erm memory lssue cachlng solved by lncreaslng Lhe [vm lnslde runconfbaL flle
!AvA_C1Sserver xms2048m xmx3072m xxMaxermSlze768m
xxMaxnewSlze768m usunrmldgcservergclnLerval3600000
usunrmlcllenLgclnLerval3600000
15:39:15,906 ERROR [DeploymentServer] transport error from agent 'ProdAgent'
java.rmi.ConnectOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:286)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
at atg.deployment.agent.RMClientAgentTransport_Stub.getStatus(Unknown Source)
at atg.deployment.server.RMServerAgentTransport.getStatus(RMServerAgentTransport.java:192)
at atg.deployment.server.AgentRef.getStatus(AgentRef.java:555)
at atg.deployment.server.AgentStatusCache.performScheduledTask(AgentStatusCache.java:380)
at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)

To resolve this we need to increase the transaction timeout to above 300. For EAP 5.1 & GA this property
file is under - \jboss_home\server\ServerName\deploy\transaction-jboss-beans.


15:07:50,343 ERROR [DeploymentServer]
atg.deployment.common.DeploymentException: cannot perform an incremental deployment on target
'Production'. Check for snapshot mismatch on agents and make sure the target is initialized.
at atg.deployment.common.ResourceUtil.exception(ResourceUtil.java:294)
at atg.deployment.server.Deployment.verifyncrementalAllowed(Deployment.java:2487)
at atg.deployment.server.Deployment.run(Deployment.java:1678)
at java.lang.Thread.run(Thread.java:662)

After searching for any solutions found this tip on ATG community site
-> Need to simply connect to the publishing schema and issue:

select id, date_created, substr(name, 0, 30) from avm_devline where type=1 order by date_created;

The latest entry is last snapshot id deployed. Plug that id value into /atg/epub/DeploymentServer in the
"Force snapshot D" input field and issue the nit.

That'll reset the PublishingAgent on each of the production servers. Now just go back into the [Overview]
of Content Admin, select the site, and restart the deployment.

t didn't work for me, it kept saying snapshot id not found. There were also suggestions to delete entry
from

ATG\ATG9.1\home\servers\ATGPublishing\Publishing\deployment\data
ATG\ATG9.1\home\servers\ATGProduction\PublishingAgent\data

Which didn't work either for me, then had to uninstall CRS and reinstall it,

Still getting the below errors but couldn't find any solutions, though it not stopping from doing anything.
Please anyone if have any clue let me know,

19:55:06,359 ERROR [ServerLockManager] WriteReleased event for key
atg.repository.search.indexing.ConfigStatePersister.ClaimedLock received from non-owner
'sky15:C:\ATG\ATG10.0.1:C:\ATG\ATG10.0.1\home\servers\ATGPublishing:0' - there is no current owner

You might also like