Solved

Exception in thread "main"

Posted on 2006-11-24
4
193 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 150 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 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
where is session ID cache stored 1 46
advertisement module in core php 4 145
replace a word with other 1 40
xampp tool 12 25
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now