Welcome, Guest
Please Login or Register.    Lost Password?

Convertigo Standalone on Linux
(1 viewing) (1) Guest
Convertigo Products
This is the place to ask questions, request for enhancements and more generally discuss about Convertigo products.
Go to bottomPage: 1
TOPIC: Convertigo Standalone on Linux
#75
Convertigo Standalone on Linux 1 Year, 10 Months ago Karma: 0
Hello,

I've been working with an Ubuntu 10.04 Desktop VM for some time, and it has worked very well so far. Note that this is a fully graphical installation, so I didn't have to work Xvnc to give Convertigo a 'head' to work with.

I have a clean downloaded binary distribution of Apache Tomcat 6.0.26 that sits in my personal desktop space. I run startup.sh and everything works fine!

I recently added Apache HTTPD to the mix so that I could easily listen on port 80. I installed httpd via the Apache2 package in the normal Ubuntu repositories. I decided that while I was doing this, I should move my tomcat home off my Desktop and into /usr/lib where it belongs.

When I move tomcat, everything starts up fine, I can even use the Convertigo admin panel. But when I try to execute web transactions, I get a NullPointer error coming from some eclipse SWT code. I think there is some setup step I am missing?
adam.brenneis
Junior Boarder
Posts: 36
graph
User Offline Click here to see the profile of this user
Location: Raleigh, NC Birthday: 11/11
The administrator has disabled public write access.
 
#76
Re:Convertigo Standalone on Linux 1 Year, 10 Months ago Karma: 1
I have a few questions then.
-Did everything work fine, including web transactions, with initial setup ? (tomcat on the desktop, no httpd) ?
-Corollary : does it work with no httpd but tomcat in new location ? and with httpd but tomcat still on the desktop ?
-If all you need is to be able to listen on port 80, why not simply change Connector port in tomcat server.xml conf file ?
-Could this be a simple permission problem with the new tomcat location and the user running tomcat ?
Davidm
Convertigo Team
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Convertigo
David M.
Convertigo projects consultant.
The administrator has disabled public write access.
 
#78
Re:Convertigo Standalone on Linux 1 Year, 10 Months ago Karma: 0
I didn't have any problems with the initial setup, tomcat on port 8080 from the Desktop. I didn't use a lot of Legacy Connectors, but Web connectors seemed fine.

Without httpd, I still got the SWT error when accessing tomcat via 8080 in the new location (/usr/lib).

What I have working now is a standard repo install of httpd on 80, forwarding to tomcat on 8080 run manually from the Desktop.

I'm not sure, but I think you have to run tomcat as root to listen on port 80? Since I'm running it manually, this didn't seem secure. Also, I was curious to see how to set up the httpd/tomcat combo!

I think you're right, something wrong with permissions. When I moved it, I also ran chown -R on the whole directory (including the webapps w/ Convertigo) to change ownership to a tomcat user rather than my user. Do you think this would cause a problem?

I did also try adding

-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner"

to the setenv.sh script for tomcat. It didn't seem to have any effect.
adam.brenneis
Junior Boarder
Posts: 36
graph
User Offline Click here to see the profile of this user
Location: Raleigh, NC Birthday: 11/11
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: elodiee