Re: maven jar:deploy hangs - zombie processes (mkdir and chmod)

2005-09-05 Thread Martin Burger

Martin Burger schrieb am 02.09.2005 14:05:

I want to deploy a jar to my remote repository. But the goal 
jar:deploy hangs. On the linux machine (Debian Sarge) there are some 
zombie / defunct processes. If I kill such a process, the goal 
continues until the next process hangs. The processes are [mkdir] 
defunct and [chmod] defunct.



Setting LogLevel in /etc/ssh/sshd_config to VERBOSE instead of DEBUG 
solves that issue, no zombie processes anymore.


See: http://bugzilla.mindrot.org/show_bug.cgi?id=967

Regards,
Martin



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: maven jar:deploy hangs - zombie processes (mkdir and chmod)

2005-09-02 Thread Jörg Schaible
Martin Burger wrote on Friday, September 02, 2005 2:06 PM:

 Hello!
 
 I want to deploy a jar to my remote repository. But the goal
 jar:deploy hangs. On the linux machine (Debian Sarge) there are some
 zombie / defunct processes. If I kill such a process, the goal
 continues until
 the next process hangs. The processes are [mkdir] defunct and
 [chmod] defunct. 
 
 Here's my configuration for the artifact plugin:
 
 maven.repo.list=foorepo 
 maven.repo.foorepo=scpexe://host.some.where
 maven.repo.foorepo.username=auser
 maven.repo.foorepo.directory=/tmp
 maven.repo.foorepo.compress=true
 maven.repo.foorepo.ssh.executable=C:\\Programme\\Remote\\PuTTY\\plink.exe
 maven.repo.foorepo.ssh.args=-A -2 -ssh
 maven.repo.foorepo.scp.executable=C:\\Programme\\Remote\\PuTTY\\pscp.exe
 maven.repo.foorepo.scp.args=-2 

 Any ideas?

Well, yes. You execute Maven on Linux and expect it to respect DOS/Windows 
paths and executables. So what do you expect?

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: maven jar:deploy hangs - zombie processes (mkdir and chmod)

2005-09-02 Thread Yann Le Du
Well, IMHO, maven.repo.foorepo.ssh.executable and
maven.repo.foorepo.scp.executable seem like they have to be Windows
executables, since the jar has to be deployed from Windows to Linux...


--- Jörg Schaible [EMAIL PROTECTED] a écrit :

 Martin Burger wrote on Friday, September 02, 2005 2:06 PM:
 
  Hello!
  
  I want to deploy a jar to my remote repository. But the goal
  jar:deploy hangs. On the linux machine (Debian Sarge) there are some
  zombie / defunct processes. If I kill such a process, the goal
  continues until
  the next process hangs. The processes are [mkdir] defunct and
  [chmod] defunct. 
  
  Here's my configuration for the artifact plugin:
  
  maven.repo.list=foorepo 
  maven.repo.foorepo=scpexe://host.some.where
  maven.repo.foorepo.username=auser
  maven.repo.foorepo.directory=/tmp
  maven.repo.foorepo.compress=true
  maven.repo.foorepo.ssh.executable=C:\\Programme\\Remote\\PuTTY\\plink.exe
  maven.repo.foorepo.ssh.args=-A -2 -ssh
  maven.repo.foorepo.scp.executable=C:\\Programme\\Remote\\PuTTY\\pscp.exe
  maven.repo.foorepo.scp.args=-2 
 
  Any ideas?
 
 Well, yes. You execute Maven on Linux and expect it to respect DOS/Windows
 paths and executables. So what do you expect?
 
 - Jörg
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: maven jar:deploy hangs - zombie processes (mkdir and chmod)

2005-09-02 Thread Jörg Schaible
Yann Le Du wrote on Friday, September 02, 2005 2:48 PM:

 Well, IMHO, maven.repo.foorepo.ssh.executable and
 maven.repo.foorepo.scp.executable seem like they have to be
 Windows executables, since the jar has to be deployed from Windows to
 Linux... 

OK, this is different. In that case I assume, that he had not started the putty 
agent and Maven is waiting for manual input.

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: maven jar:deploy hangs - zombie processes (mkdir and chmod)

2005-09-02 Thread Martin Burger

Jörg Schaible schrieb am 02.09.2005 14:42:


Well, yes. You execute Maven on Linux and expect it to respect DOS/Windows 
paths and executables. So what do you expect?



Because I deploy from a German Windows XP machine to a Debian box I 
expect that it works. ;-)


Regards,
Martin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: maven jar:deploy hangs - zombie processes (mkdir and chmod)

2005-09-02 Thread Martin Burger




Jrg Schaible schrieb am 02.09.2005 14:51:

  
Well, IMHO, maven.repo.foorepo.ssh.executable and
maven.repo.foorepo.scp.executable seem like they have to be
Windows executables, since the jar has to be deployed from Windows to
Linux... 

  
  
OK, this is different. In that case I assume, that he had not started the putty agent and Maven is waiting for manual input.


No, plink causes the zombie processes. That means that it can connect
the server. After killing some zombie processes, pscp copies the file
to the server. After that there are again some zombie processes causesd
by plink.

Regards,
 Martin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: maven jar:deploy hangs - zombie processes (mkdir and chmod)

2005-09-02 Thread Martin Burger

