IllegalArguementException
Hi,
We have some of the ND PAC (SAP) dataobjects bound to a page.
I am trying to convert this to J2EE module using JATO and i have
already migrated this sample project and while executing i get first
page properly and entering some value in the first page and
submission of that page i get the following error
Web event invoked: SAP.grstat.inputViewBean.Execute
[22/Oct/2001 16:39:23:6] error: Exception: SERVLET-execution_failed:
Error in ex
ecuting servlet grstatServlet: java.lang.IllegalArgumentException:
The primary m
odel class must be of type _enterprise_.model.Model
Exception Stack Trace:
java.lang.IllegalArgumentException: The primary model class must be
of type _ent
erprise_.model.Model
at
_enterprise_.view.RequestHandlingTiledViewBase.setPrimaryModelClass(R
equestHandlingTiledViewBase.java:160)
at
_enterprise_.view.RequestHandlingTiledViewBase.setPrimaryModelClass(R
equestHandlingTiledViewBase.java:139)
at SAP.grstat.pgGRStatusRepeated1TiledView.<init>
(pgGRStatusRepeated1Til
edView.java:37)
at SAP.grstat.pgGRStatusViewBean.createChild
(pgGRStatusViewBean.java:61)
at _enterprise_.view.ContainerViewBase.ensureChild
(ContainerViewBase.jav
a:151)
at _enterprise_.view.ContainerViewBase.getChild
(ContainerViewBase.java:3
97)
at _enterprise_.view.RequestHandlingViewBase.setRequestContext
(RequestHa
ndlingViewBase.java:167)
at _enterprise_.view.ViewBeanBase.setRequestContext
(ViewBeanBase.java:94
)
at _enterprise_.ViewBeanManager.getViewBean
(ViewBeanManager.java:152)
at _enterprise_.view.RequestHandlingViewBase.getViewBean
(RequestHandling
ViewBase.java:1222)
at SAP.grstat.inputViewBean.handleExecuteRequest
(inputViewBean.java:266)
at java.lang.reflect.Method.invoke(Native Method)
at _enterprise_.view.RequestHandlingViewBase.handleRequest
(RequestHandli
ngViewBase.java:341)
at _enterprise_.view.ViewBeanBase.invokeRequestHandlerInternal
(ViewBeanB
ase.java:481)
at _enterprise_.view.ViewBeanBase.invokeRequestHandler
(ViewBeanBase.java
:431)
at _enterprise_.ApplicationServletBase.dispatchRequest
(ApplicationServle
tBase.java:645)
at _enterprise_.ApplicationServletBase.processRequest
(ApplicationServlet
Base.java:431)
at _enterprise_.ApplicationServletBase.doPost
(ApplicationServletBase.jav
a:296)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:772)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:865)
at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)
The section of the code where the error thrown is
public pgGRStatusRepeated1TiledView(View parent, String name)
{
super(parent, name);
setMaxDisplayTiles(10);
setPrimaryModelClass( doGRSModel.class ); // < throwing
Error Here
registerChildren();
initialize();
}
Could someone tell me whats going wrong?
Thanks,
Divakar
[3671 byte] By [
Guest] at [2007-11-25 9:28:43]

