facebook

Websphere App Server Comunity Edition !!!

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #275370 Reply

    Hi,
    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 advance

    #275391

    Loyal Water
    Member

    Because 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.

    #275418

    Thanks, 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!

    #275420

    Sorry the deploy is in c:\dev\tools\servers\websphere\deploy\SecondTest.war

    #275421

    Actually 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&#8221; xmlns=”http://java.sun.com/xml/ns/javaee&#8221; xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”&gt;
    <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!!!

    #275432

    Riyad Kalla
    Member

    I don’t think WAS CE supports Java EE 5, which is the descriptor version you are using for your web.xml file.

    #275437

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <web-app xmlns=”http://java.sun.com/xml/ns/javaee&#8221;
    xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; version=”2.5″
    xsi:schemaLocation=”http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd”&gt;

    #275472

    Riyad Kalla
    Member

    I don’t understand the purpose of your last post, please clarify.

    #275522

    Sorry, 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 attention

    #275559

    Riyad Kalla
    Member

    Glad it’s working now.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Websphere App Server Comunity Edition !!!

You must be logged in to post in the forum log in