database.driverClassName=com.mysql.jdbc.Driver database.url=jdbc:mysql://99.44.242.76:3306/james;create=true database.username=jason database.password=aliens01 vendorAdapter.database=MYSQL openjpa.streaming=false
Norman Maurer-4 wrote: > > please post your database.properties file > > bye > norman > > Am Donnerstag, 25. August 2011 schrieb jhamm <[email protected]>: >> >> Eric, >> I made sure that I installed beta 3 and I still can only access the > embedded >> Derby. When I try to point to another database(I have tried MySQL and >> Derby), james tries to access the database after running through a bunch > of >> errors closes. There errors are lengthy, but here is a .txt file with >> the >> whole thing. It is saying the driver class and URL are null. The >> database.properties file is exactly the same. >> >> Thanks again, >> Jason >> >> >> Eric Charles Apache wrote: >>> >>> mmh, I'm a bit confused. >>> Is your log here: http://old.nabble.com/file/p32334379/james-server.log >>> >>> If such, it is not a log from beta3... but from a previous version. >>> Which version are you using? >>> >>> Also, there is Cannot get IP address(es) for localhost which is no good >>> (localhost is 57877c1.availity.com the line before...) >>> >>> Thx. >>> >>> On 25/08/11 15:57, Eric Charles wrote: >>>> Hi, >>>> >>>> Your log is missing the important line >>>> 'Apache James Server is successfully started in ... milliseconds.' >>>> >>>> So for whatever reason, it seems to hang somewhere. >>>> The james-cli also hangs (it should answer e.g. adddomain command >>>> executed sucessfully in ... ms.). >>>> >>>> Does it also happen if you untar and run without changing any >>>> configuration? >>>> >>>> Which OS? Do you run as root? Are all requirements listed on >>>> http://james.apache.org/server/3/install.html fulfilled? >>>> >>>> Thx. >>>> >>>> >>>> On 25/08/11 15:51, jhamm wrote: >>>>> >>>>> Also I have read over the quickstart and through everything I could > find >>>>> online. >>>>> >>>>> >>>>> jhamm wrote: >>>>>> >>>>>> Yes it is the database.properties file, I apologize. Here is the >>>>>> james-server-log where I have started the James server and through >>>>>> the >>>>>> remote manager I have tried to add a single user. Logging in works > just >>>>>> like it is supposed to, but after I try the command adduser name >>>>>> password, >>>>>> the command line stalls and I can type nothing more. >>>>>> >>>>>> It was a lengthy log so I just attached the file. >>>>>> >>>>>> Thank you, >>>>>> Jason >>>>>> >>>>>> >>>>>> >>>>>> Eric Charles Apache wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> Thx for trying latest james beta release. >>>>>>> >>>>>>> You can read a quick start on >>>>>>> http://james.apache.org/server/3/quick-start.html >>>>>>> >>>>>>> I suppose you mean database.properties, not server.properties? >>>>>>> What do you mean with 'hang up'? Can you paste log file content? >>>>>>> >>>>>>> Cheers. >>>>>>> >>>>>>> On 25/08/11 12:10, jhamm wrote: >>>>>>>> >>>>>>>> I pasted the wrong server.properties file. Here is the one that I > was >>>>>>>> using. >>>>>>>> >>>>>>>> database.driverClassName=com.mysql.jdbc.Driver >>>>>>>> database.url=jdbc:mysql:localhost:3306/mail;create=true >>>>>>>> database.username=username >>>>>>>> database.password=password >>>>>>>> vendorAdapter.database=MYSQL >>>>>>>> openjpa.streaming=false >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> jhamm wrote: >>>>>>>>> >>>>>>>>> I need help setting up MySql on the backend of James. I change the >>>>>>>>> server.properties file to >>>>>>>>> >>>>>>>>> database.driverClassName=org.apache.derby.jdbc.EmbeddedDriver >>>>>>>>> database.url=jdbc:derby:../var/store/derby;create=true >>>>>>>>> database.username=app >>>>>>>>> database.password=app >>>>>>>>> vendorAdapter.database=DERBY >>>>>>>>> openjpa.streaming=false >>>>>>>>> >>>>>>>>> I also add the jar file to the conf/lib folder. The server starts > to >>>>>>>>> read >>>>>>>>> the MySql dictionary and then gets hung up. I have also tried the >>>>>>>>> same >>>>>>>>http://old.nabble.com/file/p32336738/errorsJames.txt errorsJames.txt >> -- >> View this message in context: > http://old.nabble.com/-ANNOUNCEMENT--Apache-James-3.0-beta3-Released-tp32317215p32336738.html >> Sent from the James - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > http://old.nabble.com/file/p32337204/database.properties database.properties -- View this message in context: http://old.nabble.com/-ANNOUNCEMENT--Apache-James-3.0-beta3-Released-tp32317215p32337204.html Sent from the James - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
