cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver File Adapter J2SE Adapter Engine

former_member192375
Participant
0 Kudos

Hi,

We have configured a receiver file adapter on a J2SE adapter engine through the administrator page of the J2SE adapter.

XI.httpPort=8222

XI.httpService=/file/Receive

and the rest of the adapter parameters.

I have configured a channel in ID as XI receiver adapter.

host: "hostname"

Service: 8222

Path Prefix: /file/Receive

The messages in sxmb_moni fail to be delivered with "HTTP error 404 Resource not found."

Through a browser I am also not able to make a connection to this url:

"host":8222/file/Receive

Getting Http error "501".

Please can someone shed some light on this problem.

Regards

Willie Hugo

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member192375
Participant
0 Kudos

Found the solution. Just start the as service with one the admin users. The important thing is to copy the adapter to a new name and then you have the choice of starting the adapter automatically when the J2SE adapter engine comes up. Else if you have configured the standard adapter that the J2SE adapter is delivered with then the adapter does not start automatically then.

Thank you very much for every bodyu2019s contribution.

Regards

Willie Hugo

former_member192375
Participant
0 Kudos

Hi,

We have fond the problem. The J2SE adapter Engine was running as a Windows service. When we run in in the foreground (Locally) not as a Windows service then I am able to send a message to the J2SE adapter Engine from the SAP PI integration server.

All your help thus far is much appreciated.

Now the only question left is how do we get the J2SE adapter Engine to run as a Windows service?

Regards

Willie Hugo

jyothi_anagani
Active Contributor
former_member192375
Participant
0 Kudos

Hi Stevan,

Yes if I ping the server where the J2SE adapter is I find it, but when I put the url http://"host":8222/file/Receive in the browser then I get a "Http 501 error".

Any other ideas?

Regards

Willie Hugo

former_member192375
Participant
0 Kudos

There was, but we have disabled it and retried to no affect.

stefan_grube
Active Contributor
0 Kudos

When you logon to PI server, can you ping the J2SE adapter server? Maybe you need an entry in etc/hosts.

Regards

Stefan

former_member181985
Active Contributor
0 Kudos

>Through a browser I am also not able to make a connection to this url:

>"host":8222/file/Receive

>Getting Http error "501".

This is ok. Since get method not implemeted for this service.

Since from XI you are getting this error "HTTP error 404 Resource not found", can you logon to XI server at OS level and do a telnet test to check if the port is working.

cmd> telnet
telnet> open <J2SEAdpaterEngineHostName (or) IPAddress> 8222

former_member181985
Active Contributor
0 Kudos

Are there any firewalls in between XI and Plain J2SE adapter systems.?