summaryrefslogtreecommitdiff
path: root/startYACY.bat
AgeCommit message (Collapse)Author
2026-07-10We migrate to JDK 17Michael Peter Christen
This is a hard requirement to be able to migrate to a more recent jetty version, which may happen sometime soon.
2026-01-01fixed windows installer; updated download path for java installerMichael Peter Christen
2022-10-06for some strange reason there is no javaw in temurin, only javaMichael Peter Christen
2021-07-19removed Xms java memory startup parameterMichael Peter Christen
We will use the default value for now on. This is much better for resource economy and fits better into a container/docker/kubernetes strategy. Furthermore, a small memory footprint is essential for the usage on small devices like RaspberryPi.
2019-04-14Made SNI extension user configurable without the need for server restartluccioman
TLS Server Name Indication (SNI) extension activation can now be configured with the new Settings_p.html?page=httpClient administration page. SNI extension is also now enabled by default, as in 2019 the unrecognized_name(112) alert is more properly handled by major web servers TLS implementations, following the RFC 6066 standard. Related YaCy issues : #153 #189 and #272 JDK 1.7 bug : https://bugs.java.com/bugdatabase/view_bug.do?bug_id=7127374 Apache httpd issue : https://bz.apache.org/bugzilla/show_bug.cgi?id=56241 RFC 6066 : https://tools.ietf.org/html/rfc6066#section-3
2016-02-03upd classpath in batches (remove not necessary htroot)reger
see prev commit
2015-07-29move java environment parameter setting disabling SNI (Server Name ↵reger
Indicator) support for https connections from code to startup script allowing admin to ~easy/transparent alter the YaCy default FALSE setting. Background: some user report problem with connecting/crawling some sites via https which require SNI support (by default switched off in YaCy). On the other hand systems not demanding SNI support are sometimes not properly configured and due to a bug/feature in java 1.7 connection is aborted. The later is more often the case, so the default is still fine. With the java start parameter expert user can no alter the startparameter to -Djsse.enableSNIExtension=true (java default) if they crawl more hosts requiring SNI support. The alternative to let YaCy try both during https handshake (deep inside the httpclient) is not pursut at this time.
2014-02-24add a -config command line parameter e.g. -config "port=9090" "port.ssl=8043"reger
- 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
2013-12-05changed start parameters which caused deadlocks in mac and windowsMichael Peter Christen
versions
2013-07-27reverted start script options - yacy on windows did not start with theorbiter
given values
2013-07-14partly revert latest windows changes:Lotus
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-11adapt windows start script parameters to linux start script parameterLotus
2013-02-17remove CPGEN from Windows batch files reger
(classpath for all needed libraries is defined in manifest of yacycore.jar)
2011-11-22fix start on fresh windows.lotus
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-07-03setting startup options:orbiter
-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
2010-09-07- replaced pdfbox and fontbox version 1.1.0 with 1.2.1orbiter
- 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-05using -XX:-UseGCOverheadLimit when starting java.orbiter
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-03better utf-8 support everywhere using a default utf-8 encoding for all ↵orbiter
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-08-27adapted memory for first run to current standard valueslotus
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7079 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-01-21- added options to switch on/off search domains (text, image, audio, video, app)orbiter
- more memory by default git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6605 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-10-18- shifted main classes to new package net.yacyorbiter
- fixed some bugs in last commit git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6427 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-09-15fixed class path in startup scripts; omitting old classes path; all classes ↵orbiter
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-14added generation of a yacycore.jar yacy library file:orbiter
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-05-24hint for Java in start scriptlotus
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-02- fixed possible bugs in Stack (may affect Crawler reset) and RandomAccess ↵orbiter
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
2008-09-26- revert r5202lotus
- 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-23try to fix tray on vista 64bitlotus
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5202 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-08-29proper default priority on first start (Windows)lotus
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5095 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-08-22workaround for BindException at restart on Vistalotus
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-07-13rename of Windows start scriptslotus
* 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-06-11* fix: display proper port on 1st startuplotus
* 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-03windows shell shows port in titlelotus
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4877 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-05-22* ported restart on Windows to unix-style, works on _noconsole nowlotus
* 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-21* automatic update for windowslotus
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-04-17- included patch from http://forum.yacy-websuche.de/viewtopic.php?p=7193#p7193orbiter
- 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-03-16changed handling of default values and database paths:orbiter
- 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
2007-09-01*) fixed more linkslow012
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4068 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-07-19- documentaton changes (removed old forum links)orbiter
- 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-05-22*) Preparations for system-independent restart using the wrapper. Not ↵(no author)
functional yet. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3748 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-05-11*) Updated German translationrramthun
*) 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-07*) workaround for "busy waiting" in Windows-platform startscriptsrramthun
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3683 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-01-12wrong GoTo removed (restart)borg-0300
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3192 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-01-04restart re-activated (windows)borg-0300
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3164 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-01-03- don't offer voting for urls if user is not authenticated at peerkarlchenofhell
- 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
2006-12-31*) fix for last commitauron_x
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3149 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-12-31*) added possibility to set YaCy-Priorityauron_x
-> 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-06-windows-script echoes correct port-number nowrramthun
-minor changes git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3053 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-09-07*) Status_p.inc: link to memory configuration addedtheli
*) 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-04-24typosrramthun
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2037 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-03-30added some starsorbiter
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1981 6c8d7289-2bf4-0310-a012-ef5d649a1542