PDA

View Full Version : need help installing on resin


casaubon
03-14-2004, 07:28 PM
I'm trying to install LPS2.1DE on resin on a linux box. Things seem to be starting up and compiling. No errors are showing up in my logs, but the HTML I get back in the browswer is definitely not what I should be seeing.

I'm probably making a bonehead mistake since i've never worked with resin before.

I'll include my resin.conf file.

Here's the HTML I'm receiving in my browser after attempting to access the amazon application from my server:

------------------------------
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="http://www.laszlosystems.com/favicon.ico" rel="SHORTCUT ICON">
<title>Laszlo Application</title>
<style>
body {
margin: 0;
background-color: #eaeaea
}
</style>
<script src="/includes/embed.js"></script>
</head>
<body>
<script>
lzEmbed({url: 'amazon2.lzx?lzt=swf', bgcolor: '#eaeaea', width: '780', height: '540'});
</script>
</body>
</html>
------------------------------------------

Any help would be appreciated.

Scott.

antun
03-14-2004, 08:44 PM
The HTML looks fine. It writes out the <object> and <embed> tags using browser JavaScript.

Does anything show up in the browser at all? Do you not see the app? If you go to http://www.laszlosystems.com/demos/ can you see all the demos there?

-Antun

bloch
03-14-2004, 09:55 PM
What browser are you using?

I'd recommend taking a look at
$RESIN_HOME/webapps/lps-*/WEB-INF/tmp/LPS/logs/lps.log
for errors.

Also note that in order to make the lps webapp run in resin, you'll need to turn on the (servlet-classloader-hack in resin.conf (2.1) ; it's called servlet-hack in 3.0)

Best,
Eric

casaubon
03-15-2004, 12:04 PM
my original post had my .conf file in it. I do have the added bit in there about servlet hacks. Maybe I have it in the wrong place?

Also, I'm including my lps.log file as well. I don't see any problems, but then maybe you folks will see something I don't.

Also, I'm using IE6 as a browser and I don't see anything on my screen when I try to run the apps. everything is just blank.

many thanks for the prompt reply,
Scott.

antun
03-15-2004, 12:09 PM
Originally posted by casaubon
Also, I'm using IE6 as a browser and I don't see anything on my screen when I try to run the apps. everything is just blank.

Even the ones on the Laszlo website (see my earlier post for the link)?

casaubon
03-15-2004, 01:05 PM
sorry, I didn't read everything through correctly. Everything appears just fine on the laszlosystems site. It's just trying to access lps through my site (www.hitechlowlife.com) that's giving me a problem.