shyam shridhar

Ranch Hand
+ Follow
since Sep 15, 2006
Merit badge: grant badges
For More
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 shyam shridhar

As the problem was on the my development machine, I have commented c3p0 in my hibernate.cfg.xml.
And now everything is working fine.



Thanks
-Shyam
Thanks Madhan,

This is not a new existing project. Apart from that my current priority are different. After those I can discuss about moving to AS.

I appreciate if anybody help me to get out from this problem.


Thanks
-Shyam

Hi,
My tomcat console showing following, might be helpful Thanks.

Hi Madhan,

Followings are my system the env. details. Please let me know if you want any other information

OS : Windows 7
JDK : jdk 1.6.0_24
Eclipse Ide : Galilio (Helios Service Release 1)
Database : MySql Server 5.1
Maven2 : 2.2.1
Hibernate : 3.5.1-Final
JPA : 2.0-cr-1
Spring : 3.0.5.RELEASE
Server : Tomcat 6.0

Web application is part of multi module maven project. In a separate maven module junit test case are working fine

This problem sometimes came in the past also but resolved by commented/uncommented out c3p0 properties which is in hibernate.cfg.xml.

This time that solution is not working.


Thanks
-Shyam

Hi,


I'm getting following connection error when I'm running my tomcat. I'm facing this problem since tomorrow afternoon...since then searching on google.. yet no luck.. Please help me

I'm using hibernate behind Jpa. Both persistence.xml and hibernate.cg.xml files are below for your consideration.

Error Message :-
...
Caused by: org.springframework.orm.jpa.JpaSystemException: org.hibernate.exception.GenericJDBCException: Cannot open connection; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:311)
at org.springframework.orm.jpa.aspectj.JpaExceptionTranslatorAspect.ajc$afterThrowing$org_springframework_orm_jpa_aspectj_JpaExceptionTranslatorAspect$1$18a1ac9(JpaExceptionTranslatorAspect.aj:15)
at com.iodinesoftware.rta.model.dao.impl.jpa.BaseJpaDao.findByQuery(BaseJpaDao.java:135)
at com.iodinesoftware.rta.model.impl.BaseServiceImpl.findByQuery(BaseServiceImpl.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
at $Proxy47.findByQuery(Unknown Source)
at com.iodinesoftware.rta.security.authorization.RoleManagerImpl.getRole(RoleManagerImpl.java:80)
at com.iodinesoftware.rta.security.authorization.RoleManagerImpl.initialize(RoleManagerImpl.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
... 42 more
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1235)
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1168)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:250)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.orm.jpa.SharedEntityManagerCreator$DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:310)
at $Proxy52.getResultList(Unknown Source)
... 60 more
Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1596)
at org.hibernate.loader.Loader.doQuery(Loader.java:717)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
at org.hibernate.loader.Loader.doList(Loader.java:2294)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2172)
at org.hibernate.loader.Loader.list(Loader.java:2167)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:448)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1258)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:241)
... 66 more
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:78)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
... 80 more
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
... 83 more
Apr 29, 2011 12:36:38 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Apr 29, 2011 12:36:38 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/rta-webclient] startup failed due to previous errors
Apr 29, 2011 12:36:38 PM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Apr 29, 2011 12:36:38 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/rta-webclient] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Apr 29, 2011 12:36:38 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/rta-webclient] appears to have started a thread named [Dispatch-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@38a92aaa] but has failed to stop it. This is very likely to create a memory leak.
Apr 29, 2011 12:36:38 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/rta-webclient] appears to have started a thread named [Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@38a92aaa] but has failed to stop it. This is very likely to create a memory leak.
Apr 29, 2011 12:36:38 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/rta-webclient] appears to have started a thread named [Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@38a92aaa] but has failed to stop it. This is very likely to create a memory leak.
Apr 29, 2011 12:36:39 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Apr 29, 2011 12:36:39 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Apr 29, 2011 12:36:39 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/30 config=null
Apr 29, 2011 12:36:39 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 86771 ms
Exception in thread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@38a92aaa" Exception in thread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@38a92aaa" java.lang.NullPointerException
at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:255)
at com.mchange.v2.resourcepool.BasicResourcePool.decrementPendingAcquires(BasicResourcePool.java:421)
at com.mchange.v2.resourcepool.BasicResourcePool.access$900(BasicResourcePool.java:32)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1887)
at com.mchange.v2.async.ThreadPerTaskAsynchronousRunner$TaskThread.run(ThreadPerTaskAsynchronousRunner.java:255)
java.lang.NullPointerException
at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:255)
at com.mchange.v2.resourcepool.BasicResourcePool.decrementPendingAcquires(BasicResourcePool.java:421)
at com.mchange.v2.resourcepool.BasicResourcePool.access$900(BasicResourcePool.java:32)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1887)
at com.mchange.v2.async.ThreadPerTaskAsynchronousRunner$TaskThread.run(ThreadPerTaskAsynchronousRunner.java:255)




