Forum LAMS for Tech-Heads - General Forum: Re: Java error and 64 bit server


 
Search: 

2: Re: Java error and 64 bit server
In response to 1 02/04/10 12:54 AM
[ Reply | Forward ]
That's the java service wrapper, a little piece of software used to make lams into a windows service - it comes with a pre-compiled dll as you see. The lams installer includes the 32 bit version, but not the 64 bit version at the moment.

It shouldn't be too difficult to transplant the wrapper with a 64 bit version - http://wrapper.tanukisoftware.org/doc/english/download.jsp - alternatively you can wait till this is fixed in the lams updater.

Posted by Jun-Dir Liew

3: Re: Re: Java error and 64 bit server
In response to 2 04/05/11 01:08 PM
[ Reply | Forward ]
I´m testing tanuki´s wrapper ver 3.5.4 in a windows 2008 R2 64 bits server. Tests are running good, but how can i configure LAMS to run with this wrapper version?

Posted by Juan Antonio López Martínez

4: Re: Re: Re: Java error and 64 bit server
In response to 3 04/05/11 01:19 PM
[ Reply | Forward ]
Hi Juan Antonio,

Actually I was about to post here yesterday as I was working with a W 2008 R2 server and found an alternative that works great:

http://yajsw.sourceforge.net/

See the Quick start to get started. It's very good.

Thanks,

Ernie

Posted by Ernie Ghiglione

5: Re: Re: Re: Re: Java error and 64 bit server
In response to 4 04/05/11 04:44 PM
[ Reply | Forward ]
Ok, thanks a lot and let me try it...

Posted by Juan Antonio López Martínez

6: 64 bit server LAMS error - Trying with YAJSW
In response to 4 04/12/11 09:41 PM
[ Reply | Forward ]
Hi Ernie,
I´m trying to set up LAMS with yajsw-beta-10.6 in my 64 bits Windows 2008 R2 server, It´s running but the problem in authoring areas is still present (LAMS hangs there). There are any aditional configuration for 64 bit servers? Do you have any idea about?, I attach the configuration file
Thanks for your help.

Posted by Juan Antonio López Martínez

Attachments:
7: Re: 64 bit server LAMS error - Trying with YAJSW
In response to 6 04/12/11 10:12 PM
[ Reply | Forward ]
Hi Juan Antonio,

What's the problem with author? Does it show you a blank page only?

If so, check out the ServerURL parameter you have in the sysadmin menu--> Edit Configuration Settings.

It must be the same as the URL you are using in you browser.

For instance if you are using http://www.myserver.com/lams/ in your browser, the ServerURL should be that too.

Thanks,

Ernie

Posted by Ernie Ghiglione

8: Re: Re: 64 bit server LAMS error - Trying with YAJSW
In response to 7 05/04/11 01:25 PM
[ Reply | Forward ]
this is a screeprint of the problem i have when the aplication becomes a blank page, I checked the java.exe proccess memory usage and it was more than 450,000 kb, leaving 20mb as free memory in the server ¿is that normal?

Posted by Juan Antonio López Martínez

Attachments:
9: Re: Re: Re: 64 bit server LAMS error - Trying with YAJSW
In response to 8 05/04/11 01:45 PM
[ Reply | Forward ]
Hi Juan Antonio,

It seems that you have run out of permgem memory.

Open the run.bat file and see what settings you have for JAVA_OPTS.

Ideally, you want to have something like this:

set JAVA_OPTS=-server -Xms256m -Xmx1024m -XX:MaxPermSize=128m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:SurvivorRatio=95 -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled

This will allocate a maximum of 1GB (-Xmx1024m) to LAMS and a max of 128MB as PermGem memory (-XX:MaxPermSize), which should be more than enough.

Thanks,

Ernie

Posted by Ernie Ghiglione

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum