Jrun logs (UNIX)

Hi All,
Can somebody tell me how to get the same functionallity by
changing the file
../{jrun_root/servers/SERVER_NAME/SERVER-INF/jrun.xml and by
running "jrun -start -nohup SERVER_NAME
>1/l.../.../logs/stdout.log 2>/../../stderr.log?
/attribute>
<!-- You can modify format to suit your need. -->
<!-- EXAMPLE: <attribute name="format">{date MM/dd
HH:mm:ss} {log.message}{l
og.exception}</attribute> -->
<attribute name="errorEnabled">true</attribute>
<attribute
name="warningEnabled">true</attribute>
<attribute name="infoEnabled">true</attribute>
<attribute name="debugEnabled">true</attribute>
<attribute name="accessEnabled">true</attribute>
<!-- You may also need to uncomment accessFormat if you
want access enabled
-->

Winter999 wrote:
>
>
Server Error
> The server encountered an internal error and was unable
to complete your
> request.
>
ould not connect to JRun Server.
>
> JRun logs are attached.
> 2007-07-26 15:59:50 jrISAPI[9376:2408] command error:
Connection reset by
> peer <- [4200]
> 2007-07-26 15:59:50 jrISAPI[9376:2408] returning error
page for Connection
> reset by peer
> 2007-07-26 16:00:04 jrISAPI[8712:2408] 127.0.0.1:51011
connect failed: 10060
> Connection timed out
The log file you have attached is from the JRun connector,
not from JRun
itself. Please include the -out and -err logs from JRun
itself.
Jochem
Jochem van Dieten
Adobe Community Expert for ColdFusion

Similar Messages

  • Jrun Log Files

    I am running Coldfusion 8.01 Standard on Windows 2003 Server.
    I have this filed connection showing up in my jrun log file, should
    I be concerned, if so how do I fix it?
    Log File:
    2008-08-09 06:00:16 jrISAPI[init:2640] JRun 4.0 (Build
    108673) JRun ISAPI Extension - Mar 13 2008 20:01:43
    2008-08-09 06:00:16 jrISAPI[init:2640] JRun ISAPI Extension
    DLL Attaching
    2008-08-09 07:04:05 jrISAPI[6424:2640] 127.0.0.1:51800
    connect failed[312]: 10060 Connection timed out
    2008-08-09 07:04:05 jrISAPI[6424:2640] returning error page
    for Connection timed out
    2008-08-09 07:04:07 jrISAPI[8376:2640] 127.0.0.1:51800
    connect failed[676]: 10060 Connection timed out
    2008-08-09 07:04:09 jrISAPI[8376:2640] returning error page
    for Connection timed out

    The coldfusion-out.log is actually a basic system log in all Java J2EE servers aka as the Standard or System out.log.  The coldfusion-event.log is a log available in ColdFusion only.  My opinion would be to use the coldfusion-out.log which is what I always do whilst troubleshooting.
    CFWhisperer http://www.cfwhisperer.com/

  • Understanding the Jrun logs

    The following is from the event log of a Jrun server. I
    believed that when this happens, the user's POSTs no longer
    translates the plus signs(+) that the spaces are translated to
    during the POST back to spaces. It also appears that until the user
    creates a new session, every POST has this plus signe problem. Is
    there a way in jsp code to trap that error/warning or to test if
    the session is still in good order?
    314 / 462 12/15 14:55:09 warning Error while parsing POST
    data
    315 / 462 java.lang.IllegalArgumentException: Connection
    reset
    316 / 462 at
    javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:242)
    317 / 462 at
    jrun.servlet.JRunRequest.parsePostData(JRunRequest.java:396)
    318 / 462 at
    jrun.servlet.JRunRequest.getParameters(JRunRequest.java:376)
    319 / 462 at
    jrun.servlet.JRunRequest.getParameter(JRunRequest.java:269)
    320 / 462 at
    jrun.servlet.ForwardRequest.getParameter(ForwardRequest.java:169)
    321 / 462 at
    jrun.servlet.session.SessionService.getUrlSessionID(SessionService.java:1011)
    322 / 462 at
    jrun.servlet.ForwardRequest.getRequestedSessionId(ForwardRequest.java:376)
    323 / 462 at
    jrun.servlet.ForwardRequest.isRequestedSessionIdValid(ForwardRequest.java:417)
    324 / 462 at
    jrun.servlet.ForwardRequest.getSession(ForwardRequest.java:331)
    325 / 462 at
    jrun.servlet.security.WebAppSecurityService.requestBegin(WebAppSecurityService.java:117)
    326 / 462 at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:228)
    327 / 462 at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    328 / 462 at
    jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    329 / 462 at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
    330 / 462 at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
    331 / 462 at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
    332 / 462 at
    jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    wild ass guess here, but i think the aggregated (9) refers to the same message being duplicated 9 times, and only the one message was written to logs, in order to save space.

  • Error on JRUN Log

    I've being receiving a lot of this error:
    26/07 09:52:43 error Head not supported by this filter.
    javax.servlet.ServletException: Head not supported by this
    filter.
    at
    flex.server.j2ee.cache.CacheFilter.doFilter(CacheFilter.java:178)
    at
    flex.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:66)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Coldfusion MX 6.1 6,1,0,83762 with JRUN.
    JRUN.xml arguments
    java.args=-Xmx1024M -Xms1024M -server
    -Dsun.io.useCanonCaches=false
    -Xbootclasspath/a:"{application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfu sion/lib/webchartsJava2D.jar"
    -XX:MaxPermSize=256m -XX:+UseParallelGC -DJINTEGRA_NATIVE_MODE
    -DJINTEGRA_PREFETCH_ENUMS
    C:\JRun4\servers\cfusion\SERVER-INF\jrun.xml
    <attribute
    name="activeHandlerThreads">200</attribute>
    <attribute
    name="maxHandlerThreads">400</attribute>
    <attribute
    name="minHandlerThreads">10</attribute>
    AMD Opteron 280
    2.8 Ghz 3.00 GB Ram
    Windows 2003
    Tks in advance

    I've being receiving a lot of this error:
    26/07 09:52:43 error Head not supported by this filter.
    javax.servlet.ServletException: Head not supported by this
    filter.
    at
    flex.server.j2ee.cache.CacheFilter.doFilter(CacheFilter.java:178)
    at
    flex.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:66)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Coldfusion MX 6.1 6,1,0,83762 with JRUN.
    JRUN.xml arguments
    java.args=-Xmx1024M -Xms1024M -server
    -Dsun.io.useCanonCaches=false
    -Xbootclasspath/a:"{application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfu sion/lib/webchartsJava2D.jar"
    -XX:MaxPermSize=256m -XX:+UseParallelGC -DJINTEGRA_NATIVE_MODE
    -DJINTEGRA_PREFETCH_ENUMS
    C:\JRun4\servers\cfusion\SERVER-INF\jrun.xml
    <attribute
    name="activeHandlerThreads">200</attribute>
    <attribute
    name="maxHandlerThreads">400</attribute>
    <attribute
    name="minHandlerThreads">10</attribute>
    AMD Opteron 280
    2.8 Ghz 3.00 GB Ram
    Windows 2003
    Tks in advance

  • Kodo, JRun, and logging

    Hi,
    I'm trying to run my Kodo JDO application in a JRun4 J2EE server. I'm
    having a problem getting logging to work, and I've discovered what's
    happening.
    As it happens, JRun is using the commons logging facility itself, and
    initializes an older version of Log4j before my classes are even loaded.
    Thus, any log4j.properties file I specify (or even if I change the name to
    something else and specify it via the log4j.configuration system property)
    is ignored because by the time the web app is loaded, the system
    log4j.properties have already been initialized and mine are ignored.
    The solution offered on the JRun support site is to rewrite your
    log4j-enabled app to use custom logging (in a JRun-proprietary format),
    but that's obviously not an option for me here because the logging is
    internal to Kodo's classes.
    What I'm wondering is this: is there a setting I can specify something in
    my kodo.properties file or in some other location that will tell Kodo to
    instantiate its own private log4j instance instead of using the system's?
    Or is there some other way to force Kodo to ignore the existing JRun
    logging facility?
    Any thoughts would be much appreciated.
    Thanks,
    Bill

    Oops! The my posting didn't get put up exactly as I typed it. Instances of
    "$/servers/lib" should instead be "JRUN_HOME/servers/lib" where
    "JRUN_HOME" is the directory that JRun is installed in.
    Bill
    William Korb wrote:
    Marc,
    Thanks for the feedback. I experimented a bit (quite a bit, actually) and
    found a configuration that works without having to implement a custom
    logging mechanism.
    First off, in order to use the version of Log4j that came with Kodo
    instead of the old version that is bundled with JRun (and embedded in one
    of JRun's own JAR files, BTW - ick!), I had to make a couple of JRun
    configuration changes.
    1. Install log4j-1.2.6.jar in $/servers/lib
    2. Install log4j.properties in $/servers/lib
    3. Create a .../WEB-INF/jrun-web.xml file with the following contents:
    <?xml version ="1.0"?>
    <!DOCTYPE jrun-web-app SYSTEM "jrun-web.dtd">
    <jrun-web-app>
    <load-system-classes-first>false</load-system-classes-first>
    </jrun-web-app>
    This last step is the critical one - it tells JRun to put
    $/servers/lib in the CLASSPATH ahead of the JRun system jars
    (which include the old version of Log4j, etc.).
    The down-side of this configuration is that every JRun server instance
    will use the same Log4j setup, but I can live with that.
    Lastly, I tweaked the log4j.properties file to send my Kodo log entries
    into a separate file (otherwise they ended up intermingled with the
    standard JRun log entries):
    # Normal Kodo logging configuration
    log4j.rootCategory=INFO, console
    # Custom verbosity levels on a per-category basis
    log4j.category.com.solarmetric.kodo.impl.jdbc.SQL=DEBUG, kodolog
    log4j.category.com.solarmetric.kodo.impl.jdbc.JDBC=INFO, kodolog
    log4j.category.com.solarmetric.kodo.impl.jdbc.Schema=INFO, kodolog
    log4j.category.com.solarmetric.kodo.Performance=INFO, kodolog
    log4j.category.com.solarmetric.kodo.MetaData=INFO, kodolog
    log4j.category.com.solarmetric.kodo.Enhance=INFO, kodolog
    log4j.category.com.solarmetric.kodo.Query=DEBUG, kodolog
    log4j.category.com.solarmetric.kodo.Runtime=DEBUG, kodolog
    # Set appender specific options.
    log4j.appender.kodolog=org.apache.log4j.RollingFileAppender
    log4j.appender.kodolog.File=/tmp/javatest-kodo.log
    log4j.appender.kodolog.Append=true
    log4j.appender.kodolog.MaxFileSize=10mb
    log4j.appender.kodolog.MaxBackupIndex=9
    log4j.appender.kodolog.layout=org.apache.log4j.PatternLayout
    log4j.appender.kodolog.layout.ConversionPattern=%-5r %-5p [%t] %c - %m%n
    log4j.appender.console=org.apache.log4j.ConsoleAppender
    log4j.appender.console.layout=org.apache.log4j.PatternLayout
    log4j.appender.console.layout.ConversionPattern=%-5r %-5p [%t] %c - %m%n
    If Macromedia ever gets around to putting out another release of JRun,
    hopefully they'll address these poor design decisions.
    Bill
    Marc Prud'hommeaux wrote:
    Bill-
    I assume that you don't have access to JRun's log4j properties file so
    you can use it to set the Kodo logging parameters.
    You might be able to coerce JRun into using some logger of your own
    devising with the "org.apache.commons.logging.LogFactory" system
    property. E.g., see:>>
    >
    http://www.solarmetric.com/Software/Documentation/3.0.0RC4/docs/manual.html#ref_guide_logging_custom
    There is currently no way to tell Kodo to use a separate logger on it's
    own: you will need to do it via the commons logging framework.
    Let us know if we can offer some more suggestions, if this one doesn't
    work.
    In article <[email protected]>, William Korb wrote:
    Hi,
    I'm trying to run my Kodo JDO application in a JRun4 J2EE server. I'm
    having a problem getting logging to work, and I've discovered what's
    happening.
    As it happens, JRun is using the commons logging facility itself, and
    initializes an older version of Log4j before my classes are even loaded.
    Thus, any log4j.properties file I specify (or even if I change the name
    to
    something else and specify it via the log4j.configuration systemproperty)
    is ignored because by the time the web app is loaded, the system
    log4j.properties have already been initialized and mine are ignored.
    The solution offered on the JRun support site is to rewrite your
    log4j-enabled app to use custom logging (in a JRun-proprietary format),
    but that's obviously not an option for me here because the logging is
    internal to Kodo's classes.
    What I'm wondering is this: is there a setting I can specify something in
    my kodo.properties file or in some other location that will tell Kodo to
    instantiate its own private log4j instance instead of using the system's?
    Or is there some other way to force Kodo to ignore the existing JRun
    logging facility?
    Any thoughts would be much appreciated.
    Thanks,
    Bill
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • JRUN 4 installation problem on win2k

    We are installing a trial version of JRUN 4 prior to
    purchasing the license. This is a windows 2000 box running nothing
    else, just installing everything from the ground up. I installed
    the most recent JVM from java.sun.com: JRE 5 v 6. then installed
    Jrun 4, then installed updater 6. I can't configure Jrun. The
    service has not started. The windows error logs list the dreaded
    "error 2" and the JRun logs are very complex. Is this a known issue
    with win2k?
    thanks,
    Don

    I was attempting to install this on a VMWare partition. I
    backed out of that and installed it on the main server with no
    errors. I don't know that there were any differences with the two
    partitions, but that solved the problem. I then got the:
    500 There is no web application configured to service your
    request
    error. I am debugging that right now.
    Don

  • CF8 (64bit) on Win 2008 Ent - JRun crashes (503 err) when files copied

    We have recently upgraded some of these servers to Win 2008 with CF8 64 bit.  On these machines (especially when pushing CFCs over), the machine shows 503 errors until JRUN service is restarted.
    We are using a custom script that uses RoboCopy to push files to a number of servers in a web farm.  The script pushes code to both CF7 (Windows 2003) and CF8 (Windows 2003 and Windows 2008) servers.  There are no issues on any of the Windows 2003 servers.  After most deployments, the Windows 2008 servers start throwing 503 errors...
    There are no errors listed in the CF or JRUN logs -- or in the Windows Application, System, or Security logs.  The CF logs just 'stop'...
    The server is responsive from the console.  Jrun is not using an inordinate amount of memory (~300mb) and the processors are fine (~2%).
    The JVM being used is Sun (64bit) 1.6.0_13 (we also have one on 1.6.0_17 as a test); they all present the same issue. We are running CF 8.0.1 (no hotfixes installed).
    Has anyone had a similar problem?
    Any ideas would be appreciated...
    Thanks,
    Blake

    Some clarification...
    We have tried a number of things - but it looks like this happens most consistently when pushing updates of CFC files that are in heavy use.  A short bit after the updated file is copied to the server - connections start to fail and 503 errors are returned by the CF server.
    CF ADMIN still runs fine.
    I think there has to be something locking these files - something specific to Windows 2008; because we use the same deployment scripts on CF8 servers running Windows 2003 and there are no issues...
    Any ideas?
    Blake

  • Jrun crash

    hi all
    i manage a server with cf8.
    my customer decided to move server to a cloud.
    from that moment, i lost my sleep...
    one or twice a day jRun gets the error
    "JRun closed connection".
    this is a little report of situation... any help is very appreciated... :-)
    == SERVER SPECS ==
    virtual machine on wmware cloud
    with Linux CentOS, 32 bit
    4 core CPU
    3 GB Ram
    1,5 GB Ram dedicated for JRun
    JVM use 20% of allocated memory.
    80.000 pages a day
    == JRUN ==
    Maximum number of simultaneous Template requests: 25
    Maximum JVM Heap Size (MB): 1524
    i activate jRun log. this is a optimal situation:
    THREADS: Listen=22 Idle=60 Running=1 Delayed/Waiting=0
      Time Delayed=0 Dropped=0 Completed=62 Time To Complete=11253 Total=83
    THREADS: Listen=23 Idle=86 Running=1 Delayed/Waiting=0
      Time Delayed=0 Dropped=0 Completed=134 Time To Complete=30495 Total=110
    THREADS: Listen=22 Idle=77 Running=1 Delayed/Waiting=0
      Time Delayed=0 Dropped=0 Completed=106 Time To Complete=19309 Total=100
    before crash, the situation is similar... :-(
    == DB ==
    db (postgres 9.1) is in local lan on other virtual server,
    no particulary data to provide.
    == DURING THE CRASH... ==
    this is the situation just before crash cf crash (from fusionreactor)
    http://i.imgur.com/VwXts.png
    http://i.imgur.com/ezzuV.png
    there are no reasons for this situation.
    no overload on cpu, no overload on ram.
    in screenshot, over the first 3/4 page in list, other pages
    are normally generated in 1/4 of second.
    from this reports a see a strage "time question"...
    == "TIME QUESTION"... ==
    on this server happen at least two strage events...
    - 1 -
    in fusionreactor report, such as in seefusion report, such as in cf log,
    i see a very strange long long long request.
    this request taken 4,398 secs, 1h and 22m to complete. (ALWAYS 1h 22m!!!).
    this happens randomly, in normal situation this page are generated
    in few millisecons. moreover, the end-time of this tasks is IN THE FUTURE!
    time of machine is updated regularly via ntp.
    can this happen because of the virtual machine?
    12/19 12:20:55 Warning [jrpp-871] - Thread: jrpp-871, template:
    /jackets/audio.cfm, completed in 4,398 secs
    12/19 12:23:00 Warning [jrpp-1068] - Thread: jrpp-1068, template:
    /articoli/index.cfm, completed in 4,398 secs
    12/19 13:00:05 Warning [jrpp-1126] - Thread: jrpp-1126, template:
    /articoli/index.cfm, completed in 4,398 secs
    12/19 13:23:10 Warning [jrpp-1292] - Thread: jrpp-1292, template:
    /home/index.cfm, completed in 4,398 secs
    - 2 -
    second strange event, is the frequently timeout of cfloop, cfoutout,
    cffile tags... but is not "real" timeout.
    when i meet up with the error, there is no waiting time that should
    generate the timeout error.
    evidently cf with this error, want to say me such other,
    but i don't know what... :-/
    you have some idea?
    i add "var" scope to cfc in my code...
    == APACHE PROCESS ==
    i activeted a simple log for apache connections.
    sometimes, just before the crash the apache load
    is bit overload..
    H: apache process - C: connections on 80 port.
    -- optimal situation --
    H:79 C:195
    H:108 C:255
    H:85 C:264
    H:81 C:163
    H:77 C:198
    H:88 C:402
    H:82 C:243
    H:82 C:196
    -- just before crash --
    H:68 C:63
    H:81 C:81
    H:143 C:130
    H:156 C:152
    H:163 C:169
    H:163 C:163
    -- just before crash --
    H:178 C:186
    H:178 C:170
    H:178 C:187
    H:178 C:176
    H:178 C:188
    H:178 C:215
    == CFSERVER.LOG ==
    from cfserver.log i get
    12/18 18:48:36 error Error in getRealPathFromConn
    12/18 21:51:00 error Error in getRealPathFromConn
    12/18 21:51:00 error Error in getRealPathFromConn
    12/18 21:51:03 error Error in getRealPathFromConn
    12/18 21:51:03 error Error in getRealPathFromConn
    but i do not think this is an important matter...
    ===
    have you got some ideas for this strage case?
    links, documents... any idea is welcome!
    many thanks
    Roberto

    for future...
    the "strange" timeouts are caused by a linux kernel bug...
    http://archives.postgresql.org/pgsql-general/2011-07/msg00300.php

  • ColdFusion 11 REST warnings in log file?

    I'm building a RESTful API with ColdFusion 11.  Today I noticed there are a ton of warnings being logged to the coldfusion-error log file.  For example:
    Mar 04, 2015 8:09:52 AM com.sun.jersey.spi.inject.Errors processErrorMessages
    WARNING: The following warnings have been detected with resource and/or provider classes:
    WARNING: A HTTP GET method, public void api.Country.GetCountry() throws coldfusion.xml.rpc.CFCInvocationException, MUST return a non-void type.
    WARNING: A HTTP GET method, public void api.Log.GetLog(java.lang.Double) throws coldfusion.xml.rpc.CFCInvocationException, MUST return a non-void type.
    WARNING: A HTTP GET method, public void api.Logout.LogoutUser(java.lang.Double) throws coldfusion.xml.rpc.CFCInvocationException, MUST return a non-void type.
    Here is one of my API endpoint functions:
    <cfcomponent restpath="country" rest="true" output="false" extends="cfc.data">
         <cffunction name="getCountry" access="remote" output="false" httpmethod="get" returntype="void">
              <cfset LOCAL.countryData = getCountryData()>
              <cfset LOCAL.restResponse = StructNew()>
              <cfset restResponse = REQUEST.apiObj.response(200, countryData)>
              <cfset restSetResponse(restResponse)>
         </cffunction>
    </cfcomponent>
    My understanding is that returntype=void is a MUST in order to use restSetResponse().  This code works great, but the warnings in the log file don't make sense to me. 
    Am I doing something wrong? 
    Or is this some sort of "gap" where logging isn't factoring in REST services/functionality? 
    Is it possible to disable warning messages from getting logged? 
    Thank you!
    Brian White

    Is it possible that the application log on your production
    server is not
    configured to overwrite events as needed? Are other
    non-ColdFusion
    application events being logged?
    Carl
    aUniqueScreenName wrote:
    > I'm using Coldfusion version 7,0,2,142559 on a windows
    2003 server with IIS6
    > (my prod box). A little over a month ago CF stopped
    putting entries into the
    > application.log file. Even when errors do occur that
    should be logged
    > application.log has nothing. I've gone through every
    windows/cf/jrun log I
    > could find and found nothing to indicate any problems at
    the time of the last
    > entry. Also no CF or windows updates were done around
    that time.
    >
    > I have a development box setup exactly the same and it
    does not exhibit the
    > same problem. I can cause errors on the dev box and they
    get logged in
    > application.log. Yet when I do the same thing on my prod
    box nothing gets
    > logged. I've compared all the settings between the prod
    and dev boxes and
    > everything is the same.
    >
    > The prod server is functioning completely normal except
    for the failure to put
    > anything in application.log. I'm beyond pulling my hair
    out on this one. Has
    > anyone ecountered the same issue? My Google searches
    have so far come up emtpy.
    >
    >

  • JRun request connection time out

    Hi,
    I have a servlet which takes more time(Greater than 10 mins)
    to process a request. How do I set the connection timeout for a
    request in JRun.
    I remember setting connetion time out in IIS, so I think it
    should be here in JRun webserver configuration.
    Any form of help is highly appreciated. Thanks in advance.
    -Sundar

    Winter999 wrote:
    >
    >
    Server Error
    > The server encountered an internal error and was unable
    to complete your
    > request.
    >
    ould not connect to JRun Server.
    >
    > JRun logs are attached.
    > 2007-07-26 15:59:50 jrISAPI[9376:2408] command error:
    Connection reset by
    > peer <- [4200]
    > 2007-07-26 15:59:50 jrISAPI[9376:2408] returning error
    page for Connection
    > reset by peer
    > 2007-07-26 16:00:04 jrISAPI[8712:2408] 127.0.0.1:51011
    connect failed: 10060
    > Connection timed out
    The log file you have attached is from the JRun connector,
    not from JRun
    itself. Please include the -out and -err logs from JRun
    itself.
    Jochem
    Jochem van Dieten
    Adobe Community Expert for ColdFusion

  • Location of trace logs

    Hi,
    Can any one tell where the trace logs,audits etc are stored in content server's file system
    Thanks in advance
    Amit

    Content Server logs are written to:
    <cs_dir>/weblayout/groups/secure/logs and are named IdcLog01.htm - IdcLog30.htm. The file IdcnLog.htm keeps track of the log number to date relationship and is the page the web GUI resolves to.
    Archiver logs are written to:
    <cs_dir>/weblayout/groups/secure/logs/archiver and are named ArchiveLog01.htm - ArchiveLog30.htm. The file ArchiveLnLog.htm keeps track of the log number to date relationship and is the page the web GUI resolves to.
    Verity log is written to:
    <cs_dir>/weblayout/groups/secure/logs/verity and is called search.log. This log is a single text file and will grow as entries are written to it - this different behaviour is because this log file is created by the licensed Verity indexing application.
    NOTE: By default the verity debug level is set to none - so no logs will be created. Verity debug levels are set in the repository manager indexer setup screen and can vary from verbose to all. Be aware that high levels of debug information from verity will create a very large log file very quickly. There will also be a processor and disk I/O overhead from the processing and writing of verbose log file entries.
    Server output log is written to:
    Windows:
    <cs_dir>/bin/IdcServerNT.log if UseRedirectedOutput=true is set in the config.cfg file. This file should be purged occasionally as it can grow to a fairly large size. However this can be cleared form the admin server web GUI interface and should be checked regularly for major errors and warnings that are written to the file.
    Unix:
    <cs_dir>/etc/log regardless of whether or not UseRedirectedOutput=true is set.
    Web Server Filter logs:
    Windows:
    <cs_dir>/idcplg/idc_cgi_isapi-<instance>.dll.log
    Unix:
    <cs_dir>/data/users/authfilter.log
    These are accessed through the Filter Administration link from the administration page. Options can be set from here and the filter viewed and output cleared. Because this is primarily a debugging tool, it is not normal practice to save or archive these logs. There is also substantial performance overhead involved with writing these logs, so they should not be left running in normal production mode.

  • JRun Launcher Can't Start Server

    I've installed the JRun 4 trial version. Then I load the JRun
    Launcher and it shows 3 servers: samples, default, and admin.
    Whenever I try to start any of the servers it thinks for about a
    minute and then says an error occurred and tells me to look at a
    log file. However the directory jrun/logs is empty. Any
    ideas?

    I had the same problem yesterday and it was related to regional settings.
    I changed regional settings from turkish to US and it works.
    Bye
    Leo

  • Session not being clean up by JRun

    My application is using IPlanet WebServer and JRun3.02 Application server. I am having a problem with active session not getting cleaned up by the App Server. When the user goes through the application and finishes the process, I invalidate the session by doing 'session.Invalidate()'. I also have set a 30 minute timeout value in the JRun global.properties file to invalidate the session if the user starts but not finish going through the application. However, the number of active session count in the JRun log doesn't seem to go down. After a few days, I ran out of sessions and the application hungs. I keep a few objects on the session including a pretty big 'pdfObject' that I use to create a PDF document on the fly.
    Any idea why JRun not able to clean up the sessions after the 30 minute timeout has passed? Does the fact that I have stored objects on the session preventing JRun from invalidating and cleaning up the session?
    Thanks in advance.

    Hi afikru
    According to the Servlet specification session.invalidate() method should unbind any objects associated with it. However I'm not conversant with JRun application server so I can only provide some pointers here to help you out.
    Firstly, try locating some documentation specific to your application server which may throw some light on why this may be happening.
    Secondly, I'd suggest running the Server within a Profiling tool so that you can see what objects are being created and how many of those. Try explicitly running the Garbage Collector and see if the sessions come down.
    Keep me posted on your progress.
    Good Luck!
    Eshwar R.
    Developer Technical Support
    Sun microsystems

  • Problem posting from java app to JRun servlet

    I am trying to write a jsp/servlet that will receive xml data posted to it. I am also trying to write a class that can test this. We are using JRun 3.0 to host the servlets.
    I am having a pig of a time getting this simple thing to work. My jsp code is shown below, followed by the app code. If I call the application with empty arguement (e.g. java PostTester localhost://pub/test.jsp "") it works fine. If I put in any arguements I can see in the JRun log the System.out messages as expected. However, the getResponseCode() returns -1 with a message of null. If I comment out that line, it eventually times out and I get a FileNotFoundException. Incidentally it seems that it works fine from IE.
    Any help much appreciated.
    Thanks - Bryan
    jsp code:
    <%@ page import = "java.io.*" %>
    <HTML> <HEAD> </HEAD>
    <BODY>
    <%
    StringBuffer text = new StringBuffer();
    BufferedInputStream is = new BufferedInputStream(request.getInputStream());
    System.out.println("1a");
    int c = is.available();
    System.out.println ("bytes available are " + c +"<br>");
    if (c> 0) {
    try {
    while ( is.available() > 0 && (c=is.read())>=0) {
    text.append ((char)c);
              System.out.println("2:"+(char)c);
    System.out.println("3");
    is.close();
    } catch (Throwable e) {
    System.out.println("Caught :"+e);
    e.printStackTrace(System.out);
    System.out.println("4:"+text+"\r\n" );
    out.println("'"+text+"'");
    %>
    </BODY>
    </HEAD>
    Test code:
    import java.net.*;
    import java.io.*;
    public class PostTester {
    public static void main(String[] args) {
    URL target=null;
    HttpURLConnection con=null;
    try {
    target=new URL(args[0]);
    con=(HttpURLConnection)target.openConnection();
    con.setDoOutput(true);
    con.setRequestMethod("POST");
    con.setUseCaches(false);
    byte buffer[]= args[1].getBytes();
    System.out.println("Writing: "+args[1]);
    OutputStream os=con.getOutputStream();
    os.write(buffer);
    os.close();
    con.connect();
    if (con.getResponseCode()!=HttpURLConnection.HTTP_OK)
    System.out.println("****InvokeWithHTTP() - HTTP request failed - "+con.getResponseCode()+" "+con.getResponseMessage()+"\n\n");
    return ;
    StringBuffer response= new StringBuffer();
    try {
    InputStream is=con.getInputStream();
    for (int c=is.read();c>=0;c=is.read()) response.append ((char)c);
    is.close();
    } catch (Exception e){
    e.printStackTrace();
    return;
    con.disconnect();
    System.out.println(response);
    } catch (Throwable t) {
    InputStream err = ((HttpURLConnection)con).getErrorStream();
    if (err != null) {
    BufferedReader in = new BufferedReader(new InputStreamReader(err));
    StringBuffer response = new StringBuffer();
    String line;
    try {
    while ((line = in.readLine()) != null) {
    response.append(line + "\n");
    in.close();
    System.out.println(response);
    } catch (Exception e){
    e.printStackTrace();
    t.printStackTrace();
    con.disconnect();
    }

    other question:
    is your "argument" file contents URLEncoded ?
    if some of these arguments are \n or \r or else... the server may mess the message...

  • Multiple (200 +) processes with Jrun And Linux

    Hello,
    We have a server in our enviroment running the following:
    2.4.9-e.27smp linux kernel
    mysqld Ver 4.0.15-standard for pc-linux on i686
    java version "1.4.1_05"
    Java(TM) 2 Runtime Environment, Standard Edition (build
    1.4.1_05-b01)
    Java HotSpot(TM) Client VM (build 1.4.1_05-b01, mixed mode)
    47205 Oct 3 2003 jrun 4.0 updater 1a
    Starting the site with this command:
    su -c 'cd /usr/local/jrun/logs/df_nohup; nohup
    /usr/local/jrun/bin/jrun -config /usr/local/jrun/bin/df_jvm.config
    -start sitename &' userid
    We have 4 sites running on the machine each with the same
    command with the site names changed etc.
    Basicly when we start the sites each one generates 70+
    process each, usually when the server first comes up there will be
    240 + jrun process on it.
    We have a very similar configuration on our dev server, and
    it only starts 4 processes?
    Any ideas why this production server is generating so many
    processees?

    Thanks a lot for taking your precious time to review my code, Bogdan.
    I run an attempt using the additional flags you were suggesting but they didn't improve results.
    Your pointers to the DB Reference and C API sound a little bit like RTFM. In fact, I didn't read all the stuff there but a good portion of it before I was asking for help ;-) The FAQ entry I mentioned leads exactly to the "Architecting Transactional Data Store" topic.
    The code was modeled after the "The third way to architect Transactional Data Store applications is as a group of unrelated processes" using the DB_REGISTER flag.
    It seems to take a senior expert to get my simple requirement done :-(
    All I know now is I'm not alone:
    Problem with multiple processes and DB_REGISTER
    Re: Problem with multiple processes and DB_REGISTER
    Does anybody has the code for developing multi-process program .thank you.
    Re: does anybody has the code for developping multi-process program .thank you.
    Any more ideas what to try next?

Maybe you are looking for

  • How can i activate my iphone 4 without the old apple id and password?

    please help me, i erased all contents in my iphone 4, it is bought second hand here in the Philippines, then when it opened it asks for an activation id and password of the first owner, sad to say we dont know who owned it since it is bought second h

  • Browsers crashing presumably due to evil Flash-based content + updates?!

    I haven't had a problem with flash-based content until a couple days ago, when I installed a bundle of software updates, including 10.5.7. Since then, I have tried to access flash based content, such as pandora internet radio, youtube videos, and the

  • Oracle 10g 64-bit database on Windows 2008 R2 (64-bit) error ?

    - I have installed Oracle 64-bit database on Windows 2008 R2 (64-bit) server - Now everything works fine locally on the database. - I had installed Oracle forms/reports 6i which has Oracle SQL Plus 8.0.6. on a windows 7 Professional (32-bit) PC. Now

  • Paypal - break line in 2 on checkout page?

    In paypal does anyone know if its possible to break  the information on the checkout screen into to 2 or more lines? <input type="hidden" name="item_name" value="<?php echo $breakTitle; ?><br/><?php echo $breakDate; ?>"> paypal doesn't seem to make m

  • Printing multilple documents to one PDF file

    Is there any program or utility that allows one to create a single PDF file from documents by first printing the documents into a holding que? Then when all the desired documents are in the que, a single pdf document could be created. There was windo