License error when Invoked from Java Code


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting License error when Invoked from Java Code
# 1  
Old 01-22-2007
License error when Invoked from Java Code

Hi all,

I am getting a License error when Iam trying to call a perl script which builds TestRT (Test Real Time) application. When Iam calling the same script from command prompt it is building successfully.
Iam using Solaris 9 Operating system.

I have checked all the environment variables and they are same in both the cases and licence paths are also correct.

Has anyone faced this kind of problem, Please help me.
This is very urgent. Help me where can I find solution to this..

The error is given below.

Rational(R) Test RealTime - License manager: Cannot read data from license server
The license server process appears to be running, but is not
responding. If this persists, notify the System Administrator.
(The lmgrd and vendor daemon processes should be terminated and restarted.)
Feature: TestRealTime
Hostname: cadewsN87
License path: 1700@godavari:32891@ss30.uab.ericsson.se:1700@godavari:
27000@cadewsN87:/dev/null:
FLEXlm error: -16,287. System Error: 22 "Invalid argument"
For further information, refer to the FLEXlm End User Manual,
available at "www.globetrotter.com".
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Unable to correct NMONVisualizer java error. Can someone help to decode this java error?

Hello AIX and Java gurus, I have a java error that I have no clue how to resolve. I am trying to run the popular NMONVisualizer utility against a NMON dataset and getting the error as shown below: /db2storage/NMON >java -jar NMONVisualizer_2015-02-02.jar com.ibm.nmon.ReportGenerator... (1 Reply)
Discussion started by: okonita
1 Replies

2. Hardware

IBM 3583 Tape Drive License Feature Code

Team , currently I am doing some inventory on our hardware. I know that the old school IBM 3583 tape drive has some license feature enable but I dont know where can I check If the feature currently enable or not on our drive... Ive checked trough Web Base and Panel base but nowhere I... (0 Replies)
Discussion started by: thermometer
0 Replies

3. Shell Programming and Scripting

How to ensure a script can only be invoked from another?

Hi All, I have two scripts - ScriptA and ScriptB ScriptA has logic to invoke ScriptB : - with some parameter - or without any parameter ScriptB can also be invoked by the user from the command line. Is there anyway to ensure that when I execute ScriptB from the command line, it does... (3 Replies)
Discussion started by: chaitanya.gvc
3 Replies

4. Shell Programming and Scripting

Block of code replacement in Java source code through Unix script

