tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronald Klop <ronald-mailingl...@base.nl>
Subject Re: error in clustering: NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength
Date Fri, 17 Jun 2011 09:42:05 GMT



Op donderdag, 16 juni 2011 18:55 schreef Christopher Schultz <chris@christopherschultz.net>:
> 
>   
>  -----BEGIN PGP SIGNED MESSAGE-----
>  Hash: SHA1
>  
>  Ronald,
>  
>  On 6/16/2011 11:40 AM, Ronald Klop wrote:
>  > I created a release package. First had to find a computer with Windows,
>  > because it needs wine (I didn't want to learn wine on FreeBSD today),
>  > but ok it builds now.
>  
>  Wait, what? Why do you need Wine?
>  
>  > Now I'll wait for my precious bug fix to get committed to 6. :-)
>  
>  I've voted for the fix. ;)
>  
>  - -chris
>  -----BEGIN PGP SIGNATURE-----
>  Version: GnuPG v1.4.10 (MingW32)
>  Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>  
>  iEYEARECAAYFAk36NZ0ACgkQ9CaO5/Lv0PAZ/ACeMUI4mDW6Y7t0Xu3+2OMPJmSH
>  BgAAn359rasGTifpr81xlrnzfdDtOzZg
>  =jBjN
>  -----END PGP SIGNATURE-----
>  
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>  For additional commands, e-mail: users-help@tomcat.apache.org
>   
>  
> 
> 
>   

 
 Chris, thanks for the vote.

 Regarding 'wine'. I followed all steps from BUILDING.txt. The last one is below. Maybe I
don't need the 'release' step, but it makes deployment in my network easy, because we arranged
things around the .tar.gz files from the Tomcat site.
 Darn, I look closer now and see the 'unless="skip.installer"' in dist.xml. Thanks, I'm very
close to debugging Tomcat myself. Is it easy to edit Tomcat in a Eclipse project? Or what
do you guys use?

 Ronald.

 $ ant -f dist.xml release
 Buildfile: /data/software/tomcat/tc6.0.x/trunk/dist.xml

 clean:
    [delete] Deleting directory /data/software/tomcat/tc6.0.x/trunk/output/deployer
    [delete] Deleting directory /data/software/tomcat/tc6.0.x/trunk/output/dist

 dist-prepare:
     [mkdir] Created dir: /data/software/tomcat/tc6.0.x/trunk/output/dist
     [mkdir] Created dir: /data/software/tomcat/tc6.0.x/trunk/output/dist/bin
     [mkdir] Created dir: /data/software/tomcat/tc6.0.x/trunk/output/dist/conf
     [mkdir] Created dir: /data/software/tomcat/tc6.0.x/trunk/output/dist/lib
     [mkdir] Created dir: /data/software/tomcat/tc6.0.x/trunk/output/dist/logs
     [mkdir] Created dir: /data/software/tomcat/tc6.0.x/trunk/output/dist/temp
     [mkdir] Created dir: /data/software/tomcat/tc6.0.x/trunk/output/dist/webapps
     [mkdir] Created dir: /data/software/tomcat/tc6.0.x/trunk/output/dist/work

 dist-static:
      [copy] Copying 4 files to /data/software/tomcat/tc6.0.x/trunk/output/dist
      [copy] Copying 22 files to /data/software/tomcat/tc6.0.x/trunk/output/dist/bin
      [copy] Copying 15 files to /data/software/tomcat/tc6.0.x/trunk/output/dist/lib
      [copy] Copying 7 files to /data/software/tomcat/tc6.0.x/trunk/output/dist/conf
      [copy] Copying 442 files to /data/software/tomcat/tc6.0.x/trunk/output/dist/webapps
     [touch] Creating /data/software/tomcat/tc6.0.x/trunk/output/dist/temp/safeToDelete.tmp
      [copy] Copying 1 file to /data/software/tomcat/tc6.0.x/trunk/output/dist/bin
      [copy] Copying 1 file to /data/software/tomcat/tc6.0.x/trunk/output/dist/bin
      [copy] Copying 1 file to /data/software/tomcat/tc6.0.x/trunk/output/dist/bin/x64
      [copy] Copying 1 file to /data/software/tomcat/tc6.0.x/trunk/output/dist/bin/i64
      [copy] Copying 1 file to /data/software/tomcat/tc6.0.x/trunk/output/dist/bin
      [copy] Copying 1 file to /data/software/tomcat/tc6.0.x/trunk/output/dist/bin/x64
      [copy] Copying 1 file to /data/software/tomcat/tc6.0.x/trunk/output/dist/bin/i64

 dist-deployer:
      [copy] Copying 7 files to /data/software/tomcat/tc6.0.x/trunk/output/deployer/lib
       [jar] Building jar: /data/software/tomcat/tc6.0.x/trunk/output/deployer/lib/catalina-deployer.jar
      [copy] Copying 1 file to /data/software/tomcat/tc6.0.x/trunk/output/deployer
      [copy] Copying 2 files to /data/software/tomcat/tc6.0.x/trunk/output/deployer
      [copy] Copying 1 file to /data/software/tomcat/tc6.0.x/trunk/output/deployer

 installer:
      [echo] Builds a Windows installer based on Nullsoft Installer
      [copy] Copying 41 files to /data/software/tomcat/tc6.0.x/trunk/output/dist
      [copy] Copying 1 file to /data/software/tomcat/tc6.0.x/trunk/output/dist
      [copy] Copying 1 file to /data/software/tomcat/tc6.0.x/trunk/output/dist
      [copy] Copying 1 file to /data/software/tomcat/tc6.0.x/trunk/output/dist
      [copy] Copying 1 file to /data/software/tomcat/tc6.0.x/trunk/output/dist

 BUILD FAILED
 /data/software/tomcat/tc6.0.x/trunk/dist.xml:330: Execute failed: java.io.IOException: Cannot
run program "wine" (in directory "/data/software/tomcat/tc6.0.x/trunk/output/dist"): java.io.IOException:
error=2, No such file or directory
         at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
         at java.lang.Runtime.exec(Runtime.java:610)
         at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
         at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
         at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
         at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
         at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
         at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:616)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.Main.runBuild(Main.java:809)
         at org.apache.tools.ant.Main.startAnt(Main.java:217)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
 Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
         at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
         at java.lang.ProcessImpl.start(ProcessImpl.java:81)
         at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
         ... 23 more

 Total time: 4 seconds

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message