Re: [Resin-interest] Running two resin instances in different IPs

2007-04-19 Thread Akila Amarathunga
Hi,

I think it cos of the service... try to run resin-pro-3.1.snap with diff
name or something like that.. haven't try it by myself but better to
give a try..

Thanks,
Akila

On Tue, 2007-04-17 at 16:46 +0530, Anitha wrote:
 Hello,
   I am trying to run two resin servers; resin-pro 3.1.0 and resin-
 pro-3.1.snap in my server in different IPs say 192.168.1.34 and
 192.168.1.35 . After installing them when I try to run both only one
 at a time iis running. Means when resin-pro 3.1.0 is running if I am
 trying to run resin-pro-3.1.snap it is showing that the server is
 already running. I tried to run it in different Ports also. But no
 success. 
 
I am using the same JAVA_HOME for both to run. Can anyone help me
 to solve the problem.
 
  - Anitha
 
 ___
 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


[Resin-interest] resin php issue

2007-04-04 Thread Akila Amarathunga
Hi All,

I have problem using php pages inside my application. I really
appreciate if any one can help with it. Below is my configuration.

Application Folder - REIN-HOME/webappps/test-app
web-xml path   - REIN-HOME/webappps/test-app/WEB-INF/web.xml

web.xml has below mention entry

  servlet-mapping url-pattern=*.php servlet-
class=com.caucho.quercus.servlet.QuercusServlet
   init
compilefalse/compile
/init
  /servlet-mapping

PHP folder - REIN-HOME/webappps/test-app/php

When I try to access php files through a web browser, resin doesn't
interpret php. It just shows the codes. I'm bit confused since I
followed the resin documentation as it is. Really appreciate if any one
can help me with it.

Thanks,
Akila
 



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


Re: [Resin-interest] resin jvm problem

2007-01-05 Thread Akila Amarathunga
Hi Adam,

I checked the gc.log and it happens if there's a full gc dump. After
that user has to restart the browser to access the site, refresh won't
work...

Thanks,
Akila

On Fri, 2007-01-05 at 10:30 -0500, Adam Fletcher wrote:
 Akila,
 
 Check gc.log and see if it is reporting Full GC in it during the time
 of the 50x error - it could be pausing the application during the full
 GC, causing your front end web server to not be able to connect. 
 
 
 
 
 Thanks,
 
 Adam Fletcher
 Director, Information Technology
 PowerSteering Software, Inc. 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Akila
 Amarathunga
 Sent: Friday, January 05, 2007 12:13 AM
 To: General Discussion for the Resin application server
 Subject: [Resin-interest] resin jvm problem
 
 Hi All,
 
 I have resin 3..0.21 install in a RH el4 and use apache as a frontend.
 My problem with the default setting resin works ok but it gives an
 'outofmemory' error when application usage is high. So I added following
 in my httpd.sh,
 
 args=-J-Xms64m -J-Xmx512m -J-verbose:gc -Xloggc:gc.log
 
 Then i didn't get the 'outofmemory' error but after sometime resin stop
 responding. When trying to conenct to application it gives http error
 '500' saying server not available due to maintenance. 
 Then I removed args and after that i didn't get the '500' error code
 (but the memory problem is still there).
 
 Please guys could you tell me what causes this problem ?
 
 Thanks,
 Akila
 
 
 ___
 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
 


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


[Resin-interest] resin jvm problem

2007-01-04 Thread Akila Amarathunga
Hi All,

I have resin 3..0.21 install in a RH el4 and use apache as a frontend.
My problem with the default setting resin works ok but it gives an
'outofmemory' error when application usage is high. So I added following
in my httpd.sh,

args=-J-Xms64m -J-Xmx512m -J-verbose:gc -Xloggc:gc.log

Then i didn't get the 'outofmemory' error but after sometime resin stop
responding. When trying to conenct to application it gives http error
'500' saying server not available due to maintenance. 
Then I removed args and after that i didn't get the '500' error code
(but the memory problem is still there).

Please guys could you tell me what causes this problem ?

Thanks,
Akila


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


[Resin-interest] resin stop responding

2006-12-31 Thread Akila Amarathunga
Hi All,

I have resin-pro-3.0.21 with apache. Sometimes it gives http 5XX error
saying server not available. I checked the service and its up. But after
service restart all goes back to normal. Same thing happens after few
hrs. Please let me know if anyone experienced problem like this...

Thanks,
Akila


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


Re: [Resin-interest] Resin java exception

2006-12-29 Thread Akila Amarathunga
Hi Adam,

well i did some searches in google and adjusted the JVM like below 

./httpd.sh -Xmn100M -Xms500M -Xmx500M

and test the application... After that i didn't get  heap exceptions...
Any ideas how to fine tune JVM memory..?

Thanks,
Akila

On Fri, 2006-12-29 at 09:35 -0500, Adam Fletcher wrote:
 Hi,
 
 What JVM options are you using when you start up resin? Typically, an
 out of heap error means you're running out of virtual machine memory.
 You can tune the VM with the options you pass to resin in the httpd.sh
 script.  
 
 
 Thanks,
 
 Adam Fletcher
 Director, Information Technology
 PowerSteering Software, Inc. 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Akila
 Amarathunga
 Sent: Friday, December 29, 2006 9:13 AM
 To: General Discussion for the Resin application server
 Subject: [Resin-interest] Resin java exception
 
 Hi All,
 
 I have RH system with apache 2.0 and resin 3.0. All the requests to
 Resin goes through apache using mod_caucho. When I do simultaneous
 searches i get a java exception call like below
 
 java.lang.OutOfMemoryError: Java heap space
 
 Complete stack:
 
 wicket.WicketRuntimeException: Method onFormSubmitted of interface
 wicket.markup.html.form.IFormSubmitListener targeted at component
 [MarkupContainer [Component id = autoForm, page =
 tbt.engine.SearchingPage2, path = 0:autoForm.MyForm, isVisible = true,
 isVersioned = true]] threw an exception
  at
 wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:174
 )
  at
 wicket.request.target.component.listener.ListenerInterfaceRequestTarget.
 processEvents(ListenerInterfaceRequestTarget.java:74)
  at
 wicket.request.compound.DefaultEventProcessorStrategy.processEvents(Defa
 ultEventProcessorStrategy.java:65)
  at
 wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEve
 nts(AbstractCompoundRequestCycleProcessor.java:57)
  at
 wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:846)
  at
 wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:879)
  at wicket.RequestCycle.step(RequestCycle.java:960)
  at wicket.RequestCycle.steps(RequestCycle.java:1034)
  at wicket.RequestCycle.request(RequestCycle.java:453)
  at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:215)
 
 Please help me out if any of you guys come through a exception like
 this.
 
 Thanks,
 Akila
 
 
 ___
 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
 


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


Re: [Resin-interest] resin speed

2006-11-28 Thread Akila Amarathunga
Hi Markus,

Thank you very much for the comments.. earlier I didn't know about
JProfiler.. I'll look into it.. Thanks again.

Regards,
Akila

On Tue, 2006-11-28 at 10:37 +0100, Markus Ken Baron-Moriyama wrote:
 ve a load of about 40-50 page requests per second, and Resin 
 handles this load. When t



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


Re: [Resin-interest] resin speed

2006-11-27 Thread Akila Amarathunga
Hi Keith,

Are you running Resin with apache ? cos I hooked up with apache and did
some fine tuning in it... and now it seems serve up pages bit fast.
Anyway I use open source version and i think there might be more
features on professional one.

Thanks,
Akila

On Mon, 2006-11-27 at 09:10 -0800, Keith Fetterman wrote:
 Akila,
 
 We have been using Resin for the past five years to serve up the 
 Go2marine boat parts store ( http://www.go2marine.com ), and we have 
 always found it to have a very fast page response time.  We are 
 currently running Resin Professional 3.0.19 in production. We are using 
 Sun's 1.5.0_09 JDK. The OS is Red Hat Enterprise 3 ES.  The database is 
 Oracle 9i, which runs on a separate server.
 
 When we refactored the software to use Struts and Tiles last spring, I 
 was concerned that it might impact performance because of all of the 
 internal HTTP requests for the tiles.  No worries.  I was delighted with 
 how fast the site ran.
 
 The times that we have run into problems with page response time is when 
 the server becomes heavily loaded in production.  These problems were 
 corrected by tuning memory, increasing threads, or increasing the 
 maximum sessions.
 
 Keith
 
 Akila Amarathunga wrote:
  Hi All,
  
  I'm quiet new to Resin... At the moment I'm testing with Resin one of
  our application but I find it takes some time to deliver pages. i use
  resin 3.0.21 as standalone with jdk 1.5 and mysql on RH linux.
  I really appreciate if any one could tell me on what Resin deliver speed
  depend on...
  
  Thanks,
  Akila
  
  
  ___
  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


[Resin-interest] resin speed

2006-11-23 Thread Akila Amarathunga
Hi All,

I'm quiet new to Resin... At the moment I'm testing with Resin one of
our application but I find it takes some time to deliver pages. i use
resin 3.0.21 as standalone with jdk 1.5 and mysql on RH linux.
I really appreciate if any one could tell me on what Resin deliver speed
depend on...

Thanks,
Akila


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