Ha all,
I installed B1i Patch 5 on my local machine with SQL Server 2000 SP4, SBO2005, SQL JDBC 1.1, Tomcat 5.0, Java JRE 1.6.0_02.
In EventSender I replaced with SysID for B1i Server from Control Center, then started EventSender, it was OK.
In Control Center/Landscape I created connections with 2 SBO databases, connections were OK.
Then I imported BIU B1PO2B1SO.
Users:
B1i / Control Center: B1iadmin, B1iadmin
EventSender COnfiguration: B1ipeer, B1ipeer
User for connection with SBO databases from B1i are superusers and are diffent as users which were logged in SBO
When I created new PO in Sender Company (with another user as in B1i Landscape defined), in ControlCenter / MessageLog I saw no LOG message, but in Command following message appeared:
10.09.2007 12:21:08 com.sap.b1i.eventsender.http.HttpConnection sendPostRequest
KONFIG: POST /B1iXcellerator/exec/ipo/0010000000.inbound/ipo.com.sap.b1i/P01/P01
.ipo/EventConvertor HTTP/1.0
Host: localhost:8080
Connection: close
Content-Type: text/xml
Content-Length: 585
Authorization: Basic QjFpcGVlcjpCMWlwZWVy
<?xml version="1.0" encoding="UTF-8" ?>
<b1e:b1events xmlns:b1e="urn:com.sap.b1i.sim:b1event"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:com.sap.b1i.sim:b1event ../../com.sap.b1i.repository/Gen
eral.xsd/B1Events.xsd">
<b1e:b1event>
<b1e:eventsource>Trophy</b1e:eventsource>
<b1e:objecttype>17</b1e:objecttype>
<b1e:transactiontype>A</b1e:transactiontype>
<b1e:usercode>manager</b1e:usercode>
<b1e:keys count="1">
<b1e:key>
<b1e:name>DocEntry</b1e:name>
<b1e:value>9</b1e:value>
</b1e:key>
</b1e:keys>
</b1e:b1event>
</b1e:b1events>
10.09.2007 12:21:08 com.sap.b1i.eventsender.http.HttpConnection sendPostRequest
KONFIG: HTTP request sent
10.09.2007 12:21:08 com.sap.b1i.eventsender.http.HttpClient sendEvents
KONFIG: HttpConnection.sendPostRequest Exception:
com.sap.b1i.eventsender.http.HttpClientException: HTTP request failed:HTTP/1.1 4
04
at com.sap.b1i.eventsender.http.HttpConnection.sendPostRequest(HttpConne
ction.java:679)
at com.sap.b1i.eventsender.http.HttpClient.sendEvents(HttpClient.java:11
5)
at com.sap.b1i.eventsender.B1HttpSubscriber.update(B1HttpSubscriber.java
:32)
at com.sap.b1i.eventsender.B1EventPublisher.notifySubscribers(B1EventPub
lisher.java:116)
at com.sap.b1i.eventsender.EventSender.doSend(EventSender.java:212)
at com.sap.b1i.eventsender.EventSender.execute(EventSender.java:131)
at com.sap.b1i.eventsender.EventSenderApplication.runPublisher(EventSend
erApplication.java:41)
at com.sap.b1i.eventsender.EventSenderApplication.startEventSender(Event
SenderApplication.java:100)
at com.sap.b1i.eventsender.EventSenderApplication.main(EventSenderApplic
ation.java:86)
10.09.2007 12:21:08 com.sap.b1i.eventsender.EventSender doSend
KONFIG: B1EventSubscriberException:
com.sap.b1i.eventsender.B1EventSubscriberException: HttpConnection.sendPostReque
st Exception:: HTTP request failed:HTTP/1.1 404;
---> nested com.sap.b1i.eventsender.http.HttpClientException: HttpConnec
tion.sendPostRequest Exception:: HTTP request failed:HTTP/1.1 404;
---> nested com.sap.b1i.eventsender.http.HttpClientException: HTTP reque
st failed:HTTP/1.1 404
at com.sap.b1i.eventsender.B1HttpSubscriber.update(B1HttpSubscriber.java
:34)
at com.sap.b1i.eventsender.B1EventPublisher.notifySubscribers(B1EventPub
lisher.java:116)
at com.sap.b1i.eventsender.EventSender.doSend(EventSender.java:212)
at com.sap.b1i.eventsender.EventSender.execute(EventSender.java:131)
at com.sap.b1i.eventsender.EventSenderApplication.runPublisher(EventSend
erApplication.java:41)
at com.sap.b1i.eventsender.EventSenderApplication.startEventSender(Event
SenderApplication.java:100)
at com.sap.b1i.eventsender.EventSenderApplication.main(EventSenderApplic
ation.java:86)
In Database B1i, table B1iEventLog I found new entry with the same document as in error.
The problem is with HTTP,
HttpConnection.sendPostReque
st Exception:: HTTP request failed:HTTP/1.1 404;
---> nested com.sap.b1i.eventsender.http.HttpClientException: HttpConnec
tion.sendPostRequest Exception
If I can see, the SP_TransactionProcedure found new PO object in sender company, but the message was not send to B1i because of HTTP transfer.
Have you any idea, what is in my case wrong?
Thanks.
King regards
Libor.