<qconfig pollTime="30">
<homeUrl>http://thing1:8080</homeUrl>
<returnAddress>mailto:fred@ispHost.net</returnAddress>
<smtp>smtp.ispHost.net</smtp>
<pop>pop.ispHost.net</pop>
<mailUserName>fred</mailUserName>
<mailPassword>fredLikesFish</mailPassword>
<dbClass>com.jxml.qare.qhome.db.DBAccount</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBAppData</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBAppTable</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBApplication</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBContentIdentifier</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBInbox</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBKeyPair</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBLocalPrivileges</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBPendingMessage</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBPrivilege</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBProject</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBRegisterInfo</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBRegisterPending</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBRemoteAccount</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBSession</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBSystem</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBUser</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBUserDelegations</dbClass>
<sqlDriver>org.gjt.mm.mysql.Driver</sqlDriver>
<sqlUser>freddy</sqlUser>
<sqlPassword>abc</sqlPassword>
<sqlUrl>jdbc:mysql://localhost/http_thing6_8080</sqlUrl>
<spPriv>home</spPriv>
<spPriv>login</spPriv>
<spPriv>remote</spPriv>
<limitWebService>500</limitWebService>
<refreshInterval>5</refreshInterval>
</qconfig>
If tomcat is running out on the internet itself, it can receive requests via
HTTP POSTs. But it still needs to be able to send responses to systems which
are only accessible via email.
The sample below includes the following configuration:
-
The web address is http://www.goodFriends.com:8080.
-
The email account is qare@goodFriends.com.
-
The smtp server is smtp.goodFriends.com.
-
The driver name to access mysql is org.gjt.mm.mysql.Driver.
-
The login name for mysql is freddy
-
The mysql password is abc.
-
The name of the database is http_goodFriends_8080.
-
The time delay for refresh of web pages is 25.
<qconfig >
<homeUrl>http://www.goodFriends.com:8080</homeUrl>
<emailAccount>qare@goodFriends.com</emailAccount>
<smtp>smtp.goodFriends.com</smtp>
<dbClass>com.jxml.qare.qhome.db.DBAccount</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBAppData</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBAppTable</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBApplication</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBContentIdentifier</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBInbox</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBKeyPair</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBLocalPrivileges</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBPendingMessage</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBPrivilege</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBProject</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBRegisterInfo</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBRegisterPending</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBRemoteAccount</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBSession</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBSystem</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBUser</dbClass>
<dbClass>com.jxml.qare.qhome.db.DBUserDelegations</dbClass>
<sqlDriver>org.gjt.mm.mysql.Driver</sqlDriver>
<sqlUser>freddy</sqlUser>
<sqlPassword>abc</sqlPassword>
<sqlUrl>jdbc:mysql://localhost/http_goodFriends_8080</sqlUrl>
<spPriv>home</spPriv>
<spPriv>login</spPriv>
<spPriv>remote</spPriv>
<limitWebService>500</limitWebService>
<refreshInterval>25</refreshInterval>
</qconfig>