persistence.xml



hibernate.cfg.xml




-Shyam
Hi,

The problem has been solved by my colleague who manage svn server.

Instead of [repository:path] format , he listed the relative filesystem path. I.e., instead of [repos:/] he had [/repos/].
Problem fixed by modifying Apache config.
Hi,

I'm getting following error while committing the code back to server. If getting below error from eclipse as well as command line. I did google search to find the solution/cause there are many similar issues but not work for me.

I can checkout project there is not such problem at the time of checkout, problem is having only for checkin process.

My project is multi-module maven project:

boa
-webclient
-mobileclient
etc.


commit -m "Task completed" D:/mukesh_admin/workspace/boa/webclient/src/test/resources/hibernate.cfg.xml
Sending D:/mukesh_admin/workspace/boa/webclient/src/test/resources/hibernate.cfg.xml
URL access forbidden for unknown reason
svn: Commit failed (details follow):
svn: access to '/svn/repos/!svn/ver/537/boa/webclient/src/test/resources/hibernate.cfg.xml' forbidden



Option i tried are
1) Removed below file(By doing eclipse again asked for username and password). Still not working.

%APPDATA%\Subversion\auth
At above path four folder exists svn.simple, svn.ssl.client-passphrase, svn.ssl.server, svn.username.
All folder are empty except svn.simple which have only one file name '398......' content of this file is as follow :-
-------------------------------------------------------------------------------------------------------------------------------------
K 8
passtype
V 8
wincrypt
K 8
password
V 260
SDFSDFSF@#@#@##@#$@#@#$@#@$#@#$@#$@#@#$@#$@#$@#$@# [encypted password: this code was added by me]
K 15
svn:realmstring
V 60
<https://SvnServerName>; Subversion repository
K 8
username
V 5
test1234
END
-------------------------------------------------------------------------------------------------------------------------------------------------

2) By comparing server path and local path for case sensitiveness

My Svn Server complete file path upto hibernate.cfg.xml is as follow

https://SvnServerName/svn/repos1/boa/webclient/src/test/resources/hibernate.cfg.xml

3) I asked my senior to see if I have proper access to project on the svn server(though it is not required as I can update project), He said I have required access.


System Details
Window 7(64 bit)
Eclipse Helios Service Release 1
SilkSvn version : 1.6.16 (x64)
Subeclipse Details : image attached


Can you guys please suggest something about above problem, may be anybody of you recently faced it. Is there any otherwise site/forum where I can get help about it.

Sorry if anything unclear because of my english.. still learning...

Thanks guys
-Shyam
Please suggest, Is it possible or not? any other alternative to do the same.

Aneesh Vijendran wrote:Can you please post the table structures(Sample) involved, so that I can try to make a mapping for you.



Thanks a lot Aneesh,
Actually I had put some wrong code in my previous post, now I have corrected see below. I apologies for wasting your time.



Please find the table structure below.

Parent Table
----------------
Id -> long
name -> varchar

Child Table
-----------------
Id -> long
name -> varchar
parent_id -> long
gender -> short [1-for male, 2 for female]


-s

Aneesh Vijendran wrote:Hi,
You'll have to use the One To Many Mapping. You can get the data as collection or Array.
Refer the hibernate docs for examples:

http://docs.jboss.org/hibernate/core/3.3/reference/en/html/collections.html

Cheers
Aneesh




Thanks Aneesh, but my case is slightly different.. I founded in hibernate doc following code




but I want something like as below



I don't know it possible with hibernate or not. Please suggest


Hi all,

I'm facing problem to create mapping based on the following scenario.

Parent
----------------
Id -> long
name -> varchar

Child
-----------------
Id -> varchar
name -> varchar
parent_id -> long
gender -> short [1-for male, 2 for female]

Now from parent entity object want to get babyChildren [set/list] and boyChildren [set/list].

Please suggest How I could achieve my goal?

-shyam


I think I have to create two separate projects one for admin user and another for customer only this way I'm able to manage security things by spring security.

Please suggest.

Thanks
-sss
13 years ago
Hi All,

Its my first project with spring security2.

I am to develop an application(project) which will have two separate login processes.
1) for admin user (User table)
2) for customer (Customer table)

When admin user will login from admin login page then I will send user to admin dashboard where admin can see links and access some links according to their role(permissions)

When customer will login from customer login page then I will send customer to customer dashboard where customer can access their data.

Admin user data will come from admin user table and customer data will come from customer table.

I have developed role based admin part of this project.

Now I'm confuse how I will manage customer login process.

I had developed application in past where we used same table for normal user & admin user . Differentiate by adding some flag in user table or by their role.
But in current project I have two separate entities.

I'm confuse How will we manage two separate login process in same project for two separate user entities by spring security?



Please helps.

Thank you in advance
13 years ago
Hi,

Recently I have started work to attach JSpell with tinymce for our whole site.

I have successfully attached it(JSpell) to some form(JSP pages) as well, those are working absolutely fine.

But I faced some difficulties while attaching JSpell to tinymce in the edit mode(when there is some value already exists in tiny textarea for user to update).

e.g on Edit Comment/Edit Employee/ Edit User form, description textarea field

I have fixed some of them but now problem coming in internet explorer only, on firefox browser all things are working fine.

Problem and Steps to get problem
---------------------------------
When I'm opening edit comment form first time it show me two alert box one after another which shows following messages respectively
1) "JSpell Not Intialized"
2) "JSpell AutoAttach: undefined"

after press OK for both alerts JSpell working fine in IE but We don't want these two alerts(How can I fix this?).

problem become worse when I refresh edit comment page
Then I received following error message.
----------------------------------------------------------
A Runtime Error has occurred.
Do you wish to Debug?

Line: 157
Error: Exception thrown and not caught
----------------------------------------------------------

When I'm debugging this js error then it throw me to following line of jspellEvolution.js
----------------------------------------------------------
>throw("JSpell - Error in getSpellCheckArray, Element '"+J7x[J4Y][1]+"' >Not Found.");
----------------------------------------------------------

Don't know why these problem coming only on Internet Explorer(Version 6 also tested in Version 7) but working fine in FireFox(Version 2,3).

At the end of this post is code of edit form which creating problem.

I'm desperately looking for your reply.

Please give me any hint

Thank you


EditForm.html
=============
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

<HTML lang=en xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE></TITLE>

<META http-equiv=Content-type content="text/html; charset=utf-8">

<LINK media=all
href="editForm_files/new2.css" type=text/css rel=stylesheet><LINK media=all
href="editForm_files/section.css" type=text/css rel=stylesheet><LINK media=print
href="editForm_files/print.css" type=text/css
rel=stylesheet><!--[if lt IE 7]><LINK media=all href="editForm_files/ltie7.css"
type=text/css rel=stylesheet><![endif]--><!--[if lt IE 6]><link type="text/css" media="all" rel="stylesheet" href="css/ltie6.css" /><![endif]--><!--[if IE]>
<STYLE type=text/css media=print>@import url( css/print_IE.css );
</STYLE>
<LINK media=all href="editForm_files/ie.css" type=text/css rel=stylesheet><![endif]-->

<SCRIPT type=text/javascript>var imagepath = "img";</SCRIPT>

<SCRIPT src="editForm_files/mootools-release-1.11.js"
type=text/javascript></SCRIPT>

<SCRIPT src="editForm_files/tips.js" type=text/javascript></SCRIPT>

<SCRIPT src="editForm_files/functions.js" type=text/javascript></SCRIPT>

<SCRIPT src="" type=text/javascript></SCRIPT>

<META content="MSHTML 6.00.2900.3314" name=GENERATOR></HEAD>

<BODY id=all-communities onload=jspellOnDemandCheck();>
<DIV id=container>

<DIV id=right_shadow>
<DIV id=bottom_curve_right>
<DIV id=bottom_curve_left>
<DIV id=nav>
<DIV class=inner>
<DIV class=tl></DIV>

<DIV class=padding>

<DIV id=main>

<DIV class=form id=columnmain>

<FORM action=/faq/edit-faq.do method=post encType=multipart/form-data>
<INPUT class=hidden type=hidden value="" name=formUrl>

<DIV id=jspell_tiny>

<DIV id=compose>

<DIV class=padding>



<LABEL for=subject>Question</LABEL>
<INPUT class=text id=subject value="sdfssd " name=subject>




<SCRIPT language=javascript src="editForm_files/jspellSettings.js"
type=text/javascript></SCRIPT>

<SCRIPT language=javascript src="editForm_files/jspellEvolution.js"
type=text/javascript></SCRIPT>

<SCRIPT language=javascript src="editForm_files/tiny_mce.js"
type=text/javascript></SCRIPT>

<SCRIPT type=text/javascript>
jspellRealtime=true;
jspellAutoAttach=true;
jspellShowOptionsMenu=true;
function getSpellCheckArray(){
var fieldsToCheck = new Array;
fieldsToCheck[0] = [document, 'entry_ifr'];
return fieldsToCheck;
};
</SCRIPT>

<DIV style="WIDTH: 98%"><TEXTAREA class=tall id=entry name=body rows=10 cols=60><p>Hey, sad skid staffed sods the wee stalked SD Cole scuds sodsdfsd</p>
<p>f sdf</p>
<p>sd</p>
<p>fsdf</p>
<p>&nbsp;</p>
<p>dsf</p>
<p>&nbsp;</p>
<p>sdf</p>
<p>sd</p>
<p>&nbsp;</p></TEXTAREA></DIV>
<SCRIPT type=text/javascript>
tinyMCE.init({
plugins : "csqimage,csqclean,csqlink,table,paste,emotions,preview,iespell" ,
mode : "textareas",
theme : "advanced",
document_base_url : "/",
theme_advanced_buttons1 : "bold,italic,underline,separator,bullist,numlist,outdent,indent,separator,image,separator,csqlink,unlink,separator,forecolor,backcolor,separator,embedcode,separator,undo,redo,emotions,pasteword,preview,iespell",
theme_advanced_buttons2 : "tablecontrols",
theme_advanced_buttons3 : "",
content_css : "tiny_mce_321/themes/advanced/skins/default/content.css, css/green_tinymce.css" ,
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom"
});
function postTinyMCEInit(){
setTimeout(jspellInit,500);
};
tinyMCE.init({
oninit : postTinyMCEInit()
});
</SCRIPT>


<DIV class=faq-type><LABEL>Faq Type</LABEL>
<DIV><INPUT class=radio type=radio CHECKED value=0
name=faqType> Member <INPUT type=hidden name=_faqType></DIV>
<DIV><INPUT class=radio type=radio value=1
name=faqType> Facilitator <INPUT type=hidden name=_faqType></DIV><EM
class=note-faq>Any file uploaded here will overwrite the existing file, leave
blank to preserve the current file.</EM> </DIV>


Download: <IMG <br /> > <A class=pdf <br /> <br /> href="http://localhost/faq/get-file.do?id=85769" <br /> target=_blank>word2007.docx | 9.77 KB

<LABEL for=file><INPUT
class=browse id=file type=file size=60 name=upload></LABEL>

<INPUT class="fright button" onclick=jspellDetach(); type=image
alt="Save and continue" src="editForm_files/btn-green-saveandcontinue.gif">
</DIV><!-- End of .padding -->
</DIV><!-- End of .compose -->
</DIV><!-- End of .jspell_tiny -->

<INPUT class=hidden type=hidden value=85769 name=id> </FORM></DIV><!-- End of .columnmain -->

<DIV id=columnright>
<DIV class=padding>
</DIV></DIV></DIV><!-- End of .main -->

<DIV class=common id=footer>
</DIV><!-- /#footer -->
</DIV><!-- End of .padding -->
</DIV><!-- /#right_shadow -->
</DIV><!-- /#bottom_curve_left -->
</DIV><!-- /#bottom_curve_right -->
</DIV><!-- /#container -->

<SCRIPT type=text/javascript>
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</SCRIPT>

<SCRIPT type=text/javascript>
try {
var pageTracker = _gat._getTracker("UA-10182975-1");
pageTracker._trackPageview();
} catch(err) {}</SCRIPT>
</BODY></HTML>