RE: Does Orion have an FTP service?

2000-10-08 Thread J.T. Wenting

it would also allow the service to be used by people behind firewalls that
block ftp (there are a lot of those, either by design or accident (read
faulty installation or software)).

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jason Rimmer
> Sent: Monday, October 09, 2000 05:43
> To: Orion-Interest
> Subject: Re: Does Orion have an FTP service?
>
>
>   Why bother FTP'ing the file?  Not only is the file sent cleartext
> ("orders" sound like they make include credit card info, etc.) but it's
> also one more system (and another daemon, e.g. security concerns) to
> write and support.  Just make the file accessible via password protected
> HTTPS.  That would make it not only secure but also utilize existing
> Orion's functionality.
>
> Neville Burnell wrote:
> >
> > Hi,
> >
> > Does orion have an FTP service?
> > If not does anyone know of a good Java FTP server that might be used
> > with orion?
> >
> > We are looking at downloading files created by our J2EE App running
> > on Orion [basically online orders] to a remote sales order system for
> > subsequent processing. AutoFTP from Primasoft
> > (http://www.primasoft.com/ftp.htm) looks good for automating the
> > download, but Orion doesn't have an FTP service [or does it?]
> >
> > How do other Orion sites handle FTP ?
> >
> > TIA
> >
> > Neville Burnell
> > Business Manager Software
>
> --
> Jason Rimmer
> [EMAIL PROTECTED]
>





URGENT! jsp file size limit

2000-10-08 Thread Savotchkin Egor

Hi all!
Orion seems to have jsp file size limit, when my analog of the
ScreenDefinitions.jsp from Pet Store grows beyond this limit orion issues:

500 Internal Server Error
Error parsing JSP page /visitor/visitor.html

Error creating jsp-page instance: java.lang.VerifyError: (class:
__jspPage0_template_jsp, method: _jspService signature:
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
nse;)V) Illegal target of jump or branch

Egor Savotchkin





Re: Does Orion have an FTP service?

2000-10-08 Thread Damian Guy

You are going to be downloading the files from the machine with Orion on
it right ?

If so, why don't you use a servlet ? You can then just right a simple
program on your remote orders system that connects to a servlet that
returns the orders.

Damian
> 
> Hi,
> 
> Does orion have an FTP service?
> If not does anyone know of a good Java FTP server that might be used
> with orion?
> 
> We are looking at downloading files created by our J2EE App running
> on Orion [basically online orders] to a remote sales order system for
> subsequent processing. AutoFTP from Primasoft
> (http://www.primasoft.com/ftp.htm) looks good for automating the
> download, but Orion doesn't have an FTP service [or does it?]
> 
> How do other Orion sites handle FTP ?
> 
> TIA
> 
> Neville Burnell
> Business Manager Software




Re: Does Orion have an FTP service?

2000-10-08 Thread Jason Rimmer

Why bother FTP'ing the file?  Not only is the file sent cleartext
("orders" sound like they make include credit card info, etc.) but it's
also one more system (and another daemon, e.g. security concerns) to
write and support.  Just make the file accessible via password protected
HTTPS.  That would make it not only secure but also utilize existing
Orion's functionality.

Neville Burnell wrote:
> 
> Hi,
> 
> Does orion have an FTP service?
> If not does anyone know of a good Java FTP server that might be used
> with orion?
> 
> We are looking at downloading files created by our J2EE App running
> on Orion [basically online orders] to a remote sales order system for
> subsequent processing. AutoFTP from Primasoft
> (http://www.primasoft.com/ftp.htm) looks good for automating the
> download, but Orion doesn't have an FTP service [or does it?]
> 
> How do other Orion sites handle FTP ?
> 
> TIA
> 
> Neville Burnell
> Business Manager Software

-- 
Jason Rimmer
[EMAIL PROTECTED]




RE: Does Orion have an FTP service?

2000-10-08 Thread Mike Cannon-Brookes

Neville,

We run Orion on Linux and as such just use ProFTP (or you could use ftpd /
wuftpd).

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Neville
Burnell
Sent: Monday, October 09, 2000 1:18 PM
To: Orion-Interest
Subject: Does Orion have an FTP service?


Hi,

Does orion have an FTP service?
If not does anyone know of a good Java FTP server that might be used
with orion?

We are looking at downloading files created by our J2EE App running
on Orion [basically online orders] to a remote sales order system for
subsequent processing. AutoFTP from Primasoft
(http://www.primasoft.com/ftp.htm) looks good for automating the
download, but Orion doesn't have an FTP service [or does it?]

How do other Orion sites handle FTP ?

TIA

Neville Burnell
Business Manager Software






Does Orion have an FTP service?

2000-10-08 Thread Neville Burnell

Hi,

Does orion have an FTP service?
If not does anyone know of a good Java FTP server that might be used
with orion?

We are looking at downloading files created by our J2EE App running 
on Orion [basically online orders] to a remote sales order system for
subsequent processing. AutoFTP from Primasoft
(http://www.primasoft.com/ftp.htm) looks good for automating the 
download, but Orion doesn't have an FTP service [or does it?]

How do other Orion sites handle FTP ?

TIA

Neville Burnell
Business Manager Software




admin.jar -bindWebApp

2000-10-08 Thread Damian Guy


 
I am trying to use admin.jar to bind a web app, I do something like
this:
 
java -jar admin.jar ormi://localhost admin pass -bindWebApp appName
web default-web-site /Web
  
And I get the following message:
 
Error: java.lang.NullPointerException
 
Any Ideas ?
 
TIA, 

Damian

P.S. Sorry if there are two copies of this message, my earlier one
didn't seem to get through.




Re: How does orionconsole do it?? (remote EJBs)

2000-10-08 Thread Al Fogleson

interesting, I connect to a remote server all the time using my clients. I
just set up a jndi.properties file, but it would be similar to your setup.
About the only thing I see is the /stamp after your remoteserver. I have
never had anything after the ormi://remoteserver, Doing all the lookup in
the jndi context. (I assume stamp is a subcontext you are looking in)

thus if I had a bean (thisHome) that i bound to context stamp/myHomeObject I
would go about it this way (using your env.

env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.RMIInitialC
ontextFactory");
env.put(Context.PROVIDER_URL,"ormi://remoteserver");
env.put(Context.SECURITY_PRINCIPAL,"admin");
env.put(Context.SECURITY_CREDENTIALS,"123");
context = new InitialContext(env);

thisHome home;

home = (thisHome)
PortableRemoteObject.narrow(context.lookup("stamp/myHomeObject"),
thisHome.class);

and so on... maybe I am totally missing what you want to do though. :)



Al


- Original Message -
From: "James Ho" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Sunday, October 08, 2000 3:10 AM
Subject: How does orionconsole do it?? (remote EJBs)


> Hi everyone,
>
> I am currently trying to access an remote EJB from a servlet.  I had
> this, in my code..
>
>
>
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.RMIInitialC
ontextFactory");
> env.put(Context.PROVIDER_URL,"orim://remoteserver/stamp");
> env.put(Context.SECURITY_PRINCIPAL,"admin");
> env.put(Context.SECURITY_CREDENTIALS,"123");
> context = new InitialContext(env);
>
> When I tried to lookup the EJB, it kept on saying 'domain was null'.
> WHat happened was that it actually tried to look for 'stamp' in the
> local orion server (and of course failed).
>
> What I wanted to do, is basically like orionconsole.jar, let u add a
> server in, and then search the EJBs on the server, and mine is
> web-based.  How does orionconsole do it?  How come the orion console
> doesn't need the remote EJBs' home/remote interface??  I have been
> having a lot of problem with servlets accessing remote EJBs.. :(
>
> Any help much appreciated.
>
> Thanks heaps...
>
> Regards, James.
>





Re: getting EJB home from JSP

2000-10-08 Thread Al Fogleson
Title: 



The only time I have ever seen this is when I 
forgot to cast my PortableRemoteObject.narrow() call it should be something 
like...
 
CategoryManagerHome home;
 
home = (CategoryManagerHome) 
PortableRemoteObject.narrow(ctx.lookup("myhome"), 
CategoryManagerHome.class);
 
 
 
you still have to cast it to a thisHome object even 
using a portableRemoteObject.narrow()
 
Al
 

  - Original Message - 
  From: 
  Jitendra 
  Kothari 
  To: Orion-Interest 
  Sent: Saturday, October 07, 2000 10:59 
  PM
  Subject: getting EJB home from JSP
  
  Hi,
  I am deploying ejbs, and jsps using a source-directory method 
  with development set to "true"( instead of packages classes into ears or 
  wars). When i try to get a handle from JNDI for EJB home class within my jsp i 
  am getting following error:
  java.lang.ClassCastException at 
  com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:296) at 
  javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
  This is because Orion is returning some wrapper 
  class instead of the home .(CategoryManagerHome_StatelessSessionHomeWrapper3).
  The same code works fine if i call from a standalone java test 
  client, in which case Orion returns some _proxy3 class which 
  gets casted to the proper class.
  Would appreciate any help and insights on this 
  problem.
  Thanks Much,
  Krishnan 
  


Re: How does orionconsole do it?? (remote EJBs)

2000-10-08 Thread James Ho

Hi, 

Oops..yes..there was a typo...but it still hasn't solve the prob :P
:(

James.

On Sun, 8 Oct 2000 16:08:33 +0400, you wrote:

>Hello,
>
>is there a typo in provider URL? Should be "ormi:..." instead of "orim:...".
>
>stas@
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]On Behalf Of James Ho
>> Sent: Sunday, October 08, 2000 11:10 AM
>> To: Orion-Interest
>> Subject: How does orionconsole do it?? (remote EJBs)
>>
>>
>> Hi everyone,
>>
>> I am currently trying to access an remote EJB from a servlet.  I had
>> this, in my code..
>>
>>
>> env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.R
>MIInitialContextFactory");
>>  env.put(Context.PROVIDER_URL,"orim://remoteserver/stamp");
>>  env.put(Context.SECURITY_PRINCIPAL,"admin");
>>  env.put(Context.SECURITY_CREDENTIALS,"123");
>>  context = new InitialContext(env);
>>
>> When I tried to lookup the EJB, it kept on saying 'domain was null'.
>> WHat happened was that it actually tried to look for 'stamp' in the
>> local orion server (and of course failed).
>>
>> What I wanted to do, is basically like orionconsole.jar, let u add a
>> server in, and then search the EJBs on the server, and mine is
>> web-based.  How does orionconsole do it?  How come the orion console
>> doesn't need the remote EJBs' home/remote interface??  I have been
>> having a lot of problem with servlets accessing remote EJBs.. :(
>>
>> Any help much appreciated.
>>
>> Thanks heaps...
>>
>> Regards, James.
>>
>
>





RE: how to capture stdout ?

2000-10-08 Thread Mike Cannon-Brookes

Sure,

Just start with

java -jar orion.jar -out stdout.log -err stderr.log

Mike

PS There are other options you might not be aware of, but these are the most
useful IMHO - try java -jar orion.jar -?

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of TH Lim
> Sent: Sunday, October 08, 2000 9:57 PM
> To: Orion-Interest
> Subject: how to capture stdout ?
>
>
> Hi!
>
> Is there a setting in Orion server where allows me to capture
> System.out.println() and System.err.println() in a file? If so,
> how do set it?
>
> thank you
>
> /lim/
>
>
>





RE: How does orionconsole do it?? (remote EJBs)

2000-10-08 Thread Stanislav Maximov

Hello,

is there a typo in provider URL? Should be "ormi:..." instead of "orim:...".

stas@

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of James Ho
> Sent: Sunday, October 08, 2000 11:10 AM
> To: Orion-Interest
> Subject: How does orionconsole do it?? (remote EJBs)
>
>
> Hi everyone,
>
> I am currently trying to access an remote EJB from a servlet.  I had
> this, in my code..
>
>
> env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.R
MIInitialContextFactory");
>   env.put(Context.PROVIDER_URL,"orim://remoteserver/stamp");
>   env.put(Context.SECURITY_PRINCIPAL,"admin");
>   env.put(Context.SECURITY_CREDENTIALS,"123");
>   context = new InitialContext(env);
>
> When I tried to lookup the EJB, it kept on saying 'domain was null'.
> WHat happened was that it actually tried to look for 'stamp' in the
> local orion server (and of course failed).
>
> What I wanted to do, is basically like orionconsole.jar, let u add a
> server in, and then search the EJBs on the server, and mine is
> web-based.  How does orionconsole do it?  How come the orion console
> doesn't need the remote EJBs' home/remote interface??  I have been
> having a lot of problem with servlets accessing remote EJBs.. :(
>
> Any help much appreciated.
>
> Thanks heaps...
>
> Regards, James.
>





how to capture stdout ?

2000-10-08 Thread TH Lim

Hi!

Is there a setting in Orion server where allows me to capture System.out.println() and 
System.err.println() in a file? If so, how do set it?

thank you

/lim/





admin.jar -bindWebApp

2000-10-08 Thread [EMAIL PROTECTED]

I am trying to use admin.jar to bind a web app, I do something like
this:

java -jar admin.jar ormi://localhost admin pass -bindWebApp appName
web default-web-site /Web

And I get the following message:

Error: java.lang.NullPointerException

Any Ideas ?

TIA

Damian




Chinese (Big 5) Encoding?

2000-10-08 Thread Mike Cannon-Brookes



Has anyone 
successfully used Big 5 encoding with Orion JSPs?
 
I've changed the 
default-charset of the WAR to"Big5" but now all my JSP tags turn up in the 
source? (ie <%= etc gets printed with the source)
 
What to 
do?
 
Mike


How does orionconsole do it?? (remote EJBs)

2000-10-08 Thread James Ho

Hi everyone,

I am currently trying to access an remote EJB from a servlet.  I had
this, in my code..


env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.RMIInitialContextFactory");
env.put(Context.PROVIDER_URL,"orim://remoteserver/stamp");
env.put(Context.SECURITY_PRINCIPAL,"admin");
env.put(Context.SECURITY_CREDENTIALS,"123");
context = new InitialContext(env);

When I tried to lookup the EJB, it kept on saying 'domain was null'. 
WHat happened was that it actually tried to look for 'stamp' in the
local orion server (and of course failed).

What I wanted to do, is basically like orionconsole.jar, let u add a
server in, and then search the EJBs on the server, and mine is
web-based.  How does orionconsole do it?  How come the orion console
doesn't need the remote EJBs' home/remote interface??  I have been
having a lot of problem with servlets accessing remote EJBs.. :(

Any help much appreciated.

Thanks heaps...

Regards, James.