For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 9 replies, 3 voices, and was last updated 17 years, 11 months ago by
Riyad Kalla.
-
AuthorPosts
-
Klaus VillacaMemberHi,
Websphere App Server Comunity Edition 1.1.0.2
I would like to know what is the option from application servers that should I’d use to put the configurations of this server on myeclipse ? Should be Websphere 4,5,6 or 6.1 ??
Or there are one other solution to use it ?
Thanks in advanceSeptember 11, 2007 at 10:01 am #275391
Loyal WaterMemberBecause that version of WS is based on Geronimo, our users have been using the Geronimo connectors to run them. Try that and see if it works.
September 11, 2007 at 11:34 am #275418
Klaus VillacaMemberThanks, I could start the server, but I can’t run my app. With JBoss and Tomcat I use the http://localhost:8080/SecondTest/index.faces (or .jsp) and works properly , but with this Websphere, it don’t work! Could you help with more this ?!
Thanks again!September 11, 2007 at 11:43 am #275420
Klaus VillacaMemberSorry the deploy is in c:\dev\tools\servers\websphere\deploy\SecondTest.war
September 11, 2007 at 11:46 am #275421
Klaus VillacaMemberActually I’m having one problem with descriptor into web.xml….
Here is the web.xml
<web-app version=”2.5″ xsi:schemaLocation=”http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd” xmlns=”http://java.sun.com/xml/ns/javaee” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<filter>
<filter-name>faces-redirect-filter</filter-name>
<filter-class>com.myjsf1.filter.FacesRedirectFilter</filter-class>
</filter>
<!–Apply the faces redirect filter to all JSP pages.–>
<filter-mapping>
<filter-name>faces-redirect-filter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>13:25:52,611 ERROR [Deployer] Deployment failed: plan=null, module=C:\dev\tools\servers\Websphere\deploy\SecondJSF.war
org.apache.geronimo.common.DeploymentException: Error parsing web.xml for .
at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.createModule(TomcatModuleBuilder.java:153)
at org.apache.geronimo.web.deployment.AbstractWebModuleBuilder.createModule(AbstractWebModuleBuilder.java:123)
at org.apache.geronimo.web.deployment.AbstractWebModuleBuilder$$FastClassByCGLIB$$459e0cc.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
And it’s all, thanks in advanced once again!!!September 11, 2007 at 1:21 pm #275432
Riyad KallaMemberI don’t think WAS CE supports Java EE 5, which is the descriptor version you are using for your web.xml file.
September 11, 2007 at 2:13 pm #275437
Klaus VillacaMember<?xml version=”1.0″ encoding=”UTF-8″?>
<web-app xmlns=”http://java.sun.com/xml/ns/javaee”
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” version=”2.5″
xsi:schemaLocation=”http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd”>September 12, 2007 at 9:57 am #275472
Riyad KallaMemberI don’t understand the purpose of your last post, please clarify.
September 13, 2007 at 9:22 am #275522
Klaus VillacaMemberSorry, I did discover the problem, was my privileges on SQL DB. Actually was one file corrupted, that I’d have to fixed it. And only discovered it after do the reinstall of it in one another folder to compare.
Anyway thank you so much for the attentionSeptember 13, 2007 at 1:30 pm #275559
Riyad KallaMemberGlad it’s working now.
-
AuthorPosts