Regarding #2, did you change the config file to load the nsdb module in
ns_section ns/server/$server/modules ?
Jamie
Jean-Fabrice RABAUTE wrote:
Hi all,
I just downloaded AS 4.0 beta 1 this week-end to make some tests.
Here are the 2 problems I get with this new version :
1/ Unable to
Several folks are having issues with the configure and poll. The default
compiler in the configure script is 'cc', which fails for a lot of
environments, and the configure erroneously determines that poll is not
available (which causes later problems in the compile.)
You may want to try this
Hey
Nathan!
Hereis
the simplified version of the code which shows how we are using ns_mutex in our
application. Basically the proc A, is being called a lot( more than 100
times in a minute) across the applications, and proc B is scheduled to run every
~5 minutes. Here the primary reason for
Thanks !
I is working with several warning, but working.
Best regards.
Jean-Fabrice RABAUTE
Core Services
http://www.core-services.fr
Mob: +33 (0)6 13 82 67 67
-Message d'origine-
De : AOLserver Discussion [mailto:[EMAIL PROTECTED]]De la part
de Elizabeth Thomas
Envoye : lundi 27
Put catches around your locked code and you may find a bug, for example,
incrementing an array var that doesn't exist or unsetting an array var
that doesn't exist. Without ns_mutex calls, the code may blow up but
your server won't lock up.
Jim
This message is in MIME format. Since your mail
In a message dated 1/27/2003 11:21:51 AM Eastern Standard Time, [EMAIL PROTECTED] writes:
proc_doc Y {} {
ns_share counter_A
ns_share counter_B
ns_share counter_mutex
ns_mutex lock $counter_mutex
foreach i_index [array names counter_A] {
set temp_counter_A($i_index)
Title: RE: [AOLSERVER] ns_mutex is likely causing our AOL web server to hung
Good point, but there are logics before these lines (I have take out, the actual code is couple pages but is pre-processing stuff and error checking) that takes care of the errors.
I don't think exception/error is
In a message dated 1/27/2003 10:43:28 AM Central Standard Time, [EMAIL PROTECTED] writes:
foreach i_index [array names counter_A] {
set temp_counter_A($i_index) $conter_A($i_index)
set temp_counter_B($i_index) $conter_B($i_index)
unset $conter_A($i_index)
unset $conter_B($i_index)
}
Is
sorry,
there is no $ sign in the actual code.
So, is
it worth trying to substitute ns_share with nvs stuff (nsv_set nsv_get) to see if the problem goes away
?
Thanks,
Seena
-Original Message-From: Michael Richman
[mailto:[EMAIL PROTECTED]]Sent: Monday, January 27, 2003 11:50
On Mon, Jan 27, 2003 at 12:25:32PM -0500, Seena Kasmai wrote:
So, is it worth trying to substitute ns_share with nvs stuff (nsv_set
nsv_get) to see if the problem goes away ?
Yes! With AOLserver 3.x or 4.x, you should always be using nsv
instead of ns_share if you can.
--
Andrew Piskorski
Hi!
Is anyone using nsjava with aolserver 3.4+? I've compiled the module
(after changing a few things in the makefiles).
Now, when I'm starting up aolserver, it says:
Error: startJvm: unable to get libjava.so library handle
I followed the directions in the README file. I'm using SuSE 8.1 with
Wolfgang Winkler wrote:
Hi!
Is anyone using nsjava with aolserver 3.4+? I've compiled the module
(after changing a few things in the makefiles).
What did you change in the makefiles?
Now, when I'm starting up aolserver, it says:
Error: startJvm: unable to get libjava.so library handle
I
+-- On Jan 27, Seena Kasmai said:
sorry, there is no $ sign in the actual code.
So, is it worth trying to substitute ns_share with nvs stuff (nsv_set
nsv_get) to see if the problem goes away ?
Your most effective action, if you want to maximize the utility of
the advice from this
In a message dated 1/27/2003 12:32:51 PM Eastern Standard Time, [EMAIL PROTECTED] writes:
sorry, there is no $ sign in the actual code.
So, is it worth trying to substitute ns_share with nvs stuff (nsv_set nsv_get) to see if the problem goes away ?
Thanks,
Seena
I would definitly recommend
Hi Dan!
Taking a closer look at the configure output (below) it seems that my Java
Environment isn't found properly, or am I missing something different?
I had to change the INC direction in Makfile.global to:
INC = -I/root/download/aolserver/3.4_patched/aolserver-3.4.2/include
On 2003.01.27, Wolfgang Winkler [EMAIL PROTECTED] wrote:
A ./configure --with-aolserver-src=../aolserver-3.4.2 outputs:
[...]
It'd be handy if the nsjava configure script echoed the $JAVA_HOME
setting ... I wonder if it was set when you ran the 'configure' script:
checking for jdk version...
Title: RE: [AOLSERVER] ns_mutex is likely causing our AOL web server to hung
The error catching concept is definitely wise. In fact I'll go ahead and put those in. This code is sort of legacy and old but it's definitely worth revising it.
The reason I don't see this might be the source of
In a message dated 1/27/2003 2:22:09 PM Eastern Standard Time, [EMAIL PROTECTED] writes:
Regarding the error handling in this code, as you see, the only thing is between the lock/unlock block is just incrementing the arrays, and also the database action takes places after unlocking. Since the
The $JDK_DIR var in the configure script is set to $JAVA_HOME.
(/usr/lib/java). I've checked it already. It seems that configure doesn't
recognize the right Java version.
On Monday 27 January 2003 20:07, you wrote:
On 2003.01.27, Wolfgang Winkler [EMAIL PROTECTED] wrote:
A ./configure
I have installed OpenACS with AOLServer 4.0beta1 and it all seems to
work well. The only remaining issue I see is that when I kill the
server it hangs at the check for event threads and never actually
dies. It does not happen with 3.3+ad13 or 3.5.2 on the same server
(well the same once nsdb.so
Jeff,
How are you controlling AOLserver shutdown?
--Tom Jackson
Jeff Davis wrote:
I have installed OpenACS with AOLServer 4.0beta1 and it all seems to
work well. The only remaining issue I see is that when I kill the
server it hangs at the check for event threads and never actually
dies. It
In a message dated 1/27/2003 3:36:18 PM Eastern Standard Time, [EMAIL PROTECTED] writes:
I am not sure how to check what event threads it's actually waiting
for so don't know how to track this down. Although I am willing to
admit it's our fault and not aolserver's :)
sounds like you might be
Now I've found out something interesting. My java installation isn't found
because my JAVA_HOME points to /usr/lib/java instead of /usr/lib/java/ (note
the trailing slash).
The line
JAVA_INCLUDE=`find $JDK_DIR -name jni.h | grep -vi old | sed -e
's/\/jni\.h//'`
can't find anything because the
Hi,
Testing the new AS 4.0 beta1, I don't know how to shutdown the server.
With 3.2, I am using -K on the command line, but on 4.0 I am getting
Error: invalid option: -K.
If someone has the solution...
Thanks !
Jean-Fabrice RABAUTE
Core Services
http://www.core-services.fr
Mob: +33 (0)6 13 82
Aolserver bails out at this line in nsjava.c (around line number 205):
Ns_ThreadCreate(startJvm, NULL, 0, jvm_thread);
Has anyone an idea how this could be solved?
Regards,
wiwo
--
Digital Concepts
Ideen-Konzepte-Lösungen
[EMAIL PROTECTED]
www.digital-concepts.com
Mobil: +43 699 / 20 88 13 51
We have shutdown problems all the time with 3.4.2. Just another data point.
Jim
--part1_ab.2896ff19.2b66f56c_boundary
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
In a message dated 1/27/2003 3:36:18 PM Eastern Standard Time,
[EMAIL PROTECTED] writes:
I
Hello,
I work on JK2 family module for AOLserver and use JNI to communicate
with Tomcat, so the JVM is running inside the Web server process. I
experience a problem with JVM 1.3.1 on Solaris 2.7/E250 and wonder if
anyone else has encountered a similar issue. It manifests itself as JVM
crashing,
Nathan, I will check it out in the debugger. I tried to reproduce it just
now, but after running for a few minutes (and a couple sceduled procs) it
did not hang on shutdown. I will let it run for a while and see
if it happens again (it had happened the last several times I restarted
though). In
I decided to use a very old netscape mail account to send an anonymous
anthrax warning (kidding). This is now run by aol. Anyway, I did
appropriate things, found the account, logged in, and visited the
options/preferences and changed the alternative email address from an
address at an ISP that
Well, waiting a while made it unstoppable...
One thing that I noticed was this -sched:idle0- thread which was not there
at the start and only showed up later.
name parenttid flags ctime proc arg
-conn:oatest4::0 -driver- 41010 Mon, 27 Jan 2003
Nathan
- If you look at the code it does lock before attempting to any manipulation to
that array.
# ns_share counter_Ans_share counter_Bns_share -init
{ set counter_mutex [ns_mutex create] }
counter_mutex proc X {i} {
ns_share counter_Ans_share
In a message dated 1/27/2003 6:15:50 PM Eastern Standard Time, [EMAIL PROTECTED] writes:
Nathan - If you look at the code it does lock before attempting to any manipulation to that array.
Just making sure. ;-) Any luck with the nsv_incr approach or any more data from a server running with mutex
What does the backtrace look like in gdb?
Regards,
Dan
Wolfgang Winkler wrote:
Aolserver bails out at this line in nsjava.c (around line number 205):
Ns_ThreadCreate(startJvm, NULL, 0, jvm_thread);
Has anyone an idea how this could be solved?
Regards,
wiwo
--
Digital Concepts
On 2003.01.27, Jerry Asher [EMAIL PROTECTED] wrote:
I was very surprised to find a new message, A CONFIRMATION MESSAGE, in
that alternative email address's mailbox. I've attached it below.
Jeez! Just what is this confirming?
Think:
Someone creates a Netscape mail account. They sign
Dossy wrote:
On 2003.01.27, Jerry Asher wrote:
I was very surprised to find a new message, A CONFIRMATION MESSAGE, in
that alternative email address's mailbox. I've attached it below.
Jeez! Just what is this confirming?
Think:
Someone creates a Netscape mail account. They sign
35 matches
Mail list logo