From: Guy R. <guy...@bb...> - 2001-03-26 18:44:18
|
In response to Scott's message below, I just downloaded the nightly snapshot of JBoss2.1 source, built it and tried to use it. I found the following problems (so far) on Windows 2000: (1) I couldn't build with the supplied build.bat file. I unzipped into c:\ and ran build.bat from c:\jboss\src\build. It told me it could not find relative file ..\..\ant.jar from directory c:\jboss. So I changed the following statement in build.bat: for %%i in (..\..\*.jar) do call lcp.bat %%i to for %%i in (c:\jboss\lib\*.jar) do call lcp.bat %%i (2) I then copied the dist directory to c:\JBoss2.1 and tried to start it. I was getting an exception on JBossMQ, something like "unable to locate file c:\JBoss2.1\db\jbossmq\transactions.dat. The jbossmq directory was not present, so I created it and then got past this problem. (3) I had the following in a previous (binary) distribution of 2.1 that I had downloaded from the web site, and it worked fine: <!-- Oracle devdb --> <mbean code="org.jboss.jdbc.XADataSourceLoader" name="DefaultDomain:service=XADataSource,name=OracleDB"> <attribute name="PoolName">OracleDB</attribute> <attribute name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp l</attribute> <attribute name="URL">jdbc:oracle:thin:@eurovan:1521:devdb</attribute> </mbean> <!-- <attribute name="JDBCUser">userid</attribute> --> <!-- <attribute name="Password">password</attribute> --> Note that userid and password are commented out. This let me specify the userid and password in the code, i.e., getConnection(userid, password). In the latest code, I get a NullPointerException with the above. Moving the userid and password into the mbean prevents this exception, but of course prevents me from specifying the userid and password at run time. (4) I the process of trying to figure out problem (3), I deleted the above entry from jboss.jcml entirely. To my suprise, I was still getting the exception starting OracleDB. I then deleted jboss-auto.jcml and restarted, and this time everything was okay. So apparently the jboss-auto.jcml file is not being updated to reflect the current contents of jboss.jcml. (5) AutoDeploy is still not working, i.e., it is still not executing a new version of a jar file I copy in. If I shut down JBoss and restart it, then I see the updated class. ----- Original Message ----- From: "Scott M Stark" <Sco...@di...> To: <jbo...@li...> Sent: Sunday, March 25, 2001 12:07 AM Subject: Re: [JBoss-user] Minimal JBoss config/Jbuilder debugging... > I don't see this behavior with the latest JBoss version. I just tried deploying > the tomcat-test.ear that ships with the tomcat contrib module and I was > able to deploy, update the session bean to return a different string, redeploy, > and see the updated output available from the HelloEJB servlet. The binary > I used is available from: > ftp://jboss.sourceforge.net/pub/jboss/jboss-tomcat-2.1-beta.zip > > ----- Original Message ----- > From: "Tim Taylor" <ttt...@cs...> > To: <jbo...@li...> > Sent: Saturday, March 24, 2001 11:12 AM > Subject: Re: [JBoss-user] Minimal JBoss config/Jbuilder debugging... > > > > > > Actually, I think the auto-deploy doesn't work -- at least for the > > simple stateless session beans I am using. You always get the old > > implementation, even after what appears to be a successful deployment. > > > > > > _______________________________________________ > JBoss-user mailing list > JBo...@li... > http://lists.sourceforge.net/lists/listinfo/jboss-user > |