ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » Register Adapter as Windows Service

Post new topic  Reply to topic
 Register Adapter as Windows Service « View previous topic :: View next topic » 
Author Message
Henrique Neil
PostPosted: Wed Sep 13, 2006 11:08 am    Post subject: Register Adapter as Windows Service Reply with quote

Apprentice

Joined: 24 Jul 2006
Posts: 27

Hi All!

I need put the configured adapter as Windows Service but i got some errors.

I don't get create a service and when i looki for the error i found only one link that explain me what is happen: http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_installation.doc/doc/installing/installation_wbia43.htm

BIA01049: Register Windows Service failed

I had install the correct fix pack at 2.6.0.5 and the service not exist! I still get the same error, do somebody knows what is it?

The environment has WMB 6.0.0.1, WMQ 6, DB2 8.2, WBI Adapter Framework 2.6.0.5 and WBI Adapter for JDBC 2.6.5.

Thanks
_________________
Henrique Neil
System Analyst - Cyberlynxx
http://www.clx.com.br
Back to top
View user's profile Send private message MSN Messenger
vennela
PostPosted: Wed Sep 13, 2006 11:17 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Use cwservice command
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Henrique Neil
PostPosted: Wed Sep 13, 2006 11:51 am    Post subject: Reply with quote

Apprentice

Joined: 24 Jul 2006
Posts: 27

I tried to use this command but i did't get success!

I was read in this link that i must to check the checkbox for use the adapter as service and i didn't make it!

http://www-1.ibm.com/support/docview.wss?uid=swg21173999

There's really a problem if i didn't make this step?
_________________
Henrique Neil
System Analyst - Cyberlynxx
http://www.clx.com.br
Back to top
View user's profile Send private message MSN Messenger
vennela
PostPosted: Wed Sep 13, 2006 12:08 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Henrique Neil
PostPosted: Wed Sep 13, 2006 12:22 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
vennela
PostPosted: Wed Sep 13, 2006 12:45 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Can you manually start the adapter using the batch file?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Henrique Neil
PostPosted: Wed Sep 13, 2006 12:56 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Ratan
PostPosted: Thu Sep 14, 2006 8:13 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
adrao45
PostPosted: Mon Sep 18, 2006 4:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » Register Adapter as Windows Service
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.