Not able to set up the preview server

I've referred ATG documentation for preview server setup, tried to set up the preview on BCC.
Please find the steps I've followed to set up preview.
1) Added the store module t as a required module to the versioned module, so that my versioned ear include all the pages of preview in my versioned EAR.
2) Added the 'preview' layer to the runAssembler while creating the build.
3) Created the preview configuration files as mentioned below.
PreviewHost.properties
==============
$class=atg.service.preview.PreviewHost
hostName=localhost
port=8380 #port where my BCC is running
PreviewManager.properties:
=================
$class=atg.remote.commerce.assetmanager.preview.service.MerchandisingPreviewService
# Explicitly sets the document.domain property in both the BCC page
# and the preview page to "oracle.com"
previewDomain=localhost
defaultPreviewUserId=123456 # This is existing user profile id.
PreviewPath.properties:
==============
$class=atg.service.preview.PreviewPath
# Explicitly sets the document.domain property in both the BCC page
# and the preview page to "oracle.com"
defaultPath=/myAppContext/
PreviewURL.properties:
==============
$class=atg.service.preview.PreviewURL
name=PreviewURL
host=/atg/dynamo/service/preview/PreviewHost
path=/atg/dynamo/service/preview/PreviewPath
types=ProductCatalog=product|category
PreviewURLManager.properties:
===================
$class=atg.service.preview.PreviewManager
previewURLs=/atg/dynamo/service/preview/PreviewURL
4) Now created the Ear with the required modules for versioning and preview.
Application is starting without error, but when I access my application at "http://localhost:8310/myAppContext" I'm getting the following error.
HTTP Status 403 - An attempt was made to preview a project without logging in as a user with access to publishing assets. If you are running a local preview instance, the preview URLs registered with the PreviewURLManager may be misconfigured. Ensure that the preview URLs are configured with the same host and domain name used to access the BCC server. This preview request URL is: http://localhost:8380/myAppContext/. If you are running a remote preview instance, the Preview feature does not support remote preview on servers running the BCC. Ensure that the remote preview instance is not running any of the BCC related modules. If you received this error and did not try to perform a remote preview, then you may need to disable preview in the current web application by setting the atg.preview context parameter to false in the webapps web.xml file.
Note: I've enabled the preview for my versioned and non-versioned applications.
Can anyone suggest me what went wrong in my configuration?. Please provide the steps you have followed to set up the preview for your application.
Your help is very much appreciated.
Edited by: 989774 on Feb 22, 2013 7:09 AM

I've tried this solution, but the problem is not resolved. Is there any alternate solution available?

Similar Messages

  • The Blackbery device simulator is not able to connect to the mobile server.

    Hi
    While login to Sap Mobile BI i get the below error.
    "unable to connect to mobile server.The request is timed out(0x008)"

    Thank You for your reply.I had no problem with the mobile network connections it is on.The issue i am facing i am using proxy server deployment where we don't have to mention host_port  in the vas cluster configuration due to which i m not able to connect to blackberry Simulator which is on client machine.But if i specify the client machine port to Host_port then i m able to connect.Can you help me to configure the Mobile server for a non-BlackBerry
    deployment that uses a proxy server

  • I am not able to login to the Management Server from the Management Server dialog from FlexBuilder

    hi,
      I am trying to setup the flex builder project for the demo host sample and am running into issues with the login. I have my OEM setup in https://<ip-address>:7801/em and am able to login with the credentials. Now, when I try to launch the HostSample.html from the flex builder project and the details are provided to my Management Server dialog, the same credentials fail with some IO Error. Please help
    Error during operation: Logging in to Management Server
    [FaultEvent fault=[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL: https://10.105.219.188:7801/em/websvcs/mpws/LoginService"] messageId=null type="fault" bubbles=true cancelable=true eventPhase=2]
    The LoginService.login is failing.
    Here is the Item details
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SOAP-ENV:Header>
        <ns0:TraceRequest xmlns:ns0="http://em.oracle.com/tracing/xsd">
          <ns0:ecid>15D0C25A-51F9-B29F-EC74-DDD780ACCCEE</ns0:ecid>
        </ns0:TraceRequest>
        <ns1:RslVersion xmlns:ns1="http://em.oracle.com/auth/xsd">
          <ns1:rslVersion>12.1.0.3.0</ns1:rslVersion>
        </ns1:RslVersion>
        <ns1:InternalToken xmlns:ns1="http://em.oracle.com/auth/xsd">
          <ns1:intToken>secret-token</ns1:intToken>
        </ns1:InternalToken>
      </SOAP-ENV:Header>
      <SOAP-ENV:Body>
        <tns:loginRequest xmlns:tns="oracle.sysman.emx.LoginService">
          <loginInfo>
            <username>sysman</username>
            <password><my password text in plain text format></password>
            <role xsi:nil="true"/>
          </loginInfo>
        </tns:loginRequest>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    When running with HTTPS, FlexBuilder enforces security restrictions on same domain policy and verifies security certificate.  To workaround this you either have to disable security on your OMS and use HTTP for your development (using emctl secure unlock), or you have to install the security certificate from your OMS in the IE browser you are launching from FlexBuilder.
    To install the certificate in Firefox:  go to the EM website using Firefox, and you will see "The Connection is Untrusted", expand "I Understand the Risks" and click "Add Exception".  On the dialog that appears leave all the defaults and click "Confirm Security Exception".  At that point if you close/reopen the browser you can go back to the EM website and you should see no security exception.
    To install the certificate in IE:  go to the EM website using IE and you should see "There is a problem with this website's security certificate", click "Continue to this Website (not recommended)", the address bar will then change to show "Certificate error" on the right side of the URL.  Click that icon and the "View certificates" on the "Untrusted Certificate" popup.  On the dialog that appears, click the "Certification Path" tab, then click the root node (root certificate) in the path and click "View Certificate".  In the new dialog that appears, click "Install Certificate...".  Then click "Next>", click "Place all certificates in the following store", click "Browse..."., select "Trusted Root Certification Authorities" and click "OK".  Then click "Next>" and click "Finish".  On the "Security Warning" dialog, click "Yes" to install the certificate and then "OK on the confirmation dialog.  Click "OK" on the "Certificate" dialog (there should be two) that was launched to install the root certificate.  Now on the original "Certificate" dialog click "View Certificate".  Then click "Next>", click "Place all certificates in the following store", click "Browse..."., select "Trusted Root Certification Authorities" and click "OK".  Then click "Next>" and click "Finish" and then "OK on the confirmation dialog. Click "OK" and "OK". At that point if you close/reopen the browser you can go back to the EM website and you should see no security exception.

  • Apple TV not able to connect to the Apple Server

    Not able to restore the Apple TV to factory settings....it says "unable to connect to the apple server". What should I do?

    I too did what was recommended and still keep getting the "AppleTV cannot connect to the server at this time' message.  If anyone has a solution to this issue...please advise

  • I am not able to connect to the apps server

    I get an error code 1 when I attempt to log into the apps section from my printer.  I talked to tech support and we checked everything.   All is good except for getting into the apps section. 

    Hi jbsytes,
    What printer are you trying to access the print apps with?
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • I am not able to set up my ipad2 - tried the regular help but nothing seems to working. itune simply wont detect the ipad

    i am not able to set up my ipad2 - tried the regular apple help - did all those routines - but nothing seems to working. itune simply wont detect the ipad

    http://support.apple.com/kb/TS1538

  • Not able to find out the path where i need to place the .plx file on server

    I have to make some changes in the PLL (library) file and compile it into it's .plx file and move the .plx to the server.
    I am not able to find out the path where i need to place the .plx file on the server.
    I have placed it in /iasapp01/app_name/library,but it is not taking it into effect.
    Please help,if anyone knows about this,as to how to solve this issue
    Thanks
    GAG

    Hi Andreas,
    My Forms Version is 9.0.2 and the application server is 9iAS( 9.0.2)
    The variable FORMS90_PATH in the .env file has the following entries
    FORMS90_PATH=/iasapp01/app_name/fmx:/iasapp01/app_name/library:/iaspp01/app_name/html
    and i have placed the plx in the /iasapp01/app_name/fmx path,but somehow its not referencing it.
    My Formsweb.cfg has the following entry...
    [app_name]
    pagetitle=app_name_WEB
    serverapp=/app_name/app_name
    width=800
    height=550
    colorscheme=blue
    separateframe=true
    form=log.fmx
    otherparams=REPORT_PATH=/iasapp01/app_name/html/report_files/ FILE_PATH=/iasapp01/app_name/rep/
    WEB_PATH=http://server.com:7778/app_name/
    envfile=/ias01/app/oracle/product/ias_9.0.2/forms90/server/app_name.env
    I have another question which is ..Does applciation built on Forms 9.0.2 would work on Internet Explorer 8 and Windows 8 environment using Sun JRE.
    I was going through this website
    http://nutthaphon.blogspot.com/2009/05/how-do-jinitiator-and-jpi-parameters.html
    and followed the steps as mentioned,but it did not work for me.
    Can you help me if you have any info on this?
    Thanks
    GAG

  • My tomcat server is not able to find out the servlet

    Hi
    I m working on Tomcat 4.2and i have java installation jdk 1.4.
    But my tomcat server is not able to find out the servlet.
    i have also made entry in web.xml file.I have compiled dervlet file.But yet not able to run it in tomcat.Plz help me

    Go to the Tomcat site and read the "First Web App" docs. I'm sure you didn't deploy your servlet properly.
    %

  • I have an ipad2. My email account is on rediffmail. I am not able to set rediffmail on the MAIL icon on ipad2. Can you guide me?

    I have an ipad2. My email account is with rediffmail. I am not able to set rediffmail on the MAIL icon on ipad2. Can you guide me?

    really your going to want to contact verizon to get the proper setting

  • I have a 3G Ipod, for the longest time I have not been able to connect to the apple server.  I am able to connect to wifi, grouse web pages however canot conncet to iTunes. I have rebooted, any every other thing I can think off.

    I have a 3G Ipod, for the longest time I have not been able to connect to the apple server.  I am able to connect to wifi, grouse web pages however canot conncet to iTunes. I have rebooted, any every other thing I can think off.

    Can't connect to the iTunes Store
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Enterprise Manager is not able to connect to the database instance. Open??

    Hello there,
    After I installed oracle database and tried to start Enterprise Manager, I got the message:
    Enterprise Manager is not able to connect to the database instance.
    All statuses are OK (green and up) except database instance. It is also green and up but open. (Details: The instance is open.)
    Can anyone help me about it?
    I use Windows XP x64 with all patches installed. Oracle database R11g x64.
    I tried with different database versions and different machines and different OS and loopback adapter and... my EM still want to log in.
    I can log in with sqlplus. It accepts any pass for sys (as sysdba). Why?
    My log files are available here: http://195.66.185.187/log.zip

    You are using a bequeath connection when logging in with SQL*Plus on the server so the password is not validated.
    Log in using SQL*Plus this way:
    sqlplus /nolog
    followed by
    conn sys@<service_name> AS SYSDBA
    and provide the correct password
    My guess it it will fail.
    If so then you need to use the correct password and if you don't know what it is set it when logged on as SYS.

  • Not able to set Weblogic Runtime on eclipse while adding new weblogic srvr

    Hi Everyone,
    I downloaded Oracle Integration pack for eclipse by clicking at "Download additional server adapters". I am not able to set Weblogic Runtime on eclipse while adding new weblogic server.
    I am trying to give following values:
    Name :Oracle WebLogic Server 10gR3 (2)
    Weblogic home :C:\bea\wlserver_10.3
    Java home: C:\bea\jrockit_160_05
    Below it I am getting "No applicable extension found" and finish button is greyed out.
    Please help in telling what is wrong. Never faced such an issue.
    Thanks
    SM

    I found this problem too.
    OS:windows7、eclipse:helios、oepe:Part of Oracle Enterprise Pack for Eclipse 11.1.1.7.3
    <workspace>\.metadata\.log:
    !ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
    !MESSAGE NLS unused message: enter_new_hit_count in: org.eclipse.wst.jsdt.debug.internal.ui.messages
    !ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
    !MESSAGE NLS unused message: exception_occurred_setting_bp_properties in: org.eclipse.wst.jsdt.debug.internal.ui.messages
    !ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
    !MESSAGE NLS unused message: hit_count_must_be_positive in: org.eclipse.wst.jsdt.debug.internal.ui.messages
    !ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
    !MESSAGE NLS unused message: no_description_provided in: org.eclipse.wst.jsdt.debug.internal.ui.messages
    !ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
    !MESSAGE NLS unused message: scripts in: org.eclipse.wst.jsdt.debug.internal.ui.messages
    !ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
    !MESSAGE NLS unused message: select_javascript_file in: org.eclipse.wst.jsdt.debug.internal.ui.messages
    !ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
    !MESSAGE NLS unused message: set_bp_hit_count in: org.eclipse.wst.jsdt.debug.internal.ui.messages
    !ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
    !MESSAGE NLS unused message: suspend_target in: org.eclipse.wst.jsdt.debug.internal.ui.messages
    !ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
    !MESSAGE NLS unused message: suspend_thread in: org.eclipse.wst.jsdt.debug.internal.ui.messages
    !ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
    !MESSAGE NLS unused message: the_argument_0_is_not_valid in: org.eclipse.wst.jsdt.debug.internal.ui.messages
    I tried the weblogic 10.3.1、10.3.3、10.3.4、10.3.5 still show the info that "No applicable extension found" and finish button is greyed out.
    What is the reason?
    thanks!

  • Setting Up the File Server Dynamically

    I have a scenario wherin i have to set up the FTP server name  and directory where i have to put the final file dymically.
    I was able to set the directory path dynamically using Adapter Specific Message properties.
    Can somebody suggest me if i can set the server name also by module processor (have not written one till now)or some other way. The steps to follow etc
    Waiting for your useful answers.

    Hi Siva,
    Setting up a Server name Dynamically -I don't think so it is possible with this point of time.
    So try to do in Java Proxy if required.
    Receiver File Adapter - Dynamic FTP Server Address
    Hope this helps,
    Regards,
    Moorthy

  • 10g Enterprise Manager is not able to connect to the database instance

    I am running a Oracle 10g database in Solaris 10 server. When i am trying to connect to the enterprise manager it says Enterprise Manager is not able to connect to the database instance.
    The database instance is open,the listener is up and the agent connection also says that it succeeded.
    The server houses two 10g databases and the EM was working properly till yesterday. Kindly Help.
    Thanks in advance.
    Ram

    Hi,
    The EM is started and if i give emctl status dbconsole
    -bash-3.00$ emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    http://gladiator:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running
    Logs are generated in directory /db8/ora10gr2/product/10.2.0/Db_4/gladiator_TROY/sysman/log
    it says that the EM is running. But when i am trying to access the URL it is in IE it says Page cannot be displayed what could be the problem for this???
    Thanks in advance.
    Ram

  • TS3899 I can't SEND email from Telus account in Alberta, Canada? Does anyone know how to set up the Outgoing server? Help! And thanks!

    Can't SEND email from Telus account in Alberta, Canada, unless I go to web mail. Does anyone know how to set up the Outgoing server? Incoming is fine. Outgoing used to work. We changed it when we went to another location, and can't get it back. Telus support can't fix it. Neither smtp.telus.net NOR mail.telus.net works for Outgoing server to send mail. Please help! Thanks.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

Maybe you are looking for

  • Remove Credit card details from Apple ID

              Hi Support, While activating the Apple ID, it asked for Credit card details, and have recorded. Now i don't want to publish my Credit card details in the sir. Kindly suggest how to remove the Details from the account. Thanks in advance Shak

  • Enable User Rights using Adobe Acrobat Professional 7

    I created an editable PDF form using LifeCycle Designer 7.0.  My goal is to have users fill out the form and email the actual filled out form not the XML code. I added a regualr button with the following java script. event.target.submitForm({cURL:"ma

  • How do I sync with a different username in Palm desktop

    I inherited my husband's Treo 680 when he got his HTC EVO.  I want to keep all the applications/programs he has, but use my own calendar.  I installed palm desktop and created a new username.  How can I sync with that instead of the informtion my hus

  • Error "The Query Returned no Objects" while exporting Universe in UDT?

    Hi, I have created a Universe on top of BEx Query using UDT in SAP BO 4.1 and tried to Export the Universe to Repository the following error is appearing. "The Query Returned no Objects" so "The Universe couldn't be exported". Could you please sugges

  • Storing my catalog on separate fast internal drive...?

    I'm curious as to whether certain performance issues with Lightroom 4 are related to my setup...I am on Windows 7, 12GB RAM, 2 750GB 7200rpm hard drives (internal) and several external drives. The way I have it set up is: C: - Where Lightroom is inst