I'm having trouble with installing Orbeon Forms and Apache Tomcat on my new Windows 7 laptop. Specifically, I keep running into access restrictions.
I first installed Tomcat in its default folder, which is under Program Files. As indicated in the Orbeon Forms instructions, I unzipped orbeon.war in a folder under the Tomcat installation. That seemed to work at first, but when I tried to walk through the Orbeon Forms tutorial, Windows denied me permission to modify any of the files, I assume because they are under Program Files. So I reinstalled Tomcat in a separate folder, outside of Program Files, but then it wouldn't run at all. I'm not sure why, but I wonder if another new Windows security policy only allows programs to execute from Program Files. So I reinstalled Tomcat back in Program Files, and unzipped orbeon.war in a separate folder outside of Program Files. According to the Orbeon documentation, for Tomcat to find it, I have to change a configuration option in Tomcat, but that configuration file is under Program Files, so Windows won't let me change it, either. In all of this I have been logged into the computer as the Administrator. One more thing: Regardless of where Tomcat is installed, when I boot the computer, I get a message telling me that Tomcat can't run because "access is denied." Can anyone give me a clue as to what I'm doing wrong? I assume that it is possible to use Orbeon Forms and Tomcat on Windows 7. Thanks! Earl Morton -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Earl,
I had run Tomcat on a Windows XP machine a number of years ago, and I assume Orbeon probably would have worked without problems. Windows admin authorization can be completely unpredictable. Is your user account set to have administrator privileges? You could try that, but even administrators are sometimes locked out of necessary functions. You could try installing Tomcat into a folder where you have permission (in your own documents and settings folder, for example) and then place orbeon.war into the webapps folder in that Tomcat location. Whether or not Windows will allow you to execute the Tomcat startup script is another question. Is running the server in a vmware or virtual box instance of Linux an option? I think you should be able to work it out so that you can edit the xforms files in your editor of choice in windows and the changes are reflected in the server on your virtual machine, for example by creating a Windows/Samba share in your host that your development instance can access. Ethan On Thu, Aug 4, 2011 at 3:47 PM, Morton, Earl D <[hidden email]> wrote: I'm having trouble with installing Orbeon Forms and Apache Tomcat on my new Windows 7 laptop. Specifically, I keep running into access restrictions. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Earl,
Try running Tomcat as administrator. Go to start of where you have Tomcat, right click>Run as Administrator HTH --einar On Thu, Aug 4, 2011 at 2:00 PM, Ethan Gruber <[hidden email]> wrote: Earl, -- 3200 San Carlos Way Sacramento, CA 95817, USA 916-456-5871 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Thanks Einar and Ethan for the responses! I went back to installing
Tomcat in its default folder under Program Files, and Orbeon Forms under that.
(I did discover that I have two copies of the Java JRE on my computer, one under
the Java JDK installation, and a separate JRE under Program Files. I was
apparently pointing Tomcat to the wrong one before.)
With that setup I could run the demonstration Orbeon forms. But to modify
them, I couldn't just open them directly in an editor (for now I'm using
Notepad). I had to start the editor as an administrator--even though I'm using
an administrator account--and then open the files through its File>Open
commands. It's a nuisance, but at least it let me edit the
files.
To make that easier, I wanted to move Orbeon Forms to a separate folder
outside of Program Files. The Orbeon documentation says I can put Orbeon
anywhere I want; I just need to tell Tomcat where it is by putting a
<Context> element containing two <Parameter> elements into Tomcat's
server.xml file. However, the Tomcat documentation emphatically says to NOT put
<Context> elements in server.xml! Instead, it gives three alternatives,
one of which is to create a context.xml file "inside the application
files." It took me a while to figure out what that means, but I eventually
created a folder in the Tomcat \webapps folder called \orbeon\META-INF and put
the context.xml file there. After removing the rest of the Orbeon files from the
Tomcat folder, Tomcat correctly finds Orbeon in the folder pointed to by
context.xml.
So, it took the better part of a week, but it looks like I have Orbeon
Forms (and Tomcat) working.
Thanks!
Earl Morton
From: Einar Moos
[mailto:[hidden email]]
Hi Earl,Sent: Thursday, August 04, 2011 2:33 PM To: [hidden email] Subject: [ops-users] Re: Re: Installation on Windows 7 laptop Try running Tomcat as administrator. Go to start of where you have Tomcat, right click>Run as Administrator HTH --einar On Thu, Aug 4, 2011 at 2:00 PM, Ethan Gruber <[hidden email]> wrote: Earl, -- 3200 San Carlos Way Sacramento, CA 95817, USA 916-456-5871 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |