Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v6.1
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
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
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT DBF
Daemon Unix Error
Oscar San Martin
2011-03-02 09:41:01.0
I'm running HXTT on SCO Unix with this script :

#!/bin/sh

JAVA_HOME=/opt/java2-1.4.2
HXTT_PACKAGE=/u/javas/DBF_JDBC30.jar

TMP_DIR=/tmp
CLASSPATH=$HXTT_PACKAGE
$JAVA_HOME/bin/java \
-Djava.awt.headless=true \
-Djava.library.path=$JAVA_HOME/lib \
-cp $CLASSPATH \
com.hxtt.sql.admin.HxttService

But after some time and when many user are connected, service down with this exception :

ChannelDaemon: java.net.socketexception too many open files
java.lang.OutOfMemoryError: Unable to create new native thread
at java.lang.Thread.start(Native Method)
....
....
....

How can I prevent this exception ??? I'm using last DBF30 package...

Thanks in advance...

Re:Daemon Unix Error
HXTT Support
2011-03-02 09:54:03.0
By default, Java virtual machines are allocated 64Mb of memory, no matter how many gigabytes of memory your server may actually have available.

Try add
-Xms256m -Xmx512m -XX:MaxPermSize=256m

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap