Extraction Tool
Hi all,
when I run the extraction tool for this particular project I get this
error for all most all pages except a few. Any ideas on this. What
areas I need to look into this.
TRACE: Entering: -> [Page], Name [pgPollResults]
ERROR: <E001> Error detected: ObjectType [Page], Name
[pgPollResults]
com.iplanet.moko.netdyn.extract.ExtractionException
java.io.FileNotFoundException: Cannot find file '.htm'
at
com.iplanet.moko.netdyn.extract.adapters.CSpFileBasedXmlAdapter.getSpi
derFile(CSpFileBasedXmlAdapter.java, Compiled Code)
at java.lang.Exception.<init>(Exception.java, Compiled Code)
at java.io.IOException.<init>(IOException.java, Compiled Code)
at java.io.FileNotFoundException.<init>
(FileNotFoundException.java, Compiled Code)
at
com.iplanet.moko.netdyn.extract.adapters.CSpFileBasedXmlAdapter.getSpi
derFile(CSpFileBasedXmlAdapter.java, Compiled Code)
at
com.iplanet.moko.netdyn.extract.adapters.CSpCommonHtmlPageXmlAdapter.w
riteHtmlTemplateRaw(CSpCommonHtmlPageXmlAdapter.java, Compiled Code)
at
com.iplanet.moko.netdyn.extract.adapters.CSpCommonHtmlPageXmlAdapter.a
ddAttributes(CSpCommonHtmlPageXmlAdapter.java, Compiled Code)
at
com.iplanet.moko.netdyn.extract.adapters.CSpPageXmlAdapter.addAttribut
es(CSpPageXmlAdapter.java, Compiled Code)
at
com.iplanet.moko.netdyn.extract.adapters.CSpPageXmlAdapter.extract
(CSpPageXmlAdapter.java, Compiled Code)
at
com.iplanet.moko.netdyn.extract.adapters.CSpProjectXmlAdapter.addPageE
lements(CSpProjectXmlAdapter.java, Compiled Code)
at
com.iplanet.moko.netdyn.extract.adapters.CSpProjectXmlAdapter.addChild
Elements(CSpProjectXmlAdapter.java:259)
at
com.iplanet.moko.netdyn.extract.adapters.CSpProjectXmlAdapter.extract
(CSpProjectXmlAdapter.java:131)
at com.iplanet.moko.netdyn.extract.PseudoCP.createProjectNode
(PseudoCP.java:435)
at com.iplanet.moko.netdyn.extract.PseudoCP.createProjectNodes
(PseudoCP.java, Compiled Code)
at com.iplanet.moko.netdyn.extract.PseudoCP.extract
(PseudoCP.java:208)
at com.iplanet.moko.netdyn.extract.PseudoCP.extract
(PseudoCP.java:167)
at com.iplanet.moko.netdyn.tools.ExtractTool.invoke
(ExtractTool.java, Compiled Code)
at com.iplanet.moko.tools.gui.ToolInvocationThread.run
(ToolInvocationThread.java, Compiled Code)
Thanks
Namburi
[2631 byte] By [
Guest] at [2007-11-25 9:26:40]

Hi Michael,
> Do you see exactly that for the FileNotFoundException message?
> Do you see exactly:
> > > java.io.FileNotFoundException: Cannot find file '.htm'
>
Yes, I see exactly the above error. Not
> 'c:\migtoolbox-1.1.1work\NDProjects\YourProject\pgPollResults.htm')
> Please verify that this problem occurs on more than one istallation
of the tool, and on an installation that succeeds in extracting other
projects. It could be that there is something about your install of
the tool that is not correct (i.e. environmental problem)., so
before we dig into this deeper, try to reproduce problem on another
install please
>I tried to run on this on my collegues machine. He is also getting
the same error. I am able to migrate sample application and some of
my test projects successfully.
Certain things I need to specify here. I did not convert my project
to ND5. I am using ND4.1.3 project directly here. Because Earlier I
was able to migrate a small project from ND4.1.3 using imt1.1 without
compiling in ND5. Is this causing the problem?
> One final question. Is it possible that your template files end
in .html instead of .htm?
My ND is creating .htm files. I also have no idea where to specify a
diffrent extension in ND. A small project I had converted using the
tool has .htm extensions. I had no problem in running the extraction
and translation tools.
In this project also, about 5 pages were extracted successfully their
html files also have .htm extensions for the rest of the pages I am
getting this error.
Thanks
Namburi
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:
> Hi Namburi,
>
> Can you please clarify something.
>
> You write that you see the following:
>
> > > TRACE: Entering: -> [Page], Name [pgPollResults]
> > > ERROR: <E001> Error detected: ObjectType [Page], Name
> > > [pgPollResults]
> > >
> > > com.iplanet.moko.netdyn.extract.ExtractionException
> > > java.io.FileNotFoundException: Cannot find file '.htm'
> >
>
> Do you see exactly that for the FileNotFoundException message?
> Do you see exactly:
> > > java.io.FileNotFoundException: Cannot find file '.htm'
>
> or do you see something more specific like:
> java.io.FileNotFoundException: Cannot find file
> 'c:\migtoolbox-1.1.1\work\NDProjects\YourProject\pgPollResults.htm'
>
> If it is exactly as you wrote, (i.e. '.htm") it suggests that
somehow the
> extraction tool does not know the name of the page, if it is the
alternative
> message (i.e.
> 'c:\migtoolbox-1.1.1
\work\NDProjects\YourProject\pgPollResults.htm') then it
> suggests that the tool knows the name of the file but cannot find
it. They
> represent two distinct situations.
>
> I suspect it is as you orginally wrote, but I wanted to clarify.
>
> If it is as you originally wrote, then something more fundamental
is wrong.
> Have you succeeded in extracting/translating the sample
application, or
> other applications with the tool? Have you tried asking any of your
> coleagues to attempt the extraction on their machines?
>
> Please verify that this problem occurs on more than one istallation
of the
> tool, and on an installation that succeeds in extracting other
projects. It
> could be that there is something about your install of the tool
that is not
> correct (i.e. environmental problem)., so before we dig into this
deeper,
> try to reproduce problem on another install please.
>
> One final question. Is it possible that your template files end
in .html
> instead of .htm?
> I just checked NetDynamics and I don't see anywhere to specify a
different
> extension, but I might just be missing something. I wonder if the
extraction
> tool is assuming a .htm extenstion. Please let me know the story
with your
> files.
Guest at 2007-7-1 16:31:11 >
