This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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: 12999
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Tomcat Error
It's not a secret anymore!