[Geoserver-devel] Can GeoServer+Mapbuilder deployed in weblogic9.2

I deploy GeoServer to Weblogic9.2. And I view “GeoServer WCS branch under WebLogic 9.2” page to change the Geoserver. Then I can start the GeoServer. But I can not view the map data that in my geoserver application by request on mapPreview.do .
Can somebody tell me the reason?

Thanks!


佳能PowerShot数码相机有奖征集中文名活动,开始啦!

taixingjason ha scritto:

I deploy GeoServer to Weblogic9.2. And I view "GeoServer WCS branch
under WebLogic 9.2" page to change the Geoserver. Then I can start
the GeoServer. But I can not view the map data that in my geoserver
application by request on mapPreview.do . Can somebody tell me the
reason?

Mapbuilder needs an html file and an xml configuration file for the
preview. Geoserver generates them inside the /preview directory within
the web application now.
We plan to change this and have the files generated on the fly instead
of writing them to disk, but for the moment, can you instruct WebLogic
to unpack the war and then make sure the preview directory is writable?

Cheers
Andrea

taixingjason ha scritto:

     Sorry, I cannot unpack the geoserver.war in Weblogic9.2. I deploy the geoserver by folder form. The preview directory was readonly originally. Also, I find that, XMLHttpRequest.responseXML can not response normally in weblogic9.2 if the web.xml that in the geoserver's application not contain "<mime-mapping>
  <extension>xml</extension>
  <mime-type>text/xml</mime-type>
</mime-mapping>". If you add that in web.xml, you can view the /preview dirctory.

I see. Well, next version of Geoserver will have OpenLayers
previews generated on the fly, so it shouldn't be anymore a problem.
Anyways, I've created a page to sum up what needs to be done to
deploy Geoserver on Weblogic:
http://docs.codehaus.org/display/GEOSDOC/Deploy+in+Weblogic

If you have comments (or if I misspelled your name :-p) let me know.

Cheers
Andrea