• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Jboss 5.0 not able to connect to databse

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1)DBTest.jsp



error message




And I am using:
classes12.jar file as oracle driver(placed in jboss-5.0.0\server\default\lib folder)
Jboss 5.0 AS
oracle8i as Database (soon will be changing to 10g)
JDK 1.6

Could any one tell me why am I getting this error, when the same code works fine in jboss 4 AS.


thanks and regards



 
Shivaprasad P Kanaganahallimath
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ohh,
the problem is resolved after checking

www.jboss.org

and now it is displaying the user ID, but still I am not able to login to my application.

When i gave the correct login id and password (which is working in jboss 4.0), I am getting the following error





 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks like there is no request attribute named "Error". Fix your code to either supply such an attribute, or fix the JSP code to handle the possibility of no "Error" attribute. (Or better yet, get rid of the server-side script in your JSP and make use of tag libraries and the expression language instead.)
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ouch, I sure hope you don't normally put Java code into your .jsp files, and that this is only a test. But even with a test, I would never ever put Java code into a jsp page.

Mark
 
Shivaprasad P Kanaganahallimath
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey guys thanks for your help....

My friend has found out the solution for this problem, there was a jar file placed in multiple places.
So that guy was creating all the trouble to my application from running.

Jboss 5 is very strict with duplicate jar files and also the parsing.....

Currently all the features of my application are running ......



but i have some other doubts i ll come up with them in my next post.......
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic