Re: Interrogating JRun

2004-07-01 Thread Ben Groeneveld
Howard,

I think you can get at port info using the regular servlet API, but JRun 
provides for quite a bit of internal info using its JMX interface which 
you can review in the admin manual.  It is very cute with an HTML front 
end. 

Hope that helps, BenG.

[EMAIL PROTECTED] wrote:

> Hey,
>
> Does anyone know how to programmatically interrogate JRun for the list
> of defined servers and related information (ports, server status)
> without using the admin server? Basically, all the information
> available from the first screen of the admin server or the Java admin
> app. I am trying to write an rudimentary admin interface for OS X and
> it would be nice to tell the user what port the servers are on.
> Thanks.
>
>
> --
> Howard Fore, [EMAIL PROTECTED]
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




response.setHeader("connection: close") with IIS becomes Keep-Alive

2004-06-07 Thread Ben Groeneveld
In response to an HTTP POST I am performing a

response.setHeader("Connection", "close");

My JRun4 is configured with IIS.  I think this used to work, but perhaps 
something else has changed (did browsers always use Keep-Alive on 
POSTs?).  It is currently not working - for a couple months now, and IIS 
overrides this with a "Connection: Keep-Alive" - which is what the 
browser requests.  Browser (IE and NS) requests are coming into my 
server as POSTs, and their connections are staying open and not 
closing.  This creates a problem for my application in situations where 
IE or NS only want to have two concurrent socket connections open - I am 
using one of those two for a dedicated, persistent connection on a 
custom app. 

If I configure JRun to run using it's webservice and bypass IIS my app 
runs as designed.

I have used the sniffer program provided with JRun to verify that the 
setHeader() call is not working.

Help or pointers would be appreciated to make this call work with the 
JRun connector for IIS. 

Thanks, BenG.
--
Ben Groeneveld,
bgroeneveld [at] communicast [dot] com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Invalidating a session with Jrun SessionService

2004-05-18 Thread Ben Groeneveld
Nice when it works :)

BenG.

[EMAIL PROTECTED] wrote:

> > >Gavin, you might try "registering" each user's session reference in
> > an
> > >object accessible to the admin so that he/she can peruse and act on
> > them
> > >using session.invalidate().  Hope that helps, BenG.
> > >
> > >[EMAIL PROTECTED] wrote:
> > >
> > >>
> > Ben, Jeff,
> >
> > Thanks for the responses. I will try the approach of registering the
> > sessions with an object acessible by the admin.
>
> Ben, Jeff,
>
> Just FYI ...That worked. Thanks for the help.
> I'm still ironing out a couple of issues clustering issues with it. 
> For some reason if you update or invalidate another user's session the 
> changes do not get replicated to the buddy machine(s) in the cluster.
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Invalidating a session with Jrun SessionService

2004-05-13 Thread Ben Groeneveld
Gavin, you might try "registering" each user's session reference in an 
object accessible to the admin so that he/she can peruse and act on them 
using session.invalidate().  Hope that helps, BenG.

[EMAIL PROTECTED] wrote:

> session.invalidate(); only invalidates the client session.  The container
> assumes the sessionid is the same for that client only and the server will
> invalidate THAT client¹s session only...no other sessions will be touched.
>
> I think what this person is trying to do is have another client able 
> to see
> all active sessions on a certain application and invalidate them.  In 
> other
> words, the administrator can OEboot¹ someone off the application much 
> in the
> same way a chat room administrator can boot some one off a channel.
>
> With that said, I don¹t know the actual answer to this question, but just
> calling session.invalidate() isn¹t going to solve this person¹s problem.
>
> On 5/13/04 12:30 PM, "Ben Groeneveld" <[EMAIL PROTECTED]> wrote:
>
> > Gavin, I am not familiar with that approach.  As an alternative, you may
> > try session.invalidate() - I use it frequently.  Hope that helps, BenG.
> >
> > [EMAIL PROTECTED] wrote:
> >
> >> > I am trying to write a servlet that enables an administrator to
> >> > invalidate a user's session. I am using the SessionService class to
> >> > access the user's session. However I keep getting null pointer
> >> > exceptions on the relevant methods.
> >> >
> >> > I instantiated a SessionService object:
> >> > SessionService sessionSrvc = new SessionService();
> >> >
> >> > Then I tried invoking the following methods , all of which returned
> >> > null pointer exceptions:
> >> >
> >> > sessionSrvc.invalidateSession(SessionID);
> >> > HttpSession sessionToDelete = sessionSrvc.findSession(SessionID);
> >> > ArrayList sessionList = sessionSrvc.getSessions();
> >> >
> >> > Similar functionality was deprecated and removed from the java 
> api for
> >> > security reasons. Does anyone know if this has been disabled in the
> >> > jrun api? Alternatively, does anyone know of another way to disable a
> >> > particular user's session?
> >> >
> >> > Thanks for any help.
> >> >
> >> > Gavin
> >> >
> >
> >
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Invalidating a session with Jrun SessionService

2004-05-13 Thread Ben Groeneveld
Gavin, I am not familiar with that approach.  As an alternative, you may 
try session.invalidate() - I use it frequently.  Hope that helps, BenG.

[EMAIL PROTECTED] wrote:

> I am trying to write a servlet that enables an administrator to 
> invalidate a user's session. I am using the SessionService class to 
> access the user's session. However I keep getting null pointer 
> exceptions on the relevant methods.
>
> I instantiated a SessionService object:
> SessionService sessionSrvc = new SessionService();
>
> Then I tried invoking the following methods , all of which returned 
> null pointer exceptions:
>
> sessionSrvc.invalidateSession(SessionID);
> HttpSession sessionToDelete = sessionSrvc.findSession(SessionID);
> ArrayList sessionList = sessionSrvc.getSessions();
>
> Similar functionality was deprecated and removed from the java api for 
> security reasons. Does anyone know if this has been disabled in the 
> jrun api? Alternatively, does anyone know of another way to disable a 
> particular user's session?
>
> Thanks for any help.
>
> Gavin
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: JRUN Stability- reply 2

2004-04-14 Thread Ben Groeneveld
[EMAIL PROTECTED] wrote:

