Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Inline::Java hangs! [SEC=UNCLASSIFIED]
Hi
I have been using Inline::Java successfully for some some, however quite
recently my Perl script seems unable to communicate with the JVM. I use
Inline::Java like this (the debug only for this test):

use Inline (
Java       => 'STUDY'
,SHARED_JVM => 1
,DEBUG      => 2
,CLASSPATH  =>
'localtokenservices.jar:itsec-dto-common.jar:commons-logging.jar'
,STUDY      => ['a.particular.class']
);

I dont actually write any java myself, I use the STUDY option to identify
the class I am after. I am running under Solaris 10, perl 5.8.4, JVM
1.5.0_06-b05. This is the DEBUG level 2 output when I try and create a
java object, then call a method in it. Note the two line starting with
'**' are my own output indicating when im about to create the object, and
call the method. Note that the object seem to be created OK, but when I
make the method call it just hangs for several minutes until 'Killed' is
displayed:

[perl][1] validate done.
[perl][1] Starting load.
[perl][2]  classpath:
/export/home/db9/sqllib/java/db2java.zip:/export/home/db9/sqllib/java/db2jcc
.jar:/export/home/db9/sqllib/java/sqlj.zip:/export/home/db9/sqllib/function:
/export/home/db9/sqllib/java/db2jcc_license_cu.jar:/home/mpl430/work/revgeo:
/data/edw/scripts/perl5lib/
sun4-solaris-64int/Inline/Java/InlineJavaServer.jar
[perl][1] starting JVM...
[perl][1] client/server mode
[perl][2]  "/usr/java/bin/java"  org.perl.inline.java.InlineJavaServer 2
localhost 7890 false false false
[perl][2]  classpath:
/export/home/db9/sqllib/java/db2java.zip:/export/home/db9/sqllib/java/db2jcc
.jar:/export/home/db9/sqllib/java/sqlj.zip:/export/home/db9/sqllib/function:
/export/home/db9/sqllib/java/db2jcc_license_cu.jar:.
[perl][2]  adding to classpath:
'/data/edw/scripts/perl5lib/sun4-solaris-64int/Inline/Java/InlineJavaUser.ja
r'
[java][2]  added
file:/data/edw/scripts/perl5lib/sun4-solaris-64int/Inline/Java/InlineJavaUse
r.jar
to classpath
[perl][2]  classpath candidate '' scraped
[perl][2]  adding to classpath:
'/home/mpl430/work/revgeo/_Inline/lib/auto/inlineJ_0295'
[perl][2]  adding to classpath:
'/home/mpl430/work/revgeo/localtokenservices.jar'
[perl][2]  adding to classpath:
'/home/mpl430/work/revgeo/itsec-dto-common.jar'
[perl][2]  adding to classpath:
'/home/mpl430/work/revgeo/commons-logging.jar'
[java][2]  added
file:/home/mpl430/work/revgeo/_Inline/lib/auto/inlineJ_0295/ to classpath
[java][2]  added file:/home/mpl430/work/revgeo/localtokenservices.jar to
classpath
[java][2]  added file:/home/mpl430/work/revgeo/itsec-dto-common.jar to
classpath
[java][2]  added file:/home/mpl430/work/revgeo/commons-logging.jar to
classpath
[perl][1] using jdat cache
[perl][1] load done.
** CREATE OBJECT
[java][1] loading InlineJavaUserClassLink via InlineJavaUserClassLoader
** CALL METHOD
Killed

Note that this particular script was working and has been working for some
time, and to my knowledge there have been no software changes or anything.
To be sure I deleted my _Inline and let inline rebuild it, however it
didnt help.
Any help or advice?
Cheers

 ****************************************
******************************
IMPORTANT:  This e-mail is intended for the use of the addressee and may con
tain information that is confidential, commercially valuable or subject to l
egal or parliamentary privilege.  If you are not the intended recipient you 
are notified that any revie
w, re-transmission, disclosure, use or dissemination of this communication i
s strictly prohibited by several Commonwealth Acts of Parliament.  If you ha
ve received this communication in error please notify the sender immediately
 and delete all copies of t
his transmission together with any attachments.
 ****************************************
******************************



Report this thread to moderator Post Follow-up to this message
Old Post
michael.potter@centrelink.gov.au
03-27-08 04:31 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL INLINE module archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 12:51 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.