Clean Java

There is always a bigger game

How to write custom droplet in ATG?

with 6 comments

This post is moved to http://ourownjava.com/atg/write-a-custom-droplet-in-atg

Advertisements

6 Responses

Subscribe to comments with RSS.

  1. […] How to write custom droplet in ATG? (cleanjava.wordpress.com) […]

  2. […] How to write custom droplet in ATG? (cleanjava.wordpress.com) […]

  3. Hi
    I am Having Errors

    2012-11-01 13:56:35,852 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/PioneerCycling].[jsp]] Servlet.service() for servlet jsp threw exception
    java.lang.ArrayIndexOutOfBoundsException: 1
    at atg.samples.CalculatorDroplet.calculate(CalculatorDroplet.java:44)
    at atg.samples.CalculatorDroplet.service(CalculatorDroplet.java:35)
    at atg.servlet.DynamoServlet.service(DynamoServlet.java:123)
    at atg.taglib.dspjsp.DropletTag.invokeServlet(DropletTag.java:349)
    at atg.taglib.dspjsp.DropletTag.doAfterBody(DropletTag.java:616)
    at org.apache.jsp.en.user.calculator1_jsp._jspx_meth_dsp_droplet_0(org.apache.jsp.en.user.calculator1_jsp:187)
    at org.apache.jsp.en.user.calculator1_jsp._jspx_meth_dsp_page_0(org.apache.jsp.en.user.calculator1_jsp:107)
    at org.apache.jsp.en.user.calculator1_jsp._jspService(org.apache.jsp.en.user.calculator1_jsp:70)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.java:148)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:253)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.servlet.http.CookieBufferServlet.service(CookieBufferServlet.java:97)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.userprofiling.ExpiredPasswordServlet.service(ExpiredPasswordServlet.java:356)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:206)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:565)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2442)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:602)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:461)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:480)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:561)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
    at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1123)
    at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:805)
    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:231)
    at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:227)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Thread.java:619)

    PAT

    November 2, 2012 at 12:35 am

  4. I got it just ignore the previous comment
    Thanks

    PAT

    November 2, 2012 at 2:25 am

  5. Check out http://atgblog.info. We have an exclusive site for atg blogging.

    cleanjava

    April 18, 2013 at 11:11 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: