Two Laptop Bag
The moose likes Struts and the fly likes Error while configuring weblogic8.1 with struts1.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Error while configuring weblogic8.1 with struts1.1" Watch "Error while configuring weblogic8.1 with struts1.1" New topic

Error while configuring weblogic8.1 with struts1.1

Ranjith Koppu

Joined: Dec 04, 2006
Posts: 7
I am trying my first struts application using weblogic8.1 server.I used Weblogic workshop and the application worked fine.But now I tried to use Eclipse3.2 as the IDE and weblogic8.1 as the server.
First it threw warnings regarding the struts*.tld files displaying
""is not reachable .The same was the case with "".
I resolved these warning s but getting the tld files and placed it in the WEB-INF directory of my application.I added all the required jars struts.jar, external jars to the application.But when I start the server I get an exception
<Servlet: "action" failed to preload on startup in Web application: "StrutsProject".
javax.servlet.ServletException: org/apache/commons/logging/LogFactory
at weblogic.servlet.internal.ServletStubImpl.createServlet(
and after that when I access the page using the url
http://localhost:7001/StrutsProject/ (I mapped "/login" in struts-config.xml) then I get an exception
<Error while using app descriptor files C:\bea\weblogic81\samples\domains\workshop\cgServer\stage\_appsdir_StrutsProject_war missing application.xml and/or weblogic-application.xml descriptors and

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(

on the webpage itself..
Can you please help me in resolving the problem
I agree. Here's the link:
subject: Error while configuring weblogic8.1 with struts1.1
jQuery in Action, 3rd edition