vicky ma

Ranch Hand
+ Follow
since May 13, 2009
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 vicky ma

Any update ?

Am i on right path ?
13 years ago

Hi am facing problems while deploying tomcat 6 with some my apps...


Could someone help me to tackle da problem ?
any jar missing ?


org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.NoSuchFieldError: IS_SECURITY_ENABLED
at org.apache.naming.resources.DirContextURLConnection.<init>(DirContextURLConnection.java:67)
at org.apache.naming.resources.DirContextURLStreamHandler.openConnection(DirContextURLStreamHandler.java:89)
at java.net.URL.openConnection(URL.java:945)
at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1181)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:314)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
13 years ago
Shall i use "org.apache.coyote.http11.Http11Protocol" to replace "org.apache.coyote.tomcat5.CoyoteConnector" ??
13 years ago

Could you please elaborate more on it? => I am newbie

you'll find an equivalent statement in the Tomcat6 server.xml file. == > Its not present there.

I googled a lot regarding it but still didn't find relevant answer.

could you please tell me which class-name i should use there ( equivalent to tomcat5 ) ?


Thanks a lot sir
13 years ago
Hi ,
i am new to tomcat
i Saw something like


in one of server.xml which is used for tomcat 5.
i would like to deploy same application using tomcat 6. but i found something something org.apache.coyote.tomcat5.CoyoteConnector in previous tomcat 5 server.xml.

could any help me to find which is equivalent class in tomcat 6 along with jar name where it would be present ?
i googled a lot.

Thanks in advance
13 years ago
can we print ascii value of null ?
if yes , how ?

asper my knowledge its value is 0
14 years ago
Just wants to say THANKS A lot to Anna... !
AGGREEED......you may now close the thread...
why ?

1 should know which interface method he/she has implemented...doesnt 1 required to know it ?
but method belong to which interface ?

there should be some way..
Hi Guys,
I have small doubt regarding Interface.

Check below code.




here how to find class inter is using which interface method ?

Thank you.
write it to some file using IO streams and second program can read the same
<Crude method but if you dont want to change system architecture its best way to do .>
Hope some1 will come up with better solution <may be using some design patterns (i haven't learned them yet )>
Hi,
I have question on actionPerformed method.
does this method runs on thread ?

as i can see in my code i have scenario as below :
(Its abstract from my code base : )





here whenever i print that path string i get null .
how to get path which is set in action method ? please provide example so that i can understand it.
Thanks

PS : Its ABSTRACT !
14 years ago