• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

JBoss again...

 
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 411
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is Jetty a product of JBoss?
Thanx,
Jamal Hasanov
 
Jamal Hasanov
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found it-
Jetty is a product of Mortbay
Jamal Hasanov
www.j-think.com
 
Jamal Hasanov
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Jamal Hasanov
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Steven Wong
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Best I could search.
http://prdownloads.sourceforge.net/jboss/JBoss.3.0QuickStart.pdf?download

Clement
 
Jamal Hasanov
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 411
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 ]
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Let's go to the waterfront with this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic