problem....change tomcat port

39 views
Skip to first unread message

winzaldi

unread,
Nov 18, 2009, 10:59:57 PM11/18/09
to Hermes 2.0 Discussion List
I have a problem ...

when I change tomcat port 8080 to 9443, url WebService does not appear
http://localhost:9943/corvus/httpd/ebms/inbound

hermes can keep the work well if I change tomcat port?

sorry, my english not so good

Kit

unread,
Nov 19, 2009, 1:26:55 AM11/19/09
to Hermes 2.0 Discussion List
Hi winzaldi,

Hermes should still work even if u change the tomcat port.

is that 9443 or 9943?
have u restarted the tomcat after changing the port?

and does the problem only occur at http://localhost:9943/corvus/httpd/ebms/inbound?
or it occurs at any other pages of the Hermes Web UI?

Regards,
Kit Yuen, Software Engineer
Apacus Software - Innovate, Simplify

Email: kit....@apacus.com
Site: http://www.apacus.com

On Nov 19, 11:59 am, winzaldi <winza...@gmail.com> wrote:
> I have a problem ...
>
> when I change tomcat port 8080 to 9443, url WebService does not appearhttp://localhost:9943/corvus/httpd/ebms/inbound

winzaldi

unread,
Nov 19, 2009, 3:06:35 AM11/19/09
to Hermes 2.0 Discussion List
Tengkyu Kit for your answer

sorry, 9443 not 9943...

yes,I have to restart tomcat in my pc.
in url ws to sender document : http://192.168.1.119:9443/corvus/httpd/ebms/sender

in xml page..

<port name="EbmsSend" binding="p:EbmsSoapHttpSend">
<soap:address location="http://127.0.0.1:8080/corvus/httpd/ebms/
sender"/>
</port>

there we can see "http://127.0.0.1:8080/corvus/httpd/ebms/sender"
still have port 8080
whereas tomcat working on port 9443 ....

any idea???





On 19 Nov, 13:26, Kit <kit.y...@apacus.com> wrote:
> Hi winzaldi,
>
> Hermes should still work even if u change the tomcat port.
>
> is that 9443 or 9943?
> have u restarted the tomcat after changing the port?
>
> and does the problem only occur athttp://localhost:9943/corvus/httpd/ebms/inbound?
> or it occurs at any other pages of the Hermes Web UI?
>
> Regards,
> Kit Yuen, Software Engineer
> Apacus Software - Innovate, Simplify
>
> Email: kit.y...@apacus.com

Kit

unread,
Nov 19, 2009, 3:23:34 AM11/19/09
to Hermes 2.0 Discussion List
Hi winzaldi,

1. how could u get that xml page?

2. can u access the http://localhost:9443:corvus/admin/home?

Regards,
Kit Yuen, Software Engineer
Apacus Software - Innovate, Simplify

Email: kit....@apacus.com
Site: http://www.apacus.com

winzaldi

unread,
Nov 19, 2009, 4:21:55 AM11/19/09
to Hermes 2.0 Discussion List
1.xml page .....

xml page is The Sender Service is for the application of the sending
party to request
Hermes to send an ebMS message to the Hermes or any
other compatible messaging
gateway of the receiving party.

http://<HERMES_HOST>:<HERMES_PORT>/corvus/httpd/ebms/sender

in my url :

http://192.168.1.119:9443/corvus/httpd/ebms/sender


this part of xml
</definitions>
...........
<message name="EbmsRequestMsg">
<part name="cpaId" type="s:string" />
<part name="service" type="s:string" />
<part name="action" type="s:string" />
<part name="convId" type="s:string" />
<part name="fromPartyId" type="s:string" />
<part name="fromPartyType" type="s:string" />
<part name="toPartyId" type="s:string" />
<part name="toPartyType" type="s:string" />
<part name="refToMessageId" type="s:string" />
<part name="serviceType" type="s:string" />
</message>
<message name="EbmsResponseMsg">
<part name="message_id" type="s:string" />
</message>
<portType name="EbmsSend">
<operation name="Request">
<input message="p:EbmsRequestMsg" />
<output message="p:EbmsResponseMsg" />
</operation>
</portType>
<binding name="EbmsSoapHttpSend" type="p:EbmsSend">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
<operation name="Request">
<soap:operation soapAction="ebmssend" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>
<service name="EbmsOutbound">
<documentation>Documentation not available.</documentation>
<port name="EbmsSend" binding="p:EbmsSoapHttpSend">
<soap:address location="http://127.0.0.1:8080/corvus/httpd/ebms/
sender" />
</port>
</service>
</definitions>

whereas tomcat working on port 9443

so I got an error when sending a document due to the above xml

this is error :

javax.xml.soap.SOAPException: No registered sender channel

2. yes, i can access the http://localhost:9443:corvus/admin/home

sorry, my english not well ....

thk's for you answer.

Regards,
Winzaldi

On 19 Nov, 15:23, Kit <kit.y...@apacus.com> wrote:
> Hi winzaldi,
>
> 1. how could u get that xml page?
>
> 2. can u access thehttp://localhost:9443:corvus/admin/home?
>
> Regards,
> Kit Yuen, Software Engineer
> Apacus Software - Innovate, Simplify
>

Kit

unread,
Nov 19, 2009, 5:20:15 AM11/19/09
to Hermes 2.0 Discussion List
Hi winzaldi,

So u make your own webserivce client to send the send request or u use
the scripts in /sample which is installed together with hermes?

your english is good enough, no worry =)

Regards,
Kit Yuen, Software Engineer
Apacus Software - Innovate, Simplify

Email: kit....@apacus.com
Site: http://www.apacus.com
> 2. yes, i can access thehttp://localhost:9443:corvus/admin/home

winzaldi

unread,
Nov 19, 2009, 5:47:24 AM11/19/09
to Hermes 2.0 Discussion List
i use the scripts in /sample which is installed together with hermes

On 19 Nov, 17:20, Kit <kit.y...@apacus.com> wrote:
> Hi winzaldi,
>
> So u make your own webserivce client to send the send request or u use
> the scripts in /sample which is installed together with hermes?
>
> your english is good enough, no worry =)
>
> Regards,
> Kit Yuen, Software Engineer
> Apacus Software - Innovate, Simplify
>

Kit

unread,
Nov 19, 2009, 8:09:53 AM11/19/09
to Hermes 2.0 Discussion List
Hi winzaldi,

have u edited the ebms-request.xml in the /sample/config/ebms-send?
if u change the port, u have to configure the webservice client
setting.

Normally, changing the web container port would not affect the Hermes
2 service. but u have to configure the client program such that it can
communicate with Hermes2.

Hope this help =)

Regards,
Kit Yuen, Software Engineer
Apacus Software - Innovate, Simplify

Email: kit....@apacus.com
Site: http://www.apacus.com

Hana Bouafif

unread,
Nov 19, 2009, 8:55:22 AM11/19/09
to cecid-...@googlegroups.com
hi winzaldi,
yes i think that's the problem, y have to reconfigure the webservice client setting!

2009/11/19 Kit <kit....@apacus.com>
--

You received this message because you are subscribed to the Google Groups "Hermes 2.0 Discussion List" group.
To post to this group, send email to cecid-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cecid-hermes2?hl=.





--
Cordialement
Hana BOUAFIF

winzaldi

unread,
Nov 20, 2009, 2:56:30 AM11/20/09
to Hermes 2.0 Discussion List
Th's kit Kit and Hana

problem has been solved.

thk's a lot :)

Regards

Winzaldi

On 19 Nov, 20:55, Hana Bouafif <hanaboua...@gmail.com> wrote:
> hi winzaldi,
> yes i think that's the problem, y have to reconfigure the webservice client
> setting!
>
> 2009/11/19 Kit <kit.y...@apacus.com>
>
>
>
> > Hi winzaldi,
>
> > have u edited the ebms-request.xml in the /sample/config/ebms-send?
> > if u change the port, u have to configure the webservice client
> > setting.
>
> > Normally, changing the web container port would not affect the Hermes
> > 2 service. but u have to configure the client program such that it can
> > communicate with Hermes2.
>
> > Hope this help =)
>
> > Regards,
> > Kit Yuen, Software Engineer
> > Apacus Software - Innovate, Simplify
>
Reply all
Reply to author
Forward
0 new messages