Ok...so the plugin server is obviously enabled and functional, that's the
first step....no I don't know what you mean by

'and in "arplugin2" I don't see the name of my plugin so I came to
conclusion that it is not starting'

What is arplugin2?

When you say

'I added the C: location path in ar.cfg'

What do you mean, I was looking for what you had in your config
files....give me a copy of it

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of gok's
Sent: Friday, March 04, 2011 11:37 AM
To: [email protected]
Subject: Re: How to configure the Java Plugin to the ARServer

LJ Longwing thanks for response first fault 

I haven't enabled it through armonitor.cfg ..... what I am doing here is I
added the C: location path in ar.cfg  and starting the ARserver services 


in the arjavaplugin log it is showing up like this 

2011-03-04 11:25:12,232 WARN  [main] com.bmc.arsys.pluginsvr.d.b (?:?) -
INFO: Java plug-in server is initializing all plug-ins for 5 core threads.
Please wait ...
2011-03-04 11:25:12,254 WARN  [pool-2-thread-5]
com.bmc.arsys.pluginsvr.plugins.ARPluginContext (?:?) -
<ARSYS.ARF.REGISTRY>Null registry location
2011-03-04 11:25:12,254 WARN  [pool-2-thread-4]
com.bmc.arsys.pluginsvr.plugins.ARPluginContext (?:?) -
<ARSYS.ARF.REGISTRY>Null registry location
2011-03-04 11:25:12,259 WARN  [pool-2-thread-3]
com.bmc.arsys.pluginsvr.plugins.ARPluginContext (?:?) -
<ARSYS.ARF.REGISTRY>Null registry location
2011-03-04 11:25:12,260 WARN  [pool-2-thread-1]
com.bmc.arsys.pluginsvr.plugins.ARPluginContext (?:?) -
<ARSYS.ARF.REGISTRY>Null registry location
2011-03-04 11:25:12,260 WARN  [pool-2-thread-2]
com.bmc.arsys.pluginsvr.plugins.ARPluginContext (?:?) -
<ARSYS.ARF.REGISTRY>Null registry location
2011-03-04 11:25:12,272 WARN  [pool-2-thread-2] com.bmc.arsys.pluginsvr.d.b
(?:?) - INFO: Java plug-in server has initialized plug-ins for all 5 core
threads. The server is ready to receive RPC calls.


and in in "arplugin2" I don't see the name of my plugin so I came to
conclusion that it is not starting 

In the pluginsvr folder in the XML this is how I wrote it 

<?xml version="1.0" encoding="UTF-8" ?>

<pluginsvr_config>
        <port>9999</port>
        <regPortMapper>false</regPortMapper>
        <encryptionPolicy>1</encryptionPolicy>
        <publicKeyAlg>4</publicKeyAlg>
        <publicKeyExpiry>10000</publicKeyExpiry>
        <dataEncryptionAlg>1</dataEncryptionAlg>
        <dataKeyExpiry>10000</dataKeyExpiry>
        <numCoreThreads>5</numCoreThreads>
        <numSelectorThreads>2</numSelectorThreads>
        <workQueueMonitorLogInterval>0</workQueueMonitorLogInterval>
        <workQueueTaskThreshold>5</workQueueTaskThreshold>

        <plugins>
                <plugin>
                        <name>ARSYS.ARF.WEBSERVICE</name>
                        <pathelement type="location">C:/Program Files/BMC
Software/ARSystem/pluginsvr/websvcjava75.jar</pathelement>
        
<classname>com.bmc.arsys.ws.plugin.WSPlugin</classname>
                </plugin>
                <plugin>
                        <name>ARSYS.ARF.REGISTRY</name>
                        <pathelement type="location">C:/Program Files/BMC
Software/ARSystem/pluginsvr/arregistryplugin75.jar</pathelement>
        
<classname>com.bmc.arsys.plugins.registry.ARRegistryPlugin</classname>
                        <pathelement type="location">C:/Program Files/BMC
Software/ARSystem/pluginsvr/WSRegistryAPI7.5.jar</pathelement>

                </plugin>
                
                <plugin>
                        <name>TEST_PLUGIN</name>
                        <type>ARDBC</type>
                        <code>JAVA</code>
                        <filename>C:/Program Files/BMC
Software/ARSystem/Arserver/api/javaplugins/testplugin/testplugin.jar</filena
me>
        
<classname>com.bmc.arsys.plugin.sample.ARDBCSample</classname> 
                        <pathelement type="path">C:/Program Files/BMC
Software/ARSystem/Arserver/api/javaplugins/testplugin/sqljdbc.jar</patheleme
nt>
                        <pathelement type="path">C:/Program Files/BMC
Software/ARSystem/Arserver/api/javaplugins/testplugin/arapi75.jar</patheleme
nt>
                        <pathelement type="path">C:/Program Files/BMC
Software/ARSystem/Arserver/api/javaplugins/testplugin/arpluginsvr75.jar</pat
helement>                       
                        <userDefined> 
        
<url>jdbc:sqlserver://localhost:1433;databaseName=ARSystem</url> 
        
<driver>com.microsoft.jdbc.sqlserver.SQLServerDriver</driver> 
                                <user>Demo</user> 
                                <password></password> 
                                <dbtableprefix>T291</dbtableprefix> 
                        </userDefined> 
                </plugin>
                
        </plugins>
</pluginsvr_config>


I think what I am doing is I haven't located them in the right way.......


LJ LongWing (Head) wrote:
> 
> To run the Java Plugin server, you must have it enabled in the
> armonitor.cfg
> file, then the plugins that are enabled are configured in the xml in the
> pluginsvr folder.  What sort of config do you have enabled at the moment,
> complete lines and what files they come out of would be helpful.
> 
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:[email protected]] On Behalf Of gok's
> Sent: Friday, March 04, 2011 8:46 AM
> To: [email protected]
> Subject: How to configure the Java Plugin to the ARServer
> 
> I have worked on creating the plugin when I run the Java plugin it is
> connecting to the external database and showing the arschema , arcontainer
> ..... I am failing to configure it to the ARServer even though I added the
> C: location path in ar.cfg .......I have checked the plugin log's it is
> not
> showing up there do I need to create a record in the configuration ARDBC
> form in the User tool ....can some one give me some help ......
> 
> Envi: ARSystem 7.5 patch4
> Database : SQL 2008 sp2
> 
> Thanks
> 
> -- 
> View this message in context:
>
http://old.nabble.com/How-to-configure-the-Java-Plugin-to-the-ARServer-tp310
> 68684p31068684.html
> Sent from the ARS (Action Request System) mailing list archive at
> Nabble.com.
> 
>
____________________________________________________________________________
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"
> 
>
____________________________________________________________________________
___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"
> 
> 

-- 
View this message in context:
http://old.nabble.com/How-to-configure-the-Java-Plugin-to-the-ARServer-tp310
68684p31070115.html
Sent from the ARS (Action Request System) mailing list archive at
Nabble.com.

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

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to