Hi! Doug Ellison <doug.ellison@...> writes:
> Hi I'm trying to get Apache Shindig to run within Jboss AS 5.1. I've > run into a problem that I cannot seem to figure out. I downloaded and > ran the latest code and it builds successfully. I am able to do mvn > -Prun and get the Jetty server up and running and am able to do the > same gadgets etc. The problem becomes when I try to take the > generated .war file for shindig-server-etcetcetc.war and deploy to > Jboss. I launch Jboss and remove the ROOT.war file from the default > deploy directory. I then rename / move the shindig war to deploy and > watching the console logs it deploys successfully in the root context. > When I use the same URL that worked with the Jetty server running > http://localhost:8080/gadgets/ifr? url=http://www.labpixies.com/campaigns/todo/todo.xml > it fails with an error > > org.apache.shindig.common.uri.Uri$UriException: > java.lang.IllegalArgumentException: java.net.URISyntaxException: > Illegal character in authority at index 7: http://localhost > aKey=/shindig/gadgets/proxy?container=default&url= shindig.port=:8080 > > Any light that someone can shed would be monumentally appreciated. > I've wondered if it could be some kind of dependency issue with a jar > that comes bundled with Jboss. I did get rid of the original > xercesimpl.jar that came with Jboss because initially I had problems > with it launching and it was getting errors with SAX parsing. Once > again any help would be appreciated. It's been a while since this has been asked, but eventually the answer will help someone finding it... In the web.xml shipped with shindig 2.5-beta-4 there is context-param named "system.properties" defined. Its value is this: <![CDATA[ shindig.host= shindig.port= aKey=/shindig/gadgets/proxy?container=default&url= ]]> I really don't know what it is needed for but just removing everything within CDATA solved the problem for me. Earlier I tried using valid hostname and port but this didn't solve the problem. hth, - martin