Setting JVM options for Tomcat
* Windows running Tomcat 5 and later : Go to the "Apache Tomcat
5.0" folder in the Start Menu. Start the "Configure Tomcat
application".
Note: the configuration can only be started when Tomcat is not
running.
Select the "Java VM" tab in the configuration dialog. You will
see some pre-defined lines in the "Java Options" test box.
Append your Java options at the bottom of the option list. For
example, to set server mode and allow 512MB of heap memory,
append the following:
-server
-Xmx400m
* Windows running Tomcat 4.1 or earlier : place the Java options
into the CATALINA_OPTS environment variable. To do this, run
Control Panel / System, select Environment Variables and create
the CATALINA_OPTS variable, and set the desired option, for
example "-server -Xmx400m".
* Linux : place the Java options into the CATALINA_OPTS
environment variable. For example: "-server -Xmx400m".
THANKS TO MARK :)
Hi again my friend.
See below.
Setting JVM options for Tomcat
* Windows running Tomcat 5 and later : Go to the "Apache Tomcat
5.0" folder in the Start Menu. Start the "Configure Tomcat
application".
Note: the configuration can only be started when Tomcat is not
running.
Select the "Java VM" tab in the configuration dialog. You will
see some pre-defined lines in the "Java Options" test box.
Append your Java options at the bottom of the option list. For
example, to set server mode and allow 512MB of heap memory,
append the following:
-server
-Xmx400m
* Windows running Tomcat 4.1 or earlier : place the Java options
into the CATALINA_OPTS environment variable. To do this, run
Control Panel / System, select Environment Variables and create
the CATALINA_OPTS variable, and set the desired option, for
example "-server -Xmx400m".
* Linux : place the Java options into the CATALINA_OPTS
environment variable. For example: "-server -Xmx400m".
Also, you might want to post back to the thread next time so the answer
is there for other people if they need it.
Cheers,
--
Mark Robinson
Regional Clarity Project Manager (HK & AU)
TNT Freight Managment (Australia) Limited
TNT Freight Managment (Hong Kong) Limited
3rd floor, Two Harbourfront, 18-22 Tak Fung Street,
Hung Hom, Kowloon, Hong Kong
Tel: +852 26213688 (ext. 374)
Mob: +852 90335711
Em : mark.robinson(a)hk.tntfreight.com
Web: http://www.tntfreight.com
Hi.
thanks for your time and effort.
im trying to configure xwiki to run utf-8 charachter set because i need hebrew in xwiki.
i read the page at:
http://www.xwiki.org/xwiki/bin/view/Dev/CharactersSets
and i would like to ask how do i implement the following steps in the description in the page above:
# change the LANG environment variable before Java started to en_US.UTF8
# change the file.encoding param (java -Dfile.encoding=UTF-8) to UTF-8
how do I do these changes?
thank you very much for any possible help
Yoda.
Hi.
im new to xwiki. a great software!
i have trouble locating the documentation on how to use and create tags (tag cloud) in xwiki. what is the syntax? how do i creat tags? is there a gui for creating them?
thaks very much, sorry if this has been answerd before, i couldn't find any data about it by using the search on the xwiki site and on this users list.
Yuda.
Hi,
I'd like to allow users to access the a web services from XWiki
documents via a plugin. However, the web service requires
user-specific passwords. What is the best approach to deal with this?
One option is to add "Password Class" fields to the XWikiUsers class,
and adapt the user template to allow users to set their password when
they edit their page. The field's value is not displayed on the page,
but the passwords are stored in the XWiki database in plain text, and
the user's page is found if a wide search is ran on a substring of the
password.
Could also add methods to the plugin that store passwords in the
database after encrypting them with some private key; they'd then get
decrypted within the plugin code before being sent to the web service.
This isn't bad, but maybe you guys have better ideas! :)
Regards,
Robin
I'm having a problem registering new users.
I get the following error. What does the -1 code mean? Its not very helpful.
An error occured during the registration process (-1).
Robin
Hello All,
My xWiki is beginning to get a lot of comment spamming; is there a way to
force a user to enter some random value displayed in an image, or to send me
an e-mail, etc? I would prefer the site to send me an e-mail anytime a new
comment is added anywhere; at least this would be a good start.
Anyone have any ideas?
Bob Mixon
Microsoft SharePoint Portal Server MVP
<mailto:bob.mixon@gmail.com> bob.mixon(a)gmail.com
Skype ID: brm1999
http://bobmixon.xwiki.com
KM, BPM, Intranet and Portal Technologies
The Possibilities are Endless
Hi All.
Has anyone played with accessing the graphviz plugin from Velocity?
I have managed to get it creating graphs from my objects and
displaying with various options, but I seem to be stumbling on the
last step of adding client side image maps to allow the user to drill
down easily.
The problem is that if I call $xwiki.graphviz.outputDotImage($graph,
"cmapx", true) it will only render the mapping file (which I need)
instead of the whole page so I am assuming I have to call
$xwiki.graphviz.getDotImage($graph, "cmapx", true) and then display
it. I have also tried to write it, then access it via
$xwiki.getExternalURL() but no go.
It works as expected when you retrieve it from a separate file, but
not on the fly. Just a reference returned that doesn't seem to
respond to Name or Value methods.
Example below:
#set($graph = 'digraph abstract {"Node 1"[URL=WebHome];"Node
2"[URL=WebHome]; "Node 1" -> "Node 2";}')
#set($graphfilename = $xwiki.graphviz.writeDotImage($graph, "jpg",
true))
<img src="/xwiki/bin/dot/$doc.web/$doc.name/$graphfilename"
usemap="#abstract">
#set($graphmap = $xwiki.graphviz.getDotImage($graph, "cmapx", true))
$graphmap
Any suggestions are gratefully accepted.
Cheers,
Mark