I don't know what is wrong. Besides the fact that it does not work for you you did not provide any details, configuration files or any other information.
As far as suggestion:
I followed that WIKI page several times and i guarantee you that if you follow every single step it will work. As the matter of fact I bet 5 people already ($5 each) that if you don't miss a step it will work.
Give it a shot.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028110#4028110
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028110
When you test your EJB running JBoss instance on local windows machine it works simply becouse Client and Server happened to be on the same machine. Whe you run it on Linux or even another Windows machine the following code will never display a PDF file to the client.
Realize that your code (EJB Code) is executing on the server and if the server and your code will get the server Runtime and if the server has a default editor/viewr for PDF it will be opened there and never on the client.
Try to access your application while it is running on windows but access it from another windows machine. You will see that the file will be opened on the machine with the server.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028103#4028103
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028103