• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

frustrated with Jboss 3.0.1, tomcat 4.0.4

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try to deploy petstore 1.1.2 to jboss3.0, always get exception from servelt container, when reading file by URL from ServletContext().getResource()
String url = getServletContext().getResource("/WEB-INF/xml/requestmappings.xml").toString();
It will append jndi to the path, like url = �jndi:/localhost/WEB-INF/xml/requestmappings.xml�
This url will cause URL exception that �jndi� is not recognized,
: java.net.MalformedURLException: unknown protocol: jndi,
I try to code �http:� or �ftp:� to get around with this, net connection been refused.
I have no clue,
please help
bill
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic