Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  Buy Now
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

Creating a URL Config Programmatically
Brett Burch
2006-08-09 11:31:39.0
Is there a was to create the url config in my java program instead of using the admin gui.

I know I can start and stop the server in my java application but I need the flexability to dynamically create a url config without using the admin gui.

Something like this.

admin.createNewConfig(UrlName, UrlInfo, AutoStart, LogInfo, LogTo);

Brett Burch
Re:Creating a URL Config Programmatically
HXTT Support
2006-08-10 08:30:35.0
Now there is no such function to dynamically create a url config.
You can try the follows code,it should work normal.

String propFile = System.getProperty("user.home") + + "";
Properties prop=new Properties();
prop.put(UrlName, UrlInfo);
prop.put("UrlName_autorun",AutoStart?"true" : "false");
prop.put("UrlName_log",LogInfo?"true" : "false");
prop.put("UrlName_logfile",LogTo?"true" : "false");, "");
new Admin().startServer(UrlName);
Re:Re:Creating a URL Config Programmatically
HXTT Support
2006-08-10 08:31:45.0
In the next JDBC package,we will supply such a method.
Re:Re:Re:Creating a URL Config Programmatically
HXTT Support
2006-08-11 22:25:28.0
>I know I know I can start and stop the server in my java application
BTW, you can use embedded url without running Server if you haven't remote client to access your data.

Search Key   Search by Last 50 Questions


Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap