Ionic2 and 3 Geolocation Error: Only secure origins are allowed, Error getting location and not working on device - ionic-framework

Okay, Here is what happened, i have tried so many times to get geolocation working on an android device but nothing is happening instead it shows a white screen. I decided to test with an emulator by running ionic cordova run android -l -c then i discovered that it throws an exception Only secure origins are allowed. Then i tried using a solution i got from someone (platform.ready().then(() => { ) before calling geolocation getcurrentPosition, I built the app for android and tested, it still shows a white screen. I ran with emulator and the exception changed to console log: Error getting location , I really need help, please anyone.
I run ionic 3.4.0 with npm 5.0.3 on Node.js 7.8.0
Home.ts
getMapLocation() {
var options = {
enableHighAccuracy: true,
timeout: 5000,
maximumAge: 5000
};
/* Ensure the platform is ready */
this.platform.ready().then(() => {
console.log("platfrom is ready");
/* Perform initial geolocation */
this.geolocation.getCurrentPosition(options).then((position) => {
console.log(position.coords.latitude)
this.Latitude = position.coords.latitude;
this.Longitude = position.coords.longitude;
var pos = {
lat: this.Latitude,
lng: this.Longitude
};
this.location = pos;
this.getMap(this.Latitude, this.Longitude);
}).catch((err) => {
console.log('Error getting location', err);
});
})
}
Config.Xml
<universal-links>
<host name="tgp38.app.goo.gl" scheme="https" />
<host name="taxi-59a68.firebaseapp.com" scheme="https">
<path url="/__/auth/callback" />
</host>
</universal-links>
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar" />
</feature>
<allow-navigation href="http://192.168.8.101:8100" />
<allow-navigation href="http://192.168.8.103:8100" />
<allow-navigation href="http://192.168.8.102:8100" />
<engine name="android" spec="^6.2.3" />
<plugin name="cordova-plugin-browsertab" spec="^0.2.0" />
<plugin name="cordova-plugin-buildinfo" spec="^1.1.0" />
<plugin name="cordova-plugin-compat" spec="^1.0.0" />
<plugin name="cordova-plugin-device" spec="^1.1.6" />
<plugin name="cordova-plugin-geolocation" spec="^2.4.3" />
<plugin name="cordova-plugin-inappbrowser" spec="^1.7.1" />
<plugin name="cordova-plugin-network-information" spec="^1.3.3" />
<plugin name="cordova-plugin-splashscreen" spec="^4.0.3" />
<plugin name="cordova-plugin-statusbar" spec="^2.2.3" />
<plugin name="cordova-plugin-stripe" spec="^1.4.1" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.2" />
<plugin name="cordova-universal-links-plugin" spec="^1.2.1" />
<plugin name="cordova.plugins.diagnostic" spec="^3.6.5" />
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
AndroidManifest.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<manifest android:hardwareAccelerated="true" android:versionCode="1" android:versionName="0.0.1" package="com.playheavens.taxihub" xmlns:android="http://schemas.android.com/apk/res/android">
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application android:hardwareAccelerated="true" android:icon="#mipmap/icon" android:label="#string/app_name" android:supportsRtl="true">
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="#string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="#android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize">
<intent-filter android:label="#string/launcher_name">
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:host="tgp38.app.goo.gl" android:scheme="https"/>
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:host="taxi-59a68.firebaseapp.com" android:scheme="https" android:path="/__/auth/callback"/>
</intent-filter>
</activity>
<receiver android:name="cordova.plugins.Diagnostic$LocationProviderChangedReceiver">
<intent-filter>
<action android:name="android.location.PROVIDERS_CHANGED"/>
</intent-filter>
</receiver>
<receiver android:name="cordova.plugins.Diagnostic$NFCStateChangedReceiver">
<intent-filter>
<action android:name="android.nfc.action.ADAPTER_STATE_CHANGED"/>
</intent-filter>
</receiver>
</application>
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="25"/>
<uses-feature android:name="android.hardware.location.gps"/>
</manifest>

There is problem with 'livereload'. Google's new security rules are now only allowing https ports.
So, if you are running in the browser try using https://localhost:8100. and if you are running in device run it without livereload option.

Try again using this plugin in your browser.
It allows to you request any site with ajax from any source, no matter http/https discrepancies and the like. Practically adds the Allow-Control-Allow-Origin: * header in the response.
Please keep in mind that this is a band-aid solution for development only. It is your server actually that has to be configured to respond with the 'Access-Control-Allow-Origin': '*' header, preferably with a more specific value than *.

To expand on Shreenil's answer, this can be caused by running on an Android emulator with the --livereload option as well as the -lc option.
tl;dr
Remove --livereload and -lc options

Related

Freeswitch wrong caller id number after bridge

I have a configured gateway and one dialplan for bridging an inbound call through the gateway to another number. This part works.
Now I want that the number of the inbound call is displayed in the phone after the bridge. This part doesn't work. I've tried many combinations, but every time the number from the provider is shown up.
/etc/freeswitch/sip_profiles/external/MyGateway.xml
<gateway name="MyGateway">
<param name="username" value="SIP_USERNAME"/>
<param name="password" value="SIP_PASSWORD"/>
<param name="proxy" value="sip.provider.com"/>
<param name="register" value="true"/>
</gateway>
/etc/freeswitch/dialplan/public/MyExtension.xml
<extension name="bridge">
<condition field="destination_number" expression="^SIP_USERNAME$">
<action application="set" data="bypass_media=true"/>
<action application="bridge" data="sofia/gateway/MyProvider/+49123456789"/>
</condition>
</extension>
This is what i've tested in the dialplan before the line with "bypass_media=true"
some of the commands changed the INVITE and/or RINGING request, but nothing changed the number on the phone after the bridge. I've also tried "export" instead of "set".
(I know that I can get the caller number with ${caller_id_number} - I just used 'ImCallingYou' for easy debugging)
<action application="set" data="initial_callee_id_name='ImCallingYou'"/>
<action application="set" data="initial_callee_id_number=999999999"/>
------------------------------------------------------------------------------------------
--> Remote-Party-ID: "ImCallingYou" <sip:999999999#GATEWAY_IP>;party=calling;privacy=off;screen=no
<action application="set" data="origination_caller_id_name='ImCallingYou'"/>
<action application="set" data="origination_caller_id_number=999999999"/>
------------------------------------------------------------------------------------------
--> nothing changed
<action application="set" data="sip_callee_id_name=ImCallingYou"/>
<action application="set" data="sip_callee_id_number=999999999" />
------------------------------------------------------------------------------------------
--> Remote-Party-ID: "ImCallingYou" <sip:999999999#GATEWAY_IP>;party=calling;privacy=off;screen=no
<action application="set" data="effective_caller_id_name=ImCallingYou"/>
<action application="set" data="effective_caller_id_number=999999999"/>
------------------------------------------------------------------------------------------
--> From: "ImCallingYou" <sip:SIP_USERNAME#sip.provider.com>;tag=1010101010101
<action application="set" data="sip_from_display=ImCallingYou"/>
------------------------------------------------------------------------------------------
--> nothing changed
<action application="set" data="sip_cid_type=pid"/>
<action application="set" data="origination_caller_id_name=ImCallingYou"/>
<action application="set" data="origination_caller_id_number=999999999"/>
------------------------------------------------------------------------------------------
--> nothing changed
<action application="set" data="sip_cid_type=rpid"/>
<action application="set" data="origination_caller_id_name=ImCallingYou"/>
<action application="set" data="origination_caller_id_number=999999999"/>
------------------------------------------------------------------------------------------
--> nothing changed
<action application="bridge" data="{sip_cid_type=rpid,origination_caller_id_name=ImCallingYou,origination_caller_id_number=999999999}sofia/gateway/MyProvider/+49123456789"/>
------------------------------------------------------------------------------------------
--> From: "ImCallingYou" <sip:SIP_USERNAME#sip.provider.com>;tag=10101010101
--> Remote-Party-ID: "ImCallingYou" <sip:999999999#GATEWAY_IP>;party=calling;privacy=off;screen=no
Have you tried this in Gateway config:
<param name="caller-id-in-from" value="true"/>
https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration#GatewaysConfiguration-CallerID

AdMob Unity Plugin Not Initializing

I am integrating AdMob Unity plugin with my Unity Game. My game works fine after publishing the .apk on my test device. But on initializing AdMob I am getting following log which has errors:
2019-09-09 17:19:01.083 32714-32738/? I/Unity: AdMob Init() called.
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 48)
2019-09-09 17:19:01.231 32714-32738/? I/Ads: Updating ad debug logging enablement.
2019-09-09 17:19:01.245 32714-449/? W/Ads: Update ad debug logging enablement as false
2019-09-09 17:19:01.256 32714-32714/? I/WebViewFactory: Loading com.google.android.webview version 76.0.3809.132 (code 380913235)
2019-09-09 17:19:01.354 32714-32714/? I/cr_LibraryLoader: Time to load native libraries: 1 ms (timestamps 2360-2361)
2019-09-09 17:19:01.372 32714-32714/? I/chromium: [INFO:library_loader_hooks.cc(51)] Chromium logging enabled: level = 0, default verbosity = 0
2019-09-09 17:19:01.372 32714-32714/? I/cr_LibraryLoader: Expected native library version number "76.0.3809.132", actual native library version number "76.0.3809.132"
2019-09-09 17:19:01.396 32714-456/? W/cr_ChildProcLH: Create a new ChildConnectionAllocator with package name = com.google.android.webview, sandboxed = true
2019-09-09 17:19:01.403 32714-32714/? I/cr_BrowserStartup: Initializing chromium process, singleProcess=false
2019-09-09 17:19:01.415 464-464/? E//system/bin/webview_zygote32: Failed to make and chown /acct/uid_99752: Permission denied
2019-09-09 17:19:01.415 464-464/? E/Zygote: createProcessGroup(99752, 0) failed: Permission denied
2019-09-09 17:19:01.436 2987-8127/? I/ActivityManager: Start proc 464:com.google.android.webview:sandboxed_process0/u0i752 for webview_service com.techsanskriti.thearcher/org.chromium.content.app.SandboxedProcessService0
2019-09-09 17:19:01.440 32714-32714/? W/kriti.thearcher: type=1400 audit(0.0:45571): avc: denied { read } for name="vmstat" dev="proc" ino=4026546034 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0
2019-09-09 17:19:01.468 494-494/? E/asset: setgid: Operation not permitted
Following are the filtered lines having Error:
2019-09-09 17:19:01.415 464-464/? E//system/bin/webview_zygote32: Failed to make and chown /acct/uid_99752: Permission denied
2019-09-09 17:19:01.415 464-464/? E/Zygote: createProcessGroup(99752, 0) failed: Permission denied
2019-09-09 17:19:01.468 494-494/? E/asset: setgid: Operation not permitted
Below is the AndroidManifest.xml generated:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.abc.xyz" xmlns:tools="http://schemas.android.com/tools" android:installLocation="preferExternal">
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
<application android:theme="#style/UnityThemeSelector" android:icon="#mipmap/app_icon" android:label="#string/app_name">
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="#string/app_name" android:screenOrientation="landscape" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density" android:hardwareAccelerated="false">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<meta-data android:name="android.notch_support" android:value="true" />
<meta-data android:name="android.notch_support" android:value="true" />
<meta-data android:name="android.notch_support" android:value="true" />
</activity>
<meta-data android:name="unity.build-id" android:value="xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" />
<meta-data android:name="unity.splash-mode" android:value="0" />
<meta-data android:name="unity.splash-enable" android:value="True" />
<meta-data android:name="notch.config" android:value="portrait|landscape" />
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-xxxxxxxxxxx~xxxxxxxxxxxx" />
</application>
<uses-feature android:glEsVersion="0x00020000" />
<uses-feature android:name="android.hardware.vulkan" android:required="false" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen.multitouch.distinct" android:required="false" />
</manifest>
Thanks in advance for any help.

Qlikview REST connector pagination settings for OData source xml

I can't seem to get the pagination settings right for the Qlik REST connector getting data from an OData-source. It's publicly available Dutch statistics (CBS).
An example is: https://opendata.cbs.nl/ODataFeed/odata/37259ned/TypedDataSet
First bit of the response:
<?xml version="1.0" encoding="utf-8"?>
<feed xml:base="http://opendata.cbs.nl/ODataFeed/OData/37259ned" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml">
<id>https://opendata.cbs.nl/ODataFeed/OData/37259ned/TypedDataSet</id>
<title type="text">TypedDataSet</title>
<updated>2018-06-25T02:00:00+02:00</updated>
<link rel="self" title="TypedDataSet" href="https://opendata.cbs.nl/ODataFeed/OData/37259ned/TypedDataSet" />
<entry>
<id>https://opendata.cbs.nl/ODataFeed/OData/37259ned/TypedDataSet(0)</id>
<category term="Cbs.OData.TData" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<link rel="self" href="https://opendata.cbs.nl/ODataFeed/OData/37259ned/TypedDataSet(0)" />
<title />
<updated>2018-06-25T02:00:00+02:00</updated>
<author>
<name />
</author>
<content type="application/xml">
<m:properties>
<d:ID m:type="Edm.Int32">0</d:ID>
<d:Geslacht>T001038</d:Geslacht>
<d:RegioS xml:space="preserve">NL01 </d:RegioS>
<d:Perioden>1960JJ00</d:Perioden>
<d:BevolkingOp1Januari_1 m:type="Edm.Double">11417254</d:BevolkingOp1Januari_1>
<d:LevendGeborenKinderen_2 m:type="Edm.Double">238789</d:LevendGeborenKinderen_2>
<d:LevendGeborenKinderenRelatief_3 m:type="Edm.Double">20.8</d:LevendGeborenKinderenRelatief_3>
<d:Overledenen_4 m:type="Edm.Double">87486</d:Overledenen_4>
<d:OverledenenRelatief_5 m:type="Edm.Double">7.6</d:OverledenenRelatief_5>
<d:Geboorteoverschot_6 m:type="Edm.Double">151303</d:Geboorteoverschot_6>
<d:TotaalVestiging_7 m:type="Edm.Double">551116</d:TotaalVestiging_7>
<d:TotaalVestigingRelatief_8 m:type="Edm.Double">48</d:TotaalVestigingRelatief_8>
<d:Immigratie_9 m:type="Edm.Double">45407</d:Immigratie_9>
<d:UitAndereGemeente_10 m:type="Edm.Double">505709</d:UitAndereGemeente_10>
<d:TotaalVertrekInclusiefCorrecties_11 m:null="true" />
<d:TotaalVertrekInclusiefCoRelatief_12 m:null="true" />
<d:TotaalVertrekExclusiefCorrecties_13 m:type="Edm.Double">564209</d:TotaalVertrekExclusiefCorrecties_13>
<d:TotaalVertrekExclusiefCoRelatief_14 m:type="Edm.Double">49.1</d:TotaalVertrekExclusiefCoRelatief_14>
<d:EmigratieInclusiefAdministratieveC_15 m:null="true" />
<d:EmigratieExclusiefAdministratieveC_16 m:type="Edm.Double">58226</d:EmigratieExclusiefAdministratieveC_16>
<d:NaarAndereGemeente_17 m:type="Edm.Double">505983</d:NaarAndereGemeente_17>
<d:VestigingsoverschotInclusiefCorrecties_18 m:null="true" />
<d:VestigingsoverschotExclusiefCorrecties_19 m:type="Edm.Double">-13093</d:VestigingsoverschotExclusiefCorrecties_19>
<d:TotaalSaldoCorrecties_20 m:type="Edm.Double">544</d:TotaalSaldoCorrecties_20>
<d:SaldoAdministratieveCorrecties_21 m:null="true" />
<d:SaldoOverigeCorrecties_22 m:null="true" />
<d:TotaleGroei_23 m:type="Edm.Double">138754</d:TotaleGroei_23>
<d:TotaleGroeiRelatief_24 m:type="Edm.Double">12.2</d:TotaleGroeiRelatief_24>
<d:BevolkingOp31December_25 m:type="Edm.Double">11556008</d:BevolkingOp31December_25>
</m:properties>
</content>
</entry>
The source gives a maximum of 10000 records per page. I need to get the data on the following page(s) as well.
The last few lines look like this:
</entry>
<link rel="next" href="https://opendata.cbs.nl/ODataFeed/odata/37259ned/TypedDataSet?$skip=10000" />
</feed>
I've tried the sollution in this thread: Qlikview REST connector pagination namespaced XML
However this gives me an unlimited number of records. The data-load does not stop at the last record.
Pagination settings used:
Pagination Type: Next URL
Next URL field path: feed/link/attr:href
Can anybody help me with the settings?

Respon with status: 0 for URL: null

im using ionic view legacy and the http post don't have any problem about it. but when migrating using ionic view pro when doing http post then show error "Respon with status: 0 for URL: null".
This is a part of my config.xml
<access origin="*" subdomain="true" />
<allow-navigation href="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<plugin name="ionic-plugin-keyboard" spec="~2.2.1" />
<plugin name="cordova-plugin-statusbar" spec="2.2.2" />
<plugin name="cordova-plugin-device" spec="1.1.4" />
<plugin name="cordova-plugin-splashscreen" spec="~4.0.1" />
<plugin name="cordova-plugin-ionic" spec="^1.1.9">
<variable name="APP_ID" value="-" />
<variable name="CHANNEL_NAME" value="Master" />
<variable name="UPDATE_METHOD" value="auto" />
</plugin>
<plugin name="cordova-plugin-whitelist" spec="^1.3.1" />
this problem because of CORS so at back end i just add :
/* Allow from any origin */
if (isset($_SERVER['HTTP_ORIGIN'])) {
header("Access-Control-Allow-Origin: {$_SERVER['HTTP_ORIGIN']}");
header('Access-Control-Allow-Credentials: true');
header('Access-Control-Max-Age: 86400');
}
but problem still not solved.
Finally… i solve this problem with change from http to https and check header send. Headher from jwt is my problem, so i change it using post not header.

JBoss ESB Message is received by the wrong Service

I have several services configured in jboss-esb.xml, when I send message to one of the service, my message will be received by one of the configured services (even though the message is not meant for that service)!
If I send the same message again, another service will process that message (in round-robin maner), it is not random, it is like each service takes turn to intercept the message.
Example, if I have 3 services configured. First time I send a message, Service 1 will receive it, second time I send a message, Service 2 will receive it, third time I send the message, Service 3 will receive it. Fourth time I send it, Service 1 will receive it and the cycle repeat..
I suspect there is something wrong with the way I configured my jboss-esb.xml, but I am clueless.
Here is how I invoke the service,
ServiceInvoker invoker = new ServiceInvoker("NTIAdaptor", "SearchAccountByParentInternalId");
Message replyMessage = invoker.deliverSync(requestMessage, TIMEOUT);
And here is the jboss-esb.xml,
<?xml version="1.0"?>
<jbossesb parameterReloadSecs="5"
xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
<providers>
<jms-provider connection-factory="ConnectionFactory" name="JMS Provider">
<jms-bus busid="NTI">
<jms-message-filter dest-name="queue/NTIAdaptor" dest-type="QUEUE"/>
</jms-bus>
</jms-provider>
</providers>
<services>
<service category="NTIAdaptor"
description="SearchAccountByExternalId" name="SearchAccountByExternalId">
<listeners>
<jms-listener busidref="NTI" name="JMS"/>
</listeners>
<actions mep="RequestResponse" webservice="true">
<action class="com.krona.esb.action.AuthenticateAction" name="authenticate"/>
<action class="com.krona.esb.action.LogAction" name="logStart"/>
<action
class="com.krona.esb.account.action.SearchAccountByExternalIdAction"
name="process" process="process"/>
<action class="com.krona.esb.action.LogAction" name="logEnd"/>
</actions>
</service>
<service category="NTIAdaptor"
description="SearchAccountByInternalId" name="SearchAccountByInternalId">
<listeners>
<jms-listener busidref="NTI" name="JMS"/>
</listeners>
<actions mep="RequestResponse" webservice="true">
<action class="com.krona.esb.action.AuthenticateAction" name="authenticate"/>
<action class="com.krona.esb.action.LogAction" name="logStart"/>
<action
class="com.krona.esb.account.action.SearchAccountByInternalIdAction"
name="process" process="process"/>
<action class="com.krona.esb.action.LogAction" name="logEnd"/>
</actions>
</service>
<service category="NTIAdaptor"
description="SearchAccountByParentInternalId" name="SearchAccountByParentInternalId">
<listeners>
<jms-listener busidref="NTI" name="JMS"/>
</listeners>
<actions mep="RequestResponse" webservice="true">
<action class="com.krona.esb.action.AuthenticateAction" name="authenticate"/>
<action class="com.krona.esb.action.LogAction" name="logStart"/>
<action
class="com.krona.esb.account.action.SearchAccountByParentInternalIdAction"
name="process" process="process"/>
<action class="com.krona.esb.action.LogAction" name="logEnd"/>
</actions>
</service>
<service category="NTIAdaptor"
description="SearchAccountByServiceExternalId" name="SearchAccountByServiceExternalId">
<listeners>
<jms-listener busidref="NTI" name="JMS"/>
</listeners>
<actions mep="RequestResponse" webservice="true">
<action class="com.krona.esb.action.AuthenticateAction" name="authenticate"/>
<action class="com.krona.esb.action.LogAction" name="logStart"/>
<action
class="com.krona.esb.account.action.SearchAccountByServiceExternalIdAction"
name="process" process="process"/>
<action class="com.krona.esb.action.LogAction" name="logEnd"/>
</actions>
</service>
</services>
</jbossesb>
You are experiencing that problem because you're using the same jms-bus across services. Try using a different jms-bus for each service jms listener.
If is not what Manuel says, we had a similar problem to yours, messages were getting to the wrong services.
In our case it was that the juddi register wasn't altered when we changed a listener from one services to another. So we ended with 2 services listening to the same queue.