Martin Burger schrieb am 02.09.2005 14:53:

Because I deploy from a German Windows XP machine to a Debian box I 
expect that it works. ;-)



Uups, that does not mean that a German XP is better as another one. But 
perhaps the different languages on the systems cause the problem...


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: maven jar:deploy hangs - zombie processes (mkdir and chmod)

2005-09-02 Thread Jörg Schaible
Martin Burger wrote on Friday, September 02, 2005 2:56 PM:

 Jörg Schaible schrieb am 02.09.2005 14:51:
 Well, IMHO, maven.repo.foorepo.ssh.executable and
 maven.repo.foorepo.scp.executable seem like they have to be
 Windows executables, since the jar has to be deployed from Windows to
 Linux...
 
 
 OK, this is different. In that case I assume, that he had not started
 the putty agent and Maven is waiting for manual input. 
 
 No, plink causes the zombie processes. That means that it can connect
 the server. After killing some zombie processes, pscp copies the file
 to the server. After that there are again some zombie processes
 causesd by plink.  

What happens if you start plink manually (with the options from the Maven 
proeprties file)?
Get the executed command from Maven by calling it with -X option.

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: maven jar:deploy hangs - zombie processes (mkdir and chmod)

2005-09-02 Thread Martin Burger

Jörg Schaible schrieb am 02.09.2005 15:06:


What happens if you start plink manually (with the options from the Maven 
proeprties file)?
Get the executed command from Maven by calling it with -X option.



Using -X option shows a lot of [DEBUG] messages, but no commands:

[DEBUG] Could not load class 
(org.apache.tools.ant.taskdefs.optional.ejb.DDCreator) for type ddcreator

   [echo] Deploying...
Using userBuildPropertiesFile: C:\Dokumente und Einstellungen\Martin 
Burger\build.properties
Using projectPropertiesFile: 
E:\Uni\DiplInf\repository\trunk\ddchange-framework-debugging\project.properties
Using projectBuildPropertiesFile: 
E:\Uni\DiplInf\repository\trunk\ddchange-framework-debugging\build.properties

Will deploy to 1 repository(ies): ddchangerepo
Deploying to repository: ddchangerepo
Uploading to 
deltadebugging/poms/ddchange-framework-debugging-0.1.1-SNAPSHOT.pom:



Regards,
   Martin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: maven jar:deploy hangs - zombie processes (mkdir and chmod)

2005-09-02 Thread Martin Burger

Jörg Schaible schrieb am 02.09.2005 15:06:


What happens if you start plink manually (with the options from the Maven 
proeprties file)



C:\\Programme\\INet\\Remote\\PuTTY\\plink.exe -A -2 -ssh 
[EMAIL PROTECTED]

Using username auser.
Linux ahost 2.6.11.9-050512a #1 SMP Thu May 12 20:53:02 CEST 2005 i686 
GNU/Linux


The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.



Then the loudspeaker of my PC beeps and I have a login shell. There are 
some escape characters, but plinks spawn's the mkdir process, so I think 
these character should be no problem.


Regards,
   Martin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: maven jar:deploy hangs - zombie processes (mkdir and chmod)

2005-09-02 Thread Jörg Schaible
Martin Burger wrote on Friday, September 02, 2005 3:35 PM:

 Jörg Schaible schrieb am 02.09.2005 15:06:
 
 What happens if you start plink manually (with the options from the
 Maven proeprties file) 
 
 
  C:\\Programme\\INet\\Remote\\PuTTY\\plink.exe -A -2 -ssh
 [EMAIL PROTECTED] Using username auser.

Just start a remote command:

plink -A -2 -ssh [EMAIL PROTECTED] ls -l

This should give you a list of your home directory on the remote server. You 
should not have to press any key or logout manually.

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: maven jar:deploy hangs - zombie processes (mkdir and chmod)

2005-09-02 Thread Martin Burger

Jörg Schaible schrieb am 02.09.2005 16:00:


Just start a remote command:

plink -A -2 -ssh [EMAIL PROTECTED] ls -l

This should give you a list of your home directory on the remote server. You 
should not have to press any key or logout manually.



Strange.

plink.exe -A -2 -ssh [EMAIL PROTECTED] ls -l

That causes a zombie process. After killing the process, the command 
works. If I want to list another dir, zombie process again. After 
killing that process, I can list that second dir. So, sometimes it 
works, sometimes not. Any idea?


Regards, Martin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: maven jar:deploy hangs - zombie processes (mkdir and chmod)

2005-09-02 Thread Jörg Schaible
Martin Burger wrote on Friday, September 02, 2005 4:45 PM:

 Jörg Schaible schrieb am 02.09.2005 16:00:
 
 Just start a remote command:
 
 plink -A -2 -ssh [EMAIL PROTECTED] ls -l
 
 This should give you a list of your home directory on the remote
 server. You should not have to press any key or logout manually.
 
 
 Strange.
 
  plink.exe -A -2 -ssh [EMAIL PROTECTED] ls -l
 
 That causes a zombie process. After killing the process, the command
 works. If I want to list another dir, zombie process again. After
 killing that process, I can list that second dir. So, sometimes it
 works, sometimes not. Any idea?

No, not really. You might ask a SysAdmin. But as long as it behaves in this 
way, Maven will not do better.

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]