Re: Problem with ear
Hi Wayne, sorry. ok i'll explain more. ok i have a working war with struts actions and forms. if i deploy only the war alone it works fine. when i pack it into an ear with maven ear plugin it , some of the struts action and form classes cannot be found. the error messages look like this : 22:25:40,078 ERROR [RequestUtils] Error creating form bean of class de.xx.xx.strutsForms.common.nonTechnicalCategories.NonTechnicalCat egoryManagemanetForm java.lang.ClassNotFoundException: de.xx.xx.strutsForms .common.nonTechnicalCategories.NonTechnicalCategoryManagemanetForm at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.jav a:207) at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils. java:231) at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.jav a:837) at org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:552) at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:520) at org.apache.jsp.worktime_jsp._jspx_meth_html_form_0(worktime_jsp.java: 93) at org.apache.jsp.worktime_jsp._jspService(worktime_jsp.java:70) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:324) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2 92) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:157) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi lter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:186) does it have anything to do with the classpath ? -- View this message in context: http://www.nabble.com/Problem-with-ear-tf2583929s177.html#a7207751 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with ear
please help me . i can send u my ear and war to see as well. there ear only contains a META-INF directory (with 2 files, application.xml and manifest.mf) and a war. i can send you the ear as well, just ask. -- View this message in context: http://www.nabble.com/Problem-with-ear-tf2583929s177.html#a7206770 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with ear
Hi folks, im trying to make an ear out which contains a war. the war can be deployed in jboss without problems. but using the same war, packed in an ear using maven's ear plugin, there are certain actions which i can load and certain ones which i cant. the actions have nothing but just forwards. what could be there problem? thank you very much in advance. -- View this message in context: http://www.nabble.com/Problem-with-ear-tf2583929s177.html#a7203500 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dependencies in EJB project
Hi Wayne! Thanks for your reply. Does that mean i have to include the jars (which i need inside my ejb-jar) in my ear project? which means i need to do the dependencies in my ejb project and my ear project , assuming my ear project has a dependency on the ejb project. thank you very much. Wayne Fay wrote: > > There is no "problem", this is the normal behavior for Maven Jars, you > simply were expecting more than you got. Jar packaging projects do not > bundle other jars into the resulting output Jar. > > You will need to use the maven-assembly-plugin to create the Jar you > desire, or perhaps package your EJB into an EAR (which does package > the dependencies). > > Wayne > > On 10/19/06, horse <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> i am using Maven to create a Standalone EJB jar. in Eclipse all the >> required >> libraries (*.jars) which are defined in my project.xml under the >> tag are all properly included. but in the generated EJB, >> the >> the jars are not included in my ejb-jar file. what could be the problem? >> -- >> View this message in context: >> http://www.nabble.com/Dependencies-in-EJB-project-tf2473101.html#a6895853 >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Dependencies-in-EJB-project-tf2473101.html#a6899106 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]