I am trying to run the echo bot example from https://github.com/CasaJasmina/TelegramBot-Library/tree/master/examples/EchoBot-ESP8266 on my ESP8266 NodeMCU using Arduino IDE 1.8.9
When Wifi is connected the serial monitor gives me the following exception:
13:48:10.135 -> WiFi connected
13:48:27.328 -> no new message
13:48:27.328 ->
13:48:27.328 -> Exception (3):
13:48:27.328 -> epc1=0x402077c6 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4006ea81 depc=0x00000000
13:48:27.328 ->
13:48:27.328 -> >>>stack>>>
13:48:27.328 ->
13:48:27.328 -> ctx: cont
13:48:27.328 -> sp: 3ffffd50 end: 3fffffc0 offset: 01a0
13:48:27.328 -> 3ffffef0: 3ffeecac 0000ff19 0000ff19 402078c4
13:48:27.328 -> 3fffff00: 3fffdad0 00000000 3fffff64 40207cec
13:48:27.328 -> 3fffff10: 3ffe85dd 3fffff70 3ffeeba4 40205cb4
13:48:27.328 -> 3fffff20: 00000000 00000000 3ffeea78 40205cd8
13:48:27.328 -> 3fffff30: 3fffdad0 00000000 3ffeea78 40201134
13:48:27.362 -> 3fffff40: 000001bb 00000d50 3ffeeba4 3ffeec1c
13:48:27.362 -> 3fffff50: 000001bb 3ffeea84 3ffe865c 3ffeec1c
13:48:27.362 -> 3fffff60: 000001bb 3ffeea84 3ffe865c 402035bd
13:48:27.362 -> 3fffff70: 40208748 dca79a95 40208748 dca79a95
13:48:27.362 -> 3fffff80: 3fffdad0 3ffeeb50 3ffeea78 402042fc
13:48:27.362 -> 3fffff90: 3fffdad0 3ffeeb50 3ffeeba4 402010b6
13:48:27.362 -> 3fffffa0: feefeffe 00000000 3ffeebec 40206484
13:48:27.396 -> 3fffffb0: feefeffe feefeffe 3ffe8558 40100461
13:48:27.396 -> <<<stack<<<
13:48:27.396 ->
13:48:27.396 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
13:48:27.396 ->
13:48:27.396 -> load 0x4010f000, len 1384, room 16
13:48:27.396 -> tail 8
13:48:27.396 -> chksum 0x2d
13:48:27.396 -> csum 0x2d
13:48:27.396 -> v8b899c12
13:48:27.396 -> ~ld
13:48:27.464 -> Connecting Wifi: ...
13:48:28.954 -> WiFi connected
and so on and so forth.
The bot itself seems to be working:
one can send messages within Telegram;
it is possible to send messages using the HTTP GET,
it is also possible to send messages from a browser like https://api.telegram.org/bot/sendMessage?chat_id=163202456&text=message-sent-from-browser)
What I will do next is to find out the "rst cause": https://www.espressif.com/sites/default/files/documentation/esp8266_reset_causes_and_common_fatal_exception_causes_en.pdf
Does anyone have an idea how to investigate further?
Related
I'm using Minew S1 Humidity and Temperature sensor with raspberry Pi, initially this sensor is password enabled, so how can I connect it to Humidity Sensor with Raspberry Pi using bluetoothctl or gatttool.
Edited:
< ACL Data TX: Handle 64 flags 0x00 dlen 7 #52 [hci0] 23.727179
ATT: Read Request (0x0a) len 2
Handle: 0x0027
> HCI Event: Number of Completed Packets (0x13) plen 5 #53 [hci0] 23.775948
Num handles: 1
Handle: 64
Count: 2
> HCI Event: Disconnect Complete (0x05) plen 4 #54 [hci0] 32.502249
Status: Success (0x00)
Handle: 64
Reason: Remote User Terminated Connection (0x13)
# MGMT Event: Device Disconnected (0x000c) plen 8 {0x0001} [hci0] 32.502320
LE Address: AC:23:3F:AB:7B:D8 (Shenzhen Minew Technologies Co., Ltd.)
Reason: Connection terminated by remote host (0x03)
Thank you
Hello I have been using the Wemos D1 mini lite for awhile now with this ArduCAM setup. Everything was working perfectly, but now my esp8266 is constantly resetting.
I unplugged the ArduCAM and saw I can ran the blink script successfully, but when I try to run a script where it attempts to connect to wifi, it constantly resets.
Here is my code:
#include <ESP8266WiFi.h> // Include the Wi-Fi library
const char* ssid = "ssid"; // The SSID (name) of the Wi-Fi network you want to connect to
const char* password = ""; // The password of the Wi-Fi network
void setup() {
Serial.begin(115200); // Start the Serial communication to send messages to the computer
delay(10);
Serial.println('\n');
WiFi.begin(ssid, password); // Connect to the network
Serial.print("Connecting to ");
Serial.print(ssid); Serial.println(" ...");
int i = 0;
while (WiFi.status() != WL_CONNECTED) { // Wait for the Wi-Fi to connect
delay(1000);
Serial.print(++i); Serial.print(' ');
}
Serial.println('\n');
Serial.println("Connection established!");
Serial.print("IP address:\t");
Serial.println(WiFi.localIP()); // Send the IP address of the ESP8266 to the computer
}
void loop() { }
When I run this, I get the following:
load 0x4010f000, len 1392, room 16
tail 0
chksum 0xd0
csum 0xd0
v3d128e5c
~ld
Exception (3):
epc1=0x40100710 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4006e989 depc=0x00000000
>>>stack>>>
ctx: cont
sp: 3ffffb90 end: 3fffffc0 offset: 01a0
3ffffd30: feefeffe feefeffe feefeffe feefeffe
3ffffd40: feefeffe feefeffe feefeffe 3ffffef0
3ffffd50: 0000049c 0000049c 00000020 40100900
3ffffd60: feefeffe feefeffe feefeffe feefeffe
3ffffd70: 00000002 400042db 000000fd 40100b58
3ffffd80: 40004b31 00001000 000000fd 40100274
3ffffd90: 40105ae0 feefeffe feefeffe 4022da8d
3ffffda0: 40105c9d 4022db77 3ffef25c 0000049c
3ffffdb0: 000000fd 3ffffef0 3ffef25c 4022db5a
3ffffdc0: ffffff00 55aa55aa 0000000e 00000020
3ffffdd0: 00000020 00000078 00000012 aa55aa55
3ffffde0: 000000ff 4022e05a 3ffef25c 3ffef25c
3ffffdf0: 000000ff 00000119 00000119 40100640
3ffffe00: 40105c9d 00000001 3ffef26c 4022e27a
3ffffe10: 00000005 3ffef25c 000000ff 3ffffef0
3ffffe20: 3fffff10 3ffef293 0000000e 00000020
3ffffe30: 3ffef31c 3fffff51 00000001 4022e32a
3ffffe40: 3ffffef0 40239860 00000000 00000000
3ffffe50: 3ffef65c 3fffff10 3fff5594 4022e2f9
3ffffe60: 3ffef25c 4022e360 3ffe84d4 3ffe8642
3ffffe70: 40201946 3ffe8642 3ffe8663 4020189b
3ffffe80: 76696e55 69737265 6f207974 61572066
3ffffe90: 6e696873 6e6f7467 3ffffe00 40204cbc
3ffffea0: 3ffee400 00000000 3ffffe60 40204ef9
3ffffeb0: 00000f98 000001f3 000001f3 40100640
3ffffec0: 000006e8 000000dd 00000014 3ffeebc4
3ffffed0: 007a1200 44e0a632 00000000 401008cb
3ffffee0: adb5c801 fe20b34c feefeffe 00000100
3ffffef0: 76696e55 69737265 6f207974 61572066
3fffff00: 6e696873 6e6f7467 feefef00 feefeffe
3fffff10: 40203500 3ffeefcc 3ffeef4c 402035af
3fffff20: 0000001c 0001c200 00000000 00000000
3fffff30: 00000003 40203771 ffffffff 00000001
3fffff40: 40105065 00000001 3ffee35c 3ffee3d4
3fffff50: 00000000 00000001 3ffee381 00000000
3fffff60: 00000004 00000000 3ffee328 00000001
3fffff70: 0001c200 0000001c 00000000 3ffee3d4
3fffff80: 3fffdad0 3ffee328 3ffee35c 40201073
3fffff90: feefeffe feefeffe feefeffe feefeffe
3fffffa0: feefeffe 00000000 3ffee394 402024b4
3fffffb0: feefeffe feefeffe 3ffe84f0 40100b8d
<<<stack<<<
over and over and over.
I don't understand what is happening. Did I possibly short it? It couldn't have been the ArduCAM, since this was working fine already.
edit:
I found out that the Wifi.begin(ssid,password) command causes the constant reboots. When I remove this, it doesn't reboot. How can I fix this?
I think your main loop is empty. Add while(true) in the main loop function
and it´s better to set the esp in sation mode.
WiFi.mode(WIFI_STA);
I'm using an Arduino with a GSM modem to try to send data to firebase.
However, when I try to, I get the following error:
SEND OK HTTP/1.1 400 Bad Request Server: nginx Date: Mon, 27 May 2019
22:34:09 GMT Content-Type: text/html Content-Length: 166 Connection:
close Strict-Transport-Security: max-age=31556926; includeSubDomains;
preload
400 Bad Request 400 Bad Request
nginx
CLOSED
The AT commands I issue are:
AT+QIOPEN="TCP", "drone-polution.firebaseio.com", 443
OK
CONNECT OK
AT+QISEND
>
POST /NewDB/.json
Accept: application/json
Content-Type: application/json
Content-Length: 9
{"a":"b"}
The last line is the actual payload.
Any help appreciated.
First, try this to program SAM chip to create an interface between Modem and your console PC (I found that there are good ready functions in MC20_Arduino_Interface.h which you can setup the modem.)
A simple program looks like this:
#include "MC20_Arduino_Interface.h"
// set serial port that connects to MC20
//#define serialMC20 Serial1
void setup()
{
//Begin serial comunication with Arduino and Arduino IDE (Serial Monitor)
SerialUSB.begin(115200);
while (!Serial);
//Being serial communication witj Arduino and MC20
serialMC20.begin(115200);
delay(1000);
SerialUSB.println("Setup Complete!");
}
void loop()
{
//Read MC20 output (if available) and print it in Arduino IDE Serial Monitor
if (serialMC20.available())
{
SerialUSB.write(serialMC20.read());
}
//Read Arduino IDE Serial Monitor inputs (if available) and send them to MC20
if (SerialUSB.available())
{
serialMC20.write(SerialUSB.read());
}
}
Also, I suggest you use Arduino's serial monitor for communication.
If the Modem starts successfully you will see SMS Ready and Call Ready in the serial monitor.
According to Quectel HTTP docs for a POST request:
3.2. Send POST Request to HTTP Server
AT+QIFGCNT=0
OK
AT+QICSGP=1,"CMNET" //Set APN
OK
AT+QIREGAPP //Optional
OK
AT+QIACT //Optional
OK
AT+QHTTPURL=58,30 //Set URL
CONNECT
<Input data>
//For example, input 58 bytes:
http://api.efxnow.com/DEMOWebServices2.8/Service.asmx/Echo
OK
//POST the data whose size is 18 bytes and the maximum latency time for inputting is 50s.
//It is recommended to set the latency time as long as enough to download all the data in the latency time.
AT+QHTTPPOST=18,50,10
CONNECT
//This means module enters into data mode and is ready to receive data from UART.
//For example, input 18 bytes: Message=helloworld.
OK
//This means all data has been received, and DCD is set to high.
AT+QHTTPREAD=30 //Read the response of HTTP server.
CONNECT
<Output data> //Output the response data of HTTP server to UART.
//For example, UART outputs:
<?xml version="1.0" encoding="utf-8"?>
<string xmlns="https://api.efxnow.com/webservices2.3">Message='helloworld' ASCII:104 101 108 108
111 119 111 114 108 100 </string>
OK
AT+QIDEACT //Deactivate PDP context.
DEACT OK
For example for httpbin.org/post it would become something like this:
16:45:56.416 -> AT+QIFGCNT=0
16:45:56.416 -> OK
16:46:02.918 -> AT+QICSGP=1,"mtnirancell"
16:46:02.918 -> OK
16:46:07.850 -> AT+QIREGAPP
16:46:07.850 -> OK
16:46:12.275 -> AT+QIACT
16:46:12.275 -> OK
16:46:27.467 -> AT+QHTTPURL=23,60
16:46:27.467 -> CONNECT
16:46:27.467 -> <http://httpbin.org/post>
16:46:36.965 -> OK
16:46:36.965 ->
16:46:48.786 -> AT+QHTTPPOST=18,50,10
16:46:48.786 -> CONNECT
16:46:48.786 -> <message=helloworld>
16:47:02.094 -> OK
16:47:02.094 ->
16:47:06.569 -> AT+QHTTPREAD=30
16:47:06.569 -> CONNECT
16:47:06.569 -> {
16:47:06.569 -> "args": {},
16:47:06.569 -> "data": "",
16:47:06.569 -> "files": {},
16:47:06.569 -> "form": {
16:47:06.569 -> "message": "helloworld"
16:47:06.569 -> },
16:47:06.569 -> "headers": {
16:47:06.569 -> "Accept": "*/*",
16:47:06.569 -> "Content-Length": "18",
16:47:06.569 -> "Content-Type": "application/x-www-form-urlencoded",
16:47:06.602 -> "Host": "httpbin.org",
16:47:06.602 -> "User-Agent": "QUECTEL_MODULE"
16:47:06.602 -> },
16:47:06.602 -> "json": null,
16:47:06.602 -> "origin": "*******, ********",
16:47:06.602 -> "url": "https://httpbin.org/post"
16:47:06.602 -> }
16:47:06.602 -> OK
I use FirebaseAuth.unitypackage and FirebaseDatabase.unitypackage packages in my project. When I want to test SignInWithCredentialAsync and SetRawJsonValueAsync operations in the editor, the editor crashes. When I checked the error.log, it says:
FirebaseCppApp-5.0.0.dll caused an Access Violation (0xc0000005)
in module FirebaseCppApp-5.0.0.dll at 0033:b7cf5c00.
Full error.log:
Unity Editor [version: Unity 5.6.3f1_d3101c3b8468]
FirebaseCppApp-5.0.0.dll caused an Access Violation (0xc0000005)
in module FirebaseCppApp-5.0.0.dll at 0033:b7cf5c00.
Error occurred at 2018-06-22_095612.
C:\Program Files\Unity_5.6.3\Editor\Unity.exe, run by Hammurabi Win01.
74% memory in use.
7923 MB physical memory [1986 MB free].
12608 MB paging file [5375 MB free].
134217728 MB user address space [134211578 MB free].
Write to location 00000028 caused an access violation.
Context:
RDI: 0x0dc44170 RSI: 0x00000003 RAX: 0x00000000
RBX: 0x0dc44178 RCX: 0xc19da2b4 RDX: 0x00000000
RIP: 0xb7cf5c00 RBP: 0x4678f409 SegCs: 0x00000033
EFlags: 0x00010206 RSP: 0x4678f270 SegSs: 0x0000002b
R8: 0x4678f208 R9: 0x4678f409 R10: 0x00000000
R11: 0x00000246 R12: 0x00000000 R13: 0x0b2267f8
R14: 0x00000000 R15: 0x00000000
Bytes at CS:EIP:
ff 40 28 48 8b 0b f6 43 08 01 74 08 ff 15 26 a7
Stack:
0x4678f270: 0dc44178 00000000 0dc44178 00000000 xA......xA......
0x4678f280: 00000000 00000000 000026ec 00000000 .........&......
0x4678f290: fffffffe ffffffff 00000000 00000000 ................
0x4678f2a0: 4678f378 00000000 b7cb6cd5 00007ff8 x.xF.....l......
0x4678f2b0: 0dc44178 00000000 0dc44218 00000000 xA.......B......
0x4678f2c0: 00000000 00000000 3aad0a60 00000000 ........`..:....
0x4678f2d0: 0dc44170 00000000 00000003 00000000 pA..............
0x4678f2e0: fffffffe ffffffff 4678f378 00000000 ........x.xF....
0x4678f2f0: 2da51300 00000000 2da515a0 00000000 ...-.......-....
0x4678f300: 00000000 00000000 0000000f 00000000 ................
0x4678f310: 5580bf25 0000e36d 2da515a0 00000000 %..Um......-....
0x4678f320: 0dc44218 00000000 4678f4e0 00000000 .B........xF....
0x4678f330: 0dc44218 00000000 b7cbb074 00007ff8 .B......t.......
0x4678f340: 00000000 002bbdb5 00000000 00000000 ......+.........
0x4678f350: 00000000 00000000 82c2bb0a 00007ff8 ................
0x4678f360: 2da51280 00000000 00000000 00000000 ...-............
0x4678f370: 00000000 00000000 0dc44170 00000000 ........pA......
0x4678f380: 00000008 00000000 00000003 00000000 ................
0x4678f390: 00000000 00000000 00000000 00000000 ................
0x4678f3a0: 2ca25b30 00000000 fffffffe ffffffff 0[.,............
0x4678f3b0: 4678f4e0 00000000 0aaf6b40 00000000 ..xF....#k......
0x4678f3c0: 00000000 00000000 2ca25b30 00000000 ........0[.,....
0x4678f3d0: 00000000 00000000 82c330c0 00007ff8 .........0......
0x4678f3e0: 00000000 00000000 00000000 00000000 ................
0x4678f3f0: 314f5690 00000000 82bb4862 00007ff8 .VO1....bH......
0x4678f400: 00000000 00000000 4678ff38 00000000 ........8.xF....
0x4678f410: 0b2267f8 00000000 00000000 00000000 .g".............
0x4678f420: 2ca25b30 00000000 0b27018f 00000000 0[.,......'.....
0x4678f430: 5580bed5 0000e36d 0aaf6b40 00000000 ...Um...#k......
0x4678f440: 4678ff38 00000000 0dc44218 00000000 8.xF.....B......
0x4678f450: 0aaf6b40 00000000 4678f4e0 00000000 #k........xF....
0x4678f460: 4678f500 00000000 b7cbaf3c 00007ff8 ..xF....<.......
0x4678f470: 82b47e48 00007ff8 82b804d9 00007ff8 H~..............
0x4678f480: 00000000 00000000 82c6aa2c 00007ff8 ........,.......
0x4678f490: 00000000 00000000 82b4749c 00007ff8 .........t......
0x4678f4a0: 4678f548 00000000 b7cae745 00007ff8 H.xF....E.......
0x4678f4b0: 00000000 00000000 4678ff38 00000000 ........8.xF....
0x4678f4c0: 0b2267f8 00000000 82c330c0 00007ff8 .g"......0......
0x4678f4d0: 00000000 00000000 fffffffe ffffffff ................
0x4678f4e0: 4678f5c0 00000000 82b80873 00007ff8 ..xF....s.......
0x4678f4f0: 31e92581 00000000 34beddb0 00000000 .%.1.......4....
0x4678f500: 4678f640 00000000 b7c8ff10 00007ff8 #.xF............
0x4678f510: 2d49a7c0 00000000 4678f548 00000000 ..I-....H.xF....
0x4678f520: 00000000 00000000 82c330c0 00007ff8 .........0......
0x4678f530: fffffffe ffffffff 00000000 00000000 ................
0x4678f540: 00000000 00000000 2ca25b30 00000000 ........0[.,....
0x4678f550: 0aaf6b40 00000000 00000000 40d24d80 #k...........M.#
0x4678f560: 2ca25b30 00000000 2da51707 00000000 0[.,.......-....
0x4678f570: 2d49a7c0 00000000 00000000 00000000 ..I-............
0x4678f580: 00000000 00000000 00000000 00000000 ................
0x4678f590: 00000000 00000000 00000000 00000000 ................
0x4678f5a0: 00000000 00000000 00000000 00000000 ................
0x4678f5b0: 2d49a7c0 00000000 00000000 00000000 ..I-............
0x4678f5c0: 0dc44218 00000000 0aaf6b40 00000000 .B......#k......
0x4678f5d0: 034e0000 00000000 31e92580 00000000 ..N......%.1....
0x4678f5e0: 34beddb0 00000000 0000000f 00000000 ...4............
0x4678f5f0: 2da5140b 00000000 2d49a7c0 00000000 ...-......I-....
0x4678f600: 4678f640 00000000 4678f570 00000000 #.xF....p.xF....
0x4678f610: 00000000 00000000 0b2267f8 00000000 .........g".....
0x4678f620: 4678ff38 00000000 00000000 00000000 8.xF............
0x4678f630: 2ca25b30 00000000 0aaf6b40 00000000 0[.,....#k......
0x4678f640: 4678f6c0 00000000 2da51313 00000000 ..xF.......-....
0x4678f650: 2ca25b30 00000000 00000000 00000000 0[.,............
0x4678f660: 00000000 00000000 0000000f 00000000 ................
0x4678f670: 314ea7e0 00000000 0dc44218 00000000 ..N1.....B......
0x4678f680: 0b2267f8 00000000 4678ff38 00000000 .g".....8.xF....
0x4678f690: 00000000 00000000 314ea7e0 00000000 ..........N1....
0x4678f6a0: 00000000 00000000 034e0000 00000000 ..........N.....
0x4678f6b0: 314ea7e0 00000000 0dc44218 00000000 ..N1.....B......
0x4678f6c0: 4678f740 00000000 2da5057a 00000000 #.xF....z..-....
0x4678f6d0: 2ca25b30 00000000 00000000 00000000 0[.,............
0x4678f6e0: 313ccbb8 00000000 348a3678 00000000 ..<1....x6.4....
0x4678f6f0: 034e0000 00000000 00000000 00000000 ..N.............
0x4678f700: 3138dfa8 00000000 3141c420 00000000 ..81.... .A1....
0x4678f710: 313f67e0 00000000 305d2850 00000000 .g?1....P(]0....
0x4678f720: 314ea7e0 00000000 034e0000 00000000 ..N1......N.....
0x4678f730: 313f67e0 00000000 313f67e0 00000000 .g?1.....g?1....
0x4678f740: 4678f7c0 00000000 2da4fd50 00000000 ..xF....P..-....
0x4678f750: 2ca25b30 00000000 00000000 00000000 0[.,............
0x4678f760: 313ccbb8 00000000 348a3678 00000000 ..<1....x6.4....
0x4678f770: 034e0000 00000000 313ccba0 00000000 ..N.......<1....
0x4678f780: 0b2267f8 00000000 4678ff38 00000000 .g".....8.xF....
0x4678f790: 313ccbb8 00000000 00000000 00000000 ..<1............
0x4678f7a0: 3138dfa8 00000000 3141c420 00000000 ..81.... .A1....
0x4678f7b0: 313ccba0 00000000 034e0000 00000000 ..<1......N.....
0x4678f7c0: 4678f820 00000000 2da4fc1c 00000000 .xF.......-....
0x4678f7d0: 2da4fa8f 00000000 00000000 00000000 ...-............
0x4678f7e0: 0b2267f8 00000000 4678ff38 00000000 .g".....8.xF....
0x4678f7f0: 00000000 00000000 3141c420 00000000 ........ .A1....
0x4678f800: 313ccbb8 00000000 00000000 00000000 ..<1............
0x4678f810: 3134ca98 00000000 034e0000 00000000 ..41......N.....
0x4678f820: 4678f890 00000000 2da4fa49 00000000 ..xF....I..-....
0x4678f830: 00000000 00000000 2a88e5d8 00000000 ...........*....
0x4678f840: 034e0000 00000000 00000000 00000000 ..N.............
0x4678f850: 3144b3e0 00000000 313ccbb8 00000000 ..D1......<1....
0x4678f860: 00000000 00000000 3134ca98 00000000 ..........41....
0x4678f870: 3144b3e0 00000000 00000000 00000000 ..D1............
0x4678f880: 3134c7c8 00000000 034e0000 00000000 ..41......N.....
0x4678f890: 4678f950 00000000 2da4f590 00000000 P.xF.......-....
0x4678f8a0: 00000000 00000000 347cf760 00000000 ........`.|4....
0x4678f8b0: 314442a0 00000000 00000001 00000000 .BD1............
0x4678f8c0: 311153c0 00000000 31423230 00000000 .S.1....02B1....
0x4678f8d0: 00000000 00000000 314f56f0 00000000 .........VO1....
0x4678f8e0: 00000000 00000000 314f56f0 00000000 .........VO1....
0x4678f8f0: 310c3060 00000000 00000001 00000000 `0.1............
0x4678f900: 00000001 00000000 314442a0 00000000 .........BD1....
0x4678f910: 3144b3e0 00000000 00000000 00000000 ..D1............
0x4678f920: 3134c7c8 00000000 314442a0 00000000 ..41.....BD1....
0x4678f930: 00000001 00000000 034e0000 00000000 ..........N.....
0x4678f940: 314f56f0 00000000 303e8620 00000000 .VO1.... .>0....
0x4678f950: 4678f990 00000000 2da4f299 00000000 ..xF.......-....
0x4678f960: 00000000 00000000 00000000 00000000 ................
0x4678f970: 2da4f220 00000000 ffffffff ffffffff ..-............
0x4678f980: 31444280 00000000 034e0000 00000000 .BD1......N.....
0x4678f990: 4678fa20 00000000 2da4ed7f 00000000 .xF.......-....
0x4678f9a0: 4678fad0 00000000 0aaf6b40 00000000 ..xF....#k......
0x4678f9b0: 2da4ecd6 00000000 00000000 00000000 ...-............
0x4678f9c0: 305d4500 00000000 305d4500 00000000 .E]0.....E]0....
0x4678f9d0: 305d4500 00000000 00000000 00000000 .E]0............
0x4678f9e0: 034e0000 00000000 4678ff38 00000000 ..N.....8.xF....
0x4678f9f0: 00000000 00000000 4678f9b0 00000000 ..........xF....
0x4678fa00: 2da4ebf0 00000000 fffffffe ffffffff ...-............
0x4678fa10: 0b950000 00000000 2da4ebf0 00000000 ...........-....
0x4678fa20: 4678fad0 00000000 2da341ad 00000000 ..xF.....A.-....
0x4678fa30: 30cbca10 00000000 00000000 00000000 ...0............
0x4678fa40: 2da3410b 00000000 4678f840 00000000 .A.-....#.xF....
0x4678fa50: 4678fb10 00000000 305d4820 00000000 ..xF.... H]0....
0x4678fa60: 305d4500 00000000 31444940 00000000 .E]0....#ID1....
0x4678fa70: 034e0000 00000000 2a88e5d8 00000000 ..N........*....
0x4678fa80: 034e0000 00000000 305d4820 00000000 ..N..... H]0....
0x4678fa90: 0b2267f8 00000000 4678ff38 00000000 .g".....8.xF....
0x4678faa0: 00000000 00000000 4678fa40 00000000 ........#.xF....
0x4678fab0: 0b271d10 00000000 349f4be8 00000000 ..'......K.4....
0x4678fac0: 0ab490e6 00000000 0b271d10 00000000 ..........'.....
0x4678fad0: 4678fb10 00000000 2da33afd 00000000 ..xF.....:.-....
0x4678fae0: 00000000 00000000 00000000 00000000 ................
0x4678faf0: 2da33ab0 00000000 ffffffff ffffffff .:.-............
0x4678fb00: 3138dc30 00000000 034e0000 00000000 0.81......N.....
0x4678fb10: 4678fba0 00000000 2da33796 00000000 ..xF.....7.-....
0x4678fb20: 4678fc30 00000000 0aaf6b40 00000000 0.xF....#k......
0x4678fb30: 2ca25b30 00000000 00000000 00000000 0[.,............
0x4678fb40: 31444500 00000000 00000000 00000000 .ED1............
0x4678fb50: 00000000 00000000 034e0000 00000000 ..........N.....
0x4678fb60: 0b2267f8 00000000 4678ff38 00000000 .g".....8.xF....
0x4678fb70: 00000000 00000000 00000000 00000000 ................
0x4678fb80: 2da33730 00000000 ffffffff ffffffff 07.-............
0x4678fb90: 0b95000e 00000000 2da33730 00000000 ........07.-....
0x4678fba0: 4678fc30 00000000 2da3337c 00000000 0.xF....|3.-....
0x4678fbb0: 4678fcc0 00000000 0aaf6b40 00000000 ..xF....#k......
0x4678fbc0: 2ca25b30 00000000 00000000 00000000 0[.,............
0x4678fbd0: 314f3b10 00000000 314f3b10 00000000 .;O1.....;O1....
0x4678fbe0: 00000000 00000000 034e0000 00000000 ..........N.....
0x4678fbf0: 0b2267f8 00000000 4678ff38 00000000 .g".....8.xF....
0x4678fc00: 00000000 00000000 00000000 00000000 ................
0x4678fc10: 0b271d10 00000000 2b1e0058 00000000 ..'.....X..+....
0x4678fc20: 2baf59fd 00000000 0b271d10 00000000 .Y.+......'.....
0x4678fc30: 4678fcc0 00000000 0aaf6c42 00000000 ..xF....Bl......
0x4678fc40: 00000020 00000000 00000000 00007ff8 ...............
0x4678fc50: 00000000 00000000 82b1232d 00007ff8 ........-#......
0x4678fc60: 2baf59fd 00000000 00000000 00000000 .Y.+............
0x4678fc70: 4678ff38 00000000 30cbc850 00000000 8.xF....P..0....
0x4678fc80: 00000000 00000000 00000000 00000000 ................
0x4678fc90: 034e0000 00000000 82b1228b 00007ff8 ..N......"......
0x4678fca0: 2ca25b30 00000000 2ca25b30 00000000 0[.,....0[.,....
0x4678fcb0: 0aaf6b40 00000000 4678fd00 00000000 #k........xF....
0x4678fcc0: 4678fd00 00000000 82c35827 00007ff8 ..xF....'X......
0x4678fcd0: 2ca25b30 00000000 00000001 00000000 0[.,............
0x4678fce0: 2d49a7c0 00000000 2ca25b30 00000000 ..I-....0[.,....
0x4678fcf0: 00000000 00000000 c195265b 00007ff8 ........[&......
0x4678fd00: 0b2267f8 00000000 00000001 00000000 .g".............
0x4678fd10: 00000018 00000000 2d49a7c0 00000000 ..........I-....
0x4678fd20: 299d4600 00000000 30cbc850 00000000 .F.)....P..0....
0x4678fd30: 00000000 00000000 4678ff38 00000000 ........8.xF....
0x4678fd40: 00000000 00000000 00000000 00000000 ................
0x4678fd50: 00000001 00000000 2a362d00 00000000 .........-6*....
0x4678fd60: 00000018 00000000 00000000 00000000 ................
0x4678fd70: 30cbc850 00000000 82c8a045 00007ff8 P..0....E.......
0x4678fd80: 4678fdf0 00000000 4678fdf0 00000000 ..xF......xF....
0x4678fd90: 00000000 00000000 001f0000 00000000 ................
0x4678fda0: 00000000 00000000 82c7787d 00007ff8 ........}x......
0x4678fdb0: 00000000 00000000 2a362d00 00000000 .........-6*....
0x4678fdc0: 00000018 00000000 4678ff38 00000000 ........8.xF....
0x4678fdd0: 00000000 00000000 82b1759c 00007ff8 .........u......
0x4678fde0: 4678fe50 00000000 4678fe50 00000000 P.xF....P.xF....
0x4678fdf0: 00000000 00000000 82b30000 00007ff8 ................
0x4678fe00: 4678fe60 00000000 82b14c69 00007ff8 `.xF....iL......
0x4678fe10: 2af644b0 00000000 4678ff38 00000000 .D.*....8.xF....
0x4678fe20: 4678ff38 00000000 4678fe60 00000000 8.xF....`.xF....
0x4678fe30: 2ca25b30 00000000 82b58059 00007ff8 0[.,....Y.......
0x4678fe40: 1656f65c 00000911 4678ff38 00000000 \.V.....8.xF....
0x4678fe50: 00000000 00000000 00000000 00000000 ................
0x4678fe60: 00000000 00000000 00000001 00000000 ................
0x4678fe70: 2a362d00 00000000 00000000 00000000 .-6*............
0x4678fe80: 4678ff38 00000000 2ca25b30 00000000 8.xF....0[.,....
0x4678fe90: 30cbc850 00000000 82b88439 00007ff8 P..0....9.......
0x4678fea0: 2ca25b30 00000000 00000000 00000000 0[.,............
0x4678feb0: 30cbc850 00000000 2a362d00 00000000 P..0.....-6*....
0x4678fec0: 00000000 00000000 82bb37cb 00007ff8 .........7......
0x4678fed0: 303fde60 00000000 00000000 00000000 `.?0............
0x4678fee0: 30cbc850 00000000 00000000 00000000 P..0............
0x4678fef0: 00000000 00000000 00000000 00000000 ................
0x4678ff00: 00000000 00000000 00000000 00000000 ................
0x4678ff10: 00000000 00000000 00000000 00000000 ................
0x4678ff20: 00000000 00000000 82c6841d 00007ff8 ................
0x4678ff30: 0000640c 00000000 00000000 00000000 .d..............
0x4678ff40: 0b23bed0 00000000 00000000 00000000 ..#.............
0x4678ff50: 00000000 00000000 bf503034 00007ff8 ........40P.....
0x4678ff60: 0b23bed0 00000000 00000000 00000000 ..#.............
0x4678ff70: 00000000 00000000 00000000 00000000 ................
0x4678ff80: 00000000 00000000 c19b1431 00007ff8 ........1.......
0x4678ff90: 00000000 00000000 00000000 00000000 ................
0x4678ffa0: 00000000 00000000 00000000 00000000 ................
0x4678ffb0: 00000000 00000000 bea9bf10 00007ff8 ................
0x4678ffc0: 4678e350 00000000 4678e350 00000000 P.xF....P.xF....
0x4678ffd0: 00000000 00000000 00000000 00000000 ................
0x4678ffe0: 00000000 00000000 00000000 00000000 ................
0x4678fff0: 00000000 00000000 00000000 00000000 ................
Module 1
C:\Program Files\Unity_5.6.3\Editor\OpenRL_pthread.dll
Image Base: 0x80000000 Image Size: 0x0000f000
File Size: 42496 File Time: 2017-07-23_105438
Version:
Company: Open Source Software community LGPL
Product: POSIX Threads for Windows LPGL
FileDesc: MS C 32 bit
FileVer: 2.9.0.0
ProdVer: 2.9.0.0
Module 2
C:\Program Files\Unity_5.6.3\Editor\OpenRL.dll
Image Base: 0x80000000 Image Size: 0x00c30000
File Size: 12654592 File Time: 2017-07-23_105438
Version:
Company: Imagination Technologies, Inc.
Product: OpenRL™
FileDesc: OpenRL™ Library
FileVer: 1.5.100.0
ProdVer: 1.5.100.0
Module 3
C:\WINDOWS\SYSTEM32\MSVCP100.dll
Image Base: 0x53ec0000 Image Size: 0x00098000
File Size: 608080 File Time: 2011-06-11_011538
Version:
Company: Microsoft Corporation
Product: Microsoft® Visual Studio® 2010
FileDesc: Microsoft® C Runtime Library
FileVer: 10.0.40219.325
ProdVer: 10.0.40219.325
Module 4
C:\WINDOWS\SYSTEM32\MSVCR100.dll
Image Base: 0x53f60000 Image Size: 0x000d2000
File Size: 829264 File Time: 2011-06-11_011538
Version:
Company: Microsoft Corporation
Product: Microsoft® Visual Studio® 2010
FileDesc: Microsoft® C Runtime Library
FileVer: 10.0.40219.325
ProdVer: 10.0.40219.325
== [end of error.log] ==
It does not happen all the time but frequently. Let say, 1/2 of my tests.
public void SendData() {
FirebaseAuth auth = FirebaseAuth.DefaultInstance;
Credential credential = FacebookAuthProvider.GetCredential(accessToken);
auth.SignInWithCredentialAsync(credential).ContinueWith(task => {
if (task.IsCompleted) {
FirebaseUser firebaseUser = task.Result;
Debug.LogFormat("User signed in successfully: {0} ({1})",
firebaseUser.DisplayName, firebaseUser.UserId);
// FIREBASE DATABASE INIT
// THIS IS EDITOR ONLY CODE. Firebase handles differently in the client.
FirebaseApp.DefaultInstance.SetEditorDatabaseUrl("https://<<hidden>>.firebaseio.com/");
// FIREBASE DATABASE SAVE (Root Reference)
DatabaseReference reference = FirebaseDatabase.DefaultInstance.RootReference;
User user = new User(firebaseUser.UserId, "Eray", "test#testing.me");
string json = JsonUtility.ToJson(user);
reference.Child("users").Child("Eray").SetRawJsonValueAsync(json).ContinueWith(setValueTask => {
Debug.Log("Set Completed: " + setValueTask.IsCompleted);
Debug.Log("Successful: " + (setValueTask.Exception != null));
});
} else {
Debug.LogError("Firebase SignIn is NOT completed");
}
});
}
Adding a folder with your package name (i.e. com.companyName.appName) into AppData/Local worked for me. Found the solution here
I have deployed an EJB with local and remote interfaces, and I can lookup the local one OK after deployment, but I'm not able to to do with the remote, from a Java SE client.
The EJB code is simple:
#Local(DemoFacade.class)
#Remote(DemoFacadeRemote.class)
#Stateless
public class DemoFacadeBean implements DemoFacade
<snip>
The lookup code is also simple:
Properties env1 = new Properties();
env1.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
env1.put(Context.PROVIDER_URL, "corbaloc:iiop:localhost:2809");
Context initialContext;
initialContext = new InitialContext(env1);
Object ejbHome = initialContext.lookup("cell/nodes/OVLM46008QPZKQ1Node01/servers/server1/ejb/DemoFacadeRemote");
I also tried many variations of the jndi lookup, but all fails with the same error.
Object ejbHome = initialContext.lookup("cell/nodes/OVLM46008QPZKQ1Node01/servers/server1/java:global/WebSphereDemo/WebSphereDemoEJB/DemoFacadeBean!com.test.DemoFacadeRemote");
I have added the following arguments to help debug:
-Dcom.ibm.CORBA.Debug=true -Dcom.ibm.CORBA.CommTrace=true -Dcom.ibm.CORBA.Debug.Output=c:/temp/client.log -Dcom.ibm.ejs.ras.lite.traceSpecification=*=all -Djava.endorsed.dirs=C:/data/workspace/WebSphereDemoEJBTest/lib/websphereclient/eee
The classpath is set to all jars of the websphere/lib folder.
The full console output is (sorry by the length of the output, some of it is ommitted). Real error at the very end.
thanks for any suggestions.
************ Start Display Current Environment ************
<snip>
[26/07/2011 15:49:32:122 EST] 00000000 com.ibm.ws.naming.ipbase.NameSpace > lookUpRootContext Entry
bindingName=IIOP_DEFAULT_ROOT
rootBindingData=com.ibm.ws.naming.ipbase.BindingsTableData#fffd6386
[26/07/2011 15:49:32:123 EST] 00000000 com.ibm.ws.naming.ipbase.NameSpace < lookUpRootContext Exit
javax.naming.NameNotFoundException: Root context not found.
[26/07/2011 15:49:32:123 EST] 00000000 com.ibm.ws.naming.jcache.Cache 3 lookup
NamingException: javax.naming.NameNotFoundException: Root context not found.
[26/07/2011 15:49:32:123 EST] 00000000 com.ibm.ws.naming.jcache.Cache < lookup Exit
Throwing CacheEntryNotFoundException: com.ibm.ws.naming.jcache.CacheEntryNotFoundException: Entry "IIOP_DEFAULT_ROOT" not found in cache. [Root exception is javax.naming.NameNotFoundException: Root context not found.]
[26/07/2011 15:49:32:123 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory > getRootJndiContext Entry
[26/07/2011 15:49:32:124 EST] 00000000 com.ibm.ws.naming.util.TransactionUtil 3 SOURCE CODE INFO: SERV1/ws/code/naming.client/src/com/ibm/ws/naming/util/TransactionUtil.java, WAS.naming.client, WAS80.SERV1, m1116.12, ver. 1.5
[26/07/2011 15:49:32:124 EST] 00000000 com.ibm.ws.naming.util.TransactionUtil > suspend Entry
[26/07/2011 15:49:32:127 EST] 00000000 com.ibm.ws.uow.UOWManagerFactory > getUOWManager Entry
[26/07/2011 15:49:32:128 EST] 00000000 com.ibm.ws.uow.UOWManagerFactory < getUOWManager Exit
com.ibm.ws.uow.ClientUOWManagerImpl#fffdb786
[26/07/2011 15:49:32:128 EST] 00000000 com.ibm.ws.naming.util.TransactionUtil 3 suspend
current transaction suspended
[26/07/2011 15:49:32:128 EST] 00000000 com.ibm.ws.naming.util.TransactionUtil < suspend Exit
[26/07/2011 15:49:32:129 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory > getRootContextFromServer Entry
wsnObjectUrl=corbaloc:iiop:1.0#ovlm46008qpzkq1.oakton.com.au:2809/WsnNameService
objectUrl=corbaloc:iiop:1.0#ovlm46008qpzkq1.oakton.com.au:2809/NameService
[26/07/2011 15:49:32:129 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory > getWsnNameService Entry
objectUrl=corbaloc:iiop:1.0#ovlm46008qpzkq1.oakton.com.au:2809/WsnNameService
[26/07/2011 15:49:32:130 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory 3 getWsnNameService
Attempting to connect to name server using URL corbaloc:iiop:1.0#ovlm46008qpzkq1.oakton.com.au:2809/WsnNameService
[26/07/2011 15:49:32:130 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory > stringToObject Entry
string=corbaloc:iiop:1.0#ovlm46008qpzkq1.oakton.com.au:2809/WsnNameService
[26/07/2011 15:49:32:137 EST] 00000000 er.router.selection.WLMClientForCommonRouterImpl > initialize Entry
[26/07/2011 15:49:32:138 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 version :
1.30
[26/07/2011 15:49:32:138 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR > getWLMIOR Entry
[26/07/2011 15:49:32:138 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - typeid=
[26/07/2011 15:49:32:138 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - host= ovlm46008qpzkq1.oakton.com.au
[26/07/2011 15:49:32:138 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - port= 2809
[26/07/2011 15:49:32:139 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - objectKey= 0x57736e4e616d6553657276696365
[26/07/2011 15:49:32:139 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - taggedcomponent= [Lcom.ibm.rmi.Profile$TaggedComponent;#fffde943
[26/07/2011 15:49:32:143 EST] 00000000 ebsphere.cluster.topography.KeyRepositoryFactory 3 version :
1.2
[26/07/2011 15:49:32:147 EST] 00000000 com.ibm.ws.cluster.topography.KeyRepositoryImpl 3 version :
1.15
[26/07/2011 15:49:32:147 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 component_data
[26/07/2011 15:49:32:147 EST] 00000000 er.router.selection.WLMClientForCommonRouterImpl < initialize - getWLMIOR returned a null Exit
[26/07/2011 15:49:32:192 EST] 00000000 er.router.selection.WLMClientForCommonRouterImpl > initialize Entry
[26/07/2011 15:49:32:192 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR > getWLMIOR Entry
[26/07/2011 15:49:32:192 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - typeid= IDL:com.ibm/WsnBootstrap/WsnNameService:1.0
[26/07/2011 15:49:32:192 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - host= OVLM46008QPZKQ1.oakton.com.au
[26/07/2011 15:49:32:192 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - port= 0
[26/07/2011 15:49:32:193 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - objectKey= 0x4a4d4249000000104773e3aa0000000000000000000000000000000000000024000000080000000000000000
[26/07/2011 15:49:32:193 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - taggedcomponent= [Lcom.ibm.rmi.Profile$TaggedComponent;#fffc731f
[26/07/2011 15:49:32:193 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 component_data
[26/07/2011 15:49:32:193 EST] 00000000 er.router.selection.WLMClientForCommonRouterImpl < initialize - getWLMIOR returned a null Exit
[26/07/2011 15:49:32:198 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory < stringToObject Exit
[26/07/2011 15:49:32:200 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory < getWsnNameService Exit
[26/07/2011 15:49:32:202 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory > mergeWsnNSProperties Entry
[26/07/2011 15:49:32:217 EST] 00000000 com.ibm.ws.ffdc.FFDCFilter 3 FFDC exception: org.omg.CORBA.TRANSIENT: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine:host=OVLM46008QPZKQ1.oakton.com.au,port=0 vmcid: IBM minor code: E02 completed: No com.ibm.ws.orbimpl.transport.WSTransport.getConnection 448
[26/07/2011 15:49:32:237 EST] 00000000 com.ibm.ws.naming.util.RasUtil 3 SOURCE CODE INFO: SERV1/ws/code/naming/src/com/ibm/ws/naming/util/RasUtil.java, WAS.naming, WAS80.SERV1, m1116.12, ver. 1.2
[26/07/2011 15:49:32:238 EST] 00000000 com.ibm.ws.ffdc.FFDCFilter 3 FFDC exception: org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties 1549
[26/07/2011 15:49:32:238 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory mergeWsnNSProperties
FFDC: sourceId=com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties, probeId=1549
org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1274)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1342)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1162)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1308)
at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1884)
at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1264)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:458)
at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(_WsnNameServiceStub.java:38)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1547)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:1040)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:960)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:612)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:128)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:765)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
at javax.naming.InitialContext.lookup(InitialContext.java:431)
at com.oakton.MainTest.main(MainTest.java:20)
Caused by: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:383)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:245)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:232)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
at java.net.Socket.connect(Socket.java:539)
at com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:295)
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:354)
at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(WSTransport.java:436)
at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:187)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:89)
at com.ibm.rmi.iiop.GIOPImpl.getConnection(GIOPImpl.java:130)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:219)
at com.ibm.rmi.corba.ClientDelegate.locate(ClientDelegate.java:1981)
at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:2006)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1184)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1270)
... 17 more
[26/07/2011 15:49:32:239 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory < mergeWsnNSProperties Exit
javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No]
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1550)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:1040)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:960)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:612)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:128)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:765)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
at javax.naming.InitialContext.lookup(InitialContext.java:431)
at com.oakton.MainTest.main(MainTest.java:20)
Caused by: org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1274)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1342)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1162)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1308)
at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1884)
at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1264)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:458)
at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(_WsnNameServiceStub.java:38)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1547)
... 9 more
Caused by: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:383)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:245)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:232)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
at java.net.Socket.connect(Socket.java:539)
at com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:295)
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:354)
at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(WSTransport.java:436)
at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:187)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:89)
at com.ibm.rmi.iiop.GIOPImpl.getConnection(GIOPImpl.java:130)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:219)
at com.ibm.rmi.corba.ClientDelegate.locate(ClientDelegate.java:1981)
at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:2006)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1184)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1270)
... 17 more
[26/07/2011 15:49:32:240 EST] 00000000 com.ibm.ws.ffdc.FFDCFilter 3 FFDC exception: javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No] com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext 963
[26/07/2011 15:49:32:240 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory getRootJndiContext
FFDC: sourceId=com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext, probeId=963
javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No]
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1550)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:1040)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:960)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:612)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:128)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:765)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
at javax.naming.InitialContext.lookup(InitialContext.java:431)
at com.oakton.MainTest.main(MainTest.java:20)
Caused by: org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1274)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1342)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1162)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1308)
at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1884)
at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1264)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:458)
at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(_WsnNameServiceStub.java:38)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1547)
... 9 more
Caused by: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:383)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:245)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:232)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
at java.net.Socket.connect(Socket.java:539)
at com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:295)
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:354)
at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(WSTransport.java:436)
at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:187)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:89)
at com.ibm.rmi.iiop.GIOPImpl.getConnection(GIOPImpl.java:130)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:219)
at com.ibm.rmi.corba.ClientDelegate.locate(ClientDelegate.java:1981)
at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:2006)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1184)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1270)
... 17 more
[26/07/2011 15:49:32:242 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory 3 getRootJndiContext
Could not connect to name server using URL corbaloc:iiop:1.0#ovlm46008qpzkq1.oakton.com.au:2809/NameService
[26/07/2011 15:49:32:245 EST] 00000000 com.ibm.ws.ffdc.FFDCFilter 3 FFDC exception: javax.naming.NamingException: NMSV0602E: Naming Service unavailable. A communications error occurred. [Root exception is javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No]] com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext 886
[26/07/2011 15:49:32:247 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory getRootJndiContext
FFDC: sourceId=com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext, probeId=886
javax.naming.NamingException: NMSV0602E: Naming Service unavailable. A communications error occurred. [Root exception is javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No]]
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:979)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:612)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:128)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:765)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
at javax.naming.InitialContext.lookup(InitialContext.java:431)
at com.oakton.MainTest.main(MainTest.java:20)
Caused by: javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No]
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1550)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:1040)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:960)
... 7 more
Caused by: org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1274)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1342)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1162)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1308)
at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1884)
at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1264)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:458)
at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(_WsnNameServiceStub.java:38)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1547)
... 9 more
Caused by: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:383)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:245)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:232)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
at java.net.Socket.connect(Socket.java:539)
at com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:295)
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:354)
at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(WSTransport.java:436)
at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:187)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:89)
at com.ibm.rmi.iiop.GIOPImpl.getConnection(GIOPImpl.java:130)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:219)
at com.ibm.rmi.corba.ClientDelegate.locate(ClientDelegate.java:1981)
at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:2006)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1184)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1270)
... 17 more
[26/07/2011 15:49:32:247 EST] 00000000 com.ibm.ws.naming.util.TransactionUtil > resume Entry
wrapper=com.ibm.ws.naming.util.TransactionUtil$TransactionWrapper#fffae2a9[_manager=com.ibm.ws.uow.ClientUOWManagerImpl#fffdb786, _token=null]
[26/07/2011 15:49:32:248 EST] 00000000 com.ibm.ws.naming.util.TransactionUtil 3 resume
no transaction to resume
[26/07/2011 15:49:32:248 EST] 00000000 com.ibm.ws.naming.util.TransactionUtil < resume Exit
javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No]
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1550)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:1040)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:960)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:612)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:128)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:765)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
at javax.naming.InitialContext.lookup(InitialContext.java:431)
at com.oakton.MainTest.main(MainTest.java:20)
Caused by: org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1274)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1342)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1162)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1308)
at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1884)
at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1264)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:458)
at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(_WsnNameServiceStub.java:38)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1547)
... 9 more
Caused by: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:383)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:245)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:232)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
at java.net.Socket.connect(Socket.java:539)
at com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:295)
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:354)
at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(WSTransport.java:436)
at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:187)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:89)
at com.ibm.rmi.iiop.GIOPImpl.getConnection(GIOPImpl.java:130)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:219)
at com.ibm.rmi.corba.ClientDelegate.locate(ClientDelegate.java:1981)
at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:2006)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1184)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1270)
... 17 more
I came across something like this and adding these two params helped:
-Dcom.ibm.SSL.ConfigURL=file:$profile_root/properties/ssl.client.props
-Dcom.ibm.CORBA.ConfigURL=file:$profile_root/properties/sas.client.props
You may also have to set these params too or hardcode them in sas.client.props, I noticed that the prompt kept timing out waiting for login credentials if I did not include these ones.
-Dcom.ibm.CORBA.loginUserid=${WasUserid}
-Dcom.ibm.CORBA.loginPassword=${WasPassword}
-Dcom.ibm.CORBA.loginSource=properties
just noticed that my listener address / url format is different too:
-Djava.naming.provider.url=iiop://localhost:${ORB_LISTENER_ADDRESS} . You can find the orb listener port in config/cells//nodes//serverindex.xml .
Hope that works!