[Resin-interest] Cannot debug windows resin server...

2007-06-18 Thread andy.duplain
Hi, I am trying to debug a web-app running on the development resin
server running on my Windows machine (httpd.exe - with the
Start/Stop/Quit buttons).  I have the following configured in my
resin.conf:
 
jvm-arg-Xdebug/jvm-arg
jvm-arg-Xnoagent/jvm-arg
jvm-arg-agentlib:jdwp=transport=dt_shmem,server=y,suspend=n,address=re
sindebug/jvm-arg
 
When I attempt to attach the debugger (netbeans) I get no such file or
directory or in the case of dt_socket I get a socket timeout.
 
Has anyone got debugging working with resin?
 
Cheers,
Andy
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Problem with CauchoConfigFile and Resin 3.1.1 +Unix + Apache2

2007-06-04 Thread andy.duplain
I use something like this with Apache 2.2.3:
 
LoadModule caucho_module /usr/lib/apache2/modules/mod_caucho.so

ResinConfigServer localhost 6800
CauchoStatus yes
 
Location /caucho-status
Order deny,allow
Deny from all
Allow from 127.0.0.1 192.168.0.0/16 my-domain.net
/Location

 
Cheers,
Andy
 





From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben Strum
Sent: Monday, June 04, 2007 1:57 AM
To: resin-interest@caucho.com
Subject: [Resin-interest] Problem with CauchoConfigFile and
Resin 3.1.1 +Unix + Apache2


I am trying to upgrade servers we have to the latest Resin
version with Apache 2.  Prior to this, we were running older versions of
both Resin and Apache.
 
We are seeing the following error message upong running httpd:
Invalid command 'CauchoConfigFile', perhaps misspelled or
defined by a module not included in the server configuration
 
Our httpd.conf file looks like this:
 
LoadModule caucho_module
/home/blink/blinkproweb/modules/mod_caucho.so
#AddModule mod_caucho.c
IfModule mod_caucho.c
CauchoConfigFile resin.conf
/IfModule
 
I have seen posts that you must call AddModule before you can
call CauchoConfigFile but AddModule does not seem to be supported under
Apache 2 anymore.  
 
Am I missing something when building either Apache or Resin?
Can someone tell me the correct method for specifying resin.conf in this
environment?
 
Thank you,
 
Benjamin Strum
ThinkTron Corporation

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] What is creating log/jvm-default.log andlog/watchdog-manager.log files

2007-05-31 Thread andy.duplain
Darn - I should really explore all possibilities before posting.  I
downloaded the source in the end and found out what was creating these
logs - the solution is to use the (undocumented?) command line argument
-log-directory when starting resin, and making the logfile name relative
(i.e. resin.log).

Oh well, I hope that might help someone,
Cheers,
Andy 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 3:31 PM
To: resin-interest@caucho.com
Subject: [Resin-interest] What is creating log/jvm-default.log
andlog/watchdog-manager.log files

Hi there, I am trying to configure resin 3.1.1 under Solaris 9 to log
every message to /var/resin/log/resin.log, and have these entries in
resin.conf:
 
  log name= level=info path=/var/resin/log/resin.log
timestamp=%d/%m/%y %H:%M:%S.%s /

However I am still seeing these files in the log sub-directory of
resin.home:
 
bash-2.05# ls -l log
total 6
-rw-r--r--   1 www  www  763 May 31 14:21 jvm-default.log
-rw-r--r--   1 www  www 1082 May 31 14:21
watchdog-manager.log

Can someone tell me how to stop these files being created and get their
output going to /var/resin/log (ideally watchdog-manager.log going to a
separate file and the contents of jvm-default.log going to resin.log).
 
Thanks in advance,
Andy


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest