Author |
Message
|
raj921 |
Posted: Mon Aug 25, 2014 11:28 am Post subject: IIB 9 - WTX node in an application/Service container |
|
|
Newbie
Joined: 25 Aug 2014 Posts: 3
|
Hi,
I'm using a wtx node in an application and Service in IIB 9.0. I am using the WTX Map node with a source map. When I deploy the application, I don't see neither a MAR file being generated nor the WTX maps being deployed. During execution I'm getting a 'Map not found error' with error code '3'. If I Use the WTX Map node with a precompiled map, I don't get this error.
Can anybody advise if we cannot use the source map methodology in an application or service?
Thanks in advance! |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Aug 25, 2014 12:07 pm Post subject: Re: IIB 9 - WTX node in an application/Service container |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
raj921 wrote: |
Hi,
I'm using a wtx node in an application and Service in IIB 9.0. I am using the WTX Map node with a source map. When I deploy the application, I don't see neither a MAR file being generated nor the WTX maps being deployed. During execution I'm getting a 'Map not found error' with error code '3'. If I Use the WTX Map node with a precompiled map, I don't get this error.
Can anybody advise if we cannot use the source map methodology in an application or service?
Thanks in advance! |
What are you trying to do?
You have to provide the WTX node with a map. It's part of the mandatory inputs.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
raj921 |
Posted: Mon Aug 25, 2014 12:22 pm Post subject: |
|
|
Newbie
Joined: 25 Aug 2014 Posts: 3
|
Sorry for not being clear.
I have configured the wtx node to point to a WTX map source. This is when I'm getting the error. If I configure the WTX node with a WTX pre-compiled map, then I don't get the error because then the mmc(wtx compiled map) is available.
The error is a run-time error that the map is not available at run-time because the application deploy is not bundling the wtx maps as part of the application deploy. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Aug 25, 2014 12:54 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
raj921 wrote: |
Sorry for not being clear.
I have configured the wtx node to point to a WTX map source. This is when I'm getting the error. If I configure the WTX node with a WTX pre-compiled map, then I don't get the error because then the mmc(wtx compiled map) is available.
The error is a run-time error that the map is not available at run-time because the application deploy is not bundling the wtx maps as part of the application deploy. |
The map is an outside construct and as such needs to be referenced in the project. However the WTX runtime does not care about WTX design time (Sometimes incompatible platforms) and as such does not care about the raw map. The only maps you do need to deploy are the compiled maps.
Use the WTX designer to compile the maps before referencing them in the IIB toolkit. If the (compiled) map is correctly referenced in the IIB toolkit it should be added to the bar file. Using the compiled map is the right thing to do.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
raj921 |
Posted: Mon Aug 25, 2014 1:30 pm Post subject: |
|
|
Newbie
Joined: 25 Aug 2014 Posts: 3
|
Thank You. Why do you say, "Using the compiled map is the right thing to do"? Do you know if the WTX node should not be configured to reference the WTX source in an Application? |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Aug 25, 2014 1:52 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
raj921 wrote: |
Thank You. Why do you say, "Using the compiled map is the right thing to do"? Do you know if the WTX node should not be configured to reference the WTX source in an Application? |
No you need to reference a compiled map.
There is no compiler on some of the platforms like AIX, Solaris, etc... As such you need the compiled map for WTX runtime to work properly.
I believe the WTX design platform is restricted to windows only (not even Linux...)
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|