Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
-none-

-none-

2007-09-03       - By purnendu9

 Back
I tried creating a sample project in netbeans using the Seamgenerator with no
manual configuration change.

These are the steps i followed
1. I downloaded and added the JBOSS 4.2.1 GA to Netbeans as a server
2. I created a Enterprise Skeleton app using the netbeans Seamgenerator plugin
3. I used all default configurations for generating the Enterprise APP
    Here is the first problem i faced. The Output window always comes up with
the following statement

cvc-complex-type.2.4.b: The content of element 'web-module' is not complete.
One of '{"http://www.netbeans.org/ns/freeform-project-web/1":web-inf}' is
expected.

  This points to an XML tag below

           <web-module>
               <doc-root>view</doc-root>
               
               <context-path/>
               <j2ee-spec-level>1.5</j2ee-spec-level>
           </web-module>

       However i ignored this problem and went ahead deploying the app.

4. I built and deployed the app in Default> Deploy directory
5. Started the JBOSS server
6. JBOSS server failed with multiple errors
 I am outlining the type of errors as below

> It gave an error about Listner whcih was present in Myfaces 1.2
Implementation JAR. I Placed the My Faces 1.2 implementation JAR in the default
lib and the error went away

> The persistent context was created without password and the mysql connection
JAR was missing. Fixed both and went ahead

> Now comes another error which i am not being able to fix

java.lang.RuntimeException: java.lang.NoSuchMethodException: com.sun.faces
.application.ApplicationImpl.addELResolver(javax.el.ELResolver)

This error is because it is picking the 1.1 RI implementation from somewhere. I
am not being able to detect it. However i am stuck and i think anybody/
everybody using netbeans M10 - JBOSS 4.2.1 and SEAM may have the same problem
as mentioned above.

Help needed. Thanks is advance
Purnendu
purnendu_das2002@(protected)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4080369#4080369

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4080369
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user