Re: ejb soap

2001-11-12 Thread Venkat

Refer the attachment for installing soap in orion.You need to download
soap.zip from apache site

venkat
- Original Message -
From: Ramin Heidari [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Monday, November 12, 2001 3:00 PM
Subject: ejb soap


 hi,

 how can i deploy ejb Apache soap hello sample in
 orion ?

 Thanks,
 Ramin


 __
 Do You Yahoo!?
 Find a job, post your resume.
 http://careers.yahoo.com


Title: Apache SOAP Installation Instructions


Apache-SOAP Version 2.0: Installing the Server-Side Under Orion

First, make the SOAP web application to follow orion style by creating a path-to-soap/webapps/META-INF/application.xml 
  that contains:

?xml version="1.0"?
!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd"

application
	display-nameSOAP/display-name
	description/description
	module
		web
			web-urisoap/web-uri
			context-root/soap/context-root
		/web
	/module
/application

Then, add new application to orion config/server.xml:
	application name="soap" path="path-to-soap/webapps/" auto-start="true" /

and add new web-app to orion config/default-web-site.xml:
	web-app application="soap" name="soap" root="/soap" / 
Then run orion and deploy the web app by pointing a browser to http://hostname:port/soap 
  with hostname is the hostname of your server and port is the port your orion 
  is listening to. Orion will automatically deploy the SOAP application. Then, 
  open the orion application-deployments/soap/soap/orion-web.xml and add this 
  line between the orion-web-app and /orion-web-app:
	classpath path="path-to-soap/lib/soap.jar;path-to-soap/" /
Now you should be able to deploy services by pointing a browser to


http://hostname:port/soap


where hostname is the host on which Orion is running and port is the port. 
  See the User's Guide for details on the aministration tool. The SOAP end-point 
  for invoking services on this server is:


http://hostname:port/soap/servlet/rpcrouter


Happy SOAP-ing!

Unsubsribe

2001-11-12 Thread venkat



Even i tried to unsubscribe at the specifed 
address.It did not work.Please remove my name from the list.

Thanks in advance
venkat


Re: HELP! 1.4.5 and JMS

2001-05-17 Thread venkat


Hi Vidur,
What is your message size and what is your jdk version? if you are using
any of pre jdk-1.3 (to start orion server) and if your message size is more
than 64K, you will have similar problem.
--venkat



   
 
Vidur Dhanda   
 
vdhanda@active-solutions-To: Orion-Interest 
[EMAIL PROTECTED]   
inc.com  cc: 'Orion-Interest' 
[EMAIL PROTECTED]   
Sent by:  Subject: Re: HELP! 1.4.5 and 
JMS  
owner-orion-interest@orion 
 
server.com 
 
   
 
   
 
05/17/01 12:18 PM  
 
Please respond to  
 
Orion-Interest 
 
   
 
   
 




I have jndi.properties on the classpath.  And when I examine the Context
that is used for the lookup, it has the appropriate values.  There's
something else (hopefully, very basic) that is going on here.  Could
someone try running the code against  their installation?

Thanks,
Vidur
Kesav Kumar wrote: If you write a separate client app to access JMS
messages you need to have jndi.properties file or you need to provide the
properties to the InitialContext.  Here aret the steps to write a separate
client app which runs outside the orion environment. 1) In your jms.xml
don't have any connection factory just declare your topics/queues 2) Either
have jndi.properties in the class path with the following contents
java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory

    java.naming.provider.url=ormi://localhost/
    java.naming.security.principal=admin
    java.naming.security.credentials=admin Or create a Hashatble with
the above key, values and pass to the InitialContext constructor. 3) If you
are using orion1.4.8 which creating connection from factory pass
username/password as a paramters to
factory.createXXXConnection(username, password).  I hope this will work.
- Original Message -
From: Vidur Dhanda
To: Kesav Kumar
Cc: 'Orion-Interest'
Sent: Wednesday, May 16, 2001 7:16 PM
Subject: Re: HELP! 1.4.5 and JMS
 Hi Kesav,

Thanks for the tip. I tried that with both 1.4.5 and 1.4.8.  After removing
the connection factory line, in 1.4.5, the client hangs on
TopicConnection.createSubscriber().  If I give the createTopicConnection a
username and password, then the server throws a NPE and the client hangs at
createTopicConnection().

The same problem persists in 1.4.8.

I'm sure I'm doing something really stupid.  However, I have no idea how to
solve it.  I'm attaching some code in the hope that someone can help me out
of this mess.  I've tried it against 1.4.5 and 1.4.8.  And I am really
desperate!

Thanks,
Vidur

Kesav Kumar wrote:

Just remove the connectionfactory line from your jms.xml.

Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:[EMAIL PROTECTED]
http://www.voquette.com
Voquette...Delivering Sound Information

-Original Message-
From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 11:31 AM
To: Orion-Interest
Subject: HELP! 1.4.5 and JMS

Please help!  I broke something in my code and can't figure it out.  On
the client, I'm consistently getting:
java.lang.NullPointerException
 at java.io.DataOutputStream.writeUTF(DataOutputStream.java:329)
 at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306)
 at com.evermind.server.jms.cj.init(JAX)
 at com.evermind.server.jms.b8.start(JAX)
 at
com.epistemic.km.server.NotificationBase.getConnection(NotificationBase.java:89)


 at
com.epistemic.km.server.NotificationBase.getSession(NotificationBase.java:101)


 at
com.epistemic.km.server.NotificationBase.getSubscriber(NotificationBase.java:44)


Auto

Re: JMS Connection pooling

2001-04-29 Thread venkat


Hi,
There is no facility in orion to setup connection pooling for JMS. JMS in
orion uses flat file for persistence. If you need persistence for a queue,
you have to declare it in jms.xml.

I still find some problem using persistence and transaction in JMS with
Orion server.
Good luck to you.
--venkat



   
 
Kesav Kumar
 
[EMAIL PROTECTED] To: Orion-Interest 
[EMAIL PROTECTED]   
Sent by:  cc:  
 
owner-orion-interest@orionSubject: JMS Connection 
pooling   
server.com 
 
   
 
   
 
04/28/01 02:00 AM  
 
Please respond to  
 
Orion-Interest 
 
   
 
   
 





Has  any one tried to setup connection pooling for JMS?  Is there any such
facility in orion 1.4.7?


Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:[EMAIL PROTECTED]
http://www.voquette.com
Voquette...Delivering Sound  Information








JMS Transaction in Orion

2001-04-19 Thread venkat

Hi,
Is any one tried using jms-messages in orion?
I'm testing point-point queues in orion. I've following difficulties using
transaction.

Created persistence queue.

Problem 1:
=
Send 10 messages to the queue
Create transacted session
Create receiver
Receive all the messages
Exit without commit.

Start receiving again. Now no messages are received.
As per jms 1.0.1 specification messages are removed from the queue only
when we commit the transaction.

Problem 2:
=
Send 10 messages
Create transacted session
Create receiver
Receive messages
After receiving all the messages issue Rollback messages

Receive again
Now i noticed only the last message is received.

Did anyone faced similar problem? Is this known bug in Orion?  or Am I
missing any configuration details? Any help is very much appreciated.

Following is my jms.xml and application-client.xml configuration details.

=jms.xml=
?xml version="1.0"?
!DOCTYPE jms-server PUBLIC "Orion JMS server"
"http://www.orionserver.com/dtds/jms-server.dtd"

jms-server host="10.1.1.2" port="9127"

 !-- Queue bindings, these queues will be bound to their respective
JNDI path for
  later retrieval --
 queue name="Sample Queue" location="sampleQueue.com.sg"
persistence-file="../sampleQueue.queue.sg"
  descriptionA sample queue to test persistence /description
 /queue

 !-- path to the log-file where JMS-events/errors are stored --
 log
  file path="../log/jms.log" /
 /log
/jms-server


==application-client.xml===
?xml version="1.0"?
!DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
Application Client 1.2//EN"
"http://java.sun.com/j2ee/dtds/application-client_1_2.dtd"
application-client
 resource-ref
   res-ref-namesampleQueue.com.sg/res-ref-name
  res-typejavax.jms.Queue/res-type
      res-authContainer/res-auth
 /resource-ref

 /resource-ref
/application-client
=

--venkat





Message lost problem

2001-04-04 Thread venkat

Hi,
While testing orion messaging , I noticed message lost in the following two
scenarios.

Config details:
Use persistence queue in jms.xml
Using jdk 1.2.2
Configured jms.xml for the queue to be persistence

Scenarion 1: Persistence failure
1. Start server
2. Send messages
3. Close the server by Ctrl+c
4. Re start the server
5. Start receiver
Noticed no message or no file under ..\persistence\jms directory
Note: If we shutdown properly through admin.jar -shutdown. Messages are not
lost.


Scenarion 2: Transaction failure
1. Start server
2. Send message in transaction
3. Receive message
4. Exit (System.exit(0)) before commit/rollback
5. Start recevier again.
6. Message lost.
As per the specification, if the messages are received in transaction, then
messages will be left in the queue, until we do commit.







JMS persistence

2001-04-04 Thread venkat

Hi,
Orion currently use flat file as repository for jms persistence. Is there
any plans to support database/table level persistence?

With current implementation (Orion 1.4.5), messages are stored in flat file
only during shutdown. If the server is terminated abnormally, messages are
lost. Is it configurable to store messages every time as it is sent?

Any help is very much appreciated
--venkat