You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/02/03 19:48:37 UTC

DO NOT REPLY [Bug 48674] New: Tomcat Virtual Host Manager application doesn't persist newly created virtual hosts

https://issues.apache.org/bugzilla/show_bug.cgi?id=48674

           Summary: Tomcat Virtual Host Manager application doesn't
                    persist newly created virtual hosts
           Product: Tomcat 6
           Version: 6.0.24
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Manager application
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: pskopek@gmail.com


If one create virtual host using /host-manager application all work as
expected. Start/Stop/Remove actions.
But newly created host is not persistently added to the Tomcat configuration.
After restart of Tomcat there is only localhost host listed.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48674] Tomcat Virtual Host Manager application doesn't persist newly created virtual hosts

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48674

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #2 from Mark Thomas <ma...@apache.org> 2010-02-06 13:44:21 UTC ---
Patches to enhance the host-manager are always welcome.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48674] Tomcat Virtual Host Manager application doesn't persist newly created virtual hosts

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48674

--- Comment #3 from Wesley <we...@gmail.com> 2010-09-12 14:40:28 EDT ---
Created an attachment (id=26019)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26019)
Rough patch to provide persistance to the host manager.

This needs some cleanup but it is functional.

At tbe meoment errors are being swallowed. I'm not sure what to do with the
though.

Should the manager show success if the runtime addition was successful but the
persistent addition wasn't?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48674] Tomcat Virtual Host Manager application doesn't persist newly created virtual hosts

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48674

kevin.hu <wy...@126.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|All                         |Linux

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48674] Tomcat Virtual Host Manager application doesn't persist newly created virtual hosts

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48674

--- Comment #5 from Chuck Caldarale <ch...@unisys.com> 2010-09-24 16:16:06 EDT ---
(In reply to comment #4)
> Is this worth continuing with?  I know its rough but I'd like to know if its a
> start again job, or continue from here.

I definitely think it's worthwhile.

As far as the error handling goes, I'm in agreement with another e-mail that as
much as possible, it should appear to be an atomic operation.  It might not
always be possible to undo an inserted <Host> from the live Tomcat, but you can
at least tell the user what the situation is.

 - Chuck

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48674] Tomcat Virtual Host Manager application doesn't persist newly created virtual hosts

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48674

--- Comment #4 from Wesley <we...@gmail.com> 2010-09-24 16:03:43 EDT ---
Is this worth continuing with?  I know its rough but I'd like to know if its a
start again job, or continue from here.

Wes

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48674] Tomcat Virtual Host Manager application doesn't persist newly created virtual hosts

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48674

Wesley <we...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wesley.acheson@gmail.com
           Platform|PC                          |All
            Version|6.0.24                      |6.0.29
         OS/Version|Linux                       |All

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48674] Tomcat Virtual Host Manager application doesn't persist newly created virtual hosts

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48674

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> 2010-02-03 10:51:37 UTC ---
*** Bug 48673 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org