Topic Options
Rate This Topic
#139584 - 02/15/08 06:27 AM Java Plugin Server trouble
Shark_7-11 Offline
Stealth Member
*****

Registered: 09/26/06
Posts: 267
- Scenario
I want to write an ADRBC using Java and create a Vendor form on top of it. So i decided to set up my ARS 7.1, Windows environment so that i can use the plugin. I though i would start of by looking at how it should look so i took the example provided with the installer namely ARDBCSample.
Got everything running and working 100% (according to my knowledge) but when i try to create a Vendor form I only see the C ARDBC Vendor forms (Flashboards and licensing). PLEASE ANYONE, I can't find anything anywhere, I must be missing something somewhere, like the port (9999) in ar.cfg or something silly like that

- Tech Detail

Java:
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)


ARS:
7.1.00 Patch 001 200711161033


Plugin Server:
AR System Plugin Server Version 7.1.00 Patch 001 200711161033


AR Monitor:
"C:\Program Files\Java\jre1.6.0_04\bin\java" -Xmx512m -classpath "C:\Program Files\AR System\ars\pluginsvr;C:\Program Files\AR System\ars\pluginsvr\arpluginsvr71.jar" com.bmc.arsys.pluginsvr.ARPluginServerMain -x ars -i "C:\Program Files\AR System\ars" -m

(And yes it starts up, tried this manually)


pluginsvr_config.xml:
<plugin>
<name>SAMPLE.ARDBC</name>
<type>ARDBC</type>
<code>JAVA</code>
<filename>C:/Program Files/AR System/ars/ARServer/api/javaplugins/sampleardbc.jar</filename>
<classname>com.bmc.arsys.plugin.sample.ARDBCSample</classname>
<pathelement type="path">C:/Program Files/AR System/ars/ARServer/api/javaplugins</pathelement>
<pathelement type="location">C:/Program Files/AR System/ars/ARServer/api/javaplugins/samplePluginDependency.jar</pathelement>
</plugin>

(Yes the files exist and I can open/browse the jar, thus not corrupted)


arjavaplugin.log:
Static initialize method invoked
UserDefined value for sample Property Value
Static initialize method invoked
UserDefined value for sample null


armonitor.log:
Thu Feb 14 14:03:52 2008 ARMonitor child process (pid:1832) started.
"c:\program files\java\jre1.6.0_04\bin\java"


arerror.log:
Thu Feb 14 14:03:53 2008 390695 : Unable to extract minor version from Java VM version string: 10.0-b19 (ARERR 9130)


Thanks
_________________________
Mayhem, Chaos and Anarchy
My job here is complete!

Top
#139803 - 04/08/08 04:09 AM Re: Java Plugin Server trouble [Re: Shark_7-11]
rolfb Offline
Just Signed Up

Registered: 05/20/05
Posts: 2
Loc: Germany
Hello,
what do you see when you ask for the version?
Thats what I get and my plugin does work.
ARS 7.1.00 Build 200708221849
What I see is that you are using a client VM, I'm using the server VM.

$ /usr/jdk/instances/jdk1.5.0/bin/java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)

Top