• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Symbolic link - Unable to find class for bean

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to setup my first symbolic link and am running into problems.
I have created a link using the "ln -s" command and tested it using a standalone JSP, it works fine. When I use a JSP with references to other classes, that's when I get a "Unable to find class for bean" error. I have created a directory to store the packged classes, so that the package.method reference can be satisfied. Any ideas what the problem(s) could be? Do I need to make any configuration changes to the httpd.conf or elsewhere? I have added the destination directory to the "PATH" in the .profile, but it still did not help. Any suggestions would be appreciated. Thanks. :roll:
 
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Need more info. Please give us a sketch of your direcory trees.
Also exactly what 'ln -s' command you issued.
Check the system logs for more information, as well as 'catalina.out'.
This could be a 'permission' problem.
Regards, Guy
 
Ratan Tadiparthi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guy, Thanks for the reply. The file permissions were fine. Had to set the classpath in jserv.properties and bounce the server. That took care of it.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you teach me how to set classpath in the jserv.properties?
Thanks in advance.
 
Eat that pie! EAT IT! Now read this tiny ad. READ IT!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic