aspose file tools *
The moose likes JBoss/WildFly and the fly likes JBoss 3.2.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss 3.2.1" Watch "JBoss 3.2.1" New topic
Author

JBoss 3.2.1

shishir gupta
Greenhorn

Joined: Apr 30, 2004
Posts: 28
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.
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
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.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
shishir gupta
Greenhorn

Joined: Apr 30, 2004
Posts: 28
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.
emm raha
Ranch Hand

Joined: Mar 18, 2003
Posts: 57
Hi Shishir:
About your JBoss problems - I had problems deploying JSPs on JBoss. The thread is here: http://www.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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss 3.2.1