• 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

JBOSS

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Can any body tell me how can i use jboss server 3.0.I new this server.I don`t know how to use ,and i want to know how to run simple servlet file using jboss
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
its the same procedure as with other web servers...
In jboss 3.0 - its a bundle of catalina servlet engine + jboss appserver. so, to run your servlet class
- create a 'classes' folder under 'jboss_home'\catalina\webapps\root\'classes'
- put your servlet classes under this folder.
- to initiate this from the browser, you can check the url as
for more info...[URL=http://www.apache.org]catalina related info
should be good resource...
hth!!
vijay
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Just done this, and now I am fighting with JBoss and JDBC, but that is another story...
If you just want to run servlets it is simpler to user the standrard JBoss 3 version that is bundled with Jetty instead of the one bundle with tomcat. Download, install, make your war-file and put it in the deploy directory and thats it.
Good luck
/Andreas
 
Graham Thorpe
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi vijay
I downloaded jboss3.0.So when i start this serverand wen i enter url like
http://localhost:8082 then showing the administration page .But i didn`t see in jboss direcroty as catalina direcoty. i saw only these five directories only.
1)bin
2)client
3)docs
4)lib
5)server
So i didn`t see catalina direcotry in this Jboss/
 
Graham Thorpe
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i downloaded another jboss server with tomcat successfully.but when i start catlaina server its showing error like this
"cant find the file "-Djava.dirs='(or one of its components).Make sure the path and filename are correct and that all required libraries are afailable".
What can i do now ....
 
vijay sinha
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
According to the errors displayed, its everything to do with the classpath settings. you can set it right by running the setclasspath.bat under catalina\bin dir..then run startup.bat file in the same folder...
Anyways...
If i read your message/requirement correctly, you want to use a 'webserver' for testing servlets/jsps...not a whole set of appserver+webserver bundle...if thats the case...try doing this...
download the tomcat(catalina is part of this - its a servlet engine) part from tomcat.apache.org site...
And run the startup.bat file available in %tomcat_home%\bin directory after the setting the classpath...
this should isolate the appserver related issues...
vijay
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic