Using Apache with Orion Server

2001-12-18 Thread VENKATACHALAPATHY Duraiswamy

Can anybody explain how can I configure Apache to use with Orion Application
server?
The documentation available in orionsupport.com for the above was not
elaborate.

Thanks
Venkat




ejb can't invoke another ejb on a different orion (orion-orion ejbinvoking)

2001-12-18 Thread MRist


Hi there,

we have two j2ee applications running on different orion servers (say orion1 and
orion2). Both 1.5.2 orions run under JDK1.3.0 on winnt 4.0
Now we want 'cross' functionality...
We build a sessionBean  'myGreatBean', deploy it on orion1, create an
test-application client Everything works fine :-)
But now I want to call 'myGreatBean' from a sessionBean 'greatBeanUser' living
on orion2.

Here the code from 'myGreatBeanUser':


Hashtable jndi_props = new Hashtable();
jndi_props.put(dedicated.connection, true);
jndi_props.put(Context.INITIAL_CONTEXT_FACTORY,
com.evermind.server.rmi.RMIInitialContextFactory);
jndi_props.put(Context.PROVIDER_URL, ormi://orion1/App1);
jndi_props.put(Context.SECURITY_PRINCIPAL, admin);
jndi_props.put(Context.SECURITY_CREDENTIALS, 123);

Context ctx = new InitialContext(jndi_props);
Object ref = ctx.lookup(myGreatBean);
GreatBeanHome home = (GreatBeanHome ) PortableRemoteObject.narrow(ref,
GreatBeanHome .class);


narrow() throws the following exception:

java.lang.ClassCastException at
com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:296)


at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
at
de.lsgermany.Products.SiteMarket.GUI.internal.RadioPlanning.Feasibility.FeasibilityDataBean.calculate(FeasibilityDataBean.java:87)


at __jspPage0_internal_feasibility_data_jsp._jspService
(__jspPage0_internal_feasibility_data_jsp.java:164)
at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
at com.evermind._ah._rad(Unknown Source)
at com.evermind.server.http.JSPServlet.service(Unknown Source)
at com.evermind._cxb._abe(Unknown Source)
at com.evermind._cxb._uec(Unknown Source)
at com.evermind._io._twc(Unknown Source)
at com.evermind._io._gc(Unknown Source)
at com.evermind._if.run(Unknown Source)



What the hell is the difference between calling ejb's from appclient and calling
from a 'foreign' ejb?
I have seen a lot about this topic in the list, but unfortunately this problem
isn't discussed to my satisfaction.

One of the most important reason for developing EJB's is reusing in an
ENTERPRISE environment (IMHO)

Help  (hello orionsupport!!!) would be appreciated,
Michael

==
LS telcom AG
Michael Rist
Im Gewerbegebiet 31-35
D-77839 LICHTENAU
Germany

Phone: +49 7227 9535-242
FAX: +49 7227 8982
email:[EMAIL PROTECTED]
==







Standalone applications

2001-12-18 Thread Daniel López

Hi,

In the System.exit(1) thread, I've read that some people was using some 
auto-executable files to start up some standalone applications, but I 
haven't been able to find some clear documentation about it. I've tried 
with the Sun J2EE tutorials and the J2EE spec but it does not get to the 
details. Is there any place where I can get more specific documentation? 
And Orion specific documentation?
My problem is that I can move my web applications from one host to 
another very easily, but I have to modify each time the standalone 
application startup scripts, so I was wondering if there was a standard 
way to miminize it. I guess you have to use the java tag in the 
application.xml descriptor... but how do you execute the application, 
where do you specify properties like the classpath, -D properties...
Thanks in advance,
D.





Re: Using Apache with Orion Server

2001-12-18 Thread Lachezar Dobrev


smime.p7m
Description: application/pkcs7-mime


Re: [ORION] Using Apache with Orion Server

2001-12-18 Thread Ana Susanj

* VENKATACHALAPATHY Duraiswamy ([EMAIL PROTECTED]) [011218 13:11]:
Can anybody explain how can I configure Apache to use with Orion Application
server?
The documentation available in orionsupport.com for the above was not
elaborate.

Are you referring to apachefrontend.html ? If so, which part of the 
documentation was unclear or not detailed enough? How far did you get? 


ana.

-- 
~ http://www.myrrh.net/ 
~
~ Things are not as they appear to be; neither are they different.
~ -- Lankavatara Sutra




Re: Unsubscribe

2001-12-18 Thread Alexandru Balut


They can build an application server and they can't maintain a mailing list? 
:-)

There is something strange here..

On Monday 17 December 2001 22:07, Dan Hoyal wrote:
 Please remove me as well.  I've also tried several times.

 Thank you,
 Dan
   -Original Message-
   From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Pullen
   Sent: Monday, December 17, 2001 7:11 AM
   To: Orion-Interest
   Subject: Unsubsribe


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

   Thank you,

   Matthew


Content-Type: text/html; charset=iso-8859-1; name=Attachment: 1
Content-Transfer-Encoding: quoted-printable
Content-Description: 





Re: Using Apache with Orion Server

2001-12-18 Thread remy menetrieux

Try to use proxypass and proxypassreverse function of apache's mod_proxy
Fo me i use this :
IfModule mod_proxy.c
   ProxyRequestOn
   ProxyPass /app1 http://localhost:8080/app1
   ProxyPassReverse /app1 http://localhost:8080/app1
/IfModule
Good luck ...

VENKATACHALAPATHY Duraiswamy wrote:

 Can anybody explain how can I configure Apache to use with Orion Application
 server?
 The documentation available in orionsupport.com for the above was not
 elaborate.
 
 Thanks
 Venkat
 
 
 
 





Re: How do you shut down orion after it's initialized

2001-12-18 Thread James Beeson


I did not have the admin user deactivated (althought that was a good tip- 
thanks!)

When I use the command:

java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown

I get:

Exception in thread main java.util.zip.ZipException: The system cannot 
find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)

And then Orion is left running. Could that be related to the error it prints 
out when Orion starts (here it is):

Warning: Error reading transaction-log file 
(/C:/orion/persistence/transaction.state) for recovery: premature end of 
file Forced or abrubt (crash etc) server shutdown detected, starting 
recovery process
...
Recovery completed, 0 connections committed and 0 rolled back...
Orion/1.5.2 initialized

But then the app runs fine. I currently don't have a transaction.state file.

Why won't it let me shut down Orion?
Thanks




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx





Re: Unsubscribe

2001-12-18 Thread John Hogan

esad
-Original Message-
From: Alexandru Balut [EMAIL PROTECTED]
Date: Tue, 18 Dec 2001 16:00:38 +0200
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: Unsubscribe


 
 They can build an application server and they can't maintain a mailing list? 
 :-)
 
 There is something strange here..
 
 On Monday 17 December 2001 22:07, Dan Hoyal wrote:
  Please remove me as well.  I've also tried several times.
 
  Thank you,
  Dan
-Original Message-
From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Pullen
Sent: Monday, December 17, 2001 7:11 AM
To: Orion-Interest
Subject: Unsubsribe
 
 
 Even i tried to unsubscribe at the specifed address.It did not
  work.Please remove my name from the list.
 
Thank you,
 
Matthew
 
 
 Content-Type: text/html; charset=iso-8859-1; name=Attachment: 1
 Content-Transfer-Encoding: quoted-printable
 Content-Description: 
 
 
 

-- 

___
Get your email from http://www.ireland.com





Re: [ORION] Using Apache with Orion Server

2001-12-18 Thread remy menetrieux



try this in httpd.conf 
IfModule mod_proxy.c 
 ProxyRequestOn 
 ProxyPass /app1 
http://localhost:8080/app1

 ProxyPassReverse /app1 
http://localhost:8080/app1

/IfModule

Ana Susanj wrote:
[EMAIL PROTECTED]">
  * VENKATACHALAPATHY Duraiswamy ([EMAIL PROTECTED]) [011218 13:11]:
  
Can anybody explain how can I configure Apache to use with Orion Applicationserver?The documentation available in orionsupport.com for the above was notelaborate.

Are you referring to apachefrontend.html ? If so, which part of the documentation was unclear or not detailed enough? How far did you get? ana.






RE: Very Long Deployment Time

2001-12-18 Thread geoff



Like 
others on this list, I don't share your problem. I redeploy the entire EAR 
using Ant, and the redeploy process for our project takes less than ten 
seconds. Your project might be larger than mine, at this point, but not so 
much that it should cause the kind of delay you're finding.

I 
don't know much about JDeveloper, but once your project is compiled, you should 
be able to place it in the applications directory and have Orion deploy it 
rapidly, without restarting Orion, assuming Orion's configured 
appropriately.

 - Geoffrey

  -Original Message-From: Gustavo Comba 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, December 17, 2001 
  11:34 AMTo: Orion-InterestSubject: Very Long Deployment 
  Time
  Hello,
  
   I'm deployinga little 
  project with a Client Application Module and a EJB Module with several EJB 
  (about 30 Entity and 5 Session Beans). I'm using JDeveloper 9i Release 
  Cantidate to develop/deploy my project.
  
   My project compiles very fast, 
  but when I do the deployment, it take a very long time (about 10 minutes). I'm 
  debugging now, and I'm deploying continously, and it's very 
  anoying!
  
   There is something I can do to 
  accelerate the deployment proccess? Can I copy the .ear file directly into the 
  "applications" directory and start the server again? Help me 
  please!
  
   Thanks in 
advance,
  

   Gustavo 
  Comba_This 
  message has been checked for all known viruses by the MessageLabs Virus 
  Scanning Service. For further information visithttp://www.messagelabs.com/stats.asp


_
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service. For further information visit

http://www.messagelabs.com/stats.asp




RE: How do you shut down orion after it's initialized

2001-12-18 Thread Setlur, Atul (MED)

Are you sure you are running this from the directory where orion is
installed. Verify admin.jar is in the directory that you are running
this script. Alternatively, cd to the orion directory and run it from
there.

-Atul

-Original Message-
From: James Beeson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 9:41 AM
To: Orion-Interest
Subject: Re: How do you shut down orion after it's initialized



I did not have the admin user deactivated (althought that was a good
tip- 
thanks!)

When I use the command:

java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown

I get:

Exception in thread main java.util.zip.ZipException: The system cannot

find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)

And then Orion is left running. Could that be related to the error it
prints 
out when Orion starts (here it is):

Warning: Error reading transaction-log file 
(/C:/orion/persistence/transaction.state) for recovery: premature end of

file Forced or abrubt (crash etc) server shutdown detected, starting 
recovery process
...
Recovery completed, 0 connections committed and 0 rolled back...
Orion/1.5.2 initialized

But then the app runs fine. I currently don't have a transaction.state
file.

Why won't it let me shut down Orion?
Thanks




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx





Using UserTransaction from a standalone client

2001-12-18 Thread DPietro

Can someone tell me how to configure properly to lookup a UserTransaction? 

I have a standalone client that references a jndi.properties file to 
connect to our app server and make use of EJB's.
When I try to add a UserTransaction lookup I get name not found.
Do I have to add UserTransaction to an xml config file somewhere? What 
does the entry have to look like?
Thanks.





Re: [ORION] Using Apache with Orion Server

2001-12-18 Thread Tatiana Gonzalez Cruz


So,

If you are trying to use the web-server Apache with Orion, the way that we
found was...

That orion forwad the requests to Apache because there is not a plug-in for
that, so you need edit the httpd.conf file in Apache and the
default-web-site.xml and global-web-application.xml in Orion.

default-web-site.xml ...Orion must be listening in the port 80 (normaly this
port is used by the web server).

global-web-application.xml ... start up the forward service in Orion to
Apache (com.evermind.server.http.TunnelServlet)

httpd.conf Apache must be listening in the port 8080 by example

I hope this can help you!

Tatiana

From: Ana Susanj [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: [ORION] Using Apache with Orion Server
Date: Tue, 18 Dec 2001 13:21:32 +

* VENKATACHALAPATHY Duraiswamy ([EMAIL PROTECTED]) [011218 13:11]:
 Can anybody explain how can I configure Apache to use with Orion
Application
 server?
 The documentation available in orionsupport.com for the above was not
 elaborate.

Are you referring to apachefrontend.html ? If so, which part of the
documentation was unclear or not detailed enough? How far did you get?


ana.

--
~ http://www.myrrh.net/
~
~ Things are not as they appear to be; neither are they different.
~ -- Lankavatara Sutra





_
Hable con sus amigos en línea, pruebe MSN Messenger: http://messenger.msn.es





RE: Very Long Deployment Time

2001-12-18 Thread Jarrod Roberson
Title: Message



it is 
VERY slow to deploy using the ORMI commands, it takes 
FOREVER.
it is 
much faster to use ANT to deploy via coping or ftping the .ear or .war files to 
orion directly.

  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]] On Behalf Of Peter 
  DunnSent: Monday, December 17, 2001 2:27 PMTo: 
  Orion-InterestSubject: RE: Very Long Deployment 
  Time
  I've 
  used delegates for the implementation logic from the EJB classes and created 
  abatch file that re-packages the delegate classes into the .jar file. It 
  takes less than 5 seconds for redeployment, only when I've changed my 
  interface do I redeploy the EJB, I've also done something similiar on 
  the web side of things minus the delegate bit. So my deployment looks 
  something like this.
  
  ejb 
  MyClassDelegate package-name
  5 
  seconds
  web 
  MyClassServlet package-name
  2-4 
  seconds
  
  were 
  ejb and web are the names of my batch files.
  
  MyClassEJB
  ...
   public void doSomething()
   {
   delegate.doSomething();
   }
  }
  
-Original Message-From: Gustavo Comba 
[mailto:[EMAIL PROTECTED]]Sent: Monday, December 17, 2001 
8:34 AMTo: Orion-InterestSubject: Very Long Deployment 
Time
Hello,

 I'm deployinga little 
project with a Client Application Module and a EJB Module with several EJB 
(about 30 Entity and 5 Session Beans). I'm using JDeveloper 9i Release 
Cantidate to develop/deploy my project.

 My project compiles very 
fast, but when I do the deployment, it take a very long time (about 10 
minutes). I'm debugging now, and I'm deploying continously, and it's very 
anoying!

 There is something I can do 
to accelerate the deployment proccess? Can I copy the .ear file directly 
into the "applications" directory and start the server again? Help me 
please!

 Thanks in 
advance,

  
 Gustavo 
Comba


Re: Unsubscribe

2001-12-18 Thread Vic Cekvenich

I have a Orion list mirror at news.basebeans.com. It posts to mail list.

My news server is up (I do not know of it being down). The Orion list 
was down last week. (I am happy to host the mail list in the USA).
This is my favorite app. server.

HTH,
Vic

ps:
http://www.mail-archive.com/orion-interest%40orionserver.com/

John Hogan wrote:

esad
-Original Message-
From: Alexandru Balut [EMAIL PROTECTED]
Date: Tue, 18 Dec 2001 16:00:38 +0200
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: Unsubscribe


They can build an application server and they can't maintain a mailing list? 
:-)

There is something strange here..

On Monday 17 December 2001 22:07, Dan Hoyal wrote:

Please remove me as well.  I've also tried several times.

Thank you,
Dan
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Pullen
  Sent: Monday, December 17, 2001 7:11 AM
  To: Orion-Interest
  Subject: Unsubsribe


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

  Thank you,

  Matthew


Content-Type: text/html; charset=iso-8859-1; name=Attachment: 1
Content-Transfer-Encoding: quoted-printable
Content-Description: 










Re: How do you shut down orion after it's initialized

2001-12-18 Thread Chris Callaghan

Sounds like you're missing admin.jar...

You can get rid of your transaction-log error by creating a persistence 
directory under the orion directory. Orion will then happily use that... 
I think some zip implementations have a thing about creating empty 
directories...

James Beeson wrote:


 I did not have the admin user deactivated (althought that was a good 
 tip- thanks!)

 When I use the command:

 java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown

 I get:

 Exception in thread main java.util.zip.ZipException: The system 
 cannot find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)

 And then Orion is left running. Could that be related to the error it 
 prints out when Orion starts (here it is):

 Warning: Error reading transaction-log file 
 (/C:/orion/persistence/transaction.state) for recovery: premature end 
 of file Forced or abrubt (crash etc) server shutdown detected, 
 starting recovery process
 ...
 Recovery completed, 0 connections committed and 0 rolled back...
 Orion/1.5.2 initialized

 But then the app runs fine. I currently don't have a transaction.state 
 file.

 Why won't it let me shut down Orion?
 Thanks




 _
 MSN Photos is the easiest way to share and print your photos: 
 http://photos.msn.com/support/worldwide.aspx








RE: Using UserTransaction from a standalone client

2001-12-18 Thread The elephantwalker

This was answered at www.elephantwalker.com/rfa?id=271

regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 9:48 AM
To: Orion-Interest
Subject: Using UserTransaction from a standalone client


Can someone tell me how to configure properly to lookup a UserTransaction? 

I have a standalone client that references a jndi.properties file to 
connect to our app server and make use of EJB's.
When I try to add a UserTransaction lookup I get name not found.
Do I have to add UserTransaction to an xml config file somewhere? What 
does the entry have to look like?
Thanks.







how does Orion finds classes ?

2001-12-18 Thread Yekesa Kosuru

Hi,

When a class needs to be loaded, how does Orion find
the class ?. 

My guess is it goes through all the jars file it is
configured with (manifest file, server.xml,
application.xml etc). But then isn't this expensive,
because for every single class, it has to go through
all the jars it knows about.

Another questions is, once loaded, when will jars be
unloaded ?. The reason I am asking is if the server is
configured with bunch of jars, but then a given app
only needs few of them, if class finding ends up
loading all the jars, then they are taking up memory
(which is what I am seeing) for quite sometime until
they get unloaded.

