 |
 |
jBoss
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Apr 2001
Location: brooklyn, ny
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|