Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!

Hashim siddiqui

Greenhorn
+ Follow
since Mar 15, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Hashim siddiqui

�MS SQL Server Database Configuration for JBoss 4.0
1

To configure JBoss 4.0 with MS SQL Server database, MS SQL Server driver classes are required in the Classpath.Copy MS SQL Server JDBC driver class jar files mssqlserver.jar, msbase.jar, msutil.jar to the server/default/lib dir.
2
To configure with non-xa MS SQL Server datasource copy /docs/examples/jca/mssql-ds.xml to /server/default/deploy dir.
To configure with MS SQL Server XA datasource copy /docs/examples/jca/mssql-xa-ds.xml to /server/default/deploy dir.
3
Modify mssql-ds.xml configuration file.
Driver Class and Connection URL settings for MS SQL Server JDBC Drivers
1.Driver Class: com.microsoft.jdbc.sqlserver.SQLServerDriver
2.Connection URL:jdbc:microsoft:sqlserver://localhost:1433;
3.DatabaseName=MyDatabase

To configure with XA JDBC driver for MS SQL Server modify the mssql-xa-ds.xml configuration file.
Driver Class: com.microsoft.jdbcx.sqlserver.SQLServerDataSource



4
The standardjaws.xml file is configured with Hypersonic database by default.
To configure JBoss server with MS SQL Server database modify /server/default/conf/standardjaws.xml configuration file.
Set <datasource> and <type-mapping> elements.
<jaws>
<datasource>java:/MSSQLDS</datasource
<type-mapping>MS SQLSERVER2000</type-mapping>
</jaws>

5
The standardjbosscmp-jdbc.xml configuration file is configured with Hypersonic database.
To configure JBoss server with MS SQL Server modify /server/default/conf/standardjbosscmp-jdbc.xml configuration file.
Set the <datasource> and <datasource-mapping> elements.
<jbosscmp-jdbc>
<defaults>
<datasource>java:/MSSQLDS</datasource>
<datasource-mapping>MS SQLSERVER2000</datasource-mapping>
</defaults>
</jbosscmp-jdbc>



6
Modify login-config.xml configuration file with MS SQL Server database settings.
Add the following <application-policy/> element to login-config.xml.
<application-policy name = "MSSQLDbRealm">
<authentication>
<login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required"> <module-option name = "principal">sa</module-option>
<module-option name = "userName">sa</module-option>
<module-option name = "password"></module-option>
<module-option name ="managedConnectionFactoryName">
jboss.jca:service=LocalTxCM,name=MSSQLDS
</module-option>
</login-module>
</authentication>
</application-policy>

By modifying the
1.mssql-ds.xml
2.standardjaws.xml
3.standardjbosscmp-jdbc.xml
4.and login-config.xml
the JBoss 4.0 server is configured to be used with a MS SQL Server database.















Login Failed for User 'BanManProSQL', Not Associated with a trusted SQL Server Connection.
Is using SQL 2000, you might get the following error:
Microsoft OLE DB Provider for SQL Server error '80004005'
Login failed for user 'BanManProSQL'. Reason: Not associated with a trusted SQL Server connection.
/dbconnect.asp, line 19
This error occurs because by default SQL 2000 does not support SQL Server authentication and supports only Windows authentication. To overcome this limitation:
1.Enter SQL Enterprise Manager.
2.Find your server name in the tree on the left.
3.Right mouse click on the server name and select properties.
4.Click the Security folder. You should now see the screen below with "Windows Only" set as the default authentication.

5.Check SQL Server and Windows as the Authentication.

6.Click OK.
7.Click Yes to restart SQL.
16 years ago
Does anyone know toolkit to change RGB colorspace images to CMYK
17 years ago
Hi ranchers!
Free mock I prmised is now available but it is of only 69 questions I will upload more as soon as I get them ready.
thanks for your patience.
www.j2mecertification.com
Hi Mark!
I am really sorry about it but I had no intention to do that and I never replied to my own topic because the Questions were not ready and as they are now I need some more days to to make few changes.
But now I have decided to present it as it is.
Here is the direct link
www.j2mecertification.com

I hope you will send me feedback on my mock exam and encourage me in future.
It is 18th of July here in London.

Thank you

Siddiqui
Hi All
sorry for your patience 69 mock Questions set is now ready and I will inform you next week after uploading.
Please encourage me by recommending url to others.

If you have any other suggestions for mock please email me at siddiquihahsim@hotmail.com

regards,
siddiqui
Hi!
i want to write server side code that will invoke the j2me application on my mobile 6600. The application is expecting a socket connection at a fixed port lets say 5555.
My question is what will hte exact url from server to invoket the application on mobile.
my mobile no is 07774013218 and the country code is 44.
could any one please tell me the exact string to be used for this socket connection.
Thanks in advance.

truly,
siddiqui
www.devmobile.net
17 years ago
Hi!
You are probably asking about max jar file size the max size limits depends on network provider i.e. your mobile company nothing is in specs as far as i know.
17 years ago
Hi XiaoXi!
Not yet... actually i wrote them the same week but trapped in other office stuff and etc. I m sorry for that but will inform the forum after uploading
regards,
sid
Hi!
just received everything in post a pin, card and a certificate. does anyone know from where i can get the logo's image file to put on my cv
Hi!
from where i can get the logo (image file)for SCMAD

Originally posted by Vivek Viswanathan:
I just got my mark sheet from prometric, I am still waiting for the Certificate and the pin etc.
I got 77%
Any one else who is from London, UK with SCMAD ?


Yes, i m from london got 73% and still waiting for pin and extra
does any one knows about any project written in java like Hurrican http://www.projecthurricane.net/
which is open source as well.
kindly please reply in urgent.
regards,
siddiqui
does any one knows about any project written in java like Hurrican http://www.projecthurricane.net/
which is open source as well.
kindly please reply in urgent.
regards,
siddiqui
Passed SCMAD thanx to everyone on javaranch
Just passed the exam SCMAD ...attempted with a short notice of a week