Commit Graph

56 Commits

Author SHA1 Message Date
reger
a9b06f8719 add a -config command line parameter e.g. -config "port=9090" "port.ssl=8043"
- useful for remote installation to set any config file property
- multipe parameter can be set at once, on Windows enclose parameter in doublequotes
- special handling   "adminAccount=adminuser:adminpwd"  sets adminusername and md5 encoded admin-pwd

- adjusted windows startbatch to allow command line parameter handling
- remove not needed classpath calculation from startYACY_debug.bat
2014-02-24 05:16:31 +01:00
Michael Peter Christen
f722e450b3 changed start parameters which caused deadlocks in mac and windows
versions
2013-12-05 00:55:35 +01:00
orbiter
f117ea0492 reverted start script options - yacy on windows did not start with the
given values
2013-07-27 15:36:46 +02:00
Lotus
af07007799 partly revert latest windows changes:
YaCy has to be installed to a directory with write access for the
running user.
DATA folder is now used in the YaCy folder again.
For using another location, the start script has to be heavily modified
for loading proper start parameters after YaCy has been started once.
2013-07-14 18:43:32 +02:00
Lotus
4fdcfb8230 adapt windows start script parameters to linux start script parameter 2013-07-11 21:46:17 +02:00
reger
1951ba61ae remove CPGEN from Windows batch files
(classpath for all needed libraries is defined in manifest  of yacycore.jar)
2013-02-17 03:26:46 +01:00
lotus
d4ad01643c fix start on fresh windows.
reason: -XX:ReservedCodeCacheSize=1024m may be too large (introduced in 7823)
error message: could not create virtual machine

there are more differences from the _debug.bat start script for the start parameters
please check whether they are needed:
-Xss256k -XX:MaxPermSize=256m -XX:+UseAdaptiveSizePolicy

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@8069 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-11-22 12:04:24 +00:00
orbiter
60ee245486 setting startup options:
-Xss256k
and
-XX:ReservedCodeCacheSize=1024m 
after appearance of a malloc error together with a crash of the jvm which stated at the end of the log:

# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32756 bytes for ChunkPool::allocate
# Possible reasons:
#   The system is out of physical RAM or swap space
#   In 32 bit mode, the process size limit was hit
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full
#   Use 64 bit Java on a 64 bit OS
#   Decrease Java heap size (-Xmx/-Xms)
#   Decrease number of Java threads
#   Decrease Java thread stack sizes (-Xss)
#   Set larger code cache with -XX:ReservedCodeCacheSize=

this follows the last two points in the list of recommendations. To set appropriate values the default values from
http://www.oracle.com/technetwork/java/hotspotfaq-138619.html
and 
http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html
had been considered

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7823 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-07-03 21:33:24 +00:00
orbiter
5fe828fa06 - replaced pdfbox and fontbox version 1.1.0 with 1.2.1
- added some clear statements that shall clear static cache size within the pdfbox library
- the pdfbox library contains a memory leak; it is unsafe to run a peer with pdf parser permanently on.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7120 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-07 17:13:47 +00:00
orbiter
72a096fccb using -XX:-UseGCOverheadLimit when starting java.
see also: http://forum.yacy-websuche.de/viewtopic.php?p=20709#p20709

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7108 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-05 14:19:02 +00:00
orbiter
698730c4eb better utf-8 support everywhere using a default utf-8 encoding for all string conversions.
todo: add this also for debian start script (how do I do that?)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7098 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-03 22:18:10 +00:00
lotus
93d2c22e60 adapted memory for first run to current standard values
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7079 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-27 18:38:02 +00:00
orbiter
8df1694288 - added options to switch on/off search domains (text, image, audio, video, app)
- more memory by default


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6605 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-01-21 22:03:02 +00:00
orbiter
a8ce192f63 - shifted main classes to new package net.yacy
- fixed some bugs in last commit

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6427 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-10-18 01:38:07 +00:00
orbiter
db1b030276 fixed class path in startup scripts; omitting old classes path; all classes are now in lib/yacycore.jar
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6318 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-09-15 17:29:18 +00:00
orbiter
1ddaf16466 added generation of a yacycore.jar yacy library file:
when a ant dist is envoked, the release is built using the new yacycore.jar without the class files in classes
YaCy consists currently of two main parts: the YaCy core and the YaCy interface. This change will make it
possible to use the YaCy core as part of other projects.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6311 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-09-14 17:06:09 +00:00
lotus
eb36c9a092 hint for Java in start script
this can usually only be seen if it isn't installed

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5973 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-05-24 17:06:37 +00:00
orbiter
d2ac0aa682 - fixed possible bugs in Stack (may affect Crawler reset) and RandomAccess handling
- increased default memory size to 180MB
- fixed possible bug in http client reset (there was a deadlock)
- bug in BOBHeap marked, but not solved, cause is still unknown.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5912 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-05-02 01:40:03 +00:00
lotus
214277dad6 - revert r5202
- cleanup
- installer checks for JRE 1.6 only

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5210 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-09-26 06:52:36 +00:00
lotus
e50934bbd9 try to fix tray on vista 64bit
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5202 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-09-23 18:10:50 +00:00
lotus
89cf795a5c proper default priority on first start (Windows)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5095 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-08-29 07:01:38 +00:00
lotus
5192081283 workaround for BindException at restart on Vista
therefore IPv6 support is lost (Windows only)
see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6286189  and http://forum.yacy-websuche.de/viewtopic.php?t=1385

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5072 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-08-22 18:46:14 +00:00
lotus
0bb7c42bc8 rename of Windows start scripts
* startYACY.bat -> startYACY_debug.bat
* startYACY_noconsole.bat -> startYACY.bat

changes for Windows Installer
* do not set shortcuts to the YaCy search page because we have a tray icon now. the user will not get an error if yacy doesn't run.
* do not set a shortcut do debug start. usual users don't care about logs.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4993 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-07-13 07:54:51 +00:00
lotus
48edbef5c7 * fix: display proper port on 1st startup
* new message on portchange
* first implementation of external link-update for search page (still inactive)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4915 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-06-11 19:04:39 +00:00
lotus
7916ce27c3 windows shell shows port in title
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4877 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-06-03 17:03:40 +00:00
lotus
eac62a6882 * ported restart on Windows to unix-style, works on _noconsole now
* removed Win9x scripts from build for more tidiness and less decisions for newbies

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4835 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-05-22 15:48:51 +00:00
lotus
4a48717017 * automatic update for windows
pleas disable before release because 2nd update fails at the moment
and commandline handling has to be improved for windows
* update via new unTar class
please review stream- and exceptionhandling because I'm fairly new to Java
maybe it can be done concurrent
* updated windows startscripts to values from yacy.init

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4832 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-05-21 15:23:56 +00:00
orbiter
d03940f2ec - included patch from http://forum.yacy-websuche.de/viewtopic.php?p=7193#p7193
- fixed problem with crawl profile editor after deletion of a crawl profile

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4706 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-04-17 22:21:03 +00:00
orbiter
7150b463ff changed handling of default values and database paths:
- the default files yacy.init and for the network definition is now moved to the path defaults
- the httpProxy.conf is renamed to yacy.conf
- the DATA/INDEX/PUBLIC is renamed to the actual network nickname, which should be freeworld or sciencenet
more menu entries
- added apfelmaennchens alternative search page to the menu
- added the new thread dump page to the server log menu point as submenu
modifications
- modified the thread dump page: sorting by thread type

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4575 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-03-16 22:31:54 +00:00
low012
0e27febe47 *) fixed more links
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4068 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-09-01 11:24:23 +00:00
orbiter
40b0547611 - documentaton changes (removed old forum links)
- different handling of link quotation
- different handling of link normalization
- enhanced html/unicode en/de-coding

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3993 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-07-19 15:32:10 +00:00
(no author)
b4b56a5475 *) Preparations for system-independent restart using the wrapper. Not functional yet.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3748 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-05-22 20:41:15 +00:00
rramthun
ea87fe5d78 *) Updated German translation
*) Changed "Lost Handle" error to warning (masses of it if deleting crawl-profile)
*) Removed unnecessary code from Windows script 

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3708 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-05-11 17:48:22 +00:00
rramthun
a6fb4abb75 *) workaround for "busy waiting" in Windows-platform startscripts
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3683 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-05-07 19:41:37 +00:00
borg-0300
326699ad2f wrong GoTo removed (restart)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3192 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-01-12 12:00:45 +00:00
borg-0300
735c1f87b1 restart re-activated (windows)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3164 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-01-04 22:03:32 +00:00
karlchenofhell
88ee449300 - don't offer voting for urls if user is not authenticated at peer
- removed possibility to raise priority of YaCy process

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3156 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-01-03 01:03:56 +00:00
auron_x
54c7b22dd5 *) fix for last commit
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3149 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-12-31 01:13:45 +00:00
auron_x
7e12954634 *) added possibility to set YaCy-Priority
-> Linux-startscript has to be updated

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3148 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-12-31 01:05:45 +00:00
rramthun
25a64fe3da -windows-script echoes correct port-number now
-minor changes

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3053 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-12-06 17:27:44 +00:00
theli
35b70f164c *) Status_p.inc: link to memory configuration added
*) startYACY.bat: comment added
See: http://www.yacy-forum.de/viewtopic.php?p=25311#25311

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2500 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-09-07 04:36:58 +00:00
rramthun
748971112e typos
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2037 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-04-24 13:15:42 +00:00
orbiter
074ef98d61 added some stars
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1981 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-03-30 09:41:32 +00:00
auron_x
9ba58b720d *) 'fixed' start-up text to fit windows-systems
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1972 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-03-27 16:57:09 +00:00
rramthun
157d01cc97 Checked in old version, sorry.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1954 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-03-23 20:16:02 +00:00
rramthun
42b0b10a95 -Adding Windows Media to types which are not sended compressed
-Renaming writeandzip to writeandgzip to avoid confusion about type of compression
-Adding new startup message to windows script
-The usual language "enhancements" ;-)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1953 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-03-23 20:12:23 +00:00
theli
4fa2be73c3 *) startYACY.bat now reads the java runtime memory settings out of the yacy config file
Thanks to Galaxis and VT100

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1517 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-02-02 16:09:43 +00:00
theli
02871864f4 *) startYACY.bat now reads the java runtime memory settings out of the yacy config file
Thanks to Galaxis and VT100

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1516 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-02-02 16:07:44 +00:00
theli
0ff0e444ac *) startYACY.bat now reads the java runtime memory settings out of the yacy config file
Thanks to Galaxis and VT100

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1515 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-02-02 15:54:10 +00:00
rramthun
34a7802a36 .bat files create DOS-window with title "YaCy" as suggested in http://www.yacy-forum.de/viewtopic.php?p=15470#15470
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1380 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-01-20 12:01:12 +00:00