MessageDrivenBean dying after sometime

2002-03-15 Thread Manoj Sadangi

Hi all,
we are using orion (couple of beans and a MessageDrivenBean which 
listens to a topic of Fiorano)  and Fiorano JMS server.
The  problem is MessageDrivenBean after sometime stops receiving the 
messages.
I checked the fiorano log files , It says the connection is still there.
Orion is also running fine and I could browse the jsp pages.

My guess is somehow the MDB is getting disconnected .
is there a way to write some code in the MDB or specify in the 
deployment descriptor so that the container will check for the 
connection and restart it if is dead.

thanks,
manoj.
 
 
   





Re: Help

2002-02-08 Thread Manoj Sadangi

how your web.xml file looks like

François Beauregard wrote:

I decided to day to give a first try at Orion (1.5.3).
I started trying to deploy an application that already runs fine under
Tomcat / Borland AppServer.
I have a .ear for this application

I configured server.xml, data-sources.xml and default-web-site.xml
server.xml :
application name=oasis path=../applications/OASIS.ear auto-start=true
/
default-web-site.xml :
web-app application=oasis name=oasisWeb root=/oasisWeb /

Here is my application.xml
?xml version=1.0 encoding=UTF-8?
!DOCTYPE application PUBLIC -//Sun Microsystems, Inc.//DTD J2EE
Application 1.2//EN http://java.sun.com/j2ee/dtds/application_1_2.dtd;
application
  display-nameOASIS Application/display-name
  module
ejbOasisBaseEJBs.jar/ejb
  /module
  module
ejbOasisPartyEJBs.jar/ejb
  /module
  module
web
  web-urioasisWeb.war/web-uri
  context-root/oasisWeb/context-root
/web
  /module
/application

In the web.xml in oasisWeb.war I only have servlet mappings and tld
definitions.

When I start Orion, the application deploys just fine but if I try to invoke
any jsp I get an internal error (500).
http:/localhost/oasisWeb/Welcome.jsp
If I change Welcome.jsp to Welcome.html, it displays correctly.

If I invoke a servlet, it is properly invoked but whenever I try to
servlet.getServletContext().getRequestDispatcher(res.encodeURL(url))
For a url that is a jsp I get a null result.

Any idea?

Thanks
__
François Beauregard
Pyxis Technologies
Vice-président, recherche et développement

Tel: (450) 681-9094
Fax: (450) 681-5758
[EMAIL PROTECTED]








ejb load problem

2002-02-04 Thread Manoj Sadangi

HI,
we are running orion app server with one mdb and couple of session 
bean and entity bean. Once there is message received by the reciever mdb 
it creates the beans and the message gets processed and published to the 
topic again.
This works fine as long as the traffic is not high. But If  the no of 
messages increases the MDB receives them all and starts creating the 
beans (which makes the server crash.)

I set the receiver mdb to a certain max number but that also did not work.

any suggestion would be a great help.

thanks,
manoj.





Re: Application Client JMS

2002-01-29 Thread Manoj Sadangi

Hi Jochen ,
The MessageMonitor class you have written , is it a servlet?
 r u using Orion's JMS?
 
thanks,
manoj.
   

Jochen Kressin wrote:

Hi,

i have some problems writing an application client that uses JMS. I have
created a SessionBean which publishes messages and a MDB which receives
the messages. This works fine. I now want to write a client application
that can participate in messaging.

The client connects to the server without problems, but messages
published by the client seem to go nowhere. The MDB does not receive
anything. Also, the client does not receive any messages sent by the
SessionBean.

The directory structure of the client app is:
client
 +--- MessageMonitor.class
 +--- META-INF
   +---application-client.xml
   +---orion-application-client.xml

The application-client.xml:

...
resource-ref
res-ref-namejms/TopicConnectionFactory/res-ref-name
res-typejavax.jms.TopicConnectionFactory/res-type
res-authContainer/res-auth
/resource-ref
resource-ref
res-ref-namejms/BenelogNewOrder/res-ref-name
res-typejavax.jms.Topic/res-type
res-authContainer/res-auth
/resource-ref

where BenelogNewOrder is the name of the Topic I would like to
subscribe to.

The client looks up the Topic using something like:
lookup(java:comp/env/jms/BenelogNewOrder);

Please give me some hint what i am doing wrong. Also, any informations
where to find more about app-clients  Orion is appreciated. Neither
orion nor atlassian seem to have tutorials on this topic.

Thanks in advance!

Jochen