[JBoss-user] [Messaging, JMS JBossMQ] - Re: EJB Create on MDB

2005-08-04 Thread Nandhu
Still the same problem...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3888419#3888419

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3888419


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: EJB Create on MDB

2005-08-04 Thread Nandhu
That worked , thanks a lot.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3888438#3888438

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3888438


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: EJB Create on MDB

2005-08-03 Thread Nandhu
I did change my method without throwing createException , still same result. Is 
there anything to do with Spec 2.1 ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3888280#3888280

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3888280


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: EJB Create on MDB

2005-08-03 Thread Nandhu
All
Here is the code snippet


package com.birch.mdb;

import java.io.ByteArrayOutputStream;

import javax.ejb.EJBException;
import javax.ejb.MessageDrivenBean;
import javax.ejb.MessageDrivenContext;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;

import org.jboss.logging.Logger;
import org.w3c.dom.Document;

import com.birch.adapters.file.XMLMessageListener;

import javax.ejb.CreateException;


public class EchoXMLMessageListener implements 
MessageDrivenBean,XMLMessageListener
{


private static final Logger log = 
Logger.getLogger(EchoXMLMessageListener.class);

private MessageDrivenContext ctx;

private Transformer transformer;

public EchoXMLMessageListener()
{


}

public void setMessageDrivenContext(MessageDrivenContext ctx)   throws 
EJBException 
{
this.ctx = ctx;

}

public void ejbRemove() throws EJBException 
{

}

public void processXML(Document document) throws Exception 
{
TransformerFactory tf = TransformerFactory.newInstance();
try 
{
transformer = tf.newTransformer();
} catch (Exception e)
{
log.error(Exception Occured in Create,e);
throw e;
}

DOMSource source = new DOMSource(document);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
StreamResult result = new StreamResult(baos);
transformer.transform(source, result);
log.info(baos.toString());
}

/**
 * Default create method
 * 
 */
public void ejbCreate() 
{

}

}


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3888282#3888282

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3888282


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Configuring Oracle 9i with JBOSS 4.0.2

2005-07-14 Thread Nandhu
Hi
I am new to this forum, is there link or any document of how about configuring 
JBoss 4.0.2 to use oracle 9i.? Also I created a JMS Queue through the JMS 
Console and whenever my project gets redployed  my queue is getting deleted. Is 
there a way I could keep my queue persistent and How could I use oracle as data 
persistent  store for my queue. 

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3884874#3884874

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884874


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user