Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Application can't find my *.jar
Application can't find my *.jar [message #13471] Mon, 04 April 2005 10:08 Go to next message
Eclipse User
Originally posted by: vadimfs.web.de

I have 4 plugins in my application.
In one are only *.jar. While starting these are not found *.jar.

my serviceconfig.xml
<?xml version="1.0" encoding="UTF-8"?>
<AgentControllerConfiguration activeConfiguration="default"
loggingDetail="LOW" loggingLevel="INFORMATION" port="10002"
securedPort="10003" version="4.0.0" filePort="10005" processPolling="true"
jvm="C:\Programme\Java\j2re1.4.2_05\bin\client\jvm.dll">
<AgentControllerEnvironment configuration="default">
<Variable name="JAVA_PATH"
value="C:\Programme\Java\j2re1.4.2_05\bin\java.exe" position="replace"/>
<Variable name="RASERVER_HOME" value="C:\tptp\raserver4.0"
position="replace"/>
<Variable name="PLUGINS_HOME" value="%RASERVER_HOME%\plugins"
position="replace"/>
<Variable name="PATH" value="%RASERVER_HOME%\bin" position="prepend"/>
<Variable name="SYS_TEMP_DIR" value="C:\WINNT\TEMP" position="replace"/>
<Variable name="LOCAL_AGENT_TEMP_DIR" value="%SYS_TEMP_DIR%"
position="replace"/>
<Variable name="CLASSPATH_ORG_APACHE_JAKARTA_COMMONS_LOGGING"
value=" %PLUGINS_HOME%\org.apache.jakarta_commons_logging_1.0.3\comm ons-logging.jar "
position="append"/>
<Variable name="CLASSPATH_ORG_ECLIPSE_CORE_RUNTIME" position="append"
value="%PLUGINS_HOME%\org.eclipse.core.runtime_3.1.0\runtime.jar "/>
<Variable name="CLASSPATH_ORG_ECLIPSE_EMF_COMMON"
value=" %PLUGINS_HOME%\org.eclipse.emf.common_2.1.0\runtime\common.j ar "
position="append"/>
<Variable name="CLASSPATH_ORG_ECLIPSE_EMF_ECORE"
value=" %PLUGINS_HOME%\org.eclipse.emf.ecore_2.1.0\runtime\ecore.jar "
position="append"/>
<Variable name="CLASSPATH_ORG_ECLIPSE_EMF_ECORE_XMI" position="append"
value=" %PLUGINS_HOME%\org.eclipse.emf.ecore.xmi_2.1.0\runtime\ecore .xmi.jar "/>
<Variable name="CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_MODELS"
position="append"
value=" %PLUGINS_HOME%\org.eclipse.tptp.platform.models_4.0.0\tptp-m odels.jar "/>
<Variable name="CLASSPATH_ORG_JUNIT" position="append"
value="%PLUGINS_HOME%\org.junit_3.8.1\junit.jar"/>
<Variable name="CLASSPATH" position="append"
value="%PLUGINS_HOME%\my.packages\lib\activation.jar"/>
<Variable name="CLASSPATH" position="append"
value="%PLUGINS_HOME%\my.packages\lib\axis.jar"/>
<Variable name="CLASSPATH" position="append"
value="%PLUGINS_HOME%\my.packages\lib\axis-ant.jar"/>
</AgentControllerEnvironment>
<Application configuration="default" executable="java.exe"
path="%JAVA_PATH%" location="%SYS_TEMP_DIR%"/>
<Hosts configuration="default">
<Allow host="ALL"/>
</Hosts>
<Plugin path="%PLUGINS_HOME%"/>
</AgentControllerConfiguration>

and my pluginconfig.xml
<?xml version="1.0" encoding="UTF-8"?>
<PluginConfiguration>
<AgentControllerEnvironment configuration="default">
<Variable name="CLASSPATH" position="append"
value="%PLUGINS_HOME%\my.packages\activation.jar"/>
<Variable name="CLASSPATH" position="append"
value="%PLUGINS_HOME%\my.packages\axis.jar"/>
<Variable name="CLASSPATH" position="append"
value="%PLUGINS_HOME%\my.packages\axis-ant.jar"/>
</AgentControllerEnvironment>
<Option type="version" name="my.packages" value="0.1.0"/>
</PluginConfiguration>

Where CLASSPATH should be for mine plugins?
Re: Application can't find my *.jar [message #13755 is a reply to message #13471] Wed, 06 April 2005 12:48 Go to previous message
Samson Wai is currently offline Samson Wai
Messages: 46
Registered: July 2009
Member
Hi,

The settings in the pluginconfig.xml are picked up only if you launch your
application through the Agent Controller. Is it what you are doing? If so,
please paste the pluginconfig.xml which contains the <Application>
definition so that I can take a look. Thanks.

Samson

"Vadim" <vadimfs@web.de> wrote in message
news:09348450221a542a3db1b74de46c018f$1@www.eclipse.org...
> I have 4 plugins in my application.
> In one are only *.jar. While starting these are not found *.jar.
>
> my serviceconfig.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <AgentControllerConfiguration activeConfiguration="default"
> loggingDetail="LOW" loggingLevel="INFORMATION" port="10002"
> securedPort="10003" version="4.0.0" filePort="10005" processPolling="true"
> jvm="C:\Programme\Java\j2re1.4.2_05\bin\client\jvm.dll">
> <AgentControllerEnvironment configuration="default">
> <Variable name="JAVA_PATH"
> value="C:\Programme\Java\j2re1.4.2_05\bin\java.exe" position="replace"/>
> <Variable name="RASERVER_HOME" value="C:\tptp\raserver4.0"
> position="replace"/>
> <Variable name="PLUGINS_HOME" value="%RASERVER_HOME%\plugins"
> position="replace"/>
> <Variable name="PATH" value="%RASERVER_HOME%\bin" position="prepend"/>
> <Variable name="SYS_TEMP_DIR" value="C:\WINNT\TEMP" position="replace"/>
> <Variable name="LOCAL_AGENT_TEMP_DIR" value="%SYS_TEMP_DIR%"
> position="replace"/>
> <Variable name="CLASSPATH_ORG_APACHE_JAKARTA_COMMONS_LOGGING"
>
value=" %PLUGINS_HOME%\org.apache.jakarta_commons_logging_1.0.3\comm ons-loggi
ng.jar"
> position="append"/>
> <Variable name="CLASSPATH_ORG_ECLIPSE_CORE_RUNTIME" position="append"
> value="%PLUGINS_HOME%\org.eclipse.core.runtime_3.1.0\runtime.jar "/>
> <Variable name="CLASSPATH_ORG_ECLIPSE_EMF_COMMON"
> value=" %PLUGINS_HOME%\org.eclipse.emf.common_2.1.0\runtime\common.j ar "
> position="append"/>
> <Variable name="CLASSPATH_ORG_ECLIPSE_EMF_ECORE"
> value=" %PLUGINS_HOME%\org.eclipse.emf.ecore_2.1.0\runtime\ecore.jar "
> position="append"/>
> <Variable name="CLASSPATH_ORG_ECLIPSE_EMF_ECORE_XMI" position="append"
>
value=" %PLUGINS_HOME%\org.eclipse.emf.ecore.xmi_2.1.0\runtime\ecore .xmi.jar "
/>
> <Variable name="CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_MODELS"
> position="append"
>
value=" %PLUGINS_HOME%\org.eclipse.tptp.platform.models_4.0.0\tptp-m odels.jar
"/>
> <Variable name="CLASSPATH_ORG_JUNIT" position="append"
> value="%PLUGINS_HOME%\org.junit_3.8.1\junit.jar"/>
> <Variable name="CLASSPATH" position="append"
> value="%PLUGINS_HOME%\my.packages\lib\activation.jar"/>
> <Variable name="CLASSPATH" position="append"
> value="%PLUGINS_HOME%\my.packages\lib\axis.jar"/>
> <Variable name="CLASSPATH" position="append"
> value="%PLUGINS_HOME%\my.packages\lib\axis-ant.jar"/>
> </AgentControllerEnvironment>
> <Application configuration="default" executable="java.exe"
> path="%JAVA_PATH%" location="%SYS_TEMP_DIR%"/>
> <Hosts configuration="default">
> <Allow host="ALL"/>
> </Hosts>
> <Plugin path="%PLUGINS_HOME%"/>
> </AgentControllerConfiguration>
>
> and my pluginconfig.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <PluginConfiguration>
> <AgentControllerEnvironment configuration="default">
> <Variable name="CLASSPATH" position="append"
> value="%PLUGINS_HOME%\my.packages\activation.jar"/>
> <Variable name="CLASSPATH" position="append"
> value="%PLUGINS_HOME%\my.packages\axis.jar"/>
> <Variable name="CLASSPATH" position="append"
> value="%PLUGINS_HOME%\my.packages\axis-ant.jar"/>
> </AgentControllerEnvironment>
> <Option type="version" name="my.packages" value="0.1.0"/>
> </PluginConfiguration>
>
> Where CLASSPATH should be for mine plugins?
>
>
Previous Topic:JBossAgent immediately terminates after start
Next Topic:profiling filters
Goto Forum:
  


Current Time: Tue Sep 16 17:33:05 GMT 2014

Powered by FUDForum. Page generated in 0.01721 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software