June 27, 2008
Ok this is quite obscure so I’m sure that it will help someone.
We had a couple of Sun Application servers that we would start by logging into terminal services and starting the server manually (it was just the way they were set up).
Upon logging off of terminal services, the glassfish server would crash (obviously if you just close the terminal server session you are still running it and that was fine).
Solution:
Uninstall the glassfish/sunapp server and reinstall, make sure you check the box that says “Run as windows service.” and then the system won’t have a problem, however DO NOT use the start menu to stop and start the app server, use the administrative tools/services programme.
No Comments » |
Uncategorized | Tagged: glassfish, sun application server 9, software, crashing |
Permalink
Posted by pncblessed
June 16, 2008
Right
I’m just starting a HUGE project which has a SQL sever 2000 database at the back. So I configured up the SQL database and couldn’t see any tables…
The problem?
I needed to select the dbo schema not the name of the database. So your settings should be like this:-
Connection String: jdbc:sqlserver://192.168.100.11:1433;databaseName=(database name)
Schema (this is the important bit) : dbo
For some reason I mistook the Schema for the DATABASE NAME which in NB is a completely different thing.
I also tried the jtds driver and decided to use that - it’s open source and provides even faster connection.
Note that ODBC is old hat now and you should not use it as it’s really slow and probably ends up using the same sort of code you would use directly but with extra layers.
2 Comments |
Uncategorized | Tagged: can't see talbes, netbeans 6.1, schema, sql server |
Permalink
Posted by pncblessed
June 4, 2008
Ok, I’ve just installed the latest patch upgrades to Netbeans 6.1 and it seams that checkboxes bound to boolean fields in MYSQL databases now work (WOOHOO!)
Just map the “SELECTED” property to the database field and make sure selected value is not set to anything (could be set to true if you like).
It also seems to be much faster with the compiled code for java server faces which is a big help.
I am marking bug:-
http://www.netbeans.org/issues/show_bug.cgi?id=132885
As resloved
No Comments » |
Uncategorized |
Permalink
Posted by pncblessed
June 3, 2008
I am nominated for the NB board of governance, please do vote if you are a NB user.
http://www.netbeans.org/community/articles/nbelections.html
Please do read through the profiles first and then vote for the person you think is going to make the right decisions etc. (I’m Paul Clevett BTW).
This is not one of those elections where I’m going to raise a “VOTE FOR ME” and start some huge election campaign. I just think that we should together vote for the people who will give the best to the community and there are some great people there. That is your judgement! Enjoy!
..and a short note that I didn’t post last week as I was on Holiday on the River with my boat so my NB playing was a bit limited. I am looking at bringing LISP into Netbeans at present probably using SBCL.
No Comments » |
Netbeans Events | Tagged: netbeans elections. |
Permalink
Posted by pncblessed