Template Email

1,681 views
Skip to first unread message

ATG Developer

unread,
Aug 13, 2009, 5:45:02 AM8/13/09
to ATG_Tech
Hi,

While configuring Template Email I am getting following error in the
console. Can anyone help?

15:13:34,721 INFO [STDOUT] sendEmailMessage invoked.
15:13:34,721 ERROR [STDERR]
atg.userprofiling.email.TemplateEmailException: Request for URL
http://172.21.51.16:8080/dyn/init-session did not return a valid
session. Please check your settings for siteHttpServerName,
siteHttpServerPort, applicationPrefix and initSessionURL for
component /
15:13:34,721 ERROR [STDERR] at
atg.userprofiling.email.TemplateInvoker.createTemplateEmailSession
(TemplateInvoker.java:608)
15:13:34,721 ERROR [STDERR] at
atg.userprofiling.email.TemplateInvoker$TemplateSession.<init>
(TemplateInvoker.java:841)
15:13:34,721 ERROR [STDERR] at
atg.userprofiling.email.TemplateInvoker.createSession
(TemplateInvoker.java:739)
15:13:34,721 ERROR [STDERR] at
atg.userprofiling.email.TemplateEmailSender.doSendEmailMessage
(TemplateEmailSender.java:1873)
15:13:34,721 ERROR [STDERR] at
atg.userprofiling.email.TemplateEmailSender.sendEmailMessage
(TemplateEmailSender.java:1737)
15:13:34,721 ERROR [STDERR] at
atg.userprofiling.email.TemplateEmailSender.sendEmailMessage
(TemplateEmailSender.java:1525)
15:13:34,721 ERROR [STDERR] at
com.walgreens.util.email.GenericEmailSender.sendTemplateEmail
(GenericEmailSender.java:67)
15:13:34,721 ERROR [STDERR] at
com.walgreens.commerce.order.scheduled.AutoReorderEmailSender.doScheduledTask
(AutoReorderEmailSender.java:112)
15:13:34,721 ERROR [STDERR] at
atg.service.scheduler.SingletonSchedulableService.performScheduledTask
(SingletonSchedulableService.java:231)
15:13:34,721 ERROR [STDERR] at
atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)
15:13:34,721 ERROR [STDERR] at atg.service.scheduler.Scheduler
$2handler.run(Scheduler.java:760)
15:13:34,721 INFO [STDOUT] /walgreens/worksite/pipeline/
WorksiteAssignmentServlet
15:13:34,721 INFO [STDOUT]
15:13:34,721 INFO [STDOUT] service method called



Thanks,
A.J

Suma Mallikarjunaiah

unread,
Aug 13, 2009, 6:11:53 AM8/13/09
to ATG_Tech
Hi

I have a promotion created in DCS_PROMOTION table which has start_date and end_date as AUG 5th and AUG 10th. But Begin_Usable and End_Usable is Aug 10th and Aug 22nd. But when I give this promoID on the site it says Coupon not valid. How can I rectify the issue?

2. Is it the promotion_id value that should be used as a coupon code on the site?

This is because I see there are promotion_id's and usually a No.(I think it is coupon no.) like SSED26 or so. In this case when I enter promotion ID it doesn't work but entering the number SSED26 will. How can I get the coupon no. associated with the promo ID.

-Thanks
-Suma




Suma Mallik
330-463-6986
Suma.Malli...@Joann.com


>>> ATG Developer <anchalj...@gmail.com> 8/13/2009 5:45 AM >>>
CONFIDENTIALITY/EMAIL NOTICE: The material in this transmission contains confidential and privileged information intended only for the addressee. If you are not the intended recipient, please be advised that you have received this material in error and that any forwarding, copying, printing, distribution, use or disclosure of the material is strictly prohibited. If you have received this material in error, please (i) do not read it, (ii) reply to the sender that you received the message in error, and (iii) erase or destroy the material. Emails are not secure and can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by email. Thank you.


Hello

unread,
Aug 13, 2009, 7:04:23 AM8/13/09
to atg_...@googlegroups.com
Hi ,

Hope this helps

  1. You add the coupon in the form of a promotion to the Promotion repository, following the same general steps that you take when you create a regular promotion item (see Creating a Promotion). You set up the discount as appropriate for the coupon. For example, if you wanted the coupon to give 20% off any order, you would specify Order Discount - Percent Off as the Item Type, and then specify 20 as the Discount Percentage. You would set up a simple Discount Rule that applies the discount to any order:

    Condition:
    Always
    Apply discount to:
    Order Total

  2. You then add the coupon to the Gift Certificates and Coupons repository, associating it with the promotion you created in step 1. (The Gift Certificates and Coupons repository is part of the Claimable repository, which is described in the Configuring Merchandising Services chapter in the ATG Commerce Programming Guide.) As part of this step, you also create a claim code for the coupon. For more information, see Adding a Coupon to the Repository.

  3. This section explains how to add a coupon to the Gift Certificates and Coupons repository and create a claim code for it.

  4. In the ATG Control Center, select Purchases and Payments > Gift Certificates and Coupons.

  5. In the search query box at the top of the window, specify Items of type Coupon and then click List. Any coupons already in your system appear in the left pane of the window.

  6. Select File > New Item. The New Item dialog box appears, with Coupon selected as the item type.

  7. In the New ID field, type the string you want to use as the coupon's claim code. This code is the one customers will enter when they want to apply the coupon to an order.

    Note that the claim codes for coupons are case-sensitive. For example, COUP100 and coup100 are two different claim codes.

    Note: Avoid creating coupon codes that are easy to guess. For example, it is not recommended that you create short or sequential codes (100, 101, and 102, for example). If you leave this field blank, ATG Commerce uses its internal ID generation system to create a random coupon code for you. It is often preferable to have ATG Commerce create the code than to do it yourself.

  8. Specify the entries in the New "Coupon" Values area of the dialog box.

    • Expiration date: enter the date and time on which you want the coupon to become unusable. To do this, click the corresponding text box to display the "..." button, click the "..." button, and then select the date and time from the calendar that appears. This value is optional.

      Note that a coupon's expiration date is independent of the corresponding promotion's usage end date. Consequently, it is possible that a coupon may be invalid but the promotion to which it refers is still valid (and can still be delivered via a scenario). If you specify a value for this property, make sure it is consistent with the usage end date for the promotion to which it applies.

    • Promotion: select the item in the Promotion repository that you created for this coupon (in step 1 of the procedure described in Setting Up Coupons.). To do this, click the corresponding text box to display the "..." button, click the "..." button, and then select the promotion item to use.

  9. Click OK. The system adds the new coupon to the repository and displays it by its promotion name in the panel on the left of the window. You can hold your mouse over the promotion name to display the coupon claim code (or ID) in a pop-up window.

ATG Developer

unread,
Aug 13, 2009, 7:24:11 AM8/13/09
to ATG_Tech


On Aug 13, 4:04 pm, Hello <hello2...@gmail.com> wrote:
> Hi ,
>
> Hope this helps
>
>    1.
>
>    You add the coupon in the form of a promotion to the Promotion
>    repository, following the same general steps that you take when you create a
>    regular promotion item (see Creating a
> Promotion<file:///D:/ATG/2006.3/docs/commstore/commstore0503.html#creatinga­promotion01>).
>    You set up the discount as appropriate for the coupon. For example, if you
>    wanted the coupon to give 20% off any order, you would specify Order
>    Discount - Percent Off as the Item Type, and then specify 20 as the Discount
>    Percentage. You would set up a simple Discount Rule that applies the
>    discount to any order:
>
>    Condition:
>    Always
>    Apply discount to:
>    Order Total
>    2.
>
>    You then add the coupon to the Gift Certificates and Coupons repository,
>    associating it with the promotion you created in step 1. (The Gift
>    Certificates and Coupons repository is part of the Claimable repository,
>    which is described in the Configuring Merchandising Services chapter in
>    the ATG Commerce Programming
> Guide<file:///D:/ATG/2006.3/docs/commprog/index.html>.)
>    As part of this step, you also create a claim code for the coupon. For more
>    information, see Adding a Coupon to the
> Repository<file:///D:/ATG/2006.3/docs/commstore/commstore0507.html#addingac­oupontotherepository01>.
>
>    3.
>
>    This section explains how to add a coupon to the Gift Certificates and
>    Coupons repository and create a claim code for it.
>    4.
>
>    In the ATG Control Center, select Purchases and Payments > Gift
>    Certificates and Coupons.
>    5.
>
>    In the search query box at the top of the window, specify Items of type
>    Coupon and then click List. Any coupons already in your system appear in
>    the left pane of the window.
>    6.
>
>    Select File > New Item. The New Item dialog box appears, with
> Couponselected as the item type.
>    7.
>
>    In the New ID field, type the string you want to use as the coupon's
>    claim code. This code is the one customers will enter when they want to
>    apply the coupon to an order.
>
>    Note that the claim codes for coupons are case-sensitive. For example,
>    COUP100 and coup100 are two different claim codes.
>
>    *Note:* Avoid creating coupon codes that are easy to guess. For example,
>    it is not recommended that you create short or sequential codes (100, 101,
>    and 102, for example). If you leave this field blank, ATG Commerce uses its
>    internal ID generation system to create a random coupon code for you. It is
>    often preferable to have ATG Commerce create the code than to do it
>    yourself.
>    8.
>
>    Specify the entries in the New "Coupon" Values area of the dialog box.
>    -
>
>       Expiration date: enter the date and time on which you want the coupon
>       to become unusable. To do this, click the corresponding text box
> to display
>       the "..." button, click the "..." button, and then select the
> date and time
>       from the calendar that appears. This value is optional.
>
>       Note that a coupon's expiration date is independent of the
>       corresponding promotion's usage end date. Consequently, it is
> possible that
>       a coupon may be invalid but the promotion to which it refers is
> still valid
>       (and can still be delivered via a scenario). If you specify a
> value for this
>       property, make sure it is consistent with the usage end date for the
>       promotion to which it applies.
>       -
>
>       Promotion: select the item in the Promotion repository that you
>       created for this coupon (in step 1 of the procedure described in
> Setting Up
>       Coupons.). To do this, click the corresponding text box to
> display the "..."
>       button, click the "..." button, and then select the promotion item to use.
>
>       9.
>
>    Click OK. The system adds the new coupon to the repository and displays
>    it by its promotion name in the panel on the left of the window. You can
>    hold your mouse over the promotion name to display the coupon claim code (or
>    ID) in a pop-up window.
>
> On Thu, Aug 13, 2009 at 3:41 PM, Suma Mallikarjunaiah <
>
>
>
> Suma.Mallikarjuna...@joann.com> wrote:
>
> > Hi
>
> > I have a promotion created in DCS_PROMOTION table which has start_date and
> > end_date as AUG 5th and AUG 10th.  But Begin_Usable and End_Usable is Aug
> > 10th and Aug 22nd.  But when I give this promoID on the site it says Coupon
> > not valid.  How can I rectify the issue?
>
> > 2. Is it the promotion_id value that should be used as a coupon code on the
> > site?
>
> > This is because I see there are promotion_id's and usually a No.(I think it
> > is coupon no.) like SSED26 or so.  In this case when I enter promotion ID it
> > doesn't work but entering the number SSED26 will.  How can I get the coupon
> > no. associated with the promo ID.
>
> > -Thanks
> > -Suma
>
> > Suma Mallik
> > 330-463-6986
> > Suma.Mallikarjuna...@Joann.com
>
> > >>> ATG Developer <anchaljain1...@gmail.com> 8/13/2009 5:45 AM >>>
>
> > Hi,
>
> > While configuring Template Email I am getting following error in the
> > console. Can anyone help?
>
> > 15:13:34,721 INFO  [STDOUT] sendEmailMessage invoked.
> > 15:13:34,721 ERROR [STDERR]
> > atg.userprofiling.email.TemplateEmailException: Request for URL
> >http://172.21.51.16:8080/dyn/init-sessiondid not return a valid
> > com.walgreens.commerce.order.scheduled.AutoReorderEmailSender.doScheduledTa­sk
> > (AutoReorderEmailSender.java:112)
> > 15:13:34,721 ERROR [STDERR]     at
> > atg.service.scheduler.SingletonSchedulableService.performScheduledTask
> > (SingletonSchedulableService.java:231)
> > 15:13:34,721 ERROR [STDERR]     at
> > atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)
> > 15:13:34,721 ERROR [STDERR]     at atg.service.scheduler.Scheduler
> > $2handler.run(Scheduler.java:760)
> > 15:13:34,721 INFO  [STDOUT] /walgreens/worksite/pipeline/
> > WorksiteAssignmentServlet
> > 15:13:34,721 INFO  [STDOUT]
> > 15:13:34,721 INFO  [STDOUT]  service method called
>
> > Thanks,
> > A.J
>
> > CONFIDENTIALITY/EMAIL NOTICE: The material in this transmission contains
> > confidential and privileged information intended only for the addressee.  If
> > you are not the intended recipient, please be advised that you have received
> > this material in error and that any forwarding, copying, printing,
> > distribution, use or disclosure of the material is strictly prohibited.  If
> > you have received this material in error, please (i) do not read it, (ii)
> > reply to the sender that you received the message in error, and (iii) erase
> > or destroy the material. Emails are not secure and can be intercepted,
> > amended, lost or destroyed, or contain viruses. You are deemed to have
> > accepted these risks if you communicate with us by email. Thank you.- Hide quoted text -
>
> - Show quoted text -

Jason Goungo

unread,
Aug 13, 2009, 11:39:20 AM8/13/09
to atg_...@googlegroups.com
AJ,

I believe the email that is being sent must come from the same instance as of the component that uses it. The session must be available within the same JVM

Nooruddin Shaik

unread,
Aug 13, 2009, 1:38:41 PM8/13/09
to atg_...@googlegroups.com
Please check the siteHttpServerName and siteHttpServerPort in the Configuration.properties files.

You should be able to access the <siteHttpServerName>:<siteHttpServerPort>/dyn/init-session URL for the email to work.

ATG Developer

unread,
Aug 14, 2009, 7:59:01 AM8/14/09
to ATG_Tech
I have already configured siteHttpSeverName and port. One important
thing when I am hitting this url from the external browser I am
getting a blank page. How to solve this error so that email starts
working.

On Aug 13, 10:38 am, Nooruddin Shaik <shaik.noorud...@gmail.com>
wrote:
> Please check the siteHttpServerName and siteHttpServerPort in the
> Configuration.properties files.
> You should be able to access the
> <siteHttpServerName>:<siteHttpServerPort>/dyn/init-session URL for the email
> to work.
>
> You can refer this ATG solutions for more information.
>
> http://www.atg.com/service/main.jsp?t=solutionTab&ft=searchTab&ps=sol...
>
> http://www.atg.com/service/main.jsp?t=solutionTab&ft=searchTab&ps=sol...
>
> Thanks
> Shaik
>
> On Thu, Aug 13, 2009 at 8:39 AM, Jason Goungo <jgou...@gmail.com> wrote:
> > AJ,
>
> > I believe the email that is being sent must come from the same instance as
> > of the component that uses it. The session must be available within the same
> > JVM
>
> > On Thu, Aug 13, 2009 at 4:45 AM, ATG Developer <anchaljain1...@gmail.com>wrote:
>
> >> Hi,
>
> >> While configuring Template Email I am getting following error in the
> >> console. Can anyone help?
>
> >> 15:13:34,721 INFO  [STDOUT] sendEmailMessage invoked.
> >> 15:13:34,721 ERROR [STDERR]
> >> atg.userprofiling.email.TemplateEmailException: Request for URL
> >>http://172.21.51.16:8080/dyn/init-sessiondid not return a valid

Nooruddin Shaik

unread,
Aug 14, 2009, 1:30:14 PM8/14/09
to atg_...@googlegroups.com
If you are getting this text in the browser its fine, "this space intentionally left blank"

If you are not getting this text, then probably if you have webserver configured then you need to add the mapping to allow dyn/init-session URL.

If you are getting this text and then I would recommend to turn on debug on TemplateEmailSender or that component which you have customized to send email.

You should get some pointers from the debug messages.

Thanks
Shaik

ATG Developer

unread,
Aug 15, 2009, 2:29:39 PM8/15/09
to ATG_Tech
Hi,

Thanks for the reply. I am not getting this text. I ma using J-boss.
In web.xml I have already configured initsessionservlet. Wht else I
need to configure so that the text comes.

Thanks,
A.J

On Aug 14, 10:30 am, Nooruddin Shaik <shaik.noorud...@gmail.com>
wrote:
> If you are getting this text in the browser its fine, "this space
> intentionally left blank"
>
> If you are not getting this text, then probably if you have webserver
> configured then you need to add the mapping to allow dyn/init-session URL.
>
> If you are getting this text and then I would recommend to turn on debug on
> TemplateEmailSender or that component which you have customized to send
> email.
>
> You should get some pointers from the debug messages.
>
> Thanks
> Shaik
>
> > > >>http://172.21.51.16:8080/dyn/init-sessiondidnot return a valid

KSP

unread,
Sep 8, 2009, 11:59:33 AM9/8/09
to ATG_Tech
Did the problem got resolved? How did it resolve? Could you please
update because i am also facing the same issue.

On Aug 15, 1:29 pm, ATG Developer <anchaljain1...@gmail.com> wrote:
> Hi,
>
> > > > <siteHttpServerName>:<siteHttpServerPort>/dyn/init-sessionURL for the
> > > email
> > > > to work.
>
> > > > You can refer this ATG solutions for more information.
>
> > > >http://www.atg.com/service/main.jsp?t=solutionTab&ft=searchTab&ps=sol...
>
> > > >http://www.atg.com/service/main.jsp?t=solutionTab&ft=searchTab&ps=sol...
>
> > > > Thanks
> > > > Shaik
>
> > > > On Thu, Aug 13, 2009 at 8:39 AM, Jason Goungo <jgou...@gmail.com> wrote:
> > > > > AJ,
>
> > > > > I believe the email that is being sent must come from the same instance
> > > as
> > > > > of the component that uses it. The session must be available within the
> > > same
> > > > > JVM
>
> > > > > On Thu, Aug 13, 2009 at 4:45 AM, ATG Developer <
> > > anchaljain1...@gmail.com>wrote:
>
> > > > >> Hi,
>
> > > > >> While configuring Template Email I am getting following error in the
> > > > >> console. Can anyone help?
>
> > > > >> 15:13:34,721 INFO  [STDOUT] sendEmailMessage invoked.
> > > > >> 15:13:34,721 ERROR [STDERR]
> > > > >> atg.userprofiling.email.TemplateEmailException: Request for URL
> > > > >>http://172.21.51.16:8080/dyn/init-sessiondidnotreturn a valid
> > > com.walgreens.commerce.order.scheduled.AutoReorderEmailSender.doScheduledTa­sk
> > > > >> (AutoReorderEmailSender.java:112)
> > > > >> 15:13:34,721 ERROR [STDERR]     at
> > > > >> atg.service.scheduler.SingletonSchedulableService.performScheduledTask
> > > > >> (SingletonSchedulableService.java:231)
> > > > >> 15:13:34,721 ERROR [STDERR]     at
> > > > >> atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)
> > > > >> 15:13:34,721 ERROR [STDERR]     at atg.service.scheduler.Scheduler
> > > > >> $2handler.run(Scheduler.java:760)
> > > > >> 15:13:34,721 INFO  [STDOUT] /walgreens/worksite/pipeline/
> > > > >> WorksiteAssignmentServlet
> > > > >> 15:13:34,721 INFO  [STDOUT]
> > > > >> 15:13:34,721 INFO  [STDOUT]  service method called
>
> > > > >> Thanks,
> > > > >> A.J- Hide quoted text -

Prakash Koruttu

unread,
Sep 8, 2009, 12:35:18 PM9/8/09
to ATG_Tech
 
 
When I click on this link ,
No Solution Found.

No Solution Identifier was Passed
Could you please send the correct url.
 


 

--
Prakash Koruttu

Nooruddin Shaik

unread,
Sep 8, 2009, 1:30:50 PM9/8/09
to atg_...@googlegroups.com

Prakash Koruttu

unread,
Sep 8, 2009, 5:31:42 PM9/8/09
to atg_...@googlegroups.com
Again some error, when I click on that link
 
We are unable to complete your request.

An unexpected error has occurred.

Error message detail
null
java.lang.NullPointerException

java.lang.NullPointerException
   at _atg_3__UTF_s8._jspbuild._panels._displaySolution_xjsp._jspService(_displaySolution_xjsp.java:6121)
   at _atg_3__UTF_s8._jspbuild._panels._displaySolution_xjsp._jspService(_displaySolution_xjsp.java:88)
   at atg.servlet.jsp.DynamoJspPageServlet.service(DynamoJspPageServlet.java:180)
   at atg.servlet.container.WebApplication.dispatchServlet(WebApplication.java:1350)
   at atg.servlet.pagecompile.PageCompileServlet.service(PageCompileServlet.java:471)
   at atg.servlet.DynamoServlet.service(DynamoServlet.java:123)
   at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:119)
   at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:478)
   at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:226)
....stack trace CROPPED after 10 lines.



Please try again later or resubmit your request now

17:29 EDT Sep 08 2009 Home Page | Contact Customer Support






--
Prakash Koruttu

Prakash Koruttu

unread,
Sep 8, 2009, 5:34:54 PM9/8/09
to atg_...@googlegroups.com
I already set Configuration.siteHttpServerName and Configuration.siteHttpServerPort  and still the same  problem related with init-session.

On Tue, Sep 8, 2009 at 12:30 PM, Nooruddin Shaik <shaik.n...@gmail.com> wrote:



--
Prakash Koruttu

Nooruddin Shaik

unread,
Sep 8, 2009, 6:16:24 PM9/8/09
to atg_...@googlegroups.com
Try this:

http://www.atg.com/service/main.jsp?solutionId=atg42617

See the log messages by turning on the debug for TemplateEmailSender

Prakash Koruttu

unread,
Sep 8, 2009, 6:23:29 PM9/8/09
to atg_...@googlegroups.com
Hi Nooruddin,

I already set correct siteHttpServerName and port still it is not working. 

~~Prakash KS
--
Prakash Koruttu
ATG Recommendations Helper
X

Prakash Koruttu

unread,
Sep 8, 2009, 7:16:03 PM9/8/09
to atg_...@googlegroups.com
Actually I am getting this error
18:08:44,093 ERROR [STDERR] atg.userprofiling.email.TemplateEmailException: Request for URL http://mymachine.walgreens.com:8080/dyn/init-session did not return a valid session.  Please check your settings for siteHttpServerName, siteHttpServerPort, applicationPrefix and initSessionURL for component /

It says check your settings.
I verified twice everything is set.

V S Sailendra Kumar

unread,
Sep 9, 2009, 12:30:15 AM9/9/09
to atg_...@googlegroups.com
Hi,
 I faced this issue, but could able to resolve this..Here are the problems I faced, and the resolution for this.
(1) Our application has a apache as web-head with domain name as abc.com. Users on Internet can access  
     our site as http://abc.com/index.jsp
     So we were giving siteHttpServerName=abc.com in  Configuration.properties
(2) We have ATG server running on host atg.server1.com
(3) We have a custom component which triggers emails. But because of abc.com configured in 
     Configuration.properties, we were facing the excepiton mentioned in this email thread.
(4) So, I have changed the siteHttpServerName=atg.server1.com. Then my emails started working.
(5) With this I summarize, If you have N atg instances in a cluster, we need to have a seperate 
     Configuration.properties having siteHttpServerName=<that_atg_instance_host_name>
(6) You can also test, whether the email session has established properly as 
     You should be able to see the message "this page is intentionally left blank"..Remember, if you see this message, it means your email session established perfectly and emails will work.

Please let me, if this is helpful..Or let me know if anybody have any other observations. Thanks

ATG Developer

unread,
Sep 16, 2009, 4:00:48 AM9/16/09
to ATG_Tech
I am also facing the same error. Prakash did you find any solution?

On Sep 9, 4:16 am, Prakash Koruttu <prakashks2...@gmail.com> wrote:
> Actually I am getting this error
> 18:08:44,093 ERROR [STDERR] atg.userprofiling.email.TemplateEmailException:
> Request for URLhttp://mymachine.walgreens.com:8080/dyn/init-sessiondid not
> return a valid session.  Please check your settings for siteHttpServerName,
> siteHttpServerPort, applicationPrefix and initSessionURL for component /
>
> It says check your settings.
> I verified twice everything is set.
>
> On Tue, Sep 8, 2009 at 5:23 PM, Prakash Koruttu <prakashks2...@gmail.com>wrote:
>
>
>
>
>
> > Hi Nooruddin,
>
> > I already set correct siteHttpServerName and port still it is not working.
>
> > ~~Prakash KS
>
> > On Tue, Sep 8, 2009 at 5:16 PM, Nooruddin Shaik <shaik.noorud...@gmail.com
> > > wrote:
>
> >> Try this:
>
> >>http://www.atg.com/service/main.jsp?solutionId=atg42617
> >> <http://www.atg.com/service/main.jsp?solutionId=atg42617>
> >>http://www.atg.com/service/main.jsp?solutionId=atg42<http://www.atg.com/service/main.jsp?solutionId=atg42617>
> >> 097
>
> >> See the log messages by turning on the debug for TemplateEmailSender
>
> >> On Tue, Sep 8, 2009 at 2:34 PM, Prakash Koruttu <prakashks2...@gmail.com>wrote:
>
> >>> I already set Configuration.siteHttpServerName and Configuration.siteHttpServerPort
> >>> and still the same  problem related with init-session.
>
> >>> On Tue, Sep 8, 2009 at 12:30 PM, Nooruddin Shaik <
> >>> shaik.noorud...@gmail.com> wrote:
>
> >>>>http://www.atg.com/service/main.jsp?t=solutionTab&ft=searchTab&ps=sol...
>
> >>>>http://www.atg.com/service/main.jsp?t=solutionTab&ft=searchTab&ps=sol...
>
> >>>>   On Tue, Sep 8, 2009 at 9:35 AM, Prakash Koruttu <
> >>>> prakashks2...@gmail.com> wrote:
>
> >>>>> When I click on this link ,    No Solution Found.
> >>>>> No Solution Identifier was Passed
> >>>>> Could you please send the correct url.
>
> > *No ATG Recommendations<http://www.atg.com/en/ecommerce-optimization-services/recommendations/>Configuration Found On This Page.
> > *
> > Please refer to the quick-start guide<http://recmanager.atg.com/api/quick-start.html>
> > ,
> > the non-product-detail pages guide<http://recmanager.atg.com/api/non-detail-pages.html>
> > ,
> > and the best practices guide <http://recmanager.atg.com/api/optimize.html>
> > .Click Here to Turn Off the Helper
>
> --
> Prakash Koruttu
> ATG Recommendations Helper
> X
> *No ATG Recommendations<http://www.atg.com/en/ecommerce-optimization-services/recommendations/>Configuration
> Found On This Page.
> *
> Please refer to the quick-start
> guide<http://recmanager.atg.com/api/quick-start.html>
> ,
> the non-product-detail pages
> guide<http://recmanager.atg.com/api/non-detail-pages.html>
> ,
> and the best practices guide
> <http://recmanager.atg.com/api/optimize.html>.Click
> Here to Turn Off the Helper <javascript:void(0)>- Hide quoted text -

Prakash Koruttu

unread,
Sep 16, 2009, 10:23:32 AM9/16/09
to atg_...@googlegroups.com
No, not yet fixed the issue
ATG Recommendations Helper
X
No ATG Recommendations Configuration Found On This Page.
Please refer to the quick-start guide,
the non-product-detail pages guide,

Gustavo Recio

unread,
Sep 17, 2009, 6:07:18 AM9/17/09
to ATG_Tech
Hi,

I faced the same problem in WebSphere two years ago (so the details
are a bit fuzzy).

Basically the TemplateEmailSender component needs to know the session
where the user is, so it creates an HTTP Connection to
http://siteHttpServerName:siteHttpServerPort/applicationPrefix/initSessionURL

this HTTP connection will create some cookies, which the
TemplateEmailSender component will read. Among them it has to find
"dynsessionid", and it will pick the value. If for some reason the
cookie is not set, or the URL is not accessible or something like that
it will raise your exception.

In my case the problem was that our firewall (or maybe even WebSpere)
was not allowing incoming connections to the generated URL from
itself. I figured out the URL being generated, and created a small
program that used HTTPConnection (the ATG API) to access this URL, and
the URL was not being accessed. Then I created another version of the
same program using Apache HTTPClient and accessed the same URL with
success.

Further investigation showed me that the firewall in our organization
(or some WebSphere configuration, can't remember exactly what) was
blocking the connections that didn't contain one header (I can't
remember which one), so I asked the ATG fellows to provide me a patch
of the HTTPConnection class where the connections were done with this
additional header. It worked.

I'm sorry not to be too concrete, but I can't remember all the
details.

Your problem seems pretty similar to mine, so I think a similar
investigation can help you.

Hope this helps,
Gustavo

On Aug 13, 10:45 am, ATG Developer <anchaljain1...@gmail.com> wrote:
> Hi,
>
> While configuring Template Email I am getting following error in the
> console. Can anyone help?
>
> 15:13:34,721 INFO  [STDOUT] sendEmailMessage invoked.
> 15:13:34,721 ERROR [STDERR]
> atg.userprofiling.email.TemplateEmailException: Request for URLhttp://172.21.51.16:8080/dyn/init-sessiondid not return a valid

suresh chandra sekaran

unread,
Sep 17, 2009, 8:42:02 PM9/17/09
to atg_...@googlegroups.com
Hi,

I faced the same issue. But, In my case the issue was TemplateInvoker. That component had bad port number. That created issue for me. Once i corrected that one, it worked properly. Have u checked the port number there also?

manimozhian rathinam

unread,
Sep 20, 2009, 10:31:25 PM9/20/09
to atg_...@googlegroups.com
Hi Prakash ,
This issue is fixed .Please check

Thanks,
Mani


From: Prakash Koruttu <prakas...@gmail.com>
To: atg_...@googlegroups.com
Sent: Wednesday, September 16, 2009 7:53:32 PM
Subject: [atg_tech:4182] Re: Template Email

ATG Developer

unread,
Sep 21, 2009, 1:51:00 AM9/21/09
to ATG_Tech
Hi Prakash,

Issue is fixed... and now I am able to send the mails

On Sep 21, 7:31 am, manimozhian rathinam <mane...@yahoo.com> wrote:
> Hi Prakash ,
> This issue is fixed .Please check
>
> Thanks,
> Mani
>
> ________________________________
> From: Prakash Koruttu <prakashks2...@gmail.com>
> ...
>
> read more »- Hide quoted text -

ATG Developer

unread,
Sep 21, 2009, 10:58:19 AM9/21/09
to ATG_Tech
The issue was with customized servlet of request handling pipeline.
Nyway Thanks to everyone for your valuable inputs.

A.J
Reply all
Reply to author
Forward
0 new messages