Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Can Anyone HELP me URGENT!!!

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i not sure what happen.....
i got this code when i try to postreply.....



hope anyone 1 can help me.....soon
THX
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the message the system give was

java.lang.reflect.InvocationTargetException: javax/activation/DataSource
[code]
[originally posted on jforum.net by Anonymous]

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which Java version are you using?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jdk 1.4.2
with mysql version 4
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, do you have mail.jar and activation.jar at WEB-IN/lib ?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes there is the activation and mail jar file.....
an i have already define it in the classpath.......
still can work...
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmm.. can you post the complete stack trace? are you using tomcat? which version?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no stack have been produce in log or any where...
it jut give me this



yeah i using the latest tomcat......
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you get the error, open the page's source code and go to the end of the file.. there you'll find the stack trace ;)

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok i found it......


really thx for reply me so fast....
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's strange... if you really have activation.jar into web-inf/lib, it should't trhow this exception...

For instance, check if into tomcat's common / shared lib dir there isn't already an activation.jar there.. if so, try removing it OR removing the file from jforum's web-inf/lib .. sometimes it can cause problems..

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can't work....
1st i have check my tomcat/common/lib
and there is no activation.jar file or mail.jar.....
and i have try to copy another copy into it and run again still can work

then i try to remove the jar file in the jforum/lib and vise-versa way
but still can work also.....

oh ya each i change i have make the changes to the classpath as well....but still can't work.....
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I really don't know what is happening. :?

If this error was happening to me, I would try first remove the jforum dir and unzip it again. If not, then I would try removing jforum and tomcat, and reinstalling all.

Btw, there is no need to configure the CLASSPATH, since web application automatically loads all .jar files that are into the directory WEB-INF/lib or each application.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
:arrow: hei thx Rafael Steil......

i not sure what happen i did not reinstall anything or do any changes to the file....
at first i almost give up....
but today when i try again for the last time it WORK!!!

caz first i though is my pc problem and then i am a computing degree and my degree project due date is near and my degree is involve with web development with JSP.....so at first i scare to touch the tomcat scare of effect my JSP file.....

oh ya...the web project i doing have a module which is forum and my supervisor tell me to adopt a prebuild or third party forum and don't build the forum from scratch.....

so i have spend a few day searching for a best and free forum.....
and at last i found that the forum you build is powerful and nice too!
so i am so happy now......

oh ya...i will remember to put you name in my documentation....

:arrow: anyway THX




[originally posted on jforum.net by Anonymous]
 
This is my favorite tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic