Re: HELP - ITSM 7 email engine won't run

2007-12-01 Thread Eli Schilling
Thank you Rick, Roney and Axton for your help!  The Windows Service for
the Email engine simply won't run.  We're arranging to have the firing
squad take it out back and shoot it!  However, after updating the JRE
and setting the max heap size to 1024 I was able to get the mail daemon
up and running via the EmailStart.bat file.  Its processing through the
backlog of messages (oh I love the volume of email in ITSM 7) and it
will work until Monday.
 
Thanks again all!
 
Eli



From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Axton
Sent: Saturday, December 01, 2007 8:32 AM
To: arslist@ARSLIST.ORG
Subject: Re: HELP - ITSM 7 email engine won't run


** "java.lang.OutOfMemoryError: Java heap space"

Increase the max heap size the email engine can allocate.  If you still
see the same error, increase the max heap some more.  The email engine,
by default (starting with 7.0.1), caches all groups and users in memory,
which requires a great deal of memory and isn't realistic for servers
with a large number of users and groups.  There is a setting that can be
used to disable this behavior (in which case the group/users will be
cached on demand) in the emaildaemon.properties configuration file.

Also check Rick and Roney's suggestions.  It could be that you've hit
some type of defect in the email engine (they've been known to happen)
where some type of message is causing the process to die. 

Axton Grams


On 11/30/07, Eli Schilling <[EMAIL PROTECTED]> wrote: 

** 
At approximately 8:06am this morning my email engine service
crashed.  Restarting the service works but it crashes again almost
instantly.  The only error in the stderror.log file is this:
java.lang.OutOfMemoryError: Java heap space
 
I saw this thread and hoped it was the fix but after upping the
max heap size I'm having the same issue.
 
Earlier I thought maybe there were too many records in the Email
Message form so I cleaned out all but about 10,000 (of which 5500 are
waiting to be sent).  Still no workie.
 
Any help would be greatly appreciated!


Thank you!
 
Eli



From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Pargeter, Christie
Sent: Thursday, September 27, 2007 10:39 AM
To: arslist@ARSLIST.ORG
Subject: Re: Email Service Error Message - SOLVED


** 
I had to contact Remedy...here is what they said to do (for
future people).
 
 
To increase the Java memory heap for the AR System Email Engine.
You can set it in the registry for the service or set it in the
emailstart.bat file (if using the emailstart.bat)
You can add the java memory heap options to the Registry by
doing the following:
You can set Heap size upto 80 % od the physical memory.
May I request you to increase the java heap size as follows.
 
1. Start >Run regedit> go to the following key:

HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Services>ARSystemEmailEngine
>Parameters
2. Edit the JVM Option Count : REG_DWORD : 0x2 by double
clicking it. You will see the number 2, change this to 4 and Select OK
3. Select> Edit> New> String Value. Enter JVM Option Number 2 as the
Value name then enter -Xms128m as the Value data, select .
4. Select> Edit> New> String Value. Enter JVM Option Number 3 as
the Value name then enter -Xmx256m as the Value data, select 
 
Anytime you edit the registry it is recommended that you reboot
but at the very least, you will have to stop and restart the AR System
Email Engine Server service for the new parameters to be initialized.
 



From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Axton
Sent: Tuesday, September 25, 2007 6:17 PM
To: arslist@ARSLIST.ORG
Subject: Re: Email Service Error Message


** Increase the heap size allocated to the email engine jvm.
There is probably a bat file that the service executes (not a heavy
Windows server user).  In this bat file, you can specify the heap size
as a parameter:

These are the parameter names and formats: 
-Xms128m -Xmx512m

Just increase the max to larger than what is currently set.  We
ran into the same issue in our environment, though we are on Solaris.

Axton Grams


On 9/25/07, Pargeter, Christie
<[EMAIL PROTECTED]> wrote: 

** 
Hi All - I am in the process of upgrading to ARS 6.3 on
brand new hardware.  When I try to test my email engine I am seeing the
following error in the stderr.log file.
 
java.lang.OutOfMemoryError
  

Re: HELP - ITSM 7 email engine won't run

2007-12-01 Thread Axton
"java.lang.OutOfMemoryError: Java heap space"

Increase the max heap size the email engine can allocate.  If you still see
the same error, increase the max heap some more.  The email engine, by
default (starting with 7.0.1), caches all groups and users in memory, which
requires a great deal of memory and isn't realistic for servers with a large
number of users and groups.  There is a setting that can be used to disable
this behavior (in which case the group/users will be cached on demand) in
the emaildaemon.properties configuration file.

Also check Rick and Roney's suggestions.  It could be that you've hit some
type of defect in the email engine (they've been known to happen) where some
type of message is causing the process to die.

Axton Grams

On 11/30/07, Eli Schilling <[EMAIL PROTECTED]> wrote:
>
> ** At approximately 8:06am this morning my email engine service crashed.
> Restarting the service works but it crashes again almost instantly.  The
> only error in the stderror.log file is this:
> java.lang.OutOfMemoryError: Java heap space
>
> I saw this thread and hoped it was the fix but after upping the max heap
> size I'm having the same issue.
>
> Earlier I thought maybe there were too many records in the Email Message
> form so I cleaned out all but about 10,000 (of which 5500 are waiting to be
> sent).  Still no workie.
>
> Any help would be greatly appreciated!
>
> Thank you!
>
> Eli
>
>  --
> *From:* Action Request System discussion list(ARSList) [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Pargeter, Christie
> *Sent:* Thursday, September 27, 2007 10:39 AM
> *To:* arslist@ARSLIST.ORG
> *Subject:* Re: Email Service Error Message - SOLVED
>
> ** I had to contact Remedy...here is what they said to do (for future
> people).
>
>
> To increase the Java memory heap for the AR System Email Engine. You can
> set it in the registry for the service or set it in the emailstart.batfile 
> (if using the
> emailstart.bat)
> You can add the java memory heap options to the Registry by doing the
> following:
> You can set Heap size upto 80 % od the physical memory.
> May I request you to increase the java heap size as follows.
>
> 1. Start >Run regedit> go to the following key:
>
> HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Services>ARSystemEmailEngine>Parameters
> 2. Edit the JVM Option Count : REG_DWORD : 0x2 by double clicking it. You
> will see the number 2, change this to 4 and Select OK 3. Select> Edit> New>
> String Value. Enter JVM Option Number 2 as the Value name then enter
> -Xms128m as the Value data, select .
> 4. Select> Edit> New> String Value. Enter JVM Option Number 3 as the Value
> name then enter -Xmx256m as the Value data, select 
>
> Anytime you edit the registry it is recommended that you reboot but at the
> very least, you will have to stop and restart the AR System Email Engine
> Server service for the new parameters to be initialized.
>
>
>  --
> *From:* Action Request System discussion list(ARSList) [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Axton
> *Sent:* Tuesday, September 25, 2007 6:17 PM
> *To:* arslist@ARSLIST.ORG
> *Subject:* Re: Email Service Error Message
>
> ** Increase the heap size allocated to the email engine jvm.  There is
> probably a bat file that the service executes (not a heavy Windows server
> user).  In this bat file, you can specify the heap size as a parameter:
>
> These are the parameter names and formats:
> -Xms128m -Xmx512m
>
> Just increase the max to larger than what is currently set.  We ran into
> the same issue in our environment, though we are on Solaris.
>
> Axton Grams
>
> On 9/25/07, Pargeter, Christie <[EMAIL PROTECTED]> wrote:
> >
> > ** Hi All - I am in the process of upgrading to ARS 6.3 on brand new
> > hardware.  When I try to test my email engine I am seeing the following
> > error in the stderr.log file.
> >
> > java.lang.OutOfMemoryError
> > java.lang.OutOfMemoryError
> > java.lang.OutOfMemoryError
> > java.lang.OutOfMemoryError
> > java.lang.OutOfMemoryError
> > java.lang.OutOfMemoryError
> >
> > Any ideas?
> >
> > ARS 6.3
> > Win2K
> > SQL2000
> >
> >
> > NOTE: I have moved to a new office. My new phone number is:
> > 503-574-3571.
> > 
> > *Christie Pargeter *
> > *Weyerhaeuser  Documentation & Training* [EMAIL PROTECTED]
> >   *  **Portland, OR*  tel: 503-574-3571
> > fax: 253-928-1072
> >
> > __20060125___This posting was submitted with HTML in
> > it___
>
>
> __20060125___This posting was submitted with HTML in
> it___ __20060125___This posting was submitted with HTML
> in it___ __20060125___This posting was submitted with
> HTML in it___

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"


Re: HELP - ITSM 7 email engine won't run

2007-12-01 Thread Rick Cook
What version of Java are you running?  There was a problem with 1.5.0_11 not
being installed in the proper directories (which is one reason Remedy
recommends _12), and if that's the case, emails just won't process.
 
Rick 
  _  

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Roney Samuel Varghese
Sent: Saturday, December 01, 2007 6:14 AM
To: arslist@ARSLIST.ORG
Subject: Re: HELP - ITSM 7 email engine won't run


** Eli,
 Did you check the incoming/outgoing Pop3/SMTP account and check if they
are working fine? Looks like you did not miss anything however you can turn
on debug mode on the email engine

Try turning on logging: 
The logging.properties file can be found in the $JAVA_DIR/lib directory.
The values that are valid are SEVERE, WARNING, INFO, CONFIG, FINE, FINER,
FINEST and ALL. Anything lower than CONFIG is mainly just used for 
debugging purposes (it is VERY, VERY verbose). The value must be entered in
UPPER case. You will need to restart your emaild daemon for this change to
take effect (emaild.sh stop as armonitor should restart it). 


To increase your logging level in the logging.properties file, open the
logging.properties file and add or modify the following lines to read:

handlers=java.util.logging.FileHandler,java.util.logging.ConsoleHandler 

com.remedy.arsys.emaildaemon.ARSystemHandler.level=FINEST

com.remedy.arsys.emaildaemon.level=FINEST

handlers= java.util.logging.FileHandler,
java.util.logging.ConsoleHandler

java.util.logging.ConsoleHandler.level = FINEST


To enable debug mode, add this option to the line that starts the Java
process in the emaild.sh script, then stop and start the email engine:

-Dmail.debug=true

Change from:
exec ${JAVA_BIN}/java - Djava.library.path=${InstallPath} -cp ${CP_PATH}
com.remedy.arsys.emaildaemon.EmailDaemon -d ${InstallPath} >${LogFile} 2>&1

To:
exec ${JAVA_BIN}/java -Djava.library.path=${InstallPath} -Dmail.debug=true -
cp ${CP_PATH} com.remedy.arsys.emaildaemon.EmailDaemon -d ${InstallPath}
>${LogFile} 2>&1

After turning the debug logs

Try to add a maximum heap size, you must add the following code to the
registry: 
Key:
HKLM\SYSTEM\CurrentControlSet\Services\Remedy Email Engine\Parameters
Tag:
JVM Option Number 2
Value:
-xm
You must also modify the JVM Option Count from 2 to 3


Hopefully this will give you some insights on what exactly is happening. 

Regards,
Roney Samuel Varghese
__20060125___This posting was submitted with HTML in
it___ 

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"


Re: HELP - ITSM 7 email engine won't run

2007-12-01 Thread Roney Samuel Varghese
Eli,
 Did you check the incoming/outgoing Pop3/SMTP account and check if they
are working fine? Looks like you did not miss anything however you can turn
on debug mode on the email engine

Try turning on logging:
The logging.properties file can be found in the $JAVA_DIR/lib directory.
The values that are valid are SEVERE, WARNING, INFO, CONFIG, FINE, FINER,
FINEST and ALL. Anything lower than CONFIG is mainly just used for
debugging purposes (it is VERY, VERY verbose). The value must be entered in
UPPER case. You will need to restart your emaild daemon for this change to
take effect (emaild.sh stop as armonitor should restart it).


To increase your logging level in the logging.properties file, open the
logging.properties file and add or modify the following lines to read:

handlers=java.util.logging.FileHandler,java.util.logging.ConsoleHandler

com.remedy.arsys.emaildaemon.ARSystemHandler.level=FINEST

com.remedy.arsys.emaildaemon.level=FINEST

handlers= java.util.logging.FileHandler,
java.util.logging.ConsoleHandler

java.util.logging.ConsoleHandler.level = FINEST


To enable debug mode, add this option to the line that starts the Java
process in the emaild.sh script, then stop and start the email engine:

-Dmail.debug=true

Change from:
exec ${JAVA_BIN}/java -Djava.library.path=${InstallPath} -cp ${CP_PATH}
com.remedy.arsys.emaildaemon.EmailDaemon -d ${InstallPath} >${LogFile} 2>&1

To:
exec ${JAVA_BIN}/java -Djava.library.path=${InstallPath} -Dmail.debug=true -
cp ${CP_PATH} com.remedy.arsys.emaildaemon.EmailDaemon -d ${InstallPath}
>${LogFile} 2>&1

After turning the debug logs

Try to add a maximum heap size, you must add the following code to the
registry:
Key:
HKLM\SYSTEM\CurrentControlSet\Services\Remedy Email Engine\Parameters
Tag:
JVM Option Number 2
Value:
-xm
You must also modify the JVM Option Count from 2 to 3


Hopefully this will give you some insights on what exactly is happening.

Regards,
Roney Samuel Varghese

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"


Re: Changing banner of all forms

2007-12-01 Thread [EMAIL PROTECTED]
Just a guess, but I would look at saving the image in a common location or in 
the users home directory and then reference it through css.  I know you could 
do this with the Mid-Tier but I am not sure if it would work on the client.
   
  HTHs
  Dave

"Muhammed, Siraj" <[EMAIL PROTECTED]> wrote:
  **   Hi listers,
   
  It is difficult to change banner of all the forms with our customer logo. Is 
there any common place where we can save our logo and pick up when ever any 
form opens?
   
  We are using ARS 7
   
  Thanks and Regards
   
  Siraj P M 
   
   

This message contains information that may be privileged or 
confidential and is the property of the Capgemini Group. It is intended only 
for the person to whom it is addressed. If you are not the intended recipient, 
you are not authorized to read, print, retain, copy, disseminate, distribute, 
or use this message or any part thereof. If you receive this message in error, 
please notify the sender immediately and delete all copies of this message.

__20060125___This posting was submitted with HTML in it___

   
-
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Changing banner of all forms

2007-12-01 Thread Muhammed, Siraj

Hi listers,

 

It is difficult to change banner of all the forms with our customer
logo. Is there any common place where we can save our logo and pick up
when ever any form opens?

 

We are using ARS 7

 

Thanks and Regards

 

Siraj P M 

 

 



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"


Re: Preventing "Public" from running queries

2007-12-01 Thread Michiel Beijen
Dwayne,

I would advise you to solve this at the source. If you do not want
them to see other records than those that are assigned to them, just
make sure they only have rights to see these records by implementing
Row Level Access - either by using the Assignee field or by using the
special 112 field. This way you're sure that they can only search and
see their own records. In my opinion this would be a much better
solution than using active links.


-- 
Met vriendelijke groet / Kind regards
Michiel Beijen
__
MANSOLUTIONS
Energieweg 60-62
3771 NA Barneveld
The Netherlands
Tel. +31-(0)612968592
Mail [EMAIL PROTECTED]
Internet http://bsm.mansolutions.nl

On Nov 30, 2007 8:27 PM, Dwayne Martin <[EMAIL PROTECTED]> wrote:
> Hello Everyone,
>
> We have a main Form A, and a subfile Form B.  The assignee in Form B can 
> click a button, which will call an Active Link, which will open the parent 
> Form A.  If the user has only "Public" permissions we do NOT want herm 
> (her/him) to launch a general query and see other Form A records.  BUT we 
> want users who DO have write permissions to Form A to be able to launch a 
> general query and see other Form A records.
>
> If I disable the "New Searches" button, our users with write permissions 
> won't be able to launch queries.
>
> I tried using an active link to check the user's permissions, and send an 
> error message if heesh doesn't have any.  The trouble is, when you do an 
> "Open Window" action to display a selection of records, the link first does a 
> search, so whether the link fires on "Window Open", "Search", or "Window 
> Loaded" it fires before displaying the records and the user doesn't even get 
> to see the records you DO want herm to see.
>
> Any suggestions?
>
> (ARS 7.1, RH Linux server, Oracle 10.2 db)
>
> Dwayne Martin
> James Madison University
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
>

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"


Re: Web Services/Dynamic Menu

2007-12-01 Thread Jarl Grøneng
Hi

Here is a couple of soltions you may look into...

- create a ardbc plugin, accesssing the soap service
- create a data visialization module

None of thses are done in a hurry, so calculte spend a some hours to
create  this...

If your on Oracle, you may also look into using PL/SQL and temporary
tables to let the PL/SQL accessing the soap service and return the
result as a temporary table.
http://www.oracle.com/technology/sample_code/tech/java/jsp/samples/tablefunction/Readme.html

--
Jarl



On Nov 30, 2007 4:50 PM, Pickering, Christopher
<[EMAIL PROTECTED]> wrote:
> **
>
>
> Hi All,
>
> Would someone please give me a brief tutorial to develop dynamic menus to be
> displayed via a web service?
>
> C
>
>
>
>
> Christopher H. Pickering
> Remedy System Administrator
> Premiere Global Services, Inc.
> 100 Tormee Drive
> Tinton Falls, NJ  07712
> 732.389.3900 X2411/800.333.0568 X2411
> [EMAIL PROTECTED]
>
>
>   __20060125___This posting was submitted with HTML in
> it___

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"