Translation hangs tool

1. Trying to migrate an application. The tool extracts OK. But

whenrunning the translation tool on the generated xml, it craps out

at a particular page. At this point, the tool Javaw process is taking

up all CPU time and is consuming 200 MB of memory on a WinNT box with

256 MB RAM. I redid this with ms100M and mx200MB, still the tool

hangs the system. What is the potential problem (bad descriptor)?

2. While translating, the tool logs warning on a page called

PgCommon, from, which all of the project pages are extended. The

warning is:

- Unable to find basis(?)

- Will use ViewBase as basis.

Regards,

Sonal.

[732 byte] By [Guest] at [2007-11-25 9:29:07]
# 1

Mike,

1. Have got version 1.1.1 now. Tool extracts and translates OK. All

warning messages also resolved. Working on migrating one page.

2. Having some trouble deploying and working the

MigtoolboxsampleAppWar.war

- Used the prepackaged MigtoolSampleApp.war file

- Deployment Tool not working on the war,

- Deployed using iasdeploy deploymodule

- used the url:

<a href="http://localhost:8080/NASApp/MigtoolboxsampleAppWar/MigtoolboxSampleSE"&g t;http://localhost:8080/NASApp/MigtoolboxsampleAppWar/MigtoolboxSampleSE</a&g t;

rvlet?page=IndexPage

- got back gx2 error.

Sonal.

In <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166136 158139046209">iPlanet-JATO@y...</a>, <a href="/group/SunONE-JATO/post?protectID=061059020185229125015158190036129">s singh@n...</a> wrote:

> Mike,

>

> Can you send me the url for 1.1.1? (Does the moko site exist

anymore?)

>

>

> Sonal.

>

> In <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166136 158139046209">iPlanet-JATO@y...</a>, "Mike Frisino" <<a href="/group/SunONE-JATO/post?protectID=174176219122158198138082063148231088239 026066196217130152150">Michael.Frisino@S...</a>>

wrote:

> > Sonal,

> >

> > First are you using the iMT 1.1.1? If so, it has documentation on

> these

> > issues.

> > If not, please get iMT 1.1.1

> >

> > Sorry to hear you are experiencing the hang. There is an

> unfortunate bug in

> > the XML parser that occasionally surfaces.

> >

> > For the translation time hang:

> > see documentation subject Migration - "Technotes"

> > migtoolbox-1.1.1\doc\technotes.html

> > See Tech Note 2: Translation Tool Hang

> >

> > For the superclass issue:

> > see documtation subject Migration - "Extraction/Translation

Error

> & Warning

> > Messages"

> > migtoolbox-1.1.1\doc\errormsg.html

> >

> > I am a bit confused by your statement

> > > - Unable to find basis(?)

> > > - Will use ViewBase as basis.

> >

> > Can you confirm exactly what is being stated? Or better yet, send

> me or

> > Craig a copy of your iMT console output,

> > that contains the exact messages.

> >

> > <a href="/group/SunONE-JATO/post?protectID=029176219122158198138082061148231088239 026066196077130152150">michael.frisino@s...</a>

> >

> > -- Original Message --

> > From: <<a href="/group/SunONE-JATO/post?protectID=061059020185229125015158190036129">s singh@n...</a>>

> > Sent: Monday, April 23, 2001 3:21 PM

> > Subject: [iPlanet-JATO] Translation hangs tool

> >

> >

> > > 1. Trying to migrate an application. The tool extracts OK. But

> > > whenrunning the translation tool on the generated xml, it craps

> out

> > > at a particular page. At this point, the tool Javaw process is

> taking

> > > up all CPU time and is consuming 200 MB of memory on a WinNT

box

> with

> > > 256 MB RAM. I redid this with ms100M and mx200MB, still the tool

> > > hangs the system. What is the potential problem (bad

descriptor)?

> > >

> > > 2. While translating, the tool logs warning on a page called

> > > PgCommon, from, which all of the project pages are extended. The

> > > warning is:

> > > - Unable to find basis(?)

> > > - Will use ViewBase as basis.

> > >

> > > Regards,

> > >

> > > Sonal.

> > >

> > >

> > >

> > >

> > > <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215 146166214017110250006230056039126077176105140127082088124241215002153">iPlane t-JATO-unsubscribe@egroups.com</a>

> > >

> > >

> > >

> > >

> > >

> > >

Guest at 2007-7-1 16:34:59 > top of Java-index,Development Tools,Java Tools...
# 2

Hi Sonal--

> 2. Having some trouble deploying and working the

> MigtoolboxsampleAppWar.war

> - Used the prepackaged MigtoolSampleApp.war file

> - Deployment Tool not working on the war,

> - Deployed using iasdeploy deploymodule

For iAS, you should simply need to open the WAR file in the GUI deployment

tool (NOTE: place the WAR file under the iAS root directory; otherwise, the

deployment tool will not work). It will warn you that there is no

iAS-specific descriptor. It will create one for you automatically. Save

the WAR file. Select the WAR file and deploy it to your server.

> - used the url:

> <a href="http://localhost:8080/NASApp/MigtoolboxsampleAppWar/MigtoolboxSampleSE"&g t;http://localhost:8080/NASApp/MigtoolboxsampleAppWar/MigtoolboxSampleSE</a&g t;

> rvlet?page=IndexPage

That URL is not correct. Instead, try this:

<a href="http://localhost/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage ">http://localhost/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage&l t;/a>

Todd

Guest at 2007-7-1 16:34:59 > top of Java-index,Development Tools,Java Tools...
# 3

Sonal--

Have you tried recompiling the entire application? It sounds as if there may

be a problem with incompatible versions of PgCommon and PgReplaceCDSID which

I assume extends it. Blow away all your project class files and recompile

in the ND Studio before trying again.

Also, make sure there are no .ser files hanging around in your project

directory.

Todd

-- Original Message --

From: <<a href="/group/SunONE-JATO/post?protectID=061059020185229125015158163056229241134 237057046167121181">ssingh@n...</a>>

Sent: Wednesday, April 25, 2001 6:56 AM

Subject: [iPlanet-JATO] Re: Translation hangs tool

> Todd/Charles,

>

> Thans for all the help.

>

> The client has a small application, in which all pages extend from

> PgCommon. PgCommon extends CSpPage. I read through the "Notes on

> MigrationClassMappings.properties" file in iMT1.1.1 documentation.

>

> I understand that PgCommon has to extend ViewBeanBase. I tried to

> make the following changes in PgCommon and compiled it. Then I ran

> the extraction which threw up the following error:

>

>

>

> java.lang.VerifyError: (class: prHRAdminDE/PgReplaceCDSID, method:

> stLinkToHome_onBeforeDisplayEvent signature:

> (Lspider/event/CSpDisplayEvent;)I) Incompatible object argument for

> function call

>

> at java.lang.ClassLoader.resolveClass0(Native Method)

>

> at java.lang.ClassLoader.resolveClass(ClassLoader.java:545)

>

> at spider.util.CSpClassLoader.loadClass(CSpClassLoader.java,

> Compiled Code)

>

> at spider.util.CSpClassLoader.loadClassWithPackage

> (CSpClassLoader.java:291)

>

> at spider.util.CSpClassLoader.loadClassWithPackage

> (CSpClassLoader.java:217)

>

> at spider.util.CSpClassName.instantiate(CSpClassName.java:180)

>

> at spider.intrp.CSpIntrpModel.createModel

> (CSpIntrpModel.java:945)

>

> at spider.intrp.CSpIntrpModel.createNodeObject

> (CSpIntrpModel.java:282)

>

> at spider.intrp.CSpIntrpModel.open(CSpIntrpModel.java:500)

>

> at spider.CSpProject.readPostV40ChildObjects(CSpProject.java,

> Compiled Code)

>

> at spider.CSpProject.readObject(CSpProject.java:806)

>

> at spider.intrp.CSpIntrpModel.createNodeObject

> (CSpIntrpModel.java:293)

>

> at spider.intrp.CSpIntrpModel.open(CSpIntrpModel.java:500)

>

> at spider.intrp.CSpIntrpModel.open(CSpIntrpModel.java:479)

>

> at spider.CSpider.instantiateFirstProjectInstance

> (CSpider.java:6404)

>

> at spider.CSpider.createAndSetNewProjectInstance

> (CSpider.java:6187)

>

> at spider.CSpider.allocateProjectUserContext

> (CSpider.java:5471)

>

> at spider.CSpider.preloadProjects(CSpider.java, Compiled Code)

>

> at spider.CSpider.initialize(CSpider.java:542)

>

> at com.iplanet.moko.netdyn.extract.PseudoCP.createProjects

> (PseudoCP.java:136)

>

> at com.iplanet.moko.netdyn.extract.PseudoCP.initialize

> (PseudoCP.java:106)

>

> at com.iplanet.moko.netdyn.extract.PseudoCP.<init>

> (PseudoCP.java, Compiled Code)

>

> at com.iplanet.moko.netdyn.tools.ExtractTool.invoke

> (ExtractTool.java, Compiled Code)

>

> at com.iplanet.moko.tools.gui.ToolInvocationThread.run

> (ToolInvocationThread.java, Compiled Code)

> ===================================

> Any more documentation availbale on how to migrate a common base

> page? I beleive that it would be a fairly common issue in NetD

> migrations.

>

>

> ===================================

> New PgCommon

>

> public class PgCommon extends ViewBeanBase implements ViewBean

> //]]SPIDER_CLASS END

> {

> //[[SPIDER_EVENTS BEGIN

> public static boolean DEBUG = true;

> //[[SPIDER_EVENT<this_onAfterInitEvent>

> /**

> *

> *

> */

> public PgCommon()

> {

> super("PgCommon");

>

>

> }

> public void this_onAfterInitEvent(CSpInitEvent event){

> Properties props =

> HRAdminProperties.getInstance();

> DEBUG = (props.getProperty

> ("hronlineadmin.debug").equals("TRUE"))?true:false;

> //CSpLog.setSendErrorsToHtml(false);

> //return (PROCEED);

> }

> //]]SPIDER_EVENT<this_onAfterInitEvent>

>

> //]]SPIDER_EVENTS END

> }

>

>

>

>

> In <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166136 158139046209">iPlanet-JATO@y...</a>, "Todd Fast" <<a href="/group/SunONE-JATO/post?protectID=189233080150012190218067203043129208071 ">toddwork@c...</a>> wrote:

> > Hi Sonal--

> >

> > > 2. Having some trouble deploying and working the

> > > MigtoolboxsampleAppWar.war

> > > - Used the prepackaged MigtoolSampleApp.war file

> > > - Deployment Tool not working on the war,

> > > - Deployed using iasdeploy deploymodule

> >

> > For iAS, you should simply need to open the WAR file in the GUI

> deployment

> > tool (NOTE: place the WAR file under the iAS root directory;

> otherwise, the

> > deployment tool will not work). It will warn you that there is no

> > iAS-specific descriptor. It will create one for you

> automatically. Save

> > the WAR file. Select the WAR file and deploy it to your server.

> >

> > > - used the url:

> > >

> <a href="http://localhost:8080/NASApp/MigtoolboxsampleAppWar/MigtoolboxSampleSE"&g t;http://localhost:8080/NASApp/MigtoolboxsampleAppWar/MigtoolboxSampleSE</a&g t;

> > > rvlet?page=IndexPage

> >

> > That URL is not correct. Instead, try this:

> >

> >

> <a href="http://localhost/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexP"&g t;http://localhost/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexP</a&g t;

> age

> >

> > Todd

>

>

> <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215 146166214017110250006230056039126077176105140127082088124241215002153">iPlane t-JATO-unsubscribe@egroups.com</a>

>

>

>

>

>

Guest at 2007-7-1 16:34:59 > top of Java-index,Development Tools,Java Tools...
# 4

Todd/Charles/Mike

1. The PgCommon problem was solved. Just had to make sure that all

PgXXXXXXViewBean classes extended from PgCommonViewBean which in turn

extended from ViewBeanBase.

2. Search Page with QBE: The NetDPage (PgSearchUser) is a QBE serach

page which pulls a ResultPage with a Repeated. The repaeted is bound

to a DataObject.

Did the code additions necessary to do QBE functionality. However the

result jsp throws an exception at the container view beginDisplay,

where it tries to a getDataModel. (The exception trace in kjs log is

not meaningful.) The constructor of the TiledView IS setting the

PrimaryDataModel to an existing datamodel.

Failed in running

template: /prHRAdminDEAppWar/prHRAdminDEApp/prHRAdminDE/PgResult.jsp,

javax.servlet.ServletException: Exception occurred invoking the

beginDisplay() event on container view "rLog"

Exception Stack Trace:

javax.servlet.ServletException: Exception occurred invoking the

beginDisplay() event on container view "rLog"

3. NON-JATO , iAS question. Running the iAS 6.0SP2 on a WinNT box

with 256 MB RAM. On running any database based page on iAS, kjs

crashes with a Dr.Watson error. Possible Causes , memory?

Thanks

Sonal.

Guest at 2007-7-1 16:34:59 > top of Java-index,Development Tools,Java Tools...
# 5

Todd/Charles/Mike

1. The PgCommon problem was solved. Just had to make sure that all

PgXXXXXXViewBean classes extended from PgCommonViewBean which in turn

extended from ViewBeanBase.

2. Search Page with QBE: The NetDPage (PgSearchUser) is a QBE serach

page which pulls a ResultPage with a Repeated. The repaeted is bound

to a DataObject.

Did the code additions necessary to do QBE functionality. However the

result jsp throws an exception at the container view beginDisplay,

where it tries to a getDataModel. (The exception trace in kjs log is

not meaningful.) The constructor of the TiledView IS setting the

PrimaryDataModel to an existing datamodel.

Failed in running

template: /prHRAdminDEAppWar/prHRAdminDEApp/prHRAdminDE/PgResult.jsp,

javax.servlet.ServletException: Exception occurred invoking the

beginDisplay() event on container view "rLog"

Exception Stack Trace:

javax.servlet.ServletException: Exception occurred invoking the

beginDisplay() event on container view "rLog"

3. NON-JATO , iAS question. Running the iAS 6.0SP2 on a WinNT box

with 256 MB RAM. On running any database based page on iAS, kjs

crashes with a Dr.Watson error. Possible Causes , memory?

Thanks

Sonal.

Guest at 2007-7-1 16:34:59 > top of Java-index,Development Tools,Java Tools...