Help needed with project

Hello everyone. Some help would be appreciated. I have created a wildlife resort database with access.
It has an animals table with 5 entries, a species table with 3 entries and a user table with 3 entries.
I have set up a JDBC-ODBC bridge.
The server side of this application when run gets stuck upon pressing connect the first time so I have to run the server again while the first server window is running in the background and press connect for it to start running. The server works just fine after that. I can add and remove from the tables using the server.
When I run the client and try to connect it, it doesn't accept the hostname. I can't connect or log in.
I think the problem is with the threads but I'm not sure what to do to fix it.
Also I use java beans for coding.
These are some errors I get when running the client:
java.lang.IllegalThreadStateException
at java.lang.ThreadGroup.add(ThreadGroup.java:856)
at java.lang.Thread.start(Thread.java:573)
at org.apache.tools.ant.taskdefs.ProcessDestroyer.removeShutdownHook(ProcessDestroyer.java:145)
at org.apache.tools.ant.taskdefs.ProcessDestroyer.remove(ProcessDestroyer.java:198)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:487)
at org.apache.tools.ant.taskdefs.Java.fork(Java.java:746)
at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:170)
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:83)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:377)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:217)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:236)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
Exception in thread "Thread-7" java.lang.NullPointerException
at Client.Connect.connecting(Connect.java:45)
at Client.ClientGUI.run(ClientGUI.java:214)
at java.lang.Thread.run(Thread.java:595)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at Client.Connect.userPass(Connect.java:206)
at Client.ClientGUI.actionPerformed(ClientGUI.java:164)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1766)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
These are the classes I have created:
On the client side:
//imports needed for the GUI and I/O Operations
import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
import java.io.*;
public class ClientGUI extends JFrame implements ActionListener, Runnable {
JPanel pane = new JPanel();
//Create the Menubar Items
JMenuBar bar = new JMenuBar();
JMenu jMenu1 = new JMenu();
JMenu jMenu2 = new JMenu();
JMenu jMenu3 = new JMenu();
JMenuItem Exit = new JMenuItem();
JMenuItem Open = new JMenuItem();
JMenuItem Close = new JMenuItem();
JMenuItem Find = new JMenuItem();
static JMenuItem Add = new JMenuItem();
static JMenuItem Remove = new JMenuItem();
static JMenuItem Connect1 = new JMenuItem();
static JMenuItem Disconnect = new JMenuItem();
static JMenuItem Login = new JMenuItem();
static JMenuItem Logout = new JMenuItem();
static boolean check = true;
static JLabel running = new JLabel("You are not Connected");
//Creates the animal JTable and adds it to a scrollpane
public static String[] animalH = {"Id" , "Name" , "Description" , "Species Id"};
public static Object rows1 [] [] = new Object[40][4];
public static JTable animal = new JTable(rows1 , animalH);
JScrollPane animalP;
//Creates the species JTable and adds it to a scrollpane
public static String[] speciesH = {"Species Id" , "Species Name"};
public static Object rows2 [] [] = new Object[40][2];
public static JTable species = new JTable(rows2 , speciesH);
JScrollPane speciesP;
public static Thread runner;
//Declares Globale variables
static int currentT;
int respones;
static String hostname;
static boolean connected = false;
/** Creates a new instance of ClientGUI */
public ClientGUI() {
super("SA Wildlife -- Client");
setSize(800 , 600);
setDefaultCloseOperation(EXIT_ON_CLOSE);
getContentPane().add(running , BorderLayout.SOUTH);
Add.setEnabled(false);
Remove.setEnabled(false);
Logout.setEnabled(false);
Disconnect.setEnabled(false);
try {
jbInit();
}catch(Exception e) {
e.printStackTrace();
addListener();
setJMenuBar(bar);
setVisible(true);
//Add the actionListeners to the components
public void addListener(){
Open.addActionListener(this);
Close.addActionListener(this);
Exit.addActionListener(this);
Connect1.addActionListener(this);
Disconnect.addActionListener(this);
Find.addActionListener(this);
Login.addActionListener(this);
Logout.addActionListener(this);
Add.addActionListener(this);
Remove.addActionListener(this);
//Add the actions which the components must perform
public void actionPerformed(ActionEvent evt){
Object s = evt.getSource();
if (s == Open){
choice();
Close();
if (respones == 0){
currentT = 1;
clearTableAnimals();
Connect.allAnimal();
animal = new JTable(rows1, animalH);
animalP = new JScrollPane(animal);
getContentPane().add(animalP, BorderLayout.CENTER);
setVisible(true);
}else if (respones == 1 ){
currentT = 2;
clearTableSpecies();
Connect.allSpecies();
species = new JTable(rows2 , speciesH);
speciesP = new JScrollPane(species);
getContentPane().add(speciesP, BorderLayout.CENTER);
setVisible(true);
}else if (s == Close){
Close();
}else if (s == Exit){
exit();
}else if (s == Connect1){
hostname = JOptionPane.showInputDialog(null , "Please enter Hostname");
if (check = true){
runner = new Thread(this);
runner.start();
Connect1.setEnabled(false);
Disconnect.setEnabled(true);
}else if (s == Disconnect){
Connect.out.println("Bye");
runner = null;
try {
Connect.out.close();
Connect.in.close();
Connect.clientSocket.close();
} catch (IOException ioe) {
JOptionPane.showMessageDialog(null,
"Error " + ioe.toString(),
"IO Exception",
JOptionPane.ERROR_MESSAGE);
System.exit(0);
}else if (s == Find){
choice();
Close();
if (respones == 0){
currentT = 1;
String Aname = JOptionPane.showInputDialog(null , "Enter Animal name to find ");
clearTableAnimals();
Connect.findAnimal(Aname);
animal = new JTable(rows1, animalH);
animalP = new JScrollPane(animal);
getContentPane().add(animalP, BorderLayout.CENTER);
setVisible(true);
}else{
currentT = 2;
String Sname = JOptionPane.showInputDialog(null , "Enter Species name to find ");
clearTableSpecies();
Connect.findSpecies(Sname);
species = new JTable(rows2 , speciesH);
speciesP = new JScrollPane(species);
getContentPane().add(speciesP, BorderLayout.CENTER);
setVisible(true);
}else if( s== Login){
String name = JOptionPane.showInputDialog(null , "Please enter a UserName");
String password = JOptionPane.showInputDialog(null , "Please enter a Password");
Connect.userPass(name , password);
}else if (s == Logout){
Logout();
}else if (s== Add){
choice();
Close();
if(respones == 0){
currentT = 1;
String id = JOptionPane.showInputDialog(null , "Enter an Animal id");
String name = JOptionPane.showInputDialog(null , "Enter an Animal Name");
String desc = JOptionPane.showInputDialog(null , "Enter an Animal Description");
String speciesid = JOptionPane.showInputDialog(null , "Enter an Animal species id");
clearTableAnimals();
Connect.toAddAnimal(id , name , desc , speciesid);
Connect.allAnimal();
animal = new JTable(rows1, animalH);
animalP = new JScrollPane(animal);
getContentPane().add(animalP, BorderLayout.CENTER);
setVisible(true);
}else{
currentT = 2;
String id = JOptionPane.showInputDialog(null , "Enter a Species id");
String name = JOptionPane.showInputDialog(null , "Enter a Species name");
clearTableSpecies();
Connect.toAddSpecies(id , name);
Connect.allSpecies();
species = new JTable(rows2 , speciesH);
speciesP = new JScrollPane(species);
getContentPane().add(speciesP, BorderLayout.CENTER);
setVisible(true);
}else if (s == Remove){
choice();
Close();
if(respones == 0){
currentT = 1;
String id = JOptionPane.showInputDialog(null , "Enter an Animal id to Remove");
Connect.toRemoveAnimal(id);
}else{
currentT = 2;
String id = JOptionPane.showInputDialog(null , "Enter a Species id to Remove");
Connect.toRemoveSpecies(id);
public void run() {
Connect connect = new Connect();
while (runner != null) {
try {
connect.connecting();
catch (IOException ioe) {
System.out.println("Error: " + ioe);
ClientGUI.running.setText("You are now connected");
//Method the creates the dialog box for the user to choose what he wants to do
void exit(){
String [] option = { "Exit" , "Minimize" , "Cancel" };
int which = JOptionPane.showOptionDialog(null , "Sure you want to exit"
, "Exiting" , 0 , JOptionPane.WARNING_MESSAGE ,
null , option , option[2] );
if (which == 0){
System.exit(1);
}else if (which == 1){
setState(JFrame.ICONIFIED);
}else{}
//Closes the current table on the panel
public void Close(){
if(currentT == 1){
animalP.setVisible(false);
}else if (currentT == 2){
speciesP.setVisible(false);
}else{}
//Method that give the user a choice on which table to perform actions on
public void choice(){
String[] choices = {"Animals" , "Species"};
respones = JOptionPane.showOptionDialog(null ,
"Please select Table" , "Table" , 0 , JOptionPane.INFORMATION_MESSAGE ,
null , choices , choices[1] );
//Clears the Species table
public void clearTableSpecies(){
for (int i = 0; i < 40; i++){
rows2[0] = "";
rows2[i][1] = "";
//Clears the Animal table
public void clearTableAnimals(){
for (int i = 0; i < 40; i++){
rows1[i][0] = "";
rows1[i][1] = "";
rows1[i][2] = "";
rows1[i][3] = "";
//Method for the Logout button
public void Logout(){
JOptionPane.showMessageDialog(null , "You are now logged out ");
Login.setEnabled(true);
Add.setEnabled(false);
Remove.setEnabled(false);
Logout.setEnabled(false);
//Main Methof
public static void main(String[] args) {
ClientGUI GUI1 = new ClientGUI();
// Adds all components to the panel
private void jbInit() throws Exception {
jMenu1.setText("File");
Exit.setText("Exit");
jMenu2.setText("Table Action");
Open.setText("Open Table");
Add.setText("Add to Table");
Remove.setText("Remove from Table");
Find.setText("Find In table");
Close.setText("Close Current");
jMenu3.setText("Client");
Connect1.setText("Connect");
Disconnect.setText("Disconnect");
Login.setText("Login");
Logout.setText("Logout");
bar.add(jMenu1);
bar.add(jMenu2);
bar.add(jMenu3);
jMenu1.add(Exit);
jMenu2.add(Open);
jMenu2.add(Add);
jMenu2.add(Remove);
jMenu2.add(Find);
jMenu2.add(Close);
jMenu3.add(Connect1);
jMenu3.add(Disconnect);
jMenu3.add(Login);
jMenu3.add(Logout);
package Client;
import java.io.*;
import java.net.*;
import javax.swing.*;
import java.util.*;
public class Connect {
static public Socket clientSocket = null;
static public PrintWriter out = null;
static public BufferedReader in = null;
public void connecting() throws IOException {
try{
clientSocket = new Socket(ClientGUI.hostname , 1234);
out = new PrintWriter(clientSocket.getOutputStream() , true);
in = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
}catch (UnknownHostException e){
JOptionPane.showMessageDialog(null , "Dont know about host");
ClientGUI.check = false;
ClientGUI.Connect1.setEnabled(true);
ClientGUI.Disconnect.setEnabled(false);
ClientGUI.runner = null;
}catch(IOException i){
ClientGUI.check = false;
JOptionPane.showMessageDialog(null,"Couldnt get i/O for the connection to 127.0.0.0.1");
ClientGUI.Connect1.setEnabled(true);
ClientGUI.Disconnect.setEnabled(false);
ClientGUI.runner = null;
if (ClientGUI.check = true){
String fromServer;
StringTokenizer token1;
String First;
String Second;
String Third;
while ( (fromServer = in.readLine()) != null) {
System.out.println("From SerVer ---------------> " + fromServer);
token1 = new StringTokenizer(fromServer, "%");
StringTokenizer token2;
StringTokenizer token3;
First = token1.nextToken();
System.out.println("First ------- > " + First);
if (First.equalsIgnoreCase("SelectedAnimal")) {
System.out.println("IT's ON ");
Second = token1.nextToken();
System.out.println("Second ----> " + Second);
int y = 0;
int x = 0;
System.out.println("In the 1while");
token2 = new StringTokenizer(Second, "$");
while (token2.hasMoreTokens()) {
System.out.println("In the 2while");
token3 = new StringTokenizer(token2.nextToken(), "@");
x = 0;
while (token3.hasMoreTokens()) {
ClientGUI.rows1[y][x] = token3.nextToken();
x++;
y++;
else if (First.equalsIgnoreCase("SelectedSpecies")) {
System.out.println("IT's ON BITCH ");
Second = token1.nextToken();
System.out.println("Second ----> " + Second);
int y = 0;
int x = 0;
System.out.println("In die 1while");
token2 = new StringTokenizer(Second, "$");
while (token2.hasMoreTokens()) {
System.out.println("In die 2while");
token3 = new StringTokenizer(token2.nextToken(), "@");
x = 0;
while (token3.hasMoreTokens()) {
ClientGUI.rows2[y][x] = token3.nextToken();
x++;
y++;
else if (First.equalsIgnoreCase("FoundAnimal")) {
Second = token1.nextToken();
if (! (Second.equalsIgnoreCase("NONE"))) {
System.out.println("Second ----> " + Second);
int y = 0;
int x = 0;
System.out.println("In the 1while");
token2 = new StringTokenizer(Second, "$");
while (token2.hasMoreTokens()) {
System.out.println("In the 2while");
token3 = new StringTokenizer(token2.nextToken(), "#@#");
x = 0;
while (token3.hasMoreTokens()) {
ClientGUI.rows1[y][x] = token3.nextToken();
x++;
y++;
else {
JOptionPane.showMessageDialog(null,
"Could not find Animal , Please try again");
else if (First.equalsIgnoreCase("FoundSpecies")) {
Second = token1.nextToken();
if (! (Second.equalsIgnoreCase("NONE"))) {
System.out.println("Second ----> " + Second);
int y = 0;
int x = 0;
System.out.println("In die 1while");
token2 = new StringTokenizer(Second, "$");
while (token2.hasMoreTokens()) {
System.out.println("In die 2while");
token3 = new StringTokenizer(token2.nextToken(), "#@#");
x = 0;
while (token3.hasMoreTokens()) {
ClientGUI.rows2[y][x] = token3.nextToken();
x++;
y++;
else {
JOptionPane.showMessageDialog(null,
"Could not find Species , Please try again");
else if (First.equalsIgnoreCase("FoundUser")) {
System.out.println("From Server --- > " + First);
String login = token1.nextToken();
System.out.println("Find true or false ---- > " + login);
if (login.equalsIgnoreCase("isUser")) {
JOptionPane.showMessageDialog(null, "You are now logged in");
ClientGUI.Add.setEnabled(true);
ClientGUI.Remove.setEnabled(true);
ClientGUI.Logout.setEnabled(true);
ClientGUI.Login.setEnabled(false);
else {
JOptionPane.showMessageDialog(null,
"Invalid Username or Password, Please try again");
else if (First.equalsIgnoreCase("RecordAddedA")) {
JOptionPane.showMessageDialog(null, "Record Added");
else if (First.equalsIgnoreCase("RecordAddedS")) {
JOptionPane.showMessageDialog(null, "Record Added");
else if (First.equalsIgnoreCase("SQLE")) {
System.out.println("ERROR SQL ERROR");
else if (First.equalsIgnoreCase("Blah1")) {
System.out.println("ERROR Ander ERROR");
else if (First.equalsIgnoreCase("AnimalRemoved")) {
JOptionPane.showMessageDialog(null, "Record Removed");
else if (First.equalsIgnoreCase("SpeciesRemoved")) {
JOptionPane.showMessageDialog(null, "Record Removed");
}else{
System.out.println("BLAAAAAAAAH");
static public void Close() throws IOException{
out.println("bye");
ClientGUI.runner = null;
ClientGUI.Disconnect.setEnabled(false);
ClientGUI.Connect1.setEnabled(true);
out.close();
in.close();
clientSocket.close();
static public void allAnimal(){
out.println("SELECTANIMALS");
static public void allSpecies(){
out.println("SELECTSPECIES");
static public void findAnimal(String name){
out.println("FINDANIMAL" + "@" + name);
static public void findSpecies(String name){
out.println("FINDSPECIES@" + name);
static public void userPass(String name , String password){
System.out.println("FINDUSER -----> " + name + " " + password);
out.println("FINDUSER@" + name + "@" + password);
static public void toAddAnimal(String id , String name , String desc , String species){
out.println("toAddAnimal@" + id +"@" + name +"@" + desc +"@" + species );
static public void toAddSpecies(String id , String name){
out.println("toAddSpecies@" + id +"@" + name );
static public void toRemoveAnimal(String id){
out.println("toRemoveAnimal@" + id);
static public void toRemoveSpecies(String id){
out.println("toRemoveSpecies@" + id);
On the server side:
package Server;
////import everything necesary for the Database Connection
import java.sql.*;
import java.util.StringTokenizer;
import javax.swing.*;
import java.util.*;
public class DatabaseConnect {
//Declaration of Globale variables
static int hoeveel = 0;
static ResultSet rec ;
static String bidData[] = new String[100];
static String toSend[] = new String[100];
//Connects the program to the database
public DatabaseConnect() {
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String source = "jdbc:odbc:Database";
Connection dbconnect = DriverManager.getConnection(source);
Statement st = dbconnect.createStatement();
}catch(ClassNotFoundException cnf){
System.out.println("classNotFound" + cnf);
}catch(SQLException se) {
System.out.println("SqlExeption" + se);
//Selects the data from the databas and adds the data to the tables
public void open(){
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String source = "jdbc:odbc:Database";
Connection dbconnect = DriverManager.getConnection(source);
Statement st = dbconnect.createStatement();
if (ServerGUI.currentT == 1){
hoeveel = 0;
rec = st.executeQuery("SELECT * FROM ANIMALS");
while (rec.next()) {
bidData[hoeveel++] = rec.getString(1) + "@#@" +
rec.getString(2) + "@#@" +
rec.getString(3) + "@#@" +
rec.getString(4);
readintoTable1();
}else if (ServerGUI.currentT == 2){
hoeveel = 0;
rec = st.executeQuery("SELECT * FROM SPECIES");
while (rec.next()) {
bidData[hoeveel++] = rec.getString(1) + "@#@" + rec.getString(2);
readintoTable2();
}else if(ServerGUI.currentT == 3){
hoeveel = 0;
rec = st.executeQuery("SELECT * FROM USER");
while (rec.next()) {
bidData[hoeveel++] = rec.getString(1) + "@#@" + rec.getString(2)
+ "@#@" + rec.getString(3);
readintoTable3();
}catch(ClassNotFoundException cnf){
System.out.println("classNotFound" + cnf);
}catch(SQLException se) {
System.out.println("SqlExeption" + se);
//Clean the table and reads the data into the animal table
public void readintoTable1(){
for(int a = 0; a < 40; a++){
ServerGUI.rows1[a][0] = "";
ServerGUI.rows1[a][1] = "";
ServerGUI.rows1[a][2] = "";
ServerGUI.rows1[a][3] = "";
for (int i = 0; i < hoeveel; i++) {
StringTokenizer str = new StringTokenizer(bidData[i], "@#@");
ServerGUI.rows1[i][0] = str.nextToken();
ServerGUI.rows1[i][1] = str.nextToken();
ServerGUI.rows1[i][2] = str.nextToken();
ServerGUI.rows1[i][3] = str.nextToken();
//Clean the table and reads the data into the Species table
public void readintoTable2(){
for(int a = 0; a < 40; a++){
ServerGUI.rows2[a][0] = "";
ServerGUI.rows2[a][1] = "";
for (int i = 0; i < hoeveel; i++) {
StringTokenizer str = new StringTokenizer(bidData[i], "@#@");
ServerGUI.rows2[i][0] = str.nextToken();
ServerGUI.rows2[i][1] = str.nextToken();
//Clean the table and reads the data into the User table
public void readintoTable3(){
for(int a = 0; a < 40; a++){
ServerGUI.rows3[a][0] = "";
ServerGUI.rows3[a][1] = "";
ServerGUI.rows3[a][2] = "";
for (int b = 0; b < hoeveel; b++) {
StringTokenizer str = new StringTokenizer(bidData, "@#@");
ServerGUI.rows3[b][0] = str.nextToken();
ServerGUI.rows3[b][1] = str.nextToken();
ServerGUI.rows3[b][2] = str.nextToken();
//add animal information to the Animal table in the database
public void addAnimal(String id , String name , String desc , String species_id){
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String source = "jdbc:odbc:Database";
Connection dbconnect = DriverManager.getConnection(source);
Statement st = dbconnect.createStatement();
int toAdd;
String sqlstm = "INSERT INTO animals" + "(animal_id, animal_Name , description , species_id)" +
"VALUES (" + id + ", '" + name + "', '" + desc + "', " + species_id + ")";
toAdd = st.executeUpdate(sqlstm);
dbconnect.close();
JOptionPane.showMessageDialog(null , "New Record Added");
ServerGUI.refreshAnimal();
ServerGUI.currentT = 1;
open();
}catch(ClassNotFoundException cnf){
JOptionPane.showMessageDialog(null,
"Class Not Found -> " + cnf.toString(),
"Error!!",
JOptionPane.ERROR_MESSAGE);
System.out.println("classNotFound" + cnf);
}catch(SQLException se) {
JOptionPane.showMessageDialog(null,
"SQL Exception -> " + se.toString()
+ "\n Please make sure all data is entered correctly ",
"Error!!",
JOptionPane.ERROR_MESSAGE);
System.out.println("SqlExeption" + se);
//add animal information to the Species table in the database
public void addSpecies(String id1 , String name1){
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String source = "jdbc:odbc:Database";
Connection dbconnect = DriverManager.getConnection(source);
Statement st = dbconnect.createStatement();
int toAdd;
String sqlstm = "INSERT INTO species" + "(species_id, species_name)" +
"VALUES ( '" + id1 + "', '" + name1 + "')";
toAdd = st.executeUpdate(sqlstm);
dbconnect.close();
JOptionPane.showMessageDialog(null , "New Record Added");
ServerGUI.refreshSpecies();
ServerGUI.currentT = 2;
open();
}catch(ClassNotFoundException cnf){
JOptionPane.showMessageDialog(null,
"Class Not Found -> " + cnf.toString(),
"Error!!",
JOptionPane.ERROR_MESSAGE);
System.out.println("classNotFound" + cnf);
}catch(SQLException se) {
JOptionPane.showMessageDialog(null,
"SQL Exception -> " + se.toString()
+ "\n Please make sure all data is entered correctly ",
"Error!!",
JOptionPane.ERROR_MESSAGE);
System.out.println("SqlExeption" + se);
//add animal information to the User table in the database
public void addUser(String id2 , String user , String pass){
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String source = "jdbc:odbc:Database";
Connection dbconnect = DriverManager.getConnection(source);
Statement st = dbconnect.createStatement();
int toAdd;
String sqlstm = "INSERT INTO user" + "(user_id, user_name ,user_password)" +
"VALUES ( '" + id2 + "', '" + user + "', '"+ pass + "')";
toAdd = st.executeUpdate(sqlstm);
dbconnect.close();
JOptionPane.showMessageDialog(null , "New Record Added");
ServerGUI.refreshUser();
ServerGUI.currentT = 3

Your code is completely unreliable and it should be placed inside a code block when you add it. Also your question would be better off in the JDBC forum than the networking one.

Similar Messages

  • Help needed with project setting (640x480 30FPS)

    Hi
    I am sorry if this is a simple question, I am new to PE and video editing
    I have just purchased PE9 and working on a small project to put togather a family movie.
    The vide sources is from a Panasonic DMC-FZ28 camera, and looking at the file properties it is 640/480 (30 or 29.xx FPS depending how you look). the file is a .mov file.
    I keep reading about how important getting the project setting but I can not find anything suitable which is surprising as the format is not particulary odd.
    Having checked a few postings, I've seen recommendations to selects NTSC DSLR 480p 640x480, however, when I start a new project and look at projects settings avaiable under NTSC/DSLR there is a 480p 640x480 option but at 60 (or 59.94) FPS.
    Can you please recommend an appropropriate setting
    Many thanks

    Have a look at part 1 of my Basic Training for Premiere Elements tutorial series for Premiere Elements support site Muvipix.com.
    It will show you how to set up your project for NTSC 640x480p60 DSLR video (about as close as you can get to your specs).
    If that doesn't work, try experimenting by shooting in 1280x720 and using that DSLR setting.
    Also ensure that you have the latest version of Quicktime from Apple.

  • HELP NEEDED WITH ADDAPTER-DVI TO VGA.

    PLEASE ...HELP NEEDED WITH WIRING CROSS OVER....CAN YOU HELP WITH BACK OF PLUG CONNECTIONS...I SORTA UNDERSTAND THE PINOUTS BUT CANT MAKE AN EXACT MACH...WOULD LIKE TO BE 100% SURE...
    ......THIS ENSURES NO SMOKE!!!                                                                                           
    THE CARD IS AN ATI RADEON RX9250-DUAL HEAD-.........ADDAPTER IS DVI(ANALOG)MALE TO VGA(ANALOG)FEMALE.
    ANY HELP VERY MUCH APPRECIATED........ SEEMS YOU NEED TO BE ROCKET SCI TO ATTACH A BLOODY PICTURE...SO THIS HAS BEEN BIG WASTE OF FING TIME!

    Quote from: BOBHIGH on 17-December-05, 09:21:31
    Get over it mate !
    I find it easy t read CAPS...and if you dont like it ...DONT READ IT!
    And why bother to reply...some people have nothing better to do.
    Yes there chep and easy to come by...Ive already got a new one.
    All I wanted was to make a diagram of whats inside the bloody thing...it was a simple question and required a simple answer.
    NO NEED TO A WANKA !!
    I feel a bann comming up.
    Have you tryed Google ? really.. your question is inrelevant. No need to reply indeed.
    Why do you come here asking this question anyway ? is it becouse you have a MSI gfx card ? and the adapter has nothing to do with this ?
    You think you can come in here yelling.. thinking we have to put up with it and accept your style of posting. This is not a MSI tech center.. it's a user to user center.. Your question has nothing to do with MSI relavant things anyway's.
    Google = your friend.
    Quote from: BOBHIGH on 17-December-05, 09:21:31
    it was a simple question and required a simple answer
    Simple for who ? you (buying a new one) ? me ? we ?   .really...........
    Quote from: Dynamike on 16-December-05, 04:11:48
    1: There are allot of diffrent types of those adapters.
    If any of the mods have a problem about my reply.. please pm me.

  • Help needed with Vista 64 Ultimate

    "Help needed with Vista 64 UltimateI I need some help in getting XFI Dolby digital to work
    Okay so i went out and I bought a yamaha 630BL reciever, a digital coaxial s/pdif, and a 3.5mm phono plug to fit perfectly to my XFI Extreme Music
    -The audio plays fine and reports as a PCM stream when I play it normally, but I can't get dolby digital or DTS to enable for some reason eventhough I bought the DDL & DTS Connect Pack for $4.72
    When I click dolby digital li've in DDL it jumps back up to off and has this [The operation was unsuccessful. Please try again or reinstall the application].
    Message Edited by Fuzion64 on 03-06-2009 05:33 AMS/PDIF I/O was enabled under speakers in control panel/sound, but S/PDIF Out function was totally disabled
    once I set this to enabled Dolby and DTS went acti've.
    I also have a question on 5. and Vista 64
    -When I game I normally use headphones in game mode or 2. with my headphones, the reason for this is if I set it on 5. I get sounds coming out of all of the wrong channels.
    Now when I watch movies or listen to music I switch to 5. sound in entertainment mode, but to make this work properly I have to open CMSS-3D. I then change it from xpand to stereo and put the slider at even center for 50%. If I use the default xpand mode the audio is way off coming out of all of the wrong channels.
    How do I make 5. render properly on vista

    We ended up getting iTunes cleanly uninstalled and were able to re-install without issue.  All is now mostly well.
    Peace...

  • Help needed with itunes

    help needed with itunes please tryed to move my itunes libary to my external hard drive itunes move ok and runs fin but i have none of my music or apps or anything all my stuff is in the itunes folder on my external hard drive but there is nothing on ituns how do i get it back help,please

    (Make sure the Music (top left) library is selected before beginning this.)
    If you have bad song links in your library, hilite them and hit the delete button. Then locate the folder(s) where your music is located and drag and drop into the large library window in iTunes ( where your tracks show up). This will force the tunes into iTunes. Before you start, check your preferences in iTunes specifically under the"Advanced" tab, general settings. I prefer that the 1st 2 boxes are unchecked. (Keep iTunes Music folder organized & Copy files to iTunes Music folder when adding to library). They are designed to let iTunes manage your library. I prefer to manage it myself. Suit yourself. If there is a way for iTunes to restore broken links other than locating one song at a time I haven't found it yet. (I wish Apple would fix this, as I have used that feature in other apps.) This is the way I do it and I have approx. 25,000 songs and podcasts and videos at present. Hope this helps.

  • Urgent help needed with un-removable junk mail that froze Mail!!

    Urgent help needed with un-removable junk mail that froze Mail?
    I had 7 junk mails come in this morning, 5 went straight to junk and 2 more I junked.
    When I clicked on the Junk folder to empty it, it froze Mail and I can't click on anything, I had to force quit Mail and re-open it. When it re-opens the Junk folder is selected and it is froze, I can't do anything.
    I repaired permissions, it did nothing.
    I re-booted my computer, on opening Mail the In folder was selected, when I selected Junk, again, it locks up Mail and I can't select them to delete them?
    Anyone know how I can delete these Junk mails from my Junk folder without having to open Mail to do it as it would appear this will be the only solution to the problem.

    Hi Nigel
    If you hold the Shift key when opening the mail app, it will start up without any folders selected & no emails showing. Hopefully this will enable you to start Mail ok.
    Then from the Mail menus - choose Mailbox-Erase Junk Mail . The problem mail should now be in the trash. If there's nothing you want to retain from the Trash, you should now choose Mailbox- Erase Deleted Messages....
    If you need to double-check the Trash for anything you might want to retain, then view the Trash folder first, before using Erase Junk Mail & move anything you wish to keep to another folder.
    The shift key starts Mail in a sort of Safe mode.

  • Help needed with this form in DW

    Hi, i have created this form in dreamweaver but ive got this problem.
    In the fields above the text field, the client needs to fill in some info such as name, email telephone number etc.
    But the problem is when ill get the messages. Only the text from the large text field is there.
    What did i do wrong??
    http://www.hureninparamaribo.nl/contact.html
    Thank you
    Anybody??

    Thank you for your response. So what do i have to do to fix this?
    Date: Sun, 20 Jan 2013 07:57:56 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help needed with this form in DW
        Re: Help needed with this form in DW
        created by Ken Binney in Dreamweaver General - View the full discussion
    You have several duplicate "name" attributes in these rows which also appears in the first row
    Telefoon:
    Huurperiode:
    Aantal personen:
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5008247#5008247
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5008247#5008247
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5008247#5008247. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Help needed with header and upload onto business catalyst

    Can someone help with a problem over a header please?
    I have inserted a rectangle with a jpeg image in  background, in the 'header' section, underneath the menu. It comes up fine on most pages when previsualised, going right to the side of the screen, but stops just before the edge on certain pages. I have double checked that I have placed it in the right place in relation to the guides on the page.
    That's one problem.
    The second problem is that I tried to upload onto business catalyst, which got to 60% and refused to go any further, saying it couldn't find the header picture, giving the title and then u4833-3.fr.png. The picture is in the right folder I have double checked. And it isn't a png. Does it have to be ?
    And the third problem is that I got an email following my upload from business catalyst in Swedish. I am living in France.
    Can anyone help ? Thanks.

    Thanks for replying,
    How can I check the preview in other browsers before I publish a provisional site with BC?
    The rectangle width issue happens on certain pages but not others. The Welecom page is fine when the menu is active, also the contact page, but others are slightly too narrow. Changing the menu spacing doesn’t help - I was already on uniform but tried changing to regular and back.
    In design mode the rectangle is set to the edge of the browser, that’s 100%browser width right?
    Re BC I have about 200 images on 24 different pages and it seems to be having difficulty uploading some of them. But it has managed a couple I named with spaces but not others I named with just one name.
    Is there an issue on size of pictures ? If I need to replace is there a quick way to rename and relink or do I have to insert the photos all over again?
    I’m a novice with Muse with an ambitious site !
    Thanks for your help.
    Mary Featherstone
    Envoyé depuis Courrier Windows
    De : Sanjit_Das
    Envoyé : vendredi 14 février 2014 22:15
    À : MFeatherstone
    Re: Help needed with header and upload onto business catalyst
    created by Sanjit_Das in Help with using Adobe Muse CC - View the full discussion 
    Hi
    Answering the questions :
    - Have you checked the preview in Muse and also in other browsers ?
    - Does the rectangle width issue happens when menu is active , or in any specific state , Try to change the menu with uniform spacing and then check.
    - In design view the rectangle is set to 100% browser width ?
    With publishing :
    - Please try to rename the image file and then relink
    - If it happens with other images as well , see if all the image names includes strange characters or spaces.
    - Try again to publish
    With e-mail from BC :
    - Under preferences , please check the country selected.
    - If you have previously created partner account in BC and selected country and language then it would follow that, please check that.
    Thanks,
    Sanjit
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6121942#6121942
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6121942#6121942
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6121942#6121942. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Help needed with Elements 5.0

    Trying to Edit photos.  Click on Edit icon and I get the Message " Attempt to Access invalid address".  Click OK get message "Unable to connect to editor application.
    What is the problem?   I have unenstalled to program and reinstalled, I have tried repairing from CD.  Nothing works.  Please help.

    I have the disc and re-installed a couple of time. No positive result. PSE 09 which I bought thereafter is giving a lot of problems also!!!
    Date: Wed, 8 Jun 2011 10:31:24 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help needed with Elements 5.0
    Doesn't really help either of us very much but I'm also having the same problem with Elements 5. I downloaded the program so I don't have disks to reinstall. And it seems from the other reply that Adobe has given up with the "old program," which incidentally was working fine until two days ago. Maybe I'll have to think about PSE9!
    >

  • Help needed with BBDM 5.0.1 IP Modem

    Hi I was happily connecting thru the Net via the IP Modem in BBDM ver 5.0.1 all this while. Only this happened yesterday. Accidentally during the connection, my 9500 was disconnected from the USB cable. From that moment on, I cannot access the Net using the IP Modem feature. Tried to reboot the laptop as well as the 9500 but now all I get is the connecting message and then a pop up saying there is a hardware failure in the connecting device (or modem) ie the BB 9500.
    I even uninstalled BBDM 5.0.1 and reinstalled ver 5.0 and also updated back to 5.0.1 - same story. I can still access the Net via the BB browser etc
    Advise please thanks in advance

    I have the disc and re-installed a couple of time. No positive result. PSE 09 which I bought thereafter is giving a lot of problems also!!!
    Date: Wed, 8 Jun 2011 10:31:24 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help needed with Elements 5.0
    Doesn't really help either of us very much but I'm also having the same problem with Elements 5. I downloaded the program so I don't have disks to reinstall. And it seems from the other reply that Adobe has given up with the "old program," which incidentally was working fine until two days ago. Maybe I'll have to think about PSE9!
    >

  • Help needed with a design!

    HELP! I need help with designing something!
    IMAGE on this link " http://i1072.photobucket.com/albums/w362/jjnilsson/DSC_0188.jpg "
    i need this patch on the picture to be "remade" in higher definition and the text should be MILF HUNTERS intstead of milf hunter... Anyone that might be able to help me out?
    reson for all this is that its gonna be made to a 30x40cm big patch fitting the back of our Team jackets!
    send me a pm or a mail ([email protected]) if you need any futher info or if you can help me out! I am really thankful for all the help i can get!
    With best regards J. Nilsson, Milf Hunters Mc

    I simply did as i got a tip on FB to do
    quote from adobe themselves on facebook "Adobe Illustrator You might also want to try asking on our forums as there are many people that can help there as well! http://forums.adobe.com/community/illustrator/illustrator_general"
    sry if it was wrong of me, simply thought there might be someone nice out there to give a helping hand
    Date: Tue, 5 Jun 2012 13:41:48 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help needed with a design!
        Re: Help needed with a design!
        created by in Illustrator - View the full discussion
    This really isn't the place to ask for free services.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4467790#4467790
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4467790#4467790. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Illustrator by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Help needed with java

    Hello everyone
    I'm a Student and new to java and I have been given a question which I have to go through. I have come across a problem with one of the questions and am stuck, so I was wondering if you guys could help me out.
    here is my code so far:
    A Class that maintains Information about a book
    This might form part of a larger application such
    as a library system, for example.
    @author (your name)
    *@version (a version number or a date)*
    public class Book
    // instance variables or fields
    private String author;
    private String title;
    Set the author and title when the book object is constructed
    public Book(String bookAuthor, String bookTitle)
    author = bookAuthor;
    title = bookTitle;
    Return The name of the author.
    public String getAuthor()
    return author;
    Return The name of the title.
    public String getTitle()
    return title;
    and below are the questions that I need to complete. they just want me to add codes to my current one, but the problem is I don't know where to put them and how I should word them, if that makes sense.
    Add a further instance variable/field pages to the Book class to store the number of pages in the book.
    This should be of type int and should be set to 0 in the Constructor.
    Add a second Constructor with signature
    public Book(String bookAuthor, String bookTitle, int noPages) so it has a third parameter passed to it as well as the author and title;
    this parameter is used - obviously?? - to initialise the number of pages.
    Note: This is easiest done by making a copy of the existing Constructor and adding the parameter.
    Add a getPages() accessor method that returns the number of pages in the book.
    Add a method printDetails() to your Book class. This should print out the Author title and number of pages to the Terminal Window. It is your choice as to how the data is formatted, perhaps all on one line, perhaps on three, and with or without explanatory text. For instance you could print out in the format:
    Title: Robinson Crusoe, Author: Daniel Defoe, Pages:226
    Add a further instance variable/field refNumber() to your Book class. This stores the Library's reference number. It should be of type String and be initialised to the empty String "" in the constructor, as its initial value is not passed in as a parameter. Instead a public mutator method with the signature:
    public void setRefNumber(String ref) should be created. The body of this method should assign the value of the method parameter ref to the refNumber.
    Add a corresponding getRefNumber() accessor method to your class so you can check that the mutator works correctly
    Modify your printDetails() method to include printing the reference number of the book.
    However the method should print the reference number only if it has been set - that is the refNumber has a non-zero length.
    If it has not been set, print "ZZZ" instead.
    Hint Use a conditional statement whose test calls the length() method of the refNumber String and gives a result like:
    Title: Jane Eyre, Author: Charlotte Bronte, Pages:226, RefNo: CB479 or, if the reference number is not set:
    Title: Robinson Crusoe, Author: Daniel Defoe, Pages:347, RefNo: ZZZ
    Modify your setRefNumber() method so that it sets the refNumber field only if the parameter is a string of at least three characters. If it is less than three, then print an error message (which must contain the word error) and leave the field unchanged
    Add a further integer variable/field borrowed to the Book class, to keep a count of the number of times a book has been borrowed. It should (obviously??) be set to 0 in the constructor.
    Add a mutator method borrow() to the class. This should increment (add 1 to) the value of borrowed each time it is called.
    Include an accessor method getBorrowed() that returns the value of borrowed
    Modify Print Details so that it includes the value of the borrowed field along with some explanatory text
    PS. sorry it looks so messey

    1. In the future, please use a more meaningful subject. "Help needed with java" contains no information. The very fact that you're posting here tells us you need help with Java. The point of the subject is to give the forum an idea of what kind of problem you're having, so that individuals can decide if they're interested and qualified to help.
    2. You need to ask a specific question. If you have no idea where to start, then start here: [http://home.earthlink.net/~patricia_shanahan/beginner.html]
    3. When you post code, use code tags. Copy the code from the original source in your editor (NOT from an earlier post here, where it will already have lost all formatting), paste it in here, highlight it, and click the CODE button.

  • Help needed with Report Design

    Hi All,
    Here is the requirement.
    Period Type(holds 2 values) : Payment and Vested.
    we have field 'Total Days' which is calculated based on "User Selected" Period Type.
    For example, When Period Type is Payment,
    If start date is less than or equal to grant date and end date is less than or equal to vest date, then calculation is (End Date - Grant Date)+1
    If start date is greater than grant date and end date is less than or equal to vest date, then calculation is (End Date - Mobility Start Date)+1 (similarly 2 more if conditions) ...we have similar calculation for Period Type - 'Vested'.
    This Period Type is a multiselect Prompt. How can this be achievable.
    Any thoughts will be greatly appreciated.
    Thanks.

    I simply did as i got a tip on FB to do
    quote from adobe themselves on facebook "Adobe Illustrator You might also want to try asking on our forums as there are many people that can help there as well! http://forums.adobe.com/community/illustrator/illustrator_general"
    sry if it was wrong of me, simply thought there might be someone nice out there to give a helping hand
    Date: Tue, 5 Jun 2012 13:41:48 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help needed with a design!
        Re: Help needed with a design!
        created by in Illustrator - View the full discussion
    This really isn't the place to ask for free services.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4467790#4467790
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4467790#4467790. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Illustrator by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Help needed with breadcrums???

    Hi thank you for reading,
    On my site
    http://www.dorff.nl/huize%20beekhuizen.html
    you will see a nice page. On this page ive got no complaints.
    Alle the text and images are looking good. But to have this i had to change the settings of the breadcrums.
    Now all my other pages look like this..
    file:///C:/Users/Gast%20Account/Desktop/vakantiehuizensuriname%20website/appartement%20she rida.html
    As you can see there is too much space between the text and the photos. it seems i cant do one page without effecting an other.
    Need some help to figure this out.
    Regards  Brian

    all spaces are removed..
    here is the link..
    http://www.dorff.nl/appartementsherida.html
    Regards  Brian
    Date: Thu, 26 Apr 2012 12:26:58 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help needed with breadcrums???
        Re: Help needed with breadcrums???
        created by Ken Binney in Dreamweaver - View the full discussion
    Hi Brian - Please remove spaces from all file and folder names. Use a hyphen or underscorehuize%20beekhuizen.html Please put sherida.html online and post a link for us
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4363367#4363367
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4363367#4363367. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Help needed with EXIT_SAPLMDR1_005 for rounding

    Hi Guru's,
    We have an issue with the user exit EXIT_SAPLMDR1_005 in ECC6 system as it isn't being triggered.
    We've recently performed an SAP upgrade from 4.7 to ECC6 and when creating a PO in the 4.7 system we've stuck a breakpoint at the customer function call and noticed the code within this exit is performed. However, when doing the same thing in ECC6 system, the code is not performed.
    My understanding regarding these user exits is that a customer enhancement would exist in CMOD, however none exist in either system that calls EXIT_SAPLMDR1_005. Am I missing something? Is there a setting in config somewhere where this exit needs specifying?
    Hope someone can help, thanks
    Chris

    Hi Chris,
    that exit is part of enhancement MDR10001 that is available in ECC6, I believe.
    You don't need a project in CMOD, but the enhancement should be active in tc SMOD.
    hope it helps,
    Edgar

Maybe you are looking for

  • RUN_REPORT_OBJECT -Please Help

    Hi, I have been in touch with Oracle Reports Team on Reports forum for last 10 days.Finally they have referred me here as they say my problem will be better addressed here. So here I am. Problem background first. We are telecom software company and i

  • Help needed in oracle incentive compensation

    Hi All, Im working on oracle incentive compensation 11i. I have a plan element, which i need to attach to nearly 2000 compensation plans. For this, i'm having a custom program which calls the API cn_comp_plan_pub.create_comp_plan, to attach the plan

  • Info structures in credit management

    Hi Gurus What are the different inforstructures (apart from S066) that are useful in credit management. Ravi

  • Flash chart / custom XML

    Hello everyone, I was wondering if you could point me to a sort of "user's guide" or "developer's guide" for Anychart (the component that Apex uses to generate flash charts). The "documentation" I found on their site (http://www.anychart.com/products

  • Oracle SID Problems with numbers

    Hi everybody, I created a new database (ORACLE 10g) with the SID name IC71 and the same global database name. After finishing the configuration and starting the database everything worked fine. Now I installed the Oracle Client on another server mach