Re: Java API: how to really log out ? (v7.1)

2012-01-23 Thread Thibaut Barrère
Hi


> Leaks are almost always the app’s fault and not the API’s fault.


Well in this case, the repro was fairly simple. I used JRuby and the Java
ARS API 5.1, basically the following code:

require 'arapi51'
include_class 'com.remedy.arsys.api.ARServerUser'

while true
  context = ARServerUser.new(user,password,'', host)
  context.login
  sleep(5)
  context.clear
  context.logout
end

Following along with TaskInfo, the process leaks 3 connections at each
login.

I did not run this against ARS 7+ but will soon and will report back here
(as my customer is planning to upgrade).

-- Thibaut

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


Re: 32bit Vs.64bit JVM performance

2012-01-23 Thread Munukutla,Ravishankar
Also Please refer:

https://communities.bmc.com/communities/docs/DOC-18162

For some guidelines with respect to 1.6 Java/64 bit for MT.
(Page 7- 11)

Regards,
Ravi

-Original Message-
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Andrew C Goodall
Sent: 17 January 2012 23:06
To: arslist@ARSLIST.ORG
Subject: Re: 32bit Vs.64bit JVM performance

That makes sense, thanks.

Regards,
 
Andrew Goodall
Software Engineer 2 | Development Services |  jcpenney . www.jcp.com  

-Original Message-
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Axton
Sent: Tuesday, January 17, 2012 10:04 AM
To: arslist@ARSLIST.ORG
Subject: Re: 32bit Vs.64bit JVM performance

If you are running out of memory with a 32-bit jvm, you need to move to a 
64-bit jvm.  This happens with the midtier when the size of your concurrent 
user base exceeds a certain number.  Moving to 64-bit will not help performance 
in any way by the mere virtue of moving to 64-bit.  64-bit is all about the 
memory.  You can increase performance by increasing the time between GC cycles, 
you will pick up some performance there.  There are also JVM parameters that 
can help with the performance of 64-bit JVM's.

https://wikis.oracle.com/display/HotSpotInternals/CompressedOops

Axton Grams

On Tue, Jan 17, 2012 at 9:35 AM, Andrew C Goodall  wrote:
> **
>
> I'm soliciting feedback regarding experience observed in the field 
> regarding migrating from 32bit JVM to 64bit processes - is it worth it?
>
>
>
> So we'll be upgrading from 7.5 32bit to 7.6.04 64bit (on Windows 
> 2008), our major objective is to drastically improve client performance.
>
>
>
> Due to BMC R&D response, BMC PS is recommending we stay with the 32bit 
> JVMs
> - what are your thoughts?
>
>
>
> I don't mind extra CPU overhead if it means better performance to the 
> client.
>
>
>
> From BMC Remedy AR System Server 7.6 Performance Tuning for Business 
> Service Management page 20:
>
>
>
> Many BMC customers are moving toward 64-bit platforms and running the 
> 64-bit JVM.
>
> Be aware that the 64-bit JVM has performance overhead (see
>
> http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#64bit_performance).
>
> BMC internal performance stress tests demonstrate that the 32-bit JVM 
> outperforms the
>
> 64-bit JVM by at least 45% in terms of CPU utilization. However, if 
> you need the 64-bit
>
> JVM, consider using hybrid mode and parallel GC as recommended by 
> Oracle, that is, -
>
> XX:+UseCompressedOops and -XX:+UseParallelGC. The details and
>
> implications of using hybrid mode and parallel GC are beyond the scope 
> of this
>
> document.
>
>
>
>
>
> Below is BMC R&D response to BMC PS:
>
>
>
> The deployment architect team response was the following:
>
>
>
> on 32-bit JVM, recommendation is to leave GC at default.
>
>
>
> For the same exact JVM args (minus GC) when 32-bit JVM versus 64-bit
>
> JVM, 32-bit will outperform the 64-bit JVM by about 15% (Sun's 
> official number).
>
>
>
> in our load test, when we run the same exact load with tomcat
>
> hosted by 32 versus 64, 32 has about ½ CPU utilization and 25%
>
> less heap usage.
>
>
>
> so, when running 32-bit JVM, leave GC at default (unless a specific
>
> GC model has shown better perf) and very safe to leave the same
>
> exact JVM heap config as 32 bit JVM will use less heap than exact
>
> same when running 64.
>
>
>
> same token, when running 64-bit JVM, if not full 64-bit addressing
>
> is needed, run in hybrid mode (-XX:+UseCompressedOops); min
>
> perf overhead (better than the 15% Sun published.)
>
>
>
>
>
>
>
> Regards,
>
>
>
> Andrew Goodall
>
> Software Engineer 2 | Development Services |  jcpenney . www.jcp.com
> |  972.431.1518
>
>
>
>
> The information transmitted is intended only for the person or entity 
> to which it is addressed and may contain confidential and/or 
> privileged material. If the reader of this message is not the intended 
> recipient, you are hereby notified that your access is unauthorized, 
> and any review, dissemination, distribution or copying of this message 
> including any attachments is strictly prohibited. If you are not the 
> intended recipient, please contact the sender and delete the material 
> from any computer.
> _attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 
www.wwrug12.com ARSList: "Where the Answers Are"
The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material.  If 
the reader of this message is not the intended recipient, you are hereby 
notified that your access is unauthorized, and any review, dissemination, 
distribution or copying of this message including any attachments is strictly 
prohibited.  If 

Re: Remedy 7.5 Integration with SubVersion

2012-01-23 Thread LJ LongWing
That process sounds like it takes care of the SVN copy of thingsbut how
do you manage that same things on a migration to Production?  An XML copy of
an object that was renamed in Dev won't tell you what the old name was, or
allow you to rename it automatically in Production.

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Campbell, Paul (Paul)
Sent: Friday, January 20, 2012 6:31 PM
To: arslist@ARSLIST.ORG
Subject: Re: Remedy 7.5 Integration with SubVersion

On a rename, I use the svn move command using the old object name and the
object name, for a delete I use an svn delete --force.  As for forgetting to
turn a task on and off, I have the table field that shows the workflow that
is marked with the task name, and I am about to add a button to remove the
selected item from that task, this button will do an svn status to see what
the modified state is using column 1 of the output, if the state is a ? or
an A, then I do an svn delete to remove the file, if it is an M, I do an svn
revert to put it back to original state.

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of LJ LongWing
Sent: Thursday, January 19, 2012 4:04 PM
To: arslist@ARSLIST.ORG
Subject: Re: Remedy 7.5 Integration with SubVersion

That's an interesting approach.  We actually don't use the Object
Modification log because too many developers modify too many things that
they don't want put into the codeplus we can't trust them to remember to
turn on and off tasks :)

The approach we took is that you store your workflow in a packing list, only
when you are 'done' with your module of work do you notify the migration
tool that you are ready for this code to go into the migration package.

This approach allows for prototyping and such without anything accidentally
getting put in.

Out of curiosity, how do you handle workflow renames/deletes through your
current process?

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Campbell, Paul (Paul)
Sent: Thursday, January 19, 2012 1:40 PM
To: arslist@ARSLIST.ORG
Subject: Re: Remedy 7.5 Integration with SubVersion

Yes, That's correct

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of LJ LongWing
Sent: Thursday, January 19, 2012 3:23 PM
To: arslist@ARSLIST.ORG
Subject: Re: Remedy 7.5 Integration with SubVersion

So...when I look up that form I see "Reserved for future
development."...which tells me that you are hijacking that form...which I'm
cool with...but just to understand what you are doing here

So...you create a 'Task' recordso anything they do while they have an
active task gets associated with that task's data, right?

So you are using the Task form as your method to identify the 'work' that's
necessary for any given storythen via custom workflow you utilize
processes to export the object and store it in svn...then use SVN to
generate your total list of code for a release...

Do I have that right?

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Campbell, Paul (Paul)
Sent: Thursday, January 19, 2012 11:31 AM
To: arslist@ARSLIST.ORG
Subject: Re: Remedy 7.5 Integration with SubVersion

I am actually just finishing up an integration with subversion and I to
store all of the work done on a specific group of work (we are using KANBAN
development methodology so a group of work is a story to us) we create a
branch in SVN for each story, and store any changes that are a part of that
story to a checked out branch on the servers filesystem.  I started out
using labels that were created in Dev Studio, but I moved away from that,
due to the fact that if you modify something after the label, you lose the
association to the label (from what I see).  What we have done is use the AR
System Version Control: Task form and tied the object modification log to an
active task.  Here is how our process works
1. Create a Task record for your story.  When this happens, a script on the
server calls the svn branch command to make a new branch, and checks it out
to the server filesystem.

2. Once the branch is formed and checked out, set the task to active (I
modified the status values on task)

3.  Start your work, every time you modify workflow, an object modification
log entry gets made, when that gets made, a lookup is done to the task form
where owner on task=submitter on mod log and status on task=active, save the
task name and use that to determine what branch working copy on the server
to write the file to.

4.  When the Task name is retrieved, I write a def to the branch directory
on the filesystem (We use XML for def file format instead of def since we
manually modify the defs to change web service call urls and passwords.  I
wrote a 

Re: Java Filter Plugin - initialize(ARPluginContext context) Question

2012-01-23 Thread LJ LongWing
I would hope that any variables would be thread specific..but I don't have
any way of knowing off the top of my head.sorry

 

From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Axton
Sent: Monday, January 23, 2012 2:29 PM
To: arslist@ARSLIST.ORG
Subject: Java Filter Plugin - initialize(ARPluginContext context) Question

 

** Does anyone know if the objects instantiated in this method are local to
each thread the plugin server creates or is it local to the plugin server?
Seems like I am running into a race condition with this where each thread
the plugin server initializes shares the same objects.

 

Thanks,

Axton Grams

_attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_ 


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


Java Filter Plugin - initialize(ARPluginContext context) Question

2012-01-23 Thread John Baker
Axton,

Why don't you print out the object reference? If PluginFactory really does dish 
out the same Plugin to multiple threads, and the plugins are not thread safe, I 
think you will see many weird outcomes...


John

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


Java Filter Plugin - initialize(ARPluginContext context) Question

2012-01-23 Thread Axton
Does anyone know if the objects instantiated in this method are local to
each thread the plugin server creates or is it local to the plugin server?
 Seems like I am running into a race condition with this where each thread
the plugin server initializes shares the same objects.

Thanks,
Axton Grams

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


Flashboards Issue

2012-01-23 Thread John Baker
Shawn

This is a jar file mis-match. The getInstance method of 
com.remedy.arsys.fbmidtier.servlet.FlashletParameters was compiled against a 
different com.remedy.arsys.plugincontainer.DefinitionKey class. 


John

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


Flashboards Issue

2012-01-23 Thread Pierson, Shawn
Good afternoon,

I'm on Remedy and ITSM 7.6.4 running on Tomcat 6 on Windows and attempting to 
load Flashboards when I receive the following error.  Has anyone run into this, 
and if so, what was the solution?  I have two servers that are almost identical 
in hardware and software but one is receiving this error and the other is 
working.  I've verified the path, classpath, and all config files for the mid 
tier and can't find a difference to indicate why one server is fine while the 
other one has this issue.

Jan 23, 2012 2:21:33 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet PluginServlet threw exception
java.lang.NoSuchMethodError: 
com.remedy.arsys.plugincontainer.DefinitionKey.(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
at 
com.remedy.arsys.fbmidtier.servlet.FlashletParameters.getInstance(Unknown 
Source)
at 
com.remedy.arsys.fbmidtier.servlet.FBRequestContext.(Unknown Source)
at 
com.remedy.arsys.fbmidtier.servlet.FBImageUtil.processRequest(Unknown Source)
at 
com.remedy.arsys.plugincontainer.impl.PluginServlet.postPluginInfo(Unknown 
Source)
at 
com.remedy.arsys.plugincontainer.impl.PluginContainer.processRequestInfo(Unknown
 Source)
at 
com.remedy.arsys.stubs.AuthenticationHelperServlet.doRequest(Unknown Source)
at com.remedy.arsys.stubs.GoatHttpServlet.postInternal(Unknown 
Source)
at com.remedy.arsys.stubs.GoatHttpServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)


Thanks,

Shawn Pierson
Remedy Developer | Southern Union

Private and confidential as detailed here: 
http://www.sug.com/disclaimers/default.htm#Mail . If you cannot access the 
link, please e-mail sender.

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


Re: Sorting Custom field added to the OverviewConsole

2012-01-23 Thread Cecil, Ken
Nevermind... I found Knowledge Article ID:KA348937

 

Looks like I need to map the field to dummy fields in the other
underlying forms where SLM Status field doesn't exist.

 

From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Cecil, Ken
Sent: Monday, January 23, 2012 2:16 PM
To: arslist@ARSLIST.ORG
Subject: Sorting Custom field added to the OverviewConsole

 

** 

ITSM 7.6

 

I am adding the 'SLM Status' field to the Overview Console  so that we
can see this just like it is on the Incident Management Console.

 

It is showing the SLM data for the Incidents correctly. However, when
you try to sort the table by that column you get this error:

 

ARERR [311] Error:ARGetListEntryWithFields - Field ID is not related to
this form (ARERR 311)

 

I found some discussions on this. One suggestion workaround was to
change the chunk size on the table field of the console to 0 (instead of
200 that it was on). After changing this setting, I can sort using the
Windows User Tool but still get the error from the Mid-Tier. I have
tried flushing the MT cache, restarting Apache, deleting browser temp
files and I still get the error in the Mid Tier client (which is what
95% of our users use now.) 

 

Has anybody else ever been successful in adding a new custom column to
the Overview Console and getting it to sort by those values without
error? If so what's the trick?

 

Since the chunk setting does work on the WUT, I wonder if the chunk
setting affects the MidTier or if there is another setting for that.

 

As background: To get to this point I added the field to the
SHR:ARDBC_OverviewConsole and SHR:ARDBC_OverviewConsole Template forms,
created the new column on the SHR:OverviewConsole form table. Mapped the
field IDs in the SHR:ARDBCFields form to the field ID on MAINHELPDESK
and mapped the selection values in the SHR:ARDBCEnumLookup form.
Anything I missed?

 

 

Thanks,

Ken.

***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**
 
 
_attend WWRUG12 www.wwrug.com  ARSlist: "Where the Answers Are"_

***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Sorting Custom field added to the OverviewConsole

2012-01-23 Thread Cecil, Ken
ITSM 7.6

 

I am adding the 'SLM Status' field to the Overview Console  so that we
can see this just like it is on the Incident Management Console.

 

It is showing the SLM data for the Incidents correctly. However, when
you try to sort the table by that column you get this error:

 

ARERR [311] Error:ARGetListEntryWithFields - Field ID is not related to
this form (ARERR 311)

 

I found some discussions on this. One suggestion workaround was to
change the chunk size on the table field of the console to 0 (instead of
200 that it was on). After changing this setting, I can sort using the
Windows User Tool but still get the error from the Mid-Tier. I have
tried flushing the MT cache, restarting Apache, deleting browser temp
files and I still get the error in the Mid Tier client (which is what
95% of our users use now.) 

 

Has anybody else ever been successful in adding a new custom column to
the Overview Console and getting it to sort by those values without
error? If so what's the trick?

 

Since the chunk setting does work on the WUT, I wonder if the chunk
setting affects the MidTier or if there is another setting for that.

 

As background: To get to this point I added the field to the
SHR:ARDBC_OverviewConsole and SHR:ARDBC_OverviewConsole Template forms,
created the new column on the SHR:OverviewConsole form table. Mapped the
field IDs in the SHR:ARDBCFields form to the field ID on MAINHELPDESK
and mapped the selection values in the SHR:ARDBCEnumLookup form.
Anything I missed?

 

 

Thanks,

Ken.


***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Re: Moving the database to which a view form links?

2012-01-23 Thread LJ LongWing
Doug,

I just exported one of the default view forms 'AR System Metadata: field'.
Looking at it I found this section

 





 
field

 
recordId





 

tableName is the view/table that the view form is based on

keyFieldName is the 'requestID' of the view form.

 

In your case, you stated you need to move your table to a new DB.  Depending
on the value in here.you may be looking at a local view of a remote
table..if that's the case then you will need to change the view definition
(at the db, not in Remedy)..but this information above should be able to at
least tell where your form is pointed (which you should already know by
looking at it through the DevStudio)..if you need to change this value I
believe you could change it here.then re-import it.I'm sure that's not
supported by BMC, but I believe it works J

 

From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Anderson, Doug
Sent: Monday, January 23, 2012 7:42 AM
To: arslist@ARSLIST.ORG
Subject: Re: Moving the database to which a view form links?

 

** 

Hi Fred, LJ, et al.,

Fred, we're on MS SQL. I see the table name in the View Info tab of the form
properties but it gives no clue as to the database & server.

LJ,  you suggested the XML version of the table definition would show the
old connection. I exported to xml and there is no evidence of the database
name or the database server name in the resulting file.

I exported workflow database calls to discover the old server name.

However, knowing that doesn't help me change it in an ARS-friendly way. 

Thanks again for any suggestions on where/how to change the view form's
target database.

Doug

Original message:
Date:Fri, 20 Jan 2012 22:20:00 +
From:"Grooms, Frederick W" 
Subject: Re: Moving the database to which a view form links?

In the Admin tool the Form Properties -> View Information tab lists the
source for the data (in the Table Name field).

What database are you using?

Fred

From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Anderson, Doug
Sent: Friday, January 20, 2012 3:42 PM
To: arslist@ARSLIST.ORG
Subject: Moving the database to which a view form links?

**

Hi All,

I've inherited a view form that points to a table in a non-ARS database.
That database needs to move to a different server. I've never had to do this
before.

This is on ARS 7.1 patch 6.

I've looked through the manuals & I see where the path is set when creating
a view form. What I don't see is where & how to change that path for an
existing view form.

I've queried the schema_view table and don't see it there. I've exported a
def file and don't see it there.

How does one do this? Must I re-create the view form (and everything that
references it)?

Thanks for any clues,
Doug Anderson 

_attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_ 


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


Re: Remedy JMS

2012-01-23 Thread LJ LongWing
I'm looking for something that doesn't need to be paid foryes I know
about their 'low volume' option.  And I know that you get what you pay
for...and in this case, don't get what you don't pay for.  I've heard tons
of awesome things about XML Gateway and would likely buy the product if I
could, but it's like blood from a turnip at times.

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Campbell, Paul (Paul)
Sent: Friday, January 20, 2012 6:36 PM
To: arslist@ARSLIST.ORG
Subject: Re: Remedy JMS

We use XMLGateway for JMS and we have had good luck with it

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of LJ LongWing
Sent: Friday, January 20, 2012 10:05 AM
To: arslist@ARSLIST.ORG
Subject: Re: Remedy JMS

Awesome...thank you :)

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Jarl Grøneng
Sent: Friday, January 20, 2012 4:22 AM
To: arslist@ARSLIST.ORG
Subject: Re: Remedy JMS

This may help you
https://communities.bmc.com/communities/docs/DOC-3395

--
J

2012/1/10 LJ LongWing :
> **
>
> All,
>
> I was asked yesterday by one of my Tibco developers if Remedy supported
> JMS.  He provided the below URL for reference.
>
>
>
> http://www.oracle.com/technetwork/java/jms-136181.html
>
>
>
> Remedy of course is not a native Java application, but could support it if
> someone wrote something.  Does anyone have a ready-built plugin they would
> be willing to share?
>
>
>
> _attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


Re: Moving the database to which a view form links?

2012-01-23 Thread Grooms, Frederick W
If you see nothing but the table (or database view) name you may have a local 
database view in your Remedy database of the remote linked server database.  If 
that is so then all you need to do is update that local database view to point 
to the new remote database. ARS doesn't have to be changed at all.

Fred

-Original Message-
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Anderson, Doug
Sent: Monday, January 23, 2012 8:42 AM
To: arslist@ARSLIST.ORG
Subject: Re: Moving the database to which a view form links?

** 
Hi Fred, LJ, et al.,

Fred, we're on MS SQL. I see the table name in the View Info tab of the form 
properties but it gives no clue as to the database & server.

LJ,  you suggested the XML version of the table definition would show the old 
connection. I exported to xml and there is no evidence of the database name or 
the database server name in the resulting file.

I exported workflow database calls to discover the old server name.

However, knowing that doesn't help me change it in an ARS-friendly way. 

Thanks again for any suggestions on where/how to change the view form's target 
database.

Doug

-Original Message-
Original message:
Date:    Fri, 20 Jan 2012 22:20:00 +
From:    "Grooms, Frederick W" 
Subject: Re: Moving the database to which a view form links?

In the Admin tool the Form Properties -> View Information tab lists the source 
for the data (in the Table Name field).

What database are you using?

Fred

-Original Message-
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Anderson, Doug
Sent: Friday, January 20, 2012 3:42 PM
To: arslist@ARSLIST.ORG
Subject: Moving the database to which a view form links?

**

Hi All,

I've inherited a view form that points to a table in a non-ARS database. That 
database needs to move to a different server. I've never had to do this before.

This is on ARS 7.1 patch 6.

I've looked through the manuals & I see where the path is set when creating a 
view form. What I don't see is where & how to change that path for an existing 
view form.

I've queried the schema_view table and don't see it there. I've exported a def 
file and don't see it there.

How does one do this? Must I re-create the view form (and everything that 
references it)?

Thanks for any clues,
Doug Anderson 

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


Re: Moving the database to which a view form links?

2012-01-23 Thread Anderson, Doug
Hi Fred, LJ, et al.,

Fred, we're on MS SQL. I see the table name in the View Info tab of the form
properties but it gives no clue as to the database & server.

LJ,  you suggested the XML version of the table definition would show the
old connection. I exported to xml and there is no evidence of the database
name or the database server name in the resulting file.

I exported workflow database calls to discover the old server name.

However, knowing that doesn't help me change it in an ARS-friendly way.

Thanks again for any suggestions on where/how to change the view form's
target database.

Doug

Original message:
Date:Fri, 20 Jan 2012 22:20:00 +
From:"Grooms, Frederick W" 
Subject: Re: Moving the database to which a view form links?

In the Admin tool the Form Properties -> View Information tab lists the
source for the data (in the Table Name field).

What database are you using?

Fred

From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Anderson, Doug
Sent: Friday, January 20, 2012 3:42 PM
To: arslist@ARSLIST.ORG
Subject: Moving the database to which a view form links?

**

Hi All,

I've inherited a view form that points to a table in a non-ARS database.
That database needs to move to a different server. I've never had to do this
before.

This is on ARS 7.1 patch 6.

I've looked through the manuals & I see where the path is set when creating
a view form. What I don't see is where & how to change that path for an
existing view form.

I've queried the schema_view table and don't see it there. I've exported a
def file and don't see it there.

How does one do this? Must I re-create the view form (and everything that
references it)?

Thanks for any clues,
Doug Anderson

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


Re: Java API: how to really log out ? (v7.1)

2012-01-23 Thread Misi Mladoniczky
Hi,

Sorry, did not see that as I only read the last post that I replied to...

Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)

Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11):
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.

> Indeed.  C-API  As I stated.  Indeed ARTermination.  As I stated :).
> Meta-Update can have multiple sessions (and hence issue multiple
> ARTermination calls.
>
> Cheers Misi.
> Ben.
>
> -Original Message-
> From: Action Request System discussion list(ARSList)
> [mailto:arslist@ARSLIST.ORG] On Behalf Of Misi Mladoniczky
> Sent: January-23-12 09:05
> To: arslist@ARSLIST.ORG
> Subject: Re: Java API: how to really log out ? (v7.1)
>
> Hi Ben,
>
> Are not MetaUpdate linked to the C-API?
>
> In the C-API, you have to issue an ARTermination() or each session you
> have created, which is typically one if you work against one server.
>
> In the Java-API, I would expect that this is handled automatically when
> your (single) server object is destroyed.
>
> It seems difficult to write a Java-API-program that leaks sessions, unless
> there is some problem with the Java-API itself.
>
> On the other hand, it seems unlikely that BMC has left such a bug in the
> Java-API.
>
> Have you tried running a newer version of the Java-API?
>
> Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)
>
> Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11):
> * RRR|License - Not enough Remedy licenses? Save money by optimizing.
> * RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
> Find these products, and many free tools and utilities, at http://rrr.se.
>
>> I cannot comment on the logout leaking handles as Meta-Update issues
>> logouts at end of job.  Currently, a Meta-Update job is a single
>> process that begins and ends.  However, it can be very log lived and
>> hammers on the API quite heavily.  So, I can comment on leaks.
>>
>>
>>
>> Leaks are almost always the app?s fault and not the API?s fault.  You
>> must call the API?s free() functions as required and your own as well.
>> It is best to have a routine to dump allocated blocks at appropriate
>> points and then go through them manually.  This is part of a special
>> version I build on Windows.  gcc does not have equivalent functions
>> without a special library.
>> In this version, I replace the standard allocation functions with one
>> that cuts a trace and calls the original functions.  Then it is no
>> problem to determine where the leaked memory was allocated (with the
>> exception of API calls).
>>
>>
>>
>> The API is not completely documented on the subject of what arguments
>> return allocated memory etc.  I always have had grief with mixing
>> memory allocation even for the same structure, so I have replicated
>> the ARFree functions and use them for my own allocations and use the
>> API for its allocations.
>>
>>
>>
>> There were some API leaks in older versions.  I do not think 7.1 was
>> one of them.  There were patches applied.  I think they were around
>> the 5.2 area but have kept to formal logs on the subject.  I know that
>> huge jobs (50k records * 5 outputs etc) do not leak memory.
>>
>>
>>
>> Cheers
>>
>> Ben Chernys
>>
>>
>> Senior Software Architect
>> Description: logoSthInc-sm
>>
>> Canada / Deutschland / Germany
>> Mobile:  +49 171 380 2329GMT + 1 + [ DST ]
>> Email:   Ben.Chernys _AT_ softwaretoolhouse.com
>> Web:  
>> www.softwaretoolhouse.com
>>
>> Check out Software Tool House's free Diary Editor.
>>
>> Meta-Update, our premium ARS Data tool, lets you automate your
>> imports, migrations, in no time at all, without programming, without
>> staging forms, without merge workflow.
>>   http://www.softwaretoolhouse.com/
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> From: Action Request System discussion list(ARSList)
>> [mailto:arslist@ARSLIST.ORG] On Behalf Of Thibaut Barr re
>> Sent: January-22-12 12:30
>> To: arslist@ARSLIST.ORG
>> Subject: Re: Java API: how to really log out ? (v7.1)
>>
>>
>>
>> ** Hi,
>>
>> On Tue, May 31, 2011 at 5:42 PM, Papolu, Appajee
>> 
>> wrote:
>>
>> AR API methoods in essense have a notion of establishing connection,
>> authenticating, performing the eventual network api call to the Server
>> and so on. That is why your subsequent ops after logout just work
>> seamlessly.
>> Of
>> course all this noted additional work happens conditionally on as
>> needed basis.
>>
>> So, be assured that --  if you do a login at first and logout at the
>> very end, then expected logout semantics are upheld (i.e. this
>> specific user's acquired license is released etc).
>>
>>
>>
>> Some extra feedback much later on, in case it helps someone (and I
>> think we have some le

CMDB Consultant required for remote US based project

2012-01-23 Thread Greg Park
Dear All

 

I hope you are well, I am working on a long term contract assignment and
I wanted to see if anyone would be available to start it within the next
2 weeks

I am looking for a consultant that has experience of the Atrium CMDB
product configure the software CIs, to write the rules used to bring in
the software data from ADDM, and to set up the contracts per the
Software Manufacturer's licensing arrangement.  

 

This is a 6 month assignment that will be mainly remote based however
there might be occasional trips to the customer site.

Please contact me on the below details when you have a spare minute to
discuss your availability.

I look forward to talking to you in the near future

 

Greg Park

 

Client  Engagement Manager 

 

Fusion Business Solutions (UK) Ltd

Tel: +44 (0) 208 814 6194

Mob: +44 (0) 7815 576 613

www.fusion.co.uk  

 

Fusion is the largest consultancy in Europe that focuses exclusively on
BMC Software solutions

 

 


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


Re: Java API: how to really log out ? (v7.1)

2012-01-23 Thread Ben Chernys
Indeed.  C-API  As I stated.  Indeed ARTermination.  As I stated :).  
Meta-Update can have multiple sessions (and hence issue multiple ARTermination 
calls.

Cheers Misi.
Ben.

-Original Message-
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Misi Mladoniczky
Sent: January-23-12 09:05
To: arslist@ARSLIST.ORG
Subject: Re: Java API: how to really log out ? (v7.1)

Hi Ben,

Are not MetaUpdate linked to the C-API?

In the C-API, you have to issue an ARTermination() or each session you have 
created, which is typically one if you work against one server.

In the Java-API, I would expect that this is handled automatically when your 
(single) server object is destroyed.

It seems difficult to write a Java-API-program that leaks sessions, unless 
there is some problem with the Java-API itself.

On the other hand, it seems unlikely that BMC has left such a bug in the 
Java-API.

Have you tried running a newer version of the Java-API?

Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)

Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11):
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.

> I cannot comment on the logout leaking handles as Meta-Update issues 
> logouts at end of job.  Currently, a Meta-Update job is a single 
> process that begins and ends.  However, it can be very log lived and 
> hammers on the API quite heavily.  So, I can comment on leaks.
>
>
>
> Leaks are almost always the app?s fault and not the API?s fault.  You 
> must call the API?s free() functions as required and your own as well.  
> It is best to have a routine to dump allocated blocks at appropriate 
> points and then go through them manually.  This is part of a special 
> version I build on Windows.  gcc does not have equivalent functions 
> without a special library.
> In this version, I replace the standard allocation functions with one 
> that cuts a trace and calls the original functions.  Then it is no 
> problem to determine where the leaked memory was allocated (with the 
> exception of API calls).
>
>
>
> The API is not completely documented on the subject of what arguments 
> return allocated memory etc.  I always have had grief with mixing 
> memory allocation even for the same structure, so I have replicated 
> the ARFree functions and use them for my own allocations and use the 
> API for its allocations.
>
>
>
> There were some API leaks in older versions.  I do not think 7.1 was 
> one of them.  There were patches applied.  I think they were around 
> the 5.2 area but have kept to formal logs on the subject.  I know that 
> huge jobs (50k records * 5 outputs etc) do not leak memory.
>
>
>
> Cheers
>
> Ben Chernys
>
>
> Senior Software Architect
> Description: logoSthInc-sm
>
> Canada / Deutschland / Germany
> Mobile:  +49 171 380 2329GMT + 1 + [ DST ]
> Email:   Ben.Chernys _AT_ softwaretoolhouse.com
> Web:  
> www.softwaretoolhouse.com
>
> Check out Software Tool House's free Diary Editor.
>
> Meta-Update, our premium ARS Data tool, lets you automate your 
> imports, migrations, in no time at all, without programming, without 
> staging forms, without merge workflow.
>   http://www.softwaretoolhouse.com/
>
>
>
>
>
>
>
>
>
> From: Action Request System discussion list(ARSList) 
> [mailto:arslist@ARSLIST.ORG] On Behalf Of Thibaut Barr re
> Sent: January-22-12 12:30
> To: arslist@ARSLIST.ORG
> Subject: Re: Java API: how to really log out ? (v7.1)
>
>
>
> ** Hi,
>
> On Tue, May 31, 2011 at 5:42 PM, Papolu, Appajee 
> 
> wrote:
>
> AR API methoods in essense have a notion of establishing connection, 
> authenticating, performing the eventual network api call to the Server 
> and so on. That is why your subsequent ops after logout just work seamlessly.
> Of
> course all this noted additional work happens conditionally on as 
> needed basis.
>
> So, be assured that --  if you do a login at first and logout at the 
> very end, then expected logout semantics are upheld (i.e. this 
> specific user's acquired license is released etc).
>
>
>
> Some extra feedback much later on, in case it helps someone (and I 
> think we have some leaking somewhere).
>
>
>
> I must mention that earlier on, I faced the same situation with an ARS 
> 5.1 installation.
>
>
>
> What I diagnosed in the end (using tools like TaskInfo) is that the 
> process was leaking 3 handles per login, but logout (with or without 
> clear in 5.1) did not release the connections (using ARServerUser to 
> login/logout).
>
>
>
> I'm concerned that this may be happening as well with 7.1 (although I 
> cannot test right now).
>
>
>
> This is a bit of a concern for long running processes, such as job 
> processing workers.
>
>
>

Re: Java API: how to really log out ? (v7.1)

2012-01-23 Thread Misi Mladoniczky
Hi Ben,

Are not MetaUpdate linked to the C-API?

In the C-API, you have to issue an ARTermination() or each session you
have created, which is typically one if you work against one server.

In the Java-API, I would expect that this is handled automatically when
your (single) server object is destroyed.

It seems difficult to write a Java-API-program that leaks sessions, unless
there is some problem with the Java-API itself.

On the other hand, it seems unlikely that BMC has left such a bug in the
Java-API.

Have you tried running a newer version of the Java-API?

Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)

Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11):
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.

> I cannot comment on the logout leaking handles as Meta-Update issues
> logouts
> at end of job.  Currently, a Meta-Update job is a single process that
> begins
> and ends.  However, it can be very log lived and hammers on the API quite
> heavily.  So, I can comment on leaks.
>
>
>
> Leaks are almost always the app’s fault and not the API’s fault.  You must
> call the API’s free() functions as required and your own as well.  It is
> best to have a routine to dump allocated blocks at appropriate points and
> then go through them manually.  This is part of a special version I build
> on
> Windows.  gcc does not have equivalent functions without a special
> library.
> In this version, I replace the standard allocation functions with one that
> cuts a trace and calls the original functions.  Then it is no problem to
> determine where the leaked memory was allocated (with the exception of API
> calls).
>
>
>
> The API is not completely documented on the subject of what arguments
> return
> allocated memory etc.  I always have had grief with mixing memory
> allocation
> even for the same structure, so I have replicated the ARFree functions and
> use them for my own allocations and use the API for its allocations.
>
>
>
> There were some API leaks in older versions.  I do not think 7.1 was one
> of
> them.  There were patches applied.  I think they were around the 5.2 area
> but have kept to formal logs on the subject.  I know that huge jobs (50k
> records * 5 outputs etc) do not leak memory.
>
>
>
> Cheers
>
> Ben Chernys
>
>
> Senior Software Architect
> Description: logoSthInc-sm
>
> Canada / Deutschland / Germany
> Mobile:  +49 171 380 2329GMT + 1 + [ DST ]
> Email:   Ben.Chernys _AT_ softwaretoolhouse.com
> Web:  
> www.softwaretoolhouse.com
>
> Check out Software Tool House's free Diary Editor.
>
> Meta-Update, our premium ARS Data tool, lets you automate
> your imports, migrations, in no time at all, without programming,
> without staging forms, without merge workflow.
>   http://www.softwaretoolhouse.com/
>
>
>
>
>
>
>
>
>
> From: Action Request System discussion list(ARSList)
> [mailto:arslist@ARSLIST.ORG] On Behalf Of Thibaut Barrère
> Sent: January-22-12 12:30
> To: arslist@ARSLIST.ORG
> Subject: Re: Java API: how to really log out ? (v7.1)
>
>
>
> ** Hi,
>
> On Tue, May 31, 2011 at 5:42 PM, Papolu, Appajee 
> wrote:
>
> AR API methoods in essense have a notion of establishing connection,
> authenticating, performing the eventual network api call to the Server and
> so on. That is why your subsequent ops after logout just work seamlessly.
> Of
> course all this noted additional work happens conditionally on as needed
> basis.
>
> So, be assured that --  if you do a login at first and logout at the very
> end, then expected logout semantics are upheld (i.e. this specific user's
> acquired license is released etc).
>
>
>
> Some extra feedback much later on, in case it helps someone (and I think
> we
> have some leaking somewhere).
>
>
>
> I must mention that earlier on, I faced the same situation with an ARS 5.1
> installation.
>
>
>
> What I diagnosed in the end (using tools like TaskInfo) is that the
> process
> was leaking 3 handles per login, but logout (with or without clear in 5.1)
> did not release the connections (using ARServerUser to login/logout).
>
>
>
> I'm concerned that this may be happening as well with 7.1 (although I
> cannot
> test right now).
>
>
>
> This is a bit of a concern for long running processes, such as job
> processing workers.
>
>
>
> I'd love to hear from others, in case someone has experimented more leaks
> on
> long running processes!
>
>
>
> -- Thibaut
>
> _attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_
>
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"
>

___