Yasir Qureshi

Greenhorn
+ Follow
since Apr 26, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Yasir Qureshi

I want to show a rich:toolTip on a data table column's sort icon, RichFaces shows two small triangle like icons to sort a column, I did not find any functionality to let me show a tool tip when I hover on those sort icons.

Any Ideas? Thanks!
15 years ago
JSF
Thanks Darkin it worked.
15 years ago
JSF
I am very confused I have date input on a page and using <f:convertDateTime> for conversion on my bean one day is subtracting from the date user enters.
If user enters 02/01/2009, it is changed to 01/31/2009. Is this a bug with this tag. Comments/Suggestions/workaround?

Thanks.
15 years ago
JSF
Thanks for your reply, yeah I am going to use RichFaces too.
15 years ago
JSF
no one has used tabs in jsf on this forum?
15 years ago
JSF
Has any one developed tabbed pane in JSF? What is the best way of doing it.

Thanks,
Yasir.
15 years ago
JSF
No one experienced this issues ever before?
I am using hibernate(3.3.1.GA) and tomcat (6.0.18), I am getting Stackoverflow exception, I have googled but could not found the fix.

This is my hibernate config file:

<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql://localhost:3306/xxxx</property>
<property name="hibernate.connection.username">xxxx</property>
<property name="hibernate.connection.password">xxxx</property>
<property name="hibernate.connection.pool_size">10</property>
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="hibernate.current_session_context_class">jta</property>
<property name="jta.UserTransaction">java:comp/UserTransaction</property>
<property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
<property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JOTMTransactionManagerLookup</property>
<property name="hibernate.current_session_context_class">thread</property>

This is exception I am getting:

java.lang.StackOverflowError
java.security.AccessController.doPrivileged(Native Method)
com.sun.naming.internal.VersionHelper12.getContextClassLoader(Unknown Source)
com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
javax.naming.spi.NamingManager.getObjectFactoryFromReference(Unknown Source)
javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
org.apache.naming.NamingContext.lookup(NamingContext.java:793)
org.apache.naming.NamingContext.lookup(NamingContext.java:140)
org.apache.naming.NamingContext.lookup(NamingContext.java:781)
org.apache.naming.NamingContext.lookup(NamingContext.java:153)
org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
javax.naming.InitialContext.lookup(Unknown Source)
org.hibernate.transaction.JTATransactionFactory.getUserTransaction(JTATransactionFactory.java:162)

I found recursion in org.hibernate.transaction.JTATransactionFactory method:

protected UserTransaction getUserTransaction() {
log.trace( "Attempting to locate UserTransaction via JNDI [{}]", getUserTransactionName() );

try {
UserTransaction ut = ( UserTransaction ) getInitialContext().lookup( getUserTransactionName() );
if ( ut == null ) {
throw new TransactionException( "Naming service lookup for UserTransaction returned null [" + getUserTransactionName() +"]" );
}

log.trace( "Obtained UserTransaction" );

return ut;
}
catch ( NamingException ne ) {
throw new TransactionException( "Could not find UserTransaction in JNDI [" + getUserTransaction() + "]", ne );
}
}


Thanks.
Looks like there is already an instance of server running in background, stop the server wait for few seconds, press ctl-alt-del and make sure there is no java process running (do not kill javaw process), if there is java process running kill it. Start the server this will fix issue, if not you should delete your WAS profile and create a new one.
16 years ago
I am working on migrating an application from WAS5.0 to WAS6.0, I get exception as server tries to load incorrect security provider, server loads SUN's implementation of service provider and throws ClassNotFoundException (com.sun.net.ssl.internal.ssl.Provider), however it should just load the IBM provided security provider from ibmjsse.jar which I placed under the lib/ext folder. I have this entry in java.security file:

security.provider.1=com.ibm.jsse.IBMJSEEProvider

Thanks,
Yasir.
16 years ago
Just delete your server and add it back again, this will fix the issue.
16 years ago
I want to display list A and also list B which is contained by list A, in the same data table.
16 years ago
JSF
I am using datatable to display a list of object say A that has another list of object lets say B in it, This is how my object looks:

Class A{
private String name;
private B[] b;
}

How can I display such an object in datatable? I am out of clue how to display List of Object B.

Thanks.
16 years ago
JSF
I changed my display name...waiting for answer to my post....
17 years ago
Hi,
I am using WebSphere Portal v5.1 Test Environment. I have an issue that every time I restart the server I have to set the wires again, Is there a way to avoid this from happening so that portal server 'remembers' wiring information.

regards,
Yasir.
17 years ago