aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes JBoss again... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JBoss again..." Watch "JBoss again..." New topic
Author

JBoss again...

Jamal Hasanov
Ranch Hand

Joined: Jan 08, 2002
Posts: 411
Hi, all
What's a difference between
JBoss3.0 + Jetty and JBoss3.0+Tomcat4 ?
I don't know what's Jetty...
BTW, Where JBoss3.0 deploys servlets? In 2.4 version it does Tomcat.
WHich is better?
Thanx a lot.
Jamal Hasanov
www.j-think.com
Rick Salsa
Ranch Hand

Joined: Jul 17, 2001
Posts: 173
Originally posted by Jamal Hasanov:

What's a difference between
JBoss3.0 + Jetty and JBoss3.0+Tomcat4 ?
I don't know what's Jetty...

Jetty is an open source servlet container that JBoss uses to provide support for Servlet's and JSP's. The difference is one uses Tomcat (the reference implemetation for Servlets and jsp's), the other uses Jetty.
Originally posted by Jamal Hasanov:

BTW, Where JBoss3.0 deploys servlets?

JBoss 3.0 is now final, so there are 3 places you can actually deploy your applications to. First off, look in:
JBOSS_HOME/server
You'll notice 3 folders. All, default and minimal. Inside each, you'll find a deploy folder. Just drop your .war or .ear file in one of those dirs and it will auto-deploy it for you.
By default, JBoss will start up using the default configuration. The difference between them is what services JBoss will start.
Originally posted by Jamal Hasanov:

WHich is better?

Jetty is a better choice. It's a full HTTP server as well that supports SSL, etc. It much quicker at serving plain old html pages than Tomcat. If you use it with JDK1.4, it will use the new non-blocking I/O which results in more speed improvements.
HTH,
/rick
Jamal Hasanov
Ranch Hand

Joined: Jan 08, 2002
Posts: 411
Is Jetty a product of JBoss?
Thanx,
Jamal Hasanov
Jamal Hasanov
Ranch Hand

Joined: Jan 08, 2002
Posts: 411
I found it-
Jetty is a product of Mortbay
Jamal Hasanov
www.j-think.com
Jamal Hasanov
Ranch Hand

Joined: Jan 08, 2002
Posts: 411
Rick,
where can I find JBoss 3.0 config focumentation? (about 3 deploy dirs, other new features) I couldn't find it in WWW.JBOSS.ORG
Thanx a lot,
Jamal Hasanov
www.j-think.com
Steven Wong
Ranch Hand

Joined: Mar 07, 2002
Posts: 295
Jamal,
You need to purchase the documentation. It's no more free.
I believe the full documentation for JBoss 3 is not out yet. Also, it's based on per-year subscription fee. You can check out more from www.jboss.org.
Well, if you do come across any useful documentation on JBoss 3, please let me know.
Clement


best regards,<br />Steven<br />SCJP, SCEA
Jamal Hasanov
Ranch Hand

Joined: Jan 08, 2002
Posts: 411
Clement,
They're selling 2.4 version's documentation.(I've already bought it and it doesn't include 3.0 configuration)
BTW, I don't like JBoss' documentations - they're not clear enough to me.
Jamal Hasanov
www.j-think.com
Guoqiao Sun
Ranch Hand

Joined: Jul 18, 2001
Posts: 317
The documentation for jboss is no more free now, can we expect jboss keeps to be free for us to use later time?
Will it be slowly transformmed into a fully charged software?
regards,
guoqiao
[ June 07, 2002: Message edited by: Guoqiao Sun ]

Guoqiao Sun<br />SCJP2 SCWCD2<br />Creator of <a href="http://www.jiris.com/" target="_blank" rel="nofollow">www.jiris.com</a>, Java resource, mock exam, forum
Steven Wong
Ranch Hand

Joined: Mar 07, 2002
Posts: 295
Well, luckily I haven't bought it yet.
Anyway, I'm having a lot of difficulties porting my previous J2EE application in JBoss2.4 to the new JBoss3.
Part of my problem is also regarding the packaging. My utility JAR cannot seem to communicate with my EJB Jar classes. I'm getting a ClassNotFoundException. I've tried to separate the jars and war from the main ear file, but to no avail.
Any suggestions?
Clement
Steven Wong
Ranch Hand

Joined: Mar 07, 2002
Posts: 295
Best I could search.
http://prdownloads.sourceforge.net/jboss/JBoss.3.0QuickStart.pdf?download

Clement
Jamal Hasanov
Ranch Hand

Joined: Jan 08, 2002
Posts: 411
2.4 version of JBoss was very easier than 3.0 to use.
I don't understan why they did this version too complicated...
Jamal Hasanov
www.j-think.com
Rick Salsa
Ranch Hand

Joined: Jul 17, 2001
Posts: 173
Your best bet is the quick start guide. The pay for documentation is for things like Clustering, etc., the advanced features.
JBoss 3.0 has a lot of new features that weren't available in the 2.x versions... JBoss 2.x is EJB 1.1 compliant, while JBoss 3.0 is EJB 2.0 compliant. A lot of new features to implement, therefore more to learn about in relation to configuring.... Actually, I find the new versions easier to configure, no need to worry about jaws.xml .....
Going over the quick start guide should get you up and running....
/rick
Jamal Hasanov
Ranch Hand

Joined: Jan 08, 2002
Posts: 411
Thanks Rick,
But start guide doesn't include everything...(for example how to add Oracle DS)
Jamal Hasanov
www.j-think.com
Rick Salsa
Ranch Hand

Joined: Jul 17, 2001
Posts: 173
Originally posted by Jamal Hasanov:
Thanks Rick,
But start guide doesn't include everything...(for example how to add Oracle DS)

Take a look in JBOSS_HOME\docs\examples\jca In there, you should find a file called oracle-service.xml. That is what to need to add an Oracle DS. You can pretty much use that, you'll need to change some of the values to match yours. Then, drop your copy into JBOSS_HOME\server\default\deploy. That should do it.
HTH,
/rick
[ June 10, 2002: Message edited by: Rick Salsa ]
Ae Wei Liann
Greenhorn

Joined: Jun 13, 2002
Posts: 1
I can't even get the combination to serve a .jsp file. Regardless of the URL that I try, I only get a No Context configured to process this request error from tomcat and INFO [Engine] StandardHost[localhost]: MAPPING configuration error for request URI from JBoss. I've tried to access all of the various webapps under the catalina directory and can't access any of them. I know that catalina is started because the log file shows
<Service name="JBoss-Tomcat">
<Engine name="MainEngine" defaultHost="localhost">
<Logger className="org.jboss.web.catalina.Log4jLogger" verbosityLevel="trace" category="org.jboss.web.localhost.Engine" />
<Host name="localhost">
<Valve className="org.apache.catalina.valves.AccessLogValve" prefix="localhost_access" suffix=".log" pattern="common" directory="../server/default/log" />
<DefaultContext cookies="true" crossContext="true" override="true" />
</Host>
</Engine>
<!-- A HTTP Connector on port 8080 -->
<Connector className="org.apache.catalina.connector.http.HttpConnector" port="8080" minProcessors="3" maxProcessors="10" enableLookups="true" acceptCount="10" debug="0" connectionTimeout="60000" />
</Service>
</Server> in jboss.web:service=EmbeddedCatalinaSX
2002-06-12 23:29:44,760 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Creating
2002-06-12 23:29:44,760 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Created
2002-06-12 23:29:44,760 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying tomcat4-service.xml
2002-06-12 23:29:44,760 DEBUG [org.jboss.deployment.MainDeployer] start step for deployment file:/D:/JBoss3.0/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/tomcat4-service.xml
2002-06-12 23:29:44,760 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, start step: url file:/D:/JBoss3.0/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/tomcat4-service.xml
2002-06-12 23:29:44,760 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Starting
2002-06-12 23:29:44,760 INFO [org.jboss.deployment.MainDeployer] Adding deployer: org.jboss.web.catalina.EmbeddedCatalinaServiceSX@7dadcd
2002-06-12 23:29:44,760 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Setting catalina debug level to: 0
2002-06-12 23:29:44,760 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Setting catalina.home to: ../catalina
2002-06-12 23:29:44,760 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Setting catalina.base to: ../catalina

with no errors. I'm confused because I was able to consistently work with previous versions of JBoss with no problem. The configuration seems to have changed radically with little documentation, is this usable anymore? Thanks for any help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss again...