Author |
Message
|
Henrique Neil |
Posted: Wed Sep 13, 2006 11:08 am Post subject: Register Adapter as Windows Service |
|
|
Apprentice
Joined: 24 Jul 2006 Posts: 27
|
|
Back to top |
|
 |
vennela |
Posted: Wed Sep 13, 2006 11:17 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
Henrique Neil |
Posted: Wed Sep 13, 2006 11:51 am Post subject: |
|
|
Apprentice
Joined: 24 Jul 2006 Posts: 27
|
|
Back to top |
|
 |
vennela |
Posted: Wed Sep 13, 2006 12:08 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
So you ran the command and you got the above BIA01049 error? |
|
Back to top |
|
 |
Henrique Neil |
Posted: Wed Sep 13, 2006 12:22 pm Post subject: |
|
|
Apprentice
Joined: 24 Jul 2006 Posts: 27
|
No!
I ran the command and create a service but the service don't start.
I'm looking for what is wrong but i hadn't find the error.
I received the message of internal error of bat execution, that is work fine, or Windows error but there's not in the event viewer _________________ Henrique Neil
System Analyst - Cyberlynxx
http://www.clx.com.br |
|
Back to top |
|
 |
vennela |
Posted: Wed Sep 13, 2006 12:45 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Can you manually start the adapter using the batch file? |
|
Back to top |
|
 |
Henrique Neil |
Posted: Wed Sep 13, 2006 12:56 pm Post subject: |
|
|
Apprentice
Joined: 24 Jul 2006 Posts: 27
|
Yes!
It's work fine!
But my environment needs to run as a Windows Service.
It is the command line that i ran on my environment:
cwservice -xi -mode=Manual -cC:\IBM\WebsphereAdapters\connectors\JDBC\JDBC_MSSQL\REG_JDBC_MSSQL.bat -sJDBC_MSSQL
Can you you see some error? My Service was named as CWInterchange JDBC_MSSQL _________________ Henrique Neil
System Analyst - Cyberlynxx
http://www.clx.com.br |
|
Back to top |
|
 |
Ratan |
Posted: Thu Sep 14, 2006 8:13 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
I never used cwservice, but if you are unable to resolve the problem, you can use Inetserv to start it as a service. _________________ -Ratan |
|
Back to top |
|
 |
adrao45 |
Posted: Mon Sep 18, 2006 4:49 am Post subject: |
|
|
Novice
Joined: 29 Nov 2004 Posts: 12
|
Hi,
Try with following command.
CwService -xi -p55545[portnumber] -tCONNECTOR -cD:\IBM\WebSphereAdapters\connectors\ADR_JDBC\start_ADRSJDBC_service.bat -sADRJDBC[Service name] -iIN_ICS[ICS Server name] .
Note:Adapter port number should be unique, if you are running more adapters as a windows services .
Incase while adapter installtion you did't check the checkbox for "running as windows service" option add the port number in your adapter startup batch file in the follwing place.
REM set the server name to be the interchange that is being targeted
set SERVER=IN_ICS -z55545
cheers,
ADR |
|
Back to top |
|
 |
|