Deleting a web context

110 views
Skip to first unread message

Jay B

unread,
Sep 30, 2016, 10:04:39 AM9/30/16
to Lucee
I'm trying to delete a web context which is no longer needed. I have just 2 


I want to delete webmin as I'm no longer using it.

I've removed the site from IIS & deleted the dir from wwwroot.

I deleted the entry from server.xml

Restarted Tomcat & IIS and I still have webmin showing in server admin which I can access via webmin.domain.com:8888

the wedmin context shows C:\lucee\tomcat\webapps\ROOT\  & C:\lucee\tomcat\webapps\ROOT\WEB-INF\lucee\lucee-web.xml.cfm

whereas www context shows C:\inetpub\wwwroot\mainsite\ & C:\inetpub\wwwroot\mainsite\WEB-INF\lucee\lucee-web.xml.cfm

so I thought if I deleted (moved actually to be safe) C:\lucee\tomcat\webapps\ that would get rid of it but it killed both sites.

What am I missing?


Igal @ Lucee.org

unread,
Sep 30, 2016, 12:49:58 PM9/30/16
to lu...@googlegroups.com

Please show the Context elements from your Tomcat/conf/server.xml


Igal Sapir
Lucee Core Developer
Lucee.org

--
Get 10% off of the regular price for this years CFCamp in Munich, Germany (Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp. 189€ instead of 210€. Visit https://ti.to/cfcamp/cfcamp-2016/discount/Lucee@cfcamp
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/987f8e30-1513-479a-aa7e-a5b2273362df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Jay B

unread,
Sep 30, 2016, 1:55:24 PM9/30/16
to Lucee

Well...hmmm

 I had a duplicate entry...removed that and restarted...context is now gone from server admin

however I can still get to webmin.domain.com:8888/lucee/admin/web.cfm and if I do that...it seems it creates a context. Is that expected behaviour?

All I have in server.xml is


     <Host name="127.0.0.1"  appBase="webapps"
            unpackWARs="true" autoDeploy="true">

      <Host name="localhost" appBase="webapps">
        <Context path="" docBase="c:\inetpub\wwwroot\mainsite\" />
      </Host>


 <Host name="domain.com" appBase="webapps">
        <Context path="" docBase="c:\inetpub\wwwroot\mainsite\" />
<Alias>www.domain.com</Alias>
      </Host>

Igal @ Lucee.org

unread,
Sep 30, 2016, 4:49:35 PM9/30/16
to lu...@googlegroups.com

Surely you didn't copy/paste that snippet as it is malformed.

If you only want one context then you should only have one Host element and add more Aliases as needed, e.g.

<Host name="localhost" appBase="webapps">

    <Alias>domain.com</Alias>
    <Alias>www.domain.com</Alias>



    <Context path="" docBase="c:\inetpub\wwwroot\mainsite\" />
</Host>

Igal Sapir
Lucee Core Developer
Lucee.org

--
Get 10% off of the regular price for this years CFCamp in Munich, Germany (Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp. 189€ instead of 210€. Visit https://ti.to/cfcamp/cfcamp-2016/discount/Lucee@cfcamp
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages