Hi all.
 
jBoss 2.0 Final, Win NT 4 SP6
 
 
Im not sure how I managed to make this happen. But while setting up JBuilder 4 to run jBoss, (several run attemps with exceptions etc...).   I ended up with a corrupt jboss.jcml.
 
Note the Database connection pool settings have all been hosed... url = null, user=null etc.....
It would be nice for usability to NOT write, null fields back to this file.
hmm.  URL is null therefore throw someInternalErrorException perhaps?.
 
 
 
Corrupted jboss.jcml.
<?xml version="1.0"?>
 
<server>
     <mbean name="Adaptor:name=html">
       <attribute name="MaxActiveClientCount">10</attribute>
       <attribute name="Parser" />
       <attribute name="Port">8082</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=MLet">
       <attribute name="LibraryDirectory">C:\jboss_tomcat\jboss-2.0-FINAL\bin</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=TransactionManager">
       <attribute name="TransactionTimeout">300</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=Logging,type=Console">
       <attribute name="Format">[{2}] {4}</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=Webserver">
       <attribute name="Port">8083</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=Logging,type=File">
       <attribute name="LogName">server</attribute>
       <attribute name="Format">[{2}] {4}</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=XADataSource,name=ContactCenterDS">
       <attribute name="GCMinIdleTime">1200000</attribute>
       <attribute name="JDBCUser" />
       <attribute name="MaxSize">0</attribute>
       <attribute name="Password" />
       <attribute name="URL" />
       <attribute name="GCEnabled">false</attribute>
       <attribute name="InvalidateOnError">false</attribute>
       <attribute name="TimestampUsed">false</attribute>
       <attribute name="Blocking">true</attribute>
       <attribute name="GCInterval">120000</attribute>
       <attribute name="IdleTimeout">1800000</attribute>
       <attribute name="IdleTimeoutEnabled">false</attribute>
       <attribute name="LoggingEnabled">false</attribute>
       <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
       <attribute name="MinSize">0</attribute>
       <attribute name="Properties"></attribute>
     </mbean>
     <mbean name="DefaultDomain:service=Hypersonic">
       <attribute name="Port">1476</attribute>
       <attribute name="Trace">false</attribute>
       <attribute name="Database">default</attribute>
       <attribute name="Silent">true</attribute>
     </mbean>
     <mbean name="DefaultDomain:service=XADataSource,name=DefaultDS">
       <attribute name="GCMinIdleTime">1200000</attribute>
       <attribute name="JDBCUser" />
       <attribute name="MaxSize">0</attribute>
       <attribute name="Password" />
       <attribute name="URL" />
       <attribute name="GCEnabled">false</attribute>
       <attribute name="InvalidateOnError">false</attribute>
       <attribute name="TimestampUsed">false</attribute>
       <attribute name="Blocking">true</attribute>
       <attribute name="GCInterval">120000</attribute>
       <attribute name="IdleTimeout">1800000</attribute>
       <attribute name="IdleTimeoutEnabled">false</attribute>
       <attribute name="LoggingEnabled">false</attribute>
       <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
       <attribute name="MinSize">0</attribute>
       <attribute name="Properties"></attribute>
     </mbean>
     <mbean name="EJB:service=ContainerFactory">
       <attribute name="VerifyDeployments">true</attribute>
       <attribute name="MetricsEnabled">false</attribute>
       <attribute name="VerifierVerbose">true</attribute>
     </mbean>
   </server>
 
 

Reply via email to