Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - frasert

Pages: [1]
1
Report Indexing / Re: AFP files won't load
« on: January 14, 2020, 02:01:43 PM »
Found this from the Help pages of the Administrator Client.  Apparently changing Date(old style) to Date is normal behavior, or at least called out in the Help:

Content Manager OnDemand Version 9.0 introduced a new style for Date, Date/Time, or Date/Time (TZ) fields that increases the range of dates. An application group cannot contain Date, Date/Time, or Date/Time (TZ) fields of both styles; those fields in an application group must use one style or the other. When you copy or export application groups, Content Manager OnDemand changes Date, Date/Time, or Date/Time (TZ) fields from the old style to the new style. If you do not want to use the new style when you copy an application group, you can change those fields to the old style before adding the application group.

Anyways, this is likely not even your issue.  Just wanted to call that out in case folks were not aware.

2
Report Indexing / Re: AFP files won't load
« on: January 13, 2020, 08:39:14 AM »
With that 'arsxml export' make sure to use the '-r a' parameter to include application objects.

3
Report Indexing / Re: AFP files won't load
« on: January 13, 2020, 08:33:36 AM »
Quote
The app groups/applications were copied from the 9.5 server to the 10.1 server so they are identical

I've seen instances where "copying" the application group and application objects can produce discrepancies between the copies.  I haven't really nailed this down as to exactly how and when this happens but I've seen "Date(old)" fields change to "Date" fields just from doing a copy, for example.

So I would run an 'arsxml export' on your original App Group and compare that with another 'arsxml export' of the copied App Group to see if there are any differences.

I know this has surprised me before!

4
MP Server / SQL Server high availability options
« on: January 24, 2017, 01:06:18 PM »
Hello everyone!

Question is for SQL Server high availability options.  Customer will have SQL Server 2012 on its own db server, and the library/obj server on its own Windows server.  The db server will either use Failover Clustering or Availability Groups to satisfy HA.

Does CMOD care what is used here?  Is anyone successfully using any one of these?

5
Report Indexing / Re: empty field in PDF form
« on: January 06, 2015, 08:06:20 AM »
No problem Michel, glad you got a solution working.

-Tim

6
Other / Re: ARSULOAD.DLL
« on: January 02, 2015, 12:13:52 PM »
Is this post relevant?  I believe ArcChar is an unsigned short according to arscsxit.h:

Code: [Select]
#if defined(ARS_UNICODE)
 typedef unsigned short ArcChar;
#else
 typedef char           ArcChar;
#endif

http://stackoverflow.com/questions/8699812/what-is-the-format-specifier-for-unsigned-short-int

Essentially, try "%hu" as your printf modifier.

7
Report Indexing / Re: empty field in PDF form
« on: January 01, 2015, 10:25:28 AM »
Hi Michel,
You may be able to do this using a postprocessor script.  In the 'Load Information' tab of the application, put in the name of the script which will modify the .DB temporary file that gets created after indexing has completed.  I find awk works great for postprocessor scripts since the .DB file is a delimited columnar file.  An example script that may work for your needs would be:

script.awk:

Code: [Select]
BEGIN {
  FS="\t"
  OFS="\t"
}

NR > 1 {
  # assuming $2 is 'amendment date' and $1 is 'order date'
  if ($2 == "")
    $2 = $1
}

To see what the .DB temporary file looks like you can put in a fake postprocessor script name, like "abcd", and then run arsload against the file.  The load will fail during postprocessing and the .DB file should be out there.  You can test your awk script against the .DB file using:

awk -f script.awk nameofdbfile.DB

8
OD/WEK & JAVA API / Re: UnsatisfiedLinkError for ODWEK on AIX
« on: December 10, 2014, 01:08:37 PM »
I got it working now.  I had to install both GSKit 32-bit and 64-bit.  Initially I only had 64-bit installed.  Thanks for the help!!!

9
OD/WEK & JAVA API / Re: UnsatisfiedLinkError for ODWEK on AIX
« on: December 09, 2014, 12:26:10 PM »
Ah, that does indicate that it's missing GSK libraries.  Although libars3wapi64.a apparently has everything it needs.  Should I be using libars3wapi64.a instead?

$ ldd libars3wapi32.a
libars3wapi32.a needs:
Cannot find libgsk8ssl.so
Cannot find libgsk8iccs.so
         /usr/lib/libC.a(shr.o)
         /usr/lib/libC.a(shr2.o)
         /usr/lib/libC.a(shr3.o)
         /usr/lib/libC.a(ansi_32.o)
         /usr/lib/libpthreads.a(shr_comm.o)
         /usr/lib/libpthreads.a(shr_xpg5.o)
         /usr/lib/libc.a(shr.o)
         /usr/lib/librtl.a(shr.o)
         /usr/lib/libC.a(shrcore.o)
         /usr/lib/libC.a(ansicore_32.o)
         /unix
         /usr/lib/libcrypt.a(shr.o)

$ ldd libars3wapi64.a
libars3wapi64.a needs:
         /usr/lib/libgsk8ssl_64.so
         /usr/lib/libgsk8iccs_64.so
         /usr/lib/libC.a(shr_64.o)
         /usr/lib/libC.a(shr2_64.o)
         /usr/lib/libC.a(shr3_64.o)
         /usr/lib/libC.a(ansi_64.o)
         /usr/lib/libpthreads.a(shr_xpg5_64.o)
         /usr/lib/libc.a(shr_64.o)
         /usr/lib/libgsk8cms_64.so
         /usr/lib/libC_r.a(ansi_64.o)
         /usr/lib/libpthread.a(shr_xpg5_64.o)
         /usr/lib/libdl.a(shr_64.o)
         /usr/lib/libC.a(shrcore_64.o)
         /usr/lib/libC.a(ansicore_64.o)
         /unix
         /usr/lib/libcrypt.a(shr_64.o)
         /usr/lib/libgsk8sys_64.so

$ lslpp -l | grep -i gsk
  GSKit8.gskcrypt64.ppc.rte
                           8.0.14.34  COMMITTED  IBM GSKit Cryptography Runtime
  GSKit8.gskssl64.ppc.rte  8.0.14.34  COMMITTED  IBM GSKit SSL Runtime With

10
OD/WEK & JAVA API / Re: UnsatisfiedLinkError for ODWEK on AIX
« on: November 13, 2014, 09:17:34 AM »
I set LD_LIBRARY_PATH as well:

export LD_LIBRARY_PATH=/opt/IBM/odwek/V9.0

But I still get the same message.

This page says that LD_LIBRARY_PATH is for Linux & Solaris only:
http://www-01.ibm.com/support/knowledgecenter/SSEPCD_9.0.0/com.ibm.ondemand.odwek.doc/ars5y00041.htm%23ja4env

11
OD/WEK & JAVA API / UnsatisfiedLinkError for ODWEK on AIX
« on: November 01, 2014, 11:32:46 AM »
I've installed ODWEK 9.0.0.3 on AIX and have set LIBPATH and CLASSPATH according to the documentation:

export LIBPATH=/opt/IBM/odwek/V9.0
export CLASSPATH=/opt/IBM/odwek/V9.0/api/ODApi.jar

I'm using the IBM sample code TcServerMisc from here:
http://pic.dhe.ibm.com/infocenter/cmod/v9r0m0/topic/com.ibm.ondemand.odwek.doc/ars5y00053.htm?path=6_1_6_8#tcservermisc

The code compiles fine but when I run it, I get:
java.lang.UnsatisfiedLinkError: ars3wapi32 (Not found in java.library.path)

Is this error referring to libars3wapi32.a?  That file is in /opt/IBM/odwek/V9.0 which LIBPATH is set to, so I don't understand.  I've tried different methods of setting the java library path but no luck so far:

System.setProperty("java.library.path", "/opt/IBM/odwek/V9.0")
java -Djava.library.path=/opt/IBM/odwek/V9.0 .....
setting LIBPATH in /etc/profile vs. my home .profile

Pages: [1]