[Resin-interest] Daytrader App

2011-06-14 Thread Jamison Novak
Has anybody successfully built and deployed the DayTrader app from the Apache 
project in Resin?
(Ref: 
https://cwiki.apache.org/GMOxDOC30/daytrader-a-more-complex-application.html)

I'm looking for an outline of the process, if anybody has managed it.

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


Re: [Resin-interest] Daytrader App

2011-06-14 Thread Jamison Novak
On 06/14/2011 1:20 PM, Scott Ferguson wrote:

 On 06/14/2011 11:02 AM, Jamison Novak wrote: 
 Has anybody successfully built and deployed the DayTrader app from the 
 Apache project
 in Resin?
 (Ref: 
 https://cwiki.apache.org/GMOxDOC30/daytrader-a-more-complex-application.html)

 Unless they've upgraded it to use JPA, it shouldn't work in Resin because it 
 requires
 JavaEE enterprise (primarily EJB 2.1 CMP but also possibly the application 
 client
 in JavaEE enterprise.)

Thanks, Scott. It looks like they do have a web-jpa module, but I wasn't 
entirely sure
how to go about getting it built and deployed. I'll keep toying around with it.

For reference: https://issues.apache.org/jira/browse/DAYTRADER-74
A Tomcat-ready version: https://issues.apache.org/jira/browse/DAYTRADER-68

-Jamie


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


Re: [Resin-interest] Resin 4.0.10 release

2010-08-26 Thread Jamison Novak
On August 26, 2010, Jan Kriesten wrote:

 thanks for 4.0.10 - it seems that the restart-problems have been solved
 with this build.
 
 Our system looks healthy again. :)

I second this. The 4.0.10 release seems to be the best 4.0 release yet.
All of the problems we've encountered in the past seem to be gone and
performance actually seems to be better. (It wasn't bad before, but our
load testing results did actually seem better with our configuration on
this release.)

Congratulations!

-Jamie


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


Re: [Resin-interest] Resin ~ Enterprise Management and Monitoring

2010-04-21 Thread Jamison Novak
Hi Michael,

If you’re using Resin 4.x, you should take a look at these two Blog posts (and 
the Wiki page linked in the second post), if you haven’t already:

http://blog.caucho.com/?p=325
http://blog.caucho.com/?p=238

We are currently doing some things with Resin 4.x, Nagios, and Cacti and those 
two posts served as good starting points.

I can’t speak to OpenView/Tivoli integration and how easy that would be to 
accomplish, but the Resin+Nagios configuration was very simple and flexible.

As to which logs are of interest, it will really depend on your Resin 
configuration and where you’re sending messages. After reviewing the REST 
documentation, though, you may decide that you don’t even need to look at the 
logs; I can’t really say what your needs are.

Good luck.

-Jamie


From: resin-interest-boun...@caucho.com 
[mailto:resin-interest-boun...@caucho.com] On Behalf Of Michael Stollaire
Sent: Monday, April 19, 2010 1:54 PM
To: resin-interest@caucho.com
Cc: Yoshi Okayama; Mieke Mocke; Michael Gibson
Subject: [Resin-interest] Resin ~ Enterprise Management and Monitoring
Importance: High

All,

I would like to know if anyone on the list has implemented an existing 
monitoring paradigm for Resin, using SNMP, if supported, and also, what logs 
are of interest, along with specifics on what messages should be alerted on 
from a monitoring respect, such as OpenView, Tivoli, Unicenter, BMC Patrol, etc.

Thanks very much, as I am working on development of a Smart Plug-In for 
OpenView Operations Manager for Resin!

Stay Strong,

Michael OpenView Mike Stollaire
CEO and Senior Consultant
EHI-INSM Inc.
TEL: 818.358.3729
MOBILE: 818.802.0653
eFax: 509.275.9260
Skype: Michael.Stollaire
BlackBerry: archangel_mich...@att.blackberry.net

michael.stolla...@ehiinsm.comhttp://mail.ehiinsm.com/mail6a/vendor/FCKeditor/editor/michael.stolla...@ehiinsm.com

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


Re: [Resin-interest] Resin-Pro-4.0.5 Admin

2010-03-24 Thread Jamison Novak
The resin-admin application is under ${resin.home}/doc/admin. I think the old 
location may have been under a php subdir, but it doesn't appear to be there 
under any of the 4.x builds that I've done in the past.

-Jamie

-Original Message-
From: resin-interest-boun...@caucho.com 
[mailto:resin-interest-boun...@caucho.com] On Behalf Of Aaron Freeman
Sent: Wednesday, March 24, 2010 3:12 PM
To: General Discussion for the Resin application server
Subject: Re: [Resin-interest] Resin-Pro-4.0.5 Admin

On 3/24/2010 1:15 PM, Rick Mann wrote:
 On Mar 24, 2010, at 09:07:07, Aaron Freeman wrote:


 Since we are upgrading from pro-3.0.23 to pro-4.0.5, we thought we would
 take advantage of the resin-admin stuff.  However the docs aren't clear
 on how that's supposed to happen.  This page says nothing about what to
 install: http://caucho.com/resin-4.0/admin/resin-admin.xtp

 And this page seems to elude that I have to install another product? I
 could have sworn we had this working in 4.0.0 without installing
 Quercus.  http://caucho.com/resin-4.0/admin/resin-admin-console.xtp
  

Odd, when I untar resin-pro-4.0.5 and look in the php/admin directory 
from the example block on the second link above:

web-app id=/resin-admin root-directory=${resin.home}/php/admin

The php directory doesn't exist.  Let me hunt around a bit now that I know it 
should be there somewhere.

Aaron





___
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] Classpath Question

2010-03-19 Thread Jamison Novak
You may also find this Wiki page useful:

http://wiki.caucho.com/Migrating_from_Resin_3.0_to_Resin_4.0

-Original Message-
From: resin-interest-boun...@caucho.com 
[mailto:resin-interest-boun...@caucho.com] On Behalf Of Aaron Freeman
Sent: Friday, March 19, 2010 4:54 PM
To: General Discussion for the Resin application server
Subject: Re: [Resin-interest] Classpath Question

It's working now.  For completeness and to help others moving from 3.0.x 
to 3.1.x or 4.0.x you should change your startup script from this style 
(which relies on a wrapper.pl):

$RESIN_HOME/bin/httpd.sh -verbose \
-J-server \
-J-Xmx$JAVA_MX \
-J-Xms$JAVA_MS \
-J-verbose:gc \
-J-XX:MaxGCPauseMillis=5000 \
-J-XX:GCTimeRatio=19 \
-J-XX:+PrintGCTimeStamps \
-J-Djava.security.egd=/dev/urandom \
-J-cp=/opt/server/java/test.jar \
-server-root $SERVER_ROOT \
-Dresin.home=/opt/resin-pro-3.1.9 \
-conf /opt/server/conf/resin.xml \
$1

To something like this:

$JAVA_HOME/bin/java \
-server \
-Xmx$JAVA_MX \
-Xms$JAVA_MS \
-Djava.util.logging.manager=com.caucho.log.LogManagerImpl \
-Djava.security.egd=/dev/urandom \
-Dresin.home=${RESIN_HOME} \
-jar ${RESIN_HOME}/lib/resin.jar \
-conf ${SERVER_ROOT}/conf/resin.xml \
$*

And by the way that magically fixed my resin:type problem as well.



___
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] User resin runs as

2010-03-09 Thread Jamison Novak
We set ours at the server-default level to globally set all of our Resin 
processes to the same uid/gid, but you could just as easily move it down to the 
server level so it applies only to a specific cluster/host.

Our config looks like this (which was taken from one of the example resin 
configs):

server-default
  !--
 - If starting Resin as root on Unix, specify the user name
 - and group name for the web server user.
--
  resin:if test=${resin.userName == 'root'}
user-namenobody/user-name
group-namenobody/group-name
  /resin:if
/server-default

Hope that helps.

-Jamie


-Original Message-
From: resin-interest-boun...@caucho.com 
[mailto:resin-interest-boun...@caucho.com] On Behalf Of Peter Amiri
Sent: Monday, March 08, 2010 4:22 PM
To: General Discussion for the Resin application server
Subject: [Resin-interest] User resin runs as

Is there a way to modify the user that Resin runs at per virtual host? I know 
that we can overwrite the User setting in resin.conf to make the server run as 
some other user than root, but what I want to know is if there is a way to 
specify the user setting within each virtual host entry.

Here is my problem, I have Resin integrated into a cPanel server. Whenever a 
new account is setup in cPanel we automatically create config files that 
configures Resin for the account. The issue is when new files or directories 
are created within code. If someone creates a new directory in their home 
directory via code the directory is create with the 644 as the attributes and 
root:root as the owner. When this happens the user can't access the new file or 
directory via their FTP account because they don't have permissions. Every time 
this happens then need to open a ticket to have us modify the permissions of 
the file or directory so they can access it. I've tried to explain that they 
could access it via code but most of the time that goes over peoples heads.

So my issue is that Resin is running as root and creating files as root in a 
users home directory. Is there any settings in the config files that I may not 
be aware of that may help with this scenario?

--
Peter Amiri
Founder | Alurium Hosting
949-338-3862 | pe...@alurium.com | http://www.alurium.com
LinkedIn: http://www.linkedin.com/in/peteramiri | IM bpamiri 
(AIM/MSN/Y!/GTLK/SKYPE)





___
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] 4.0.2 schedule

2009-10-12 Thread Jamison Novak
Scott,

Any possibility of getting a snapshot ahead of the end of October, or is that 
an impossibility due to regressions, etc?

The main reason I ask is because we'd love to do further testing of the 4.0 
line in our QA environment, but the previously-resolved bug (3673) causes one 
of our sites to break and prevents us from moving to that version for testing. 
That, to my knowledge, is the only thing preventing us from upgrading.

Just thought I'd ask.

-Jamie


-Original Message-
From: resin-interest-boun...@caucho.com 
[mailto:resin-interest-boun...@caucho.com] On Behalf Of Scott Ferguson
Sent: Monday, October 12, 2009 11:06 AM
To: General Discussion for the Resin application server
Subject: [Resin-interest] 4.0.2 schedule

FYI, we're taking extra time on 4.0.2 to bring it up from a development release 
to a stable release.  That process is taking several weeks of extra work. Our 
current target is the end of October, but that may slip if 4.0.2 is not ready 
by then.

-- Scott



___
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] WordPress and Resin 4.0.1

2009-08-03 Thread Jamison Novak
Greetings,

I was wondering if anybody had gotten WordPress and Resin Pro 4.0.1 working 
together. I'm most of the way there, but there's apparently one piece missing.

The installation went fine. I can do a direct MySQL import of an existing blog 
into the database and all of the content is displayed and browsable, but I 
can't actually log in to wp-admin. It accepts my username and password, the 
page flashes for a sec, and I'm back to an empty login form with no error.

For reference, this is my super basic Resin config for it:

  cluster id=styleguide
root-directory./root-directory

server id=styleguide address=127.0.0.1 port=6902
  http address=172.27.162.53 port=8092/
/server

database
  jndi-namejdbc/wordpress/jndi-name
  driver type=org.gjt.mm.mysql.Driver
urljdbc:mysql://localhost:3306/styleguide?autoReconnect=true/url
useruser/user
passwordpass/password
  /driver
  prepared-statement-cache-size8/prepared-statement-cache-size
  max-connections20/max-connections
  max-idle-time30s/max-idle-time
/database

host id=styleguide root-directory=/usr/local/www
  host-aliasstyleguide/host-alias
  web-app id=/ root-directory=styleguide/
 /host
  /cluster

Am I missing something obvious? 

-Jamie

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