Divakar--
This is a very strange occurrence; here's why. JATO is distributed with the
iMT in a package neutral, template-based form. This template-based form
uses tokens like "__enterprise__" as placeholders for the root JATO package.
Each migration customer has had a choice of the package in which to place
JATO, to better integrate it with their enterprise architecture. Each
customer uses the iMT's "JATO Packaging Tool" to generate a copy of JATO
that in the package they wish. They then compile the output of the
packaging tool and use it in their applications.
So, question: did you follow this procedure? Based on the stack trace, it
is looking for the package "__enterprise__", which should never happen in a
properly packaged version of JATO. It sounds as if you might have just
taken JATO from the source templates included with the iMT and compiled and
used it, or perhaps you made a patch from the templates and didn't fully
replace all the tokens.
Todd
--
Todd Fast
Senior Engineer
Sun Microsystems, Inc.
<a href="/group/SunONE-JATO/post?protectID=189233080150035131169232031248229077000 048234051197">todd.fast@s...</a>
-- Original Message --
From: <<a href="/group/SunONE-JATO/post?protectID=197166080009196031218218164140244063078 048234051197">padiyar@y...</a>>
Sent: Monday, October 22, 2001 1:59 PM
Subject: [iPlanet-JATO] IllegalArguementException
> Hi,
> We have some of the ND PAC (SAP) dataobjects bound to a page.
> I am trying to convert this to J2EE module using JATO and i have
> already migrated this sample project and while executing i get first
> page properly and entering some value in the first page and
> submission of that page i get the following error
>
> Web event invoked: SAP.grstat.inputViewBean.Execute
> [22/Oct/2001 16:39:23:6] error: Exception: SERVLET-execution_failed:
> Error in ex
> ecuting servlet grstatServlet: java.lang.IllegalArgumentException:
> The primary m
> odel class must be of type _enterprise_.model.Model
> Exception Stack Trace:
> java.lang.IllegalArgumentException: The primary model class must be
> of type _ent
> erprise_.model.Model
> at
> _enterprise_.view.RequestHandlingTiledViewBase.setPrimaryModelClass(R
> equestHandlingTiledViewBase.java:160)
> at
> _enterprise_.view.RequestHandlingTiledViewBase.setPrimaryModelClass(R
> equestHandlingTiledViewBase.java:139)
> at SAP.grstat.pgGRStatusRepeated1TiledView.<init>
> (pgGRStatusRepeated1Til
> edView.java:37)
> at SAP.grstat.pgGRStatusViewBean.createChild
> (pgGRStatusViewBean.java:61)
>
> at _enterprise_.view.ContainerViewBase.ensureChild
> (ContainerViewBase.jav
> a:151)
> at _enterprise_.view.ContainerViewBase.getChild
> (ContainerViewBase.java:3
> 97)
> at _enterprise_.view.RequestHandlingViewBase.setRequestContext
> (RequestHa
> ndlingViewBase.java:167)
> at _enterprise_.view.ViewBeanBase.setRequestContext
> (ViewBeanBase.java:94
> )
> at _enterprise_.ViewBeanManager.getViewBean
> (ViewBeanManager.java:152)
> at _enterprise_.view.RequestHandlingViewBase.getViewBean
> (RequestHandling
> ViewBase.java:1222)
> at SAP.grstat.inputViewBean.handleExecuteRequest
> (inputViewBean.java:266)
>
> at java.lang.reflect.Method.invoke(Native Method)
> at _enterprise_.view.RequestHandlingViewBase.handleRequest
> (RequestHandli
> ngViewBase.java:341)
> at _enterprise_.view.ViewBeanBase.invokeRequestHandlerInternal
> (ViewBeanB
> ase.java:481)
> at _enterprise_.view.ViewBeanBase.invokeRequestHandler
> (ViewBeanBase.java
> :431)
> at _enterprise_.ApplicationServletBase.dispatchRequest
> (ApplicationServle
> tBase.java:645)
> at _enterprise_.ApplicationServletBase.processRequest
> (ApplicationServlet
> Base.java:431)
> at _enterprise_.ApplicationServletBase.doPost
> (ApplicationServletBase.jav
> a:296)
> at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:772)
> at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:865)
> at
> com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
> Source)
> at
> com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
> wn Source)
> at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
> at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
> at com.kivasoft.thread.ThreadBasic.run(Native Method)
> at java.lang.Thread.run(Thread.java:479)
>
> The section of the code where the error thrown is
>
> public pgGRStatusRepeated1TiledView(View parent, String name)
> {
> super(parent, name);
> setMaxDisplayTiles(10);
> setPrimaryModelClass( doGRSModel.class ); // < throwing
> Error Here
> registerChildren();
> initialize();
> }
>
> Could someone tell me whats going wrong?
>
> Thanks,
> Divakar
>
>
>
>
>
>
>
> For more information about JATO, please visit:
> <a href="http://developer.iplanet.com/tech/appserver/framework/index.jsp">http: //developer.iplanet.com/tech/appserver/framework/index.jsp</a>
>
>
>
>
>
>
>
Guest at 2007-7-1 16:34:21 >

Mike,
I am using iMT 1.1
Todd,
I used the iMT's "JATO Packaging Tool" to generate a
copy of JATO package and then compiled the output of
the packaging tool and used it in the applications.
Just now instead of _enterprise_ i tried with
different
name but got the same error message..
- Divakar
Mike Frisino <<a href="/group/SunONE-JATO/post?protectID=174176219122158198138082063148231088239 026066196217193234150166091061">Michael.Frisino@S...</a>> wrote:
> Divakar,
>
> Also, which version of the iMT are you using? The
> iMT 1.1 or the iMT 1.2 EA?
> -- Original Message --
> From: Todd Fast
> Sent: Monday, October 22, 2001 2:38 PM
> Subject: Re: [iPlanet-JATO]
> IllegalArguementException
>
>
> Divakar--
>
> This is a very strange occurrence; here's why.
> JATO is distributed with the
> iMT in a package neutral, template-based form.
> This template-based form
> uses tokens like "__enterprise__" as placeholders
> for the root JATO package.
> Each migration customer has had a choice of the
> package in which to place
> JATO, to better integrate it with their enterprise
> architecture. Each
> customer uses the iMT's "JATO Packaging Tool" to
> generate a copy of JATO
> that in the package they wish. They then compile
> the output of the
> packaging tool and use it in their applications.
>
> So, question: did you follow this procedure?
> Based on the stack trace, it
> is looking for the package "__enterprise__", which
> should never happen in a
> properly packaged version of JATO. It sounds as
> if you might have just
> taken JATO from the source templates included with
> the iMT and compiled and
> used it, or perhaps you made a patch from the
> templates and didn't fully
> replace all the tokens.
>
> Todd
>
> --
> Todd Fast
> Senior Engineer
> Sun Microsystems, Inc.
> <a href="/group/SunONE-JATO/post?protectID=189233080150035131169232031248229077000 048234051197">todd.fast@s...</a>
>
> -- Original Message --
> From: <<a href="/group/SunONE-JATO/post?protectID=197166080009196031218218164140244063078 048234051197">padiyar@y...</a>>
> Sent: Monday, October 22, 2001 1:59 PM
> Subject: [iPlanet-JATO] IllegalArguementException
>
>
> > Hi,
> > We have some of the ND PAC (SAP) dataobjects
> bound to a page.
> > I am trying to convert this to J2EE module using
> JATO and i have
> > already migrated this sample project and while
> executing i get first
> > page properly and entering some value in the
> first page and
> > submission of that page i get the following
> error
> >
> > Web event invoked:
> SAP.grstat.inputViewBean.Execute
> > [22/Oct/2001 16:39:23:6] error: Exception:
> SERVLET-execution_failed:
> > Error in ex
> > ecuting servlet grstatServlet:
> java.lang.IllegalArgumentException:
> > The primary m
> > odel class must be of type
> _enterprise_.model.Model
> > Exception Stack Trace:
> > java.lang.IllegalArgumentException: The primary
> model class must be
> > of type _ent
> > erprise_.model.Model
> > at
> >
>
_enterprise_.view.RequestHandlingTiledViewBase.setPrimaryModelClass(R
> > equestHandlingTiledViewBase.java:160)
> > at
> >
>
_enterprise_.view.RequestHandlingTiledViewBase.setPrimaryModelClass(R
> > equestHandlingTiledViewBase.java:139)
> > at
> SAP.grstat.pgGRStatusRepeated1TiledView.<init>
> > (pgGRStatusRepeated1Til
> > edView.java:37)
> > at
> SAP.grstat.pgGRStatusViewBean.createChild
> > (pgGRStatusViewBean.java:61)
> >
> > at
> _enterprise_.view.ContainerViewBase.ensureChild
> > (ContainerViewBase.jav
> > a:151)
> > at
> _enterprise_.view.ContainerViewBase.getChild
> > (ContainerViewBase.java:3
> > 97)
> > at
>
_enterprise_.view.RequestHandlingViewBase.setRequestContext
> > (RequestHa
> > ndlingViewBase.java:167)
> > at
> _enterprise_.view.ViewBeanBase.setRequestContext
> > (ViewBeanBase.java:94
> > )
> > at
> _enterprise_.ViewBeanManager.getViewBean
> > (ViewBeanManager.java:152)
> > at
>
_enterprise_.view.RequestHandlingViewBase.getViewBean
> > (RequestHandling
> > ViewBase.java:1222)
> > at
> SAP.grstat.inputViewBean.handleExecuteRequest
> > (inputViewBean.java:266)
> >
> > at
> java.lang.reflect.Method.invoke(Native Method)
> > at
>
_enterprise_.view.RequestHandlingViewBase.handleRequest
> > (RequestHandli
> > ngViewBase.java:341)
> > at
>
_enterprise_.view.ViewBeanBase.invokeRequestHandlerInternal
> > (ViewBeanB
> > ase.java:481)
> > at
> _enterprise_.view.ViewBeanBase.invokeRequestHandler
> > (ViewBeanBase.java
> > :431)
> > at
> _enterprise_.ApplicationServletBase.dispatchRequest
> > (ApplicationServle
> > tBase.java:645)
> > at
> _enterprise_.ApplicationServletBase.processRequest
> > (ApplicationServlet
> > Base.java:431)
> > at
> _enterprise_.ApplicationServletBase.doPost
> > (ApplicationServletBase.jav
> > a:296)
> > at
> javax.servlet.http.HttpServlet.service
> > (HttpServlet.java:772)
> > at
> javax.servlet.http.HttpServlet.service
> > (HttpServlet.java:865)
> > at
> >
>
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
> > Source)
> > at
> >
>
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
> > wn Source)
> > at
> com.kivasoft.applogic.AppLogic.execute(Unknown
> Source)
> > at
> com.kivasoft.applogic.AppLogic.execute(Unknown
> Source)
> > at
> com.kivasoft.thread.ThreadBasic.run(Native Method)
> > at java.lang.Thread.run(Thread.java:479)
> >
> > The section of the code where the error thrown
> is
> >
> > public pgGRStatusRepeated1TiledView(View parent,
> String name)
> > {
> > super(parent, name);
> > setMaxDisplayTiles(10);
> > setPrimaryModelClass( doGRSModel.class ); //
> < throwing
> > Error Here
> > registerChildren();
> > initialize();
> > }
> >
> > Could someone tell me whats going wrong?
> >
> > Thanks,
> > Divakar
> >
> >
> >
> >
> >
>
=== message truncated ===
__
Guest at 2007-7-1 16:34:21 >

