?
Solved

Exception in thread "main"

Posted on 2006-11-24
4
Medium Priority
?
203 Views
Last Modified: 2010-03-31
Hi,

Iam done some prg in java which works on windows
environment( it retervies data from the data base and
after manipulating store in some other database)

it worked sucessfully but i want to make it work on
UNIX o/s then i got a runtime exception

Error:--

Exception in thread "main"
java.lang.AbstractM ethodError: addBatch
at
com.ibm.first. batch.db. FinrecRow. update(FinrecRow .java:381)
at
com.ibm.first. batch.BatchAssig n.processRules( BatchAssign. java:404)
at
com.ibm.first. batch.BatchAssig n.start(BatchAss ign.java: 796)
at
com.ibm.first. batch.BatchAssig n.main(BatchAssi gn.java:242)
0
Comment
Question by:shwaqar82
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
Ajay-Singh earned 600 total points
ID: 18009015
looks like classpath issue, check if the classpath is same as windows on the unix box
0
 

Author Comment

by:shwaqar82
ID: 18009062
okie my other question is :
HI to all
i have a problem in Servlet the senario is like that
i have a application in which have many servlet i wanna access a servlet method which is defind in one of them in same application
n hwo access it from diffrent application
Please :)
regard
Shaukat
0
 
LVL 35

Assisted Solution

by:girionis
girionis earned 400 total points
ID: 18018611
> i have a application in which have many servlet i wanna access a servlet method which is defind in one of them in same application
>n hwo access it from diffrent application

The best thing you can do is to define the methods you want in an external class which you will call from the servlet. Otherwise, if the methdos does some servlet-specific things you might as well call the servlet and get the returned output from it.
0
 
LVL 35

Expert Comment

by:girionis
ID: 18019091
:)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month16 days, 8 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question