Ok, I think i figured out the problem

For some reason the bean didn't want to work with the 1.4.2 jvm that was installed on the machine. It worked fine on the other machine, but that was using a 1.5.0 jvm. I switched to use the 1.5 jvm, and it is working now. Now i've got a problem on the dev studio where i can't see the methods for the bean. my guess is it has something to do with the jvm again, now i have to figure out how to get Witango dev studio to use a particular jvm.

/John

John McGowan wrote:
The CLASSPATH environment variable is set with all the jars that I need, and I'm still getting the same error. I even threw in an echo $CLASSPATH to make sure that the var was being set properly in my init script. It all looked good.

/John

Customer Support wrote:
John,
Make sure that the bean and any other classes the bean uses is in the CLASSPATH environment variable used by the server.

Regards

Witango Support

On 12/04/2006, at 8:12 AM, John McGowan wrote:

I'm porting a site that was running on 5.0 to a 5.5 server, and one of the pieces of functionality is from a JAVABEAN. As i'm porting this over, I'm realizing that it's the first site in my 5.5 environment that uses beans.

I'm pretty sure I've got objects.ini and handlers.ini setup properly, but I'm getting the error below when i try to instantiate the javabean.

If there's anybody out there that uses Javabeans on 5.5, could you please let me know if you have any idea what could be missing.

Also, when witango starts up, the witangoevents.log reports that the javabean inteface is "Enabled" and I know the JVM is working because i use JDBC exclusively on this server.

/john
Class: Internal
AppFile: nyfpdf.tcf
AppFile Path: /res/
Position: Create_PDFGenerator ( Method: generatePDF )
Code: -808
Message: Cannot create native object.
Code: 0
Message: pdfg
Class: Internal
AppFile: nyfpdf.tcf
AppFile Path: /res/
Position: Create_PDFGenerator ( Method: generatePDF )
Code: -622
Message: The specified object instance could not be created.
Code: 0
Message: pdfg
Class: Internal
AppFile: nyfpdf.tcf
AppFile Path: /res/
Position: Create_PDFGenerator ( Method: generatePDF )
Code: -622
Message: The specified object instance could not be created.
Code: 0
Message:
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to