Webservices
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 397
- Joined: Wed Apr 12, 2006 2:28 pm
- Location: Tennesse
Webservices
I am new to web services and have searched the forum for the solution but couldn't find anything helpful.
We have a website published by asp.net on Windows machine and we need to bring it down before we start our batch cycle and then bring it up once batch cycle is completed. And data stage is on Unix machine. Is there anyway in data stage to do this ?
Is there any way to use web service pack in data stage to make this happen ?
Thanks in advance.
We have a website published by asp.net on Windows machine and we need to bring it down before we start our batch cycle and then bring it up once batch cycle is completed. And data stage is on Unix machine. Is there anyway in data stage to do this ?
Is there any way to use web service pack in data stage to make this happen ?
Thanks in advance.
hi sam here
-
- Premium Member
- Posts: 397
- Joined: Wed Apr 12, 2006 2:28 pm
- Location: Tennesse
-
- Premium Member
- Posts: 397
- Joined: Wed Apr 12, 2006 2:28 pm
- Location: Tennesse
..not trying to promote my blog, but this is one case where it might be worth a visit. I have some notes there on the basics of using the Web Services Stages that might help....
http://dsrealtime.wordpress.com/2007/11 ... g-started/
Ernie
http://dsrealtime.wordpress.com/2007/11 ... g-started/
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
-
- Premium Member
- Posts: 397
- Joined: Wed Apr 12, 2006 2:28 pm
- Location: Tennesse
-
- Premium Member
- Posts: 397
- Joined: Wed Apr 12, 2006 2:28 pm
- Location: Tennesse
I read the blog and was able to design the job with webservice transformer followed by regular transformer then a peek stage. I did everything suggested in the blog but when I run the job I get this warning
The blog suggested to set up environment variables DATASTAGE_JRE and DATASTAGE_JVM, but I cant find these variables in administrator.
Don't know where I am getting wrong![Question :?:](./images/smilies/icon_question.gif)
Code: Select all
warning Web_Services_Transformer_1,0: Error: TJClient::initialize: unable to create Java Virtual Machine; classpath = /appl/datastage/IBM/InformationServer/Server/DSEngine/java/lib/wsclient.jar
/appl/datastage/IBM/InformationServer/Server/DSEngine/java/lib/axis.jar
/appl/datastage/IBM/InformationServer/Server/DSEngine/java/lib/commons-discovery.jar
/appl/datastage/IBM/InformationServer/Server/DSEngine/java/lib/commons-logging.jar
/appl/datastage/IBM/InformationServer/Server/DSEngine/java/lib/jaxrpc.jar
/appl/datastage/IBM/InformationServer/Server/DSEngine/java/lib/saaj.jar
/appl/datastage/IBM/InformationServer/Server/DSEngine/java/lib/wsdl4j.jar
ASCL-DSJNI-00011`:`JNIWrapper: load library failed: directory /appl/datastage/IBM/InformationServer/Server/DSEngine/java/jre/bin/sovvm, name jvm
0509-022 Cannot load module /appl/datastage/IBM/InformationServer/Server/DSEngine/java/jre/bin/sovvm/libjvm.a.
0509-026 System error: A file or directory in the path name does not exist.
fatal
Web_Services_Transformer_1,0: Resource bundle corresponding to message key DSTAGE-TODC-00017 not found! Check that DSHOME or APT_RESPATH is set.
Don't know where I am getting wrong
![Question :?:](./images/smilies/icon_question.gif)
hi sam here
there are other threads in here that talk about the settings..depends on your platform... call your support provider...this was an 8.0 problems and it was corrected for most platforms for 8.1, and/or the settings for 8.0 should be available from them....the settings are slightly different on each OS.
Ernie
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Sorry... but might help. I've used dsenv file and included all the necessary stuff there. You can find all necessary instructions in WebService install guide...samsuf2002 wrote:I read the blog and was able to design the job with webservice transformer followed by regular transformer then a peek stage. I did everything suggested in the blog but when I run the job I get this warningThe blog suggested to set up environment variables DATASTAGE_JRE and DATASTAGE_JVM, but I cant find these variables in administrator.Code: Select all
warning Web_Services_Transformer_1,0: Error: TJClient::initialize: unable to create Java Virtual Machine; classpath = /appl/datastage/IBM/InformationServer/Server/DSEngine/java/lib/wsclient.jar /appl/datastage/IBM/InformationServer/Server/DSEngine/java/lib/axis.jar /appl/datastage/IBM/InformationServer/Server/DSEngine/java/lib/commons-discovery.jar /appl/datastage/IBM/InformationServer/Server/DSEngine/java/lib/commons-logging.jar /appl/datastage/IBM/InformationServer/Server/DSEngine/java/lib/jaxrpc.jar /appl/datastage/IBM/InformationServer/Server/DSEngine/java/lib/saaj.jar /appl/datastage/IBM/InformationServer/Server/DSEngine/java/lib/wsdl4j.jar ASCL-DSJNI-00011`:`JNIWrapper: load library failed: directory /appl/datastage/IBM/InformationServer/Server/DSEngine/java/jre/bin/sovvm, name jvm 0509-022 Cannot load module /appl/datastage/IBM/InformationServer/Server/DSEngine/java/jre/bin/sovvm/libjvm.a. 0509-026 System error: A file or directory in the path name does not exist. fatal Web_Services_Transformer_1,0: Resource bundle corresponding to message key DSTAGE-TODC-00017 not found! Check that DSHOME or APT_RESPATH is set.
Don't know where I am getting wrong
Stuff like that:
Code: Select all
export DATASTAGE_JRE=/opt/IBM/InformationServer/ASBNode/apps/jre
export DATASTAGE_JVM=/bin/j9vm
set +u
Code: Select all
PATH/uv -admin -stop
bash PATH2/dsenv
PATH/uv -admin -start
IT happens...