Re: [daemon] Problem using procrun for Java service

2015-01-28 Thread Bernd Eckenfels
Hm,

you can try the following:

a) specify the JVM directly, maybe the auto does not work outside a
user session.
b) try tu use the prunmsgr to edit the settings instead of the command
line
c) turn on logging and check the logfile

Is the S:\ drive a share? can you try with a local disk as well?
(permission)

What is the user you use to start the service? try to enter a user
account (do this in the service manager so the user gets the required
permission).

Gruss
Bernd


Am Wed, 28 Jan 2015 10:31:58 -0500
schrieb "Wong, Nancy" :

> I have installed my java application as a Windows service using
> following:
> 
> prunsrv.exe //IS//SG_FileSync --Install="S:\Automation\prunsrv.exe"
> --Jvm=auto --Startup=auto --StartMode jvm
> --Classpath="S:\Automation\SG_FileSync.jar" --StartClass=SyncFile
> --StartMethod=main
> 
> I can run the program successfully in console mode:
> 
> prunsrv.exe //TS//SG_FileSync
> 
> But I cannot start the service directly in Windows, or using
> prunsrv.exe //ES//SG_FileSync or via prunmgr.  I get the following
> error message:
> 
> The system cannot find the file specified.  Failed to start service.
> 
> What am I able to run my application in console mode but not using ES?
> 
> Thanks,
> Nancy
> 
> 
> 
> 
> The information contained in this message is intended only for the
> recipient, and may be a confidential attorney-client communication or
> may otherwise be privileged and confidential and protected from
> disclosure. If the reader of this message is not the intended
> recipient, or an employee or agent responsible for delivering this
> message to the intended recipient, please be aware that any
> dissemination or copying of this communication is strictly
> prohibited. If you have received this communication in error, please
> immediately notify us by replying to the message and deleting it from
> your computer. McGraw Hill Financial reserves the right, subject to
> applicable local law, to monitor, review and process the content of
> any electronic message or information sent to or from McGraw Hill
> Financial e-mail addresses without informing the sender or recipient
> of the message. By sending electronic message or information to
> McGraw Hill Financial e-mail addresses you, as the sender, are
> consenting to McGraw Hill Financial processing any of your personal
> data therein.
> 


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



[daemon] Problem using procrun for Java service

2015-01-28 Thread Wong, Nancy
I have installed my java application as a Windows service using following:

prunsrv.exe //IS//SG_FileSync --Install="S:\Automation\prunsrv.exe" --Jvm=auto 
--Startup=auto --StartMode jvm --Classpath="S:\Automation\SG_FileSync.jar" 
--StartClass=SyncFile --StartMethod=main

I can run the program successfully in console mode:

prunsrv.exe //TS//SG_FileSync

But I cannot start the service directly in Windows, or using prunsrv.exe 
//ES//SG_FileSync or via prunmgr.  I get the following error message:

The system cannot find the file specified.  Failed to start service.

What am I able to run my application in console mode but not using ES?

Thanks,
Nancy




The information contained in this message is intended only for the recipient, 
and may be a confidential attorney-client communication or may otherwise be 
privileged and confidential and protected from disclosure. If the reader of 
this message is not the intended recipient, or an employee or agent responsible 
for delivering this message to the intended recipient, please be aware that any 
dissemination or copying of this communication is strictly prohibited. If you 
have received this communication in error, please immediately notify us by 
replying to the message and deleting it from your computer. McGraw Hill 
Financial reserves the right, subject to applicable local law, to monitor, 
review and process the content of any electronic message or information sent to 
or from McGraw Hill Financial e-mail addresses without informing the sender or 
recipient of the message. By sending electronic message or information to 
McGraw Hill Financial e-mail addresses you, as the sender, are consenting to 
McGraw Hill Financial processing any of your personal data therein.


Re: [math] find an approximate curve for 3d points

2015-01-28 Thread andrea antonello
Hi Luc,

[...]
> Hope this helps,

it definitely does, sounds like the right way, thanks.

Andrea

-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: [math] find an approximate curve for 3d points

2015-01-28 Thread Luc Maisonobe
Le 28/01/2015 11:41, andrea antonello a écrit :
> Hello everyone,

Hi Andrea,

> I was wondering if there is a way to create an approximated curve in
> 3d given a set of xyz coordinates.

Yes, there is a way.

> To make myself more clear with an example, lets assume I have the
> center point of a tree section at different heights and I would like
> to create curve representing the tree stem (give that trees tend to
> bend in one direction and often have the top meters away from the
> bottom).

For this case, I would suggest to solve independently two 2D curves
corresponding to x(z) and y(z). This can be done using
org.apache.commons.math3.fitting.PolynomialCurveFitter if you consider
your curves will be polynomials, or you can use your own extension
of AbstractCurveFitter if you prefer your own non-polynomial model for
curves.

See

for an example of how
to fit a polynomial to observed data.

> 
> Any advice if very appreciated.

Hope this helps,
Luc

> 
> Thanks a ton,
> Andrea
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
> 
> 
> 


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



[math] find an approximate curve for 3d points

2015-01-28 Thread andrea antonello
Hello everyone,
I was wondering if there is a way to create an approximated curve in
3d given a set of xyz coordinates.
To make myself more clear with an example, lets assume I have the
center point of a tree section at different heights and I would like
to create curve representing the tree stem (give that trees tend to
bend in one direction and often have the top meters away from the
bottom).

Any advice if very appreciated.

Thanks a ton,
Andrea

-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org