RE: SMTP Services for Orion?

2002-01-26 Thread Rob van den Eijnde



Mark,

Just 
out of newbee(?) curiosity. What is so 'nice' about running everything in one 
JVM ?

BTW, 
if you only wanna do the forwarding stuff then maybe James is a bit 
'overqualified' and you might wanna look for something 
lighter.

Rob

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Mark A. 
  RichmanSent: vrijdag 25 januari 2002 20:36To: 
  Orion-InterestSubject: Re: SMTP Services for 
  Orion?
  To answer my own question, and ask yet 
  another
  
  I got James (http://jakarta.apache.org/james/) 
  installed and working. Is there any way to host James from within Orion? It 
  would be nice to have all this functionality in a single JVM.
  
  - Mark
  
  
- Original Message - 
From: 
Mark A. 
Richman 
To: Orion-Interest 
Sent: Friday, January 25, 2002 10:42 
AM
Subject: SMTP Services for Orion?

Is there any way to add SMTP services to Orion? 
I am hosting a site, and I need the ability to route incoming email. For 
example, for all incoming email to *@mysite.com, forward to [EMAIL PROTECTED].

Thanks,
Mark



url.openConnection() doesn't allow to pass objects or attributes

2002-01-26 Thread prasanth sb

Hello dear friends,
  Please help me with a strange problem happening with
orion. I am calling url.openConnection() to a servlet page.When I call this,
the call goes to doGet method of the servlet. But it has to go to the doPost
method. Second problem is I am able to read the values from the callee
servlet. But I am not able to pass the values to the callee servlet.I am
trying to pass objects in a stream.I have seen this problem reported in the
mailing list. Can anyone help me in this?

Please find the sample code,

Caller Servlet

URLConncetion con =url.openConnection(http://ipname:port/Servlet1;);
ObjectOutputStream os = new ObjectOutputStream(con.getOutputStream());
os.writeObject(string object);

Callee servlet(Servlet1.java)


public void doGet(HttpServletRequest req,HttpServletResponse res) {
ObjectInputStream ois = new ObjectInputStream(req.getInputStream());
ois.readObject();//This line , it prints null.It wont print the string
//string object.But if I return values from the servlet1, then Caller
servlet is able to read.

Can some one throw some light on this.



















_
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com





RE: Job Scheduler pattern

2002-01-26 Thread Joseph B. Ottinger

On Fri, 25 Jan 2002, Paul Knepper wrote:

 Joseph,
 
 Very cool.  How do you stop a client-module that auto-started and then
 restart it?  

Hmm,the cute answer: any way you like. YOU are the programmer, right? I
suppose you could have some kind of query mechanism (listen on a JMS
queue? Look for a signal file, or a database record?) ... or use Orion's
hot-deploy feature, which won't interrupt your users' sessions if you're
a careful developer. (To wit: follow Kevin Duffey's advice to set
serialVersionUID or whatever the variable name is. It's early.)

 Say you deployed the app (which also has ejb and web modules) and later
 wanted to add another task to the scheduler.  Can you start and stop the
 java client module, so that it would reload the properties file, without
 affecting the web module?  I might have users logged in to the website and I
 wouldn't want to redeploy everthing and messup any current sessions.
 
 Thanks,
 Paul
 
 -Original Message-
 From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 25, 2002 4:04 AM
 To: Orion-Interest
 Subject: Re: Job Scheduler pattern
 
 
 The www.orionsupport.com site has a sample scheduler that can easily be
 converted to do something like this.
 
 On Fri, 25 Jan 2002, Justin Crosbie wrote:
 
  Hi,
  
  I'm not sure if I've asked this before, or if I should be asking on a
  general EJB list.
  
  I'd like to implement a job scheduler in J2EE. This would shcedule the
  execution of EJB methods at a specified time in the future. It would have
 to
  be persistent, and jobsd would be rescheduled upon appserver restart.
  
  Is it as simple as using the Timer and TimerTask in java.util to implement
  an app that is started with the client-module tag?
  
  Does it matter as far as Orion goes whether I use a java.util.Timer as a
  daemon or not?
  
  What can I do if the app, or the Timer object dies at any stage?
  
  I've had problems where after some time something goes wrong I get a
 strange
  Remote Exception, and the only solution is to restart the VM. What might
  cause this?
  
  Any opinions on this? How do I make this solution robust is what I am
  asking.
  
  Thanks for any help,
  Justin
  
 
 ---
 Joseph B. Ottinger   [EMAIL PROTECTED]
 http://adjacency.org/ IT Consultant
 

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://adjacency.org/ IT Consultant





Wierd page at 127.0.0.1 and virtual hosts

2002-01-26 Thread Joe Fair

Greetings all.  I'm getting some wierd network
responses.  I'm using orion on Windows 2000 and IE 5.

When I try to http to 127.0.0.1 I get a login screen
for domain
CobaltCacheRaQ_admin
I don't know what it is, but the net says it's  a Sun
network appliance.  I'm using Qwest DSL to connect to
the net.

When I connect with my local box name I get The
requested URL could not be retrieved

I do have orion set up for two web sites, but the
default-web-site.xml has 
web-site host=[ALL] port=80 display-name=Default
Orion WebSite
and the other has web-site host=[ALL] port=80
display-name=Example 1
virtual-hosts=jfair.homeip.net

Can you see any confilcts with this setup?
Thanks,
Joe


__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com




Re: url.openConnection() doesn't allow to pass objects or attributes

2002-01-26 Thread Kesav Kumar

For Posting data from through URLs you have to set doOutput to true.
con.setDoOutput(true);
con.setDoInput(true);

Once you set the above you can get the OutputStream associated with
connection and send parameters.

For more info read the article at JavaWorld
http://www.javaworld.com/javaworld/javatips/jw-javatip34.html

-kesav kumar

- Original Message -
From: prasanth sb [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Saturday, January 26, 2002 1:27 AM
Subject: url.openConnection() doesn't allow to pass objects or attributes


Hello dear friends,
  Please help me with a strange problem happening with
orion. I am calling url.openConnection() to a servlet page.When I call this,
the call goes to doGet method of the servlet. But it has to go to the doPost
method. Second problem is I am able to read the values from the callee
servlet. But I am not able to pass the values to the callee servlet.I am
trying to pass objects in a stream.I have seen this problem reported in the
mailing list. Can anyone help me in this?

Please find the sample code,

Caller Servlet

URLConncetion con =url.openConnection(http://ipname:port/Servlet1;);
ObjectOutputStream os = new ObjectOutputStream(con.getOutputStream());
os.writeObject(string object);

Callee servlet(Servlet1.java)


public void doGet(HttpServletRequest req,HttpServletResponse res) {
ObjectInputStream ois = new ObjectInputStream(req.getInputStream());
ois.readObject();//This line , it prints null.It wont print the string
//string object.But if I return values from the servlet1, then Caller
servlet is able to read.

Can some one throw some light on this.



















_
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com







web hosting w/orion?

2002-01-26 Thread IKE

Does anybody have a list or know of any web hosting companies that are using
the orion server?


thanks

IKE






Re: web hosting w/orion?

2002-01-26 Thread Sarathy Mattaparti




Try
www.ejip.net

Sarathy



Does anybody have a list or know of any web hosting companies that are
using
the orion server?


thanks

IKE







_
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com