[JBoss-user] Error in JBoss 3.2.1-tomcat_4.1.24 when connecting to MBean server

2003-06-01 Thread Marco.Mistroni
Hi all,
i am experiencing problems in connecting to teh MBean server embedded in
Jboss 3.2.1
i have been using for long time jboss 3.0.2 without any problems. today i have
downloaded the latest version of jboss, deployed my applicaiton (which registers 2 
MBeans
with Mbean server) and got the following exception:

17:13:22,050 ERROR [Engine] - Root Cause -
java.lang.NoClassDefFoundError: org/jboss/util/jmx/MBeanServerLocator
at com.marco.config.JBossJMXAgent.connectToServer(Unknown Source)
at com.marco.config.JBossJMXAgent.init(Unknown Source)
at com.marco.ActionServlet.init(Unknown Source)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:935)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.jav
a:668)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV


i have written an agent that connects to jboss mbean server and registers two MBeans.
code is as following:

package com.marco.config;
import org.jboss.util.jmx.*;
import javax.management.*;

public class JBossJMXAgent implements JMXAgent {

private MBeanServer _server;

public JBossJMXAgent() {
try {
System.err.println(JBossJMXAgent.connecting to JMX 
Server...);
connectToServer();
} catch(Exception e) {
System.err.println(JBossJMXAgent. Failed to connect to 
server!\n +
e.toString());
}
}

private void connectToServer() throws Exception {
_server = org.jboss.util.jmx.MBeanServerLocator.locate();
// TODO Auto-generated method stub

}

}

what am i missing? if i got no class def found exception, either i the 
MBeanServerLocator has
changed package, or i have to configure something else (that at the moment i don't 
know)

i m runnign jboss version as mentioned in subject on a Compaq armada m700, which has 
installed
Windows 2K and java 1.3.1_07

anyone can help?

thanx in advance and regards
marco


---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Security help please!

2003-06-01 Thread Scott M Stark
A 3.2.1 book as a seperate offering is not available yet. The draft is only available
as part of the subscription. The final 3.2.1 book will be ready next month.


Scott Stark
Chief Technology Officer
JBoss Group, LLC


- Original Message - 
From: Bruce Scharlau [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 7:53 AM
Subject: Re: [JBoss-user] Security help please!


 Scott,
 
 can you have the web site fixed so that we can select the 3.2.1 version of the
 dmin and development book, as it only shows the 3.0.7 version being available.
 
 
 cheers,
 
 Bruce
 
 Dr. Bruce Scharlau
 Dept. of Computing Science
 University of Aberdeen
 Aberdeen AB24 3UE
 01224 272193
 http://www.csd.abdn.ac.uk/~bscharla
 mailto:[EMAIL PROTECTED] 



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss-src

2003-06-01 Thread Scott M Stark
Sourceforge has all of the source releases available.
http://sourceforge.net/project/showfiles.php?group_id=22866

There are branch snapshots available here:
http://jboss.sourceforge.net/snapshots/


Scott Stark
Chief Technology Officer
JBoss Group, LLC


- Original Message - 
From: Magesh Prabhu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 2:57 AM
Subject: [JBoss-user] JBoss-src


Guys,

I work in a very restricted org where I cant use CVS to checkout JBoss-src. Is there a 
mirror from which I can download
jboss-src in zip format. Please point me the URL. Thanx in advance.





---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Error in JBoss 3.2.1-tomcat_4.1.24 when connecting to MBean server

2003-06-01 Thread Scott M Stark
JMX utils are now in the jmx module under the org.jboss.mx.util package.


Scott Stark
Chief Technology Officer
JBoss Group, LLC


- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 31, 2003 7:20 AM
Subject: [JBoss-user] Error in JBoss 3.2.1-tomcat_4.1.24 when connecting to MBean 
server


Hi all,
i am experiencing problems in connecting to teh MBean server embedded in
Jboss 3.2.1
i have been using for long time jboss 3.0.2 without any problems. today i have
downloaded the latest version of jboss, deployed my applicaiton (which registers 2 
MBeans
with Mbean server) and got the following exception:

17:13:22,050 ERROR [Engine] - Root Cause -
java.lang.NoClassDefFoundError: org/jboss/util/jmx/MBeanServerLocator
at com.marco.config.JBossJMXAgent.connectToServer(Unknown Source)
at com.marco.config.JBossJMXAgent.init(Unknown Source)
at com.marco.ActionServlet.init(Unknown Source)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:935)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.jav
a:668)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV


i have written an agent that connects to jboss mbean server and registers two MBeans.
code is as following:

package com.marco.config;
import org.jboss.util.jmx.*;
import javax.management.*;

public class JBossJMXAgent implements JMXAgent {

private MBeanServer _server;

public JBossJMXAgent() {
try {
System.err.println(JBossJMXAgent.connecting to JMX Server...);
connectToServer();
} catch(Exception e) {
System.err.println(JBossJMXAgent. Failed to connect to server!\n +
e.toString());
}
}

private void connectToServer() throws Exception {
_server = org.jboss.util.jmx.MBeanServerLocator.locate();
// TODO Auto-generated method stub

}

}

what am i missing? if i got no class def found exception, either i the 
MBeanServerLocator has
changed package, or i have to configure something else (that at the moment i don't 
know)

i m runnign jboss version as mentioned in subject on a Compaq armada m700, which has 
installed
Windows 2K and java 1.3.1_07

anyone can help?

thanx in advance and regards
marco



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Re:(01:09:07)

2003-06-01 Thread 01:09:07





  remove [EMAIL PROTECTED] 



01:09:07


---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Per-method CMT timeout control?

2003-06-01 Thread Craig Berry
That makes sense.  Thanks again for your help!

-Original Message- 
From: Adrian Brock [mailto:[EMAIL PROTECTED] 
Sent: Sat 5/31/2003 3:24 AM 
To: [EMAIL PROTECTED] 
Cc: 
Subject: RE: [JBoss-user] Per-method CMT timeout control?



Option 2 is a system side setting which you might not control.
Option 3 will only work if you write the clients.

Regards,
Adrian


Adrian Brock
Director of Support
Back Office
JBoss Group, LLC

 
-Original Message-
From: Craig Berry [mailto:[EMAIL PROTECTED] On
Behalf Of Craig Berry
Sent: 31 May 2003 04:21
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Per-method CMT timeout control?


Thank you.  I'm sorry there's not a more direct way, but also glad that
I'm not completely clueless. :)

Why wouldn't my options 2 and 3 be portable, by the way?  (Allowing for
use of appropriate default-timeout setting mechanism per app server in
option 2, of course.)  I'm especially curious about option 3.
-Original Message-
From: Adrian Brock [mailto:[EMAIL PROTECTED]
Sent: Fri 5/30/2003 5:21 PM
To: [EMAIL PROTECTED]
Cc:
Subject: RE: [JBoss-user] Per-method CMT timeout control?


The javax.transaction.Transaction interface
unlike javax.transaction.UserTransaction
doesn't allow a timeout to be set.

The only portable mechanism is to use
a BMT faade (option 1).
If you want it declarative, bind the
timeout value into java:comp/env
as an env-entry.


Adrian Brock
Director of Support
Back Office
JBoss Group, LLC



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Craig Berry
 Sent: 31 May 2003 00:15
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Per-method CMT timeout control?


 Our app uses a variety of session and entity beans operating under
 container-managed transactions.  For most of these, the default
 transaction timeout value set in transaction-service.xml is
 fine, but a
 few methods are expected to run much longer than that.  So
 far, the only
 solutions I've found to this problem are:

 1. Run those methods without CMT
 2. Increase the transaction-service.xml timeout value to accommodate
 these methods
 3. Start a client-side UserTransaction before calling these
 methods, and
 set its timeout to be high enough

 Obviously, none of these are especially attractive.  What I'd really
 like is a declarative way (presumably in ejb-jar.xml) to override the
 default CMT timeout for specific bean methods.  This seems like
 something that should naturally be there, but I can't find
 any trace of
 such a capability in the docs or through a web search.

 Am I missing something, or do I have to fall back on my three
 suboptimal
 choices above?

 --
 Craig Berry
 Principal Architect and Technical Manager
 PortBlue
 (310) 566-7546



 ---
 This SF.net email is sponsored by: eBay
 Get office equipment for less on eBay!
 http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user






---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] 3.2.1 No ClassNotFound for datasource missing required jar

2003-06-01 Thread Guy Rouillier
We are still running 2.4.3 at work, and I'm starting to prepare for the 
transition to 3.2.x.  In my first test conversion, I created an Oracle 
datasource and deployed it.  I forgot to copy classes12.jar into 
server\myserver\lib.  But looking through the boot.log and server.log, 
I can find no message informing me that it could not find class 
oracle.jdbc.driver.OracleDriver.  Instead, when I attempted to deploy an 
EJB which uses this datasource, I got the following messages:

2003-05-23 17:27:18,682 DEBUG [org.jboss.ejb.StatelessSessionContainer] 
Begin java:comp/env for EJB: com.masergy.ejb.OrderManagement.OrderManagement
2003-05-23 17:27:18,682 DEBUG [org.jboss.ejb.StatelessSessionContainer] 
TCL: [EMAIL PROTECTED]
2003-05-23 17:27:18,772 ERROR [org.jboss.ejb.StatelessSessionContainer] 
Starting failed
javax.naming.NameNotFoundException: comp not bound
	at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)

Needless to say, this message is not very helpful.  I eventually figured 
out my setup problem and was then able to deploy the EJB.  (As a side 
note, the only change I had to make to deploy my EJB from 2.4.3 was to 
add the doctype to ejb-jar.xml.  Great job, JBoss authors!)  Why didn't 
I get a ClassNotFound exception when the Oracle datasource was deployed?



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user