I sounds as if you generated the JATO classes but in the translation tool, you
did not set the property of the
EnterprisePackageName to be the package name of whatever the base package name
of the generated JATO was. Like
"com.iplanet.jato" for example.
c
Divakar Padiyar wrote:
> Mike,
> I am using iMT 1.1
>
> Todd,
> I used the iMT's "JATO Packaging Tool" to generate a
> copy of JATO package and then compiled the output of
> the packaging tool and used it in the applications.
> Just now instead of _enterprise_ i tried with
> different
> name but got the same error message..
>
> - Divakar
>
> Mike Frisino <<a href="/group/SunONE-JATO/post?protectID=174176219122158198138082063148231088239 026066196217193234150166091061">Michael.Frisino@S...</a>> wrote:
> > Divakar,
> >
> > Also, which version of the iMT are you using? The
> > iMT 1.1 or the iMT 1.2 EA?
> > -- Original Message --
> > From: Todd Fast
> > Sent: Monday, October 22, 2001 2:38 PM
> > Subject: Re: [iPlanet-JATO]
> > IllegalArguementException
> >
> >
> > Divakar--
> >
> > This is a very strange occurrence; here's why.
> > JATO is distributed with the
> > iMT in a package neutral, template-based form.
> > This template-based form
> > uses tokens like "__enterprise__" as placeholders
> > for the root JATO package.
> > Each migration customer has had a choice of the
> > package in which to place
> > JATO, to better integrate it with their enterprise
> > architecture. Each
> > customer uses the iMT's "JATO Packaging Tool" to
> > generate a copy of JATO
> > that in the package they wish. They then compile
> > the output of the
> > packaging tool and use it in their applications.
> >
> > So, question: did you follow this procedure?
> > Based on the stack trace, it
> > is looking for the package "__enterprise__", which
> > should never happen in a
> > properly packaged version of JATO. It sounds as
> > if you might have just
> > taken JATO from the source templates included with
> > the iMT and compiled and
> > used it, or perhaps you made a patch from the
> > templates and didn't fully
> > replace all the tokens.
> >
> > Todd
> >
> > --
> > Todd Fast
> > Senior Engineer
> > Sun Microsystems, Inc.
> > <a href="/group/SunONE-JATO/post?protectID=189233080150035131169232031248229077000 048234051197">todd.fast@s...</a>
> >
> > -- Original Message --
> > From: <<a href="/group/SunONE-JATO/post?protectID=197166080009196031218218164140244063078 048234051197">padiyar@y...</a>>
> > Sent: Monday, October 22, 2001 1:59 PM
> > Subject: [iPlanet-JATO] IllegalArguementException
> >
> >
> > > Hi,
> > > We have some of the ND PAC (SAP) dataobjects
> > bound to a page.
> > > I am trying to convert this to J2EE module using
> > JATO and i have
> > > already migrated this sample project and while
> > executing i get first
> > > page properly and entering some value in the
> > first page and
> > > submission of that page i get the following
> > error
> > >
> > > Web event invoked:
> > SAP.grstat.inputViewBean.Execute
> > > [22/Oct/2001 16:39:23:6] error: Exception:
> > SERVLET-execution_failed:
> > > Error in ex
> > > ecuting servlet grstatServlet:
> > java.lang.IllegalArgumentException:
> > > The primary m
> > > odel class must be of type
> > _enterprise_.model.Model
> > > Exception Stack Trace:
> > > java.lang.IllegalArgumentException: The primary
> > model class must be
> > > of type _ent
> > > erprise_.model.Model
> > > at
> > >
> >
> _enterprise_.view.RequestHandlingTiledViewBase.setPrimaryModelClass(R
> > > equestHandlingTiledViewBase.java:160)
> > > at
> > >
> >
> _enterprise_.view.RequestHandlingTiledViewBase.setPrimaryModelClass(R
> > > equestHandlingTiledViewBase.java:139)
> > > at
> > SAP.grstat.pgGRStatusRepeated1TiledView.<init>
> > > (pgGRStatusRepeated1Til
> > > edView.java:37)
> > > at
> > SAP.grstat.pgGRStatusViewBean.createChild
> > > (pgGRStatusViewBean.java:61)
> > >
> > > at
> > _enterprise_.view.ContainerViewBase.ensureChild
> > > (ContainerViewBase.jav
> > > a:151)
> > > at
> > _enterprise_.view.ContainerViewBase.getChild
> > > (ContainerViewBase.java:3
> > > 97)
> > > at
> >
> _enterprise_.view.RequestHandlingViewBase.setRequestContext
> > > (RequestHa
> > > ndlingViewBase.java:167)
> > > at
> > _enterprise_.view.ViewBeanBase.setRequestContext
> > > (ViewBeanBase.java:94
> > > )
> > > at
> > _enterprise_.ViewBeanManager.getViewBean
> > > (ViewBeanManager.java:152)
> > > at
> >
> _enterprise_.view.RequestHandlingViewBase.getViewBean
> > > (RequestHandling
> > > ViewBase.java:1222)
> > > at
> > SAP.grstat.inputViewBean.handleExecuteRequest
> > > (inputViewBean.java:266)
> > >
> > > at
> > java.lang.reflect.Method.invoke(Native Method)
> > > at
> >
> _enterprise_.view.RequestHandlingViewBase.handleRequest
> > > (RequestHandli
> > > ngViewBase.java:341)
> > > at
> >
> _enterprise_.view.ViewBeanBase.invokeRequestHandlerInternal
> > > (ViewBeanB
> > > ase.java:481)
> > > at
> > _enterprise_.view.ViewBeanBase.invokeRequestHandler
> > > (ViewBeanBase.java
> > > :431)
> > > at
> > _enterprise_.ApplicationServletBase.dispatchRequest
> > > (ApplicationServle
> > > tBase.java:645)
> > > at
> > _enterprise_.ApplicationServletBase.processRequest
> > > (ApplicationServlet
> > > Base.java:431)
> > > at
> > _enterprise_.ApplicationServletBase.doPost
> > > (ApplicationServletBase.jav
> > > a:296)
> > > at
> > javax.servlet.http.HttpServlet.service
> > > (HttpServlet.java:772)
> > > at
> > javax.servlet.http.HttpServlet.service
> > > (HttpServlet.java:865)
> > > at
> > >
> >
> com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
> > > Source)
> > > at
> > >
> >
> com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
> > > wn Source)
> > > at
> > com.kivasoft.applogic.AppLogic.execute(Unknown
> > Source)
> > > at
> > com.kivasoft.applogic.AppLogic.execute(Unknown
> > Source)
> > > at
> > com.kivasoft.thread.ThreadBasic.run(Native Method)
> > > at java.lang.Thread.run(Thread.java:479)
> > >
> > > The section of the code where the error thrown
> > is
> > >
> > > public pgGRStatusRepeated1TiledView(View parent,
> > String name)
> > > {
> > > super(parent, name);
> > > setMaxDisplayTiles(10);
> > > setPrimaryModelClass( doGRSModel.class ); //
> > < throwing
> > > Error Here
> > > registerChildren();
> > > initialize();
> > > }
> > >
> > > Could someone tell me whats going wrong?
> > >
> > > Thanks,
> > > Divakar
> > >
> > >
> > >
> > >
> > >
> >
> === message truncated ===
>
> __
>
>
> For more information about JATO, please visit:
> <a href="http://developer.iplanet.com/tech/appserver/framework/index.jsp">http: //developer.iplanet.com/tech/appserver/framework/index.jsp</a>
>
>
>
>
Guest at 2007-7-1 16:34:21 >

Again, I think that the classes were translated with the EnterprisePackageName
set to "__enterprise__"
Check the that property in the iMT and let us know.
If that was the case, it should be a matter of a simple global search/replace
excercise or re-translate if you haven't gotten too far with migration yet. The
other and best option would be the Regular Expression Mapping Tool in the iMT.
c
Divakar Padiyar wrote:
> Also I tried Class.ForName before setting
> primaryModelClass for checking ClassNotFoundException
> but no exception is thrown... The exception is
> thrown
> when the setPrimaryModelClass statement is executed.
>
> - Divakar
>
> Divakar Padiyar <<a href="/group/SunONE-JATO/post?protectID=197166080009196031218218164140244063078 048234051197">padiyar@y...</a>> wrote:
> > Mike,
> > I am using iMT 1.1
> >
> > Todd,
> > I used the iMT's "JATO Packaging Tool" to generate a
> > copy of JATO package and then compiled the output of
> > the packaging tool and used it in the applications.
> > Just now instead of _enterprise_ i tried with
> > different
> > name but got the same error message..
> >
> > - Divakar
> >
> > Mike Frisino <<a href="/group/SunONE-JATO/post?protectID=174176219122158198138082063148231088239 026066196217193234150166091061">Michael.Frisino@S...</a>> wrote:
> > > Divakar,
> > >
> > > Also, which version of the iMT are you using? The
> > > iMT 1.1 or the iMT 1.2 EA?
> > > -- Original Message --
> > > From: Todd Fast
> > > Sent: Monday, October 22, 2001 2:38 PM
> > > Subject: Re: [iPlanet-JATO]
> > > IllegalArguementException
> > >
> > >
> > > Divakar--
> > >
> > > This is a very strange occurrence; here's why.
> > > JATO is distributed with the
> > > iMT in a package neutral, template-based form.
> > > This template-based form
> > > uses tokens like "__enterprise__" as
> > placeholders
> > > for the root JATO package.
> > > Each migration customer has had a choice of the
> > > package in which to place
> > > JATO, to better integrate it with their
> > enterprise
> > > architecture. Each
> > > customer uses the iMT's "JATO Packaging Tool" to
> > > generate a copy of JATO
> > > that in the package they wish. They then
> > compile
> > > the output of the
> > > packaging tool and use it in their applications.
> > >
> > > So, question: did you follow this procedure?
> > > Based on the stack trace, it
> > > is looking for the package "__enterprise__",
> > which
> > > should never happen in a
> > > properly packaged version of JATO. It sounds as
> > > if you might have just
> > > taken JATO from the source templates included
> > with
> > > the iMT and compiled and
> > > used it, or perhaps you made a patch from the
> > > templates and didn't fully
> > > replace all the tokens.
> > >
> > > Todd
> > >
> > > --
> > > Todd Fast
> > > Senior Engineer
> > > Sun Microsystems, Inc.
> > > <a href="/group/SunONE-JATO/post?protectID=189233080150035131169232031248229077000 048234051197">todd.fast@s...</a>
> > >
> > > -- Original Message --
> > > From: <<a href="/group/SunONE-JATO/post?protectID=197166080009196031218218164140244063078 048234051197">padiyar@y...</a>>
> > > Sent: Monday, October 22, 2001 1:59 PM
> > > Subject: [iPlanet-JATO]
> > IllegalArguementException
> > >
> > >
> > > > Hi,
> > > > We have some of the ND PAC (SAP) dataobjects
> > > bound to a page.
> > > > I am trying to convert this to J2EE module
> > using
> > > JATO and i have
> > > > already migrated this sample project and while
> > > executing i get first
> > > > page properly and entering some value in the
> > > first page and
> > > > submission of that page i get the following
> > > error
> > > >
> > > > Web event invoked:
> > > SAP.grstat.inputViewBean.Execute
> > > > [22/Oct/2001 16:39:23:6] error: Exception:
> > > SERVLET-execution_failed:
> > > > Error in ex
> > > > ecuting servlet grstatServlet:
> > > java.lang.IllegalArgumentException:
> > > > The primary m
> > > > odel class must be of type
> > > _enterprise_.model.Model
> > > > Exception Stack Trace:
> > > > java.lang.IllegalArgumentException: The
> > primary
> > > model class must be
> > > > of type _ent
> > > > erprise_.model.Model
> > > > at
> > > >
> > >
> >
> _enterprise_.view.RequestHandlingTiledViewBase.setPrimaryModelClass(R
> > > > equestHandlingTiledViewBase.java:160)
> > > > at
> > > >
> > >
> >
> _enterprise_.view.RequestHandlingTiledViewBase.setPrimaryModelClass(R
> > > > equestHandlingTiledViewBase.java:139)
> > > > at
> > > SAP.grstat.pgGRStatusRepeated1TiledView.<init>
> > > > (pgGRStatusRepeated1Til
> > > > edView.java:37)
> > > > at
> > > SAP.grstat.pgGRStatusViewBean.createChild
> > > > (pgGRStatusViewBean.java:61)
> > > >
> > > > at
> > > _enterprise_.view.ContainerViewBase.ensureChild
> > > > (ContainerViewBase.jav
> > > > a:151)
> > > > at
> > > _enterprise_.view.ContainerViewBase.getChild
> > > > (ContainerViewBase.java:3
> > > > 97)
> > > > at
> > >
> >
> _enterprise_.view.RequestHandlingViewBase.setRequestContext
> > > > (RequestHa
> > > > ndlingViewBase.java:167)
> > > > at
> > > _enterprise_.view.ViewBeanBase.setRequestContext
> > > > (ViewBeanBase.java:94
> > > > )
> > > > at
> > > _enterprise_.ViewBeanManager.getViewBean
> > > > (ViewBeanManager.java:152)
> > > > at
> > >
> >
> _enterprise_.view.RequestHandlingViewBase.getViewBean
> > > > (RequestHandling
> > > > ViewBase.java:1222)
> > > > at
> > > SAP.grstat.inputViewBean.handleExecuteRequest
> > > > (inputViewBean.java:266)
> > > >
> > > > at
> > > java.lang.reflect.Method.invoke(Native Method)
> > > > at
> > >
> >
> _enterprise_.view.RequestHandlingViewBase.handleRequest
> > > > (RequestHandli
> > > > ngViewBase.java:341)
> > > > at
> > >
> >
> _enterprise_.view.ViewBeanBase.invokeRequestHandlerInternal
> > > > (ViewBeanB
> > > > ase.java:481)
> > > > at
> > >
> > _enterprise_.view.ViewBeanBase.invokeRequestHandler
> > > > (ViewBeanBase.java
> > > > :431)
> > > > at
> > >
> > _enterprise_.ApplicationServletBase.dispatchRequest
> > > > (ApplicationServle
> > > > tBase.java:645)
> > > > at
> > > _enterprise_.ApplicationServletBase.processRequest
> > > > (ApplicationServlet
> > > > Base.java:431)
> > > > at
> > > _enterprise_.ApplicationServletBase.doPost
> > > > (ApplicationServletBase.jav
> > > > a:296)
> > > > at
> > > javax.servlet.http.HttpServlet.service
> > > > (HttpServlet.java:772)
> > > > at
> > > javax.servlet.http.HttpServlet.service
> > > > (HttpServlet.java:865)
> > > > at
> > > >
> > >
> >
> com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
> > > > Source)
> > > > at
> > > >
> > >
> >
> com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
> > > > wn Source)
> > > > at
> > > com.kivasoft.applogic.AppLogic.execute(Unknown
> >
> === message truncated ===
>
> __
>
> For more information about JATO, please visit:
> <a href="http://developer.iplanet.com/tech/appserver/framework/index.jsp">http: //developer.iplanet.com/tech/appserver/framework/index.jsp</a>
>
>
>
>
Guest at 2007-7-1 16:34:21 >

