[JBoss-user] [JNDI/Naming/Network] - javax.naming.CommunicationException [Root exception is java.

2006-04-19 Thread sandello
Hi, All
I have got a problem and can't understand it :-(
Problem was appeared after migration from JBoss4.0.2 to JBoss4.0.4

When my console client tries to connect to JBoss, an exception appears:

  | javax.naming.CommunicationException [Root exception is 
java.io.InvalidClassException: org.jboss.invocation.InvokerInterceptor; unable 
to create instance]
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at 
com.uralcom.radius3.transport.Theorem2Radius3.request(Theorem2Radius3.java:69)
  | at 
com.uralcom.radius3.transport.Theorem2Radius3Access.authenticate(Theorem2Radius3Access.java:15)
  | at 
com.theorem.radserver3.RADIUSSession.access(RADIUSSession.java:604)
  | at 
com.theorem.radserver3.RADIUSSession.process(RADIUSSession.java:535)
  | at com.theorem.radserver3.RADIUSSession.run(RADIUSSession.java:214)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.io.InvalidClassException: 
org.jboss.invocation.InvokerInterceptor; unable to create instance
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1700)
  | at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
  | at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80)
  | at 
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1753)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1711)
  | at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
  | at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80)
  | at 
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1753)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1711)
  | at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
  | at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80)
  | at 
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1753)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1711)
  | at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
  | at 
org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:156)
  | at 
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1753)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1711)
  | at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  | at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
  | at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
  | at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
  | at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
  | at 
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
  | ... 8 more
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938128#3938128

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938128


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Link to Remote EJB

2005-12-11 Thread sandello
I mean ejb-ref

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912010#3912010

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912010


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Source of EJB3 rc3, rc4

2005-12-08 Thread sandello
How I can get the source of EJB3 rc3, EJB3 rc4?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911606#3911606

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911606


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Link to Remote EJB

2005-12-08 Thread sandello
I have two diffrent EJB application deployed in one JbossAS instance.
How is it to create refernce from first application to ejb from second 
application?

Using: Jboss 4.0.3sp1 + EJB3RC3. First app - ejb3, second app - ejb2

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911394#3911394

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911394


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB3 session bean with EJB2 session dependency

2005-12-07 Thread sandello
Did you solve your problem?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911352#3911352

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911352


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB 3.0 and env-entry injection

2005-12-07 Thread sandello
IMHO, you forget annotation "@Resource" before 

  | String testParam = "origTestParam";
  | 

It exist in example 1 and 2

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911337#3911337

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911337


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Configure ejb binding

2005-12-06 Thread sandello
I upgrade to EJB3 rc3. Now attempt to configure mapping with jboss.xml (as 
described in 
http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch3.chapter.html#d0e9047)

  | 
  |   PasswordManagerSEJB3
  |   
  | PM
  | java:/PasswordManager
  |   
  | 
  | 
or

  | 
  |   PasswordManagerSEJB3
  |   
  | PM
  | PasswordManager
  |   
  | 
  | 
gives exeption

  | 10:57:24,890 INFO  [Ejb3DescriptorHandler] found jboss.xml 
jar:file:/usr/local/java/jboss-4.0.3SP1/server/ejb3/tmp/deploy/tmp54693office.ear-contents/office.ejb3!/META-INF/jboss.xml
  | 10:57:24,906 WARN  [ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,module=office.ejb3
  | org.jboss.xb.binding.JBossXBException: Failed to parse source.
  | at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:138)
  | at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:173)
  | at 
org.jboss.ejb3.Ejb3DescriptorHandler.parseDescriptors(Ejb3DescriptorHandler.java:571)
  | at 
org.jboss.ejb3.Ejb3HandlerFactory$DDFactory.(Ejb3HandlerFactory.java:19)
  | at 
org.jboss.ejb3.Ejb3HandlerFactory.getInstance(Ejb3HandlerFactory.java:54)
  | at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:274)
  | at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:262)
  | ...
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182)
  | Caused by: java.lang.NullPointerException
  | at 
org.jboss.ejb3.dd.EnterpriseBeans.updateEjbRef(EnterpriseBeans.java:43)
  | at 
org.jboss.ejb3.dd.JBossDDObjectFactory.addChild(JBossDDObjectFactory.java:374)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.xb.binding.ObjectModelBuilder.invokeFactory(ObjectModelBuilder.java:421)
  | at 
org.jboss.xb.binding.DelegatingObjectModelFactory.addChild(DelegatingObjectModelFactory.java:115)
  | at 
org.jboss.xb.binding.ObjectModelBuilder.endElement(ObjectModelBuilder.java:377)
  | at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.endElement(SaxJBossXBParser.java:212)
  | at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
  | at 
org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope(Unknown Source)
  | at 
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
  | at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown 
Source)
  | at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
  | at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
  | at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
  | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
  | at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:134)
  | ... 56 more
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911066#3911066

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911066


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Configure datasource mapping

2005-12-06 Thread sandello
I downloaded EJB3.0RC3 ?nd installed it in JBoss 4.0.3sp1
Now, this is work

  | ...
  |   @Resource(name="jdbc/StatDS", mappedName="java:/RadiusDS")
  |   private DataSource ds=null;
  | ...
  | 

but, if I try to configure mapping via jboss.xml

  | 
  |   StatLoaderSEJB3
  |   
  | jdbc/StatDS
  | java:/RadiusDS
  | 
  |   
  | 
  | 
I get expetion

  | 10:17:30,510 INFO  [Ejb3DescriptorHandler] found jboss.xml 
jar:file:/usr/local/java/jboss-4.0.3SP1/server/ejb3/tmp/deploy/tmp54685office.ear-contents/office.ejb3!/META-INF/jboss.xml
  | 10:17:30,538 WARN  [ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,module=office.ejb3
  | org.jboss.xb.binding.JBossXBException: Failed to parse source.
  | at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:138)
  | at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:173)
  | at 
org.jboss.ejb3.Ejb3DescriptorHandler.parseDescriptors(Ejb3DescriptorHandler.java:571)
  | at 
org.jboss.ejb3.Ejb3HandlerFactory$DDFactory.(Ejb3HandlerFactory.java:19)
  | at 
org.jboss.ejb3.Ejb3HandlerFactory.getInstance(Ejb3HandlerFactory.java:54)
  | at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:274)
  | at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:262)
  | at 
org.jboss.ejb3.Ejb3JmxDeployment.create(Ejb3JmxDeployment.java:230)
  | at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:34)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:228)
  | at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
  | at $Proxy0.create(Unknown Source)
  | at 
org.jboss.system.ServiceController.create(ServiceController.java:341)
  | at 
org.jboss.system.ServiceController.create(ServiceController.java:284)
  | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy10.create(Unknown Source)
  | at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:200)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:925)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
  | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy6.deploy(Unknown So

[JBoss-user] [EJB 3.0] - Re: Configure ejb binding

2005-12-06 Thread sandello
oops, method with jboss.xml is't work

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910961#3910961

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910961


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Configure ejb binding

2005-12-06 Thread sandello
How is to configure link  from Global JNDI Namespace to bean's local namespace?

There are two ejb application, deployed in JBoss 4.0.3sp1
First - ejb2, second - ejb3. I need to create reference to SomeEJB2 (from first 
application) in SomeStatelessEJB3 (from second application).

I think, I should do two steps:
1. configure injection of home interface from bean's local namespace.
I do this via:

  | public class PasswordManagerSEJB3 implements IPasswordManager 
  | ...
  |   @EJB(name="PM")
  |   private PasswordManagerHome rpmHome=null;
  | ...
  | 

2. configure link java:comp.ejb3/env/ejb/PM (bean's local ns) -> 
java:/PasswordManager (global ns)
how I can do it?

I tried do step 2 with jboss.xml

  | ...
  |
  |   PasswordManagerSEJB3
  |   
  | PM
  | java:/PasswordManager
  |   
  | 
  | ...
  | 
but, it now worked



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910960#3910960

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910960


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Configure datasource mapping

2005-12-05 Thread sandello
CVSTag=JBoss_4_0_3_SP1 date=200510231751

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910661#3910661

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910661


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Configure datasource mapping

2005-12-05 Thread sandello
I tried both cases.
1.  Nothing changed
2.  error: cannot find symbol method mappedName()

If I use

  | @Resource(name="java:/RadiusDS")
  | 
all work  rightly

How I can view JNDI namespace of my ejb3 module? Jboss service JNDIView don't 
display it (because StatLoaderSEJB3 local namespace is empty?).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910639#3910639

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910639


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Configure datasource mapping

2005-12-05 Thread sandello
How I cat configure datasource mapping?

My stateless bean (ejb3) have this strings:

  | @Stateless(name="StatLoaderSEJB3")
  | @RemoteBinding(jndiBinding="StatLoaderSEJB3")
  | public class StatLoaderSEJB3 implements IStatLoader{
  | ...
  |   @Resource(name="java:comp/env/jdbc/StatDS")
  |   private DataSource ds=null;
  | ...
  | }
  | 
There is global datasource "java:/RadiusDS"

I tried to configure resource mapping via jboss.xml:

  | 
  | 
  |   
  | 
  |   StatLoaderSEJB3
  |   
  | java:comp/env/jdbc/StatDS
  | java:/RadiusDS
  | 
  |   
  | 
  |   
  | 
  | 

When I deploy myapp.ejb3 to Jboss, I saw there message:

  | 15:37:59,803 WARN  [ResourceHandler] Unbound injected resource interface 
javax.sql.DataSource ds
  | 
What I did whong?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910624#3910624

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910624


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - new

2004-08-25 Thread sandello
Hello.
I am new in JMX :-)

I need to auto deploy some object into JNDI. To do it, I decided to create MBean:
public class SelectorConfigDeployer extends SubDeployerSupport implements 
SelectorConfigDeployerMBean {...}

public interface SelectorConfigDeployerMBean extends SubDeployerMBean {...}

This MBean should load file "selector-cfg.xml", parse it to SelectorConfig object and 
bind to JNDI. 
What method (init,create,start,stop,destory) I should use to do this.
What method (init,create,start,stop,destory) I should use to unbind object from JNDI.
How is it to deploy this MBean to JBoss (I should create jar with clasees and 
META-INF/my-service.xml or some other?)?




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846251#3846251

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846251


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user