Hello,
At work I make once in a while an application for WebLogic. At home I want to
use a Open Source Application server. I checked JBoss, Geronimo and
Glassfish. The last one pleased me most.
I have started an Enterprise Application. For this application I use JSF,
Tomahawk, and Hibernate. I do the development in Eclipse (Indigo) and the
build with Maven. First I wanted to use MyFaces but even with the
modification in the sun-web.xml I got the error that I could not use RI and
MyFaces at the same time.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE sun-web-app PUBLIC "-//Sun
Microsystems, Inc.//DTD Application Server 8.1 Servlet 2.4//EN"
"
http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-1.dtd">
<sun-web-app> <class-loader delegate="false"/> <property name="useMyFaces"
value="true"/> </sun-web-app>
My solution was to get rid of MyFaces and use RI. When I deploy the EAR I get
a lot of messages that indicate the Hibernate is working. Also the EJBs seem
to get activated. I only get a warning on UTF-8:
PWC4011: Unable to set request character encoding to UTF-8 from context ,
because request parameters have already been read, or
ServletRequest.getReader() has already been called|#]
At the end of the deployment I get the mysterious message:
The log message is null.
I must stop and start Glassfish before I can deploy the application again.
Can somebody help? After resolving a lot of other problems I can not figure
this one out.
The versions I use are:
* GlassFish Server Open Source Edition 3.1.1 (build 12)
* Tomahawk 1.1.10
Thanks in advance,
Marco
--
[Message sent by forum member 'marco_java']
View Post: http://forums.java.net/node/836237