Lucas Piva

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

Recent posts by Lucas Piva

Discovered the problem. Apparently, the server was running on a badly configured subnet or something. I started the server on another network and it worked fine.
14 years ago
JSF
Hi,

I want the get a client's IP address from jsf. With a little search effort, I could come up with this:



Problem is, address is coming in ipv6 format. I searched around quite a bit and couldn't find any info on this. Is the address being returned as ipv6 because of network specific configurations or is JSF returning it as ipv6 by default?

If so, how do I tell JSF to return it as an ipv4 address?

Thanks in advance.
14 years ago
JSF
Thanks for the replies. I already included jstl-1.2.jar in Tomcat lib directory. Also, Tomcat seems to come with el-api.jar and jsp-api.jar by default. The mojarra jars (jsf-api.jar and jsf-impl.jar) are already in the classpath.

I was able to ' solve' the problem by starting from scratch and adding the jars one by one incrementally. In the end, the project looks identical to the way it was in the beggining, but now I can deploy and run it. If I restart my computer, I get the same error again though.

Any ideas?
15 years ago
JSF
Hello,

I'm developing a web application using Eclipse Galileo IDE, Tomcat v6.0 and Mojarra JSF 1.2. I followed a tutorial suggested here (http://balusc.blogspot.com/2008/01/jsf-tutorial-with-eclipse-and-tomcat.html) and everything worked just fine. Then, I added richfaces support and everything went great. But when I tried to start Tomcat this morning, I got the following error:

java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener

Full stack trace:



My classpath includes the following:

Charts and JDBC jars
jfreechart-1.0.13.jar
ibatis-2.3.4.726.jar
jtds-1.2.5.jar

JSF and Richfaces
jcommon-1.0.16.jar
commons-beanutils-1.7.0.jar
commons-collections-3.2.jar
commons-digester-1.8.jar
commons-logging-1.1.1.jar
jhighlight-1.0.jar
richfaces-api-3.3.2.SR1.jar
richfaces-impl-3.3.2.SR1.jar
richfaces-ui-3.3.2.SR1.jar

Besides Tomcat v6.0 and Mojarra JSF1.2 (jsf.api.jar and jsf-impl.jar). I double checked for references to another implementation of jsf but couldn't find any. My web.xml looks like this:



Again, yesterday everything was working fine. I didn't change anything in the project, just rebooted. Any help would be greatly appreciated.

Thanks in advance,
Piva
15 years ago
JSF