OrangeScape Developer Community

A community for Application Developers on OrangeScape's Platform-as-a-Service

August 2009 Blog Posts (6)

Applying CSS in Reports

Whenever we create a report we will apply some of the common styles and formats (For example, the font style, font size, font color, background color etc.,) repeatedly for each new report. Instead, of repeating every time, we can write those common styles and formats in a CSS file and import it to the new report. So, that, we can apply the styles and formats wherever in the report by just selecting the specified style.

Steps to be followed:

Step 1: Create a CSS file with… Continue

Added by Abhirami on August 13, 2009 at 11:56am — No Comments

Reset the Root Password of MySQL Server in *nix

Login as root to the Unix-like (Unix, Linux or BSD) machine with the MySQL server.



Stop the MySQL server by using either of the following command



#/etc/init.d/mysql stop



Now you need to Start MySQL server without password



# mysqld_safe --skip-grant-tables



Connect to mysql server using mysql client with the following command



# mysql -u root



Now you should be having mysql… Continue

Added by Santhosh Mahizhan on August 6, 2009 at 4:25pm — No Comments

Setting the JVM Heap Sizes in run.sh

Find the below lines and change as shown in below example



# Setup JBoss sepecific properties

JAVA_OPTS="$JAVA_OPTS -Dprogram.name=$PROGNAME"



For example:



# Setup JBoss sepecific properties

JAVA_OPTS="$JAVA_OPTS -Dprogram.name=$PROGNAME -Xms256m -Xmx1280m -XX:MaxPermSize=256m"



The above example configuration is for a 2GB RAM 32bit machine.



For more info :…



Continue

Added by Santhosh Mahizhan on August 6, 2009 at 3:27pm — No Comments

Error while shutting down server in *nix

Problem:



When stopping the server using stop-server.sh throws the exception



Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099

[Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099




Solution:



just give the ip address after -s in stop-sever.sh file as shown below.



For eg :



nohup… Continue

Added by Santhosh Mahizhan on August 6, 2009 at 2:08pm — No Comments

MySql case sensitivity problem in *nix systems.

In *nix systems,

select USER_NAME from USER;

is different from

select user_name from user;

It is so because tables and databases are represented as files (filenames are used as identifiers).



If you have trouble remembering the allowable lettercase for database and table names, it is best to adopt a consistent convention, such as always creating and referring to databases and tables using lowercase names. This convention is recommended for maximum portability and… Continue

Added by Santhosh Mahizhan on August 5, 2009 at 6:24pm — No Comments

Error while taking dump from Mysql

Problem:



You will get errors while taking backup/dump from Mysql



"mysqldump: mysqldump: Can't create/write to file 'C:\WINDOWS\TEMP\#sql_8d0_0.MYI' (Errcode: 13) "



or



"Can't create/write to file 'c:\windows\temp\#sql_a4c_0.MYD' (Errcode: 17) "



Cause:



MySQL is trying to create a temporary file that already exists.



Solution:



You can try one of the below mentioned… Continue

Added by Chandru on August 4, 2009 at 8:00pm — 1 Comment

Monthly Archives

2013

2012

2011

2010

2009

2008

2007

© 2017   Created by OrangeScape Technologies.   Powered by

Badges  |  Report an Issue  |  Terms of Service