Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.general
Thread: Creating a new service

HTVi
TV Discussion Newsgroups

Creating a new service
"Steve Grosz" <boise_bound[ at ]hotmail.com> 12/29/2008 6:48:12 PM
I have a situation that I need a Java application to run as a service. I
know that new services can be created using the Windows Resouce Kit and
instsrv.exe

I'm confused as to how to set up it up exactly. The company that gave us
the program gave us a batch file to run, which I know you can't use with
instsrv.exe (it says no batch files).

The command to start the application is:
java -jar -Xmx256M Email2Case.jar sfdcConfig.txt log4j.properties

How can I create a new service around THAT????

Re: Creating a new service
"ThePro" <mcthepro[ at ]nospam.hotmail.com> 12/29/2008 7:03:00 PM

"Steve Grosz" <boise_bound[ at ]hotmail.com> wrote:
[Quoted Text]
>I have a situation that I need a Java application to run as a service. I
>know that new services can be created using the Windows Resouce Kit and
>instsrv.exe
>
> I'm confused as to how to set up it up exactly. The company that gave us
> the program gave us a batch file to run, which I know you can't use with
> instsrv.exe (it says no batch files).
>
> The command to start the application is:
> java -jar -Xmx256M Email2Case.jar sfdcConfig.txt log4j.properties
>
> How can I create a new service around THAT????

Hi,

Have a look at "How To Create a User-Defined Service"
(http://support.microsoft.com/kb/137890).

It is pretty straitghtforward.

There is also the Srvany.wri document included in the resource kit.

ThePro

Re: Creating a new service
"Dave Patrick" <DSPatrick[ at ]nospam.gmail.com> 12/29/2008 7:04:30 PM
I'd get in touch with the developer. Not everything can be run as a service.



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


"Steve Grosz" wrote:
[Quoted Text]
>I have a situation that I need a Java application to run as a service. I
>know that new services can be created using the Windows Resouce Kit and
>instsrv.exe
>
> I'm confused as to how to set up it up exactly. The company that gave us
> the program gave us a batch file to run, which I know you can't use with
> instsrv.exe (it says no batch files).
>
> The command to start the application is:
> java -jar -Xmx256M Email2Case.jar sfdcConfig.txt log4j.properties
>
> How can I create a new service around THAT????

Re: Creating a new service
"Steve Grosz" <boise_bound[ at ]hotmail.com> 12/29/2008 7:10:25 PM
I'm thinking that this can, the developer suggested a Java Service wrapper
(http://wrapper.tanukisoftware.org/)

But I was wondering if I could just create a service in 2003.....

I've looked at the documents, but matching up the info for our command line
doesn't match up with the requirements for creating the service, as far as I
can tell.......

Or am I missing something here?

"Dave Patrick" <DSPatrick[ at ]nospam.gmail.com> wrote in message
news:uoC3IheaJHA.4520[ at ]TK2MSFTNGP06.phx.gbl...
[Quoted Text]
> I'd get in touch with the developer. Not everything can be run as a
> service.
>
>
>
> --
>
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
>
> "Steve Grosz" wrote:
>>I have a situation that I need a Java application to run as a service. I
>>know that new services can be created using the Windows Resouce Kit and
>>instsrv.exe
>>
>> I'm confused as to how to set up it up exactly. The company that gave us
>> the program gave us a batch file to run, which I know you can't use with
>> instsrv.exe (it says no batch files).
>>
>> The command to start the application is:
>> java -jar -Xmx256M Email2Case.jar sfdcConfig.txt log4j.properties
>>
>> How can I create a new service around THAT????
>

Re: Creating a new service
"Dave Patrick" <DSPatrick[ at ]nospam.gmail.com> 12/29/2008 9:31:54 PM
Are you using the AppParameters registry value correctly? Do you have
srvany.wri I think there are some details in that document.

http://support.microsoft.com/kb/137890
http://support.microsoft.com/kb/136711

I was trying to download the document here but am having trouble with it
dropping the connection now.
ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt35/i386/I386.exe



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


"Steve Grosz" wrote:
[Quoted Text]
> I'm thinking that this can, the developer suggested a Java Service wrapper
> (http://wrapper.tanukisoftware.org/)
>
> But I was wondering if I could just create a service in 2003.....
>
> I've looked at the documents, but matching up the info for our command
> line doesn't match up with the requirements for creating the service, as
> far as I can tell.......
>
> Or am I missing something here?

Re: Creating a new service
"Dave Patrick" <DSPatrick[ at ]nospam.gmail.com> 12/29/2008 10:19:53 PM
This link may also help.

http://www.kcmultimedia.com/javaserv/



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen