Thursday, July 2, 2009

Invoking the SEAM app through the client machine

We know that the seam application can be invoked through, the following url
http://localhost:8080/urapp
this would work fine if the jboss server and the client both are in the same machine..but if u wanna access it through another client u may access via
http://ip_address:8080/urapp
But this would not work unless if u don't do the following settings.
Step 1: Go to /bin
Eg : D:\jboss-eap-4.3\jboss-as\bin
Step 2: Copy the following in the notepad
run.bat -b 0.0.0.0
save it as "runjb.bat" at the bin folder.
Step 3: Create the short cut for runjb.bat.
Step4: Start the jbsos using the runjb.bat
Now ur client can access ur app via http://ip_address:8080/urapp the url.

No comments:

Post a Comment