Dataspace imports with WLST : Full Deployment option?

We use WLST scripts to import our ALDSP projects, but they occassionally fail. When they fail, we can go into the ALDSP console and import the project by selecting the "Full Deployment" checkbox on the first pagbe og the Import tab.
Is there an easy way to simulate checking this box in the scripted WLST import?

I am using the DSPCommonCommands.py codeI thought you just said you were using this. It's in the same file. In any case, I pasted in my post. The complete file is pasted below.
Edit: I gave you the location in 3.2. They don't seem to be in the same place in 3.0.1
- Mike
import wlstModule as wlst
def moveToDspDir():
wlst.runtime()
wlst.custom()
wlst.cd('com.bea.dsp')
def moveToDomainServiceMBean():
moveToDspDir()
wlst.cd('com.bea.dsp:Name=DomainServiceMBean,DspType=com.bea.dsp.management.DomainServiceMBean')
def moveToDeploymentSessionMBean(sessionName):
moveToDspDir()
if sessionName == None:
wlst.cd('com.bea.dsp:Name=SessionMBean,DspType=com.bea.dsp.management.session.SessionMBean.null')
else:
wlst.cd('com.bea.dsp:Name=SessionMBean,DspType=com.bea.dsp.management.session.SessionMBean.'+sessionName)
def moveToAdministrationServiceMBean(dataspaceName,sessionName):
moveToDeploymentSessionMBean(sessionName)
wlst.invoke('getAdministrationService',[dataspaceName],["java.lang.String"])
moveToDspDir()
wlst.cd('com.bea.dsp:Name=AdministrationServiceMBean,DspType=com.bea.dsp.management.admin.AdministrationServiceMBean.'+sessionName+'.'+dataspaceName)
def moveToDataSpaceConfigMBean(dataspaceName,sessionName):
moveToAdministrationServiceMBean(dataspaceName,sessionName)
wlst.get('DataSpaceMBean')
moveToDspDir()
wlst.cd('com.bea.dsp:Name=DataSpaceConfig,DspType=com.bea.dsp.management.configmbeans.DataSpaceConfigMBean.'+sessionName+'.'+dataspaceName)
def moveToDataServicesConfigMBean(dataspaceName,sessionName):
moveToAdministrationServiceMBean(dataspaceName,sessionName)
wlst.get('DataServicesMBean')
moveToDspDir()
wlst.cd('com.bea.dsp:Name=DataServicesConfig,DspType=com.bea.dsp.management.configmbeans.DataServicesConfigMBean.'+sessionName+'.'+dataspaceName)
def moveToDataSourcesConfigMBean(dataspaceName,sessionName):
moveToAdministrationServiceMBean(dataspaceName,sessionName)
wlst.get('DataSourcesMBean')
moveToDspDir()
wlst.cd('com.bea.dsp:Name=DataSourcesConfig,DspType=com.bea.dsp.management.configmbeans.DataSourcesConfigMBean.'+sessionName+'.'+dataspaceName)
def createDataSpace(dataspaceName):
moveToDomainServiceMBean()
targets = wlst.get('Targets')
wlst.invoke('createDataSpace',[dataspaceName,targets],['java.lang.String','java.util.Set'])
def deleteDataSpace(dataspaceName):
moveToDomainServiceMBean()
wlst.invoke('deleteDataSpace',[dataspaceName],['java.lang.String'])
def importDataSpace(dataspaceName,sessionName,importJarFilePath):
moveToDeploymentSessionMBean(sessionName)
from com.bea.dsp.management.deployment.session import DeploymentOptions
deploymentOptions = DeploymentOptions()
wlst.invoke('importJar',[dataspaceName,importJarFilePath,deploymentOptions],['java.lang.String','java.lang.String','com.bea.dsp.management.deployment.session.DeploymentOptions'])
def exportDataSpace(dataspaceName,exportJarFilePath):
moveToDeploymentSessionMBean(None)
from com.bea.dsp.management.deployment.session import ExportOptions
exportoptions = ExportOptions()
exportoptions.setIncludeConfiguration(1)
exportoptions.setOverwriteJar(1)
wlst.invoke('export',[dataspaceName,exportJarFilePath,exportoptions],['java.lang.String','java.lang.String','com.bea.dsp.management.deployment.session.ExportOptions'])
def createDeploymentSession(sessionName):
moveToDomainServiceMBean()
wlst.invoke("createDeploymentSession",[sessionName],["java.lang.String"])
moveToDeploymentSessionMBean(sessionName)
def activateDeploymentSession(sessionName):
moveToDomainServiceMBean()
wlst.invoke('activateDeploymentSession',[sessionName],["java.lang.String"])
def discardDeploymentSession(sessionName):
moveToDomainServiceMBean()
wlst.invoke('discardDeploymentSession',[sessionName],["java.lang.String"])
def createFunctionRef(dataServiceLocator,functionName,arity):
from com.bea.ld.metadata import NodeRef
from javax.xml.namespace import *
qname = QName(dataServiceLocator,functionName)
return NodeRef.Factory.newInstance().createFunctionRef(qname, arity)
Edited by: mikereiche on May 12, 2009 4:58 PM

Similar Messages

  • Deployment option under publish settings....

    ello.
    My problem has to do with under the DEPLOYMENT option in the
    publish settings when your trying to import a video file, Im
    wondering what the actionscript would perhaps look like if say I
    want to take multiple videos and load them into one player. Im
    trying to set up an empty flash player that when a user clicks on
    say a thumbnail image the video corresponding to that image gets
    loaded and autoplays in the player. Any ideas are
    GREEEAAATTTLLLYY appreciated, cause im stuck.
    Thanks, Joe.

    don't import it unless you want a low-quality video that
    takes a long time to load before it begins to display. use an flv
    playback component or the video class or the video player
    class.

  • BCC Full Deployment to new ProductionAgent stuck at 0.0%

    I am trying to get a new ProductionAgent up and going in BCC but it seems to be stuck at 0.0% (its been this way for 2 hours with no visible progress). The logs on both ATGPublishing and ATGProduction aren't giving me any clue as to why or even if it is stuck. How do I figure out if it is making any progress or what the block is?
    As always, thanks in advance for any insights.

    ATG have some select distinct SQLs that freezes on database, look this thread Issue with ATG Full Deployment on Oracle
    You have two things to do, use the /atg/epub/purge/PurgingService on publishing and configure:
    /atg/deployment/DeploymentManager.properties like this:
    #Bump up ThreadBatchSize and TransactionBatchSize
    maxThreads=20
    transactionBatchSize=5000
    threadBatchSize=5000

  • Fiori CRM apps with central hub deployment

    Hello Experts,
    We are looking to configure Fiori CRM apps in our landscape with central hub deployment option. Our CRM backend and frontend server (Gateway) are 2 separate systems.
    The CRM backend system (CRM 7.0 EHP3) is running NW 7.4 whereas the frontend server where we have installed the Gateway component is running NW 7.31. Can we go ahead and install the CRM UI components on our frontend server or is it mandatory that the frontend server also runs NW 7.4?
    Regards,
    Saurabh
    Tags edited by: Michael Appleby

    Hi Masa,
    The link you mentioned gives details about the required SAP Gateway Components for NetWeaver 7.3 & 7.4, but does not mention anywhere whether the NetWeaver version of the backend business suite system should necessarily be NW7.4 if we have front-end system on NW7.4.
    I am looking to clarify the doubt regarding whether both front-end and back-end systems should be on the same NetWeaver release or it is fine to have front-end on 7.31 and back-end on 7.4
    Regards,
    Saurabh

  • Export / Import with FULL=Y

    Hello DBA's,
    after consulting several thread on exp/imp with the option full=y the doubt that I have left is when using imp with full=y ignore=y in a new data base, the data base obtained will be equal to the data base from which export with full=y became. Thanks for its answers.

    export full=y
    will export all the user ,roles,tablespace creation scripts,tables all the datadictionary views
    for example if u connect the databse with single user try to get the privileges from the existing Db and then
    create the database in the new server
    create users and grant privileges before import;
    then import with fromuser= ,touser
    if you issues FULL=y
    it will start creating all the system ,index and all the other tablespaces provided it should have the same directories as it is in current DB
    to avoid create the dataabse ,tablespace users then import with fromuser,touser option
    thanks

  • Creating a FLV video player with full screen option

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3258016930_5977304
    Content-type: text/plain;
    charset="ISO-8859-1"
    Content-transfer-encoding: 8bit
    Hi!
    I am trying to create a video player that will allow full
    screen functions
    like what we can see on youtube. I know how to create the
    window and the pop
    up but the only problem I am having is having the original
    video in the
    small screen to pause or go silent when the full screen mode
    is activated.
    How can get it done?
    Thank you.
    °K.
    --B_3258016930_5977304
    Content-type: text/html;
    charset="ISO-8859-1"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Creating a FLV video player with full screen
    option</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Arial"><SPAN
    STYLE=3D'font-size:12.0px'>Hi!<BR>
    <BR>
    <BR>
    I am trying to create a video player that will allow full
    screen functions =
    like what we can see on youtube. I know how to create the
    window and the pop=
    up but the only problem I am having is having the original
    video in the sma=
    ll screen to pause or go silent when the full screen mode is
    activated. How =
    can get it done?<BR>
    <BR>
    Thank you.<BR>
    <BR>
    <BR>
    <B>&deg;K.<BR>
    </B> </SPAN></FONT>
    </BODY>
    </HTML>
    --B_3258016930_5977304--

    Hello,
    You should ask in the
    Windows Phone forums on the Microsoft Community forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Importation ;I just started with lightroom 5,6 (french)-I 'd like to import with creation of a second copy apart of the catalog but impossible to activate this option.How should I do to activate this option?

    Importation ;I just started with lightroom 5,6 (french)-I 'd like to import with creation of a second copy apart of the catalog but impossible to activate this option.How should I do to activate this option?

    Importation ;I just started with lightroom 5,6 (french)-I 'd like to import with creation of a second copy apart of the catalog but impossible to activate this option.How should I do to activate this option?

  • Update deployment plan definition with WLST

    Hello,
    I would like to write a script in order to get the existing deployemnt plan of my deployed application (Deployement plan is yet modified, I don't want to use loadApplication). Then I would to update my deployement plan (update/add work manager constraints).
    I can't find any WLST api to do that. The Weblogic console doesn't record the actions when I do it through the console.
    I would like top the the same as this link http://download.oracle.com/docs/cd/E15051_01/wls/docs103/config_scripting/updateplan.html
    But with a deploymenPlan got from the server and not from the filesystem
    The only way I see is to use a Java parser un Jython to update the existing deployemnt plan and then, redeploy the application but This solution is very heavy in term of developpment. It should be more efficient when a built in parser
    Could you please help me giving me some information about how to update deployement plans of a yet deployed application with WLST ?
    Thank you !
    C.

    Thank you for answering.
    In fact, I have found the solution for my use case according to the previous html link
    The WLST plan seems to be accessible only by file system.
    If your application is yet deployed with a deployment plan and you want to update this plan, you have to login on the admin server via WLST,get the application absolute path and the plan absoluth path :
    cd ("AppDeployments/" + INTERNAL_APP_NAME)
    appPath  = cmo.getAbsoluteSourcePath()
    planPath = cmo.getAbsolutePlanPath()and then, load the existing plan :
    plan = loadApplication(appPath, planPath)after that, you can use the api described at the following link http://download.oracle.com/docs/cd/E15051_01/wls/docs103/config_scripting/updateplan.html to update the plan.
    Then, you have to redeploy the application :
    redeploy(APP_NAME)Thank you for helping !
    C.

  • Sometimes when i get out of the full screen option for a microsoft word document i lose my main toolbar (the toolbar with the minimize and escape buttons, etc. etc.)

    Sometimes when i get out of the full screen option for a microsoft word document i lose my main toolbar (the toolbar with the minimize and escape buttons, etc. etc.)??

    MacBook Pro
    https://discussions.apple.com/community/notebooks/macbook_pro 
    https://discussions.apple.com/community/mac_os?view=discussions
    http://www.apple.com/support/macbookpro

  • When i select the Full Screen option in video streams (like youtube, veoh, anything like that) i can do that 1 time 2nd time the screen goes blank and can only exit it with the Esc button and then i have to restart firefox and again i have my one Full ...

    When i select the "Full Screen" option in video streams (like youtube, veoh, anything like that) i can do that one(1) time second(2nd) time the screen goes blank and can only exit it with the escape(Esc) button and then i have to restart firefox and again i have my one "Full-screen Ticket"

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • Error in Full Deployment in ATG 10.0.3 with JBOSS server.

    Hi All,
    I'm getting following error while full deployment in ATG 10.0.3 (OS : Linux) with JBOSS server,
    ERROR [ProductCatalog_production] SQL Statement Failed: [++SQLDelete++]
    DELETE FROM dcs_folder WHERE folder_id = ?
    -- Parameters --
    p[1] = {pd: id} fld330005 (atg.adapter.gsa.SingleValueGSAId)
    [--SQLDelete--]
    Can you please give answer to fix this issue!!!
    Thanks & Regards,
    Murail.Ch
    Edited by: Murali.Chitturi on Mar 11, 2013 9:33 PM

    Hi Shaik,
    2013-03-11 19:53:20,883 INFO [nucleusNamespace.atg.epub.DeploymentServer] (RepositoryWorkerThread-1(Pre-Deployment)) DEBUG 1100002:Production:atg.deployment.adapter.DistributedDeploymentAdapter$ApplyCommittedSynchronization.afterCompletion(DistributedDeploymentAdapter.java:3285) ApplyCommittedSynchronization.afterCompletion
    2013-03-11 19:54:54,342 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
    2013-03-11 19:54:54,344 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
    2013-03-11 19:54:54,346 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
    2013-03-11 19:54:54,348 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
    *2013-03-11 19:54:58,477 ERROR [nucleusNamespace.atg.commerce.catalog.ProductCatalog_production] (RepositoryWorkerThread-3(Destination Synchronization)) SQL Statement Failed: [++SQLDelete++]*
    DELETE FROM dcs_folder
    WHERE folder_id = ?
    *-- Parameters --*
    *p[1] = {pd: id} fld350005 (atg.adapter.gsa.SingleValueGSAId)*
    *[--SQLDelete--]*
    2013-03-11 19:54:58,607 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Main deployment thread: ) DEBUG 1100002:Production:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentCompleted(DistributedDeploymentAdapter.java:3153) DeploymentListener.deploymentCompleted called for deployment with ID: 1100002
    2013-03-11 19:54:58,607 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Main deployment thread: ) DEBUG 1100002:Production:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentCompleted
    2013-03-11 19:57:05,407 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
    2013-03-11 19:57:05,409 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
    2013-03-11 19:57:05,411 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
    2013-03-11 19:57:05,416 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
    *2013-03-11 19:57:27,944 ERROR [nucleusNamespace.atg.commerce.catalog.ProductCatalog_production] (RepositoryWorkerThread-3(Destination Synchronization)) SQL Statement Failed: [++SQLDelete++]*
    DELETE FROM dcs_folder
    WHERE folder_id = ?
    *-- Parameters --*
    *p[1] = {pd: id} fld350006 (atg.adapter.gsa.SingleValueGSAId)*
    *[--SQLDelete--]*
    2013-03-11 19:57:28,452 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Main deployment thread: ) DEBUG 1100002:Production:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentCompleted(DistributedDeploymentAdapter.java:3153) DeploymentListener.deploymentCompleted called for deployment with ID: 1100002-switch
    The error is displaying in server.log. Above error is displaying in both ATG10.0.3 and ATG10.1.2
    Please suggest why this error is coming for both versions.
    Thanks in advance...
    Regards,
    Srinivasa R

  • Full Deployment failing with Transaction timeout

    Hi
    I am trying to do a full deployment(ATG 10.0.2) and its failing with the same transaction timeout on all environments (local, dev, stage)
    I have tried to reduce the maxThreads to 1 in DeploymentManager but still i get the same exception.
    Incremental deployments seems to be running fine if i deploy anything, like category, products, skus.
    Even the catalog feed runs and deploys fine.
    I have a total of around 1500 products and 7000 skus.
    In BCC screen i see it gives timeout while deploying skus
         Error      Deployment Failed      1051226:sku      2011-08-27 20:04:02.798
    Message Detail:
    CONTAINER:atg.deployment.DistributedDeploymentException; SOURCE:CONTAINER:atg.repository.RepositoryException; SOURCE:org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: ada0e22:4593:4e59847c:5e57e8 status: ActionStatus.ABORTING >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: ada0e22:4593:4e59847c:5e57e8 status: ActionStatus.ABORTING >) at atg.deployment.repository.RepositoryWorkerThread.processMarkerForReferenceUpdatePhase(RepositoryWorkerThread.java:346) at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:540) at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:307)
    In the logs i see the following exceptions::
    20:03:54,827 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id ada0e22:4593:4e59847c:5e57e8 invoked while multiple threads a
    ctive within it.
    20:03:54,827 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic action ada0e22:4593:4e59847c:5e57e8 aborting with
    1 threads active!
    20:03:55,329 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_18] - TransactionReaper::check timeout for TX ada0e22:4593:4e59847c:5e57e8 in st
    ate CANCEL
    20:03:55,831 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_18] - TransactionReaper::check timeout for TX ada0e22:4593:4e59847c:5e57e8 in st
    ate CANCEL_INTERRUPTED
    20:03:55,831 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_6] - TransactionReaper::check worker Thread[Thread-138,5,jboss] not responding t
    o interrupt when cancelling TX ada0e22:4593:4e59847c:5e57e8 -- worker marked as zombie and TX scheduled for mark-as-rollback
    20:03:55,831 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_11] - TransactionReaper::check failed to mark TX ada0e22:4593:4e59847c:5e57e8 a
    s rollback only
    20:04:01,934 INFO [DeploymentManager] DEBUG RepositoryWorkerThread-1(Reference Update Phase) Rolling Back Current Transaction
    20:04:02,021 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_40] - Abort called on already aborted atomic action ada0e22:4593:4e59847c:5e57e8
    20:04:02,022 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_13] - TransactionReaper::doCancellations worker Thread[Thread-138,5,jboss] misse
    d interrupt when cancelling TX ada0e22:4593:4e59847c:5e57e8 -- exiting as zombie (zombie count decremented to 0)
    20:04:02,023 INFO [DeploymentManager] DEBUG RepositoryWorkerThread-1(Reference Update Phase) Committing 237 markers, 1 failed markers
    20:04:02,798 ERROR [DeploymentManager] item = repositoryMarker:mark876015 cause = CONTAINER:atg.deployment.DistributedDeploymentException; SOURCE:CONTAINER:atg.reposit
    ory.RepositoryException; SOURCE:org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: ada0e22:4593:4e59847c:5e57e8 status
    : ActionStatus.ABORTING >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: ada0e22:4593:4e59847
    c:5e57e8 status: ActionStatus.ABORTING >)
    at atg.deployment.repository.RepositoryWorkerThread.processMarkerForReferenceUpdatePhase(RepositoryWorkerThread.java:346)
    at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:540)
    at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:307)
    message = Deployment Failed time = Sat Aug 27 20:04:02 MDT 2011 atg.deployment.DeploymentFailure@2be5134e
    CAUGHT AT:
    CONTAINER:atg.deployment.DistributedDeploymentException; SOURCE:CONTAINER:atg.repository.RepositoryException; SOURCE:org.jboss.util.NestedSQLException: Transaction is n
    ot active: tx=TransactionImple < ac, BasicAction: ada0e22:4593:4e59847c:5e57e8 status: ActionStatus.ABORTING >; - nested throwable: (javax.resource.ResourceException: T
    ransaction is not active: tx=TransactionImple < ac, BasicAction: ada0e22:4593:4e59847c:5e57e8 status: ActionStatus.ABORTING >)
    at atg.deployment.repository.RepositoryWorkerThread.processMarkerForReferenceUpdatePhase(RepositoryWorkerThread.java:346)
    20:04:02,992 INFO [DeploymentManager] DEBUG RepositoryWorkerThread-1(Reference Update Phase) Failure count was: 0. New failure count is: 1.
    20:04:02,995 INFO [DeploymentManager] DEBUG RepositoryWorkerThread-1(Reference Update Phase) Rolling Back Current Transaction
    20:04:02,995 INFO [DeploymentManager] DEBUG RepositoryWorkerThread-1(Reference Update Phase) Committing 0 markers, 0 failed markers
    20:04:03,152 INFO [DeploymentManager] DEBUG RepositoryWorkerThread-1(Reference Update Phase) Exiting normally
    20:04:03,153 ERROR [DeploymentManager] Unexpected error occurred. DeploymentWorkerThread terminated prematurely.
    atg.deployment.DistributedDeploymentException: Exceeded allowable error count (0)
    at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:652)
    at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:307)
    20:04:07,724 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.displayDeploymentFailures(DistributedDeploymentAdapte
    r.java:2652) found 1 failure messages
    20:04:07,747 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.displayDeploymentFailures(DistributedDeploymentAdapte
    r.java:2683) adding failure message Deployment Failed with severity Error
    20:04:11,211 INFO [DeploymentManager] DEBUG Main deployment thread: No waiting deployments to start
    20:04:11,240 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentFailed(DistributedDeploymentAdapter.java:31
    86) DeploymentListener.deploymentFailed called for deployment with ID: 1500007
    20:04:11,240 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentFailed(DistributedDeploymentAdapter.java:31
    94) DAFDeploymentID: 1500007 matches DeploymmentID: 1500007
    20:04:11,240 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentFailed(DistributedDeploymentAdapter.java:31
    98) DeploymentListener.deploymentFailed
    20:04:11,241 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.displayDeploymentFailures(DistributedDeploymentAdapte
    r.java:2652) found 1 failure messages
    20:04:11,259 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.displayDeploymentFailures(DistributedDeploymentAdapte
    r.java:2683) adding failure message Deployment Failed with severity Error
    20:04:11,261 INFO [DeploymentServer] DEBUG 1500007:Production:atg.deployment.adapter.DistributedDeploymentAdapter.deployData(DistributedDeploymentAdapter.java:2197)
    deployment failed
    20:04:11,386 ERROR [DeploymentServer]
    atg.deployment.common.DeploymentException: Deployment '1500007' to target 'Production' encountered a system level deployment error during data transfer.
    at atg.deployment.common.ResourceUtil.exception(ResourceUtil.java:306)
    at atg.deployment.adapter.DistributedDeploymentAdapter.deployData(DistributedDeploymentAdapter.java:2238)
    at atg.deployment.adapter.DistributedDeploymentAdapter.transferData(DistributedDeploymentAdapter.java:305)
    at atg.deployment.server.Deployment.run(Deployment.java:1688)

    I am using ATG10.0.2 with jboss-5.1-eap
    I have tried increasing the timeout on jboss, but it only stops the timeout from happening, but the full deployment takes forever and takes more than 12 hours.
    The catalog itself is too small and shouldnt be taking that much at all.
    I just checked one thing:
    I have a one to many relation with my sku and sale price(custom table) which has 11000 rows. If i delete the data in this table the deployment happens fine and takes about 30 mins.
    The relationship it self seems correct.
    this is on sku descriptor
    <table name="my_sku_saleprice" type="multi" id-column-name="sku_id">
    <property name="salePrices" column-name="sale_prices" data-type="set" component-item-type="salePrices" display-name-resource="salePrices"
    writable="true" category-resource="categoryPresentation">
    <attribute name="resourceBundle" value="atg.projects.store.StoreCatalogTemplateResources"/>
    </property>
    </table>
    And this is the salePrices descriptor
    <item-descriptor name="salePrices" display-name-resource="itemDescriptorSalePrices"
    item-cache-size="100000" query-cache-size="100000">
    <attribute name="resourceBundle" value="atg.projects.store.StoreCatalogTemplateResources"/>
    <table name="my_sku_saleprices" type="primary" id-column-name="sale_prices">
    <property name="salesPrice" data-type="double" column-name="sales_price" required="true" display-name-resource="salesPrice"/>
    <property name="saleType" data-type="string" column-name="sale_type" required="true" display-name-resource="saleType"/>
    <property name="startDate" data-type="Date" column-name="start_date" display-name-resource="startDate"/>
    <property name="endDate" data-type="Date" column-name="end_date" display-name-resource="endDate"/>
    </table>
    </item-descriptor>
    The only thing i m not able to understand is why its taking forever to get the full deployment.
    Incremental deployment in catalog happens quickly, if i deploy any sku,product or anything.
    Is it something to do with ATG or jboss?
    Any pointers will help
    Thanks

  • Import subprocess in jython script invoked with WLST

    Weblogic 10.3.6
    I'm trying to figure out if it's impossible for me to use subprocess.pipe and popen when Im invoking the script with WLST. It says there's no module of subprocess. Works fine running it as a python script.
    Thanks!

    i tried with spaces also..and also added context also in the script..but still getting the same error
    import os
    scen_name="DVM"
    scen_ver="001"
    cont="E1APS"
    odiscen="startcmd.bat OdiStartScen -SCEN_NAME="+scen_name+" -SCEN_VERSION="+scen_ver+" -CONTEXT="+cont
    if os.system(odiscen) <> 0:
    raise odiscen

  • Trigger Compilation Errors after Full Import with Datapump

    Hello All,
    We did a full import with Oracle Datapump, and encountered some errors related to triggers:
    ORA-39082: Object type TRIGGER:"CONVERT3"."CUBCNVT_AUDIT_RESET" created with compilation warnings
    ORA-39082: Object type TRIGGER:"CONVERT3"."CUBCNVT_AUDIT_RESET" created with compilation warnings
    ORA-39082: Object type TRIGGER:"CONVERT3"."CUBCNVT_AUDIT" created with compilation warnings
    ORA-39082: Object type TRIGGER:"CONVERT3"."CUBCNVT_AUDIT" created with compilation warnings
    ORA-39082: Object type TRIGGER:"CONVERT3"."CURCNVT_AUDIT_RESET" created with compilation warnings
    ORA-39082: Object type TRIGGER:"CONVERT3"."CURCNVT_AUDIT_RESET" created with compilation warnings
    ORA-39082: Object type TRIGGER:"CONVERT3"."CURCNVT_AUDIT" created with compilation warnings
    ORA-39082: Object type TRIGGER:"CONVERT3"."CURCNVT_AUDIT" created with compilation warningsWe are wondering if there is some bug with the datapump on oracle 10.2.0.2. What caused such errors and how to resolve this trigger issue?
    Thanks!

    Hello,
    Show errors / at the end of the trigger and see if any of the dependent objects is missing resulting in error at compilation.
    Also you can try manually fixing the issue
    CREATE OR REPLACE TRIGGER table1_trg
       AFTER INSERT
       ON TABLE1    REFERENCING NEW AS new OLD AS old
       FOR EACH ROW
    DECLARE
       tmpvar   NUMBER;
    BEGIN
    Trigger code
    EXCEPTION
       WHEN OTHERS
       THEN
          -- Consider logging the error and then re-raise
          RAISE;
    END table1_trg;
    SHOW ERRORS;Regards

  • Deploying from a list with WLST

    Hey all!
    i have a little problem... and cant find any thread to this...
    My position:
    we get for our WebLogic always new deliveries .
    In this, new deployments are included . Until now, there was always a fixed number of deployments and also clearly by name .
    The change occurred .
    There comes a delivery with any number of deployments with different names.
    My idea :
    Search all deployments in the current delivery - these are collected in a list ( Deployments.txt ) .
    The Deploy function should work - in fact even the undeploy ( not tried ) :
    for i in `more /apps/tenoss/data/delivery/CONFIG/Deloyments.txt`;
    do
    echo "Beginne mit dem ersten Deployment: $i"
    . ${JAVA}
    #x=` java weblogic.Deployer -debug -verbose -adminurl $URL -userkeyfile ${USER} -stage -name $i -targets ${TARGET} -deploy ${DEPLDIR}/${DATE}/$i 1> ${LOGDEPL}/$.log 2> ${LOGDEPL}/${i}.log`
    #rtvl=$?
    if [ $rtvl -gt 0 ]; then
    cat ${LOGDEPL}/${i}.log
    echo "Fehler beim ausfuehren!!"
    exit $rtvl
    fi
    while ! grep -s "deploy application $i on ${TARGET}." ${DOMAINLOG} > /dev/null ; do sleep 10 ; done
    echo "Deployment ${i} erfolgreich eingespielt."
    sleep 10
    done
    for the undeploy I could also just use the " -undeploy " parameter .
    Now I would like to try the whole with WLST .
    Since I find the undeploy easier I started it and immediately ran into problems.
    How it looked before:
    edit()
    startEdit()
    stopApplication(DEPL5)
    print "Applikation %s gestoppt." %(DEPL5)
    activate()
    edit()
    startEdit()
    undeploy(DEPL5)
    activate()
    ( Of course with Connect , etc.)
    How can I make something that he install from a list that reads deployments undeploy I want?
    So for i in ( Undeploy.txt ) ;
    do ...
    done;
    Does it work?
    thx for help!
    Simon

    Basically, the construct $(command) takes the output of command and inserts it into the outside command...
    for example,
    if pidof xyz outputs 1248,
    kill $(pidof xyz)
    is identical to
    kill 1248
    There is a similar older construct that uses backtics (that's the one under the tilde, not the apostrophe), so that
    kill `pidof xyz`
    is identical to the above.  The new construct $() is more useful because it's easier to nest multiple commands as in
    command 1 $(command2 $(command 3))
    if that ever needed to be done.
    So what the original command did was insert the output of the 'cat pkg.txt' command in the commandline.
    Dusty

Maybe you are looking for

  • Music stops playing but Music app still shows as playing

    My wife's 4S keeps having problems while playing music. The sound will stop, but the Music app shows it is still playing. I don't really know what to even try to do to fix this. I may try restoring it. Might be a hardware issue. Any others have this

  • Migration from Oracle 10.2.0.3 (Solaris) to 11.2.0.3 (Linux)

    I have to migrate and upgrade database from Oracle 10.2.0.3 (Solaris) to 11.2.0.3 (Linux). I know I can use datapump and TTS to migrate data. My steps would be Install oracle 11.2.0.3 binaries on Linux box and create the database with same name on So

  • Select count distinct

    Hi, Anybody can help ! I have problem with select count distinct. example : select distinct custid from order_h total result : 141 rows selected. but : select count(distinct custid) from order_h result : COUNT(DISTINCTCUSTID) 140 Why the total differ

  • How to get item's cost price?

    I want to get Item's cost price. I get a business boject 'item',g_oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems),There are two key to decide one cost price,one is 'itemcode',another is 'whscode',How to get one record by using 'GetByKey'

  • Can't edit bookmarks bar in Safari 5.1.10

    I have tried to edit the names of bookmarks in the bookmarks bar, and add and delete bookmarks.  The changes take place and Safari will close normally. However, upon re-opening Safari, none of the changes are present, and the bookmarks bar has revert