Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trouble with Orion Server

 
Pres Brawner
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
 
Marilyn de Queiroz
Sheriff
Posts: 9066
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you copy tools.jar into C:\orion?
 
paul wheaton
Trailboss
Pie
Posts: 21664
Firefox Browser IntelliJ IDE 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?
 
Johannes de Jong
tumbleweed
Bartender
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
Bartender
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: 9066
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
Bartender
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: 9066
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.
 
scott ostroff
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: 9066
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic