Search the web
Sign In
New User? Sign Up
jrun-interest · Java Servlet engine
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 16216 - 16245 of 16245   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries   (Group by Topic) Sort by Date ^  
#16216 From: "John Zhao" <jzhao@...>
Date: Thu Jun 16, 2005 2:08 pm
Subject: RE: many jrunx.scheduler.JSemaphore threads in wait state
jzhao@...
Send Email Send Email
 
You have set 25 minHandlerThreads and 25 activeHandlerThreads.  I don't
think this is a good idea.  Reduce min to 1 and you may increase
activeHanlder to a higher number depending on the load requirement.

-----Original Message-----
From: Kari M. Scott [mailto:kari.scott@...]
Sent: Thursday, June 16, 2005 9:44 AM
To: JRun-Talk
Subject: RE: many jrunx.scheduler.JSemaphore threads in wait state

On Wed, 2005-06-15 at 22:14, John Zhao wrote:
> It has nothing to do with the scheduler service.  You should post
> ProxyService config instead.  What is the metrics format like?

Okidoki. Here's what we have for our proxy service config:

  <service class="jrun.servlet.jrpp.JRunProxyService"
name="ProxyService">
     <attribute name="activeHandlerThreads">25</attribute>
     <attribute name="backlog">500</attribute>
     <attribute name="deactivated">false</attribute>
     <attribute name="interface">*</attribute>
     <attribute name="maxHandlerThreads">1000</attribute>
     <attribute name="minHandlerThreads">25</attribute>
     <attribute name="port">9000</attribute>
     <attribute name="threadWaitTimeout">300</attribute>
     <attribute name="timeout">300</attribute>
     <attribute name="mapCheck">0</attribute>
</service>

And, here's our metrics format:

       <attribute name="metricsFormat">Thrds: L={jrpp.listenTh}
I={jrpp.idleTh} Q={jrpp.delayTh} R={jrpp.busyTh} TOT={jrpp.totalTh}; Rq:
Q={jrpp.delayRq} X={jrpp.droppedRq} S={jrpp.handledRq}; Shd:
L={scheduler.listenTh} Q={scheduler.delayTh} R={scheduler.busyTh}
X={scheduler.droppedRq} TOT={scheduler.totalTh};
(Free/Tot)={freeMemory}/{totalMemory}; Sess:
(InMem/Tot)={sessionsInMem}/{sessions}</attribute>

> Also you should reduce the minThreadHandle to 1 since it doesn't do
any good for you.

Will do.

-Kari

> Here's a snapshot of the metrics log during the last occurrence.
Notice the jump in idle threads from 32 to 140:
>
> 06/15 14:00:25 metrics Thrds: L=25 I=32 Q=0 R=3 TOT=60; Rq: Q=0 X=0
S=314; Shd: L=23 Q=0 R=1 X=0 TOT=24; (Free/Tot)=579626/1572672; Sess:
(InMem/Tot)=868/868
> 06/15 14:01:25 metrics Thrds: L=41 I=140 Q=0 R=0 TOT=181; Rq: Q=0 X=0
S=278; Shd: L=23 Q=0 R=1 X=0 TOT=24; (Free/Tot)=565261/1572672;
Sess:(InMem/Tot)=867/867

> I took a series of thread dumps during this occurrence and found that
the majority of these threads are these JSemaphore things in a wait
state:
>
> "jrpp-4220" prio=5 tid=0x009cd008 nid=0xabf5 in Object.wait()
> [7c67f000..7c67fc28]
>         at java.lang.Object.wait(Native Method)
>         - waiting on <0xa22547d0> (a jrunx.scheduler.JSemaphore)
>         at jrunx.scheduler.JSemaphore.acquire(JSemaphore.java:74)
>         - locked <0xa22547d0> (a jrunx.scheduler.JSemaphore)
>
> Does anyone know what would cause a backup of these threads?






--
--------------------------------------------------
Kari M. Scott                   kmscott@...
Software Engineer               608 298-1223
Berbee
5520 Research Park Drive
Madison, WI 53711





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5700
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16217 From: Douglas Knudsen <douglasknudsen@...>
Date: Wed Jul 6, 2005 4:26 pm
Subject: security in JRun
douglasknudsen@...
Send Email Send Email
 
Does anyone actually use the J2EE security features in JRun...roles and
users etc?? I am trying to find info on using the LDAP plugin that comes
with JRun4. Anyone successfully use it?

--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5702
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16218 From: Robert Walters <rwalters@...>
Date: Wed Jul 6, 2005 5:02 pm
Subject: Tweaking Jrun
rwalters@...
Send Email Send Email
 
Hello,

Are there any guides anywhere that will help me tweak our Jrun Server on
Windows 2003?  It seems still to run at 99% of CPU at different times
even though the websites on it are very barely used.  Like 1 user at a
time on average.

Thanks......Rob

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase RoboHelp from House of Fusion, a Macromedia Authorized Affiliate and
support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=59

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5703
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16219 From: "Stephen Dupre" <sdupre@...>
Date: Wed Jul 6, 2005 5:08 pm
Subject: RE: Tweaking Jrun
sdupre@...
Send Email Send Email
 
Get a stack trace while it's stuck to see what's really going on.

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18362

Stephen Dupre
Macromedia QA

-----Original Message-----
From: Robert Walters [mailto:rwalters@...]
Sent: Wednesday, July 06, 2005 1:02 PM
To: JRun-Talk
Subject: Tweaking Jrun


Hello,

Are there any guides anywhere that will help me tweak our Jrun Server on
Windows 2003?  It seems still to run at 99% of CPU at different times
even though the websites on it are very barely used.  Like 1 user at a
time on average.

Thanks......Rob



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
  Save $10 Download ZoneAlarm Security Suite
http://www.houseoffusion.com/banners/view.cfm?bannerid=66

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5704
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16220 From: "Gaulin, Mark" <mgaulin@...>
Date: Wed Jul 6, 2005 9:43 pm
Subject: RE: Tweaking Jrun
mgaulin@...
Send Email Send Email
 
Is there any way to do this on CFMX v6.1 (standalone)?  We have a
persistent pain in the butt problem with jrun going to 100% cpu and
haven't figured out a way to get a look inside it.
Thanks
	 Mark

-----Original Message-----
From: Stephen Dupre [mailto:sdupre@...]
Sent: Wednesday, July 06, 2005 1:08 PM
To: JRun-Talk
Subject: RE: Tweaking Jrun

Get a stack trace while it's stuck to see what's really going on.

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18362

Stephen Dupre
Macromedia QA

-----Original Message-----
From: Robert Walters [mailto:rwalters@...]
Sent: Wednesday, July 06, 2005 1:02 PM
To: JRun-Talk
Subject: Tweaking Jrun


Hello,

Are there any guides anywhere that will help me tweak our Jrun Server on
Windows 2003?  It seems still to run at 99% of CPU at different times
even though the websites on it are very barely used.  Like 1 user at a
time on average.

Thanks......Rob





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5705
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16221 From: "Drew Falkman" <drew@...>
Date: Wed Jul 6, 2005 11:58 pm
Subject: RE: Tweaking Jrun
drew@...
Send Email Send Email
 
Mark-

The problem with the "server tweak" method is that in many ways it is
usually something at code level that is causing the problem. This is
especially the case with CFMX.

I would first recommend logging templates that take over a couple seconds to
load (you can do this in the CF Admin), look at your database connections -
are there a lot, etc.

Once you are sure that this is not a code issue, make sure you have as much
RAM as you can installed on your CF box.

Then tune CF:
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17054

Then if you still have issues, you can look at JRun. But I strongly suspect
that this will be resolved by the time you get to this point...

Good luck.

Drew Falkman
Team Macromedia

-----Original Message-----
From: Gaulin, Mark [mailto:mgaulin@...]
Sent: Wednesday, July 06, 2005 2:43 PM
To: JRun-Talk
Subject: RE: Tweaking Jrun

Is there any way to do this on CFMX v6.1 (standalone)?  We have a
persistent pain in the butt problem with jrun going to 100% cpu and
haven't figured out a way to get a look inside it.
Thanks
	 Mark

-----Original Message-----
From: Stephen Dupre [mailto:sdupre@...]
Sent: Wednesday, July 06, 2005 1:08 PM
To: JRun-Talk
Subject: RE: Tweaking Jrun

Get a stack trace while it's stuck to see what's really going on.

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18362

Stephen Dupre
Macromedia QA

-----Original Message-----
From: Robert Walters [mailto:rwalters@...]
Sent: Wednesday, July 06, 2005 1:02 PM
To: JRun-Talk
Subject: Tweaking Jrun


Hello,

Are there any guides anywhere that will help me tweak our Jrun Server on
Windows 2003?  It seems still to run at 99% of CPU at different times
even though the websites on it are very barely used.  Like 1 user at a
time on average.

Thanks......Rob







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Stay Ahead of Hackers - Download ZoneAlarm Pro
http://www.houseoffusion.com/banners/view.cfm?bannerid=65

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5706
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16222 From: Chris Boyce <chris.boyce@...>
Date: Mon Jul 11, 2005 7:00 pm
Subject: Javac or jikesw with JDK 1.5?
chris.boyce@...
Send Email Send Email
 
There was a bug (ID 55419) that is showing as "resolved" for Updater 5.
It stated as a workaround, to remove jikesw from the bin directory and
use javac instead.  Should we continue to use javac under Updater 5 (and
beyond)?

I noticed - after a JRun restart - that javac was running on our server
(running JDK 1.5, JRun Updater 5) and was using quite a lot of CPU time.
Is this normal?

thanks

--
Chris Boyce
www.berbee.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5707
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16223 From: jaustin@... (Jon Austin)
Date: Mon Jul 11, 2005 7:22 pm
Subject: RE: Javac or jikesw with JDK 1.5?
jaustin@...
Send Email Send Email
 
I recently build a server during which I went from the base JRUN install, to
Updater 5, running under JRE 1.5.

It took me almost a day to finally figure out I needed to remove jikesw, as
per that workaround, even though Updater pack 5 is "supposed" to be 1.5
compatible.

~ Jon

> -----Original Message-----
> From: Chris Boyce [mailto:chris.boyce@...]
> Sent: Monday, July 11, 2005 3:01 PM
> To: JRun-Talk
> Subject: Javac or jikesw with JDK 1.5?
>
>
> There was a bug (ID 55419) that is showing as "resolved" for Updater 5.
> It stated as a workaround, to remove jikesw from the bin directory and
> use javac instead.  Should we continue to use javac under Updater 5 (and
> beyond)?
>
> I noticed - after a JRun restart - that javac was running on our server
> (running JDK 1.5, JRun Updater 5) and was using quite a lot of CPU time.
> Is this normal?
>
> thanks
>
> --
> Chris Boyce
> www.berbee.com
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Protect Your PC from viruses, hackers, spam and more. Buy PC-cillin with Easy
Installation & Support
http://www.houseoffusion.com/banners/view.cfm?bannerid=61

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5708
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16224 From: Robert Walters <rwalters@...>
Date: Mon Jul 18, 2005 9:40 pm
Subject: Jrun 99%
rwalters@...
Send Email Send Email
 
So I am still battling with jrun.exe hitting 99% of my server CPU on a
regular basis.  I followed MACR, SARGE, and Forta's book and tweaked
this thing for weeks.  All our apps are low key and cache results so
that it takes down CF overhead.  But every hour or so it still hits
99%.  We tweaked CF admin and the jrun config file.

Does anyone have working settings for Windows 2003 with IIS 6?  We
cannot figure it out.

The real funny thing is that our server has an average of under 1 user
at a time.  Talking about a low load server that doesn't work.  What
happens when the site starts really getting used?  Do we have to switch
to ASP or PHP?

Thanks....Rob Walters

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Stay Ahead of Hackers - Download ZoneAlarm Pro
http://www.houseoffusion.com/banners/view.cfm?bannerid=65

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5709
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16225 From: Robert Walters <rwalters@...>
Date: Mon Jul 18, 2005 9:43 pm
Subject: jrunkill.exe
rwalters@...
Send Email Send Email
 
So as I battle with my jrun server hitting 99%, I need to go on vacation
and have no one to really watch this thing.

I noticed there is a file called jrunkill.exe that stops jrun/CFMX7

Is that all it does?

  I figure while I am away I will just set up a scheduled task to run
this jrunkill.exe file hourly and then Windows will just restart it as a
service.  Cruddy way to do it but I need to make sure the server does
not crash.  This way the 99% CPU usage goes away for a while.

Thanks......Rob

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase Captivate from House of Fusion, a Macromedia Authorized Affiliate and
support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=52

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5710
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16226 From: "Stephen Dupre" <sdupre@...>
Date: Tue Jul 19, 2005 12:07 am
Subject: RE: Jrun 99%
sdupre@...
Send Email Send Email
 
"About every hour or so" sounds suspicious and familiar.   Are you using 6.1 or
7.0?

Do you run any scheduled tasks on the hour?    Does it go down or stay at 99%
until you reboot?

We have ONE administrative scheduled tasks that CF does.... client variables. 
If you have them in the registry and you have > 10,000 of them, the processing
of "expiring" 90 day old clients through the registry is CPU intensive.

If you could get a stack trace (technote 18339 -
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18339) we could
at least see what's going on during the 99%.

You have to start JRun from the command line.

jrun -start default (6.1)
jrun -start cfusion or coldfusion (7.0 - depending on edition).

When you see it start to spike, set focus to the DOS Window (click the title bar
a few times and hit <NL>) and hit Control+(Pause/Break) (not control-C which
everyone does by instinct - that kills JRun).

