The Java Monitor has a different Port every time I start it. So do you think I should force it to use this port?
Am 10.10.2013 um 15:07 schrieb Theodore Petrosky <[email protected]>: > Did you try: > > http://localhost:56789 > > > On Oct 10, 2013, at 6:45 AM, "Dipl.-Ing. Jens Lünstedt" > <[email protected]> wrote: > >> Hello together, >> I try to run my application on a windows 7 and windows server 8 system. >> When I start the app directly it works. >> >> This is also for wotaskd and the JavaMonitor. >> But when I try to configure the apps in JavaMonitor it does not work. >> I configured all as described in the net. >> >> So this is the actual status: >> I installed an Apache2.2 in c:Apache2.2. In the modules directory I put in >> the correct WebObjects module: C:Apache2.2/modules/mod_WebObjects.so. >> In the http.conf file I added the described values: >> ... >> LoadModule WebObjects_module modules/mod_WebObjects.so >> #LoadModule rewrite_module modules/mod_rewrite.so >> ... >> <Directory /> >> Options FollowSymLinks >> AllowOverride None >> # Order deny, allow >> # Deny from all >> </Directory> >> ... >> Include conf/extra/http-webobjects.conf >> >> <Location /cgi-bin/WebObjects*> >> SetHandler WebObjects >> </Location> >> >> >> In the webobjects.conf file I have this standard parameter: >> >> WebObjectsDocumentRoot c:/Apache2.2/htdocs/WebObjects >> WebObjectsAlias /cgi-bin/WebObjects >> WebObjectsConfig http://WIN-BDU5GUH7HLA:1085 10 >> WebObjectsLog c:/temp/logWebObjects Debug >> >> So when I run Apache, wotaskd and JavaMonitor and I call >> http://localhost/cgi-bin/WebObjects/JavaMonitor >> in the browser I get this message: >> The requested application was not found on this server. >> >> So this is an indicator for me that the WebObjects Adaptor is working. When >> it is not working I get an Apache message. >> >> After that I try to start the JavaMonitor from the manual started >> JavaMonitor but it only gives a death back. What is wrong? I can't see >> anything what could be wrong. >> >> Thanks >> >> Jens >> >> >> >> This is my configuration in JavaMonitor: >> Wotaskd for WebObjects 5: WIN-BDU5GUH7HLA >> >> >> >> Site Config as written to disk >> >> <SiteConfig type="NSDictionary"> >> <hostArray type="NSArray"> >> <element type="NSDictionary"> >> <type type="NSString">WINDOWS</type> >> <name type="NSString">localhost</name> >> </element> >> </hostArray> >> <applicationArray type="NSArray"> >> <element type="NSDictionary"> >> <adaptorThreadsMax >> type="NSNumber">256</adaptorThreadsMax> >> <winPath >> type="NSString">C:/Apple/Local/Library/WebObjects/Applications/JavaMonitor.woa/JavaMonitor.cmd</winPath> >> <cachingEnabled type="NSString">YES</cachingEnabled> >> <winOutputPath >> type="NSString">c:/temp/logJavaMonitor</winOutputPath> >> <adaptorThreads type="NSNumber">8</adaptorThreads> >> <adaptor type="NSString">WODefaultAdaptor</adaptor> >> <projectSearchPath >> type="NSString">()</projectSearchPath> >> <listenQueueSize type="NSNumber">128</listenQueueSize> >> <autoOpenInBrowser >> type="NSString">NO</autoOpenInBrowser> >> <name type="NSString">JavaMonitor</name> >> <statisticsPassword >> type="NSString"></statisticsPassword> >> <adaptorThreadsMin >> type="NSNumber">16</adaptorThreadsMin> >> <notificationEmailEnabled >> type="NSString">NO</notificationEmailEnabled> >> <debuggingEnabled type="NSString">NO</debuggingEnabled> >> <phasedStartup type="NSString">YES</phasedStartup> >> <autoRecover type="NSString">YES</autoRecover> >> <lifebeatInterval type="NSNumber">30</lifebeatInterval> >> <sessionTimeOut type="NSNumber">3600</sessionTimeOut> >> <timeForStartup type="NSNumber">30</timeForStartup> >> <minimumActiveSessionsCount >> type="NSNumber">0</minimumActiveSessionsCount> >> <startingPort type="NSNumber">2001</startingPort> >> </element> >> </applicationArray> >> <instanceArray type="NSArray"> >> <element type="NSDictionary"> >> <port type="NSNumber">2001</port> >> <cachingEnabled type="NSString">YES</cachingEnabled> >> <path >> type="NSString">C:/Apple/Local/Library/WebObjects/Applications/JavaMonitor.woa/JavaMonitor.cmd</path> >> <outputPath >> type="NSString">c:/temp/JavaMonitor-1</outputPath> >> <id type="NSNumber">1</id> >> <autoOpenInBrowser >> type="NSString">NO</autoOpenInBrowser> >> <schedulingDailyStartTime >> type="NSNumber">3</schedulingDailyStartTime> >> <debuggingEnabled type="NSString">NO</debuggingEnabled> >> <schedulingEnabled >> type="NSString">NO</schedulingEnabled> >> <schedulingStartDay >> type="NSNumber">1</schedulingStartDay> >> <hostName type="NSString">localhost</hostName> >> <gracefulScheduling >> type="NSString">YES</gracefulScheduling> >> <autoRecover type="NSString">NO</autoRecover> >> <lifebeatInterval type="NSNumber">30</lifebeatInterval> >> <schedulingInterval >> type="NSNumber">12</schedulingInterval> >> <schedulingWeeklyStartTime >> type="NSNumber">3</schedulingWeeklyStartTime> >> <applicationName >> type="NSString">JavaMonitor</applicationName> >> <schedulingType type="NSString">DAILY</schedulingType> >> <minimumActiveSessionsCount >> type="NSNumber">0</minimumActiveSessionsCount> >> <schedulingHourlyStartTime >> type="NSNumber">3</schedulingHourlyStartTime> >> </element> >> </instanceArray> >> <site type="NSDictionary"> >> <viewRefreshEnabled type="NSString">YES</viewRefreshEnabled> >> <woAdaptor >> type="NSString">http://win-bdu5guh7hla/cgi-bin/WebObjects</woAdaptor> >> <viewRefreshRate type="NSNumber">60</viewRefreshRate> >> </site> >> </SiteConfig> >> >> >> >> >> Adaptor Config as sent to Local WOAdaptors - All Running Applications and >> Instances >> >> <?xml version="1.0" encoding="ASCII"?> >> <adaptor> >> </adaptor> >> >> >> >> >> >> Adaptor Config as sent to remote WOAdaptors - All Registered and Running >> Applications and Instances >> >> <?xml version="1.0" encoding="ASCII"?> >> <adaptor> >> </adaptor> >> >> >> >> >> Adaptor Config as written to disk - All Registered Applications and Instances >> >> <?xml version="1.0" encoding="ASCII"?> >> <adaptor> >> <application name="JavaMonitor"> >> <instance id="1" port="2001" host="localhost"/> >> </application> >> </adaptor> >> >> >> >> >> Properties of this wotaskd >> >> The Configuration Directory is: >> C:/Apple/Local\Library\WebObjects\Configuration\ >> Wotaskd is NOT writing WOConfig.xml to disk >> The multicast address is: 239.128.14.2 >> This wotaskd is running on Port: 1085 >> Wotaskd is NOT responding to Multicast >> WOAssumeApplicationIsDeadMultiplier is 4 >> The System Properties are: {file.encoding.pkg=sun.io, java.home=C:\Program >> Files\Java\jre7, WOAutoOpenInBrowser=false, WOAcceptMalformedCookies=false, >> er.extensions.ERJars.hasLocalization=false, WODirectConnectEnabled=true, >> er.extensions.stackTrace.cleanup=true, er.wotaskd.sshd.enabled=false, >> java.endorsed.dirs=C:\Program Files\Java\jre7\lib\endorsed, >> sun.os.patch.level=Service Pack 1, java.vendor.url=http://java.oracle.com/, >> java.version=1.7.0_25, WOShouldUseSpawn=true, WOMaxIOBufferSize=8196, >> _ResourceRequestHandlerKey=wr, >> java.vendor.url.bug=http://bugreport.sun.com/bugreport/, >> er.extensions.concurrency.ERXTaskObjectStoreCoordinatorPool.maxCoordinators=1, >> _WebServiceRequestHandlerKey=ws, user.name=Jens Lünstedt, >> sun.io.unicode.encoding=UnicodeLittle, sun.jnu.encoding=Cp1252, >> java.runtime.name=Java(TM) SE Runtime Environment, WOSMTPHost=smtp, >> java.specification.name=Java Platform API Specification, >> WOLifebeatInterval=30, user.timezone=Europe/Berlin, >> WOUserDirectory=C:/Apple/Library/WEBOBJ~1/JAVAAP~1/wotaskd.woa, >> WOAllowRapidTurnaround=false, user.script=, path.separator=;, >> NSProjectSearchPath=(), file.encoding=Cp1252, >> WOApplicationBaseURL=/WebObjects, >> sun.java.command=com.webobjects._bootstrap.WOBootstrap, >> WORespondsToMulticastQuery=false , >> WOSessionStoreClassName=WOServerSessionStore, >> java.io.tmpdir=C:\Users\JENSLN~1\AppData\Local\Temp\, user.language=de, >> line.separator= >> , er.extensions.ERXGracefulShutdown.Enabled=false, >> com.webobjects.eoaccess.ERXEntityDependencyOrderingDelegate.active=false, >> WOMaxSocketIdleTime=180000, WOSocketMonitorSleepTime=50, >> er.extensions.load.Properties.framework.JavaWOExtensions=load, >> WOPlatform=Windows, java.vm.info=mixed mode, sun.desktop=windows, >> java.vm.specification.name=Java Virtual Machine Specification, >> WOWorkerThreadCountMax=256, >> er.extensions.load.Properties.framework.JavaMonitorFramework=load, >> WOMulticastAddress=239.128.14.2, >> log4j.appender.A1.layout=er.extensions.logging.ERXPatternLayout, >> WOListenQueueSize=128, WOPort=1085, >> er.extensions.ERXLocalizer.fileNamesToWatch=("Localizable.strings","ValidationTemplate.strings"), >> _StreamActionRequestHandlerKey=wis, >> log4j.appender.A1=org.apache.log4j.ConsoleAppender, log4j.rootCategory=INFO, >> A1, WODebuggingEnabled=false, WOAssumeApplicationIsDeadMultiplier=4, >> java.awt.printerjob=sun.awt.windows.WPrinterJob, >> er.extensions.load.Properties.framework.ERExtensions=load, >> er.extensions.ERXSharedEOLoader.PatchSharedEOLoading=false, >> _DirectActionRequestHandlerKey=wa, >> log4j.appender.A1.layout.ConversionPattern=%d %-5p %V{u/f} [%t] %C{2} >> (%F:%L) - %m%n, >> er.extensions.ERXNavigationManager.localizeDisplayKeys=false, >> WOAdaptorURL=http://localhost/cgi-bin/WebObjects, os.name=Windows 7, >> java.specification.vendor=Oracle Corporation, >> WOFrameworksBaseURL=/WebObjects/Frameworks, >> er.extensions.load.Properties.framework.ERRest=load, >> er.extensions.ERXLocalizer.availableLanguages=(English,German,Japanese), >> java.vm.name=Java HotSpot(TM) 64-Bit Server VM, >> WOApplicationClass=com.webobjects.monitor.wotaskd.Application, >> er.extensions.ERXMessageEncoding.Enabled=false, >> WOContextClassName=WOContext, >> java.library.path=C:\Windows\system32;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program >> Files (x86)\Windows Resource >> Kits\Tools\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Programme >> (x86)\Apache >> Group\Apache2;C:\Apple\Local\Library\webObjects\Applications;C:\Program >> Files (x86)\IDM Computer Solutions\UltraEdit\;., >> er.extensions.ERExtensions.hasLocalization=true, java.class.version=51.0, >> er.extensions.ERXRaiseOnMissingEditingContextDelegate=true, >> WOLocalRootDirectory=C:/Apple/Local, WOWorkerThreadCount=8, >> WOMissingResourceSearchEnabled=false, sun.boot.library.path=C:\Program >> Files\Java\jre7\bin, WOSocketCacheSize=100, sun.management.compiler=HotSpot >> 64-Bit Tiered Compilers, >> java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, user.variant=, >> WOLifebeatDestinationPort=1085, er.extensions.ERRest.hasLocalization=false, >> er.extensions.ERXLocalizer.isLocalizationEnabled=true, WOGenerateWSDL=true, >> java.vm.specification.version=1.7, WOStatisticsStoreSessionMax=50, >> WOMonitorEnabled=false, >> er.extensions.ERXGracefulShutdown.SignalsToHandle=(TERM, INT), >> awt.toolkit=sun.awt.windows.WToolkit, sun.cpu.isalist=amd64, >> WOLifebeatEnabled=false, _WOHTMLParserClassName=WOHTMLTemplateParser, >> er.extensions.stackTrace.skipPatternsFile=StackTraceSkipPatterns-Normal.plist, >> java.ext.dirs=C:\Program >> Files\Java\jre7\lib\ext;C:\Windows\Sun\Java\lib\ext, os.version=6.1, >> user.home=C:\Users\Jens Lünstedt, com.webobjects.version=5.4.3, >> _ComponentRequestHandlerKey=wo, WORootDirectory=C:/Apple, >> java.vm.vendor=Oracle Corporation, WOSessionTimeOut=3600, >> WODisplayExceptionPages=false, WOAdditionalAdaptors=(), >> WOWorkerThreadCountMin=16, dbMinConnectionsGLOBAL=1, >> er.extensions.ERXWOForm.multipleSubmitDefault=true, >> user.dir=C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa, >> er.wotaskd.sshd.port=6022, >> er.extensions.ERXComponentActionRedirector.enabled=false, WOMaxHeaders=200, >> sun.cpu.endian=little, er.extensions.ERXPatcher.cleanupXHTML=false, >> WOAutoOpenClientApplication=false, java.vm.version=23.25-b01, >> com.webobjects.classpath=C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa\Contents\Resources\Java\;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Resources\Java\bcprov-jdk15-140.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Resources\Java\mina-core-2.0.4.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Resources\Java\src.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Resources\Java\sshd-core-0.7.0.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Resources\Java\sshd-pam-0.7.0.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Resources\Java\wotaskd.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERExtensions.framework\Resources\Java\ERExtensions.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\httpcore-4.2.1.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\ERFoundation.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\slf4j-log4j12-1.6.6.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\commons-io-2.2.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\commons-codec-1.6.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\icu4j-3_8_1.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\commons-cli-1.2.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\ognl-2.6.7.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\ERJars.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\slf4j-api-1.6.6.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\joda-time-2.1.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\log4j-1.2.17.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\erxservletadaptor.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\httpclient-4.2.1.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\ERWebObjects.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\commons-lang-2.6.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERJars.framework\Resources\Java\junit-4.10.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERRest.framework\Resources\Java\commons-beanutils-1.8.3.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERRest.framework\Resources\Java\ERRest.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERRest.framework\Resources\Java\ezmorph-1.0.6.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERRest.framework\Resources\Java\json-lib-2.3-jdk15.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERRest.framework\Resources\Java\commons-collections-3.2.1.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\ERRest.framework\Resources\Java\commons-logging-1.1.1.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\JavaMonitorFramework.framework\Resources\Java\JavaMonitorFramework.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\JavaWOExtensions.framework\Resources\Java\JavaWOExtensions.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\JavaEOAccess.framework\Resources\Java\javaeoaccess.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\JavaEOControl.framework\Resources\Java\javaeocontrol.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\JavaFoundation.framework\Resources\Java\javafoundation.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\JavaJDBCAdaptor.framework\Resources\Java\javajdbcadaptor.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\JavaWOJSPServlet.framework\Resources\Java\javawojspservlet.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\JavaWebObjects.framework\Resources\Java\javawebobjects.jar;C:\Apple\Library\WebObjects\JavaApplications\wotaskd.woa/Contents\Frameworks\JavaXML.framework\Resources\Java\javaxml.jar;C:\Apple\Local\Library\WebObjects\Extensions\axis-ant.jar;C:\Apple\Local\Library\WebObjects\Extensions\axis.jar;C:\Apple\Local\Library\WebObjects\Extensions\commons-discovery-0.2.jar;C:\Apple\Local\Library\WebObjects\Extensions\commons-logging-1.0.4.jar;C:\Apple\Local\Library\WebObjects\Extensions\jaxrpc.jar;C:\Apple\Local\Library\WebObjects\Extensions\log4j-1.2.14.jar;C:\Apple\Local\Library\WebObjects\Extensions\mysql-connector-java-5.1.26-bin.jar;C:\Apple\Local\Library\WebObjects\Extensions\saaj.jar;C:\Apple\Local\Library\WebObjects\Extensions\serializer.jar;C:\Apple\Local\Library\WebObjects\Extensions\servlet.jar;C:\Apple\Local\Library\WebObjects\Extensions\wsdl4j-1.5.1.jar;C:\Apple\Local\Library\WebObjects\Extensions\xalan.jar;C:\Apple\Local\Library\WebObjects\Extensions\xercesImpl.jar;C:\Apple\Local\Library\WebObjects\Extensions\xml-apis.jar;C:\Apple\Local\Library\WebObjects\Extensions\, >> java.class.path=WOBootstrap.jar, os.arch=amd64, >> er.extensions.ERXLocalizationEditor.endoding=UTF-16BE, >> _AjaxRequestHandlerKey=ja, sun.java.launcher=SUN_STANDARD, >> er.extensions.ERXNavigationManager.NavigationMenuFileName=NavigationMenu.plist, >> WODefaultUndoStackLimit=10, WOAllowsCacheControlHeader=true, >> java.vm.specification.vendor=Oracle Corporation, >> er.extensions.ERXLocalizer.defaultLanguage=English, file.separator=\, >> _WOSessionReclaimingInterval=60, java.runtime.version=1.7.0_25-b17, >> sun.boot.class.path=C:\Program Files\Java\jre7\lib\resources.jar;C:\Program >> Files\Java\jre7\lib\rt.jar;C:\Program >> Files\Java\jre7\lib\sunrsasign.jar;C:\Program >> Files\Java\jre7\lib\jsse.jar;C:\Program >> Files\Java\jre7\lib\jce.jar;C:\Program >> Files\Java\jre7\lib\charsets.jar;C:\Program >> Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\classes, >> er.extensions.load.Properties.framework.ERJars=load, WOCachingEnabled=true, >> WOIncludeCommentsInResponse=false, user.country=DE, >> WOAllowsConcurrentRequestHandling=false, WOLaunchdEnabled=false, >> WOAdaptor=WOClassicAdaptor, java.vendor=Oracle Corporation, >> WOSavesAdaptorConfiguration=false, >> er.extensions.JavaMonitorFramework.hasLocalization=false, >> er.extensions.ERXPatcher.suppressValueBindingSlow=false, >> er.extensions.JavaWOExtensions.hasLocalization=false, >> java.specification.version=1.7, sun.arch.data.model=64} >> >> >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com >> >> This email sent to [email protected] >
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
