A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Products
»
JBoss
Author
Integrating Jett6 with Jboss
Jeff Shoemaker
Greenhorn
Joined: Mar 15, 2007
Posts: 1
posted
Mar 15, 2007 15:04:00
0
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>
<Arg>/</Arg>
<Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/etc/webdefault.xml</Set>
<Set name="VirtualHosts">
<Array type=" java.lang.String">
<Item>xxxxxxx.com</Item>
</Array>
</Set>
</New>
When starting jboss it can't find <SystemProperty name=" jetty.home"/>. gets null. It also can't find my datasource:
<New id="mysqlds" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>jdbc/mysqlds</Arg>
<Arg>
<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>
</New>
</Arg>
</New>
Thank you,
Jeff
Mark Spritzler
ranger
Sheriff
Joined: Feb 05, 2001
Posts: 17231
1
I like...
posted
Mar 15, 2007 20:02:00
0
I am moving this to the JBoss forum
Mark
Perfect World Programming, LLC
-
Two Laptop Bag
-
Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Integrating Jett6 with Jboss
Similar Threads
Jetty --> giving a context a name...
settings ?
MD5 and Jetty webserver security?
JBoss 3.2.x, MySQL and Connection Pooling Question
Hello world not working on Jetty server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter