Re: [JBoss-user] Authentication for JMX management browser

2003-04-02 Thread Matt Johnson
Sanjeev,

To use Julien's instructions, you will also need to upgrade to the 
latest JBoss 3.0.x (currently 3.0.6), as this uses a webapp at the 
"jmx-console" context to handle this.  The jmx console on port 8082 no 
longer applies.

You should upgrade regardless, as 3.0.6 has hundreds of fixes and 
improvements.

Matt

julien viet wrote:

yes, uncomment

 
   
 HtmlAdaptor
 An example security config that only allows users with the
   role JBossAdmin to access the HTML JMX console web application
 
 /*
 GET
 POST
   
   
 JBossAdmin
   
 
 
   BASIC
   JBoss JMX Console
 
 
   JBossAdmin
 
in deploy\jmx-console.war\WEB-INF\web.xml
and

java:/jaas/jmx-console
in deploy\jmx-console.war\WEB-INF\jboss-web.xml
then you can setup login with properties file in deploy\jmx-console.war\WEB-INF\classes

julien

SS> Hey all,

SS> I am using jboss-3.0.0 and wants to have the authentication mechanism
SS> for JMX management browser. Right now, anybody can go to
SS> http://:8082/ and can perform any kind of operation like
SS> removing all messages from queues, removing beans etc.
SS> Is it possible when somebody access jmx management browser, a login
SS> window pops up for username and password??
SS> Any ideas??

SS> Sanjeev



SS> ---
SS> This SF.net email is sponsored by: ValueWeb: 
SS> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
SS> No other company gives more support or power for your dedicated server
SS> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
SS> ___
SS> JBoss-user mailing list
SS> [EMAIL PROTECTED]
SS> https://lists.sourceforge.net/lists/listinfo/jboss-user



 



---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Where has my memory gone?

2003-03-29 Thread Matt Johnson
To elaborate on Steve's comments, we were experiencing very similar 
symptoms to what you describe, and we resolved the problem initially by 
upgrading to Oracle 9.2.0.2.0 - there was a memory leak in the HP/UX 
JDBC OCI library in 9.2.0.1.0.  The first week was nice and quiet, but 
since then we've been getting intermittent crashes in Production - only 
now we can't reproduce it in testing.

This particular bug appears to have been specific to HP/UX and another 
platform (don't have the info to hand, but I know it wasn't Solaris), 
but I would strongly recommend you take a closer look at Oracle if 
you're using the OCI driver, or at any other JNI components if you're 
not - the symptoms really do smack of a native code leak.  It makes it 
less likely to be Oracle because you've got the problem using two 
different major versions (8i and 9i), but you never know...

We've had great troubles diagnosing our problem because none of the 
profilers are able to provide much info on what's going on in JNI land.

When you say you use 8i in dev and 9i on your servers, which specific 
versions of these do you use (both client and server side)?  You 
mentioned in another mail that you use classes12.zip - which Oracle 
release did you source this from, and do you use different versions in 
dev/prod, or the same?



Matt

Stephen Coy wrote:

Are you using the OCI driver?

We're experiencing similar problems at our production site, but can't 
reproduce it in testing. Our hardware is running HP-UX and the HP JVM.

The current theory is that the version of the OCI client software we 
have on site is leaking memory in native code.

Steve Coy

On Friday, March 28, 2003, at 09:44  PM, David Rocks wrote:

I am having a desperate problem with my JBoss app server. It seems to 
be leaking memory all over the place but after a week of debugging 
and JProbing I can just not find the problem. My architecture is 
session beans that link onto Entity beans that can have dependant 
objects. a la Composite entity design pattern, nothing radical. It 
seems that when we make a call to the session layer to create an 
entity with dependants from data in our oracle db then the server mem 
jumps 5 meg and never goes down. Keep going and we crash. We 
originally started with 2.4.4 but moving up to 3.0.6 did not seem to 
make a change. We develop on win 2000 but the leak still seems to be 
there on our Solaris servers.  We use oracle 8i in our dev 
environment and 9i on our servers. I have used JDK 1.3.1 and 1.4. It 
just seems to point to our code but where I just can't find. I have 
been through the code making sure that we close all of our 
connections to the database 20 times. nulling references as well.

I got JProbe to analyse the JVM that the app server runs on and it 
claims that the level of objects remains the same and the memory they 
take up is the same giving me the impression that is all OK. Looking 
at task manger tells a different story with the memory zooming up 
until the OutOfMemory Exception occurs. top on our Solaris servers 
shows that the memory never seems to be recovering as well.

If anybody can share a thought on why this is happening please feel 
free to share this with me. Even the obvious clue would be great. I 
have tried everything I know.

David Rocks

Software Development Manager
[EMAIL PROTECTED]





---
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user