Can someone shed some light on this. Please cc me on
the reply.

Thanks

Vissu





__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com




Re: How do you shut down orion after it's initialized

2001-12-18 Thread Robert S. Sfeir

Sounds like you're using the command without being in the Orion directory.
Can't do that.

R
 James Beeson wrote:

 
  I did not have the admin user deactivated (althought that was a good
  tip- thanks!)
 
  When I use the command:
 
  java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown
 
  I get:
 
  Exception in thread main java.util.zip.ZipException: The system
  cannot find the file specified
 at java.util.zip.ZipFile.open(Native Method)
 at java.util.zip.ZipFile.init(Unknown Source)
 at java.util.jar.JarFile.init(Unknown Source)
 at java.util.jar.JarFile.init(Unknown Source)
 
  And then Orion is left running. Could that be related to the error it
  prints out when Orion starts (here it is):
 
  Warning: Error reading transaction-log file
  (/C:/orion/persistence/transaction.state) for recovery: premature end
  of file Forced or abrubt (crash etc) server shutdown detected,
  starting recovery process
  ...
  Recovery completed, 0 connections committed and 0 rolled back...
  Orion/1.5.2 initialized
 
  But then the app runs fine. I currently don't have a transaction.state
  file.
 
  Why won't it let me shut down Orion?
  Thanks
 
 
 
 
  _
  MSN Photos is the easiest way to share and print your photos:
  http://photos.msn.com/support/worldwide.aspx
 
 









Re: How do you shut down orion after it's initialized

2001-12-18 Thread Steven R Brandt

Forgive the dumb question... but is admin.jar in the current directory when
you issue this command?  

12/18/01 10:41:14 AM, James Beeson [EMAIL PROTECTED] wrote:


I did not have the admin user deactivated (althought that was a good tip- 
thanks!)

When I use the command:

java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown

I get:

Exception in thread main java.util.zip.ZipException: The system cannot 
find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)

And then Orion is left running. Could that be related to the error it prints 
out when Orion starts (here it is):

Warning: Error reading transaction-log file 
(/C:/orion/persistence/transaction.state) for recovery: premature end of 
file Forced or abrubt (crash etc) server shutdown detected, starting 
recovery process
...
Recovery completed, 0 connections committed and 0 rolled back...
Orion/1.5.2 initialized

But then the app runs fine. I currently don't have a transaction.state file.

Why won't it let me shut down Orion?
Thanks




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx











jndi.properties

2001-12-18 Thread Namor Taror


I'm getting jndi exception when envoking ejb web service. I have defined 
jndi.properties file and put a reference to it into my system classpath as 
well as into the axis orion-application.xml and orion-web.xml files.

My jndi.properties file is:

java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory
java.naming.provider.url=ormi://localhost:23791/Schedule
java.naming.security.principal=admin
java.naming.security.credentials=123


and the exception is:

javax.naming.NamingException: Error instantiating web-app JNDI-context: No 
location specified and no suitable instance of the type 
'com.taror.schedule.ejb.session.scheduler.SchedulerManager' found for the 
ejb-ref SchedulerManager



_
Send and receive Hotmail on your mobile device: http://mobile.msn.com





RE: How do you shut down orion after it's initialized

2001-12-18 Thread James Beeson

This is what I get when I start Orion:

C:\orionjava -jar orion.jar
Warning: Error reading transaction-log file
(/C:/orion/persistence/transaction.state) for recovery: premature end of
file
Forced or abrubt (crash etc) server shutdown detected, starting recovery
process
...
Recovery completed, 0 connections committed and 0 rolled back...
Orion/1.5.2 initialized

I immediately opened a new DOS window and did this:

C:\WINDOWS\Profiles\James\Desktopcd c:\orion

C:\orionjava -jar admin.jar ormi://localhost:8080 admin pswd -shutdown
Error: javax.naming.NamingException: Lookup error: java.io.EOFException:
Disconnected; nested exception is:
java.io.EOFException: Disconnected

C:\orion




From: Setlur, Atul (MED) [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: RE: How do you shut down orion after it's initialized
Date: Tue, 18 Dec 2001 11:16:11 -0600

Are you sure you are running this from the directory where orion is
installed. Verify admin.jar is in the directory that you are running
this script. Alternatively, cd to the orion directory and run it from
there.

-Atul

-Original Message-
From: James Beeson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 9:41 AM
To: Orion-Interest
Subject: Re: How do you shut down orion after it's initialized



I did not have the admin user deactivated (althought that was a good
tip-
thanks!)

When I use the command:

java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown

I get:

Exception in thread main java.util.zip.ZipException: The system cannot

find the file specified
 at java.util.zip.ZipFile.open(Native Method)
 at java.util.zip.ZipFile.init(Unknown Source)
 at java.util.jar.JarFile.init(Unknown Source)
 at java.util.jar.JarFile.init(Unknown Source)

And then Orion is left running. Could that be related to the error it
prints
out when Orion starts (here it is):

Warning: Error reading transaction-log file
(/C:/orion/persistence/transaction.state) for recovery: premature end of

file Forced or abrubt (crash etc) server shutdown detected, starting
recovery process
...
Recovery completed, 0 connections committed and 0 rolled back...
Orion/1.5.2 initialized

But then the app runs fine. I currently don't have a transaction.state
file.

Why won't it let me shut down Orion?
Thanks




_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx




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





Re: How do you shut down orion after it's initialized

2001-12-18 Thread James Beeson

I have an admin.jar in my c:\orion directory, but I looked inside it and the 
ONLY file is the manifest.mf file. There are no other files (namely any 
.class files) there. Is that right? I just downloaded this less than a week 
ago, the newest stable version there was

Here is what is in the manifest file:

Manifest-Version: 1.0
Main-Class: com.evermind.client.orion.OrionConsoleAdmin
Name: Evermind Console-based Admin
Created-By: 1.2 (Sun Microsystems Inc.)
Implementation-Vendor: Evermind
Class-Path: orion.jar
Implementation-Version: 0.1.8
Implementation-Title: com.evermind.client.orion

I have run the
java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown   command
from the c:\orion directory

I am able to shut down properly by using the orion console's
FileExit menu item after accessing the console via the command

C:\orionjava -jar orion.jar -console

While this doesn't solve my problem from trying to shut down properly from 
the command line, this seems to do the trick.
Thanks Everyone!





From: Chris Callaghan [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: How do you shut down orion after it's initialized
Date: Wed, 19 Dec 2001 11:14:55 +1300

Sounds like you're missing admin.jar...

You can get rid of your transaction-log error by creating a persistence
directory under the orion directory. Orion will then happily use that...
I think some zip implementations have a thing about creating empty
directories...

James Beeson wrote:


I did not have the admin user deactivated (althought that was a good
tip- thanks!)

When I use the command:

java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown

I get:

Exception in thread main java.util.zip.ZipException: The system
cannot find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)

And then Orion is left running. Could that be related to the error it
prints out when Orion starts (here it is):

Warning: Error reading transaction-log file
(/C:/orion/persistence/transaction.state) for recovery: premature end
of file Forced or abrubt (crash etc) server shutdown detected,
starting recovery process
...
Recovery completed, 0 connections committed and 0 rolled back...
Orion/1.5.2 initialized

But then the app runs fine. I currently don't have a transaction.state
file.

Why won't it let me shut down Orion?
Thanks




_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx







_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.





RE: How do you shut down orion after it's initialized

2001-12-18 Thread Neville Burnell

you will need the entire Orion153.zip, not just the admin.jar

-Original Message-
From: James Beeson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 19 December 2001 4:06 PM
To: Orion-Interest
Subject: Re: How do you shut down orion after it's initialized


I have an admin.jar in my c:\orion directory, but I looked inside it and
the 
ONLY file is the manifest.mf file. There are no other files (namely any 
.class files) there. Is that right? I just downloaded this less than a
week 
ago, the newest stable version there was

Here is what is in the manifest file:

Manifest-Version: 1.0
Main-Class: com.evermind.client.orion.OrionConsoleAdmin
Name: Evermind Console-based Admin
Created-By: 1.2 (Sun Microsystems Inc.)
Implementation-Vendor: Evermind
Class-Path: orion.jar
Implementation-Version: 0.1.8
Implementation-Title: com.evermind.client.orion

I have run the
java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown
command
from the c:\orion directory

I am able to shut down properly by using the orion console's
FileExit menu item after accessing the console via the command

C:\orionjava -jar orion.jar -console

While this doesn't solve my problem from trying to shut down properly
from 
the command line, this seems to do the trick.
Thanks Everyone!





From: Chris Callaghan [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: How do you shut down orion after it's initialized
Date: Wed, 19 Dec 2001 11:14:55 +1300

Sounds like you're missing admin.jar...

You can get rid of your transaction-log error by creating a persistence
directory under the orion directory. Orion will then happily use that...
I think some zip implementations have a thing about creating empty
directories...

James Beeson wrote:


I did not have the admin user deactivated (althought that was a good
tip- thanks!)

When I use the command:

java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown

I get:

Exception in thread main java.util.zip.ZipException: The system
cannot find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)

And then Orion is left running. Could that be related to the error it
prints out when Orion starts (here it is):

Warning: Error reading transaction-log file
(/C:/orion/persistence/transaction.state) for recovery: premature end
of file Forced or abrubt (crash etc) server shutdown detected,
starting recovery process
...
Recovery completed, 0 connections committed and 0 rolled back...
Orion/1.5.2 initialized

But then the app runs fine. I currently don't have a transaction.state
file.

Why won't it let me shut down Orion?
Thanks




_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx







_
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp.





Re: How do you shut down orion after it's initialized

2001-12-18 Thread Robert S. Sfeir

That's because Orion did not start properly in the first place.  That's why
you're getting that second error.  Fix the start process, then you should be
fine.  To test that Orion did not start, just hit it via local host or
something and see if it responds.  You should get connection refused.


--

This is what I get when I start Orion:

C:\orionjava -jar orion.jar
Warning: Error reading transaction-log file
(/C:/orion/persistence/transaction.state) for recovery: premature end of
file
Forced or abrubt (crash etc) server shutdown detected, starting recovery
process
...
Recovery completed, 0 connections committed and 0 rolled back...
Orion/1.5.2 initialized

I immediately opened a new DOS window and did this:

C:\WINDOWS\Profiles\James\Desktopcd c:\orion

C:\orionjava -jar admin.jar ormi://localhost:8080 admin pswd -shutdown
Error: javax.naming.NamingException: Lookup error: java.io.EOFException:
Disconnected; nested exception is:
java.io.EOFException: Disconnected

C:\orion




From: Setlur, Atul (MED) [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: RE: How do you shut down orion after it's initialized
Date: Tue, 18 Dec 2001 11:16:11 -0600

Are you sure you are running this from the directory where orion is
installed. Verify admin.jar is in the directory that you are running
this script. Alternatively, cd to the orion directory and run it from
there.

-Atul

-Original Message-
From: James Beeson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 9:41 AM
To: Orion-Interest
Subject: Re: How do you shut down orion after it's initialized



I did not have the admin user deactivated (althought that was a good
tip-
thanks!)

When I use the command:

java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown

I get:

Exception in thread main java.util.zip.ZipException: The system cannot

find the file specified
 at java.util.zip.ZipFile.open(Native Method)
 at java.util.zip.ZipFile.init(Unknown Source)
 at java.util.jar.JarFile.init(Unknown Source)
 at java.util.jar.JarFile.init(Unknown Source)

And then Orion is left running. Could that be related to the error it
prints
out when Orion starts (here it is):

Warning: Error reading transaction-log file
(/C:/orion/persistence/transaction.state) for recovery: premature end of

file Forced or abrubt (crash etc) server shutdown detected, starting
recovery process
...
Recovery completed, 0 connections committed and 0 rolled back...
Orion/1.5.2 initialized

But then the app runs fine. I currently don't have a transaction.state
file.

Why won't it let me shut down Orion?
Thanks




_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx




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








Re: How do you shut down orion after it's initialized

2001-12-18 Thread Chris Callaghan

Wrong port dude, try 23791 (default unless you change it in 
orion/config/rmi.xml).

James Beeson wrote:

 This is what I get when I start Orion:
 
 C:\orionjava -jar orion.jar
 Warning: Error reading transaction-log file
 (/C:/orion/persistence/transaction.state) for recovery: premature end of
 file
 Forced or abrubt (crash etc) server shutdown detected, starting recovery
 process
 ...
 Recovery completed, 0 connections committed and 0 rolled back...
 Orion/1.5.2 initialized
 
 I immediately opened a new DOS window and did this:
 
 C:\WINDOWS\Profiles\James\Desktopcd c:\orion
 
 C:\orionjava -jar admin.jar ormi://localhost:8080 admin pswd -shutdown
 Error: javax.naming.NamingException: Lookup error: java.io.EOFException:
 Disconnected; nested exception is:
java.io.EOFException: Disconnected
 
 C:\orion
 
 
 
 
 From: Setlur, Atul (MED) [EMAIL PROTECTED]
 Reply-To: Orion-Interest [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Subject: RE: How do you shut down orion after it's initialized
 Date: Tue, 18 Dec 2001 11:16:11 -0600
 
 Are you sure you are running this from the directory where orion is
 installed. Verify admin.jar is in the directory that you are running
 this script. Alternatively, cd to the orion directory and run it from
 there.
 
 -Atul
 
 -Original Message-
 From: James Beeson [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 18, 2001 9:41 AM
 To: Orion-Interest
 Subject: Re: How do you shut down orion after it's initialized
 
 
 
 I did not have the admin user deactivated (althought that was a good
 tip-
 thanks!)
 
 When I use the command:
 
 java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown
 
 I get:
 
 Exception in thread main java.util.zip.ZipException: The system cannot
 
 find the file specified
 at java.util.zip.ZipFile.open(Native Method)
 at java.util.zip.ZipFile.init(Unknown Source)
 at java.util.jar.JarFile.init(Unknown Source)
 at java.util.jar.JarFile.init(Unknown Source)
 
 And then Orion is left running. Could that be related to the error it
 prints
 out when Orion starts (here it is):
 
 Warning: Error reading transaction-log file
 (/C:/orion/persistence/transaction.state) for recovery: premature end of
 
 file Forced or abrubt (crash etc) server shutdown detected, starting
 recovery process
 ...
 Recovery completed, 0 connections committed and 0 rolled back...
 Orion/1.5.2 initialized
 
 But then the app runs fine. I currently don't have a transaction.state
 file.
 
 Why won't it let me shut down Orion?
 Thanks
 
 
 
 
 _
 MSN Photos is the easiest way to share and print your photos:
 http://photos.msn.com/support/worldwide.aspx
 
 
 
 
 _
 Join the world's largest e-mail service with MSN Hotmail.
 http://www.hotmail.com
 
 







Re: How do you shut down orion after it's initialized

2001-12-18 Thread Daniel López

Hi James,

Is 8080 your HTTP port, specified in your x-web-site.xml descriptor, or 
is it the RMI port described in the rmi.xml one? It HAS to be the RMI 
one, as you admin.jar connects through RMI to tell the orion server to 
stop, so you cannot do it through the port HTTP is used for.
regards,
D.


James Beeson wrote:

 This is what I get when I start Orion:
 
 C:\orionjava -jar orion.jar
 Warning: Error reading transaction-log file
 (/C:/orion/persistence/transaction.state) for recovery: premature end of
 file
 Forced or abrubt (crash etc) server shutdown detected, starting recovery
 process
 ...
 Recovery completed, 0 connections committed and 0 rolled back...
 Orion/1.5.2 initialized
 
 I immediately opened a new DOS window and did this:
 
 C:\WINDOWS\Profiles\James\Desktopcd c:\orion
 
 C:\orionjava -jar admin.jar ormi://localhost:8080 admin pswd -shutdown
 Error: javax.naming.NamingException: Lookup error: java.io.EOFException:
 Disconnected; nested exception is:
java.io.EOFException: Disconnected
 
 C:\orion
 
 
 
 
 From: Setlur, Atul (MED) [EMAIL PROTECTED]
 Reply-To: Orion-Interest [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Subject: RE: How do you shut down orion after it's initialized
 Date: Tue, 18 Dec 2001 11:16:11 -0600
 
 Are you sure you are running this from the directory where orion is
 installed. Verify admin.jar is in the directory that you are running
 this script. Alternatively, cd to the orion directory and run it from
 there.
 
 -Atul
 
 -Original Message-
 From: James Beeson [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 18, 2001 9:41 AM
 To: Orion-Interest
 Subject: Re: How do you shut down orion after it's initialized
 
 
 
 I did not have the admin user deactivated (althought that was a good
 tip-
 thanks!)
 
 When I use the command:
 
 java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown
 
 I get:
 
 Exception in thread main java.util.zip.ZipException: The system cannot
 
 find the file specified
 at java.util.zip.ZipFile.open(Native Method)
 at java.util.zip.ZipFile.init(Unknown Source)
 at java.util.jar.JarFile.init(Unknown Source)
 at java.util.jar.JarFile.init(Unknown Source)
 
 And then Orion is left running. Could that be related to the error it
 prints
 out when Orion starts (here it is):
 
 Warning: Error reading transaction-log file
 (/C:/orion/persistence/transaction.state) for recovery: premature end of
 
 file Forced or abrubt (crash etc) server shutdown detected, starting
 recovery process
 ...
 Recovery completed, 0 connections committed and 0 rolled back...
 Orion/1.5.2 initialized
 
 But then the app runs fine. I currently don't have a transaction.state
 file.
 
 Why won't it let me shut down Orion?
 Thanks