Is there any way to create a datasource from a command line instead of going into the Admin Console? I can create and bind a datasource using the ws DataSourceFactory class, but I want to create the datasource from the command line.
I have been looking at wscp for the last week, and I think you can do what you are asking with wscp. Einstein47 (Love is like PI - natural, irrational, endless, and very important.)
Thanks alot. We support Advanced Edition Single Server, and wscp is not available. I heard something about XML Config, but can't find anything about it. Is this another method of configuring a datasource and a pool? Thanks for your help.
Follow the link - it has a section on XMLConfig. I haven't used it much beyond exporting the settings from one server to update a second server. It should be able to create a DataSource, as long as you get the syntax right. XML can be very stubborn in this regard.
Good luck, Einstein47 (Love is like PI - natural, irrational, endless, and very important.)
Please do not post answers like it can be done. Yes the documentation says it can be done. But do not provide any details. All documentation is centered around DB2 and doesnot provide much support for other databases, for example SQL Server. I am trying to create a datsource using Sequelinkdriver shipped by IBM. When I try to use the wscp it prompts me to enter serverName, portNumber. When I enter the information I get the message portNumber not recognized. I have no clue how to solve this problem. If any body has successfully used wscp to create a Datasource please provide the answer.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.