aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 12675
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.

Java Resources at
I agree. Here's the link:
subject: Tomcat Error
Similar Threads
plz check my classpath to JSTL
Running Servlets, have a question
Not able to run servlet-HTTP status404
my tomcat server can start!!
what should the enviromnent variables be for Tomcat?