File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Integrating Jett6 with Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Integrating Jett6 with Jboss" Watch "Integrating Jett6 with Jboss" New topic

Integrating Jett6 with Jboss

Jeff Shoemaker

Joined: Mar 15, 2007
Posts: 1
I've built the jboss jetty sar file from $jetty.home/extras/jboss and copied it into the jboss deploy directory, but I can't figure out is how to get my jetty virtual hosts configurations into jboss. This does not work in the jboss-service.xml

<New id="myWebAppContext" class=" org.mortbay.jetty.webapp.WebAppContext">
<Arg><Ref id="Contexts"/></Arg>
<Arg><SystemProperty name="jetty.home"/>/webapps/root.war</Arg>
<Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/etc/webdefault.xml</Set>
<Set name="VirtualHosts">
<Array type=" java.lang.String">

When starting jboss it can't find <SystemProperty name=" jetty.home"/>. gets null. It also can't find my datasource:

<New id="mysqlds" class="">
<New class="org.apache.commons.dbcp.BasicDataSource">
<Set name="url">jdbc:mysql://localhost/mysql</Set>
<Set name="driverClassName"> com.mysql.jdbc.Driver</Set>
<Set name="username">xxxxx</Set>
<Set name="password">xxxxx</Set>
<Set name="maxActive">10</Set>
<Set name="poolPreparedStatements">true</Set>
<Set name="maxIdle">30</Set>
<Set name="maxWait">10000</Set>
<Set name="removeAbandoned">true</Set>

Thank you,

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

I am moving this to the JBoss forum


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Integrating Jett6 with Jboss
It's not a secret anymore!