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
Joined: Jul 22, 2000
Posts: 9033
10
posted
0
Did you copy tools.jar into C:\orion?
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
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
Joined: Jan 27, 2001
Posts: 5089
posted
0
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
Joined: Jan 18, 2001
Posts: 92
posted
0
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
Joined: Jan 27, 2001
Posts: 5089
posted
0
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
Joined: Jul 22, 2000
Posts: 9033
10
posted
0
Are you able to manually create a file named transaction.state in your C:\orion\persistence subdirectory?
Johannes de Jong
tumbleweed
Bartender
Joined: Jan 27, 2001
Posts: 5089
posted
0
Sorry did not have time today. Had tons of paperwork to get out for my project.
Pres Brawner
Ranch Hand
Joined: Jan 18, 2001
Posts: 92
posted
0
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
Joined: Jul 22, 2000
Posts: 9033
10
posted
0
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
Joined: Sep 14, 2001
Posts: 1
posted
0
I ran into the same problem. I manually created the persistence directory and that seemed to clear up the issue.
Pres Brawner
Ranch Hand
Joined: Jan 18, 2001
Posts: 92
posted
0
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
Joined: Jul 22, 2000
Posts: 9033
10
posted
0
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
Joined: Jan 18, 2001
Posts: 92
posted
0
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 agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.