Hi, I want to remove the following code from Source files (or replace the code with empty.) from all the source files in given directory. finally { if (null != hibernateSession && hibernateSession.isOpen()) { //hibernateSession.close(); } } It would be great if the script has... (2 Replies)
Discussion started by: hareeshram
2 Replies

5. Red Hat

HP Service Guard SGLX for linux getting error as LICENSE FILE NOT FOUND

HI All, I am using RHEL 5.0 32 Bit, i was trying to install HP Service Guard Cluster in my machine where i installed RHEL5. The problem is that when i am running cmquery -n selva -C mycluster.ascii. Its output is that LICENSE FILE NOT FOUND, so exiting. So i have tried so many things. Pls... (1 Reply)
Discussion started by: skumar7466
1 Replies

6. Shell Programming and Scripting

Updating the license tag in XML file with new license

Hi All, I have a XML file : System.xml in which I want to update the license tag with the new data from file licence.xml. The content of files is in following format: System.xml: <?xml version="1.0"?> <!DOCTYPE Configuration SYSTEM "SystemVariables.dtd"> <usageConfiguration... (2 Replies)
Discussion started by: Pramod_T
2 Replies

7. Programming

can i have an optimal solution for this java code ? Facing Java heap space problem even at 3GB heaps

My desired output is run: for this 1 for this 2 for this 3 for this 4 for this 5 for this 1,2 1->2 for this 2,3 2->3 for this 3,4 3->4 for this 4,5 4->5 for this 1,2,3 1->2,3 (2 Replies)
Discussion started by: vaibhavkorde
2 Replies

8. Programming

License error

All, When I am trying to complie a c code, I am getting the following error below. Anyone please tell me where to fix it. #cc -o hello.exe hello.c License Error : Cannot find the license server (au1144s) in the network database for product(Sun WorkShop Compiler C SPARC) Cannot... (2 Replies)
Discussion started by: thana
2 Replies

9. AIX

License issue on Java install

I'm a AIX novice - please bear with me.. I'm trying to install Java14_64_sdk on an Aix 5.2 server (P690) I've copied the ff files to a separate directory: Java14_64.ext Java14_64.license Java14_64.sdk I then run smitty installp, point to the above directory and choose the Java14_64.sdk... (0 Replies)
Discussion started by: morgan_g
0 Replies
Login or Register to Ask a Question
Net::Daemon::Test(3)					User Contributed Perl Documentation				      Net::Daemon::Test(3)

NAME
Net::Daemon::Test - support functions for testing Net::Daemon servers SYNOPSIS
# This is the server, stored in the file "servertask". # # Create a subclass of Net::Daemon::Test, which in turn is # a subclass of Net::Daemon use Net::Daemon::Test (); package MyDaemon; @MyDaemon::ISA = qw(Net::Daemon::Test); sub Run { # Overwrite this and other methods, as you like. } my $self = Net::Daemon->new(\%attr, @options); eval { $self->Bind() }; if ($@) { die "Server cannot bind: $!"; } eval { $self->Run() }; if ($@) { die "Unexpected server termination: $@"; } # This is the client, the real test script, note we call the # "servertask" file below: # # Call the Child method to spawn a child. Don't forget to use # the timeout option. use Net::Daemon::Test (); my($handle, $port) = eval { Net::Daemon::Test->Child(5, # Number of subtests 'servertask', '--timeout', '20') }; if ($@) { print "not ok 1 $@ "; exit 0; } print "ok 1 "; # Real tests following here ... # Terminate the server $handle->Terminate(); DESCRIPTION
This module is a frame for creating test scripts of Net::Daemon based server packages, preferrably using Test::Harness, but that's your choice. A test consists of two parts: The client part and the server part. The test is executed by the child part which invokes the server part, by spawning a child process and invoking an external Perl script. (Of course we woultn't need this external file with fork(), but that's the best possibility to make the test scripts portable to Windows without requiring threads in the test script.) The server part is a usual Net::Daemon application, for example a script like dbiproxy. The only difference is that it derives from Net::Daemon::Test and not from Net::Daemon, the main difference is that the Bind method attempts to allocate a port automatically. Once a port is allocated, the number is stored in the file "ndtest.prt". After spawning the server process, the child will wait ten seconds (hopefully sufficient) for the creation of ndtest.prt. AVAILABLE METHODS
Server part Options Adds an option --timeout to Net::Daemon: The server's Run method will die after at most 20 seconds. Bind (Instance method) This is mainly the default Bind method, but it attempts to find and allocate a free port in two ways: First of all, it tries to call Bind with port 0, most systems will automatically choose a port in that case. If that seems to fail, ports 30000-30049 are tried. We hope, one of these will succeed. :-) Run (Instance method) Overwrites the Net::Daemon's method by adding a timeout. sub Run ($) { my $self = shift; $self->Run(); } Client part Child (Class method) Attempts to spawn a server process. The server process is expected to create the file 'ndtest.prt' with the port number. The method returns a process handle and a port number. The process handle offers a method Terminate that may later be used to stop the server process. AUTHOR AND COPYRIGHT
Net::Daemon is Copyright (C) 1998, Jochen Wiedmann Am Eisteich 9 72555 Metzingen Germany Phone: +49 7123 14887 Email: joe@ispsoft.de All rights reserved. You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file. SEE ALSO
Net::Daemon(3), Test::Harness(3) perl v5.16.3 2011-03-01 Net::Daemon::Test(3)