You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by Harsha Kumara <ha...@gmail.com> on 2013/11/26 20:32:52 UTC

PermGen space issue in a custom portal of Apache Rave

Hi devs,

We have build a custom portal using Apache Rave. I have encountered some
weird behaviour. With our portal setup, localhost runs smoothly. But when
we deploy it in the Amazon ec2 instance, we are getting PermGen space error
when access some our operations. But same thing works fine in localhost. I
tried increasing the permGen space, but it's not fixed. Is it something to
do with our implementation?

THanks.
Harsha

-- 
*Harsha Kumara*
*Undergraduate*
*Department of Computer Science and Engineering*
*University of Moratuwa*
*Sri Lanka.*

Re: PermGen space issue in a custom portal of Apache Rave

Posted by Gustavo Monarin <gu...@gmail.com>.
Hi Harsha,

I think you may be referring the jndi configuration. If it is the case you
just have to add something like these lines in your conf/context.xml from
tomcat:

    <Resource name="jdbc/raveShindigDB" auth="Container"
                        type="javax.sql.DataSource"
                        driverClassName="com.mysql.jdbc.Driver"
                        url="jdbc:mysql://localhost:3306/rave_custom"
                        username="xx"
                        password="xx" />

  <Resource name="jdbc/ravePortalDB" auth="Container"
                        type="javax.sql.DataSource"
                        driverClassName="com.mysql.jdbc.Driver"
                        url="jdbc:mysql://localhost:3306/rave_custom"
                        username="xx"
                        password="xx" />

Regards,



On Sun, Dec 1, 2013 at 2:32 PM, Harsha Kumara <ha...@gmail.com> wrote:

> Hi Chris,
>
> I tried that way, which is copying war files to the new tomcat, but it
> doesn't work. I think I may need to move some configuration files too. In
> pom I have seen some configurations are passing to tomcat after copying it.
> I'll have a look. So far increasing permgen memory through pom file works
> fine.THanks a lot for the help.
>
> Thanks,
> Harsha
>
>
> On Sun, Dec 1, 2013 at 11:00 AM, Chris Geer <ch...@cxtsoftware.com> wrote:
>
> > Harsha,
> >
> > To run in Tomcat all you have to do is copy the war files over to Tomcat
> > and it will run. Not sure what you mean about cargo is copying a lot of
> > configs.
> >
> > Chris
> >
> >
> > On Wed, Nov 27, 2013 at 11:07 PM, Harsha Kumara <ha...@gmail.com>
> wrote:
> >
> > > I was to do that too, but there are lot's of configurations are copying
> > at
> > > cargo run. I'll check more about it.Increasing permgen space via pom
> file
> > > seem works fine now. I'll check more.
> > >
> > >
> > >
> > > On Wed, Nov 27, 2013 at 7:22 PM, Chris Geer <ch...@cxtsoftware.com>
> > wrote:
> > >
> > > > I would also recommend that if you are running on a server you should
> > not
> > > > be using Cargo to run the server. Stand up a Tomcat server and set
> the
> > > > memory on that then deploy the appropriate WAR files from Rave.
> > > >
> > > > Chris
> > > >
> > > >
> > > > On Wed, Nov 27, 2013 at 6:49 AM, Matt Franklin <
> > m.ben.franklin@gmail.com
> > > > >wrote:
> > > >
> > > > > If you are looking to run Rave, Shindig & Wookie in the same
> > container,
> > > > you
> > > > > will need to increase the permgen space to at least 256MB.
> > > > >
> > > > >
> > > > > On Wed, Nov 27, 2013 at 5:50 AM, Harsha Kumara <ha...@gmail.com>
> > > > wrote:
> > > > >
> > > > > > Hi Chris,
> > > > > >
> > > > > > Both of my machines using java 1.6.32. We have 4gm memory amazon
> > > > > instance.I
> > > > > > have increase the memory through bashrc property file. I saw
> inside
> > > > > portal
> > > > > > pom file, it's specify the JVM args, do I need to specify permgen
> > > size
> > > > as
> > > > > > JVM arguments there also?
> > > > > > I think setting JVM opts through bashrc enough right?
> > > > > >
> > > > > > Thanks,
> > > > > > Harsha
> > > > > >
> > > > > > On Wednesday, November 27, 2013, Chris Geer wrote:
> > > > > >
> > > > > > > Couple of questions:
> > > > > > >
> > > > > > > - Do you have the memory set to the same values in both
> > > environment?
> > > > > > (i.e.
> > > > > > > localhost isn't a 8GB JVM while ec2 is a 1GB JVM?)
> > > > > > > - Are you using the same JVM (i.e Oracle vs OpenJava)
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > >
> > > > > > > On Tue, Nov 26, 2013 at 12:32 PM, Harsha Kumara <
> > harsz89@gmail.com
> > > > > > <javascript:;>>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Hi devs,
> > > > > > > >
> > > > > > > > We have build a custom portal using Apache Rave. I have
> > > encountered
> > > > > > some
> > > > > > > > weird behaviour. With our portal setup, localhost runs
> > smoothly.
> > > > But
> > > > > > when
> > > > > > > > we deploy it in the Amazon ec2 instance, we are getting
> PermGen
> > > > space
> > > > > > > error
> > > > > > > > when access some our operations. But same thing works fine in
> > > > > > localhost.
> > > > > > > I
> > > > > > > > tried increasing the permGen space, but it's not fixed. Is it
> > > > > something
> > > > > > > to
> > > > > > > > do with our implementation?
> > > > > > > >
> > > > > > > > THanks.
> > > > > > > > Harsha
> > > > > > > >
> > > > > > > > --
> > > > > > > > *Harsha Kumara*
> > > > > > > > *Undergraduate*
> > > > > > > > *Department of Computer Science and Engineering*
> > > > > > > > *University of Moratuwa*
> > > > > > > > *Sri Lanka.*
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > *Harsha Kumara*
> > > > > > *Undergraduate*
> > > > > > *Department of Computer Science and Engineering*
> > > > > > *University of Moratuwa*
> > > > > > *Sri Lanka.*
> > > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > *Harsha Kumara*
> > > *Undergraduate*
> > > *Department of Computer Science and Engineering*
> > > *University of Moratuwa*
> > > *Sri Lanka.*
> > >
> >
>
>
>
> --
> *Harsha Kumara*
> *Undergraduate*
> *Department of Computer Science and Engineering*
> *University of Moratuwa*
> *Sri Lanka.*
>



-- 

Gustavo Monarin de Sousa

Re: PermGen space issue in a custom portal of Apache Rave

Posted by Harsha Kumara <ha...@gmail.com>.
Hi Chris,

I tried that way, which is copying war files to the new tomcat, but it
doesn't work. I think I may need to move some configuration files too. In
pom I have seen some configurations are passing to tomcat after copying it.
I'll have a look. So far increasing permgen memory through pom file works
fine.THanks a lot for the help.

Thanks,
Harsha


On Sun, Dec 1, 2013 at 11:00 AM, Chris Geer <ch...@cxtsoftware.com> wrote:

> Harsha,
>
> To run in Tomcat all you have to do is copy the war files over to Tomcat
> and it will run. Not sure what you mean about cargo is copying a lot of
> configs.
>
> Chris
>
>
> On Wed, Nov 27, 2013 at 11:07 PM, Harsha Kumara <ha...@gmail.com> wrote:
>
> > I was to do that too, but there are lot's of configurations are copying
> at
> > cargo run. I'll check more about it.Increasing permgen space via pom file
> > seem works fine now. I'll check more.
> >
> >
> >
> > On Wed, Nov 27, 2013 at 7:22 PM, Chris Geer <ch...@cxtsoftware.com>
> wrote:
> >
> > > I would also recommend that if you are running on a server you should
> not
> > > be using Cargo to run the server. Stand up a Tomcat server and set the
> > > memory on that then deploy the appropriate WAR files from Rave.
> > >
> > > Chris
> > >
> > >
> > > On Wed, Nov 27, 2013 at 6:49 AM, Matt Franklin <
> m.ben.franklin@gmail.com
> > > >wrote:
> > >
> > > > If you are looking to run Rave, Shindig & Wookie in the same
> container,
> > > you
> > > > will need to increase the permgen space to at least 256MB.
> > > >
> > > >
> > > > On Wed, Nov 27, 2013 at 5:50 AM, Harsha Kumara <ha...@gmail.com>
> > > wrote:
> > > >
> > > > > Hi Chris,
> > > > >
> > > > > Both of my machines using java 1.6.32. We have 4gm memory amazon
> > > > instance.I
> > > > > have increase the memory through bashrc property file. I saw inside
> > > > portal
> > > > > pom file, it's specify the JVM args, do I need to specify permgen
> > size
> > > as
> > > > > JVM arguments there also?
> > > > > I think setting JVM opts through bashrc enough right?
> > > > >
> > > > > Thanks,
> > > > > Harsha
> > > > >
> > > > > On Wednesday, November 27, 2013, Chris Geer wrote:
> > > > >
> > > > > > Couple of questions:
> > > > > >
> > > > > > - Do you have the memory set to the same values in both
> > environment?
> > > > > (i.e.
> > > > > > localhost isn't a 8GB JVM while ec2 is a 1GB JVM?)
> > > > > > - Are you using the same JVM (i.e Oracle vs OpenJava)
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > > On Tue, Nov 26, 2013 at 12:32 PM, Harsha Kumara <
> harsz89@gmail.com
> > > > > <javascript:;>>
> > > > > > wrote:
> > > > > >
> > > > > > > Hi devs,
> > > > > > >
> > > > > > > We have build a custom portal using Apache Rave. I have
> > encountered
> > > > > some
> > > > > > > weird behaviour. With our portal setup, localhost runs
> smoothly.
> > > But
> > > > > when
> > > > > > > we deploy it in the Amazon ec2 instance, we are getting PermGen
> > > space
> > > > > > error
> > > > > > > when access some our operations. But same thing works fine in
> > > > > localhost.
> > > > > > I
> > > > > > > tried increasing the permGen space, but it's not fixed. Is it
> > > > something
> > > > > > to
> > > > > > > do with our implementation?
> > > > > > >
> > > > > > > THanks.
> > > > > > > Harsha
> > > > > > >
> > > > > > > --
> > > > > > > *Harsha Kumara*
> > > > > > > *Undergraduate*
> > > > > > > *Department of Computer Science and Engineering*
> > > > > > > *University of Moratuwa*
> > > > > > > *Sri Lanka.*
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > *Harsha Kumara*
> > > > > *Undergraduate*
> > > > > *Department of Computer Science and Engineering*
> > > > > *University of Moratuwa*
> > > > > *Sri Lanka.*
> > > > >
> > > >
> > >
> >
> >
> >
> > --
> > *Harsha Kumara*
> > *Undergraduate*
> > *Department of Computer Science and Engineering*
> > *University of Moratuwa*
> > *Sri Lanka.*
> >
>



-- 
*Harsha Kumara*
*Undergraduate*
*Department of Computer Science and Engineering*
*University of Moratuwa*
*Sri Lanka.*

Re: PermGen space issue in a custom portal of Apache Rave

Posted by Chris Geer <ch...@cxtsoftware.com>.
Harsha,

To run in Tomcat all you have to do is copy the war files over to Tomcat
and it will run. Not sure what you mean about cargo is copying a lot of
configs.

Chris


On Wed, Nov 27, 2013 at 11:07 PM, Harsha Kumara <ha...@gmail.com> wrote:

> I was to do that too, but there are lot's of configurations are copying at
> cargo run. I'll check more about it.Increasing permgen space via pom file
> seem works fine now. I'll check more.
>
>
>
> On Wed, Nov 27, 2013 at 7:22 PM, Chris Geer <ch...@cxtsoftware.com> wrote:
>
> > I would also recommend that if you are running on a server you should not
> > be using Cargo to run the server. Stand up a Tomcat server and set the
> > memory on that then deploy the appropriate WAR files from Rave.
> >
> > Chris
> >
> >
> > On Wed, Nov 27, 2013 at 6:49 AM, Matt Franklin <m.ben.franklin@gmail.com
> > >wrote:
> >
> > > If you are looking to run Rave, Shindig & Wookie in the same container,
> > you
> > > will need to increase the permgen space to at least 256MB.
> > >
> > >
> > > On Wed, Nov 27, 2013 at 5:50 AM, Harsha Kumara <ha...@gmail.com>
> > wrote:
> > >
> > > > Hi Chris,
> > > >
> > > > Both of my machines using java 1.6.32. We have 4gm memory amazon
> > > instance.I
> > > > have increase the memory through bashrc property file. I saw inside
> > > portal
> > > > pom file, it's specify the JVM args, do I need to specify permgen
> size
> > as
> > > > JVM arguments there also?
> > > > I think setting JVM opts through bashrc enough right?
> > > >
> > > > Thanks,
> > > > Harsha
> > > >
> > > > On Wednesday, November 27, 2013, Chris Geer wrote:
> > > >
> > > > > Couple of questions:
> > > > >
> > > > > - Do you have the memory set to the same values in both
> environment?
> > > > (i.e.
> > > > > localhost isn't a 8GB JVM while ec2 is a 1GB JVM?)
> > > > > - Are you using the same JVM (i.e Oracle vs OpenJava)
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > On Tue, Nov 26, 2013 at 12:32 PM, Harsha Kumara <harsz89@gmail.com
> > > > <javascript:;>>
> > > > > wrote:
> > > > >
> > > > > > Hi devs,
> > > > > >
> > > > > > We have build a custom portal using Apache Rave. I have
> encountered
> > > > some
> > > > > > weird behaviour. With our portal setup, localhost runs smoothly.
> > But
> > > > when
> > > > > > we deploy it in the Amazon ec2 instance, we are getting PermGen
> > space
> > > > > error
> > > > > > when access some our operations. But same thing works fine in
> > > > localhost.
> > > > > I
> > > > > > tried increasing the permGen space, but it's not fixed. Is it
> > > something
> > > > > to
> > > > > > do with our implementation?
> > > > > >
> > > > > > THanks.
> > > > > > Harsha
> > > > > >
> > > > > > --
> > > > > > *Harsha Kumara*
> > > > > > *Undergraduate*
> > > > > > *Department of Computer Science and Engineering*
> > > > > > *University of Moratuwa*
> > > > > > *Sri Lanka.*
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > *Harsha Kumara*
> > > > *Undergraduate*
> > > > *Department of Computer Science and Engineering*
> > > > *University of Moratuwa*
> > > > *Sri Lanka.*
> > > >
> > >
> >
>
>
>
> --
> *Harsha Kumara*
> *Undergraduate*
> *Department of Computer Science and Engineering*
> *University of Moratuwa*
> *Sri Lanka.*
>

Re: PermGen space issue in a custom portal of Apache Rave

Posted by Harsha Kumara <ha...@gmail.com>.
I was to do that too, but there are lot's of configurations are copying at
cargo run. I'll check more about it.Increasing permgen space via pom file
seem works fine now. I'll check more.



On Wed, Nov 27, 2013 at 7:22 PM, Chris Geer <ch...@cxtsoftware.com> wrote:

> I would also recommend that if you are running on a server you should not
> be using Cargo to run the server. Stand up a Tomcat server and set the
> memory on that then deploy the appropriate WAR files from Rave.
>
> Chris
>
>
> On Wed, Nov 27, 2013 at 6:49 AM, Matt Franklin <m.ben.franklin@gmail.com
> >wrote:
>
> > If you are looking to run Rave, Shindig & Wookie in the same container,
> you
> > will need to increase the permgen space to at least 256MB.
> >
> >
> > On Wed, Nov 27, 2013 at 5:50 AM, Harsha Kumara <ha...@gmail.com>
> wrote:
> >
> > > Hi Chris,
> > >
> > > Both of my machines using java 1.6.32. We have 4gm memory amazon
> > instance.I
> > > have increase the memory through bashrc property file. I saw inside
> > portal
> > > pom file, it's specify the JVM args, do I need to specify permgen size
> as
> > > JVM arguments there also?
> > > I think setting JVM opts through bashrc enough right?
> > >
> > > Thanks,
> > > Harsha
> > >
> > > On Wednesday, November 27, 2013, Chris Geer wrote:
> > >
> > > > Couple of questions:
> > > >
> > > > - Do you have the memory set to the same values in both environment?
> > > (i.e.
> > > > localhost isn't a 8GB JVM while ec2 is a 1GB JVM?)
> > > > - Are you using the same JVM (i.e Oracle vs OpenJava)
> > > >
> > > > Chris
> > > >
> > > >
> > > > On Tue, Nov 26, 2013 at 12:32 PM, Harsha Kumara <harsz89@gmail.com
> > > <javascript:;>>
> > > > wrote:
> > > >
> > > > > Hi devs,
> > > > >
> > > > > We have build a custom portal using Apache Rave. I have encountered
> > > some
> > > > > weird behaviour. With our portal setup, localhost runs smoothly.
> But
> > > when
> > > > > we deploy it in the Amazon ec2 instance, we are getting PermGen
> space
> > > > error
> > > > > when access some our operations. But same thing works fine in
> > > localhost.
> > > > I
> > > > > tried increasing the permGen space, but it's not fixed. Is it
> > something
> > > > to
> > > > > do with our implementation?
> > > > >
> > > > > THanks.
> > > > > Harsha
> > > > >
> > > > > --
> > > > > *Harsha Kumara*
> > > > > *Undergraduate*
> > > > > *Department of Computer Science and Engineering*
> > > > > *University of Moratuwa*
> > > > > *Sri Lanka.*
> > > > >
> > > >
> > >
> > >
> > > --
> > > *Harsha Kumara*
> > > *Undergraduate*
> > > *Department of Computer Science and Engineering*
> > > *University of Moratuwa*
> > > *Sri Lanka.*
> > >
> >
>



-- 
*Harsha Kumara*
*Undergraduate*
*Department of Computer Science and Engineering*
*University of Moratuwa*
*Sri Lanka.*

Re: PermGen space issue in a custom portal of Apache Rave

Posted by Chris Geer <ch...@cxtsoftware.com>.
I would also recommend that if you are running on a server you should not
be using Cargo to run the server. Stand up a Tomcat server and set the
memory on that then deploy the appropriate WAR files from Rave.

Chris


On Wed, Nov 27, 2013 at 6:49 AM, Matt Franklin <m....@gmail.com>wrote:

> If you are looking to run Rave, Shindig & Wookie in the same container, you
> will need to increase the permgen space to at least 256MB.
>
>
> On Wed, Nov 27, 2013 at 5:50 AM, Harsha Kumara <ha...@gmail.com> wrote:
>
> > Hi Chris,
> >
> > Both of my machines using java 1.6.32. We have 4gm memory amazon
> instance.I
> > have increase the memory through bashrc property file. I saw inside
> portal
> > pom file, it's specify the JVM args, do I need to specify permgen size as
> > JVM arguments there also?
> > I think setting JVM opts through bashrc enough right?
> >
> > Thanks,
> > Harsha
> >
> > On Wednesday, November 27, 2013, Chris Geer wrote:
> >
> > > Couple of questions:
> > >
> > > - Do you have the memory set to the same values in both environment?
> > (i.e.
> > > localhost isn't a 8GB JVM while ec2 is a 1GB JVM?)
> > > - Are you using the same JVM (i.e Oracle vs OpenJava)
> > >
> > > Chris
> > >
> > >
> > > On Tue, Nov 26, 2013 at 12:32 PM, Harsha Kumara <harsz89@gmail.com
> > <javascript:;>>
> > > wrote:
> > >
> > > > Hi devs,
> > > >
> > > > We have build a custom portal using Apache Rave. I have encountered
> > some
> > > > weird behaviour. With our portal setup, localhost runs smoothly. But
> > when
> > > > we deploy it in the Amazon ec2 instance, we are getting PermGen space
> > > error
> > > > when access some our operations. But same thing works fine in
> > localhost.
> > > I
> > > > tried increasing the permGen space, but it's not fixed. Is it
> something
> > > to
> > > > do with our implementation?
> > > >
> > > > THanks.
> > > > Harsha
> > > >
> > > > --
> > > > *Harsha Kumara*
> > > > *Undergraduate*
> > > > *Department of Computer Science and Engineering*
> > > > *University of Moratuwa*
> > > > *Sri Lanka.*
> > > >
> > >
> >
> >
> > --
> > *Harsha Kumara*
> > *Undergraduate*
> > *Department of Computer Science and Engineering*
> > *University of Moratuwa*
> > *Sri Lanka.*
> >
>

Re: PermGen space issue in a custom portal of Apache Rave

Posted by Matt Franklin <m....@gmail.com>.
If you are looking to run Rave, Shindig & Wookie in the same container, you
will need to increase the permgen space to at least 256MB.


On Wed, Nov 27, 2013 at 5:50 AM, Harsha Kumara <ha...@gmail.com> wrote:

> Hi Chris,
>
> Both of my machines using java 1.6.32. We have 4gm memory amazon instance.I
> have increase the memory through bashrc property file. I saw inside portal
> pom file, it's specify the JVM args, do I need to specify permgen size as
> JVM arguments there also?
> I think setting JVM opts through bashrc enough right?
>
> Thanks,
> Harsha
>
> On Wednesday, November 27, 2013, Chris Geer wrote:
>
> > Couple of questions:
> >
> > - Do you have the memory set to the same values in both environment?
> (i.e.
> > localhost isn't a 8GB JVM while ec2 is a 1GB JVM?)
> > - Are you using the same JVM (i.e Oracle vs OpenJava)
> >
> > Chris
> >
> >
> > On Tue, Nov 26, 2013 at 12:32 PM, Harsha Kumara <harsz89@gmail.com
> <javascript:;>>
> > wrote:
> >
> > > Hi devs,
> > >
> > > We have build a custom portal using Apache Rave. I have encountered
> some
> > > weird behaviour. With our portal setup, localhost runs smoothly. But
> when
> > > we deploy it in the Amazon ec2 instance, we are getting PermGen space
> > error
> > > when access some our operations. But same thing works fine in
> localhost.
> > I
> > > tried increasing the permGen space, but it's not fixed. Is it something
> > to
> > > do with our implementation?
> > >
> > > THanks.
> > > Harsha
> > >
> > > --
> > > *Harsha Kumara*
> > > *Undergraduate*
> > > *Department of Computer Science and Engineering*
> > > *University of Moratuwa*
> > > *Sri Lanka.*
> > >
> >
>
>
> --
> *Harsha Kumara*
> *Undergraduate*
> *Department of Computer Science and Engineering*
> *University of Moratuwa*
> *Sri Lanka.*
>

Re: PermGen space issue in a custom portal of Apache Rave

Posted by Harsha Kumara <ha...@gmail.com>.
Hi Chris,

Both of my machines using java 1.6.32. We have 4gm memory amazon instance.I
have increase the memory through bashrc property file. I saw inside portal
pom file, it's specify the JVM args, do I need to specify permgen size as
JVM arguments there also?
I think setting JVM opts through bashrc enough right?

Thanks,
Harsha

On Wednesday, November 27, 2013, Chris Geer wrote:

> Couple of questions:
>
> - Do you have the memory set to the same values in both environment? (i.e.
> localhost isn't a 8GB JVM while ec2 is a 1GB JVM?)
> - Are you using the same JVM (i.e Oracle vs OpenJava)
>
> Chris
>
>
> On Tue, Nov 26, 2013 at 12:32 PM, Harsha Kumara <harsz89@gmail.com<javascript:;>>
> wrote:
>
> > Hi devs,
> >
> > We have build a custom portal using Apache Rave. I have encountered some
> > weird behaviour. With our portal setup, localhost runs smoothly. But when
> > we deploy it in the Amazon ec2 instance, we are getting PermGen space
> error
> > when access some our operations. But same thing works fine in localhost.
> I
> > tried increasing the permGen space, but it's not fixed. Is it something
> to
> > do with our implementation?
> >
> > THanks.
> > Harsha
> >
> > --
> > *Harsha Kumara*
> > *Undergraduate*
> > *Department of Computer Science and Engineering*
> > *University of Moratuwa*
> > *Sri Lanka.*
> >
>


-- 
*Harsha Kumara*
*Undergraduate*
*Department of Computer Science and Engineering*
*University of Moratuwa*
*Sri Lanka.*

Re: PermGen space issue in a custom portal of Apache Rave

Posted by Chris Geer <ch...@cxtsoftware.com>.
Couple of questions:

- Do you have the memory set to the same values in both environment? (i.e.
localhost isn't a 8GB JVM while ec2 is a 1GB JVM?)
- Are you using the same JVM (i.e Oracle vs OpenJava)

Chris


On Tue, Nov 26, 2013 at 12:32 PM, Harsha Kumara <ha...@gmail.com> wrote:

> Hi devs,
>
> We have build a custom portal using Apache Rave. I have encountered some
> weird behaviour. With our portal setup, localhost runs smoothly. But when
> we deploy it in the Amazon ec2 instance, we are getting PermGen space error
> when access some our operations. But same thing works fine in localhost. I
> tried increasing the permGen space, but it's not fixed. Is it something to
> do with our implementation?
>
> THanks.
> Harsha
>
> --
> *Harsha Kumara*
> *Undergraduate*
> *Department of Computer Science and Engineering*
> *University of Moratuwa*
> *Sri Lanka.*
>