> Hi Ben,
>
>
> You have to admit we were in some unexplored territory with that hotfix
> patch.  (it's still being discussed).
>
>
> I don't think this applies to the general "server hung" issue Jon 
> originally
> posted which is best handled by some of the debugging techniques mentioned
> by others (stack trace, etc) without changing the environment (JVMs, 
> etc).  
>
>
> Your app is very unique.  It actually can have 750 concurrent,
> ACTIVE/RUNNING threads which doesn't resemble the typical web app of 10-20
> possible request threads with maybe 5-10 active at any one time and
> constantly changing.  I'm frankly amazed that you were able to tune it so
> well with JRun and find all those outer limitations of JVMs, etc that you
> mention.

Well of course that is the beauty of our profession - we are all writing 
unique apps.  I hope you didn't find this email on a negative note.  I 
am most appreciative of your help.  It's just the absense of a response 
that puzzled me.  Thanks, BenG.

>
>
>
> Stephen Dupre
> Macromedia QA
>
> -Original Message-
> From: Ben Groeneveld [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 14, 2004 1:12 PM
> To: JRun-Talk
> Subject: Re: JRUN Stability- reply 2
>
> Kathy, we run primarily on windows.  I have done some tests on linux,
> but not to this extent.
>
> Our app uses keepalive connections that remain open, so we need a very
> high level of concurrency.  In production we run at 750 concurrent
> connections (users) per node.  The JRun server doesn't seem to
> pre-allocate the threads, so they remain upper limits.  We also run with
> a non-sanctioned patch provided by macromedia folks, because regular
> JRun will get stuck at 1000 activeHandlerThreads.  They gave me the
> patch, but in followup email have been quiet to answer my request for
> info on when the change would be incorporated into the base code.  I was
> working with someone by the name of Stephen Dupre last August; he was
> most helpful.
>
> Using the patch we have tested just beyond 1800 in our lab with the IBM
> jvm and 1700 with the sun jvm, before we run into memory management
> problems.  We use the following jvm args now with sun 1.4:
>
> -Xms128m -Xmx128m -Xss64k
>
> In order to use such high settinmgs you also need to adjust your web
> server because by default they don't permit such high levels of
> concurrency either - I assume as a precaution against DOS attacks.  So
> you have to adjust your Apache or IIS settings.
>
> If I recall my experiments properly, the jvm on windows is limited to
> 2048 threads, so to get beyond that on a single machine you need to have
> multiple vm's.  So, I put several JRun servers under IIS, but then I
> started to run up against some upper limits of IIS.  I never got further
> than 4000 concurrent connections for a single win2k box with 1 cpu, and
> that was with three JRun servers under IIS.
>
> Hope that helps, BenG.
>
> [EMAIL PROTECTED] wrote:
>
> > Ben,
> >
> > How is the stability and performance of JRun server
> > after you set activeHandlerThreads to 2000? Usually
> > the number of the maxHandlerThreads should be bigger
> > than activeHandlerThreads? As I understand, JRun would
> > not perform well if the number of activeHandlerThreads
> > is too big. Could you share your experience here? How
> > busy would the traffic be on your site and is your
> > site running in UNIX box? Thanks.
> >
> > Kathy
> >
> > --- Ben Groeneveld <[EMAIL PROTECTED]> wrote:
> > > This is true; to achieve high levels of concurrency
> > > we run with
> > >
> > > 
> > > name="activeHandlerThreads">2000
> > >
> > > 2000
> > >
> > >
> > > Hope that helps, BenG.
> > >
> > > [EMAIL PROTECTED] wrote:
> > >
> > > > Thanks for the advice!..
> > > >
> > > > I have Metrics turned on currently, monitoring
> > > every 20 seconds, and I get
> > > > 0/0, 0 Sessions..
> > > >
> > > > It does specifically say Web-Threads so, I looked
> > > for an additional
> > > > setting
> > > > for the proxy, (as we're using the JRUN connector
> > > via IIS on another
> > > > server)
> > > > but that was the only metrics option in the
> > > jrun.xml file.
> > > >
> > > > ~ Jon
> > > >
> > > > -Original Message-
> > > > From: Kathy Vance [mailto:[EMAIL PROTECTED]
> > > &g

Re: JRUN Stability- reply 2

2004-04-14 Thread Ben Groeneveld
Kathy, we run primarily on windows.  I have done some tests on linux, 
but not to this extent.

Our app uses keepalive connections that remain open, so we need a very 
high level of concurrency.  In production we run at 750 concurrent 
connections (users) per node.  The JRun server doesn't seem to 
pre-allocate the threads, so they remain upper limits.  We also run with 
a non-sanctioned patch provided by macromedia folks, because regular 
JRun will get stuck at 1000 activeHandlerThreads.  They gave me the 
patch, but in followup email have been quiet to answer my request for 
info on when the change would be incorporated into the base code.  I was 
working with someone by the name of Stephen Dupre last August; he was 
most helpful.

Using the patch we have tested just beyond 1800 in our lab with the IBM 
jvm and 1700 with the sun jvm, before we run into memory management 
problems.  We use the following jvm args now with sun 1.4:

-Xms128m -Xmx128m -Xss64k

In order to use such high settinmgs you also need to adjust your web 
server because by default they don't permit such high levels of 
concurrency either - I assume as a precaution against DOS attacks.  So 
you have to adjust your Apache or IIS settings.

If I recall my experiments properly, the jvm on windows is limited to 
2048 threads, so to get beyond that on a single machine you need to have 
multiple vm's.  So, I put several JRun servers under IIS, but then I 
started to run up against some upper limits of IIS.  I never got further 
than 4000 concurrent connections for a single win2k box with 1 cpu, and 
that was with three JRun servers under IIS.

Hope that helps, BenG.

[EMAIL PROTECTED] wrote:

> Ben,
>
> How is the stability and performance of JRun server
> after you set activeHandlerThreads to 2000? Usually
> the number of the maxHandlerThreads should be bigger
> than activeHandlerThreads? As I understand, JRun would
> not perform well if the number of activeHandlerThreads
> is too big. Could you share your experience here? How
> busy would the traffic be on your site and is your
> site running in UNIX box? Thanks.
>
> Kathy
>
> --- Ben Groeneveld <[EMAIL PROTECTED]> wrote:
> > This is true; to achieve high levels of concurrency
> > we run with
> >
> > 
> > name="activeHandlerThreads">2000
> >
> > 2000
> >
> >
> > Hope that helps, BenG.
> >
> > [EMAIL PROTECTED] wrote:
> >
> > > Thanks for the advice!..
> > >
> > > I have Metrics turned on currently, monitoring
> > every 20 seconds, and I get
> > > 0/0, 0 Sessions..
> > >
> > > It does specifically say Web-Threads so, I looked
> > for an additional
> > > setting
> > > for the proxy, (as we're using the JRUN connector
> > via IIS on another
> > > server)
> > > but that was the only metrics option in the
> > jrun.xml file.
> > >
> > > ~ Jon
> > >
> > > -Original Message-
> > > From: Kathy Vance [mailto:[EMAIL PROTECTED]
> > >
> > > Jon,
> > >
> > > I have the same problem while I did loading
> > testing on
> > > JRun 4. We spent $500 for macromedia tech support
> > in
> > > order to solve the issue.
> > >
> > > Please check your jrun.xml. There is a service
> > called
> > > "ProxyService". You need to increase the value of
> > the
> > > attribute named "activeHandlerThreads" to a number
> > > based on how busy your app is. I remember the
> > default
> > > value is 15.
> > >
> > > Also, You can turn on Metrics logging to decide
> > how
> > > many threads you need.
> > >
> > > Sometimes you could get the same error mentioned
> > while
> > > using jsp forward tag. But I believe that Updater
> > 3
> > > may solve forwarding issue on JRun 4.
> > >
> > > for your info,
> > >
> > > Kathy
> > >
> > >
> > > --- Jon Austin <[EMAIL PROTECTED]> wrote:
> > > > Thanks to all for their input on this topic,
> > > >
> > > > I am getting more resource directed to this in
> > the
> > > > next day or, so, and will
> > > > be running through some of the troubleshooting
> > tips
> > > > given here.
> > > >
> > > > I understand that many of you are running
> > > > successfully, with many concurrent
> > > > users, the question now, I have for those
> > people, is
> > > > what kind of scope is
> > > > your application?
> > > &

Re: JRUN Stability- reply

2004-04-13 Thread Ben Groeneveld
This is true; to achieve high levels of concurrency we run with

2000

2000

Hope that helps, BenG.

[EMAIL PROTECTED] wrote:

> Thanks for the advice!..
>
> I have Metrics turned on currently, monitoring every 20 seconds, and I get
> 0/0, 0 Sessions..
>
> It does specifically say Web-Threads so, I looked for an additional 
> setting
> for the proxy, (as we're using the JRUN connector via IIS on another 
> server)
> but that was the only metrics option in the jrun.xml file.
>
> ~ Jon
>
> -Original Message-
> From: Kathy Vance [mailto:[EMAIL PROTECTED]
>
> Jon,
>
> I have the same problem while I did loading testing on
> JRun 4. We spent $500 for macromedia tech support in
> order to solve the issue.
>
> Please check your jrun.xml. There is a service called
> "ProxyService". You need to increase the value of the
> attribute named "activeHandlerThreads" to a number
> based on how busy your app is. I remember the default
> value is 15.
>
> Also, You can turn on Metrics logging to decide how
> many threads you need.
>
> Sometimes you could get the same error mentioned while
> using jsp forward tag. But I believe that Updater 3
> may solve forwarding issue on JRun 4.
>
> for your info,
>
> Kathy
>
>
> --- Jon Austin <[EMAIL PROTECTED]> wrote:
> > Thanks to all for their input on this topic,
> >
> > I am getting more resource directed to this in the
> > next day or, so, and will
> > be running through some of the troubleshooting tips
> > given here.
> >
> > I understand that many of you are running
> > successfully, with many concurrent
> > users, the question now, I have for those people, is
> > what kind of scope is
> > your application?
> >
> > Are we simply talking glorified web-sites with a
> > little processing behind
> > them, or are we talking full hard-code business
> > applications.
> >
> > Our application falls heavily on the latter, and
> > before I base conclusions
> > on other peoples abilities to produce results under
> > this environment, I want
> > to be sure that we're in the same ballpark.
> >
> >
> > One error which a user did capture during a
> > server-halt the other day, was :
> >
> > Too many concurrent requests,
> > jcp.endpoint.main.max.threads exceeded.
> >
> > I found documents on how to resolve this on JRUN3..
> > but none of the files
> > that are referenced in that document, exist on my
> > JRUN4 implimenation.  Does
> > anyone know where I can find the new settings fro
> > JRUN4.
> >
> > Thanks
> >
> > ~ Jon
> >
> >
> >
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: JRUN Stability

2004-04-09 Thread Ben Groeneveld
We run JRun4 with CFMX on win2k in a cluster supporting 1000s of 
concurrent users and it's quite reliable, believe me.  Thanks, BenG.

[EMAIL PROTECTED] wrote:

> The server in questions is windows 2000, SP4.
>
> We're using the Server version (/jrun4)  and we're connecting to an Oracle
> backend.
>
> We're on JRUN Updater 3, and we've been running this configuration without
> issue, for about 6 months now.
>
> The problem appears to be load-based.. We usually don't have over 5 people
> on the server, developers are running their own local servers, so the
> database is already used to the load..
>
> I'll look into the stack trace, but I do have to co-ordinate several very
> busy people, in order to get the load on the server, so I'm not sure when
> I'll be able to do that yet.
>
> Thanks,
>
> ~ Jon
>
> -Original Message-
> From: Stephen Dupre [mailto:[EMAIL PROTECTED]
>
> Did you try to get a stack trace when this was happening? (technote 
> 18339 on
> www.macromedia.com  )
>
> What platform are you running on?
>
> Are you using the server version (/jrun4) or the standalone (/cfusionmx).
>
> What backend are you connecting to?
>
> Have you applied any patches (hotfixes, new database drivers, etc).
>
> I'd not ready to finger your code until we look at known  issues that 
> might
> cause CPU spikes (environment-related, patches, etc).
>
> Stephen Dupre
> Macromedia QA
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 09, 2004 12:19 AM
> To: JRun-Talk
> Subject: JRUN Stability
>
> I'm having an issue on a CFMX / JRUN server, when we get around 14
> simultaneous users, running an average sized lookup, our CPU spikes,
> our memory dives, and JRUN bites the dust.
>
> I've tried this on a single processor, 512mb machine, and it survived
> the load for approx 10-15 minutes.
>
> I switched to another server with 2 CPU's, and 1gb of ram, and it died
> in 5 minutes..  That server did have two CFMX JRUN server instances on
> it however. Only one was in "active" use though, the other was
> running, but with no connections.
>
> Both machines were tested multiple times, and the same behavior
> continued.
>
> Does anyone have any tuning suggestions, or alternative's like porting
> our app to run off JBOSS?
>
> TIA,
>
> ~ Jon
>   _
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Increasing Logfile count

2004-01-14 Thread Ben Groeneveld
Alex, search for 5 in 
JRun4/servers/default/SERVER-INF/jrun.xml.  You can also change the log 
file size, which I find convenient to do.  Hope that helps, BenG.

DeMarco, Alex wrote:

> Where can I tell Jrun4 to keep more log files instead of just 3.  I'd
> like to keep up to 10 before it rolls over...
>
> Anyone know?
>
> I need to do the same thing for CFMX
>
> - Alex
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Anyone on this list

2003-12-11 Thread Ben Groeneveld
Yes, to JRun's credit I hope. We run JRun4 for all kinds of apps and it 
just works fine.  BenG.

Michael Dinowitz wrote:

> There are actually quite a number of people on the list (I weed out 
> the bad addresses). Problem is, its not very active.
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: JRun mysteriously crashing, strange errors in Apache

2003-12-03 Thread Ben Groeneveld
Richard, that's pretty much it then, except that you can create a custom 
logger to catch stdout and stderr if you want; refer to the manuals for 
that. 

You can usually tell if JRun shutdown or got torched.  On a graceful 
shutdown, the destroy methods of servlets will be invoked, including the 
builtin JRun servlets, and they log misc things.

If you are running from the console, and JRun looks like it's dead, but 
perhaps overloaded as you describe below, you can examine the threads 
with Ctrl-Break w/o affecting processing to get an idea of where it's stuck.

Hope that helps, BenG.

Richard Crawford wrote:

> Ben Groeneveld wrote:
>
> > Rchard, I'm not sure by what you mean to say in that logging is always
> > on, and println() for System.out and System.err will go to stdout and
> > stderr, so I suspect that if you redirect them you will capture them.  
> > All other logging should be in JRun4/logs.  Does that make sense?  BenG.
>
> I can see that if I ran JRun from the command line, with something like
> "> errorlog", then the error messages will be captured and written to a
> file.  I just wish there were a way to retrieve all of those errors that
> are missing from the jrun/log files.  The log files I have show no
> reason why JRun should have crashed last Thursday.
>
> Although based on discussions I've had, it looks like JRun didn't crash
> completely; it just seems to have slowed down to such a sluggish pace
> that connections were timing out.  I don't understand this at all myself.
>
> For what it's worth, here's the system information, which I should have
> included earlier:
>
> HOST SYSTEM: Solaris 9
> JRUN VERSION: 4 (with updater 3 applied)
> CF VERSION: MX (with updater 2 applied)
> APACHE VERSION: 2.0.45
> DATABASE: SQL Server 7, on a separate WinNT machine
>
> JRun, Apache, and Cold Fusion all live on the same Solaris 9 box.
>
> We are in the process of upgrading our SQL Server database to Oracle 9i
> (and you don't want to know how much of a nightmare that has been).
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: JRun mysteriously crashing, strange errors in Apache

2003-12-02 Thread Ben Groeneveld
Rchard, I'm not sure by what you mean to say in that logging is always 
on, and println() for System.out and System.err will go to stdout and 
stderr, so I suspect that if you redirect them you will capture them.  
All other logging should be in JRun4/logs.  Does that make sense?  BenG.

Richard Crawford wrote:

> Ben Groeneveld wrote:
>
> > I believe that you might find more logging info if you run from the
> > command line and redirect stdout and stderr to a file.  With JRun3 these
> >
> > used to be captured in a separate log files, but with JRun4 this is no
> > longer the default.  I do believe that the documentation talks about how
> >
> > to setup such logging, though.  Hope this helps, BenG.
> >
>
> Hm.  Is there a way to access this information if you haven't enabled
> the logging?
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: JRun mysteriously crashing, strange errors in Apache

2003-12-02 Thread Ben Groeneveld
I believe that you might find more logging info if you run from the 
command line and redirect stdout and stderr to a file.  With JRun3 these 
used to be captured in a separate log files, but with JRun4 this is no 
longer the default.  I do believe that the documentation talks about how 
to setup such logging, though.  Hope this helps, BenG.

Skip Klobucher wrote:

> With the JRun server shutdown during this time, you'd see errors on the
> Apache side without corresponding errors on the JRun side (Apache was
> fielding and forwarding requests to JRun, but JRun wasn't running and 
> wasn't
> logging problems).  The only way to determine what happened relative 
> to JRun
> is to look at the log files for each JRun server - not just the event log
> but also the err and out files too.  If they don't contain any 
> information,
> then it will be difficult to tell.  Does JRun run on the same machine as
> Apache, or are they distributed?  Are there any system-level log files
> available (like Event Viewer on Windows) that might provide additional
> information about what happened?  Thanks.
>
>
> Skip
>
> -Original Message-
> From: Richard Crawford [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 02, 2003 1:50 PM
> To: JRun-Talk
> Subject: JRun mysteriously crashing, strange errors in Apache
>
> Over the holiday, our distance learning campus webserver crashed, and
> our alarm system failed to notify anyone in the office (meaning that no
> one discovered this until yesterday morning).  My boss managed to get
> the site up and running again, but when I came in and checked the error
> logs for JRun, I can't find anything out of the ordinary, in either
> default_event.log or admin_event.log (I found a broken pipe error in
> default_event.log but that is dated from this morning and is thus
> unrelated to Thursday's crash).  On the other hand, my error_log from
> Apache shows the following line many many many times starting on Thursday:
>
> [notice] jrApache[7535] JRun is busy.  [15] dropped while sending command.
>
> This message also shows up frequently, beginning at 9:05 on Thursday,
> November 27:
>
> [notice] jrApache[7535] Couldn't initialize from remote server, JRun
> server(s) probably down.
>
> ...however, I cannot find anything in either default-event.log or
> admin-event.log (or earlier versions of those files) that corresponds to
> that time.
>
> The Apache logs indicate that the computer was running the entire time,
> as was Apache itself.
>
> Does anyone have any idea as to what might have happened, or where else
> I might be able to find more information?
>   _
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: High Traffic JRun4 Settings

2003-08-21 Thread Ben Groeneveld
Juan

I agree, that's a good article, and we have used it when we were with 
JRun 3.1.  With JRun3.1 we never actually scaled that far, though.  We 
are now using JRun4 sp1 and cannot get passed 1000 concurrent 
threads/sockets. 

Thanks for your advice, BenG.

Juan Camacho wrote:

>We were having the same problem, we found a very good article that helped us 
>to solve the problem, check it out, I hope it helps:
>
>http://www.macromedia.com/devnet/server_archive/articles/performance_tuning_jrun31.html
>
>Juan
>
>  
>
>>From: Ben Groeneveld <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: JRun-Talk <[EMAIL PROTECTED]>
>>Subject: High Traffic JRun4 Settings
>>Date: Wed, 20 Aug 2003 18:07:20 -0700
>>
>>JRun fans, I am experimenting with high volume settings for JRun under
>>IIS.  I seem to bump up against a limit of 1000 user threads open.  I
>>have configured the default server SERVER-INF/jrun.xml as follows:
>>
>>  
>>
>>1005
>>500
>>false
>>*
>>
>>1005
>>1
>>51000
>>20
>>300
>>
>>At 1000 concurrent connections the jrun server will start complaining
>>that I need to configure it for more threads.  I can set the active and
>>or max handler threads higher, e.g., 2000, and it has no effect.  When I
>>experimented with low numbers, these params normally allow me (N-1)
>>concurrent connections, where N is the HandlerThread param.  Now from
>>what I understand, each socket connection will hold onto one thread, and
>>a VM on NT should be able to handle 2048 threads or so.  Anyone have any
>>idea what I am missing?
>>
>>I don't think IIS is the issue.  But for what it's worth, I have JRun
>>connected to IIS5 on win2k server, which is configured to as follows:
>>
>>100,000 hits per day
>>ListenBackLog 500
>>AcceptExOutstanding 200
>>MaxPoolThreads 20
>>PoolThreadLimit 2000
>>ServerListenBackLog 2000
>>MaxEndPointConnections 2000
>>
>>Thanks for any advice.  BenG.
>>
>>--
>>Ben Groeneveld
>>Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
>>Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:541.420.6246
>>
>>
>>
>>
>>
>>
>>
>
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:8
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:8
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=<:emailid:>.<:userid:>.<:listid:>

Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion




High Traffic JRun4 Settings

2003-08-20 Thread Ben Groeneveld
JRun fans, I am experimenting with high volume settings for JRun under 
IIS.  I seem to bump up against a limit of 1000 user threads open.  I 
have configured the default server SERVER-INF/jrun.xml as follows:

  

1005
500
false
*

1005
1
51000
20
300

At 1000 concurrent connections the jrun server will start complaining 
that I need to configure it for more threads.  I can set the active and 
or max handler threads higher, e.g., 2000, and it has no effect.  When I 
experimented with low numbers, these params normally allow me (N-1) 
concurrent connections, where N is the HandlerThread param.  Now from 
what I understand, each socket connection will hold onto one thread, and 
a VM on NT should be able to handle 2048 threads or so.  Anyone have any 
idea what I am missing?

I don't think IIS is the issue.  But for what it's worth, I have JRun 
connected to IIS5 on win2k server, which is configured to as follows:

100,000 hits per day
ListenBackLog 500
AcceptExOutstanding 200
MaxPoolThreads 20
PoolThreadLimit 2000
ServerListenBackLog 2000
MaxEndPointConnections 2000

Thanks for any advice.  BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:541.420.6246




~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:8
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:8
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=<:emailid:>.<:userid:>.<:listid:>

Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion




Re: help! jrun 3.1 crashing!!!

2003-03-19 Thread Ben Groeneveld
This may sound simple, but I would suggest divide and conquer.  
You haven't provided any useful information to comment on, so here are 
some very random thoughts.
Isolate the problem.
Try running just the servlet that crashes.
Create a seperate JRun installation to debug on that has no 
modifications other than service packs.

Hope that helps. Thanks, BenG.

[EMAIL PROTECTED] wrote:

>This is really frustrating, now one of the applications is hanging at any page.
>At first it was one specific page that would not load this morning, although
>it's been working fine all along.  Now, the whole application is not loading,
>but other apps are working fine.
>
>I did try generating a thread dump but no indication why this is happening, or
>it could be I am not understanding it (most likely).  Can anyone help me?
>Our applications are not that complex and mimimum modifications were made to the
>JRUN 3.1 when installed.
>
>I called Macromedia to get some support and they want to charge $2000 a day
>
>Any suggestions?
>
>Thanks!
>Z
>
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=8
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm




native os memory allocator

2003-01-31 Thread Ben Groeneveld
What would be the advantage of using the os's memory allocator instead 
of the web server's.  Does anyone know what the performance impact is, 
or is this strictly a stability issue? I've searched the documentation 
on this 'advanced' connector option and have found nothing useful 
 Thanks, BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=8
Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion





Re: Max Heap Size.

2002-12-04 Thread Ben Groeneveld
Kannan, before you start changing these parameters wildly, you might 
want to check you memory usage to see what your real bottleneck is. 
1024M is quite high.  JRun has some really nice metrics built in to log 
memory growth.  I would recommend setting Xms and Xms both equal to some 
number like 128 meg so that memory is 'pre-allocated', and turn on the 
collection of memory statistics.  Then you can see if you don't have a 
leak.  What the amount of memory used.  If you do have a leak you can 
get a tool like OptimizeIt (trial available) to help pinpoint it. I've 
tried using a free tool called jmp, but it had some reliability problems 
last time I tried about 6m ago.  Good luck, BenG.

Kannaiyan P wrote:

>Hello,
>   I have some problem on the my application. i will give my scenario of my 
>problem.
>
>when i start both app server @ web server it works fast . when people 
>starting using the web. slowly it become very slow. and after some time it 
>is not working ( i mean somebody try to open a page it never shows up). I 
>think i have problem on the memory or between app server and webserver( 
>connector). Please i need help on this issue. Anyone response my mail it 
>very very thankful.
>
>How to increase the Max Heap Size & VM Arguments : right now my Max heap 
>size is : 512 MB & VM Arguments : -Xmx1024M. i want increase both heap size 
>and VM Arguments.
>please i need example value.
>please recommends on this too.
>
>Thanks
>Kannan
>
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=8
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Optimizing JRun4 For Larger Sites

2002-12-03 Thread Ben Groeneveld
We have an application configured for JRun3 to support up to 500 
concurrent connections (open sockets).  There we're some useful 
documents that helped us get there, in particular MacroMedia's 
"Platform-Specific Performance Settings Article 11772".  What might I 
find useful for JRun4 tuning?  Currently I am wading through the pdf's, 
and just came across the HtmlAgentService to set all parameters in the 
jrun.xml file.  But, some recommendations or references for large 
installations would be useful.  Thanks, BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=8
Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion



Inconsistency Iisue with jvm.conf and admin console "Settings

2002-11-20 Thread Ben Groeneveld
This looks like a bug.  We are running JRun4 no service packs (because 
sp1 doesn't completely install). In our bin/jvm.conf we have 
pre-allocated memory:

java.args=-Xmx128M -Xms128M

But, the admin console will display only the second param as:

-Xms128M

So, using the admin console you think something is missing ...  so you 
add more params and provide the jvm with conflicting instructions. 
 Anyone else seen this?  Thanks, BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=8
Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion



Re: How To Browse Virtual Dirs In JRun4

2002-11-11 Thread Ben Groeneveld
  Charlie, I came up with something that satisfies my current needs, but 
I would hope there is a more fail-safe approach. Essentially I turn the 
generic browse switch for the default server on, add my virtual mapping, 
and then turn off browsing specific to my app's war.  It's like the 
reverse of what you do for security.  Imagine in your /etc/hosts.allow 
you permit all access, then one by one plug the holes...  Thanks for the 
followup, BenG.


   (a) 
$CONTAINER_DIR/servers/default/default-ear/default-war/WEB-INF/jrun-web.xml

   
   /logs/*
   $CONTAINER_DIR/logs
   

   (b) $CONTAINER_DIR/servers/samples/SERVER-INF/default-web.xml 

   
  FileServlet
  jrun.servlet.file.FileServlet
  
  browseDirs
  true
   
   

   (c) In the web.xml for the .war's that you deploy add: 



  browseDirs
  false

FileServlet
jrun.servlet.file.FileServlet
This servlet overrides FileServlet in 
SERVER-INF/default-web.xml.



charlie arehart wrote:

>That's a good question, and since no one has yet answered it, I'd like to
>follow it up with some related questions.
>
>First, does anyone indeed know if this is possible? Of course, this is a
>good place to remind folks that JRun 4 offers complete documentation of the
>xml descriptors such as jrun-web.xml, at
>[jrun_root]/docs/descriptordocs/index.html. But I did a search across all
>the files for "directory" or "browse" and didn't find anything about
>directory browsing.
>
>It also bears mentioning that if you're using IIS or Apache as your web
>server (and the JRun connector for that), then you'd make the directory
>browsing indicator there instead, right?
>
>But this raises a question I've had and been unable to test (since I'm just
>using the built-in web server on this system): would this indication made in
>the jrun-web.xml for a virtual mapping even be honored by an external web
>server?
>
>And here's another simil
>ar question: if you setup a virtual mapping for a
>servlet in web.xml (rather than using the /servlet invoker), will that be
>honored by an external web server? Someone using an external web server told
>me that it does not.
>
>/charlie
>
>>-Original Message-
>>From: Ben Groeneveld [mailto:bgroeneveld@;ici-web.com]
>>Sent: Wednesday, November 06, 2002 5:44 PM
>>To: JRun-Talk
>>Subject: How To Browse Virtual Dirs In JRun4
>>
>>
>>How do I tell JRun4 to permit directory browsing in a specific
>>directory, like the following dir defined  in my jrun-web.xml file?
>>
>>
>>  
>>/logs/*
>>/usr/local/JRun4/logs
>>  
>>
>>Thanks, BenG.
>>
>>--
>>Ben Groeneveld
>>Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
>>Mailto:BGroeneveld@;ici-web.com, phone:541.388.3611, cell:208.520.6488
>>
>>
>>
>>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=8
Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion



How To Browse Virtual Dirs In JRun4

2002-11-06 Thread Ben Groeneveld
How do I tell JRun4 to permit directory browsing in a specific 
directory, like the following dir defined  in my jrun-web.xml file?


  
/logs/*
/usr/local/JRun4/logs
  

Thanks, BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:BGroeneveld@;ici-web.com, phone:541.388.3611, cell:208.520.6488



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=8
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Issues with XML and JRun4

2002-10-28 Thread Ben Groeneveld
I've been trying to use jdom8.jar with xerces.  I tried using the 
builtin jdom7 with crimson, but kept getting an error regarding a null 
constructor for the SAXParser.  However, my code works as desired after 
taking the following drastic measure, i.e., replacing and modify the 
jrun.jar.  I updated jrun.jar with jdom and xerces as follows:

   jar xvf jdom.jar
   jar xvf XmlParserAPIs.jar
   jar xvf xercesImpl.jar
   jar -uf jrun.jar 'JDOMAbout$Author.class' 'JDOMAbout$Info.class' 
JDOMAbout.class javax org

I thought I should have, but I could not get any of the following to 
work. For each of these I essentially get a ClassNotFoundException for 
the SAXParser.

- put the jars in my CLASSPATH, or in JRun4/lib, or in 
JRun4/servers/default/myApp/WEB-INF/lib
- expanding the jars into myApp's war path WEB-INF/classes

Although everything seems to work fine for me now, I'm sure messing with 
jrun.jar is not kosher, especially with regard to support and patches, 
etc.  What would be the right way to do this?  

Thanks, BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:BGroeneveld@;ici-web.com, phone:541.388.3611, cell:208.520.6488



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: document uploading tool

2002-10-09 Thread Ben Groeneveld

Zafif, I don't, but if you find out how I'd like to know.  Thanks, BenG.

[EMAIL PROTECTED] wrote:

> I downloaded the new files and it's working great.  Do you know what would be
>the best way for me to check the size before uploading?
>Once I create the MultiRequest obj, and the file is larger than max size , it
>gives you automatically an error.  I want to warn the user prior that.
>
>Thanks
>
>
>  
>       
>Ben Groeneveld
>   
><[EMAIL PROTECTED]>   
>i-web.com> cc:
>   
>   Subject: Re: document uploading tool   
>   
>10/07/2002
>   
>12:19 PM  
>   
>Please respond
>   
>to jrun-talk  
>   
>  
>   
>  
>   
>  
>   
>  
>   
>
>
>
>
>Zafif, we use Jason's classes on a postgres backend, and they work just
>great. We do exactly what you proposed. And his book's pretty good to
>have anyway.  We just have problems with files > 300M because of a bug
>in apache on linux, but otherwise uploads to 2G work.  Good luck!  BenG.
>
>Cortlandt Winters wrote:
>
>>Hi Zafif,
>>
>>Here are two that I've looked at recently and liked .
>>www.javazoom.com
>>www.servlets.com
>>
>>Both have pretty nice implementations of multipart file upload code.
>>Javazoom's is a jsp that costs $99 with an admin interface included, Jason
>>Hunter's doesn't have an admin interface but it just requires that you have
>>a current copy of his servlets book. Both are pretty good deals if you ask
>>me.
>>
>>But I would think that new behavior in a 2 year old piece of code might more
>>likely come from a configuration change or a different browser version than
>>something being wrong in the tool itself.
>>
>>Good luck, hope to hear about the results later.
>>
>>Cort
>>
>>- Original Message -
>>From: <[EMAIL PROTECTED]>
>>To: "JRun-Talk" <[EMAIL PROTECTED]>
>>Sent: Monday, October 07, 2002 10:04 AM
>>Subject: document uploading tool
>>
>>
>>>Any of you suggest a good document uploading tool?
>>>
>>>The tool I have is acting up.  It consists of:
>>>- A table in the db, with document specific info and location of file.
>>>- Folder on the Jrun server with subfolders for each app.
>>>- Uploading servlet that updates/inserts the document on the file server
>>>
>>and
>>
>>>adds the reference record in the table. Sometimes it lets me create
>>>
>>subfolders
>>
>>>on the file server and sometimes it just drops the files in the main
>>>
>>directory.
>>
>>>I'm having a hard time troubleshooting since I can't always reproduce the
>>>
>>error.
>>
>>>Anyway, it's a utility we wrote a couple of years ago, and I'm hoping
>>>
>>there is a
>>
>>>better tool out there.
>>>
>>>Thank you!
>>>
>>>
>
>
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: document uploading tool

2002-10-07 Thread Ben Groeneveld

Zafif, we use Jason's classes on a postgres backend, and they work just 
great. We do exactly what you proposed. And his book's pretty good to 
have anyway.  We just have problems with files > 300M because of a bug 
in apache on linux, but otherwise uploads to 2G work.  Good luck!  BenG.

Cortlandt Winters wrote:

>Hi Zafif,
>
>Here are two that I've looked at recently and liked .
>www.javazoom.com
>www.servlets.com
>
>Both have pretty nice implementations of multipart file upload code.
>Javazoom's is a jsp that costs $99 with an admin interface included, Jason
>Hunter's doesn't have an admin interface but it just requires that you have
>a current copy of his servlets book. Both are pretty good deals if you ask
>me.
>
>But I would think that new behavior in a 2 year old piece of code might more
>likely come from a configuration change or a different browser version than
>something being wrong in the tool itself.
>
>Good luck, hope to hear about the results later.
>
>Cort
>
>- Original Message -
>From: <[EMAIL PROTECTED]>
>To: "JRun-Talk" <[EMAIL PROTECTED]>
>Sent: Monday, October 07, 2002 10:04 AM
>Subject: document uploading tool
>
>
>>Any of you suggest a good document uploading tool?
>>
>>The tool I have is acting up.  It consists of:
>>- A table in the db, with document specific info and location of file.
>>- Folder on the Jrun server with subfolders for each app.
>>- Uploading servlet that updates/inserts the document on the file server
>>
>and
>
>>adds the reference record in the table. Sometimes it lets me create
>>
>subfolders
>
>>on the file server and sometimes it just drops the files in the main
>>
>directory.
>
>>I'm having a hard time troubleshooting since I can't always reproduce the
>>
>error.
>
>>Anyway, it's a utility we wrote a couple of years ago, and I'm hoping
>>
>there is a
>
>>better tool out there.
>>
>>Thank you!
>>
>>
>
__
Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Trouble With JRun4, ColdFusionMX, And IIS Coexistence

2002-09-25 Thread Ben Groeneveld

We used to do this before JRun4 and *MX, but now we are upgrading and 
cannot seem to get the three to live together happily.  We have run the 
JRun4 web config tool, and my CF peer has done the equivalent for CF. 
 Now when I try to open a jsp on port 80 (that works fine on port 8100) 
I get the following (from the CF jvm).  Of course, we have checked our 
licensing and believe all is properly configured.

coldfusion.license.LicenseManager$LicenseIllegalAccessException: A 
License Exception has been thrown
at coldfusion.license.LicenseManager._checkJSP(Unknown Source)
at coldfusion.license.LicenseManager.checkJSP(Unknown Source)
at coldfusion.license.JspLicenseServlet.service(Unknown Source)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at 
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:241)
at 
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at 
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)
at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
at 
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

I can see that the JRun isapi filter is at least being invoked, because 
the IIS connector log lib/wsconfig shows this (status.jsp is what I can 
get at on port 8100 but not 80):

16:00:45 jrISAPI[init] jrISAPI[filter]: scriptPath is /JRunScripts/jrun.dll
16:00:45 jrISAPI[init] JRun 4.0 ISAPI Filter 47304 - May  2 2002 20:33:36
16:01:16 jrISAPI[filter] In filter: notification = 0x4000
16:01:16 jrISAPI[filter] JRun Filter got url: '/server/status.jsp'
16:01:16 jrISAPI[filter]HTTP_HOST: 216.194.195.229
16:01:16 jrISAPI[filter] filtering /server/status.jsp 
(/server/status.jsp) HOST=216.194.195.229
16:01:16 jrISAPI[filter] refreshing mappings for 127.0.0.1:51010
16:01:16 jrISAPI[filter] 127.0.0.1:51010 fetching servlet-mappings
16:01:16 jrISAPI[filter] 127.0.0.1:51010 pooled socket [6848] returned

I've tried both the normal web connector settings as well as the 
advanced where you select the extension to be invoked.  Any clues or 
insight would be useful.

Thanks, BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Potential JRun 4 getPathInfo Migration Issue

2002-09-06 Thread Ben Groeneveld

Yes, our pattern was /TestServlet and changing it to /TestServlet/* 
resolves the issue.  Thanks!  BenG.

Thomas Ruggles wrote:

>Hi Ben,
>
>I have been trying to reproduce this behavior and have come to the following 
>assumption - your TestServlet servlet mapping uses the url pattern /TestServlet.  Am 
>I correct?
>
>I set up a mapping for my SnoopServlet using url pattern /snoop and requested 
>http://localhost:8100/snoop/more/path/info and see the same results that you do - 
>404.  However, when I use the url pattern /snoop/* I get the servlet path= /snoop and 
>path info=/more/path/info as expected.
>
>While this may differ from JRun 3.x it is in compliance with the Servlet 2.3 spec 
>(and matches the RI's behavior) and is touched upon in the example below from the 
>spec.
>
>Hope this helps,
>Tom Ruggles
>JRun QA 
>
>
>Table SRV.1: Example Context Set Up
>ContextPath /catalog
>Servlet Mapping Pattern: /lawn/*
>Servlet: LawnServlet
>Servlet Mapping Pattern: /garden/*
>Servlet: GardenServlet
>Servlet Mapping Pattern: *.jsp
>Servlet: JSPServlet
>
>Table SRV.2: Observed Path Element Behavior
>Request Path Path Elements
>/catalog/lawn/index.html 
>ContextPath: /catalog
>ServletPath: /lawn
>PathInfo: /index.html
>
>
>-Original Message-
>From: Ben Groeneveld [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, September 05, 2002 3:08 PM
>To: JRun-Talk
>Subject: Potential JRun 4 getPathInfo Migration Issue
>
>
>I am having trouble migrating a servlet that uses request.getPathInfo(). 
> We use a URL like:
>
>http://127.0.0.1:8100/tJRun4/TestServlet/extraParams?misc=stuff&more=NotEnough
>
>I developed a little testcase which presents the above as follows on 
>JRun 3.0:
>
>doGet
>logRequestParameters request.getPathInfo(): /extraParams
>logRequestParameters request.getQueryString(): misc=stuff&more=NotEnough
>logRequestParameters request.getPathTranslated(): 
>C:\usr\local\jrun-3.0\servers\default\tJRun4\extraParams
>logRequestParameters request.getRequestURL(): 
>/tJRun4/TestServlet/extraParams
>logRequestParameters request.getParameterValues(): misc:[stuff]
>logRequestParameters request.getParameterValues(): more:[NotEnough]
>
>On JRun 4 I just get in the log:
>
>error Requested resource /tJRun4/TestServlet/extraParams not found
>
>Anyone have a clue as to what's up or what we're doing wrong?  Thanks, BenG.
>

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488



__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Potential JRun 4 getPathInfo Migration Issue

2002-09-05 Thread Ben Groeneveld

I am having trouble migrating a servlet that uses request.getPathInfo(). 
 We use a URL like:

http://127.0.0.1:8100/tJRun4/TestServlet/extraParams?misc=stuff&more=NotEnough

I developed a little testcase which presents the above as follows on 
JRun 3.0:

doGet
logRequestParameters request.getPathInfo(): /extraParams
logRequestParameters request.getQueryString(): misc=stuff&more=NotEnough
logRequestParameters request.getPathTranslated(): 
C:\usr\local\jrun-3.0\servers\default\tJRun4\extraParams
logRequestParameters request.getRequestURL(): 
/tJRun4/TestServlet/extraParams
logRequestParameters request.getParameterValues(): misc:[stuff]
logRequestParameters request.getParameterValues(): more:[NotEnough]

On JRun 4 I just get in the log:

error Requested resource /tJRun4/TestServlet/extraParams not found

Anyone have a clue as to what's up or what we're doing wrong?  Thanks, BenG.
-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


__
Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Storing xml in oracle 8i

2002-08-02 Thread Ben Groeneveld

Verma, you could map the file directory to your web server, then it 
could be served to anyone to whom you provide access.  But that may not 
be what you are looking for.  Hope that helps, BenG.

[EMAIL PROTECTED] wrote:

>Can I modified the file being stored as a reference in oracle?
>I read, using BFILE type allows file to be used as read-only.
>Storing file on file system will make it server dependent. I have to access
>that file from multiple servers.
>Any thought.
>
>
>-Original Message-----
>From: Ben Groeneveld [mailto:[EMAIL PROTECTED]]
>Sent: Friday, August 02, 2002 12:04 PM
>To: JRun-Talk
>Subject: Re: Storing xml in oracle 8i
>
>
>Verma, if you are looking for performance, consider storing your large 
>objects outside of oracle directly on the file system.  You can store a 
>reference to the file in oracle.  Filesystems are pretty good at serving 
>large stuff quickly - works great for us!  Hope that helps, BenG.
>
>[EMAIL PROTECTED] wrote:
>
>>Hi All,
>>Has anybody ever faced a challenge to store bigger size xml or any other
>>file in the oracle 8i database.
>>I tried using the folloing schema-
>>CREATE TABLE ADVT_XML (
>>XML_NAME VARCHAR(32),
>>XML_DATA CLOB)
>>STORAGE (INITIAL 10M NEXT 10M)
>>TABLESPACE ASI_DATA
>>LOB (XML_DATA) STORE AS advt_xml_lob
>>(TABLESPACE asi_test DISABLE STORAGE IN ROW
>>STORAGE (INITIAL 5M NEXT 5M)
>>CHUNK 32
>>PCTVERSION 0
>>NOCACHE LOGGING );
>>
>>
>>But I could save only 9k out of 15k file. And took almost 3 minutes to
>>
>save.
>
>>Has anybody ever done this?
>>
>>Thanks
>>
>
>
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Storing xml in oracle 8i

2002-08-02 Thread Ben Groeneveld

Verma, if you are looking for performance, consider storing your large 
objects outside of oracle directly on the file system.  You can store a 
reference to the file in oracle.  Filesystems are pretty good at serving 
large stuff quickly - works great for us!  Hope that helps, BenG.

[EMAIL PROTECTED] wrote:

>Hi All,
>Has anybody ever faced a challenge to store bigger size xml or any other
>file in the oracle 8i database.
>I tried using the folloing schema-
>CREATE TABLE ADVT_XML (
>XML_NAME VARCHAR(32),
>XML_DATA CLOB)
>STORAGE (INITIAL 10M NEXT 10M)
>TABLESPACE ASI_DATA
>LOB (XML_DATA) STORE AS advt_xml_lob
>(TABLESPACE asi_test DISABLE STORAGE IN ROW
>STORAGE (INITIAL 5M NEXT 5M)
>CHUNK 32
>PCTVERSION 0
>NOCACHE LOGGING );
>
>
>But I could save only 9k out of 15k file. And took almost 3 minutes to save.
>Has anybody ever done this?
>
>Thanks
>
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Java/Excel

2002-08-01 Thread Ben Groeneveld

Kans, I have found that the easiest way to do this is to simply alias 
your jsp or servlet to somename.csv.  Then, if you just return a file 
with comma separated values, your IE will open MSExcel as an OLE thingy. 
 Netscape will may prompt you.  So, like this in your web.xml:


Sql2Csv
/forms/sql2csv.jsp


Sql2Csv
/forms/sql2csv.csv



When IE sees that the file type of .csv it loads the results into Excel. 
 So it *only* works if your URL ends with .csv, so you must POST if 
parameters are needed.  You just need to write the csv to the stream (in 
jsp out.print()).  To help Netscape you can add content type like so:

<%@ contentType="application/vnd.ms-excel"
%>

There are fancier ways to do this with XML as the so called pet shop 
examples show.  However, I like the KISS principle.  Hope that helps, BenG.

Kannaiyan P wrote:

>Hi
>  I m using jrun4. i have question for you you know the finance.yahoo.com . 
>if you open any ticker for company you can see the daily stock value of the 
>particular company based on period. at same time if you want to download the 
>information you can download the data using excel file. so when user access 
>my web site i want to give option to download the data dynamically. i don't 
>know how to do that . i m using java , jsp, oracle database. please if any 
>body know the solution or code please share the information . that would 
>very helpful for me
>
>Thanks
>Kans
>
>
>
>
>
__
Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: help! Datasource!

2002-07-30 Thread Ben Groeneveld

Zafif, this is the case here.  We are doing some JNI and when we hose 
the system up such that jrun.exe won't exit, even though the vm is gone, 
but you try and start up a new instance anyway, the symptom reported in 
the log is

Port in use by another service or process: 53000

so I think your hypothesis is right on.  BenG.

[EMAIL PROTECTED] wrote:

>Thank you for your reply.  I will try to implement that this week and see how it
>goes.
>
>The real problem we are having is every now and then, one of our apps is
>crashing the jrun default server with the following msg:
>javax.servlet.ServletException: Port in use by another service or process:
>53000.
>
>I searched the web and this forum, and found the tech notes.  But it seems that
>this port is not being used by any other apps.  The only other explanation I
>have is maybe an instance of the app is not closing.  Or maybe the JDBC
>connection is not closing. So I wrote a routine to check it for the classes that
>have the connection set up and make sure to close it if it is not null, (even
>though I already instructed it to close!)
>
>It worked fine for few days and now, it crashed again.  I noticed from the logs
>that prior to that, it had created several JDBC connections but did not close
>them or time out.  I'm pretty sure that these were opened by the Jrun datasource
>and not my classes.
>
>Anyone can suggest what else we can do to resolve this?
>
> [968]   [1]java.net.BindException: Port in use by another service or process:
>53000
>  [967]   07/30 15:29:28 error (JRun) JRun Aborting!
>[javax.servlet.ServletException: Port in use by another service or process:
>53000]
>  [966]   07/30 15:29:28 info (JRun) Loading control
>  [965]   07/30 15:29:28 info (license) Enabling unlimited concurrency for
>Advanced
>  [964]   07/30 15:29:28 info (JRun) Loading license
>  [963]   07/30 15:29:28 info (JRun) Loading monitor
>  [962]   07/30 15:29:11 info (JRun) Destroying jdbc
>  [961]   07/30 15:29:11 info (JRun) Destroying ejb
>  [960]   07/30 15:29:11 info (JRun) Destroying jms
>  [959]   07/30 15:29:11 info (JRun) Destroying jndi
>  [958]   07/30 15:29:11 info (JRun) Destroying mail
>  [957]   07/30 15:29:11 info (JRun) Destroying url
>  [956]   07/30 15:29:11 info (JRun) Destroying default-app
>  [955]   07/30 15:29:11 info (JRun) Destroying demo-app
>  [954]   07/30 15:29:11 info (JRun) Destroying invoice-app
>  [953]   07/30 15:29:11 info (JRun) Destroying MPDEV
>  [952]   07/30 15:29:11 info (JRun) Destroying MP Production
>  [951]   07/30 15:29:11 info (JRun) Destroying PCF
>  [950]   07/30 15:29:11 info (JRun) Destroying GEF
>  [949]   07/30 15:29:11 info (JRun) Destroying MP2
>  [948]   07/30 15:29:11 info (session) 3 session(s) persisted
>  [947]   07/30 15:29:11 info (JRun) SearchCriteria: destroy
>  [946]   07/30 15:29:11 info (JRun) invoker: destroy
>  [945]   07/30 15:29:11 info (JRun) Destroying BNWPPDev
>  [944]   07/30 15:29:11 info (JRun) Destroying web
>  [943]   07/30 15:29:11 info (JRun) Destroying jcp
>  [942]   07/30 15:26:26 info (JRun) (BNWPP)Removing JDBC connection
>jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP due to
>timeout even though connection is still in use.
>  [941]   07/30 15:25:28 info (JRun) (BNWPP) Creating JDBC connection to
>jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP
>  [940]   07/30 15:25:16 info (JRun) (BNWPP) Creating JDBC connection to
>jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP
>  [939]   07/30 15:25:05 info (JRun) (BNWPP) Creating JDBC connection to
>jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP
>  [938]   07/30 15:24:58 info (JRun) (BNWPP) Creating JDBC connection to
>jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP
>  [937]   07/30 15:23:30 info (JRun) (BNWPP) Creating JDBC connection to
>jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP
>  [936]   07/30 15:22:38 info (JRun) (BNWPP) Creating JDBC connection to
>jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP
>  [935]   07/30 15:22:32 info (JRun) (BNWPP) Creating JDBC connection to
>jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP
>  [934]   07/30 15:22:07 info (JRun) (BNWPP) Creating JDBC connection to
>jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP
>  [933]   07/30 15:21:28 info (JRun) (BNWPP) Creating JDBC connection to
>jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP
>  [932]   07/30 14:40:59 info (JRun) (BNWPP) Creating JDBC connection to
>jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP
>  [931]   07/30 14:38:26 info (JRun) (BNWPP) Removing JDBC connection
>jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP due to
>timeout
>  [930]   07/30 14:25:15 info (JRun) (BNWPP) Creating JDBC connection to
>jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP
>  [929]   07/30 14:24:26 info (JRun) (BNWPP) Removi

Re: Apache2 with JRun3.1

2002-06-26 Thread Ben Groeneveld

Thanks, BenG.

Eric Anderson wrote:

>There is currently no JRun 3.x connector for Apache 2.0.  JRun 4 supports Apache 2.0, 
>however.
>
>I might also note that Apache 1.3.26 was also created to deal with the security 
>vulnerability and I have successfully set up the JRun 3.1 connector with Apache 
>1.3.26.  You might check this out as it may meet your needs.
>
>Eric
>
>
>
>
>
>-Original Message-
>From: Ben Groeneveld [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 25, 2002 5:45 PM
>To: JRun-Talk
>Subject: Apache2 with JRun3.1
>
>
>I've just installed Apache2 to get around the chunck handling 
>vulnerability recently posted.  Is there a jrun 3.1 connector module 
>available?  I'd rather not upgrade to JRun 4 at this time.  I tried the 
>one used previously with apache 1.3.x and it didn't load.  Thanks, BenG.
>

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488



__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Jrun in suse linux 7.2

2002-04-09 Thread Ben Groeneveld

And, there's an alternate fix to this issue as well, although I have not 
needed it:

> Ben,
>
> I can't seem to reply to the list, so I'll send this along to you (if you
> want to send it to the list, you can).
>
> The reason you're having problems is that the version of tar that Red 
> Hat is
> shipping is a newer version and has had some things changed.  Please 
> take a
> look at this article from the JRun site detailing what you need to do 
> to fix
> the problem (I had the same problem when installing it on my Linux box).
>
> http://www.macromedia.com/v1/handlers/index.cfm?ID=21039&Method=Full
>
>
> Enjoy,
>
> Erik Sahl
> [EMAIL PROTECTED]

Thanks, BenG.

David Spacey wrote:

> Hi Veronika,
>
> >I tried to install Jrun server 3.1 Enterprise edition
> >on Suse Linux 7.2. with syntax:
> >
> >sh jrun31-unix-us.sh
> >
> >But it never success. It always error when installing
> >core component.
> >
> >The error message is :
> >
> >344 garbage bytes ignore at end of archieve tar: error
> >exit delayed from previous error.
>
> I had a similar problem with Redhat.  (And this despite Macromedia's 
> claim that redhat is the only supported distro.)
>
> The solution I was given by Ben Groeneveld on this list is to search 
> Macromedia's web site for patch 26414.  That copy installed perfectly 
> for me.  Why that isn't the default copy is beyond me.
>
> The other possible solution, from Sanjay Acharya, is to download and 
> install the same version of tar that Macromedia used to assemble the 
> archive.  The details are available on 
> 'http://www.macromedia.com/support/jrun/releasenotes/3/releasenotes_3_1.h' 
>
> .  I didn't need to try that.
>
> Good luck.
> -- 
>
> David Spacey
>
> [EMAIL PROTECTED]
>
> Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
> .
>

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488



__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Difficult To Reproduce Session Issue

2002-04-02 Thread Ben Groeneveld

Celeste, replace 'setHeader' with 'addHeader' in the last statement 
only?  BenG.


Haseltine, Celeste wrote:

>Will, 
>
>Good point.  All of our web pages carry the header below.  Perhaps that is
>why we have not experienced this problem.
>
>response.setHeader("Pragma","no-cache"); //HTTP 1.0  refetch completely next
>time document is
>needed.
>response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
>response.setDateHeader ("Expires", 0); //prevents caching at the proxy
>server, refetches ONLY if it
>has been modified since last fetch
>response.setHeader("Cache-Control","no-store"); //HTTP 1.1
>
>
>Celeste
>
>-Original Message-
>From: Will Berger [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, March 27, 2002 10:38 AM
>To: JRun-Talk
>Subject: RE: Difficult To Reproduce Session Issue
>
>
>I am coming late to this thread, but I thought I would give you my 2 cents.
>We ran into this problem sometime ago where it appeared to be a jrun bug
>that caused sessions to get mixed up, turned out to be that the new client
>that we signed up had a proxy caching server and our jsp were being cached.
>Adding the
>
>response.addHeader("Pragma", "No-cache");
>response.addHeader("Cache-Control", "no-cache");
>response.addDateHeader("Expires", 1);
>
>This resolved the issue.
>
>Will
>
>-Original Message-
>From: Mike Collins [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, March 27, 2002 11:01 AM
>To: JRun-Talk
>Subject: Re: Difficult To Reproduce Session Issue
>
>
>Some ideas on troubleshooting this issue:
>
>I can think of 3 reasons why someone can get the wrong session data:
>1. your jsessionid cookie somehow gets reset during the session to another
>valid session
>2. when your session is initialized you step on someone else's httpsession
>object
>3. requests with an incoming jsessionid gets bound to the wrong httpsession
>object
>
>Some ideas on troubleshooting the above scenarios:
>- upon the creation of a new session, record the jsessionid in the
>httpsession object.
>- if a value already exists you know that you have just hit #2
>- on all subsequent requests validate the jsessionid with the value on the
>httpsession object. If they are not equal you know the problem is 1 or 3.
>
>If you add these lines of code I would think you have a pretty good chance
>at isolating and stopping folks from getting the wrong session.  I would
>also hope it might lead us to a resolution.
>
>My gut tells me it is number 3,  the others seem like they would have
>revealed themselves by now.
>
>Regards,
>Mike
>
>
>
>- Original Message -
>From: "Jeff Ramin" <[EMAIL PROTECTED]>
>To: "JRun-Talk" <[EMAIL PROTECTED]>
>Sent: Wednesday, March 27, 2002 9:08 AM
>Subject: Re: Difficult To Reproduce Session Issue
>
>
>>Well, as long as we're commenting on the competition:
>>
>>My current lightweight app server of choice is Resin.  I don't have
>>much experience with it yet, but it seems solid.  And fast.  My first
>>option used to be JRun, but given that this serious bug has gotten
>>through Macromedia's quality assurance system 3 times, I have
>>lost faith.
>>
>>As for WebSphere - I don't know about versions 3.5 or 4.0 (is 4.0
>>out yet?), but I have a lot of experience with 3.0.  My advice given
>>that experience: RUN AWAY AS FAST AS YOU CAN.
>>
>>
>>michael veit wrote:
>>
>>> We evaled both of those WebSphere and WebLogic - Websphere is much
>>>
>harder to work with then is WebLogic. WebLogic is close to JRun in ease of
>administration. But they both are very expensive, but "you get what u pay
>for".
>
>>>  "Haseltine, Celeste" <[EMAIL PROTECTED]> wrote: Michael,
>>>
>>>We haven't seen this problem, not yet anyway. But our servers are not
>>>
>under
>
>>>much of a load yet, as our site is just getting off the ground. We
>>>
>expect
>
>>>that to change over the next three to four months. If we do run into the
>>>same problem, I suspect that will be the final straw for the owner of
>>>
>this
>
>>>facility, and he too will decide to go with another JSP/Servlet server.
>>>
>The
>
>>>only thing stopping him now is the much greater costs of either BEA
>>>
>Weblogic
>
>>>and IBM Websphere, which are the only two JSP/Servlet/EJB servers I
>>>
>would
>
>>>consider going to at this point in time. Of course, since I recommended
>>>JRUN Server to the owner (mainly for the much lower costs and ease of
>>>
>use
>
>>>for a young group that was new to JSP/Servlet development and web
>>>administration) it would probably mean my job. Oh well, such is life!!!
>>>
>>>If you do find a patch or get additional assistance from
>>>
>Macromedia/Allaire,
>
>>>please post it on this listserver. Good luck!!!
>>>
>>>Celeste
>>>
>>
>>
>>--
>>Jeffrey Ramin
>>Berbee
>>5520 Research Park Drive   Madison, WI 53711
>>[EMAIL PROTECTED]
>>608.298.1024
>>
>>Berbee...putting the E in business
>>
>>
>
>
>
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources fo

Re: Difficult To Reproduce Session Issue

2002-04-01 Thread Ben Groeneveld

+1 for charlie, well said :)  BenG.

"even if you are standing still you are moving backwards"

charles arehart wrote:

>Speaking only for myself (whose attitude I assume you didn't understand),
>I'm talking about letting by-gones be by-gones, considering it water under
>the bridge, what's past is past, etc. Let's move forward and judge based on
>what 's done now as much as what's been done in the past. As I said,
>
>>>If future similar situations are addressed similarly, that's
>>>great news for those of us remaining committed to JRun.
>>>
>
>If the damage to anyone's faith and hope is irreparable, then so be it. I'll
>just assert that as a beta tester of JRun 4 (and observer of the growth in
>the standards-support of the product through 3 and 3.1), it seems that the
>resources being dedicated to JRun and the improvements in the product are
>such that we have much to look forward to.
>
>And as was asserted by later notes today, sometimes problems like this are
>found to be caused by entirely unexpected situations--and sometimes not even
>the fault of the vendor. But as you said in a later note, let's not debate
>it. As I said, I just want to have a hopeful outlook about the future. Maybe
>it's a little pollyanna, but so be it. :-) I certainly don't mean to
>diminish the importance of the problem or its severity for those who
>suffered it.
>
>/charlie
>
>>-Original Message-
>>From: Jeff Ramin [mailto:[EMAIL PROTECTED]]
>>Sent: Monday, April 01, 2002 9:24 AM
>>To: JRun-Talk
>>Subject: Re: Difficult To Reproduce Session Issue
>>
>>
>>
>>
>>I don't understand this attitude.  We're talking about a very serious
>>bug that Macromedia has known about for close to a year now.  It
>>got through their testing/release process twice.  They had a similar
>>"we will do whatever it takes to fix this problem" response in
>>November, which resulted in a patch that didn't fix the problem.
>>
>>I wouldn't call this a "great" response.  More like feeble.
>>
>>If you're using JRun for development, or for an intranet where
>>session affinity isn't important, then I can understand.  But if you
>>continue to use it in other environments, you are merely ignoring
>>the issue.
>>
>>
>>charles arehart wrote:
>>
>>>Wow, great way to respond to the issue. Thanks, Mike and Macromedia.
>>>
>>>Let's hope folks don't jump in with trite replies like "about
>>>
>>time", etc. It
>>
>>>really won't add anything meaningful to the situation. If future similar
>>>situations are addressed similarly, that's great news for those of us
>>>remaining committed to JRun.
>>>
>>>/charlie
>>>
>
>
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Connection reset by peer: socket write error

2002-03-28 Thread Ben Groeneveld

What's JRun's Oracle driver?  Have you tried using oracle's free thin 
driver?  We use oracle JDBC driver-8.1.6.2.0 on a large variety of 
projects and operations w/o a hiccup.  Maybe trying it will help you.  BenG.

[EMAIL PROTECTED] wrote:

>Hi,
>I am getting the following error while accessing the database. 
>I have JRun 3.1.15506 app server running on win2000 and NT both, and using
>oracle database. Instead of using JRun's connection pool for oracle I am
>using my own connection pool. The system works fine most of the times but
>all of a sudden it starts giving "Connection reset by peer". I didn't have
>this problem when I was using JRun's Oracle thin driver connection pool
>before. But for migrating reasons I started using my own connection pool.
>Sometimes when I query the database using preparedStatement, it throws the
>below exception. I am seeing the same exception both on NT and win2000. 
>Please tell what might the reason behind.
>Thanks
>_
>_
>
>Thu Mar 28 10:13:31 EST 2002
>Io exception: Connection reset by peer: socket write error
>java.sql.SQLException: Io exception: Connection reset by peer: socket write
>error
>   at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
>   at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
>   at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
>   at
>oracle.jdbc.driver.OracleStatement.(OracleStatement.java:292)
>   at
>oracle.jdbc.driver.OracleStatement.(OracleStatement.java:307)
>   at
>oracle.jdbc.driver.OraclePreparedStatement.(OraclePreparedStatement.ja
>va:194)
>   at
>oracle.jdbc.driver.OraclePreparedStatement.(OraclePreparedStatement.ja
>va:177)
>   at
>oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:3
>39)
>   at
>com.emc.asi.ejb.pool.ASIConnection.prepareStatement(ASIConnection.java:61)
>   at com.emc.asi.ejb.LoginBean.processLogin(LoginBean.java:48)
>   at java.lang.reflect.Method.invoke(Native Method)
>   at
>allaire.ejipt._BeanMethod._invoke(allaire/ejipt/_BeanMethod.java:166)
>   at
>allaire.ejipt._SessionObject._invoke(allaire/ejipt/_SessionObject.java:182)
>   at
>allaire.ejipt._CallableObject.call(allaire/ejipt/_CallableObject.java:101)
>   at java.lang.reflect.Method.invoke(Native Method)
>   at
>sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
>   at sun.rmi.transport.Transport$1.run(Transport.java:152)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at sun.rmi.transport.Transport.serviceCall(Transport.java:148)
>   at
>sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)
>   at
>sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
>06)
>   at java.lang.Thread.run(Thread.java:484)
>
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Background Thread Servlet Question

2002-03-27 Thread Ben Groeneveld

Alex, you can specify in the web.xml for the servlet to autoload when 
the container starts, and then start the threads in the init method.  To 
track your threads, first create a threadgroup, and start all your 
threads in that group.  Name each one, and then use a tool like 
OptimizeIt to track them.  OptimizeIt attaches nicely to a jrun 
container.  Be careful starting too many threads, you'll shoot yourself. 
 Most people don't realize they don't need 'em :)  Hope that helps, BenG.

RESTREPO, ALEXANDER G [Non-Pharmacia/1000] wrote:

>Hello:
>
>Does anyone have an example
>of a servlet which starts several threads
>in the background?
>
>I would also be interested in seeing how 
>I can monitor the threads the servlet
>starts. 
>
>For example let's say
>I have a LoadDatabaseServlet which starts
>5 threads.  
>
>The 5 threads are:
>
>1.  LoadEmployeeTableThread
>2.  LoadCountyTableThread
>3.  LoadZipTableThread
>4.  LoadAreaCodeTableThread
>5.  LoadPopulationTableThread
>
>I would like to monitor the status of
>the threads via the same servlet which starts
>the threads.  
>
>The status would be in the form:
>
>LoadEmployeeTableThread   has processed 121 records
>LoadCountyTableThread has processed 131 records
>LoadZipTableThreadhas processed 141 records
>LoadAreaCodeTableThread   has processed 151 records
>LoadPopulationTableThread has processed 161 records
>
>Once the threads are done the status would be:
>
>LoadEmployeeTableThread   is done processing
>LoadCountyTableThread is done processing
>LoadZipTableThreadhas processed 141 records
>LoadAreaCodeTableThread   has processed 151 records
>LoadPopulationTableThread has processed 161 records
>
>
>Any help would be greatly appreciated,
>
>Alex Restrepo
>
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Difficult To Reproduce Session Issue

2002-03-27 Thread Ben Groeneveld

Good suggestion, but the problem is occurring here on our LAN.  Thanks, 
BenG.

Will Berger wrote:

>I am coming late to this thread, but I thought I would give you my 2 cents.
>We ran into this problem sometime ago where it appeared to be a jrun bug
>that caused sessions to get mixed up, turned out to be that the new client
>that we signed up had a proxy caching server and our jsp were being cached.
>Adding the
>
>response.addHeader("Pragma", "No-cache");
>response.addHeader("Cache-Control", "no-cache");
>response.addDateHeader("Expires", 1);
>
>This resolved the issue.
>
>Will
>
>-Original Message-
>From: Mike Collins [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, March 27, 2002 11:01 AM
>To: JRun-Talk
>Subject: Re: Difficult To Reproduce Session Issue
>
>
>Some ideas on troubleshooting this issue:
>
>I can think of 3 reasons why someone can get the wrong session data:
>1. your jsessionid cookie somehow gets reset during the session to another
>valid session
>2. when your session is initialized you step on someone else's httpsession
>object
>3. requests with an incoming jsessionid gets bound to the wrong httpsession
>object
>
>Some ideas on troubleshooting the above scenarios:
>- upon the creation of a new session, record the jsessionid in the
>httpsession object.
>- if a value already exists you know that you have just hit #2
>- on all subsequent requests validate the jsessionid with the value on the
>httpsession object. If they are not equal you know the problem is 1 or 3.
>
>If you add these lines of code I would think you have a pretty good chance
>at isolating and stopping folks from getting the wrong session.  I would
>also hope it might lead us to a resolution.
>
>My gut tells me it is number 3,  the others seem like they would have
>revealed themselves by now.
>
>Regards,
>Mike
>
>
>
>- Original Message -
>From: "Jeff Ramin" <[EMAIL PROTECTED]>
>To: "JRun-Talk" <[EMAIL PROTECTED]>
>Sent: Wednesday, March 27, 2002 9:08 AM
>Subject: Re: Difficult To Reproduce Session Issue
>
>
>>Well, as long as we're commenting on the competition:
>>
>>My current lightweight app server of choice is Resin.  I don't have
>>much experience with it yet, but it seems solid.  And fast.  My first
>>option used to be JRun, but given that this serious bug has gotten
>>through Macromedia's quality assurance system 3 times, I have
>>lost faith.
>>
>>As for WebSphere - I don't know about versions 3.5 or 4.0 (is 4.0
>>out yet?), but I have a lot of experience with 3.0.  My advice given
>>that experience: RUN AWAY AS FAST AS YOU CAN.
>>
>>
>>michael veit wrote:
>>
>>> We evaled both of those WebSphere and WebLogic - Websphere is much
>>>
>harder to work with then is WebLogic. WebLogic is close to JRun in ease of
>administration. But they both are very expensive, but "you get what u pay
>for".
>
>>>  "Haseltine, Celeste" <[EMAIL PROTECTED]> wrote: Michael,
>>>
>>>We haven't seen this problem, not yet anyway. But our servers are not
>>>
>under
>
>>>much of a load yet, as our site is just getting off the ground. We
>>>
>expect
>
>>>that to change over the next three to four months. If we do run into the
>>>same problem, I suspect that will be the final straw for the owner of
>>>
>this
>
>>>facility, and he too will decide to go with another JSP/Servlet server.
>>>
>The
>
>>>only thing stopping him now is the much greater costs of either BEA
>>>
>Weblogic
>
>>>and IBM Websphere, which are the only two JSP/Servlet/EJB servers I
>>>
>would
>
>>>consider going to at this point in time. Of course, since I recommended
>>>JRUN Server to the owner (mainly for the much lower costs and ease of
>>>
>use
>
>>>for a young group that was new to JSP/Servlet development and web
>>>administration) it would probably mean my job. Oh well, such is life!!!
>>>
>>>If you do find a patch or get additional assistance from
>>>
>Macromedia/Allaire,
>
>>>please post it on this listserver. Good luck!!!
>>>
>>>Celeste
>>>
>>
>>
>>--
>>Jeffrey Ramin
>>Berbee
>>5520 Research Park Drive   Madison, WI 53711
>>[EMAIL PROTECTED]
>>608.298.1024
>>
>>Berbee...putting the E in business
>>
>>
>
>
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Difficult To Reproduce Session Issue

2002-03-26 Thread Ben Groeneveld

Thanks, that's appreciated.  BenG.

Scott Stirling wrote:

>>-Original Message-----
>>From: Ben Groeneveld [mailto:[EMAIL PROTECTED]]
>>
>>
>>You know I have provided you with a test case of a bug before and you 
>>just sat on it.
>>
>
>Yeah, I do that all the time.  What am I?  Free support guy?  Oh yeah, I am!
> 
>
>>How about offering some constructive debugging tips for this 
>>difficult issue instead?
>>
>
>Let me think about it and re-read the original description this evening and I will.
>
>Scott
>
>
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Difficult To Reproduce Session Issue

2002-03-26 Thread Ben Groeneveld

Scott, easy for you to say...and I would have done that were it 
critical. Instead, it's not.  Merely frustrating for me because it deals 
with a sys admin component of our system the customer never sees.

You know I have provided you with a test case of a bug before and you 
just sat on it.

How about offering some constructive debugging tips for this difficult 
issue instead?  

Thanks, BenG.

Scott Stirling wrote:

>Pretty frustrating for me too.  If this is such a problem, why can't anyone come up 
>with a reproducable test case?
>
>Scott S.
>Macromedia
>
>>-----Original Message-
>>From: Ben Groeneveld [mailto:[EMAIL PROTECTED]]
>>
>>I continue to have the issue with jrun 3.1 patch level 26414 
>>on redhat 
>>7.1.  The same problem was on rh  6.2.  It's very frustrating 
>>because I 
>>cannot reproduce it consistently.  I'm glad to hear someone 
>>tried their 
>>code on tomcat and no longer experience it.  I've been experimenting 
>>with jboss/tomcat on another effort, so maybe that's just the 
>>way to go. 
>> Thanks, BenG.
>>
>
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Difficult To Reproduce Session Issue

2002-03-26 Thread Ben Groeneveld

I continue to have the issue with jrun 3.1 patch level 26414 on redhat 
7.1.  The same problem was on rh  6.2.  It's very frustrating because I 
cannot reproduce it consistently.  I'm glad to hear someone tried their 
code on tomcat and no longer experience it.  I've been experimenting 
with jboss/tomcat on another effort, so maybe that's just the way to go. 
 Thanks, BenG.

Haseltine, Celeste wrote:

>Michael, 
>
>We haven't seen this problem, not yet anyway.  But our servers are not under
>much of a load yet, as our site is just getting off the ground.  We expect
>that to change over the next three to four months.  If we do run into the
>same problem, I suspect that will be the final straw for the owner of this
>facility, and he too will decide to go with another JSP/Servlet server.  The
>only thing stopping him now is the much greater costs of either BEA Weblogic
>and IBM Websphere, which are the only two JSP/Servlet/EJB servers I would
>consider going to at this point in time.  Of course, since I recommended
>JRUN Server to the owner (mainly for the much lower costs and ease of use
>for a young group that was new to JSP/Servlet development and web
>administration) it would probably mean my job.  Oh well, such is life!!!
>
>If you do find a patch or get additional assistance from Macromedia/Allaire,
>please post it on this listserver.  Good luck!!!
>
>Celeste
>
>-Original Message-
>From: michael veit [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, March 26, 2002 2:53 PM
>To: JRun-Talk
>Subject: RE: Difficult To Reproduce Session Issue
>
>
> NT 4.0, Jrun 3.1
> 
>  "Haseltine, Celeste" <[EMAIL PROTECTED]> wrote: Michael, 
>
>What version of Windows server and JRUN Server were you using when you began
>experiencing this problem? 
>
>Celeste
>
>-Original Message-
>From: michael veit [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, March 26, 2002 7:07 AM
>To: JRun-Talk
>Subject: Re: Difficult To Reproduce Session Issue
>
>
>Sebastian,
>On windows we had an issue where sessions were being switched - i.e.
>client sessions were sent to the wrong clients allowing people to see each
>others information. Needless to say what havoc that this caused. I searched
>this mail list and found someone who had a similar problem and had logged
>the problem with Allaire/Macromedia. They acknowledged it as a bug but never
>supplied an answer. I resurrected the problem on this list and sure enough I
>received a bunch of e-mail from people who were experiencing the same thing
>but assumed it was their application, not JRun that was the culprit. After a
>big uproar on this list, Macromedia responded with a patch. We applied the
>patch, but the problem still occured. Our solution was to go with another
>Java server. I have to say that none are 
>easier to use than JRun, but I am afraid we just don't have faith in JRun. I
>really liked it - easy to use and administer (EJB was a little more
>cumbersome, but I think that the ejipt solution was more stop-gap than
>anything). 
>Sebastian Millies wrote: Hello,
>
>in February, Ben Groeneveld posted a question about losing
>session attributes:
>
>http://www.mail-archive.com/jrun-talk@houseoffusion.com/msg05805.html
>
>Has this question been answered?
>
>I seem to run into a similar problem: JRun 3.1 build 26414 under
>RedHat 7.2 seems to create unexpected new sessions. The problem 
>is easily reproducible. It happens every time when I request a new JSP
>page, but not when I forward to the same JSP I'm already on (I'm using
>Struts).
>
>I log the session ID to the event-log, and see a new session is created,
>causing me to lose previously stored session attributes.
>
>It's not a time-out issue. The web.xml file sets the session timeout to 30
>minutes.
>
>It doesn't seem to be a permission problem: Setting directory permissions
>to 777 and running JRun as root makes no difference. I've checked
>my Browser settings (IE 6) to accept all Cookies. Choice of JVM (Sun,
>Blackdown 
>or IBM) also has no influence.
>
>It's not a concurrency or load issue, either: I'm talking one single user,
>one single
>browser session.
>
>The strange thing is, this ONLY happens in the JRun/Linux combination
>- the same web application works just fine in Tomcat 3.2.4 on the same
>Red Hat box, and in JRun3.1 under NT 4.0 SP6 (although that's JRun build
>16777).
>I guess that means the application itself is guilt-free, although I've not
>been able to 
>create a scaled-down example to send to the people at Macromedia.
>
>I'm considering switching to Tomcat for production use. This problem
>diminishes
>my faith in the JRu

IIS authentication 'under' jrun

2002-03-25 Thread Ben Groeneveld

Hi, I'm looking for some iis/jrun integration advice.  We have a jrun 
3.0 app that uses form based authentication.  Nice because we can 
generate 100s of passwords in batches using pwgen and jrunpasswd.  Now 
we have the need to integrate with crystal reports under iis4 on nt4. 
 We would like to bring these crystal iis 'pages' under the jrun realm, 
which is defined in our web.xml.  I tried using a virtual mapping, but 
that doesn't work because the crystal reports use some sort of isapi 
(I'm not too familiar with this) filter that tell it to generate epf 
(encapsulated postscript, btw, pretty fancy if you haven't seen it). 
 Adding mime types to global.properties was apparently not enough.  Not 
being too knowledgeable on NT/IIS security - is there an easy way to 
accomplish this?  Note that we absolutely do not want to use an IIS/NT 
gui to admin 100s of users, so if the solution is to have IIS control 
authentication, I would gladly hear about some way to import gobs of 
user credentials.  Help is greatly appreciated.  Thanks, BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Why HTTP tunneling not working in Netscape?

2002-03-13 Thread Ben Groeneveld

Susan, there can be a number of things up.  Proxies and persistent 
connections can wreak havoc with the URLConnection class.  In your case 
the POST may not actually be happening.  These two articles helped me a lot:

http://www.javaworld.com/javaworld/jw-03-2001/jw-0323-traps_p.html
http://www.javaworld.com/javaworld/javatips/jw-javatip34.html

Also, a great new feature for those of us using URLConnection instead of 
sockets (which I still prefer) is that with 1.4 you can specify a read 
timeout (albeit using a property)!  Hope that helps, BenG.

Susan M. Orndorff wrote:

>Hi, All,
>I have followed the code in Marty Hall's Core Web Programming to send POST data 
>directly to a servlet from an applet.  The code I used is:
>
> URL url = new URL(protocol, host, port, uri);
> URLConnection uc = url.openConnection();
> uc.setUseCaches(false);
> uc.setDoOutput(true);
> ByteArrayOutputStream bs = new ByteArrayOutputStream(512);
> PrintWriter pw = new PrintWriter(bs, true);
> pw.print("ID=PennywiseTheClown&Role=BallAndPlateTwirler");
> pw.flush();
> String lengthString = String.valueOf(bs.size());
> uc.setRequestProperty("Content-Length", lengthString);
> uc.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
> bs.writeTo(uc.getOutputStream());
>
>This works great in Internet Explorer.  The use of request.getParameter() in my 
>servlet gets the ID and Role passed with pw.print.  However, when I run the same code 
>in Netscape,  request.getParameter() in my servlet yields a null value.  Can anyone 
>tell me why this is happening, and/or how to fix it?  I am using IE 5.0 and Netscape 
>4.76, JRun 3.0 with IIS running on NT4.0.  Thanks in advance for any advice or help.
>
>Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=sts
>
>.
>

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488



__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Starting JRun Servers as Service

2002-02-12 Thread Ben Groeneveld

Dan, you add it to your local startup script, usually an rc.local, or 
create a startup script by cloning one of the many in /etc/rc.d/init.d 
if you are running a sysv unix like red hat linux (maybe macromedia will 
soon ship a template like other vendors). After cloning you use a 
utility like chkconfig to ensure the new script fires up at the 
appropriate run level by creating some symbolic links.  Hope that helps, 
BenG.

Dan Tran wrote:

>what about unix?
>
>Is there  a way to automate this?
>
>-Dan
>
>
>>From: "Bob Buford" <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: JRun-Talk <[EMAIL PROTECTED]>
>>Subject: RE: Starting JRun Servers as Service
>>Date: Tue, 12 Feb 2002 16:39:36 -0500
>>
>>jrun -install  
>>
>>like
>>
>>jrun -install "JRun GCPC Server" gcpc
>>
>>see p87 of the JRun 3.0 Setup Guide
>>
>>Bob
>>
>>
>>-Original Message-
>>From: Drew Falkman [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, February 12, 2002 4:38 PM
>>To: JRun-Talk
>>Subject: Starting JRun Servers as Service
>>
>>
>>On this note...
>>
>>Does anyone know how to start a JRun Server as a service, as the Default
>>Server and Admin Server do?
>>
>>Thanks.
>>
>>-Drew Falkman
>>
>>-Original Message-
>>From: Dan Tran [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, February 12, 2002 1:24 PM
>>To: JRun-Talk
>>Subject: Re: JRUN Startup and Shutdown Settings
>>
>>
>>I think what Restrepo meant was how to start Jrun
>>automatically during system startup
>>
>>I wonder if JRUN folks have any recommendation on how ot do this?
>>
>>On the W2K, we have the option to start JRUN under
>>service.
>>
>>What about Unix?
>>
>>-Dan
>>
>>- Original Message -
>>From: "Ben Groeneveld" <[EMAIL PROTECTED]>
>>To: "JRun-Talk" <[EMAIL PROTECTED]>
>>Sent: Tuesday, February 12, 2002 12:19 PM
>>Subject: Re: JRUN Startup and Shutdown Settings
>>
>>
>>>Alex, you may look into the init method of a servlet that is
>>>
>>designated
>>
>>>to be loaded on container startup by the web.xml, and use the destroy
>>>method of the same servlet.  Hopt that helps, BenG.
>>>
>>>RESTREPO, ALEXANDER G [Non-Pharmacia/1000] wrote:
>>>
>>>>Hello,
>>>>
>>>>I want to be able to run a JSP
>>>>which stops a socket service when JRUN
>>>>is shutdown.  I also want to be able
>>>>to run a JSP which starts a Socket Service
>>>>when JRUN starts up again.
>>>>
>>>>Does anyone know if their is a good
>>>>method to do this without creating specialized
>>>>shell scripts?  Are their any JRUN settings or
>>>>files which can be modified to do this?
>>>>
>>>>
>>>>Many Thanks:
>>>>
>>>>Alex Restrepo
>>>>
>>
>>
>
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: JRUN Startup and Shutdown Settings????

2002-02-12 Thread Ben Groeneveld

Alex, you may look into the init method of a servlet that is designated 
to be loaded on container startup by the web.xml, and use the destroy 
method of the same servlet.  Hopt that helps, BenG.

RESTREPO, ALEXANDER G [Non-Pharmacia/1000] wrote:

>Hello,
>
>I want to be able to run a JSP
>which stops a socket service when JRUN
>is shutdown.  I also want to be able
>to run a JSP which starts a Socket Service
>when JRUN starts up again.
>
>Does anyone know if their is a good
>method to do this without creating specialized
>shell scripts?  Are their any JRUN settings or
>files which can be modified to do this?
>
>
>Many Thanks:
>
>Alex Restrepo
>
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Difficult To Reproduce Session Issue

2002-02-08 Thread Ben Groeneveld

Hello.  I seem to have a difficult to reproduce session issue.  I am 
loosing session attributes on occasion, and it seems to be related 
(although not for sure) to concurrent use of ie 6 with a java applet 
that connects to the server for db interaction.  Odd thing is that it is 
not immediately after one of those events - only after several more 
client/server interactions.  It seems like I get a new session.  All my 
forms and servlets communicate with the same database, whose jdbc 
connection information is stored with that user's session - so when my 
session gets lost I will see messages like:

02/08 16:19:26 error (JRun) exception.jsp: message:Can only use 'connection' or 
'datasrc' or 'driver + url'. trace:allaire.taglib.InvalidTagAttributeException: Can 
only use 'connection' or 'datasrc' or 'driver + url'. 
[allaire.taglib.InvalidTagAttributeException: Can only use 'connection' or 'datasrc' 
or 'driver + url'.]
allaire.taglib.InvalidTagAttributeException: Can only use 'connection' or 'datasrc' or 
'driver + url'.
at allaire.taglib.SqlTag.validate(SqlTag.java:100)
at allaire.taglib.SqlTag.doStartTag(SqlTag.java:168)


Can someone clue me in on what this might be - or I'm even up for some 
good debugging ideas?  I am using jrun 3.1 patch level 26414 on redhat 
7.1.  Thanks, BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Installation on Linux

2002-02-05 Thread Ben Groeneveld

David, I had the same problem on 7.1 and wound up copying the binaries 
from a successful 6.2 install.  But then, patch 26414 seems to install 
fine, which is apparently a complete install.  Maybe give that a try; 
find it by searching the knowledge base at the support site.  Hope that 
helps, BenG.

Funny, I did exactly what you did in terms of altering the script and 
eventually ran into checksum errors.  I thought it was me.

David Spacey wrote:

> Hi All,
>
> Can anyone advise on installing JRun on Linux?
>
> I've been handed a jrun server to help administer, so to help I'm 
> trying to set up a 'test' copy.  I've downloaded the developer preview 
> to install on an otherwise fresh copy of Redhat 7.1.  The install 
> script proceeds OK as far as 'Installing core components,' and then 
> exits with two error messages from tar.  These are:
>
> tar: 171 garbage bytes ignored at end of archive
> tar: Error exit delayed from previous errors
>
> I've tried downloading the whole thing again, with the same results.  
> I've also tried an altered script which pressed on regardless of the 
> errors, and some files were clearly not being installed.  Of course, 
> all this was done as root.
>
> Has anyone else experienced this?
>
> -- 
>
> David Spacey
>
> [EMAIL PROTECTED]
>
> Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
> .
>

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: LongTexts

2002-01-14 Thread Ben Groeneveld

Fred, this sounds related to msaccess and not JDBC.  I regularly update 
oracle text fields via JDBC that are 3200 wide.  Maybe see if there 
isn't another datatype you can use.  Hope that helps.  BenG.

Fred Schroomnig wrote:

>Hi All, I have an access DB for fooling about on. I'm trying to enter a text Longer 
>then 255 characters into a 'memo' field. I'm using a PreparedStatement and my code 
>looks something like this:
>
>ps = conn.prepareStatement("INSERT INTO table (First, Last, eMail,comment) VALUES(?, 
>?, ?, ?)");
>ps.setString(1, request.getParameter("First"));
>ps.setString(2, request.getParameter("Last"));
>ps.setString(3, request.getParameter("eMail"));
>ps.setString(4, request.getParameter("comment"));
>
>It works fine if the 'comments' value is less the or equal to 255 Characters, it 
>crahses with an error telling me that the String is to long. The question is how do I 
>enter Strings longer then 255 chars into a DB using JDBC?
>
>Tahnks in advance, 
>
>Chris
>

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: newbie questions - clustering

2002-01-07 Thread Ben Groeneveld

Is this true?  One of my clients has just requested an estimate for a 
clustered system.  I would also very much appreciate a response to this 
inquiry.  Thanks, BenG.

Justin MacCarthy wrote:

>We are using CF currently, but are evaluating JRun & J2EE and possibly a
>mixed cf/java platform.
>
>I've read that the current version of JRun (3.1) does not support
>clustering. When is the next version release date, is there any info on the
>features that will be included in this area? Will JRun be part of the NEO ??
>
>If you can point me towards any info, that would be excellent.
>
>Thanks ~J
>
-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: netstat, grep, etc

2001-12-19 Thread Ben Groeneveld

Jeff, you are so right.  But one really nice things about NT is the 
performance monitor.  It is just indispensable in system testing.  Are 
you aware of any such comprehensive system data collection tool for 
unix?  I've been on unix for ages and still fiddle with various scripts 
and utils.  Thanks, BenG.

Jeff Ramin wrote:

>One of the reasons I prefer unix over windows is the command
>line interface.  With knowledge of a few commands, you can get
>an amazing amount of information.
>
>There is a toolset that provides many unix commands for windows
>operating systems, for those of you that don't like pointing and
>clicking all the time:
>
>http://sources.redhat.com/cygwin/
>
>For those of you that have a unix background but must work
>in a windows environment, this is really a must see.
>
>
>
>charles arehart wrote:
>
>>Well, the netstat works in Win2k, but not the grep. :-)  At least now in my
>>Win2k Pro. And while this is still not the list of unused ports I was
>>originally seeking, it's cool to know that there's such an easy way to get
>>those that are in use.
>>
>>/charlie
>>
>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>>Sent: Monday, December 17, 2001 12:35 PM
>>To: JRun-Talk
>>Subject: Re: JRun-Talk-List V1 #7
>>
>>Jeff Ramin <[EMAIL PROTECTED]> wrote:
>>
>>>For those of you running unix, to see what ports currently
>>>have servers using them, just type:
>>>
>>>netstat -an | grep -i listen
>>>
>>This works in Windows 2000 as well.
>>
>>--Sam
>>
>>Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
>>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>>
>
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: JVM and Red Hat 7.2

2001-12-12 Thread Ben Groeneveld

Renato, download from www.ibm.com/java

bruce:~> java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20010626 (JIT enabled: jitc))
bruce:~> uname -a
Linux bruce 2.4.3-6smp #1 SMP Wed May 16 04:29:16 EDT 2001 i686 unknown
bruce:~> 

Regarding comments on the 1.4 beta - for what it's worth the plugin 
frequently freezes my IE on win32 running Oracle applets.  But then I 
haven't tested IBM's plugin there.  The IBM jdk on win32 also shows 
observable and measurable performance improvements over Sun's 1.3. BenG.


Renato wrote:

>Thanks !
>
>What version of IBM's are you using ? Where can I download it ?
>
>On Wed, 12 Dec 2001 02:22:00 -0800, Ben Groeneveld web.com> escreveu :
>
>>Renato, in testing I have observed and recorded better performance from 
>>IBM's jvm over Sun's on Redhat 7.1 for both java applications and 
>>servlets.  BenG.
>>
>>Renato wrote:
>>
>>>Hi all,
>>>
>>>Which the most stable JVM to use with JRun on RedHat 7.2 ? I heard of 
>>>
>some 
>
>>>incompatibilities with the RedHat and Java and latest Sun's JVM 1.3.1 
>>>doesn't seen to be fast and stable enough ( even with the workaround ). 
>>>Where can I download this JVM ?
>>>
>>>Thanks
>>>Renato - Brazil.
>>>Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
>>>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>>>
>>>.
>>>
>>-- 
>>Ben Groeneveld 
>>Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
>>Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488
>>
>>
>>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: JVM and Red Hat 7.2

2001-12-12 Thread Ben Groeneveld

Renato, in testing I have observed and recorded better performance from 
IBM's jvm over Sun's on Redhat 7.1 for both java applications and 
servlets.  BenG.

Renato wrote:

>Hi all,
>
>Which the most stable JVM to use with JRun on RedHat 7.2 ? I heard of some 
>incompatibilities with the RedHat and Java and latest Sun's JVM 1.3.1 
>doesn't seen to be fast and stable enough ( even with the workaround ). 
>Where can I download this JVM ?
>
>Thanks
>Renato - Brazil.
>Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
>.
>

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Page cannot be displayed

2001-11-03 Thread Ben Groeneveld

Arul, this might be due to buffering.  This went away for me when I used 
Apache as the external web server, and for the JRun web server when I 
manually set the buffer size, like so in the jsp:

<%@ page 
 buffer="32kb"
 autoFlush="true"
 language="java"
 import="allaire.taglib.*, java.sql.*" %>

Hope that helps, BenG.

Arul wrote:

>Hi 
>
>I had a peculiar problem with Jrun .We have a live site and for some 
>specific users it throws up an error "Page Cannot be displayed"
>
>It's not happenning to all , all the time .For a specific set of Users 
>it throws it occasionally.
>
>What could be the problem.??
>
>For the users who get this error , in their browsers the cookies are set 
>properly and they are not behind a firewall.
>
>The Problem is like this.They could see the Homepage(html) and they 
>could click on the JSP page (login.jsp) and when they try to submit , 
>the next instant they get this error.Is it cause of Get /Post problem in 
>Jrun
>
>we donot use any external web servers.
>
>and why does this happen with Jrun. we use Jrun3.0 with SP2
>
>-Arul
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: SV: JRun does not responds after 100 threads

2001-10-09 Thread Ben Groeneveld

Roar, unless you make special provisions each servlet request would be 
another thread.  Could it be that your threads (requests) are not 
exiting but blocking on some resource?  Can you throttle demand for that 
resource by including a synchronized method wrapped around that 
resource?  Just a thought.  BenG.

Johansen, Roar wrote:

>Ben Groeneveld wrote:
>
>>Makarand, are you hitting JRun thru the Netscape Webserver?  Then your 
>>problem may be with its max concurrency setting.  I have seen this with 
>>IIS as the front-end to JRun.  How many concurrent connections will your 
>>Netscape Webserver accept?  Make sure you are updating the external web 
>>server settings and not the JRun web server.  Hope that helps, BenG.
>>
>
>-
>
>Does anybody have any thoughts as to why the number of threads even rises to
>100? We are running a site that serves over 1200 pages a minute in peak
>hour, distributed among 6 unix servers. This means that any one server
>continuously serves 3-4 pages a second and does so with a minimum effort. In
>fact, any server rarely has more than 20-30 threads active at any time (we
>measure this by 'netstat -n | grep ESTABLISHED | grep number>'). However, from time to time this figure rises dramatically during
>a few seconds, often ending at the 100 threads, where it eventually locks
>up. My feeling is, you can bump the limits in JRun, NS and unix, but when
>this rise occurs, it will eventually eat up any resources you feed it. I
>personally am very interested in finding a reason for this sudden rise.
>
>
~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: JRun does not responds after 100 threads

2001-10-04 Thread Ben Groeneveld

Makarand, are you hitting JRun thru the Netscape Webserver?  Then your 
problem may be with its max concurrency setting.  I have seen this with 
IIS as the front-end to JRun.  How many concurrent connections will your 
Netscape Webserver accept?  Make sure you are updating the external web 
server settings and not the JRun web server.  Hope that helps, BenG.

JOGALEKAR,MAKARAND (HP-Boise,ex1) wrote:

>Hello Guys,
>
>Thanks for you feedback..
>
>We tried following options to see If it boost the performance..
>
>1) Setting everything to default in JRun's setting
>Minimum Thread Count =1
>Maximum Active Requests = 100
>
>2)  Minimum Thread Count = 5
>Maximum Active Requests = 200
>
>3)  Minimum Thread Count = 25
>Maximum Active Requests = 200
>
>4)  Minimum Thread Count = 50
>Maximum Active Requests = 500
>
>We are not using any EJB's so, we removed all EJB settings from the
>local.properties file.
>
>Hardward: 
>   OS:  Windows NT service Pack 5
>   CPU: 2 Intel Processores
>   RAM : 1 GB
>   Hard disk : 
>   c: 4 GB, 
>   d: 25 GB
>
>We are still having this threading issue of 100 threads..
>
>-Makarand
>  
>
>-Original Message-
>From: Haseltine, Celeste [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, October 04, 2001 9:43 AM
>To: JRun-Talk
>Subject: RE: Re: JRun does not responds after 100 threads
>
>
>Dave, 
>
>You made an excellent point regarding "thread thrashing".  Although I don't
>know if "thread thrashing" is completely responsible for the behavior that
>Ben is experiencing, it can certainly contribute.  If my memory serves me
>correctly, the NT and 2000 threading scheduler is based on a "preemptive"
>model, vs a Unix operating system's threading scheduler is based on a
>"time-slicing" model.  The difference being that a time slicing scheduler
>will eventually give CPU time to lower priority threads, whereas a
>preemptive scheduler may not.  It one of many reasons to consider using a
>Unix server if you expect to experience heavy traffic/load on your site. 
>
>You can write a simple program to execute a "group" threads and then one by
>one, launch another thread within your "group" and watch your performance.
>If your performance suddenly deteriorates around 50 or 100 threads, than you
>may need to upgrade your machine to include more CPU's.  Or, if you are
>really anticipating a heavy load/traffic on your server, consider porting to
>a Unix server.  That's one of the advantages of using JSP's and Java, you
>can easily port from one platform to the other if necessary.  
>
>Celeste  
>
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, October 03, 2001 6:09 PM
>To: JRun-Talk
>Subject: RE: Re: JRun does not responds after 100 threads
>
>
>Guys,
>   How many processors do you have running on your system? I do not 
>believe that this is a JRUN or java issue but a "tread thrashing" 
>issue. Basically only one thread can run at any exact moment upon a 
>CPU. By running 100 threads at once, the machine is spending a lot of 
>resources upon just switching between threads than running them. 
>Another issue to consider is that NT's thread model is not the best 
>going. I just got a dual Pentium set up and it provides a little boost, 
>but not what I had hoped for:(
>   As for our PRD systems, we use some of the larger SUN systems and 
>they handle threading very well. After some experience we have found 
>out that setting more than about 20 threads to a process(not jrun in 
>particular) provides little benefit due to I/O & other things. This 
>machine though has 64 processors to utilize.
>
>Makarand,
>   It sounds as if you might be upgrading your hardware to a UNIX 
>system to handle your load. A big perk with JSP's is that your code 
>won't have to change one bit:)
>
>Dave
>
>-Original Message-
>From: bgroeneveld 
>Sent: Wednesday, October 03, 2001 6:08 PM
>To: jrun-talk
>Cc: bgroeneveld
>Subject: Re: JRun does not responds after 100 threads
>
>
>Makarand, I have seen similar behavior.  I think there may be a JRun 
>problem.  If I setup a threadpool of 50 with an idle thread timeout of 
>60, then after a fresh jrun startup and no activity NT perfmon shows 
>the threadpool gets cleaned up.  Or if I send a burst of 100 persistent 
>connections, then after 60s the threadcount goes from 150 to 100.
>
>I am going to try an experiment with the IBM jvm later this week to 
>make sure this isn't VM related.
>
>I've had best performance leaving the threadpool at 1, even thought 
>that's not what's desired, my server/VM lives much longer that way.  
>I'm assuming that changing the threadpool causes a fault inside JRun.  
>Anyone know more?
>
>BenG.
>
>JOGALEKAR,MAKARAND (HP-Boise,ex1) wrote:
>
>>Hello,
>>
>>We are having lot of problems with JRun 3.0 or Jrun3.1,
>>If we get high volume and the thread count goes beyond 100, it does not
>>respond.
>>
>

Re: JRun does not responds after 100 threads

2001-10-04 Thread Ben Groeneveld

More to ponder...I repeated this run on my laptop now booted in
redhat 6.2.  I change the JRun web server min threads from 1 to
50, and change the idle thread timeout from 300 to 60s.  Now I
fire up the JRun 3.1 default server.  I check gtop, and I see
jrun having 95 processes (a linux thread is practically a
process).  60 seconds later this number drops to 46.  Hmm.  That
doesn't seem right.  It should be threads beyond the pool of 50
that get killed.  Ok, so now I set the min threads back to 1,
restart, and JRun default has 44 threads.  Now all these threads
are idle, none are vying for CPU.  I have a hard time accepting
this as thread-thrashing or NT vs unix. These are the exact same
results I see on NT for JRun 3.0 sp2.  I think the thread pool's
not working, or I don't understand these parameters.  What am I
missing?  Thanks, BenG.

Haseltine, Celeste wrote:

>Dave, 
>
>You made an excellent point regarding "thread thrashing".  Although I don't
>know if "thread thrashing" is completely responsible for the behavior that
>Ben is experiencing, it can certainly contribute.  If my memory serves me
>correctly, the NT and 2000 threading scheduler is based on a "preemptive"
>model, vs a Unix operating system's threading scheduler is based on a
>"time-slicing" model.  The difference being that a time slicing scheduler
>will eventually give CPU time to lower priority threads, whereas a
>preemptive scheduler may not.  It one of many reasons to consider using a
>Unix server if you expect to experience heavy traffic/load on your site. 
>
>You can write a simple program to execute a "group" threads and then one by
>one, launch another thread within your "group" and watch your performance.
>If your performance suddenly deteriorates around 50 or 100 threads, than you
>may need to upgrade your machine to include more CPU's.  Or, if you are
>really anticipating a heavy load/traffic on your server, consider porting to
>a Unix server.  That's one of the advantages of using JSP's and Java, you
>can easily port from one platform to the other if necessary.  
>
>Celeste  
>
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, October 03, 2001 6:09 PM
>To: JRun-Talk
>Subject: RE: Re: JRun does not responds after 100 threads
>
>
>Guys,
>   How many processors do you have running on your system? I do not 
>believe that this is a JRUN or java issue but a "tread thrashing" 
>issue. Basically only one thread can run at any exact moment upon a 
>CPU. By running 100 threads at once, the machine is spending a lot of 
>resources upon just switching between threads than running them. 
>Another issue to consider is that NT's thread model is not the best 
>going. I just got a dual Pentium set up and it provides a little boost, 
>but not what I had hoped for:(
>   As for our PRD systems, we use some of the larger SUN systems and 
>they handle threading very well. After some experience we have found 
>out that setting more than about 20 threads to a process(not jrun in 
>particular) provides little benefit due to I/O & other things. This 
>machine though has 64 processors to utilize.
>
>Makarand,
>   It sounds as if you might be upgrading your hardware to a UNIX 
>system to handle your load. A big perk with JSP's is that your code 
>won't have to change one bit:)
>
>Dave
>
>-Original Message-
>From: bgroeneveld 
>Sent: Wednesday, October 03, 2001 6:08 PM
>To: jrun-talk
>Cc: bgroeneveld
>Subject: Re: JRun does not responds after 100 threads
>
>
>Makarand, I have seen similar behavior.  I think there may be a JRun 
>problem.  If I setup a threadpool of 50 with an idle thread timeout of 
>60, then after a fresh jrun startup and no activity NT perfmon shows 
>the threadpool gets cleaned up.  Or if I send a burst of 100 persistent 
>connections, then after 60s the threadcount goes from 150 to 100.
>
>I am going to try an experiment with the IBM jvm later this week to 
>make sure this isn't VM related.
>
>I've had best performance leaving the threadpool at 1, even thought 
>that's not what's desired, my server/VM lives much longer that way.  
>I'm assuming that changing the threadpool causes a fault inside JRun.  
>Anyone know more?
>
>BenG.
>
>JOGALEKAR,MAKARAND (HP-Boise,ex1) wrote:
>
>>Hello,
>>
>>We are having lot of problems with JRun 3.0 or Jrun3.1,
>>If we get high volume and the thread count goes beyond 100, it does not
>>respond.
>>
>>We are just using servlets with Netscape Exterprise server 3.6 with 
>>
>EJB's at
>
>>all.
>>
>>We have disabled the EJB option for performance and also tried 
>>
>different
>
>>options
>>by setting initial thread count to 50 with maximum thread count to 
>>
>500..but
>
>>nothing works..
>>
>>Any help ??
>>
>>Thanks,
>>-Makarand
>>
>
>
>
~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: 

Re: JRun does not responds after 100 threads

2001-10-03 Thread Ben Groeneveld

Dave, agreed that 100 threads is a lot, but only if they are all busy. 
 From a unix perspective, the main thing to worry about is that the 
average queue length in front of the cpu - aka load average - is < 1. 
 As long as this is well below 1 there should not be 'thread thrashing' 
on a single headed machine, don't you think?

For example, in my experiments on NT we see JRun's VM consuming about 
100 threads (because our clients keep their sockets open, but the 
threads are largely idle).  NT and other processes account for an 
additional 4-500 threads, but CPU utilization is just some 15%.  I can 
monitor page faults as well and they stay at just a couple per second. 
 I'm having a difficult time attributing the thread 'loss' to something 
else than a bug...

Thanks, BenG.

[EMAIL PROTECTED] wrote:

>Guys,
>   How many processors do you have running on your system? I do not 
>believe that this is a JRUN or java issue but a "tread thrashing" 
>issue. Basically only one thread can run at any exact moment upon a 
>CPU. By running 100 threads at once, the machine is spending a lot of 
>resources upon just switching between threads than running them. 
>Another issue to consider is that NT's thread model is not the best 
>going. I just got a dual Pentium set up and it provides a little boost, 
>but not what I had hoped for:(
>   As for our PRD systems, we use some of the larger SUN systems and 
>they handle threading very well. After some experience we have found 
>out that setting more than about 20 threads to a process(not jrun in 
>particular) provides little benefit due to I/O & other things. This 
>machine though has 64 processors to utilize.
>
>Makarand,
>   It sounds as if you might be upgrading your hardware to a UNIX 
>system to handle your load. A big perk with JSP's is that your code 
>won't have to change one bit:)
>
>Dave
>
>-Original Message-
>From: bgroeneveld 
>Sent: Wednesday, October 03, 2001 6:08 PM
>To: jrun-talk
>Cc: bgroeneveld
>Subject: Re: JRun does not responds after 100 threads
>
>
>Makarand, I have seen similar behavior.  I think there may be a JRun 
>problem.  If I setup a threadpool of 50 with an idle thread timeout of 
>60, then after a fresh jrun startup and no activity NT perfmon shows 
>the threadpool gets cleaned up.  Or if I send a burst of 100 persistent 
>connections, then after 60s the threadcount goes from 150 to 100.
>
>I am going to try an experiment with the IBM jvm later this week to 
>make sure this isn't VM related.
>
>I've had best performance leaving the threadpool at 1, even thought 
>that's not what's desired, my server/VM lives much longer that way.  
>I'm assuming that changing the threadpool causes a fault inside JRun.  
>Anyone know more?
>
>BenG.
>
>JOGALEKAR,MAKARAND (HP-Boise,ex1) wrote:
>
>>Hello,
>>
>>We are having lot of problems with JRun 3.0 or Jrun3.1,
>>If we get high volume and the thread count goes beyond 100, it does not
>>respond.
>>
>>We are just using servlets with Netscape Exterprise server 3.6 with 
>>
>EJB's at
>
>>all.
>>
>>We have disabled the EJB option for performance and also tried 
>>
>different
>
>>options
>>by setting initial thread count to 50 with maximum thread count to 
>>
>500..but
>
>>nothing works..
>>
>>Any help ??
>>
>>Thanks,
>>-Makarand
>>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: JRun does not responds after 100 threads

2001-10-03 Thread Ben Groeneveld

Makarand, I have seen similar behavior.  I think there may be a JRun problem.  If I 
setup a threadpool of 50 with an idle thread timeout of 60, then after a fresh jrun 
startup and no activity NT perfmon shows the threadpool gets cleaned up.  Or if I send 
a burst of 100 persistent connections, then after 60s the threadcount goes from 150 to 
100.

I am going to try an experiment with the IBM jvm later this week to make sure this 
isn't VM related.

I've had best performance leaving the threadpool at 1, even thought that's not what's 
desired, my server/VM lives much longer that way.  I'm assuming that changing the 
threadpool causes a fault inside JRun.  Anyone know more?

BenG.

JOGALEKAR,MAKARAND (HP-Boise,ex1) wrote:

>Hello,
>
>We are having lot of problems with JRun 3.0 or Jrun3.1,
>If we get high volume and the thread count goes beyond 100, it does not
>respond.
>
>We are just using servlets with Netscape Exterprise server 3.6 with EJB's at
>all.
>
>We have disabled the EJB option for performance and also tried different
>options
>by setting initial thread count to 50 with maximum thread count to 500..but
>nothing works..
>
>Any help ??
>
>Thanks,
>-Makarand
>
~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



debug messages

2001-10-03 Thread Ben Groeneveld

When I turn on debug I see a lot of the following messages in my log 
file.  Probably one for each thread I have.  Does anyone know what they 
mean?  Thanks, BenG.
--
10/02 23:52:09 debug (jcp) jcp-131 caught Exception while swapping 
[java.lang.InterruptedException]

java.lang.InterruptedException

at 
allaire.jrun.jrpp.ProxyService.swapRunnable(../jrpp/ProxyService.java:51)

at allaire.jrun.ThreadPool.swapRunnable(../ThreadPool.java:223)

at allaire.jrun.WorkerThread.run(../WorkerThread.java:77)

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488

~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Security Configuration in JRun: example (path-based access contro l)

2001-08-27 Thread Ben Groeneveld

John, thanks.  I was hoping to not introduce yet another passwd 
machanism to maintain (anyone know if jrun has an LDAP interface 
planned?) by keeping it all in apache.  And 'bedankt' for the detailed 
explain below; I'll use it.  BenG.

Mullee John - ZGI wrote:

>-Original Message-
>From: Ben Groeneveld [mailto:bgroeneveld@]
>
>>>As an aside, I would also like to be able to control access to the paths 
>>>mapped by jrun using .htaccess or AuthUserFile, but it seems that they 
>>>get intercepted first by the mod_jrun.  Do you know of a way around this?
>>>
>>>BenG.
>>>
>
>Any way I can think of would be messy and, at best, not more easy to
>maintain.
>One thing might be to use a base servlet which, for every GET or POST, tries
>to
>connect back to apache (as if it was a local web-browser) with the supplied
>credentials.
>Of course you risk unwanted side-effects and worse performance...
>
>Then again, maybe some bright spark perl-coder or java-whiz has coded
>something
>that will read apache's .htaccess etc and derive a web.xml security
>constraint list..
>
>JRUN_DIR/lib/global.properties : (relevent fragments; backup your
>global.properties and edit carefully!)
>basically you need to add "authentication" to the line
>"webapp.services=scheduler,logging,session,jsp,file"
>The rest should be okay.
>
>
>## control services
>
>
># List of services to start for Servlet/JSP support
>servlet.services={servlet.webapps}
>webapp.services=scheduler,logging,session,authentication,jsp,file
>
># service aliases
>webapp.SessionManager=session
>webapp.ResourceAuthenticator=authentication
>webapp.PageTranslator=jsp
>
>
>## misc JRun properties
>
>
># login/authentication service (new for 3.0)
>authentication.class=allaire.jrun.servlet.ResourceAuthenticator
>authentication.service=propfile
> 
>authentication.propfile.class=allaire.jrun.security.PropertyFileAuthenticati
>on
>authentication.propfile.filename={jrun.rootdir}/lib/users.properties
>
>JRUN_DIR/lib/users.properties : (complete file)
>see batchfile below for adding users & computing password hashes
>
># users.properties
># (this is nonsense data !)
># my_managers
>user.B32=B3iMnzTIUIZGq
>user.B34=B5LR2zgVT5HJq
># my_team
>user.A7O=A37I7zUX4GyZq
>user.AXY=AXLHozK39XQ0q
>user.AYF=AYkiqzhPvctwq
># my_testers
>user.BDP=B3.Lvz8ULo7uq
>user.BL5=BuWDGzQo1BbLq
>user.AXU=AGXQJzAQ5/qmq
>
>group.my_managers=B32,B34
>group.my_team=A7O,AXY,AYF, group.my_managers<<
>group.my_testers=BDP,BL5,AXU
>role.my_manager_role=group.my_managers
>role.my_developer_role=group.my_team
>role.my_user_role=group.my_team, group.my_testers
>
>Also, to create users and passwords, you can use this batchfile:
>adduser.bat : (check your JDK dir and JRUN dir!) (complete file)
>
>@echo off
>REM make sure the correct JDK bin dir is first in the path
>set PATH=c:\jdk1.3\bin;%PATH%
>set JRUN_HOME=c:\progra~1\allaire\jrun
>set CLASSPATH=
>set CLASSPATH=%CLASSPATH%;%JRUN_HOME%\lib\ext\servlet.jar
>set CLASSPATH=%CLASSPATH%;%JRUN_HOME%\lib\jrun.jar
>@echo . Removing user %1 :
>java -cp %CLASSPATH% allaire.jrun.security.PropertyFileAuthentication
>-remove %JRUN_HOME%\lib\users.properties %1
>@echo . Adding   user %1 password %2 :
>java -cp %CLASSPATH% allaire.jrun.security.PropertyFileAuthentication
>-add%JRUN_HOME%\lib\users.properties %1 %2
>
>
>This app/servlet is accessed by: "http://localhost/myapp/ThingListServlet";
>or "http://User:Password@localhost/myapp/ThingListServlet";
>JRUN_DIR/servers/default/myapp/WEB-INF/web.xml : (complete file)
>
>
>
>
>ThingListServlet
> 
>be.thiscorp.my.ThingListServlet
>
> 
>managermy_manager_role
> 
>developermy_developer_role
> 
>usermy_user_role
>
>
>
>
>ThingListServlet
>/ThingListServlet
>
>
>
>
>
>
>
>
>
>
>myapp
>/*
>
>
>
>   

Re: JRun 3.1 connector disables SSI

2001-08-24 Thread Ben Groeneveld

Scott, that works!  Thanks, BenG.

Scott Stirling wrote:

>I've encountered exactly the same problem in the past, and I know how to get
>around it.
>
>The problem is I forgot that the shtml mapping is in both local.properties
>_and_ global.properties.  Sorry.
>
>If you coment out the line below in both files, restart JRun and Apache, you
>shouldn't see JRun trying to handle shtml anymore, and Apache should work as
>before with respect to shtml.
>
>webapp.servlet-mapping.*.shtml={default}
>
>If you have Apache and JRun configured this way and it still doesn't work
>(and you are sure JRun and Apache have been restarted), then this is a bug
>and we should fix it.
>
>Scott S.
>
>-Original Message-
>From: Ben Groeneveld
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Sent: 8/24/2001 1:16 PM
>Subject: Re: JRun 3.1 connector disables SSI
>
>Scott, the goal is to have apache work the way it used to before jrun
>was connected.  jrun interferes with the ssi handling as far as I can
>tell.  If I turn off jrun's .shtml handling then .shtml in the apache
>server root still doesn't work unless I rm the mod_jrun.  
>
>I have found a workaround.  Using the apache 'xbithack on' directive I
>can cause std .html files to be parsed for ssi if their file mode is +x.
>I also rename my files from .shtml to .html for this to work.
>
>I don't have evidence of anyone else seeing this issue, but would like
>to.  it's easy to reproduce.  The default redhat config for apache is to
>recognize ssi.  I'm running jrun 3.1 on redhat 6.2 with apache 1.3.14.  
>
>Thanks, BenG.
>
>Scott Stirling wrote:
>
>
>I don't understand.  Do you want JRun to handle your SSI or do you want
>Apache to?  I thought you wanted Apache to, so I sent instructions for
>disabling JRun's SSI support.  JRun's SSI is weak, and only works with a
>few
>directives, so I would recommend disabling it, and let SSI fall through
>to
>Apache.  You shouldn't have to rearrange the order of modules in Apache
>to
>achieve this -- just comment out the line below in JRun's
>global.properties
>and restart JRun and Apache.
>
>Scott 
>
>-Original Message-
>From: Ben Groeneveld
>To: JRun-Talk
>Sent: 8/24/01 12:07 AM
>Subject: Re: JRun 3.1 connector disables SSI
>
>Scott, thanks.  I would like to have it on in my apache html tree.  But 
>the mod_jrun seems to disable it.  BenG.
>
>Scott Stirling wrote:
>
>
>A sure way to disable JRun's handling of SSI, assuming you are using
>
>.shtml
>
>as the file extension for these, is remove or comment out the line in
>global.properties that makes JRun handle those files:
>
>###
>## rules
>###
>
>webapp.servlet-mapping./servlet=invoker
>webapp.servlet-mapping.*.jrun=invoker
>#webapp.servlet-mapping.*.shtml=ssifilter  <-- comment this line out
>webapp.servlet-mapping.*.jsp=jsp
>webapp.servlet-mapping.*.thtml=template
>
>Scott Stirling
>
>-Original Message-
>From: Ben Groeneveld
>To: JRun-Talk
>Sent: 8/23/01 8:16 PM
>Subject: Re: JRun 3.1 connector disables SSI
>
>Victory cry too soon!
>
>Just when shtml is working the mod_jrun stops, if I get mod_jrun to run
>
>
>
>by placing it before includes_module then shtml stops...
>
>Any help appreciated.  Thanks, BenG.  
>
>Ben Groeneveld wrote:
>
>
>John, SSI becomes disabled for all files in the apache 's.
>
>By default JRun loads their module after all others when
>
>auto-installed
>
>by the JRun admin console.  So this is interesting: I just tried
>
>
>loading 
>
>
>the JRun module first.  *This works*.  I put it back at the end of the
>
>
>
>httpd.conf and SSI stops working.  Order matters.  Thanks
>
>As an aside, I would also like to be able to control access to the
>
>
>paths 
>
>
>mapped by jrun using .htaccess or AuthUserFile, but it seems that they
>
>
>
>get intercepted first by the mod_jrun.  Do you know of a way around
>
>
>this?
>
>
>BenG.
>
>Mullee John - ZGI wrote:
>
>
>Subject: JRun 3.1 connector disables SSI
>
>Hooking up my JRun 3.1 to Apache 1.3.14 on RedHat 6.2 disables
>
>server
>
>side includes (.shtml).  It is easily reproducible.  Has anyone else
>
>
>
>seen this - is it a known problem with a workaround?  Thanks, BenG.
>
>
>Does it disable SSI for all files or only files which are also JSPs?
>Or only for files under the directory below which paths are mapped to
>mod_jrun ?
>Have you tried putting mod_jrun after all other modules loaded in the
>https.conf?
>
>john
>
>.
>
>
>
>
>

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: JRun 3.1 connector disables SSI

2001-08-24 Thread Ben Groeneveld

Scott, the goal is to have apache work the way it used to before jrun 
was connected.  jrun interferes with the ssi handling as far as I can 
tell.  If I turn off jrun's .shtml handling then .shtml in the apache 
server root still doesn't work unless I rm the mod_jrun.  

I have found a workaround.  Using the apache 'xbithack on' directive I 
can cause std .html files to be parsed for ssi if their file mode is +x. 
  I also rename my files from .shtml to .html for this to work.

I don't have evidence of anyone else seeing this issue, but would like 
to.  it's easy to reproduce.  The default redhat config for apache is to 
recognize ssi.  I'm running jrun 3.1 on redhat 6.2 with apache 1.3.14.  

Thanks, BenG.

Scott Stirling wrote:

>I don't understand.  Do you want JRun to handle your SSI or do you want
>Apache to?  I thought you wanted Apache to, so I sent instructions for
>disabling JRun's SSI support.  JRun's SSI is weak, and only works with a few
>directives, so I would recommend disabling it, and let SSI fall through to
>Apache.  You shouldn't have to rearrange the order of modules in Apache to
>achieve this -- just comment out the line below in JRun's global.properties
>and restart JRun and Apache.
>
>Scott 
>
>-Original Message-
>From: Ben Groeneveld
>To: JRun-Talk
>Sent: 8/24/01 12:07 AM
>Subject: Re: JRun 3.1 connector disables SSI
>
>Scott, thanks.  I would like to have it on in my apache html tree.  But 
>the mod_jrun seems to disable it.  BenG.
>
>Scott Stirling wrote:
>
>>A sure way to disable JRun's handling of SSI, assuming you are using
>>
>.shtml
>
>>as the file extension for these, is remove or comment out the line in
>>global.properties that makes JRun handle those files:
>>
>>###
>>## rules
>>###
>>
>>webapp.servlet-mapping./servlet=invoker
>>webapp.servlet-mapping.*.jrun=invoker
>>#webapp.servlet-mapping.*.shtml=ssifilter  <-- comment this line out
>>webapp.servlet-mapping.*.jsp=jsp
>>webapp.servlet-mapping.*.thtml=template
>>
>>Scott Stirling
>>
>>-Original Message-
>>From: Ben Groeneveld
>>To: JRun-Talk
>>Sent: 8/23/01 8:16 PM
>>Subject: Re: JRun 3.1 connector disables SSI
>>
>>Victory cry too soon!
>>
>>Just when shtml is working the mod_jrun stops, if I get mod_jrun to run
>>
>
>>by placing it before includes_module then shtml stops...
>>
>>Any help appreciated.  Thanks, BenG.  
>>
>>Ben Groeneveld wrote:
>>
>>>John, SSI becomes disabled for all files in the apache 's.
>>>
>>>By default JRun loads their module after all others when
>>>
>auto-installed
>
>>>by the JRun admin console.  So this is interesting: I just tried
>>>
>>loading 
>>
>>>the JRun module first.  *This works*.  I put it back at the end of the
>>>
>
>>>httpd.conf and SSI stops working.  Order matters.  Thanks
>>>
>>>As an aside, I would also like to be able to control access to the
>>>
>>paths 
>>
>>>mapped by jrun using .htaccess or AuthUserFile, but it seems that they
>>>
>
>>>get intercepted first by the mod_jrun.  Do you know of a way around
>>>
>>this?
>>
>>>BenG.
>>>
>>>Mullee John - ZGI wrote:
>>>
>>>>>Subject: JRun 3.1 connector disables SSI
>>>>>
>>>>>Hooking up my JRun 3.1 to Apache 1.3.14 on RedHat 6.2 disables
>>>>>
>server
>
>>>>>side includes (.shtml).  It is easily reproducible.  Has anyone else
>>>>>
>
>>>>>seen this - is it a known problem with a workaround?  Thanks, BenG.
>>>>>
>>>>Does it disable SSI for all files or only files which are also JSPs?
>>>>Or only for files under the directory below which paths are mapped to
>>>>mod_jrun ?
>>>>Have you tried putting mod_jrun after all other modules loaded in the
>>>>https.conf?
>>>>
>>>>john
>>>>
>>>>.
>>>>
>

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: JRun 3.1 connector disables SSI

2001-08-23 Thread Ben Groeneveld

Scott, thanks.  I would like to have it on in my apache html tree.  But 
the mod_jrun seems to disable it.  BenG.

Scott Stirling wrote:

>A sure way to disable JRun's handling of SSI, assuming you are using .shtml
>as the file extension for these, is remove or comment out the line in
>global.properties that makes JRun handle those files:
>
>###
>## rules
>###
>
>webapp.servlet-mapping./servlet=invoker
>webapp.servlet-mapping.*.jrun=invoker
>#webapp.servlet-mapping.*.shtml=ssifilter  <-- comment this line out
>webapp.servlet-mapping.*.jsp=jsp
>webapp.servlet-mapping.*.thtml=template
>
>Scott Stirling
>
>-Original Message-
>From: Ben Groeneveld
>To: JRun-Talk
>Sent: 8/23/01 8:16 PM
>Subject: Re: JRun 3.1 connector disables SSI
>
>Victory cry too soon!
>
>Just when shtml is working the mod_jrun stops, if I get mod_jrun to run 
>by placing it before includes_module then shtml stops...
>
>Any help appreciated.  Thanks, BenG.  
>
>Ben Groeneveld wrote:
>
>>John, SSI becomes disabled for all files in the apache 's.
>>
>>By default JRun loads their module after all others when auto-installed
>>
>
>>by the JRun admin console.  So this is interesting: I just tried
>>
>loading 
>
>>the JRun module first.  *This works*.  I put it back at the end of the 
>>httpd.conf and SSI stops working.  Order matters.  Thanks
>>
>>As an aside, I would also like to be able to control access to the
>>
>paths 
>
>>mapped by jrun using .htaccess or AuthUserFile, but it seems that they 
>>get intercepted first by the mod_jrun.  Do you know of a way around
>>
>this?
>
>>BenG.
>>
>>Mullee John - ZGI wrote:
>>
>>>>Subject: JRun 3.1 connector disables SSI
>>>>
>>>>Hooking up my JRun 3.1 to Apache 1.3.14 on RedHat 6.2 disables server
>>>>
>
>>>>side includes (.shtml).  It is easily reproducible.  Has anyone else 
>>>>seen this - is it a known problem with a workaround?  Thanks, BenG.
>>>>
>>>Does it disable SSI for all files or only files which are also JSPs?
>>>Or only for files under the directory below which paths are mapped to
>>>mod_jrun ?
>>>Have you tried putting mod_jrun after all other modules loaded in the
>>>https.conf?
>>>
>>>john
>>>
>>>.
>>>
>

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: JRun 3.1 connector disables SSI

2001-08-23 Thread Ben Groeneveld

Victory cry too soon!

Just when shtml is working the mod_jrun stops, if I get mod_jrun to run 
by placing it before includes_module then shtml stops...

Any help appreciated.  Thanks, BenG.  

Ben Groeneveld wrote:

>John, SSI becomes disabled for all files in the apache 's.
>
>By default JRun loads their module after all others when auto-installed 
>by the JRun admin console.  So this is interesting: I just tried loading 
>the JRun module first.  *This works*.  I put it back at the end of the 
>httpd.conf and SSI stops working.  Order matters.  Thanks
>
>As an aside, I would also like to be able to control access to the paths 
>mapped by jrun using .htaccess or AuthUserFile, but it seems that they 
>get intercepted first by the mod_jrun.  Do you know of a way around this?
>
>BenG.
>
>Mullee John - ZGI wrote:
>
>>>Subject: JRun 3.1 connector disables SSI
>>>
>>>Hooking up my JRun 3.1 to Apache 1.3.14 on RedHat 6.2 disables server 
>>>side includes (.shtml).  It is easily reproducible.  Has anyone else 
>>>seen this - is it a known problem with a workaround?  Thanks, BenG.
>>>
>>Does it disable SSI for all files or only files which are also JSPs?
>>Or only for files under the directory below which paths are mapped to
>>mod_jrun ?
>>Have you tried putting mod_jrun after all other modules loaded in the
>>https.conf?
>>
>>john
>>
>>.
>>
>

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: JRun 3.1 connector disables SSI

2001-08-23 Thread Ben Groeneveld

John, SSI becomes disabled for all files in the apache 's.

By default JRun loads their module after all others when auto-installed 
by the JRun admin console.  So this is interesting: I just tried loading 
the JRun module first.  *This works*.  I put it back at the end of the 
httpd.conf and SSI stops working.  Order matters.  Thanks

As an aside, I would also like to be able to control access to the paths 
mapped by jrun using .htaccess or AuthUserFile, but it seems that they 
get intercepted first by the mod_jrun.  Do you know of a way around this?

BenG.

Mullee John - ZGI wrote:

>>Subject: JRun 3.1 connector disables SSI
>>
>
>>Hooking up my JRun 3.1 to Apache 1.3.14 on RedHat 6.2 disables server 
>>side includes (.shtml).  It is easily reproducible.  Has anyone else 
>>seen this - is it a known problem with a workaround?  Thanks, BenG.
>>
>
>Does it disable SSI for all files or only files which are also JSPs?
>Or only for files under the directory below which paths are mapped to
>mod_jrun ?
>Have you tried putting mod_jrun after all other modules loaded in the
>https.conf?
>
>john
>
>.
>

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



JRun 3.1 connector disables SSI

2001-08-22 Thread Ben Groeneveld

Hooking up my JRun 3.1 to Apache 1.3.14 on RedHat 6.2 disables server 
side includes (.shtml).  It is easily reproducible.  Has anyone else 
seen this - is it a known problem with a workaround?  Thanks, BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: what is "Exception while swapping" ?

2001-08-08 Thread Ben Groeneveld

Thanks, that's a good idea.  We'll try implementing SingleThreadModel to 
see if that has a positive effect.  BenG.

Haseltine, Celeste wrote:

>The swapRunnable and run methods clearly point to Thread execution in JRUN.
>My guess is that you have a thread conflict, or possible a "race" condition
>between two execution threads, which is causing your product to "lock-up"
>while waiting for one of the threads to complete execution.  Without seeing
>your code I am making a total guess, but is your servlet code designed to be
>multi-threaded, or did you design it to be single threading only?  If it is
>designed to be multi-threaded, did you synchronize the methods in your
>servelet class that require synchronization.  Also, if your servlet is
>accessing your db, are you using a driver that can implement connection
>pooling (i.e. pull a connection thread out of the connection pool), and if
>so, did you select the connection pooling checkbox in the JRUN JDBC console?
>Those are just a few educated guesses as to the things I would look into
>without knowing more about your servlet code.
>
>Hope this helps!!!
>
>Celeste
>
>   
>
>-Original Message-
>From: Ben Groeneveld [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 08, 2001 12:08 PM
>To: JRun-Talk
>Subject: what is "Exception while swapping" ?
>
>
>In an attempt to debug what appears to be a lockup we turned debug on in 
>logging.  One thing we see is this:
>
>--
>08/07 16:04:43 info (JRun) f_req_drw_Servlet.doGet END
>08/07 16:05:00 debug (web) web-480 caught Exception while swapping 
>[java.lang.InterruptedException]
>java.lang.InterruptedException
>at allaire.jrun.http.WebService.swapRunnable(WebService.java:118)
>at allaire.jrun.ThreadPool.swapRunnable(ThreadPool.java:223)
>at allaire.jrun.WorkerThread.run(WorkerThread.java:77)
>
>08/07 16:05:10 debug (web) Limiting InputStream read to '-2' bytes to 
>maintain keepalive.
>08/07 16:05:10 info (JRun) f_req_drw_Servlet.doPost BEGIN
>--
>
>The END / BEGIN info's signify our code appears fine.  Can someone clue 
>me in on what this might mean?  Thanks, BenG.
>

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



what is "Exception while swapping" ?

2001-08-08 Thread Ben Groeneveld

In an attempt to debug what appears to be a lockup we turned debug on in 
logging.  One thing we see is this:

--
08/07 16:04:43 info (JRun) f_req_drw_Servlet.doGet END
08/07 16:05:00 debug (web) web-480 caught Exception while swapping 
[java.lang.InterruptedException]
java.lang.InterruptedException
at allaire.jrun.http.WebService.swapRunnable(WebService.java:118)
at allaire.jrun.ThreadPool.swapRunnable(ThreadPool.java:223)
at allaire.jrun.WorkerThread.run(WorkerThread.java:77)

08/07 16:05:10 debug (web) Limiting InputStream read to '-2' bytes to 
maintain keepalive.
08/07 16:05:10 info (JRun) f_req_drw_Servlet.doPost BEGIN
--

The END / BEGIN info's signify our code appears fine.  Can someone clue 
me in on what this might mean?  Thanks, BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Setting Blob and Clob data in Oracle from an EJB.

2001-08-08 Thread Ben Groeneveld

Depending on your application, consider storing the blobs directly on 
disk.  Filesystems can be efficient and fast.  Just keep a reference to 
them in oracle.  BenG.

Mark A. Sandee wrote:

>I managed to set blob and clob data in Oracle 8.1.5 and 8.1.8 using EJBs,
>but it was a real kludge.
>I was wondering if anyone knew of a better solution.
>
>The problem is that when you access a blob (or clob) field in Oracle you
>just get a
>blob locator.  This locator in turn is used to obtain the blob object to
>which the data
>can be written.  To do this, you have to use SELECT ... FOR UPDATE to lock
>the row
>to ensure the blob locator remains valid.  I guess a transaction is needed
>here, but how does
>that work with a pooled connection that wants to autocommit after every
>statement?
>
>I use the routine below in a Session bean to accomplish the job.  It won't
>work
>without the "FOR UPDATE", saying the row is not locked.  Using the "FOR
>UPDATE" is not
>allowed with AutoCommit true.  Setting AutoCommit to false is not allowed
>with a pooled
>connection.  Thus, I could only get this to work by using a non-pooled
>connection
>which in the code below costs a lot of time for each blob!  I'm using JRun
>3.0 SP2.
>
>Bottom line is I'd like to use a pooled connection and keep this code in the
>BMP EJB.
>Can I set blob data in Oracle using a pooled connection?
>
>  public void setBlobData(String tableName, String pkey, int pkeyId,
>InputStream dataIS)
>   throws RemoteException {
>int chunkSize = 1988;  // This number is optimized for the table chunk
>size
>byte[] buffer = new byte[chunkSize];
>
>
>try {
>  // NOTE: The setting of the blob data was moved to session bean
>ImageBlob.  This was
>  // done so that a separate non-pooled connection to the database could
>be used so
>  // the command .setAutoCommit(false) could be used.  I could not set
>the blob data
>  // without first turning off auto commit which is not allowed with a
>pooled connection.
>  // This is why "source1" is not used here to get the connection.
>  // Creating a connection outside of the connection pool is not
>desirable and should
>  // only be done if absolutely necessary.  i.e. Don't get connections
>this way in other
>  // places.
>  Class.forName(jdbcDriver);
>
>  Connection connection = DriverManager.getConnection(jdbcConnectString,
> jdbcUsername, jdbcPassword);
>  connection.setAutoCommit(false);
>  try {
>
>BLOB blob;
>Statement stmt = connection.createStatement();
>String cmd = "SELECT BlobData FROM "+tableName+
>" WHERE "+pkey+" = "+pkeyId+" FOR UPDATE";
>ResultSet res = stmt.executeQuery(cmd);
>if (res.next()) {
>  // Get blob locator from the result set
>  blob = ((OracleResultSet)res).getBLOB(1);
>
>  OutputStream outstream = blob.getBinaryOutputStream();
>
>  int length = -1;
>  // Copy the data to the BLOB
>  while ((length = dataIS.read(buffer)) != -1) {
>outstream.write(buffer, 0, length);
>  }
>  outstream.close();
>  res.close();
>  connection.commit();
>}
>stmt.close();
>  } catch (IOException e) {
> e.printStackTrace();
>throw new RemoteException(e.toString());
>  } finally {
>connection.close();
>  }
>
>} catch (SQLException e) {
>  e.printStackTrace();
>  throw new RemoteException(e.toString());
>} catch (ClassNotFoundException e) {
>  e.printStackTrace();
>}
>  }
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: bean newbie question

2001-08-03 Thread Ben Groeneveld

That's interesting, we do just the same but with CVS.  I'm curious, do 
you use makefiles for your build or have you come across a better tool? 
 Makefiles have been nice in that we can build from the same repository 
on linux and windows using cygwin.  BenG.

Haseltine, Celeste wrote:

>Jay, 
>
>I don't know about your development environment, but I require all
>developers to install the free version of JRUN on their local development
>machines.  Everyone is also required to update their local source code from
>source safe upon notice, so that every developer has the same product
>framework to work with.  This way, each individual can work on his segment
>of the product using his local copy of JRUN and IIS as the server on his
>local machine.  Upon completion of development and local testing by the
>individual developer, his source code is uploaded to both source safe and to
>a development server upon approval of his lead.  This is usually done on a
>weekly basis.  This way, our testing department can test the entire product
>on a development server that every developer is mapped to.  We can also use
>the development server to discuss and view code during meetings.  
>
>I do not advocate using a development server for a large group of developers
>to actually develop on together.  It's too easy for one person to make a
>change that subsequently "breaks" the product for everyone else, and brings
>the development process to a halt.  By having a "development" environment
>installed on each persons computer, every programmer can proceed at his/her
>pace, and we can control when "changes" are uploaded to the development
>server.  This way, the entire development server rarely goes down, and
>development process can proceed on schedule.
>
>I would be interested in any input from anyone else out there that has come
>up with a better software management/development process for web
>applications than the one I outlined above.  
>
>Celeste   
>
>
>
>-Original Message-
>From: Jay [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, August 02, 2001 12:51 PM
>To: JRun-Talk
>Subject: Re: bean newbie question
>
>
>Its a terrible thing. Imagine in a multi-developer environment how all of
>this can have an effect on productivity - restarting all the time...
>It ought to automatically recognize a modified bean - just like a modified
>JSP, and recompile and create a new class file.
>
>Can someone from Macromedia comment???
>
>
>- Original Message -
>From: "Jackie Comeau" <[EMAIL PROTECTED]>
>To: "JRun-Talk" <[EMAIL PROTECTED]>
>Sent: Thursday, August 02, 2001 7:05 AM
>Subject: RE: bean newbie question
>
>
>>So, you recommend every time you make a JSP change to stop and restart the
>>server to make sure JRun recognizes the change? I have not run into this
>>yet, but I'm just playing around with JSP and actually developing anything
>>serious yet.
>>
>>This is not a good thing! Is this a possible bug with JRun and has it been
>>reported?
>>
>>I think I would test my JSP's changes anyways before putting them into
>>production, so hopefully I won't come up with problems of new class files
>>not replacing old automatically. But yeah, I see the problem if your
>>copying your changes over assuming the production server is going to
>>recompile.
>>
>>Hmmm, not good!
>>
>>Jackie
>>
>>On Wednesday, August 01, 2001 6:00 PM, Haseltine, Celeste
>>[SMTP:[EMAIL PROTECTED]] wrote:
>>
>>>Jay,
>>>
>>>To answer your question, I don't think you can.  The server loads all
>>>
>>your
>>
>>>classes into memory, along with your compiled JSP pages.  If your in a
>>>development mode, JRUN will compile your JSP's to servlets the first
>>>
>time
>
>>>you request the JSP, and subsequently when it see's that the "saved"
>>>
>date
>
>>is
>>
>>>newer than the compile date.  But not so for class files.  In order to
>>>replace an old class file with a new class file in memory, you have to
>>>
>>stop
>>
>>>and restart the server.  Although this is not usually required for JSP
>>>pages, but I have had times where minor changes in a JSP did NOT cause
>>>
>>JRUN
>>
>>>to recompile the JSP to a servlet, and I had to stop/restart the server
>>>
>>in
>>
>>>order to reflect the changes in the JSP page also.
>>>
>>>If you are using JRUN studio as your IDE, you can stop and restart the
>>>server from within the IDE using hotkeys.  If not, you can assign a
>>>
>>shortcut
>>
>>>to your desktop and stop/restart the server from the shortcut.
>>>
>>>Celeste
>>>
>>>-Original Message-
>>>From: Jay [mailto:[EMAIL PROTECTED]]
>>>Sent: Wednesday, August 01, 2001 7:45 PM
>>>To: JRun-Talk
>>>Subject: bean newbie question
>>>
>>>
>>>This should be simple.  I have created a bean, the first time I execute
>>>
>a
>
>>>JSP page that calls the bean, a class file is created for the bean and
>>>
>>the
>>
>>>jsp page in C:\test\WEB-INF\jsp.   I then have to move the bean.class
>>>
>>file
>>
>>>into the C:\test\WEB-INF\classes directory for my code to
>>>
>>execute.(because I

Re: Newbie question/Debate

2001-07-24 Thread Ben Groeneveld

I think you see the point:

  MS: run anything on windows
  Sun: run java on anything

Vijay Menon wrote:

> All this also depends on where you want the final application to run.
> Microsoft's .NET platform will work only on Windows. They are not saying
> anything about "run anywhere". They are only saying "develop in anything u
> want" but you have to run it on windows. Sure, they are talking about
> developing the .NET libraries for other platforms but that may or may not
> happen.
> 
> Also, at least in my experience, win nt and all, require a lot of
> maintainance. But normally, any unix server, once set up, will run forever
> without restarting or much maintainance.
> 
> If the project is small or for a medium company and everything is within the
> windows OS, it pretty much does not matter what you use, but asp and all
> have an advantage as development time can be quicker and thus, cheaper.
> 
> 
-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Newbie question/Debate

2001-07-24 Thread Ben Groeneveld

Bear in mind that's it's not so 1-2-3 as you make it sound. It is my 
understanding from the developer of the cobol .net compiler for hitachi 
that you must code in a proper subset of the language.  I think that if 
you want to use .net you are best coding in its native language c#.  BenG.

James Alexander wrote:

> Ummthats not quite correct. With .NET I can use any language I want,
> as long as it has a MSIL compiler. If I want to use Java, I can use
> Java. If I want to write an entire asp.net web app in C++ I can. Am I
> locked in if I choose to use C++? I can use any language I want. On top
> of that there are efforts underway for porting the .NET CLR (common
> language runtime) to other platforms for true platform independence.
> Pretty groovy huh? :)
> 
> james
> 
> -Original Message-
> From: Jackie Comeau [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, July 24, 2001 10:28 AM
> To: JRun-Talk
> Subject: RE: Newbie question/Debate
> 
> Good question.
> 
> With Microsoft, your locked into Microsoft technologies. With Java, you
> can 
> select any platform you want. Also, if you move your platform, there is 
> little to no rewriting of code (I'm talking J2EE platform). You can go
> to 
> any server that is J2EE certified and just move your platform over.
> 
> Another advantage is that it's evolving and merging with all the new 
> technologies out there. This may be more of a long-term benefit.
> 
> As far as running as a platform/server language, it has a head-start
> over 
> Microsoft. Microsoft has not released it's .Net yet, has it? But J2EE
> has 
> been out since December, 1999.
> 
> There are disadvantages with Java. It basically uses only the java 
> language. It works with other languages, but it is language-neutral.
> 
> As a Java developer, your skills are more transferable. If your a
> Microsoft 
> developer, your locked into their skills.
> 
> Jackie
> 
> On Monday, July 23, 2001 10:09 PM, Bert [SMTP:[EMAIL PROTECTED]] 
> wrote:
> 
>> I know a lot of companies are using Java , Ejb , Oracle
>> and Jsp but what are real the main benefits besides being cross
> 
> platform
> 
>> than using Asp and Com,Com+ or Asp.net and C# . I know these are 
> 
> Microsoft
> 
>> only platform but what is the real advantage as to using Java in the
> 
> real
> 
>> world?
>> 
>> 
>> 
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Newbie question/Debate

2001-07-23 Thread Ben Groeneveld

One of the nice things I like is my ability to adjust and scale.  In my 
current project I am just butting up against 2gbyte file limits on std 
32bit intel linux.  I know I can easily upgrade to a pay-for-unix, get 
huge files, and don't have to worry about my apps written in 
java/servlet/oracle.  BenG.

Bert wrote:

> I know a lot of companies are using Java , Ejb , Oracle
> and Jsp but what are real the main benefits besides being cross platform
> than using Asp and Com,Com+ or Asp.net and C# . I know these are Microsoft
> only platform but what is the real advantage as to using Java in the real
> world?
> 
> 
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Servlet request object and multipart/form-data

2001-07-16 Thread Ben Groeneveld

Yes, the oreilly package is great.  The only limitation we found is the 
upload size being checked with a Java int which limits the size of 
uploads to 2G...  BenG.

Moore, Jim wrote:

> check out oreilly's servlet package. it contains a good multipart request
> handler class:
> 
> http://www.servlets.com/cos/index.html
> 
> --jim
> 
> -Original Message-
> From: Nathan Wheat [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 15, 2001 10:43 PM
> To: JRun-Talk
> Subject: Servlet request object and multipart/form-data
> 
> 
> Hi all,
> 
> I'm reading values in from a form submission, and if the form is encoded
> with "multipart/form-data", I can't seem to use the getParameter method to
> retrieve any values.  Am I being stupid, or is this in fact true?  What's
> the way to work with multipart forms??
> 
> TIA,
> 
> Nathan Wheat
> Technical Sales Consultant
> Firmware Design
> Phone:  0401 148 989
> Email:  [EMAIL PROTECTED]
> http://www.firmware.com.au
> 
> Are you a Web Developer or Designer?
> Looking for an edge? If so, check out Web Design 2001
> Go to the link Below to find out more & register
> 
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: JRun 3.1 Stability

2001-06-20 Thread Ben Groeneveld

Alpesh, we have most definately run into problems with jrun 3.1 
configured with jdk 1.3.1 and Oracle 8.1.6 on radhat 6.2.  SQL UPDATE 
statements don't work in the jrun:sql tag.  I would like to report this 
to Allaire because I've narrowed this down quite well, but they want 
your credit card to report bugs - so they suggested I report it to this 
list.  I have reported this issue 6/15:

> Has anyone else seen these issues when upgrading to 3.1?
> 
> (1) 'update' statements fail to be parsed and run in the jsp:sql tag 
> resulting in an out of memory message
> (2) the sql tag scripting method .resetCursor() vanished and must be 
> replaced with .beforeFirst(), a java.sql.rowSet interface
> (3) the parser is much more sensitive to requiring scripting parameters 
> be enclosed in double quotes, but that's probably a good thing.  
> however, the line numbering info it returns is useless
> 
> I haven't found a workaround to (1) so if anyone has please let me 
> know.  Thanks, BenG.


Alpesh Shah wrote:

> Is anyone running JRun 3.1 in production, and have their been any stability
> issues, or issues with Oracle.
> 
> Alpesh Shah
> Principal/Director of Technology
> Revolutionary Systems, LLC
> 
> Phone  908.668.4700
> Fax908.668.9045
> E-Mail [EMAIL PROTECTED]
> Webhttp://www.revsystems.com
> 
> 
> Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> 
> 

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



jrun 3.1 sql tag issues

2001-06-15 Thread Ben Groeneveld

Has anyone else seen these issues when upgrading to 3.1?

(1) 'update' statements fail to be parsed and run in the jsp:sql tag 
resulting in an out of memory message
(2) the sql tag scripting method .resetCursor() vanished and must be 
replaced with .beforeFirst(), a java.sql.rowSet interface
(3) the parser is much more sensitive to requiring scripting parameters 
be enclosed in double quotes, but that's probably a good thing.  
however, the line numbering info it returns is useless

I haven't found a workaround to (1) so if anyone has please let me 
know.  Thanks, BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



bad magic number on NT crash

2001-05-29 Thread Ben Groeneveld

We seem to have a recurring problem with java servlet classes getting 
corrupted when NT gets shutdown ungracefully.  A recompile always solves 
the problem, but that's a big hassle.  I was wondering

(1) does anyone else have this problem?  a note is that our linux based 
servers don't see this and are using the same rev of JRun (3.01) and 
JDK(1.3).
(2) can I mitigate this by turning off any sessions or other objects 
JRun is trying to recover?

The log below is from jrun/logs/default-event.log.  The errors occurs on 
a jsp (f_req_maint) that is forwarded to from a servlet 
(f_req_maint_Servlet).  The jsp loads a bean, but it doesn't get that 
far.  Thanks, BenG. 
--

05/29 08:24:31 error (JRun) f_req_maint_Servlet.doGet [javax.servlet.ServletException: 
jrun__forms__f_req_maint2ejsp16 (Bad magic number)]
[1]java.lang.ClassFormatError: jrun__forms__f_req_maint2ejsp16 (Bad magic number)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
at allaire.jrun.servlet.JSPClassLoader.loadClass(JSPClassLoader.java:82)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at 
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader.java:221)
at 
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader.java:190)
at 
allaire.jrun.servlet.JRunServletLoader.loadServlet(JRunServletLoader.java:177)
at allaire.jrun.servlet.JRunSE.getServletReference(JRunSE.java:1261)
at allaire.jrun.jsp.JSPServlet.loadServlet(JSPServlet.java:241)
at allaire.jrun.jsp.JSPServlet.loadPage(JSPServlet.java:181)
at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:169)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at 
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88)
at f_req_maint_Servlet.doGet(f_req_maint_Servlet.java:113)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at 
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107)
at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
at allaire.jrun.WorkerThread.run(WorkerThread.java:75)
[0]javax.servlet.ServletException: jrun__forms__f_req_maint2ejsp16 (Bad magic number)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:942)
at 
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88)
at f_req_maint_Servlet.doGet(f_req_maint_Servlet.java:113)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at 
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107)
at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
at allaire.jrun.WorkerThread.run(WorkerThread.java:75)

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



conversion of "<" to "<"

2001-05-25 Thread Ben Groeneveld

Another conversion question - is there a class that can do these html 
safe conversions:

"<" represents the < sign
"&" represents the & sign
"" represents the " mark

etc.  Thanks, BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Bad magic number - known jvm issue?

2001-04-11 Thread Ben Groeneveld

This may not be a JRun question, but I wonder if you have seen this.  We 
had a 500 internal server error on a "Bad Magic Number", which was fixed 
by recompiling a servlet class that has become corrupted.  This seemed 
to have happened after out NT server was hit by a power outage.  I've 
seen this before on another NT server that on occasion, when not shut 
down gracefully, would have currupted files with bad magic numbers.  
That machine just ran straight Java code w/o JRun.  We also run linux, 
where I have not seen this.  Is there some known issue about class files 
getting corrupted (on NT?) when a JVM is not shutdown gracefully?  
Thanks, BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: getRowCount()

2001-03-30 Thread Ben Groeneveld

yc, it's
funny you ask because I just went thru the same.  The answer is in your std
java doc 'jdbc getting started guide' under:

5.1.4Determining the Number of Rows in a 
Result Set

BenG.

mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] 
wrote:
[EMAIL PROTECTED]">mid:[EMAIL PROTECTED]">Additional Header Information:Received: from http://www.houseoffusion.com">www.houseoffusion.com ([207.31.122.140]) by 
inside.pgi.com (LotusSMTP MTA v4.6.6  (890.1 7-16-1999)) with SMTP id 
85256A1F.005B3AFA; Fri, 30 Mar2001 11:36:28 -0500Received: from 
houseoffusion.com ([207.31.122.140])  by http://www.houseoffusion.com">www.houseoffusion.com (Post.Office MTA 
v3.5.3release 223  ID# 0-54969U100L100S0V35) with ESMTP id com 
 for mailto:[EMAIL PROTECTED]"><[EMAIL PROTECTED]>;
  Fri, 30 Mar 2001 11:24:07 -0500Content-type: text/plainContent-type: 
text/plainDate: Fri, 30 Mar 2001 11:15:18 -0500From: Ed Apostol mailto:[EMAIL PROTECTED]"><[EMAIL PROTECTED]>Message-id:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]"><[EMAIL PROTECTED]>Subject:
 correctionReply-To: mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]To: 
JRun-Talk mailto:[EMAIL PROTECTED]"><[EMAIL PROTECTED]>-Hi
 Eveyone,Does anyone knows how to get getRowCount() after I ran a query?JRun 
tag, sql does support getRowCount(), If I don't use JRun's sql tag, how canI get 
the recordcount after i ran a query?Where can I find what else method does 
JRun sql tag support?Thank youYC
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Beans reload problem

2001-03-28 Thread Ben Groeneveld

It is, confirmed by Allaire a while back when I asked the same.  I've 
heard many containers have this problem.  It's unfortunate, because I 
put a lot more code in my JSPs than I'd like too, because this is faster 
than developing beans.  Does anyone know which containers do not require 
this restart, e.g., Tomcat?  Thanks, BenG.

Nicolás Marjovsky wrote:

> Hi Len,
> So that's a JRun feature and there is no way to solve it?
> 
> Thanks,
> Nicolás
> - Original Message -
> From: "Len van Greuning" <[EMAIL PROTECTED]>
> To: "JRun-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 28, 2001 1:27 PM
> Subject: RE: Beans reload problem
> 
> 
>> Hi Nicolas
>> 
>> You need to restart JRun after changing the bean.
>> 
>> Len van Greuning
>> 
>> 
>> 
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: How To Increase JVM Size

2001-03-23 Thread Ben Groeneveld

pdw, you are exactly right.  I can now use (for limit testing, 'man 
java' says the defaults are 8m and 24m)

   user.javaargs=-Xms8m -Xmx8m

And to see the command line, since it's so frikken long, use 'ps -ef 
--width 254'

Also, I really like the idea of setting min size = max size for 
servers.  I'm using a custom cache in our system, and by specifying 
these limits it seems I can insulate better from other processes' troubles.

Thanks, BenG.

pdw wrote:

> I don't think what you have there is correct, I don't think it should be
> inside the curly braces, as far as I can tell those seem to be for variables
> that jrun will substitute a value for.   And I don't think you should have a
> comma in there, it should be a space.  I think JRun just concatenates this
> onto the java command line as-is.
> 
> The values must be a multiple of 1024 greater than 1MB, but you are
> appending an "m" for megabytes so you don't need to worry about that.  For
> servers it is usually recommended to set the min and max equal to each
> other.
> 
> http://java.sun.com/j2se/1.3/docs/tooldocs/linux/java.html
> 
> As for how to see it, if you are using linux/unix, just do ps -ef, you'll
> see the command line arguments.  on windows... well... get cygwin
> command-line tools then do ps -ef   :)
> 
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: "JRun-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, March 22, 2001 3:53 PM
> Subject: RE: How To Increase JVM Size
> 
> 
>> Hey Ben. Your settings are correct, so you can be sure that it's working.
>> The JVM is highly sensitive to its args. If there is even a slight
> 
> problem,
> 
>> it won't start.
>> 
>> As for seeing it, you could turn on metrics in the JRun logging mechanism
>> and then view your event log. That'll show a heap= measure, which will
> 
> tell
> 
>> you the heap size.
>> 
>> One thing you might watch out for are the actual numbers you use. I
> 
> believe
> 
>> the numbers must be a multiple of a standard memory size, but I don't
>> remember if it's 32 or 64 or something. So, if I'm remembering correcly
> 
> and
> 
>> this is true, I'm not sure how the JVM would react to an odd number like
> 
> 48.
> 
>> HTH,
>> Patrick Quinn
>> Macromedia Consulting
>> 
>> -Original Message-
>> From: Ben Groeneveld
>> To: JRun-Talk
>> Sent: 3/22/01 9:02 AM
>> Subject: How To Increase JVM Size
>> 
>> What would be the proper way to increase the size of the jrun java vm.
>> I have tried the following in local.properties, but I don't see an
>> obvious way to verify that this is actually working:
>> 
>> user.javaargs={-Xms24m,-Xmx48m}
>> 
>> --
>> Ben Groeneveld
>> Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
>> Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488
>> 
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



How To Increase JVM Size

2001-03-22 Thread Ben Groeneveld

What would be the proper way to increase the size of the jrun java vm.  
I have tried the following in local.properties, but I don't see an 
obvious way to verify that this is actually working:

user.javaargs={-Xms24m,-Xmx48m}

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Drivers for Oracle

2001-03-21 Thread Ben Groeneveld

Bob, you can get them from www.oracle.com.  Look for the thin jdbc 
driver.  BenG.

Bob Smith wrote:

> We are running JRUN 3.0 Professional. Are there any good Oracle JDBC drivers
> available which are free? Does Allaire provide any JDBC drivers?
> 
> 
> Thanks,
> Bob
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Multiple servers - bind: Address already in use

2001-03-21 Thread Ben Groeneveld

Victor, I read you posting regarding issues running two jrun servers on 
a machine.  Did you ever get any response?  For some reason I can no 
longer post to the newsgroup.  Anyway, I've managed to get two jrun 
servers going on my redhat6.2 box, one for production and one for 
development.  Only the production instance is linked to apache - I got 
socket address bind errors when I tried two.  So we access deveopment 
directly from it's web server port.  I changed all port numbers to be 
separate (+=10) as is evidenced by the diff below.  Now occasionally, 
web clients cannot access the development server - essentially they need 
to do a refresh before they can hit the page.  I see this message in my 
/var/log/messages file:

Mar 21 06:55:38 penguin inetd[424]: auth/tcp: bind: Address already 
in use

Any clues as to what this might be?  Thanks, BenG.


--


# diff default/local.properties develop/local.properties
5c5
< jrun.server.displayname=JRun Default Server
---
 > jrun.server.displayname=JRun Develop Server
62c62
< control.endpoint.main.port=50001
---
 > control.endpoint.main.port=50011
116c116
< jcp.endpoint.main.port=8143
---
 > jcp.endpoint.main.port=8153
131c131
< web.endpoint.main.port=8142
---
 > web.endpoint.main.port=8152
148c148
< zeus.endpoint.main.port=9100
---
 > zeus.endpoint.main.port=9110
276c276
< servlet.webapps=beta12,beta13
---
 > servlet.webapps=pdev
321c321
< ejb.javaargs=-Dejipt.classServer.host=127.0.0.1 
-Dejipt.classServer.port=2323 -Dejipt.homePort=2333 
-Djava.security.policy={jrun.rootdir}/lib/jrun.policy 
-Dejipt.home={jrun.rootdir} -Dejipt.ejbDirectory={jrun.server.rootdir}
---
 > ejb.javaargs=-Dejipt.classServer.host=127.0.0.1 
-Dejipt.classServer.port=2333 -Dejipt.homePort=2343 
-Djava.security.policy={jrun.rootdir}/lib/jrun.policy 
-Dejipt.home={jrun.rootdir} -Dejipt.ejbDirectory={jrun.server.rootdir}
324d323
< #ejb.services=ejb,jms
326,339c325,327
<
< #webapp.mapping./=
< #.rootdir=/home/BenG/Src/doms-pdev/packages/pdev
< #.class={webapp.service-class}
<
< # 3/14/2001, BenG
< ranConnector=yes



-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



[Fwd: servlet debugging]

2001-01-04 Thread Ben Groeneveld

Please let me clarify.  My issue is actually with a bean my .jsp's 
uses.  The bean is not reloaded after I recompile it.  Should it be?  
Thanks, BenG.

 Original Message 
Subject: servlet debugging
Date: Fri, 29 Dec 2000 10:29:17 -0700
From: Ben Groeneveld <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]



What's a good way to have servlets auto-reloaded when recompiled?  I 
looked though the manual and this was not obvious.  When I change a .jsp 
jrun seems to detect that and reload, but servlets don't (I'm using the 
invoker servlet shortcut).  What am I missing?  Currently I restart the 
default jrun server to debug, but this is painfully slow.  Thanks, BenG.


-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: JRun Studio and Windows 98

2001-01-03 Thread Ben Groeneveld

Jim, I have not seen a memory leak (though it may be there), but I have 
seen jrun studio extremely cpu intensive, to the point where even if I 
shut everything down but studio my cpu is still pegged.  I've stopped 
using the product, which is unfortunate - because I liked it.  Good 
thing for demos...  BenG.

Jim Gillaspy wrote:

> JRun Studio appears to have a terrible memory leak when running on Windows 
> 98 or Windows ME.  The system crashes after a few minutes of operation. 
>  Sometimes after giving messages like "Your system is extremely low on 
> memory"  -- Is anyone else having this problem?  Any suggestions?
> 
> Jim Gillaspy
> Director of Information Systems
> CMD Services, Inc.
> [EMAIL PROTECTED]
> 678-475-2030
> 
> 
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: servlet debugging

2001-01-01 Thread Ben Groeneveld

Scott, thanks for responding.

At 01:14 AM 12/31/00 -0500, you wrote:
>As long as the servlet class files are not in the JVM's classpath, they
>should reload dynamically.

Our servlets are located in jrun/servers/default/myapp/WEB-INF/classes, 
which is not in my CLASSPATH; I don't think they should be.  The 
application is installed using makefiles, so we make use of the command 
line deploy and remove capabilities.  We use makefiles because our app is 
developed collaboratively, geographically speaking, via cvs.  We currently 
debug using the jrun event logging (jrun/logs) accessible from the servlet 
"context."

>Also, it depends where you're putting the newly compiled classes.  In JRun
>3.0 the /servlet/ mapping only works for the default-app, by default.
>
>Please give more details about which version of JRun you're using and what
>you application is set up like (where are you putting the servlet classes?).

We're using jrun 3.01 on redhat 6.2 with jdk 1.3 and oracle on the back 
end.  The config is standard I think, as described above.  Any help is 
welcome.  Restarting the server each run is slow.

Thanks, BenG.

>You mentioned debugging in the subject.  A problem with a debugger may be
>that the debugger JVM can't find the servlet classes unless they're in its
>classpath, which will prevent them from being dynamically reloaded while
>debugging.
>
>Scott Stirling
>
> > -Original Message-
> > From: Ben Groeneveld [mailto:[EMAIL PROTECTED]]
> >
> > What's a good way to have servlets auto-reloaded when recompiled?  I
> > looked though the manual and this was not obvious.  When I change a .jsp
> > jrun seems to detect that and reload, but servlets don't (I'm using the
> > invoker servlet shortcut).  What am I missing?  Currently I restart the
> > default jrun server to debug, but this is painfully slow.  Thanks, BenG.
>
>
>
~ Paid Sponsorship ~
Get Your Own Dedicated Win2K Server!  Instant Activation for $99/month w/Free 
Setup from SoloServer  PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support 
 Visit SoloServer, https://secure.irides.com/clientsetup.cfm.
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



servlet debugging

2000-12-29 Thread Ben Groeneveld

What's a good way to have servlets auto-reloaded when recompiled?  I 
looked though the manual and this was not obvious.  When I change a .jsp 
jrun seems to detect that and reload, but servlets don't (I'm using the 
invoker servlet shortcut).  What am I missing?  Currently I restart the 
default jrun server to debug, but this is painfully slow.  Thanks, BenG.


~ Paid Sponsorship ~
Get Your Own Dedicated Win2K Server!  Instant Activation for $99/month w/Free 
Setup from SoloServer  PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support 
 Visit SoloServer, https://secure.irides.com/clientsetup.cfm.
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: JSP hosting

2000-11-27 Thread Ben Groeneveld


Scott, Evan gave me the referenced list below which lists primarily CF
partners - not yet useful to me.  I am still working with him to get
a list of JRun hosting firms; he has not yet responded to my followup,
which he normally has been very good about.
I would agree with your statement; I have already received several responses
with links to JSP hosting firms not on your list - perhaps because they
are not "partners": cniweb.net (Tomcat), hostjsp.com, and www.senternet.com.
Thanks, BenG.

Ben,

I have done some digging for you in regards to Jrun Hosting.  I have
included a link below where you can take a look at the different companies
within the U.S. which host Jrun.  

http://www.allaire.com/Partners/Search/PartnerList.cfm

Thank you,

Evan Sylvester
Allaire Corporation
275 Grove Street
Newton, MA. 02466
[EMAIL PROTECTED]
p: 617-219-5826
f:  617-219-2101



Scott Stirling wrote:
Is it true that Allaire sales couldn't recommend
anyone?  That's pretty poor
if true.  Who'd you talk to?  We really need to beef up our
relationships
with ISPs/ASPs if that's the case.  One of the new initiatives
announced at
the recent Allaire Developer Conference was one where we would be seeking
to
develop relationships with ASPs.  ISPs should be part of that.
Scott Stirling
Allaire Corporation
http://www.allaire.com/developer/jrunreferencedesk/
> -----Original Message-
> From: Ben Groeneveld [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 27, 2000 2:56 PM
> To: JRun-Talk
> Subject: JSP hosting
>
>
> Can someone recommend a JSP hosting service?  JRun hosting preferred,
> but other containers may work too.  In speaking with Allaire
sales no
> hosting services could be recommended. Thanks, BenG.

Your ad could be here. Monies from ads go to support these lists and
provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



JSP hosting

2000-11-27 Thread Ben Groeneveld

Can someone recommend a JSP hosting service?  JRun hosting preferred,
but other containers may work too.  In speaking with Allaire sales no
hosting services could be recommended. Thanks, BenG.


Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: RE: RE: Application server

2000-11-17 Thread Ben Groeneveld
 around or escalation
> > to
> > management is BS.
> >
> > I'd definitely suggest other options!  If you decide to go with JRun,
> > check
> > around the web on Allaire's JRun forum, this mailing list and any
> > others you
> > find.  I think you'll find a lot of upset JRun users.  Pardon the
> > profanity,
> > but there is an interesting thread here as well:
> >
> > http://www.fuckedcompany.com/ubb/Forum2/HTML/001676.html
> >
> > Now, with all this said, if you are just "playing around" with an app
> > server, JRun is fine.  If your app is not critical to your
> > operations, JRun
> > is fine.  We have a request open with a JRun sales guy for some
> > references
> > (who uses JRun) and after many weekly email from him along the lines
> > of
> > "haven't forgotten you -- will call you later today) we have given
> > up.  The
> > best "mission critical" example of JRun in production we have been
> > given is
> > EMC.  Mmmm...  As far as I know, if EMCs site goes down, they'll
> > still sell
> > just as much storage as if the had been up.  I'm not saying there
> > aren't
> > amazons, yahoos and ebays running JRun but if there are, Allaire
> > isn't using
> > them as references.
> >
> > Feel free to email me if you have any more specific
> > questions/concerns.
> >
> > -Jeff
> >
> >
> >
> >
> > > > ANIL KRISHNANANDA wrote:
> > > >
> > > > > All,
> > > > >
> > > > > We are in the process of shopping for application server. We
> > > > have ColdFusion implementation (version 4.5.1). We are looking
> > > > for good JAVA J2EE support from application server.
> > > > > Is Jrun is good choice with current implementation ?/ if so,
> > > > explain why???
> > > > >
> > > > > We should be able to call JAVA components from ColdFusion
> > > > tag(like CFSERVLET, CFOBJECT ..) Please advice regarding
> > > > selecting app server ..
> > > > >
> > > > > Thanks,
> > > > > Anil
> > > > >
> > > > > 
> > > > > PeoplePC:  It's for people. And it's just smart.
> > > > > http://www.peoplepc.com
> > > > >
> > > >
> > --
> > > > 
> > > > > Archives: http://www.egroups.com/group/jrun-interest/
> > > > > Unsubscribe:
> > >
> >
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> > > > or send a message to [EMAIL PROTECTED] with
> > > 'unsubscribe' in the body.
> > >
> > > Notice to recipient: This e-mail is meant for only the intended
> > > recipient of
> > > the transmission. If you received this e-mail in error, any review,
> > use,
> > > dissemination, distribution or copying of this e-mail is STRICTLY
> > > PROHIBITED. Please notify us immediately of the error by return
> > e-mail and
> > > please delete this message from your system. Thank you in advance
> > for your
> > > co-operation.
> > > --
> > > --
> > > --
> > > Archives: http://www.egroups.com/group/jrun-interest/
> > > Unsubscribe:
> > >
> >
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> > > or send a message to [EMAIL PROTECTED] with
> > > 'unsubscribe'
> > > in the body.
> > >
> > > --
> > > 
> > > Archives: http://www.egroups.com/group/jrun-interest/
> > > Unsubscribe:
> > >
> >
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> > > or send a message to [EMAIL PROTECTED] with
> > > 'unsubscribe' in the body.
> >
> >
>--
> > Archives: http://www.egroups.com/group/jrun-interest/
> > Unsubscribe:
> >
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> > or send a message to [EMAIL PROTECTED] with
> > 'unsubscribe' in the body.
> >
> >
>--
> > Archives: http://www.egroups.com/group/jrun-interest/
> > Unsubscribe:
> >
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> > or send a message to [EMAIL PROTECTED] with
> > 'unsubscribe' in the body.
>
>
>__
>Do You Yahoo!?
>Yahoo! Calendar - Get organized for the holidays!
>http://calendar.yahoo.com/
>
>Your ad could be here. Monies from ads go to support these lists and 
>provide more resources for the community. 
>http://www.fusionauthority.com/ads.cfm
>
>Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
>
>Your ad could be here. Monies from ads go to support these lists and 
>provide more resources for the community. 
>http://www.fusionauthority.com/ads.cfm
>
>Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

--
Ben Groeneveld
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: jsp tag library

2000-11-14 Thread Ben Groeneveld


It took me a while also.  Did you add your jdbc drivers to the default
*and* admin servers and verify they work?  The drivers for your db
go in lib/ext to be auto picked up.  Then, I modifed the source of
the examples to go against tables that really exist in my db.  BenG.
Victor Marinelli wrote:
Hello,
   I am running JRun 3.0 on Solaris 2.6 with Apache 1.3.14.
I cannot get any of the  jsp tag library examples to work. Has
anyone else
had this problem?
500 Internal Server Error
/demo/taglib/sqlparam.jsp:
javax.servlet.ServletException: null
java.lang.NoSuchMethodError
 at
allaire.jrun.jsp.JRunTagLibraryInfo.buildAttributeInfo(JRunTagLibraryInfo.ja
va:234)
 at
allaire.jrun.jsp.JRunTagLibraryInfo.buildTagInfo(JRunTagLibraryInfo.java:205
)
 at
allaire.jrun.jsp.JRunTagLibraryInfo.initialize(JRunTagLibraryInfo.java:169)
 at allaire.jrun.jsp.JRunTagLibraryInfo.(JRunTagLibraryInfo.java:61)
 at allaire.jrun.jsp.JSPParser.directive(JSPParser.java:774)
 at allaire.jrun.jsp.JSPParser.parse(JSPParser.java:598)
 at allaire.jrun.jsp.JSPParser.writeXML(JSPParser.java:151)
 at allaire.jrun.jsp.JSPParser.generateXML(JSPParser.java:123)
 at allaire.jrun.jsp.JSPParser.generateXML(JSPParser.java:67)
 at allaire.jrun.jsp.JSPServlet.parsePage(JSPServlet.java:409)
 at allaire.jrun.jsp.JSPServlet.createServlet(JSPServlet.java:381)
 at allaire.jrun.jsp.JSPServlet.loadPage(JSPServlet.java:202)
 at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:169)
 at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
 at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
 at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a:88)
 at allaire.jrun.jsp.JRunPageContext.forward(JRunPageContext.java:333)
 at
jrun__taglib__sqlparam2ejsp14._jspService(jrun__taglib__sqlparam2ejsp14.java
:38)
 at allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:40)
 at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
 at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
 at
allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:34
)
 at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:175)
 at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
 at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
 at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a:88)
 at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
 at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
 at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107)
 at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
 at allaire.jrun.WorkerThread.run(WorkerThread.java:75)
Thanks,
Vic
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488
 

--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.


Re: Overwriting of deploy.properties

2000-11-13 Thread Ben Groeneveld

Adam, I've been using makefiles and command line deploy to avoid use of a properties 
file
altogether.  For me this is an easier way to do system builds platform to platform.  
Our
app is named doms.  Maybe this will help you:

CONTAINER_DIR  = /usr/local/JRun

DEPLOY_SERVER_NAME = default
DEPLOY_SERVER_DIR  = $(CONTAINER_DIR)/servers/$(DEPLOY_SERVER_NAME)

DEPLOY_APP_NAME= doms
DEPLOY_APP_DIR = $(DEPLOY_SERVER_DIR)/$(DEPLOY_APP_NAME)

DIRS   = $(DEPLOY_APP_DIR)

all:  doms.war

doms.war:
 jar cvf0M doms.war index.html WEB-INF

deploy: $(DIRS) all
 cp doms.war $(DEPLOY_APP_DIR)/
 java -classpath $(CLASSPATH):$(CONTAINER_DIR)/lib/jrun.jar \
  allaire.jrun.tools.WarDeploy -deploy \
  deploy.war.path=$(DEPLOY_APP_DIR)/doms.war \
  deploy.server.name=$(DEPLOY_SERVER_NAME) \
  deploy.webapp.name=$(DEPLOY_APP_NAME) \
  deploy.context.path=/$(DEPLOY_APP_NAME) \
  deploy.webapp.rootdir=$(DEPLOY_APP_DIR) \
  deploy.jrun.rootdir=$(CONTAINER_DIR)

remove:
 java -classpath $(CLASSPATH):/usr/local/JRun/lib/jrun.jar \
  allaire.jrun.tools.WarDeploy -remove \
  deploy.server.name=$(DEPLOY_SERVER_NAME) \
  deploy.webapp.name=$(DEPLOY_APP_NAME) \
  deploy.jrun.rootdir=$(CONTAINER_DIR)

$(DIRS):
 -mkdir -p $(DIRS)

[EMAIL PROTECTED] wrote:

> Has anyone noticed that if you edit the deploy.properties directly that it
> will get overwritten, when there is a re-deploy?This is what I have
> found to be the case.   Do you have to enter all properties for the
> deploy.properties in the JMC?
>
> When you define bean properties in an ejb_jar.xml are these properties
> supposed to show up in the runtime.properties?Currently they are not
> showing up in my runtime.properties or deploy.properties.They do show
> up if I go through the JMC and look at the beans properties.Is this
> normal?
>
> Thanks for any information,
>
> Adam
>
> --
> Archives: http://www.egroups.com/group/jrun-interest/
> Unsubscribe: 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
>body.

--
Ben Groeneveld
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488



--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.