If you can get me a stack trace during the 99% CPU (it will be difficult so have
your cursor over the Window and FOCUS on the DOS window ready to go.

Stephen Dupre
Macromedia QA

________________________________

From: Robert Walters [mailto:rwalters@...]
Sent: Mon 7/18/2005 5:40 PM
To: JRun-Talk
Subject: Jrun 99%



So I am still battling with jrun.exe hitting 99% of my server CPU on a
regular basis.  I followed MACR, SARGE, and Forta's book and tweaked
this thing for weeks.  All our apps are low key and cache results so
that it takes down CF overhead.  But every hour or so it still hits
99%.  We tweaked CF admin and the jrun config file.

Does anyone have working settings for Windows 2003 with IIS 6?  We
cannot figure it out.

The real funny thing is that our server has an average of under 1 user
at a time.  Talking about a low load server that doesn't work.  What
happens when the site starts really getting used?  Do we have to switch
to ASP or PHP?

Thanks....Rob Walters



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5711
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16227 From: Robert Walters <rwalters@...>
Date: Tue Jul 19, 2005 1:41 am
Subject: Re: JRun-Talk: Digest every hour
rwalters@...
Send Email Send Email
 
Stephen,

Ok so I didn't get the stack trace but it was doing the client purge
when it drove it to 99%:

07/18 20:40:24 Information [scheduler-3] - Run Client Storage Purge

Any ideas?  It is storing the client sessions in the registry right now.

Thanks....Rob

>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5713
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16228 From: Robert Walters <rwalters@...>
Date: Tue Jul 19, 2005 1:28 am
Subject: Re: JRun-Talk: Digest every hour
rwalters@...
Send Email Send Email
 
7.0
No scheduled tasks.  Variables are set in Cf admin to write to
registry.  It goes to 99% and stays there until I stop/start CF/Jrun
from what I can tell.

Working on Stack trace.  Yo uare also helping me onthe CF list as well.
I posted to both places.

Thanks....Rob

JRun-Talk wrote:

>JRun-Talk          18-Jul-05             Issue:87
>In this issue:
>     Jrun 99%
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase Captivate from House of Fusion, a Macromedia Authorized Affiliate and
support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=52

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5712
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16229 From: "Stephen Dupre" <sdupre@...>
Date: Tue Jul 19, 2005 12:11 pm
Subject: RE: Jrun 99%
sdupre@...
Send Email Send Email
 
>> if you change the service to "interact with desktop"  <<
Very good point.  I run my servers this way.  The other benefit is it's still a
service so if the problem takes JRun down, the jrunsvc.exe will restart the
service - something that doesn't happen when you run command line.

Actually stack traces are a poor (though necessary) tool from the CF developer
standpoint.   It's not the information, it's the *presentation* that is lacking.
And, who wants to have to be around at 3:00AM just to get a stack trace when a
particular hiccup happens?

The idea of CF MX is to hide java from the typical developer/user.   Stack
traces by their very nature are snap shots.
A real-time utility to show all templates running - where you can drill down to
WHICH LINE a slow or hanging template spends it's time  - plus any system events
- would be far more useful for users that are debugging typical problems.

This type of debug utility is on the wish list for the next major version of CF
and I hope it gets in.

Stephen Dupre
Macromedia QA

________________________________

From: Gaulin, Mark [mailto:mgaulin@...]
Sent: Tue 7/19/2005 7:28 AM
To: JRun-Talk
Subject: RE: Jrun 99%



I highly recommend this approach... I used it last week to figure out a problem
I *never* would have found on my own.  One thing: For 6.1 at least, you don't
have to run jrun from the command linel; if you change the service to "interact
with desktop" and restart it, it will open a command window and you can
ctrl-break in it to create the dumps, which go the one of the jrun log files. 
You need to be able to connect to the machine's desktop to use this approach
though.
Good luck.
   Mark

________________________________

From: Stephen Dupre [mailto:sdupre@...]
Sent: Mon 7/18/2005 8:07 PM
To: JRun-Talk
Subject: RE: Jrun 99%



"About every hour or so" sounds suspicious and familiar.   Are you using 6.1 or
7.0?

Do you run any scheduled tasks on the hour?    Does it go down or stay at 99%
until you reboot?

We have ONE administrative scheduled tasks that CF does.... client variables. 
If you have them in the registry and you have > 10,000 of them, the processing
of "expiring" 90 day old clients through the registry is CPU intensive.

If you could get a stack trace (technote 18339 -
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18339) we could
at least see what's going on during the 99%.

You have to start JRun from the command line.

jrun -start default (6.1)
jrun -start cfusion or coldfusion (7.0 - depending on edition).

When you see it start to spike, set focus to the DOS Window (click the title bar
a few times and hit <NL>) and hit Control+(Pause/Break) (not control-C which
everyone does by instinct - that kills JRun).

If you can get me a stack trace during the 99% CPU (it will be difficult so have
your cursor over the Window and FOCUS on the DOS window ready to go.

Stephen Dupre
Macromedia QA

________________________________

From: Robert Walters [mailto:rwalters@...]
Sent: Mon 7/18/2005 5:40 PM
To: JRun-Talk
Subject: Jrun 99%



So I am still battling with jrun.exe hitting 99% of my server CPU on a
regular basis.  I followed MACR, SARGE, and Forta's book and tweaked
this thing for weeks.  All our apps are low key and cache results so
that it takes down CF overhead.  But every hour or so it still hits
99%.  We tweaked CF admin and the jrun config file.

Does anyone have working settings for Windows 2003 with IIS 6?  We
cannot figure it out.

The real funny thing is that our server has an average of under 1 user
at a time.  Talking about a low load server that doesn't work.  What
happens when the site starts really getting used?  Do we have to switch
to ASP or PHP?

Thanks....Rob Walters







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how to get a fax number that sends and receives faxes using your
current email address
http://www.houseoffusion.com/banners/view.cfm?bannerid=64

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5715
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16230 From: Douglas Knudsen <douglasknudsen@...>
Date: Tue Jul 19, 2005 12:24 pm
Subject: RE: JRun tool (was Re: Jrun 99%)
douglasknudsen@...
Send Email Send Email
 
Stephen, this type of tool would be UBER USEFULL!!!!! Where can we vote on
it? Please make sure it works in a JRun cluster too, eh? Currently we can't
get any stats from the logging facilities in JRun when clustering instances.
  Wow, this is the first I've heard mention of this.
  DK

  On 7/19/05, Stephen Dupre <sdupre@...> wrote:
>
> >> if you change the service to "interact with desktop" <<
> Very good point. I run my servers this way. The other benefit is it's
> still a service so if the problem takes JRun down, the jrunsvc.exe will
> restart the service - something that doesn't happen when you run command
> line.
>
> Actually stack traces are a poor (though necessary) tool from the CF
> developer standpoint. It's not the information, it's the *presentation* that
> is lacking. And, who wants to have to be around at 3:00AM just to get a
> stack trace when a particular hiccup happens?
>
> The idea of CF MX is to hide java from the typical developer/user. Stack
> traces by their very nature are snap shots.
> A real-time utility to show all templates running - where you can drill
> down to WHICH LINE a slow or hanging template spends it's time - plus any
> system events - would be far more useful for users that are debugging
> typical problems.
>
> This type of debug utility is on the wish list for the next major version
> of CF and I hope it gets in.
>
> Stephen Dupre
> Macromedia QA
>
> ________________________________
>
> From: Gaulin, Mark [mailto:mgaulin@...]
> Sent: Tue 7/19/2005 7:28 AM
> To: JRun-Talk
> Subject: RE: Jrun 99%
>
>
>
> I highly recommend this approach... I used it last week to figure out a
> problem I *never* would have found on my own. One thing: For 6.1 at least,
> you don't have to run jrun from the command linel; if you change the service
> to "interact with desktop" and restart it, it will open a command window and
> you can ctrl-break in it to create the dumps, which go the one of the jrun
> log files. You need to be able to connect to the machine's desktop to use
> this approach though.
> Good luck.
> Mark
>
> ________________________________
>
> From: Stephen Dupre [mailto:sdupre@...]
> Sent: Mon 7/18/2005 8:07 PM
> To: JRun-Talk
> Subject: RE: Jrun 99%
>
>
>
> "About every hour or so" sounds suspicious and familiar. Are you using 6.1or
> 7.0?
>
> Do you run any scheduled tasks on the hour? Does it go down or stay at 99%
> until you reboot?
>
> We have ONE administrative scheduled tasks that CF does.... client
> variables. If you have them in the registry and you have > 10,000 of them,
> the processing of "expiring" 90 day old clients through the registry is CPU
> intensive.
>
> If you could get a stack trace (technote 18339 -
> http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18339) we
> could at least see what's going on during the 99%.
>
> You have to start JRun from the command line.
>
> jrun -start default (6.1)
> jrun -start cfusion or coldfusion (7.0 - depending on edition).
>
> When you see it start to spike, set focus to the DOS Window (click the
> title bar a few times and hit <NL>) and hit Control+(Pause/Break) (not
> control-C which everyone does by instinct - that kills JRun).
>
> If you can get me a stack trace during the 99% CPU (it will be difficult
> so have your cursor over the Window and FOCUS on the DOS window ready to go.
>
> Stephen Dupre
> Macromedia QA
>
> ________________________________
>
> From: Robert Walters [mailto:rwalters@...]
> Sent: Mon 7/18/2005 5:40 PM
> To: JRun-Talk
> Subject: Jrun 99%
>
>
>
> So I am still battling with jrun.exe hitting 99% of my server CPU on a
> regular basis. I followed MACR, SARGE, and Forta's book and tweaked
> this thing for weeks. All our apps are low key and cache results so
> that it takes down CF overhead. But every hour or so it still hits
> 99%. We tweaked CF admin and the jrun config file.
>
> Does anyone have working settings for Windows 2003 with IIS 6? We
> cannot figure it out.
>
> The real funny thing is that our server has an average of under 1 user
> at a time. Talking about a low load server that doesn't work. What
> happens when the site starts really getting used? Do we have to switch
> to ASP or PHP?
>
> Thanks....Rob Walters
>
>
>
>
>
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Protect your mail server with built in anti-virus protection. It's not only good
for you, it's good for everybody.
http://www.houseoffusion.com/banners/view.cfm?bannerid=39

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5716
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16231 From: Douglas Knudsen <douglasknudsen@...>
Date: Tue Jul 19, 2005 12:27 pm
Subject: Re: security in JRun
douglasknudsen@...
Send Email Send Email
 
ok, after some digging I figured this out. Kewl stuff. Issue I had was that
my company did not standardise on using a login userid that exists in the DN
in LDAP. Thus we have to make two passes to LDAP to auth, one pass to get
the DN, second pass to auth with it. So I wrote a custome JAAS plugin for
JRun to handle this. Pretty swell.
  ...now to figure out how to get a Flex app working with this
  DK

  On 7/6/05, Douglas Knudsen <douglasknudsen@...> wrote:
>
> Does anyone actually use the J2EE security features in JRun...roles and
> users etc?? I am trying to find info on using the LDAP plugin that comes
> with JRun4. Anyone successfully use it?
>
> --
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?




--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5717
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16232 From: "Gaulin, Mark" <mgaulin@...>
Date: Tue Jul 19, 2005 11:28 am
Subject: RE: Jrun 99%
mgaulin@...
Send Email Send Email
 
I highly recommend this approach... I used it last week to figure out a problem
I *never* would have found on my own.  One thing: For 6.1 at least, you don't
have to run jrun from the command linel; if you change the service to "interact
with desktop" and restart it, it will open a command window and you can
ctrl-break in it to create the dumps, which go the one of the jrun log files. 
You need to be able to connect to the machine's desktop to use this approach
though.
Good luck.
   Mark

________________________________

From: Stephen Dupre [mailto:sdupre@...]
Sent: Mon 7/18/2005 8:07 PM
To: JRun-Talk
Subject: RE: Jrun 99%



"About every hour or so" sounds suspicious and familiar.   Are you using 6.1 or
7.0?

Do you run any scheduled tasks on the hour?    Does it go down or stay at 99%
until you reboot?

We have ONE administrative scheduled tasks that CF does.... client variables. 
If you have them in the registry and you have > 10,000 of them, the processing
of "expiring" 90 day old clients through the registry is CPU intensive.

If you could get a stack trace (technote 18339 -
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18339) we could
at least see what's going on during the 99%.

You have to start JRun from the command line.

jrun -start default (6.1)
jrun -start cfusion or coldfusion (7.0 - depending on edition).

When you see it start to spike, set focus to the DOS Window (click the title bar
a few times and hit <NL>) and hit Control+(Pause/Break) (not control-C which
everyone does by instinct - that kills JRun).

If you can get me a stack trace during the 99% CPU (it will be difficult so have
your cursor over the Window and FOCUS on the DOS window ready to go.

Stephen Dupre
Macromedia QA

________________________________

From: Robert Walters [mailto:rwalters@...]
Sent: Mon 7/18/2005 5:40 PM
To: JRun-Talk
Subject: Jrun 99%



So I am still battling with jrun.exe hitting 99% of my server CPU on a
regular basis.  I followed MACR, SARGE, and Forta's book and tweaked
this thing for weeks.  All our apps are low key and cache results so
that it takes down CF overhead.  But every hour or so it still hits
99%.  We tweaked CF admin and the jrun config file.

Does anyone have working settings for Windows 2003 with IIS 6?  We
cannot figure it out.

The real funny thing is that our server has an average of under 1 user
at a time.  Talking about a low load server that doesn't work.  What
happens when the site starts really getting used?  Do we have to switch
to ASP or PHP?

Thanks....Rob Walters





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5714
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16233 From: "Gaulin, Mark" <mgaulin@...>
Date: Tue Jul 19, 2005 4:23 pm
Subject: RE: Jrun 99%
mgaulin@...
Send Email Send Email
 
Actually in my case I wanted the java point of view, since it was java classes
(3rd party, as it turned out) that were causing my problem.  You are right about
having to be there to generate a stack trace... it would be nice to be able to
communicate with the jvm to get it do that kind of thing via a script or
external trigger.
Mark

________________________________

From: Stephen Dupre [mailto:sdupre@...]
Sent: Tue 7/19/2005 8:11 AM
To: JRun-Talk
Subject: RE: Jrun 99%



>> if you change the service to "interact with desktop"  <<
Very good point.  I run my servers this way.  The other benefit is it's still a
service so if the problem takes JRun down, the jrunsvc.exe will restart the
service - something that doesn't happen when you run command line.

Actually stack traces are a poor (though necessary) tool from the CF developer
standpoint.   It's not the information, it's the *presentation* that is lacking.
And, who wants to have to be around at 3:00AM just to get a stack trace when a
particular hiccup happens?

The idea of CF MX is to hide java from the typical developer/user.   Stack
traces by their very nature are snap shots.
A real-time utility to show all templates running - where you can drill down to
WHICH LINE a slow or hanging template spends it's time  - plus any system events
- would be far more useful for users that are debugging typical problems.

This type of debug utility is on the wish list for the next major version of CF
and I hope it gets in.

Stephen Dupre
Macromedia QA

________________________________

From: Gaulin, Mark [mailto:mgaulin@...]
Sent: Tue 7/19/2005 7:28 AM
To: JRun-Talk
Subject: RE: Jrun 99%



I highly recommend this approach... I used it last week to figure out a problem
I *never* would have found on my own.  One thing: For 6.1 at least, you don't
have to run jrun from the command linel; if you change the service to "interact
with desktop" and restart it, it will open a command window and you can
ctrl-break in it to create the dumps, which go the one of the jrun log files. 
You need to be able to connect to the machine's desktop to use this approach
though.
Good luck.
   Mark

________________________________

From: Stephen Dupre [mailto:sdupre@...]
Sent: Mon 7/18/2005 8:07 PM
To: JRun-Talk
Subject: RE: Jrun 99%



"About every hour or so" sounds suspicious and familiar.   Are you using 6.1 or
7.0?

Do you run any scheduled tasks on the hour?    Does it go down or stay at 99%
until you reboot?

We have ONE administrative scheduled tasks that CF does.... client variables. 
If you have them in the registry and you have > 10,000 of them, the processing
of "expiring" 90 day old clients through the registry is CPU intensive.

If you could get a stack trace (technote 18339 -
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18339) we could
at least see what's going on during the 99%.

You have to start JRun from the command line.

jrun -start default (6.1)
jrun -start cfusion or coldfusion (7.0 - depending on edition).

When you see it start to spike, set focus to the DOS Window (click the title bar
a few times and hit <NL>) and hit Control+(Pause/Break) (not control-C which
everyone does by instinct - that kills JRun).

If you can get me a stack trace during the 99% CPU (it will be difficult so have
your cursor over the Window and FOCUS on the DOS window ready to go.

Stephen Dupre
Macromedia QA

________________________________

From: Robert Walters [mailto:rwalters@...]
Sent: Mon 7/18/2005 5:40 PM
To: JRun-Talk
Subject: Jrun 99%



So I am still battling with jrun.exe hitting 99% of my server CPU on a
regular basis.  I followed MACR, SARGE, and Forta's book and tweaked
this thing for weeks.  All our apps are low key and cache results so
that it takes down CF overhead.  But every hour or so it still hits
99%.  We tweaked CF admin and the jrun config file.

Does anyone have working settings for Windows 2003 with IIS 6?  We
cannot figure it out.

The real funny thing is that our server has an average of under 1 user
at a time.  Talking about a low load server that doesn't work.  What
happens when the site starts really getting used?  Do we have to switch
to ASP or PHP?

Thanks....Rob Walters









~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5718
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16234 From: Chris Boyce <chris.boyce@...>
Date: Wed Jul 27, 2005 4:57 pm
Subject: JRun server limit?
chris.boyce@...
Send Email Send Email
 
In theory, is the number of JRun instances running on a single machine
limited only by the memory of the machine?  Since each JRun server
instance forks its own Java VM, are we limited only by the number of
JVMs (depending on their heap size of course)?

I have one test server that seems to give us jikesw compile errors as
soon as we fire up a sixth JRun server, even though there is plenty of
memory available on the machine.  So far it only seems to happen on this
one server, but was enough of a concern to post this.

To save resources, is it common to run multiple virtual hosts under one
JRun instance?


thanks for any insight...

--
Chris Boyce
Berbee



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5719
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16235 From: UserManager@...
Date: Thu Jul 28, 2005 3:36 pm
Subject: Your user information
UserManager@...
Send Email Send Email
 
#16236 From: UserManager@...
Date: Thu Jul 28, 2005 3:36 pm
Subject: Your user information
UserManager@...
Send Email Send Email
 
#16237 From: UserManager@...
Date: Thu Jul 28, 2005 3:36 pm
Subject: Your user information
UserManager@...
Send Email Send Email
 
#16238 From: UserManager@...
Date: Thu Jul 28, 2005 3:36 pm
Subject: Your user information
UserManager@...
Send Email Send Email
 
#16239 From: felucca@...
Date: Tue Aug 30, 2005 5:05 am
Subject: Re: Its me
felucca@...
Send Email Send Email
 
I have attached your file. Your password is jkl44563.

#16240 From: Alex DeMarco <Alex.DeMarco@...>
Date: Tue Aug 30, 2005 5:04 pm
Subject: Jrun Cluster question
Alex.DeMarco@...
Send Email Send Email
 
If anyone can help me on this it would be greatly appreciated.

I have created a Jrun 4 cluster with 2 instances.

I am trying to deply CFMX 7 to it. THis works fine, however the context for
ColdFusion is /Cfusion, I want it to be /.  In the single instance I can just go
into the Jrun admin and reploy it but in the cluster world it will not let
me....  How can I fix this?

thanks!

- ALex

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5720
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16241 From: Dave Watts <dwatts@...>
Date: Tue Aug 30, 2005 5:28 pm
Subject: RE: Jrun Cluster question
dwatts@...
Send Email Send Email
 
> If anyone can help me on this it would be greatly appreciated.
>
> I have created a Jrun 4 cluster with 2 instances.
>
> I am trying to deply CFMX 7 to it. THis works fine, however
> the context for ColdFusion is /Cfusion, I want it to be /.
> In the single instance I can just go into the Jrun admin and
> reploy it but in the cluster world it will not let me....
> How can I fix this?

I think that, to do this through the JRun Admin Console, you will need to
remove each instance from the cluster and make the changes, then recreate
the cluster. Alternatively, you may be able to do it by simply editing the
appropriate XML configuration file within each cluster member, then
restarting them all.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase Captivate from House of Fusion, a Macromedia Authorized Affiliate and
support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=52

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5721
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16242 From: Douglas Knudsen <douglasknudsen@...>
Date: Tue Aug 30, 2005 5:51 pm
Subject: Re: Jrun Cluster question
douglasknudsen@...
Send Email Send Email
 
yeah, did you create the EAR/WAR via the CFMX install?   IIRC, it
sometimes uses a context other then /  or maybe it uses a different
uri that hoses thigns up.  Either way I usually just tweak the XML
file for it...meta-inf/application.xml.

Curious, Doesn't CF7 have new admin features that give you the ability
to add CF servers into a cluster?

DK

On 8/30/05, Dave Watts <dwatts@...> wrote:
> > If anyone can help me on this it would be greatly appreciated.
> >
> > I have created a Jrun 4 cluster with 2 instances.
> >
> > I am trying to deply CFMX 7 to it. THis works fine, however
> > the context for ColdFusion is /Cfusion, I want it to be /.
> > In the single instance I can just go into the Jrun admin and
> > reploy it but in the cluster world it will not let me....
> > How can I fix this?
>
> I think that, to do this through the JRun Admin Console, you will need to
> remove each instance from the cluster and make the changes, then recreate
> the cluster. Alternatively, you may be able to do it by simply editing the
> appropriate XML configuration file within each cluster member, then
> restarting them all.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
This list and all House of Fusion resources hosted by CFHosting.com. The place
for dependable ColdFusion Hosting.
http://www.houseoffusion.com/banners/view.cfm?bannerid=11

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5722
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16243 From: "Big Mad Kev" <bigmadkev@...>
Date: Tue Aug 30, 2005 5:57 pm
Subject: Displaying CSS Files
bigmadkev@...
Send Email Send Email
 
How do I get CSS files to display using the Default JRUN Web Service on a CF
J2EE install.

If I request the file I get:

404

/mystyle.css


java.io.FileNotFoundException: /mystyle.css
at jrun.servlet.file.FileServlet.service(FileServlet.java:349)
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.http.WebService.invokeRunnable(WebService.java:172)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428
)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

My JRUN-WEB.XML file is set at as below:

  <session-config>
     <persistence-config>
       <active>false</active>
     </persistence-config>
     <replication-config>
       <active>true</active>
       <buddy-name>*</buddy-name>
     </replication-config>
   </session-config>
   <virtual-mapping>
     <resource-path>/</resource-path>
     <system-path>e:/Work/MyWebsite/wwwroot</system-path>
   </virtual-mapping>
   <virtual-mapping>
  	 <resource-path>/images</resource-path>
     <system-path>e:/Work/MyWebsite/wwwroot/images</system-path>
   </virtual-mapping>
   <virtual-mapping>
  	 <resource-path>/cfide</resource-path>

<system-path>e:/jrunservers/MyWebsite/cfusion-ear/cfusion-war/CFIDE</system-
path>
   </virtual-mapping>
   <context-root>/</context-root>
   <compile>false</compile>
   <reload>false</reload>
   <uri-character-encoding>UTF-8</uri-character-encoding>

The CSS is located at: e:/Work/MyWebsite/wwwroot/mystyle.css

It seems only CSS don't get picked up all the CFM / CFC's do

But I can get to:
E:\jrunservers\MyWebsite\cfusion-ear\cfusion-war\CFIDE\administrator\cfstyle
s.css

And this will display the CSS file.

Any Ideas Guys?

Cheers


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Flash for programmers - Flash MX Pro
http://www.houseoffusion.com/banners/view.cfm?bannerid=56

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5723
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16244 From: Dave Watts <dwatts@...>
Date: Tue Aug 30, 2005 6:08 pm
Subject: RE: Jrun Cluster question
dwatts@...
Send Email Send Email
 
> Curious, Doesn't CF7 have new admin features that give you
> the ability to add CF servers into a cluster?

Yes, it does. They seemed to work ok, the couple of times I've tried them.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5724
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

#16245 From: <sam_greenfield@...>
Date: Thu Oct 6, 2005 3:24 pm
Subject: Problems deploying struts application
sam_greenfield@...
Send Email Send Email
 
Hi,



I am having two small problems deploying a struts application. I haven't
tracked down the problem entirely, but I was wondering if anyone else
had seen these problems and had a quick fix. When I attempt to deploy my
application, I get two different exceptions in the error log.



The first error is "java.lang.NoClassDefFoundError:
org/apache/log4j/Layout". I am sure that I am using a different version
of Log4j than JRun uses. I looked on the JRun web site, and tried to put
the following in WEB-INF/jrun-web.xml:



<jrun-web-app>

     <load-system-classes-first>false</load-system-classes-first>

</jrun-web-app>



However, this did not appear to cause any differences. (I got this tip
from
http://www.macromedia.com/support/documentation/en/jrun/4/releasenotes_4
_updater6.html) The second error repeats four or five times:



10/05 19:23:37 error Exception parsing the TLD null : The tag function
on line 14 is not a valid TLD element

[2]jrun.jsp.compiler.JRunTagLibraryInfo$InvalidTLDElementException: The
tag function on line 14 is not a valid TLD element



I suspect this error is occurring because of problems with the struts
TLD files (i.e. struts-bean.tld, etc.). Has anyone else run into these
problems?



Thanks for your help; if I find the problem or the solution
independently, I'll be sure to post a followup.



I should note that the war file deploys without any problems on Tomcat
5.5.7.



Regards,

Sam Greenfield

Manager of System Development

Sports Illustrated



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Protect your mail server with built in anti-virus protection. It's not only good
for you, it's good for everybody.
http://www.houseoffusion.com/banners/view.cfm?bannerid=39

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5725
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=10594.9634.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Messages 16216 - 16245 of 16245   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help