Posts

Showing posts from May, 2004
I don't know if it's a glitch but there seems to exist some problem in running the Tomcat administration tool with NetBeans 3.6. Anyhow, there are things you should know. The password for the managing is generated randomly on start and it's written in your home directory, under WindowsXP it's \\Documents and Settings\Your account name\ .netbeans\ 3.6\ jakarta-tomcat-5.0.19_base\ conf\ tomcat-users.xml I don't know why, but I was getting strange error messages not letting me display the administration util so I compared the same file with the one shipping with the stand alone Tomcat and as it was missing the admin role, I added it <role rolename="admin"/> <user username="admin" password="your_password" roles="admin,manager"/> Works fine now...

Quick HOWTO to set up a MSSQL 2000 Datasource in Tomcat

This is a small HOWTO that will help you get a DataSource with the MSSQL 2000 database using the official MS JDBC drivers and the Tomcat container. 1. Copy the files: msutil.jar mssqlserver.jar and msbase.jar to a directory that will be visible to your java environment; A good one would be the_path_to_your_SDK/jre/lib/ext/ It might be good idea to put them in the containers libs as well and your web application lib folder... you never know :) Just remember to keep all of them in sync. 2. Log into your Tomcat administration utility (probably http://localhost:8080/admin/) and log in. 3. Go to Service > Host > your_web_app_context 4. Go to Data Sources and create a new data source setting these parameters: JNDI Name: jdbc/mssql Data Source URL: jdbc:microsoft:sqlserver://localhost:1433;databaseName=db_name JDBC Driver Class: com.microsoft.jdbc.sqlserver.SQLServerDriver then fill the user name and password fields. I don't know yet how to determine what are the best connection set...
Things are going on, my girlfriend was on TV, Google enabled comments and rewamped the look and feel of Blogger, I'm trying to make things work for my project. Busy busy busy...
Mono went out with beta1, looks good and monodevelop 0.3 seems more stable. I do have problems compiling mono-debugger 0.7 though. :(
As I'm left alone I am coerced to do some cooking in-house. I spent some quality time on the market the other day so today I'm ready to dispense this recipe upon the world that is commonly known in Italy as "pasta con broccoli e panna", pasta with broccoli and cream. You need one Teflon-pan (the big ones) and a large pot for the broccoli and the pasta. Fill the pan with water and bring it to the boiling point. Add a bit salt and throw the broccoli washed and chopped off the thick parts. This is the critical part, I'm not sure about timing but you should check it out every now and then to see if it's soft enough, don't take it out too soon because it might be hard to make the sauce if its too hard. My estimate is it has to be at least 20 minutes but I didn't time it. Once taken out put new water to boil for the pasta. In the meantime you should be making the sauce. At first put some olive oil, and chop some onion in it and leave it on fire until it ge...