File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Error" Watch "Tomcat Error" New topic

Tomcat Error

Deepali Dhar

Joined: May 09, 2006
Posts: 1
Dear Sir,

I am stuck in a very critical situation. I would really appreciate your help.

I have developed my application on Tomcat 5.1 but had to migrate it to Tomcat 4.1 . It is running fine on my test environment but on the main server it gives me an error that says "Incompatible object argument for function call". Could you kindly advise me why i'm facing this error.

Thank you so much.
Ramaswamy Srinivasan
Ranch Hand

Joined: Aug 31, 2004
Posts: 295
Hi Deepali,

I would suggest you to post some more details of the log messages and the error to the Tomcat mailing group. They would be in a position to help.

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13025
Are you compiling this servlet with Java 1.4 or 1.5?
Is the server running with Java 1.4 or 1.5?
If there is a mis-match, note that there is a compiler option to force compatibility with specific Java runtimes. See the Java tooldocs.
I agree. Here's the link:
subject: Tomcat Error
It's not a secret anymore!