Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > jBoss

jBoss
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2001
Location: brooklyn, ny
Status: Offline
Reply With Quote
Mar 21, 2002, 11:01 PM
 
Ok, I've seen people mention that jBoss runs great on Mac OS X So I downloaded and installed it and it seems to run fine. Now can anyone point me to some info on getting jsp/servlets in Tomcat on the same Mac to talk to the EJB container? I've read through the documentation on the jBoss site and have an idea what's going on but I'm still looking for additional info to help me get over this learning curve.
Thanks.
     
Dedicated MacNNer
Join Date: Aug 1999
Status: Offline
Reply With Quote
Mar 22, 2002, 12:16 PM
 
Okay...

What version of JBoss did you grab? This will dramatically alter the answer to your question...

Personally, I would get the JBoss3 beta and use Jetty for the Web server (built in) over Tomcat. Tomcat is not a great piece of software.

What did you deploy? An EAR? Or an ejb-jar and WAR? It's better to have them packaged in an EAR if you want them to talk.

Did your package deploy properly? How do you have your beans bound in JNDI? Did you add a jboss.xml file in the ejb-jar?

Entity or Session beans? If the former, CMP or BMP? If CMP, 1.x or 2.x?
     
Dedicated MacNNer
Join Date: Aug 1999
Status: Offline
Reply With Quote
Mar 22, 2002, 12:19 PM
 
Oh yeah...

I saw in your other post that you're using mySQL. If you plan on using entity beans, I would suggest switching to PostgreSQL. mySQL support for transactions suck, and it's SQL parser is somewhat non-standard. You'll have an easier time on postgres if using EJBs...

Now, perhaps you're trying to start Tomcat seperately from JBoss? While possible, this is just not worth doing. It's really slow... You should use the integrated bundle, either JBoss+Tomcat or JBoss+Jetty.

Still, I would say JBoss3 beta which has Jetty built in... There will be a JBoss3+Tomcat release when JBoss3 goes final next month, but Jetty is so much better anyway.
     
Fresh-Faced Recruit
Join Date: Apr 2001
Location: brooklyn, ny
Status: Offline
Reply With Quote
Mar 22, 2002, 11:30 PM
 
Madbrowser,

Thank you for your posts. They are incredibly helpful. I got JBoss 2.4.4 and yes, was trying to run tomcat outside it. I will grab JBoss 3 and run it with Jetty.

And that's interesting about the PostGreSQL/MySql distinction. I'll have to keep that in mind.
Thanks again.

[ 03-23-2002: Message edited by: brooklyn_mac_guy ]
     
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Mar 27, 2002, 05:45 PM
 
Grab the Jboss with integrated tomcat!
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
Fresh-Faced Recruit
Join Date: Jan 2002
Location: Boston
Status: Offline
Reply With Quote
Mar 29, 2002, 06:38 PM
 
At my last company we used JBoss with Jetty in a production environment (one of my colleagues has since become the main JBoss developer for 3.0's clustering). I highly recommend this combination. One little bugaboo to correct: in the jetty.xml config file it has something like:

<Call name="addServlet">
<Arg>JSP</Arg>
<Arg>*.jsp, *.JSP, *.jSp, *.jsP</Arg>
<Arg>org.apache.jasper.servlet.JspSe rvlet</Arg>
</Call>

It screws it up so ditch all but "jsp":
<Call name="addServlet">
<Arg>JSP</Arg>
<Arg>*.jsp</Arg>
<Arg>org.apache.jasper.servlet.JspSe rvlet</Arg>
</Call>

Jamie Orchard-Hays
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:23 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2