|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Errors with Blojsom ServletHi folks,
I am getting errors in org.blojsom.servlet.BlojsomServlet: 1. org.blojsom.fetcher.FetcherException: Blog id: Browsers not found 2. org.blojsom.fetcher.FetcherException: Blog id: default$entry.getCategory() not found 3. org.blojsom.fetcher.FetcherException: Blog id: default$entry.getCategory() not found 4. ERROR TP-Processor12429 org.blojsom.servlet.BlojsomServlet - Plugin not available: referer-log The last one occurs very frequently. I do not know what it is for; I found no up-to-date information on wiki.blojsom.com. Is "referer-log" necessary? Will removing that entry from blojsom-plugins.xml key="html" make the error go away? ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Blojsom-developers mailing list Blojsom-developers@... https://lists.sourceforge.net/lists/listinfo/blojsom-developers |
|
|
Re: Errors with Blojsom Servlet-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 On 10/24/09 3:31 AM, Garrett Smith wrote: > Hi folks, > > I am getting errors in org.blojsom.servlet.BlojsomServlet: > > 1. org.blojsom.fetcher.FetcherException: Blog id: Browsers not found > 2. org.blojsom.fetcher.FetcherException: Blog id: > default$entry.getCategory() not found > 3. org.blojsom.fetcher.FetcherException: Blog id: > default$entry.getCategory() not found > 4. ERROR TP-Processor12429 org.blojsom.servlet.BlojsomServlet - > Plugin not available: referer-log Hmmmm... this looks like you might not have the database fully loaded or possibly not configured. Can you provide more details? > > > The last one occurs very frequently. I do not know what it is for; I > found no up-to-date information on wiki.blojsom.com. > > Is "referer-log" necessary? Will removing that entry from > blojsom-plugins.xml key="html" make the error go away? You can remove the referrer-log plugin from the plugin chain without consequence. > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Blojsom-developers mailing list > Blojsom-developers@... > https://lists.sourceforge.net/lists/listinfo/blojsom-developers -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Anyone wanna play D&D for the next quadrillion years? Comment: -- Gary Gygax to the Vice Presidential Action Rangers Comment: Get my public key at http://bit.ly/3H7qS6 iEYEARECAAYFAkri7qUACgkQ5ypOrCMXsT2B1QCeIn+k6fj9Tnj5nRtdb7HeBujS xUUAmQFyU16w1O2iKcj5Hn/sAoBgiqSI =WpLs -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Blojsom-developers mailing list Blojsom-developers@... https://lists.sourceforge.net/lists/listinfo/blojsom-developers |
|
|
Re: Errors with Blojsom Servlet-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Some additional details... On 10/24/09 3:31 AM, Garrett Smith wrote: > I am getting errors in org.blojsom.servlet.BlojsomServlet: > > 1. org.blojsom.fetcher.FetcherException: Blog id: Browsers not found > 2. org.blojsom.fetcher.FetcherException: Blog id: > default$entry.getCategory() not found > 3. org.blojsom.fetcher.FetcherException: Blog id: > default$entry.getCategory() not found These look like you have a bad statement in your Velocity template, or are requesting a category not created. Are you using a standard template? or a template you developed? > 4. ERROR TP-Processor12429 org.blojsom.servlet.BlojsomServlet - > Plugin not available: referer-log This last one... looks like a 2.0 holdover that never made it to 3.0, but got "translated" in the plugin loader for the HTML flavor. I'm confirming this. As said earlier, it's a safe to remove. The move to 3.0 might have been deferred as "management of referrer spam" outweighed the usefulness of the plugin. You can track this at BLOJSOM-263 (http://bit.ly/JtOPh). I've created a diff patch for the workaround. > > The last one occurs very frequently. I do not know what it is for; I > found no up-to-date information on wiki.blojsom.com. > > Is "referer-log" necessary? Will removing that entry from > blojsom-plugins.xml key="html" make the error go away? > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Anyone wanna play D&D for the next quadrillion years? Comment: -- Gary Gygax to the Vice Presidential Action Rangers Comment: Get my public key at http://bit.ly/3H7qS6 iEYEARECAAYFAkrjBgAACgkQ5ypOrCMXsT3tMACggXHcguR/Ez6WzjtZGbsbIxR5 S68AmgPTWLJPgKhI/sQ8tnqQqgC3Yz/O =A4Fp -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Blojsom-developers mailing list Blojsom-developers@... https://lists.sourceforge.net/lists/listinfo/blojsom-developers |
|
|
Re: Errors with Blojsom ServletOn Sat, Oct 24, 2009 at 6:49 AM, Timothy Stone
<blojsom.developer@...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Some additional details... > > On 10/24/09 3:31 AM, Garrett Smith wrote: > >> I am getting errors in org.blojsom.servlet.BlojsomServlet: >> >> 1. org.blojsom.fetcher.FetcherException: Blog id: Browsers not found What is "Browsers not found"? How can I make it log the stack trace? >> 2. org.blojsom.fetcher.FetcherException: Blog id: >> default$entry.getCategory() not found >> 3. org.blojsom.fetcher.FetcherException: Blog id: >> default$entry.getCategory() not found > > These look like you have a bad statement in your Velocity template, or > are requesting a category not created. > Some entries are "uncategorized". Is that something that should cause an error? > Are you using a standard template? or a template you developed? > A modified template. The permalinks are rewritten to query strings, used in JSP. The jsp uses that query string in a c:import, to import the blojsom blog URL, which exists on the same domain. I wanted to add a blog to my site, not replace (or replicate) my entire site in Velocity. >> 4. ERROR TP-Processor12429 org.blojsom.servlet.BlojsomServlet - >> Plugin not available: referer-log > > This last one... looks like a 2.0 holdover that never made it to 3.0, > but got "translated" in the plugin loader for the HTML flavor. > > I'm confirming this. As said earlier, it's a safe to remove. The move to > 3.0 might have been deferred as "management of referrer spam" outweighed > the usefulness of the plugin. > Great. Errors are inefficient. My service was terminated because of too much CPU time, and errors certainly don't help that. > You can track this at BLOJSOM-263 (http://bit.ly/JtOPh). I've created a > diff patch for the workaround. > The patch is as mentioned: remove "referer-log" from list of "html" plugins in blojsom-plugins.xml. That page says: "the 3.3 branch has the correction. See comments for more information. " I have blojsom jars with "3.2" extension. Do the 3.3 jars solve any memory overhead issues? Garrett ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Blojsom-developers mailing list Blojsom-developers@... https://lists.sourceforge.net/lists/listinfo/blojsom-developers |
|
|
Re: Errors with Blojsom Servlet-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 On 10/24/09 2:09 PM, Garrett Smith wrote: > On Sat, Oct 24, 2009 at 6:49 AM, Timothy Stone > <blojsom.developer@...> wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Some additional details... >> >> On 10/24/09 3:31 AM, Garrett Smith wrote: >> >>> I am getting errors in org.blojsom.servlet.BlojsomServlet: >>> >>> 1. org.blojsom.fetcher.FetcherException: Blog id: Browsers not found > > > What is "Browsers not found"? > > How can I make it log the stack trace? The Exception you are citing is thrown in the DatabaseFetcher. It is telling you that a category named "Browsers" is not found. Did you create a category called "Browsers"? It is not a default category, so I fairly safe in saying that it must be a category you are attempting to create. > >>> 2. org.blojsom.fetcher.FetcherException: Blog id: >>> default$entry.getCategory() not found >>> 3. org.blojsom.fetcher.FetcherException: Blog id: >>> default$entry.getCategory() not found >> >> These look like you have a bad statement in your Velocity template, or >> are requesting a category not created. Out of the box, blojsom uses the Velocity Template language (http://velocity.apache.org/), not JSP (more on that below...). Though you can switch to the JSPDispatcher. >> > > Some entries are "uncategorized". Is that something that should cause an error? No. Are you seeing errors from "Uncategorized". > >> Are you using a standard template? or a template you developed? >> > A modified template. The permalinks are rewritten to query strings, > used in JSP. The jsp uses that query string in a c:import, to import > the blojsom blog URL, which exists on the same domain. If out-of-the-box blojsom is using the Velocity templates (.vm) then the use of JSTL would not be possible. Oh, I think I understand... you have a website, and you are linking into a blojsom instance. The errors shown above though seem to infer that the link is incorrect. "default" would be your user-id. But the category you are "fetching" should be something concrete, not a dynamic lookup with JSTL. Might you send your JSP to me? That would provide some context to what you are trying to do. > > I wanted to add a blog to my site, not replace (or replicate) my > entire site in Velocity. No one is asking you to do that. :D > >>> 4. ERROR TP-Processor12429 org.blojsom.servlet.BlojsomServlet - >>> Plugin not available: referer-log >> >> This last one... looks like a 2.0 holdover that never made it to 3.0, >> but got "translated" in the plugin loader for the HTML flavor. >> >> I'm confirming this. As said earlier, it's a safe to remove. The move to >> 3.0 might have been deferred as "management of referrer spam" outweighed >> the usefulness of the plugin. >> > > Great. Errors are inefficient. My service was terminated because of > too much CPU time, and errors certainly don't help that. Not sure I can help you with the service termination. But the logging can be configured in the log4j.properties file found at /WEB-INF/classes/log4j.properties. Change the string "DEBUG" to "INFO" and restart your servlet container. BTW, what servlet container are you using? what database backend? >> You can track this at BLOJSOM-263 (http://bit.ly/JtOPh). I've created a >> diff patch for the workaround. >> > > The patch is as mentioned: remove "referer-log" from list of "html" > plugins in blojsom-plugins.xml. > > That page says: > "the 3.3 branch has the correction. See comments for more information. " > > I have blojsom jars with "3.2" extension. Do the 3.3 jars solve any > memory overhead issues? You should be able to correct in your 3.2 release by selecting Plugins > Mapping in the Admin interface. Remove "referer-log" from the HTML flavor list. The "defect" was corrected in the 3.3 code line, because it was a default setting that should be removed. It doesn't make sense to correct the code and release it for something that can be fixed in the admin interface so easily. Regarding memory allocation. This is not an application problem, but a container problem. I'm running 3 blojsom 2.3x instances on a single VPS (virtual private server) with a 540 MB of RAM on a Fedora distro. You probably need to constrain your container memory requirements. This is typically a JVM setting. Setting the memory limits is done by setting a "CATALINA_OPTS" variable in the running user's profile (windows and unix do this is different ways). HTH, Tim -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Anyone wanna play D&D for the next quadrillion years? Comment: -- Gary Gygax to the Vice Presidential Action Rangers Comment: Get my public key at http://bit.ly/3H7qS6 iEYEARECAAYFAkrjWvwACgkQ5ypOrCMXsT3FLwCgmTqT+6x5jYDFXNcCMEz0w2fG eg8An2iy3qLqIlrfwXQfZynkfD2uGH9g =/g/g -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Blojsom-developers mailing list Blojsom-developers@... https://lists.sourceforge.net/lists/listinfo/blojsom-developers |
|
|
Re: Errors with Blojsom ServletOn Sat, Oct 24, 2009 at 11:52 AM, Timothy Stone
<blojsom.developer@...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 10/24/09 2:09 PM, Garrett Smith wrote: >> On Sat, Oct 24, 2009 at 6:49 AM, Timothy Stone >> <blojsom.developer@...> wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> Some additional details... >>> >>> On 10/24/09 3:31 AM, Garrett Smith wrote: >>> >>>> I am getting errors in org.blojsom.servlet.BlojsomServlet: >>>> >>>> 1. org.blojsom.fetcher.FetcherException: Blog id: Browsers not found >> >> >> What is "Browsers not found"? >> >> How can I make it log the stack trace? > > The Exception you are citing is thrown in the DatabaseFetcher. It is > telling you that a category named "Browsers" is not found. > > Did you create a category called "Browsers"? It is not a default > category, so I fairly safe in saying that it must be a category you are > attempting to create. > Yes, there is a Browsers category. I am only using tags, the category is just noise in the URL. Whatever blojsom is doing, it is very very slow. I notice about 7s latency: http://dhtmlkitchen.com/ Compare to a normal JSP: http://dhtmlkitchen.com/ape/ >> >>>> 2. org.blojsom.fetcher.FetcherException: Blog id: >>>> default$entry.getCategory() not found >>>> 3. org.blojsom.fetcher.FetcherException: Blog id: >>>> default$entry.getCategory() not found >>> >>> These look like you have a bad statement in your Velocity template, or >>> are requesting a category not created. > How can I find which velocity template is causing that error? > Out of the box, blojsom uses the Velocity Template language > (http://velocity.apache.org/), not JSP (more on that below...). Though > you can switch to the JSPDispatcher. > I did not know that JSP was an option. Velocity does not work well with the existing site. >>> >> >> Some entries are "uncategorized". Is that something that should cause an error? > > No. Are you seeing errors from "Uncategorized". > No. >> >>> Are you using a standard template? or a template you developed? >>> >> A modified template. The permalinks are rewritten to query strings, >> used in JSP. The jsp uses that query string in a c:import, to import >> the blojsom blog URL, which exists on the same domain. > > If out-of-the-box blojsom is using the Velocity templates (.vm) then the > use of JSTL would not be possible. > > Oh, I think I understand... you have a website, and you are linking into > a blojsom instance. The errors shown above though seem to infer that the > link is incorrect. "default" would be your user-id. But the category you > are "fetching" should be something concrete, not a dynamic lookup with JSTL. > > Might you send your JSP to me? That would provide some context to what > you are trying to do. > >> >> I wanted to add a blog to my site, not replace (or replicate) my >> entire site in Velocity. > > No one is asking you to do that. :D > I wanted to use JSP. Can I replace the .vm with .jsp? Where to start with that? >> >>>> 4. ERROR TP-Processor12429 org.blojsom.servlet.BlojsomServlet - >>>> Plugin not available: referer-log >>> >>> This last one... looks like a 2.0 holdover that never made it to 3.0, >>> but got "translated" in the plugin loader for the HTML flavor. >>> >>> I'm confirming this. As said earlier, it's a safe to remove. The move to >>> 3.0 might have been deferred as "management of referrer spam" outweighed >>> the usefulness of the plugin. >>> >> >> Great. Errors are inefficient. My service was terminated because of >> too much CPU time, and errors certainly don't help that. > > Not sure I can help you with the service termination. But the logging > can be configured in the log4j.properties file found at > /WEB-INF/classes/log4j.properties. Change the string "DEBUG" to "INFO" > and restart your servlet container. > Will do that. > BTW, what servlet container are you using? what database backend? Tomcat 6 with MySQL. > >>> You can track this at BLOJSOM-263 (http://bit.ly/JtOPh). I've created a >>> diff patch for the workaround. >>> >> >> The patch is as mentioned: remove "referer-log" from list of "html" >> plugins in blojsom-plugins.xml. >> >> That page says: >> "the 3.3 branch has the correction. See comments for more information. " >> >> I have blojsom jars with "3.2" extension. Do the 3.3 jars solve any >> memory overhead issues? > > You should be able to correct in your 3.2 release by selecting > Plugins > Mapping in the Admin interface. Remove "referer-log" from the > HTML flavor list. The "defect" was corrected in the 3.3 code line, > because it was a default setting that should be removed. It doesn't make > sense to correct the code and release it for something that can be fixed > in the admin interface so easily. > OK. I'll probably clean up any unused plugins. > Regarding memory allocation. This is not an application problem, but a > container problem. I'm running 3 blojsom 2.3x instances on a single VPS > (virtual private server) with a 540 MB of RAM on a Fedora distro. > > You probably need to constrain your container memory requirements. This > is typically a JVM setting. Setting the memory limits is done by setting > a "CATALINA_OPTS" variable in the running user's profile (windows and > unix do this is different ways). > I see. The issue is with CPU usage, so I guess that is related to the memory allocation. Can you advise me how to investigate the memory usage and see if that is a likely cause, and, after that, how I can best set CATALINA_OPTS? I am using a hosting service. They do not seem to know what CATALINA_OPTS is (I asked). Thank you. Garrett ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Blojsom-developers mailing list Blojsom-developers@... https://lists.sourceforge.net/lists/listinfo/blojsom-developers |
|
|
Re: Errors with Blojsom Servlet-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 The thread is getting somewhat deep so, I'm taking to "top posting," for brevity sake. I can't speak for the latency issues, it is likely a problem stemming from the host, especially if the host restricts CPU time or I/O. * JSP Dispatcher Garrett, you can switch to the JSPDispatcher in the Spring configuration for the blojsom servlet, blojsom.xml. See http://wiki.blojsom.com/wiki/display/blojsom3/JSP+Dispatcher for specifics. After setting the JSP Dispatcher, you will want to update the "Flavor" settings in the Administrative interface for each flavor, esp. "html" However, all said, 3.2+ does not come with JSP templates "out-of-the-box." The JSP templates, formally the default view layer, can be found in the blojsom-2.0 code line. % svn co \ https://blojsom.svn.sourceforge.net/svnroot/blojsom/trunk/blojsom-2.0 \ 2.0 The 2.0 JSPs should be fairly usable. Using JSPDispatcher will also allow you to customize as well for you specific needs. I do want to follow up with out about potential security issues using the JSPDispatcher (these are JSP security issues, not Dispatcher security issues). * Performance Tuning Tomcat I will have to revisit this with you off the list. I recently upgraded my Tomcat and lost something in my configuration that would help. And it's a bit off-topic for the list. :) Hope this helps get you started in the right direction. Warmest Regards, Tim On 11/3/09 8:27 PM, Garrett Smith wrote: > On Sat, Oct 24, 2009 at 11:52 AM, Timothy Stone > <blojsom.developer@...> wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 10/24/09 2:09 PM, Garrett Smith wrote: >>> On Sat, Oct 24, 2009 at 6:49 AM, Timothy Stone >>> <blojsom.developer@...> wrote: >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> >>>> Some additional details... >>>> >>>> On 10/24/09 3:31 AM, Garrett Smith wrote: >>>> >>>>> I am getting errors in org.blojsom.servlet.BlojsomServlet: >>>>> >>>>> 1. org.blojsom.fetcher.FetcherException: Blog id: Browsers not found >>> >>> >>> What is "Browsers not found"? >>> >>> How can I make it log the stack trace? >> >> The Exception you are citing is thrown in the DatabaseFetcher. It is >> telling you that a category named "Browsers" is not found. >> >> Did you create a category called "Browsers"? It is not a default >> category, so I fairly safe in saying that it must be a category you are >> attempting to create. >> > > Yes, there is a Browsers category. > > I am only using tags, the category is just noise in the URL. > > Whatever blojsom is doing, it is very very slow. > > I notice about 7s latency: > http://dhtmlkitchen.com/ > > Compare to a normal JSP: > http://dhtmlkitchen.com/ape/ > >>> >>>>> 2. org.blojsom.fetcher.FetcherException: Blog id: >>>>> default$entry.getCategory() not found >>>>> 3. org.blojsom.fetcher.FetcherException: Blog id: >>>>> default$entry.getCategory() not found >>>> >>>> These look like you have a bad statement in your Velocity template, or >>>> are requesting a category not created. >> > > How can I find which velocity template is causing that error? > >> Out of the box, blojsom uses the Velocity Template language >> (http://velocity.apache.org/), not JSP (more on that below...). Though >> you can switch to the JSPDispatcher. >> > > I did not know that JSP was an option. Velocity does not work well > with the existing site. > > >>>> >>> >>> Some entries are "uncategorized". Is that something that should cause an error? >> >> No. Are you seeing errors from "Uncategorized". >> > No. > >>> >>>> Are you using a standard template? or a template you developed? >>>> >>> A modified template. The permalinks are rewritten to query strings, >>> used in JSP. The jsp uses that query string in a c:import, to import >>> the blojsom blog URL, which exists on the same domain. >> >> If out-of-the-box blojsom is using the Velocity templates (.vm) then the >> use of JSTL would not be possible. >> >> Oh, I think I understand... you have a website, and you are linking into >> a blojsom instance. The errors shown above though seem to infer that the >> link is incorrect. "default" would be your user-id. But the category you >> are "fetching" should be something concrete, not a dynamic lookup with JSTL. >> >> Might you send your JSP to me? That would provide some context to what >> you are trying to do. >> > Sure. > >>> >>> I wanted to add a blog to my site, not replace (or replicate) my >>> entire site in Velocity. >> >> No one is asking you to do that. :D >> > > I wanted to use JSP. Can I replace the .vm with .jsp? Where to start with that? > >>> >>>>> 4. ERROR TP-Processor12429 org.blojsom.servlet.BlojsomServlet - >>>>> Plugin not available: referer-log >>>> >>>> This last one... looks like a 2.0 holdover that never made it to 3.0, >>>> but got "translated" in the plugin loader for the HTML flavor. >>>> >>>> I'm confirming this. As said earlier, it's a safe to remove. The move to >>>> 3.0 might have been deferred as "management of referrer spam" outweighed >>>> the usefulness of the plugin. >>>> >>> >>> Great. Errors are inefficient. My service was terminated because of >>> too much CPU time, and errors certainly don't help that. >> >> Not sure I can help you with the service termination. But the logging >> can be configured in the log4j.properties file found at >> /WEB-INF/classes/log4j.properties. Change the string "DEBUG" to "INFO" >> and restart your servlet container. >> > > Will do that. > >> BTW, what servlet container are you using? what database backend? > > Tomcat 6 with MySQL. > >> >>>> You can track this at BLOJSOM-263 (http://bit.ly/JtOPh). I've created a >>>> diff patch for the workaround. >>>> >>> >>> The patch is as mentioned: remove "referer-log" from list of "html" >>> plugins in blojsom-plugins.xml. >>> >>> That page says: >>> "the 3.3 branch has the correction. See comments for more information. " >>> >>> I have blojsom jars with "3.2" extension. Do the 3.3 jars solve any >>> memory overhead issues? >> >> You should be able to correct in your 3.2 release by selecting >> Plugins > Mapping in the Admin interface. Remove "referer-log" from the >> HTML flavor list. The "defect" was corrected in the 3.3 code line, >> because it was a default setting that should be removed. It doesn't make >> sense to correct the code and release it for something that can be fixed >> in the admin interface so easily. >> > > OK. I'll probably clean up any unused plugins. > >> Regarding memory allocation. This is not an application problem, but a >> container problem. I'm running 3 blojsom 2.3x instances on a single VPS >> (virtual private server) with a 540 MB of RAM on a Fedora distro. >> >> You probably need to constrain your container memory requirements. This >> is typically a JVM setting. Setting the memory limits is done by setting >> a "CATALINA_OPTS" variable in the running user's profile (windows and >> unix do this is different ways). >> > > I see. The issue is with CPU usage, so I guess that is related to the > memory allocation. > > Can you advise me how to investigate the memory usage and see if that > is a likely cause, and, after that, how I can best set CATALINA_OPTS? > > I am using a hosting service. They do not seem to know what > CATALINA_OPTS is (I asked). > > Thank you. > > Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Anyone wanna play D&D for the next quadrillion years? Comment: -- Gary Gygax to the Vice Presidential Action Rangers Comment: Get my public key at http://bit.ly/3H7qS6 iEYEARECAAYFAkrzeIwACgkQ5ypOrCMXsT3viACfe+yDEDd6hvgOWL+rD8Gur9dy JvAAnAmMn40B25nQbJIyCiDoM+kFJudL =cjwY -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Blojsom-developers mailing list Blojsom-developers@... https://lists.sourceforge.net/lists/listinfo/blojsom-developers |
|
|
Re: Errors with Blojsom ServletOn Thu, Nov 5, 2009 at 5:14 PM, Timothy Stone
<blojsom.developer@...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > The thread is getting somewhat deep so, I'm taking to "top posting," for > brevity sake. > > I can't speak for the latency issues, it is likely a problem stemming > from the host, especially if the host restricts CPU time or I/O. > They provide limits, but do not have a way to enforce that. Can you advise me how to investigate the memory usage and see if that is a likely cause, and, after that, how I can best set CATALINA_OPTS? [snip top post] ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Blojsom-developers mailing list Blojsom-developers@... https://lists.sourceforge.net/lists/listinfo/blojsom-developers |
| Free embeddable forum powered by Nabble | Forum Help |