Just as an FYI, using Kathrins suggestion

(How to For Dummies: Select Debug view by going to "Window|Open
Perspective|Debug" and then select the debug window by going to
"Window|Show View|Debug" then right click the last item in the list
shown  and select "properties")

The result I was getting from there (which looks like a very long
list) is shown below (It seems pretty long because it includes a lot
of "C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib" references. I
have now changed this path and reimported it so that its now "C:
\Program Files\eclipse\plugins\com.google.appengine.eclipse.sdkbundle.
1.3.2\appengine-java-sdk-1.3.2\" (which is 20 characters shorter) This
equates to at least 420 characters less in the whole classpath(!!)
which should suggest that its not the length of the classpath that is
the problem.....

I will now try to figure out how to run the enhancer from the command
line, but if anyone has any other ideas in the mean time, please do
let me know!

 "C:\Program Files\Java\jre6\bin\javaw.exe" -Xmx512m "-javaagent:C:
\Program Files\eclipse\plugins\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\agent\appengine-
agent.jar" -Dfile.encoding=Cp1252 -classpath "C:\Documents and Settings
\John\My Documents\_DeBa\ideba\iDeBanet\src;C:\Documents and Settings
\John\My Documents\_DeBa\ideba\iDeBanet\war\WEB-INF\classes;C:\Program
Files\eclipse\plugins\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\shared
\appengine-local-runtime-shared.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\shared\geronimo-
el_1.0_spec-1.0.1.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\shared\geronimo-
jsp_2.1_spec-1.0.1.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\shared\geronimo-
servlet_2.5_spec-1.2.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\shared\jsp
\repackaged-appengine-ant-1.6.5.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\shared\jsp
\repackaged-appengine-ant-launcher-1.6.5.jar;C:\Program Files\eclipse
\plugins\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\shared\jsp
\repackaged-appengine-commons-el-1.0.jar;C:\Program Files\eclipse
\plugins\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\shared\jsp
\repackaged-appengine-commons-logging-1.1.1.jar;C:\Program Files
\eclipse\plugins\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\shared\jsp
\repackaged-appengine-jasper-compiler-5.0.28.jar;C:\Program Files
\eclipse\plugins\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\shared\jsp
\repackaged-appengine-jasper-runtime-5.0.28.jar;C:\Program Files
\eclipse\plugins\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\user\appengine-
api-1.0-sdk-1.3.2.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\user\appengine-
api-labs-1.3.2.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\user\appengine-
jsr107cache-1.3.2.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\user
\jsr107cache-1.1.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\user\orm
\datanucleus-appengine-1.0.6.final.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\user\orm
\datanucleus-core-1.1.5.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\user\orm
\datanucleus-jpa-1.1.5.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\user\orm
\geronimo-jpa_3.0_spec-1.1.1.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\user\orm
\geronimo-jta_1.1_spec-1.1.1.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\user\orm\jdo2-
api-2.3-eb.jar;C:\Program Files\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle.
1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2\lib\appengine-tools-
api.jar;C:\Program Files\eclipse\plugins
\com.google.gwt.eclipse.sdkbundle.
2.0.3_2.0.3.v201002191036\gwt-2.0.3\gwt-user.jar;C:\Program Files
\eclipse\plugins\com.google.gwt.eclipse.sdkbundle.
2.0.3_2.0.3.v201002191036\gwt-2.0.3\gwt-dev.jar"
com.google.gwt.dev.DevMode -remoteUI 1707:344705537223585 -startupUrl
IDeBanet.html -logLevel INFO -port 8888 -war "C:\Documents and Settings
\John\My Documents\_DeBa\ideba\iDeBanet\war" -server
com.google.appengine.tools.development.gwt.AppEngineLauncher
com.ideba.net.IDeBanet

On Apr 6, 8:07 pm, John V Denley <johnvden...@googlemail.com> wrote:
> Thanks for all your hints and tips guys, I will have a go at trying to
> figure out what to do from everything you have written although at the
> moment it all sounds like double dutch to me (im not a "real"
> programmer- just someone who has managed to learn everything ive
> needed to do to get a web app up and running over the last 6-8 months,
> with great help from GWT/GAE, this community and lots and lots of
> google searches!!!)
>
> Thanks again for the help so far. Its amazing how many times ive found
> people saying "maybe your classpath is too long" with absolutely no
> information about how to fix that, or even find out how long it is!
> LOL.... If I figure it out, ill try to write it up in "idiot" terms!
> J
>
> On Apr 6, 7:40 pm, Isaac Truett <itru...@gmail.com> wrote:
>
> > Thanks, Miguel!
>
> > John, I'd suggest trying to run com.google.appengine.tools.enhancer.Enhance
> > from the command line and see if you get the same error. See Enhancing Data
> > Classes at the docs URL Miguel provided. And you should be able to get the
> > classpath that Eclipse constructs from your project's build path by running
> > Development Mode and using the technique Kathrin provided. I'd start with
> > enhancing just one class file and see if it gets tripped up by the length of
> > the classpath.
>
> > 2010/4/6 Miguel Méndez <mmen...@google.com>
>
> > > You are right.  It won't show up there since we don't create a launch
> > > configuration for enhancement.  Basically, we launch the enhancer as
> > > described in
> > >http://code.google.com/appengine/docs/java/datastore/usingjdo.html"Enhancing
> > > Data Classes" section.  The problem could be the length of the
> > > classpath or the length of the classes that we pass to the enhancer.
>
> > > 2010/4/6 Isaac Truett <itru...@gmail.com>
>
> > > @Kathrin -  That is a really useful feature. But I don't think the 
> > > Enhancer
> > >> is going to show up in that list since it's run in the background by the
> > >> plugin, rather than being launched by the user.
>
> > >> @Miguel&Keith - Do either of you have greater insight into the 
> > >> DataNucleus
> > >> Enhancer and what parameters it/GPE might use that javaw could choke on?
>
> > >> On Tue, Apr 6, 2010 at 11:55 AM, Katharina Probst 
> > >> <kpro...@google.com>wrote:
>
> > >>> In eclipse, if you go to the Debug view and right-click on the task
> > >>> (under debug, it might say "<terminated...>".  If you go to Properties,
> > >>> it'll show the classpath that was actually run.
>
> > >>> I'm not sure this helps, but it's happened to me before that I changed
> > >>> something that messed with the classpath in eclipse, and reverting that
> > >>> change didn't actually revert the classpath...
>
> > >>> kathrin
>
> > >>> On Tue, Apr 6, 2010 at 11:44 AM, Isaac Truett <itru...@gmail.com> wrote:
>
> > >>>> I was thinking of libraries on the classpath rather than source files.
> > >>>> But I don't even know for a fact that the DataNucleus Enhancer uses the
> > >>>> project's buildpath. That's something the GPE folks would know.
>
> > >>>> On Mon, Apr 5, 2010 at 4:28 PM, John V Denley <
> > >>>> johnvden...@googlemail.com> wrote:
>
> > >>>>> Yes, Isaac, this is something I have seen elsewhere, but I use eclipse
> > >>>>> and I have no idea how to find out how long my classpath is......
>
> > >>>>> As far as I can tell all my java files are in :
> > >>>>> C:\Documents and Settings\John\My Documents\_DeBa\ideba\iDeBanet\src
> > >>>>> \com\ideba\net\client
> > >>>>> (I have 12 *.java files in here, recently increased to 13, which is
> > >>>>> when it started to fail, but I have rolled back to a previous version
> > >>>>> now)
> > >>>>> and
> > >>>>> C:\Documents and Settings\John\My Documents\_DeBa\ideba\iDeBanet\src
> > >>>>> \com\ideba\net\server
> > >>>>> (I have 14 *.java  in here (this has not changed in months))
>
> > >>>>> Java build path is set to idebanet/src Included (All) and Excluded
> > >>>>> (none) Native library location (none)
>
> > >>>>> If you can point me anywhere else to look or test, Ill do anything to
> > >>>>> sort this out
>
> > >>>>> On Apr 5, 5:42 pm, Isaac Truett <itru...@gmail.com> wrote:
> > >>>>> > John,
>
> > >>>>> > This may be completely out of left field, but has your classpath
> > >>>>> grown
> > >>>>> > recently? I've known java/javaw to fail due to excessively long
> > >>>>> classpaths.
> > >>>>> > Even just moving files up a few directories can make the difference.
>
> > >>>>> > - Isaac
>
> > >>>>> > On Mon, Apr 5, 2010 at 12:18 PM, John V Denley
> > >>>>> > <johnvden...@googlemail.com>wrote:
>
> > >>>>> > > Im on the train now... hoping my connection holds up, but just
> > >>>>> incase
> > >>>>> > > it helps, I have now rolled back to a version of the code that I
> > >>>>> > > comiled and deployed successfully last night, and Im still getting
> > >>>>> > > this error, so something else has changed, and its not me thats
> > >>>>> > > changed it... this must be something that Eclipse or Java compiler
> > >>>>> is
> > >>>>> > > picking up from somewhere else!.....
>
> > >>>>> > > On Apr 5, 3:53 pm, John V Denley <johnvden...@googlemail.com>
> > >>>>> wrote:
> > >>>>> > > > What is this message telling me?
>
> > >>>>> > > > 'DataNucleus Enhancer' has encountered a problem
>
> > >>>>> > > > Cannot run program "C:\Program Files\Java\jre6\bin\javaw.exe" 
> > >>>>> > > > (in
> > >>>>> > > > directory "C:\Documents and Settings\John\My
> > >>>>> Documents\_DeBa\ideba
> > >>>>> > > > \iDeBanet"): CreateProcess error=87, The parameter is incorrect
> > >>>>> > > > Cannot run program "C:\Program Files\Java\jre6\bin\javaw.exe" 
> > >>>>> > > > (in
> > >>>>> > > > directory "C:\Documents and Settings\John\My
> > >>>>> Documents\_DeBa\ideba
> > >>>>> > > > \iDeBanet"): CreateProcess error=87, The parameter is incorrect
>
> > >>>>> > > > I cant seem to find anything helpful anywhere on the web, all I
> > >>>>> can
> > >>>>> > > > find is suggestions that my classpath is too long for windows,
> > >>>>> but I
> > >>>>> > > > dont know where to figure out what my classpath length is, plus
> > >>>>> its
> > >>>>> > > > not THAT big a project, so im surprised ive hit any kind of
> > >>>>> limit,
> > >>>>> > > > although I HAVE just included one additional *.java file in my
> > >>>>> client
> > >>>>> > > > directory, but I have tried taking that out and recompiling
> > >>>>> clean, and
> > >>>>> > > > its still happening!
>
> > >>>>> > > > Is this a GAE problem? or an Eclipse problem or a Java problem?
>
> > >>>>> > > > Any pointers would be really helpful, as i have a deadline for
> > >>>>> > > > tomorrow, the code is all done, I just cant seem to deploy it!
>
> > >>>>> > > > Thanks,
> > >>>>> > > > John
> > >>>>> > > > PS Im posting this on the GAE javagrouptoo, as I have to catch a
> > >>>>> > > > train now, and will be back later to see if anyone has replied!
>
> > >>>>> > > --
> > >>>>> > > You received this message because you are subscribed to the Google
> > >>>>> Groups
> > >>>>> > > "Google Web Toolkit" group.
> > >>>>> > > To post to this group, send email to
> > >>>>> google-web-tool...@googlegroups.com.
> > >>>>> > > To unsubscribe from this group, send email to
> > >>>>> > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> > >>>>> <google-web-toolkit%2bunsubscr...@googlegroups.com<google-web-toolkit%252bunsubscr...@googlegroups.com>
>
> > >>>>> > > .
> > >>>>> > > For more options, visit this group at
> > >>>>> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > >>>>> --
> > >>>>> You received this message because you are subscribed to the Google
> > >>>>> Groups "Google Web Toolkit" group.
> > >>>>> To post to this group, send email to
> > >>>>> google-web-tool...@googlegroups.com.
> > >>>>> To unsubscribe from this group, send email to
> > >>>>> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> > >>>>> .
> > >>>>> For more options, visit this group at
> > >>>>>http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > >>>>  --
> > >>>> You received this message because you are subscribed to the Google
> > >>>> Groups "Google Web Toolkit" group.
> > >>>> To post to this group, send email to
> > >>>> google-web-tool...@googlegroups.com.
> > >>>> To unsubscribe from this group, send email to
> > >>>> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> > >>>> .
> > >>>> For more options, visit this group at
> > >>>>http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > >>>  --
> > >>> You received this message because you are subscribed to the Google 
> > >>> Groups
> > >>> "Google Web Toolkit" group.
> > >>> To post to this group, send email to google-web-toolkit@googlegroups.com
> > >>> .
> > >>> To unsubscribe from this group, send email to
> > >>> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> > >>> .
> > >>> For more options, visit this group at
> > >>>http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > > --
> > > Miguel

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to