jandhyala sastry

Greenhorn
+ Follow
since Apr 28, 2004
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 jandhyala sastry

Thanks for the solution it is working fine.

Merrill Higginson wrote:The main advantage the <html:select><html:option> combination offers over using the plain html versions of the tags is that the option that matches the value of the form bean's property specified in the <html:select> tag will automatically show as selected when the page is displayed. If you don't need this functionality (and you don't if there's only one option), you might as well just use the plain html tags.

The code below will work just fine.

<select name="currentManager">
<option value="<bean:write name="transferForm" property="currentManager" />"><bean:write name="transferForm" property="currentManager" /> </option>
</select>

The question arises, though: Why are you only showing the current manager in the list, and not the entire list of managers to choose from? As explained above, if you use the <html:select> tag properly, you can show the entire list and have the current manager pre-selected on that list.
[ March 15, 2006: Message edited by: Merrill Higginson ]

14 years ago
*Problem description*: my logger.info statements from my classes are logged in to the *app.log* file which is my application log file and also on my *Websphere console* (System out.log ) staements are displaying , actually my requirement is to see logger statements in my application log file i.e. (app.log file) but not in console. how to stop my logging statements to appear in console?

Is thereanything i am missing here !!!

I am loading log4j. properties using the following line in one of my classes ...

PropertyConfigurator.configure(/usr/log/log4j.properties);

Log4j.properties

log4j.rootLogger=ERROR

# Specify where to log by packages.
log4j.logger.com.abc.example=INFO,dest1

log4j.appender.dest1=org.apache.log4j.RollingFileAppender
log4j.appender.dest1.File=app.log
log4j.appender.dest1.MaxFileSize=10000KB
log4j.appender.dest1.MaxBackupIndex=30
log4j.appender.dest1.layout=org.apache.log4j.PatternLayout



#log4j.appender.stdout=org.apache.log4j.ConsoleAppender
#log4j.appender.stdout.Target=System.out
#log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
#log4j.appender.sdtout.Threshold=ERROR


Thanks in Advance,
J.P.Sastry (SCJP,SCWCD,SCBCD)
[ May 08, 2008: Message edited by: jandhyala sastry ]
15 years ago
my logger.info statements from my classes are logged in app.log as well as System.out (Websphere)
where as i am expecting it to see only in app.log ?

Is thereanything i am missing here !!!


I am loading log4j. properties using the following line in one of my classes ...

PropertyConfigurator.configure(/usr/log/log4j.properties);

Log4j.properties

log4j.rootLogger=ERROR

# Specify where to log by packages.
log4j.logger.com.abc.example=INFO,dest1

log4j.appender.dest1=org.apache.log4j.RollingFileAppender
log4j.appender.dest1.File=app.log
log4j.appender.dest1.MaxFileSize=10000KB
log4j.appender.dest1.MaxBackupIndex=30
log4j.appender.dest1.layout=org.apache.log4j.PatternLayout


#log4j.appender.stdout=org.apache.log4j.ConsoleAppender
#log4j.appender.stdout.Target=System.out
#log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
#log4j.appender.sdtout.Threshold=ERROR
15 years ago
Hi All,

I used Apache Axis to generate client codes to access a web service hosted on Application Server. On running the client, I get the following error. Can anyone point out what I need to fix?

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
com.dtn.common.dao.DataAccessException: Call to Weather Morning Report Web Service (isAlive) failed (attemptsLeft=0).
at com.dtn.weather.webservice.custom.WeatherMorningReportServiceLocator.isAlive(WeatherMorningReportServiceLocator.java:115)
at com.dtn.weather.webservice.custom.ReportPushService.performService(ReportPushService.java:50)
at com.dtn.common.service.ServiceWrapper.run(ServiceWrapper.java:150)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.dtn.weather.webservice.custom.generated.WeatherMorningReportServicePortStub.isAlive(WeatherMorningReportServicePortStub.java:165)
at com.dtn.weather.webservice.custom.WeatherMorningReportServiceLocator.isAlive(WeatherMorningReportServiceLocator.java:108)
... 4 more
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
... 15 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(Unknown Source)
... 27 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 32 more
16 years ago
Hi Friends thanks for giving suggestions, finally I got solution, and it is working fine. I used CalendarPopup.js file, I got this file from following site http://www.mattkruse.com/javascript/calendarpopup/index.html special thanks to Matt Kruse who provide that file In this site, it is very use full one.
Thanks for response Eric, actually it was implemented in following site http://www.cheaptickets.com/ I tried to view the source code but i am not able to understand how they implemented that. Can you please send me some sample code...?
Hi all, can anyone let me know how I can disable the click mode for all previous dates, before the date that you view the calendars - so in effect, you can only click on 'todays' date and any future dates. Plus, how do you do them so that you can't scroll back to a month prior to the current month please?

[Bear edit; please don't post an entire topic in bold. It's almost as bad as using all uppercase]
[ June 26, 2006: Message edited by: Bear Bibeault ]
To Day i cleared SCBCD EXAM with 85%.

HFEJB is very good book. Very thankful to Kathy and Bates.

To get good score HFEJB is only enough.

But better to read specs also to become a real SUN certified.


Materials used for preparation:

1) Head first EJB
2) SUN EJB Specifications

Mock Exam simulators which i used are
softSCBCD
Enthuware

Jandhyala Sastry
SCJP, SCWCD, SCBCD
18 years ago