problem

Thread Solved

Join Date: Oct 2007
Posts: 8
Reputation: anonymous_cutie is an unknown quantity at this point 
Solved Threads: 0
anonymous_cutie anonymous_cutie is offline Offline
Newbie Poster

problem

 
0
  #1
Aug 21st, 2008
we have this assignment to make a webpage where the user can add/insert/delete /save data to a database. the program is already finished and i had it up and running perfectly. like, all the functions work. but when i transfered it to another computer, it would not display any data from the database. is it incompatibility with MySQL or with java? im using jsp to develop the site but im not really sure where the problem lies... so can anyone please help? thanks!
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,768
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 493
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: problem

 
0
  #2
Aug 22nd, 2008
Surely you must have kept some sort of exception handling / logging in your code to help you pinpoint the error/fault? Also, since the code was previously working, it has surely got something to do with your configuration.

Which type of database driver are you using? Type 1 which uses DSN or Type 4 type pure driver? If Type 1 then you need to create a DSN again on the new machine. Also, checking the error logs of your Application Server / Servlet Container might further clarify the issue.
I don't accept change; I don't deserve to live.

Sacrifice is a painful, pure and beautiful thing.

Dammit, Jones, What the Hell Are Knoll Pointers?!
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,528
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 523
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is online now Online
Code tags enforcer

Re: problem

 
-1
  #3
Aug 22nd, 2008
If you just trying show-casing on different pc make sure that it has installed Java, Tomcat server, MySQL server and that you transferred your little database to the MySQL server

PS: Lol beaten by ~s.o.s~ for speed of posting
Last edited by peter_budo; Aug 22nd, 2008 at 4:12 am. Reason: Adding PS
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 8
Reputation: anonymous_cutie is an unknown quantity at this point 
Solved Threads: 0
anonymous_cutie anonymous_cutie is offline Offline
Newbie Poster

Re: problem

 
0
  #4
Aug 22nd, 2008
to peter_budo: yes, all those apps are installed in all the pc's im using. and i made new databases instead of exporting/importing them. and yes. im sure the databases are correct since i can manipulate data in them. i double check using mysql query browser and the mysql cmd line client.

to ~s.o.s~: i really dont know which type of driver. our teacher just gave us a mysql-connector-java.jar file. they said this is the driver. so im using that one. in all the programs and pc's again. im sorry, im still new at JSP and im not really good at it. but im trying. ^^
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,768
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 493
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: problem

 
0
  #5
Aug 22nd, 2008
Without any exception messages / stack traces or logs it would be difficult for us to help you out.
I don't accept change; I don't deserve to live.

Sacrifice is a painful, pure and beautiful thing.

Dammit, Jones, What the Hell Are Knoll Pointers?!
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 8
Reputation: anonymous_cutie is an unknown quantity at this point 
Solved Threads: 0
anonymous_cutie anonymous_cutie is offline Offline
Newbie Poster

Re: problem

 
0
  #6
Aug 23rd, 2008
~s.o.s~: thank you for reminding me of the exception messages. i remembered the tomcat5.exe thingy. i used it to view the exceptions and errors. i solved it already! thank you so much!!!
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JSP Forum


Views: 768 | Replies: 5
Thread Tools Search this Thread



Tag cloud for JSP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC