Hi,

it's specified in the pax-web configuration, per default it's not available as config file though it's managed through
the http feature in the standard karaf feature file.
like here:

<feature name="http" version="${project.version}" resolver="(obr)">
<configfile finalname="/etc/jetty.xml">mvn:org.apache.karaf/apache-karaf/${project.version}/xml/jettyconfig</configfile>
<config name="org.ops4j.pax.web">
            org.osgi.service.http.port=8181
            javax.servlet.context.tempdir=${karaf.data}/pax-web-jsp
            org.ops4j.pax.web.config.file=${karaf.base}/etc/jetty.xml
</config>
<feature version="[7.0,8.0)">jetty</feature>
<bundle start-level="30">mvn:org.ops4j.pax.web/pax-web-api/${pax.web.version}</bundle> <bundle start-level="30">mvn:org.ops4j.pax.web/pax-web-spi/${pax.web.version}</bundle> <bundle start-level="30">mvn:org.ops4j.pax.web/pax-web-runtime/${pax.web.version}</bundle> <bundle start-level="30">mvn:org.ops4j.pax.web/pax-web-jetty/${pax.web.version}</bundle>
</feature>

those entries are added to the configuration admin service and can be changed
on the shell or in the webconsole.

if you think you found a bug, please don't hesitate to open a issue for it at pax-web at [1]

regards, Achim

[1] - https://team.ops4j.org/browse/PAXWEB

Am 06.04.2012 13:51, schrieb londonukm:
Hi,

I am having this issue when I have copied a servicemix i have developed on
one machine to another for testing. I had a quick look and it seems this was
an issue that was addressed in  http://jira.codehaus.org/browse/JETTY-297
Jetty 6.1.2rc3 . I also had a look for a place in the system where that path
was being set but could not find it anywhere. All help would be much
appreciated.

Many Thanks

Graham

karaf@root>  FATAL: PWC5963: The scratchDir you specified:
D:\Code\MSK\trunk\data\pax-web-jsp\activemqweb is unusable.

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/FATAL-PWC5963-The-scratchDir-you-specified-is-unusable-tp5622603p5622603.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


--
- Apache Karaf<http://karaf.apache.org/>  Committer&  PMC
- OPS4J Pax Web<http://wiki.ops4j.org/display/paxweb/Pax+Web/>    Committer&  
Project Lead
- Blog<http://notizblog.nierbeck.de/>

Reply via email to