• 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
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

JBoss 3.2.1

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am new to JBoss. I have installed JBoss 3.2.1. I want to run my servlets and jsp in JBoss. please guide me how to do it. I mean is there any classpath to be set? It's urgent. pl help me. I have read the documentation but unable to solve the problem.
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What exactly is the problem that you are having? Deploying web applications in JBoss is no different from doing so in Tomcat or any other web container that will deploy a WAR.
 
shishir gupta
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Actually I have worked on tomcat 3.2 and there are some problems which i am facing in deploying my servlets, jsp. I do not know where to save my servlets. I save .jsp files in webapps/examples/jsp folder. I have the latest version of tomcat 5.0.19 but it does not work. do we need to set any class path? I have already set JAVA_HOME. Whenever I try to run tomcat 5.0.19 I get the following message :
D:\tomcat\jakarta-tomcat-5.0.19\bin>startup
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME: d:\jdk1.4
D:\tomcat\jakarta-tomcat-5.0.19\bin>
Please guide me as I stuck in this problem from past 6-7 days and i really want to get out of this problem.
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Shishir:
About your JBoss problems - I had problems deploying JSPs on JBoss. The thread is here: https://coderanch.com/t/88832/JBoss/deploying-jsp If you scroll to the 3rd from the bottom posting, you'll see some of the erros I was getting. It turned out that the import statements weren't working (e.g. import java.sql.*, java.util.* etc.), so wherever I was using those packages, I used the absolute class reference (instead of relative references e.g. java.util.Enumeration vs. Enumeration). I also placed the jsp in a directory named 'directoryname.war' (vs. 'directoryname') at J:\jboss-3.0.7\server\default\deploy\directoryname.war. This worked for me.
As for your tomcat installation - You should have CATALINA_HOME set to where you've installed tomcat. And you should also include %CATALINA_HOME%/bin in your classpath.
Hope one of those works for you...
 
Evil is afoot. But this tiny ad is just an ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic