Hi all, 

Thanks to everybody for having answered my message and for your comments. I
have been reviewing and I have found what I guess the root of the problem
could be. 

In active link the indicated is the next: 

$PROCESS$ @@:java -Dentorno=......... 

But if it does not run in filter, is possible that the syntax is incorrect,
and the correct could be: 

java -Dentorno=......... 

That is to say without '$PROCESS$ @@:'. In both cases, the instruction is
assigned to a field by a Set Field action. 

Due to it all is in the customer's server and I do not have directly access
to it, up to the next Monday they will not be able to modify the filter and
testing. In case it failed, I will go on testing taking into account your
advices. Anyway I will keep you informed updating with the result. 

Thanks, 
Sergio Tomillero 

Sergio Tomillero wrote:
> 
> Hello People
> 
> I have a strange problem with an java api. The api is correct but it only
> runs from active link. 
> 
> If I execute the api from the server's command line, it runs correctly,
> but if I execute it from a filter, it does not run returning ARERR 341.
> 
> I have reviewed all logs (arerror.log, arapi.log, filter.log, sql.log) but
> they do not show anything special about the problem.
> 
> As example, the instruction  in the server's command line, that runs Ok,
> should be like this:
> 
>   java -Dentorno=D remedyServer.Access aaa RA111 password  JOT000
> 000000000012345 00098765 "Error DSE" UA111 S  JA2008
> 
> The instruction in the same in active link or filter, as it islike this:
> 
> $PROCESS$ @@:java -Dentorno=D remedyServer.Access new $field1$ password
> $field2$ $field3$ "$field4$" "$Description$" $field5$ $field6$ "$field7$"
> J "$field8$" "$Field9$" "$Field10$"
> 
> As I have mentioned, from an active link it runs, but from a filter fails.
> 
> 
> The configuration is ARServer 5.1.2, Windows 2000.
> 
> - Is it normal that the same instruction runs from an active link and does
> not run from a filter?
> - How can I find the error? What should I trace? 
> 
> Thanks in advance,
> Sergio Tomillero
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problems-calling-java-api-from-filter.-tp20086003p20105451.html
Sent from the ARS (Action Request System) mailing list archive at Nabble.com.

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to