Halas, Miroslav | 1 Apr 2002 18:42
Picon
Favicon

RE: Controlling where war file gets extracted....

Greg,

Yes, I did check it and there are actually some files created, maybe I
missed them the first time, but the web application is still not working and
this is what is happening

If I run the the webapps with configuration like this

  <Call name="addWebApplication">
    <Arg>/</Arg>
    <Arg><SystemProperty name="jetty.home" default="."/>/webapps/aqp/≤/Arg>
    <Arg><SystemProperty name="user.home" default="."/>/webdefault.xml</Arg>
    <Arg type="boolean">false</Arg> <!-- dont expand war -->
  </Call>

  <Call name="addWebApplication">
    <Arg>/jadmin/*</Arg>
    <Arg><SystemProperty name="jetty.home"
default="."/>/webapps/jadmin.war</Arg>
    <Arg><SystemProperty name="user.home" default="."/>/webdefault.xml</Arg>
    <Arg type="boolean">false</Arg> <!-- dont expand war -->
  </Call>

I get deprecation messages but Jetty behaves exactly as I expect, no
unpacking is done, application runs just fine (both ccentral and jadmin).

The output is

Using Property file = D:\ccentral\config\server1\jetty.xml
10:07:34.133 EVENT  Checking Resource aliases
(Continue reading)

Greg Wilkins | 2 Apr 2002 04:51
Gravatar

RE: Controlling where war file gets extracted....


Miro,

I am confused by this????   Something is definitely going wrong.
Not sure why it is trying to extract the webdefault.xml???

Can you try it without passing the webdefault.xml file?  It may be
something stupid in the 3 arg version which I have not tested for
a while?

The * in the temp file name is probably not a good idea and I'll
change the code to remove all special characters.

I'll try to get a look at this in the near future....  but it
still may be a week or two off  - sorry

Can you run the 4.0.0 demo?  What does it put in the temp directories
for you?

cheers

 --- "Halas, Miroslav" <miroslav.halas <at> compuware.com> wrote: > Greg,
> 
> Yes, I did check it and there are actually some files created, maybe I
> missed them the first time, but the web application is still not working
> and
> this is what is happening
> 
> If I run the the webapps with configuration like this
> 
(Continue reading)


Gmane