Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Trouble with Orion Server

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having trouble setting up my Orion server. I've downloaded Orion and unzipped it to my C: drive. After typing java -jar orion.jar I get the following message:
Fatal Error: Transaction log file (/C:/orion/persistence/transaction.state) did
not exist and was not possible to create, the most common reason for this is an
invalid path or Orion lacking security to write to that path: /C:/orion/persiste
nce/transaction.state (The system cannot find the path specified)

My path looks like this:
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;$ANT_HOME\BIN;C:\ORION;C:\JACORB\JARCORB1_3_2
1;C:\SAX\SRC;F:\JDK1.2.2\BIN
As you can see, I'm using jdk1.2.2. I've put orion.jar and tools.jar in my classpath.
Any recommendations would be greatly appreciated.
Thanks,
Pres
 
Sheriff
Posts: 9099
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you copy tools.jar into C:\orion?
 
Trailboss
Posts: 23212
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How much disk space do you have?
 
Pres Brawner
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep. Tools.jar is there. I've got about 15 Gig hard space available. I do have problems, but not those. T
Thanks though.
Any other ideas?
 
tumbleweed
Posts: 5089
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you got TCP/IP installed.
Yes it does sound funny. But I use my old notebook for my development work, but I dont use it for Internet. Tried everything to get Orion working. Installed TCP/IP and my problems were gone.
 
Pres Brawner
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not exactly sure how to test if I have TCP/IP installed or not. I am connecting to the internet using the same machine that I am using for development. Seems likes I must.
My path has C:\orion (among other things). The type of error I'm getting says that the problem I'm encountering has to do with a bad path.
Any ideas along that line?
 
Johannes de Jong
tumbleweed
Posts: 5089
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you internet TCP/IP is on
Funny that you cant get it to work. My notebook crashed last weekend. Had to reinstall dah lot. Windows, JDK, Orion & it worked 1st time. Even got the 1st Servlet assignment out.
I'll try and dig around a bit today if I get time.
[This message has been edited by Johannes de Jong (edited June 21, 2001).]
 
Marilyn de Queiroz
Sheriff
Posts: 9099
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you able to manually create a file named transaction.state in your C:\orion\persistence subdirectory?
 
Johannes de Jong
tumbleweed
Posts: 5089
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry did not have time today. Had tons of paperwork to get out for my project.
 
Pres Brawner
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not trying to manually create anything.
My steps are simple.
I put Orion in the path.
I unzipped the file into the c:\ drive.
I ran the java -jar orion.jar
It fails.
Or should I say, I fail. Did you do something different?
Thanks!
Pres
 
Marilyn de Queiroz
Sheriff
Posts: 9099
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope. Nothing different. Maybe your orion file got corrupted in the download.

I didn't mean that you normally need to manually do anything. I was asking if you are able to do that because of the error you got.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I ran into the same problem. I manually created the persistence directory and that seemed to clear up the issue.
 
Pres Brawner
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After getting JRUN to work, I've come back and attempted Orion again. Funny thing is, my c:\orion java -jar orion.jar
results in the following message:
Orion 1.4.5 initialized
However, when I go to a web browser and say:
http:\\localhost
I get the following:
page cannot be found
JRUN is not running when I try this so there should be no interference from the previous installation.
Ideas anyone?
Thanks,
Pres
 
Marilyn de Queiroz
Sheriff
Posts: 9099
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Pres Brawner:
After getting JRUN to work, I've come back and attempted Orion again. Funny thing is, my c:\orion java -jar orion.jar
results in the following message:
Orion 1.4.5 initialized


This is good.

However, when I go to a web browser and say:
http:\\localhost
I get the following:
page cannot be found


Look in C:\orion\default-web-app
Is the file index.html there?

Are you running orion on the default port 80?

[This message has been edited by Marilyn deQueiroz (edited September 14, 2001).]
 
Pres Brawner
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it!

I went into config/default-web-site.xml and modified my default port number to 8080.
If I now say http://localhost:8080/servlet/whateverServlet
the servlet comes up.
Thanks everybody!
 
I knew I would regret that burrito. But this tiny ad has never caused regrets:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic